/* ============================================================
   accueil.css – Styles spécifiques à la page d'accueil (index.php)
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--lime);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero .lead {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 24px;
}
.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.avatars {
  display: flex;
}
.avatars span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -6px;
}
.avatars span:first-child {
  margin-left: 0;
}
.avatar--orange {
  background: #f59e0b;
}
.avatar--violet {
  background: var(--violet);
}
.avatar--red {
  background: var(--red);
}

/* ── Carte "profil probable" ────────────────────────────────── */
.hero-card {
  position: relative;
  color: #fff;
  border-radius: 20px;
  padding: 14px;
  min-height: 340px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85)),
    linear-gradient(135deg, #3b4a5a, #8a9aa8);
}
.hero-card .tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
}
.hero-card h2 {
  font-size: 24px;
  line-height: 1.15;
  margin: 6px 0 14px;
  max-width: 10ch;
}
.bars {
  display: grid;
  gap: 8px;
  width: 55%;
  font-size: 11px;
}
.bars div {
  display: grid;
  gap: 3px;
}
.bars b {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.bars em {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}
.bars em::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  background: var(--lime);
  border-radius: 2px;
}
.bars em.bar--red::after {
  background: var(--red);
}
.match {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 6px 14px;
}
.match small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.match strong {
  display: block;
  font-size: 18px;
}
.match span {
  font-size: 12px;
  color: var(--muted);
}

/* ── Chiffres clés ──────────────────────────────────────────── */
.stats {
  background: var(--lime);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.stats p {
  font-size: 12px;
}
.stats strong {
  font-size: 22px;
  margin-right: 6px;
}

/* ── Titres de section ──────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}
.title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sub {
  color: var(--muted);
  margin: 6px 0 28px;
  font-size: 15px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Étapes ─────────────────────────────────────────────────── */
.step {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #e1e4d6;
}
.step .ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
}

/* ── Métiers ────────────────────────────────────────────────── */
.jobs {
  padding-top: 0;
}
.jobs-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.jobs-head .title {
  font-size: 20px;
}
.jobs-head a {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}
.job {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 12px;
}
.job .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.job .pct {
  font-size: 11px;
  font-weight: 600;
}
.job .pct::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 6px;
}
.job h3 {
  font-size: 18px;
  margin-top: 4px;
}
.job .save {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.facts div {
  background: #f5f6ef;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  color: var(--muted);
}
.facts b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
}
.job .foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.job .foot a {
  color: var(--red);
  font-weight: 600;
}
.job .foot span {
  color: var(--muted);
}

/* ── Témoignage ─────────────────────────────────────────────── */
.testi {
  background: #fff;
}
.testi .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.photo {
  aspect-ratio: 1/1;
  border-radius: 20px;
  background: linear-gradient(135deg, #d9a96a, #7b8f6a);
}
.alert {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
blockquote {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 18px;
}
.who {
  font-size: 13px;
}
.who span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* ── Appel à l'action final ─────────────────────────────────── */
.final {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.final h2 {
  font-size: clamp(26px, 4vw, 38px);
  max-width: 22ch;
  margin: 0 auto 12px;
  line-height: 1.15;
}
.final p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 22px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero .wrap,
  .testi .wrap,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }
}
