/* ============================================================
   Accueil · parcours de vente
   1 promesse + preuve · 2 avis · 3 pour qui · 4 méthode
   5 extrait de cours · 6 le professeur · 7 offres · 8 outils
   9 questions · 10 appel découverte
   ============================================================ */
.h-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .h-wrap { padding: 0 22px; } }
.h-hero .btn-ghost, .h-sec .btn-ghost { color: var(--navy-900); border: 1.5px solid rgba(18,26,51,.24); background: transparent; }
.h-hero .btn-ghost:hover, .h-sec .btn-ghost:hover { background: rgba(18,26,51,.04); border-color: rgba(18,26,51,.4); }
.h-sec { padding: 104px 0; }
.h-sec.white { background: #fff; }
.h-sec.tint { background: var(--encre-tint, #E9EDF7); }
.h-head { max-width: 760px; margin-bottom: 48px; }
.h-head h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.015em; }
.h-head p { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: var(--slate); max-width: 62ch; }
.h-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.h-head.center p { margin-left: auto; margin-right: auto; }

/* ---- 1. Hero ---- */
.h-hero { background: #fff; padding: 128px 0 72px; border-bottom: 1px solid rgba(18,26,51,.08); }
.h-hero .h-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .h-hero .h-wrap { grid-template-columns: 1fr; gap: 40px; } }
.h-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.04; color: var(--navy-900); }
.h-hero h1 span { color: var(--blue); }
.h-hero .sub { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--slate); max-width: 56ch; }
.h-hero .sub b { color: var(--navy-900); font-weight: 600; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.h-cta .btn { padding: 16px 24px; font-size: 16px; }
.h-cta .note { flex-basis: 100%; font-size: 13.5px; color: var(--slate); margin-top: 4px; }
.h-proof { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(18,26,51,.1); }
.h-proof div { display: flex; flex-direction: column; gap: 2px; }
.h-proof b { font-family: var(--f-title); font-size: 28px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; }
.h-proof b.or { color: var(--or); }
.h-proof span { font-size: 13.5px; color: var(--slate); }
.h-portrait { position: relative; margin: 0; }
.h-portrait img { display: block; width: 100%; height: auto; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(18,26,51,.5); }
@media (max-width: 960px) { .h-portrait img { aspect-ratio: 1 / 1; object-position: center 18%; } .h-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .h-proof b { font-size: 24px; } .h-proof span { font-size: 12.5px; } }
.h-portrait figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.96); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 24px -14px rgba(18,26,51,.45); }
.h-portrait .stars { color: var(--or); font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.h-portrait .who { font-size: 13.5px; line-height: 1.35; color: var(--slate-ink); }
.h-portrait .who b { display: block; color: var(--navy-900); font-size: 14.5px; }
@media (min-width: 961px) {
  .h-hero:not(.solo) .h-wrap { align-items: stretch; }
  .h-portrait { height: 100%; min-height: 520px; }
  .h-portrait img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; aspect-ratio: auto; }
}

/* ---- 2. Avis ---- */
.h-reviews { padding: 56px 0 64px; background: var(--offwhite); }
.h-reviews .lab { padding: 0 22px; text-align: center; font-size: 14.5px; color: var(--slate); margin-bottom: 22px; }
.h-reviews .lab b { color: var(--navy-900); }

/* ---- 3. Pour qui ---- */
.h-who { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(18,26,51,.12); }
@media (max-width: 880px) { .h-who { grid-template-columns: 1fr; } }
.h-who a { display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 30px 0; border-bottom: 1px solid rgba(18,26,51,.12); color: inherit; }
.h-who a + a { padding-left: 30px; border-left: 1px solid rgba(18,26,51,.12); }
@media (max-width: 880px) { .h-who a, .h-who a + a { padding: 26px 0; border-left: 0; } }
.h-who .quote { font-family: var(--f-title); font-size: 22px; line-height: 1.3; color: var(--navy-900); }
.h-who p { font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.h-who .go { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 15px; }
.h-who a:hover .go { text-decoration: underline; text-underline-offset: 4px; }

/* ---- 4. Méthode ---- */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: st; }
@media (max-width: 880px) { .h-steps { grid-template-columns: 1fr; gap: 30px; } }
.h-step { counter-increment: st; }
.h-step::before { content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--encre); color: #fff; font-family: var(--f-title); font-weight: 600; font-size: 19px; }
.h-step h3 { margin-top: 18px; font-size: 24px; color: var(--navy-900); }
.h-step p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--slate); }
.h-step .what { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--encre); }

/* ---- 6. Le professeur ---- */
.h-prof { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .h-prof { grid-template-columns: 1fr; gap: 36px; } }
.h-prof .card-id { background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; padding: 28px 28px 10px; box-shadow: 0 1px 2px rgba(18,26,51,.06); }
.h-prof .card-id .nm { font-family: var(--f-title); font-size: 22px; font-weight: 600; color: var(--navy-900); }
.h-prof .card-id .rl { font-size: 14.5px; color: var(--slate); margin-top: 4px; }
.h-prof .facts { margin-top: 16px; display: grid; gap: 0; }
.h-prof .facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(18,26,51,.1); font-size: 15px; }
.h-prof .facts span { color: var(--slate); white-space: nowrap; }
.h-prof .facts b { color: var(--navy-900); font-weight: 600; text-align: right; }
.h-prof h2 { font-size: clamp(30px, 3.6vw, 44px); }
.h-prof .bio { margin-top: 18px; font-size: 17px; line-height: 1.72; color: var(--slate-ink); max-width: 64ch; }
.h-prof .bio b { color: var(--navy-900); font-weight: 600; }
.h-path { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 30px; }
.h-path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(18,26,51,.18); }
.h-path div { position: relative; }
.h-path div::before { content: ""; position: absolute; left: 0; top: -35px; width: 11px; height: 11px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 5px var(--offwhite); }
.h-path div:last-child::before { background: var(--blue); }
.h-path b { display: block; font-family: var(--f-title); font-size: 18px; color: var(--navy-900); font-weight: 600; }
.h-path span { display: block; margin-top: 4px; font-size: 15px; color: var(--slate); line-height: 1.55; }
@media (max-width: 860px) {
  .h-path { grid-template-columns: 1fr; gap: 0; padding-top: 0; margin-top: 36px; border-left: 1px solid rgba(18,26,51,.15); }
  .h-path::before { display: none; }
  .h-path div { padding: 0 0 20px 26px; }
  .h-path div::before { left: -6px; top: 7px; box-shadow: none; }
}

/* ---- 7. Offres ---- */
.h-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 16px; overflow: hidden; }
@media (max-width: 960px) { .h-offers { grid-template-columns: 1fr; } }
.h-offer { padding: 34px 32px; display: flex; flex-direction: column; }
.h-offer + .h-offer { border-left: 1px solid rgba(18,26,51,.12); }
@media (max-width: 960px) { .h-offer + .h-offer { border-left: 0; border-top: 1px solid rgba(18,26,51,.12); } }
.h-offer.reco { background: var(--encre); color: #fff; }
.h-offer .tag { font-size: 13px; font-weight: 600; color: var(--blue); }
.h-offer.reco .tag { color: var(--cyan); }
.h-offer h3 { font-size: 27px; margin-top: 8px; }
.h-offer.reco h3 { color: #fff; }
.h-offer .for { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--slate); }
.h-offer.reco .for { color: #C9D2EA; }
.h-offer .price { margin-top: 22px; font-size: 15px; color: var(--slate); }
.h-offer .price b { display: block; font-family: var(--f-title); font-size: 34px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.h-offer.reco .price, .h-offer.reco .price b { color: #fff; }
.h-offer ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.h-offer li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--slate-ink); }
.h-offer.reco li { color: #E4E9F5; }
.h-offer li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.h-offer.reco li svg { color: var(--cyan); }
.h-offer .btn { margin-top: auto; justify-content: center; }
.h-offer.reco .btn-primary { background: #fff; color: var(--encre); box-shadow: none; }
.h-offer.reco .btn-primary:hover { background: #E9EDF7; }
.h-offer .btn-line { border: 1.5px solid var(--navy-900); color: var(--navy-900); background: transparent; }
.h-offer .btn-line:hover { background: var(--navy-900); color: #fff; }
.h-offers-note { margin-top: 18px; font-size: 13.5px; color: var(--slate); text-align: center; line-height: 1.6; }
.h-offers-note a { color: var(--blue); font-weight: 600; }

/* ---- 8. Cours découverte offert ---- */
.h-free { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .h-free { grid-template-columns: 1fr; gap: 32px; } }
.h-free h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.015em; }
.h-free .lead { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: var(--slate); max-width: 60ch; }
.h-free-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(18,26,51,.12); }
.h-free-list li { padding: 16px 0; border-bottom: 1px solid rgba(18,26,51,.12); font-size: 16px; line-height: 1.55; color: var(--slate-ink); }
.h-free-list b { color: var(--navy-900); font-weight: 600; }
.h-free-card { background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; padding: 28px; box-shadow: 0 18px 40px -28px rgba(18,26,51,.4); position: sticky; top: 96px; }
.h-free-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(18,26,51,.1); font-size: 15px; }
.h-free-card .row span { color: var(--slate); }
.h-free-card .row b { color: var(--navy-900); font-weight: 600; text-align: right; }
.h-free-card .row:last-of-type b { color: var(--green); }
.h-free-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.h-free-card small { display: block; margin-top: 12px; font-size: 13px; color: var(--slate); text-align: center; line-height: 1.5; }

/* ---- 9. Questions ---- */
.h-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(18,26,51,.12); }
.h-faq details { border-bottom: 1px solid rgba(18,26,51,.12); }
.h-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-title); font-size: 20px; font-weight: 600; color: var(--navy-900); }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(45deg); transition: transform .25s ease; }
.h-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.h-faq .a { padding: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--slate-ink); max-width: 68ch; }
.h-faq .a a { color: var(--blue); font-weight: 600; }

/* ---- 10. Appel découverte ---- */
.h-final { background: var(--encre); color: #fff; padding: 96px 0; }
.h-final .h-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .h-final .h-wrap { grid-template-columns: 1fr; } }
.h-final h2 { font-size: clamp(30px, 3.8vw, 48px); color: #fff; }
.h-final p { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: #C9D2EA; max-width: 56ch; }
.h-final .box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 26px; }
.h-final .box ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.5; color: #E4E9F5; }
.h-final .box .btn { width: 100%; justify-content: center; margin-top: 22px; background: #fff; color: var(--encre); box-shadow: none; }
.h-final .box .btn:hover { background: #E9EDF7; }
.h-final .box small { display: block; margin-top: 12px; font-size: 13px; color: #AFBAD6; text-align: center; }
.h-risk { background: var(--encre-900); color: #AFBAD6; font-size: 13px; line-height: 1.6; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.h-risk b { color: #fff; }
@media (max-width: 960px) { .h-portrait figcaption { position: static; margin-top: 10px; box-shadow: none; border: 1px solid rgba(18,26,51,.12); } }

/* ============================================================
   Sous-pages · mêmes composants que l'accueil
   ============================================================ */
.h-hero.solo .h-wrap { grid-template-columns: 1.15fr .85fr; }
.h-hero.solo.text .h-wrap { grid-template-columns: 1fr; }
.h-hero.solo.text .h-intro { max-width: 820px; }
@media (max-width: 960px) { .h-hero.solo .h-wrap { grid-template-columns: 1fr; } }
.h-crumb { font-size: 13.5px; color: var(--slate); margin-bottom: 22px; }
.h-crumb a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18,26,51,.25); }
.h-crumb a:hover { color: var(--navy-900); }
.h-crumb span { margin: 0 8px; color: rgba(18,26,51,.3); }
.h-hero.solo h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; }
.h-hero.solo .sub { font-size: clamp(16.5px, 1.35vw, 18px); max-width: 52ch; }

.h-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.h-facts li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--slate-ink); }
.h-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--encre); flex: none; }

/* carte de synthèse à droite du hero */
.h-side { background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 18px 40px -28px rgba(18,26,51,.4); }
.h-side h2, .h-side .ttl { font-family: var(--f-title); font-size: 21px; font-weight: 600; color: var(--navy-900); line-height: 1.25; }
.h-side .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(18,26,51,.1); font-size: 15px; }
.h-side .row:first-of-type { margin-top: 10px; }
.h-side .row span { color: var(--slate); }
.h-side .row b { color: var(--navy-900); font-weight: 600; text-align: right; }
.h-side .btn { width: 100%; justify-content: center; margin-top: 20px; }
.h-side small { display: block; margin-top: 12px; font-size: 13px; color: var(--slate); text-align: center; line-height: 1.5; }

/* liste éditoriale à filets (sans cartes) */
.h-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(18,26,51,.12); }
.h-list.two { grid-template-columns: repeat(2, 1fr); }
.h-list > div { padding: 28px 30px 28px 0; border-bottom: 1px solid rgba(18,26,51,.12); }
.h-list > div + div { padding-left: 30px; border-left: 1px solid rgba(18,26,51,.12); }
.h-list.two > div:nth-child(odd) { padding-left: 0; border-left: 0; }
.h-list.two > div:nth-child(even) { padding-left: 30px; border-left: 1px solid rgba(18,26,51,.12); }
.h-list.three > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
@media (max-width: 880px) { .h-list, .h-list.two { grid-template-columns: 1fr; } .h-list > div, .h-list > div + div, .h-list.two > div:nth-child(even) { padding: 24px 0; border-left: 0; } }
.h-list h3 { font-size: 21px; color: var(--navy-900); line-height: 1.3; }
.h-list p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--slate); }
.h-list .k { display: block; font-size: 13.5px; font-weight: 600; color: var(--encre); margin-bottom: 10px; }

/* grilles de tarifs */
.h-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 16px; overflow: hidden; }
.h-tiers.three { grid-template-columns: repeat(3, 1fr); }
.h-tiers.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .h-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .h-tiers, .h-tiers.three, .h-tiers.two { grid-template-columns: 1fr; } }
.h-tier { padding: 30px 26px; display: flex; flex-direction: column; border-right: 1px solid rgba(18,26,51,.12); border-bottom: 1px solid rgba(18,26,51,.12); margin: 0 -1px -1px 0; }
.h-tier.reco { background: var(--encre); color: #fff; }
.h-tier .tag { font-size: 13px; font-weight: 600; color: var(--blue); }
.h-tier.reco .tag { color: var(--cyan); }
.h-tier h3 { font-size: 25px; margin-top: 8px; color: var(--navy-900); }
.h-tier.reco h3 { color: #fff; }
.h-tier .for { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.h-tier.reco .for { color: #C9D2EA; }
.h-tier .price { margin-top: 20px; font-size: 14px; color: var(--slate); }
.h-tier .price b { display: block; font-family: var(--f-title); font-size: 34px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.h-tier.reco .price, .h-tier.reco .price b { color: #fff; }
.h-tier ul { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 9px; }
.h-tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--slate-ink); }
.h-tier.reco li { color: #E4E9F5; }
/* Prix + bouton toujours alignés en bas des cartes, quelle que soit la longueur du texte */
.h-tier ul + .price { margin-top: auto !important; padding-top: 4px; }
.h-tier ul:has(+ .price) { margin-bottom: 26px; }
.h-tier li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.h-tier.reco li svg { color: var(--cyan); }
.h-tier .perk { margin: -4px 0 22px; padding: 14px 16px; border-radius: 10px; background: var(--encre-tint); font-size: 14px; line-height: 1.5; color: var(--slate-ink); }
.h-tier .perk b { display: block; color: var(--navy-900); font-weight: 600; margin-bottom: 2px; }
.h-tier.reco .perk { background: rgba(255,255,255,.08); color: #E4E9F5; }
.h-tier.reco .perk b { color: #fff; }
.h-tier .btn { margin-top: auto; justify-content: center; }
.h-tier.reco .btn-primary { background: #fff; color: var(--encre); box-shadow: none; }
.h-tier.reco .btn-primary:hover { background: #E9EDF7; }
.h-tier .btn-line, .h-sec .btn-line, .h-side .btn-line { border: 1.5px solid var(--navy-900); color: var(--navy-900); background: transparent; }
.h-tier .btn-line:hover, .h-sec .btn-line:hover, .h-side .btn-line:hover { background: var(--navy-900); color: #fff; }

/* encadré d'information */
.h-callout { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 14px; background: var(--encre-tint); }
.h-callout p { font-size: 15.5px; line-height: 1.6; color: var(--slate-ink); max-width: 72ch; }
.h-callout p b { color: var(--navy-900); }
.h-callout a:not(.btn) { color: var(--blue); font-weight: 600; }
.h-note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--slate); }
.h-note a { color: var(--blue); font-weight: 600; }
.h-note.center { text-align: center; }

/* bandeau sur-mesure */
.h-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: 34px 36px; border: 1px solid rgba(18,26,51,.12); border-radius: 16px; background: #fff; margin-top: 28px; }
@media (max-width: 880px) { .h-band { grid-template-columns: 1fr; padding: 28px 24px; } }
.h-band h3 { font-size: 26px; color: var(--navy-900); }
.h-band p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--slate); }
.h-band .right { text-align: right; }
@media (max-width: 880px) { .h-band .right { text-align: left; } }
.h-band .right b { display: block; font-family: var(--f-title); font-size: 24px; color: var(--navy-900); }
.h-band .right span { display: block; font-size: 13.5px; color: var(--slate); margin-bottom: 14px; }

/* tableau comparatif */
.h-table-wrap { overflow-x: auto; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; background: #fff; }
.h-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.h-table th, .h-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(18,26,51,.1); }
.h-table thead th { font-family: var(--f-title); font-size: 18px; font-weight: 600; color: var(--navy-900); vertical-align: bottom; }
.h-table thead th small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--slate); margin-top: 2px; }
.h-table tbody th { font-weight: 500; color: var(--slate-ink); }
.h-table td { color: var(--navy-900); font-weight: 600; }
.h-table td.no { color: rgba(18,26,51,.3); font-weight: 400; }
.h-table tr:last-child th, .h-table tr:last-child td { border-bottom: 0; }

/* formulaires */
.h-form .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h-form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .h-form .fgrid { grid-template-columns: 1fr; } }
.h-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.h-form input, .h-form select, .h-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid rgba(18,26,51,.16); border-radius: 10px; font: inherit; font-size: 15px; color: var(--navy-900); background: #fff; outline: none; transition: border-color .2s; }
.h-form textarea { min-height: 140px; resize: vertical; }
.h-form input:focus, .h-form select:focus, .h-form textarea:focus { border-color: var(--blue); }
.h-form .err { display: none; font-size: 12.5px; color: #B42318; margin-top: 6px; }
.h-form .field.invalid .err { display: block; }
.h-form .field.invalid input { border-color: #B42318; }

/* bloc texte deux colonnes */
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .h-two { grid-template-columns: 1fr; gap: 36px; } }
.h-two h2 { font-size: clamp(28px, 3.4vw, 42px); }
.h-two .lead { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--slate-ink); }
.h-two .lead + .lead { margin-top: 14px; }
.h-two .lead b { color: var(--navy-900); font-weight: 600; }

/* chiffres */
.h-nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(18,26,51,.12); border-bottom: 1px solid rgba(18,26,51,.12); }
@media (max-width: 880px) { .h-nums { grid-template-columns: repeat(2, 1fr); } }
.h-nums div { padding: 26px 20px 24px 0; }
.h-nums div + div { padding-left: 24px; border-left: 1px solid rgba(18,26,51,.12); }
@media (max-width: 880px) { .h-nums div:nth-child(3) { padding-left: 0; border-left: 0; } .h-nums div:nth-child(n+3) { border-top: 1px solid rgba(18,26,51,.12); } }
.h-nums b { display: block; font-family: var(--f-title); font-size: 38px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; }
.h-nums span { font-size: 14.5px; color: var(--slate); }

/* onglets / bascule */
.h-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--encre-tint); gap: 4px; }
.h-switch button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--slate-ink); cursor: pointer; }
.h-switch button.active, .h-switch button[aria-pressed="true"] { background: #fff; color: var(--navy-900); box-shadow: 0 1px 3px rgba(18,26,51,.15); }

/* boutons sur fond sombre (bandeau final) */
.h-final .btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); background: transparent; }
.h-final .btn-ghost:hover { background: rgba(255,255,255,.08); }
.h-final .btn-primary.on-dark { background: #fff; color: var(--encre); box-shadow: none; }
.h-final .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* modale de demande de devis (coaching sur mesure) */
.dvm-overlay { position: fixed; inset: 0; z-index: 1200; display: none; place-items: center; padding: 20px; background: rgba(18,26,51,.55); }
.dvm-overlay.open { display: grid; }
.dvm { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 16px; padding: 34px 32px 28px; box-shadow: 0 30px 80px -30px rgba(18,26,51,.6); }
.dvm-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--encre-tint); color: var(--navy-900); font-size: 15px; cursor: pointer; }
.dvm-head h3 { font-size: 26px; color: var(--navy-900); }
.dvm-head p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.dvm-kicker { display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.dvm-form { margin-top: 22px; display: grid; gap: 14px; }
.dvm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .dvm-row { grid-template-columns: 1fr; } .dvm { padding: 28px 20px 22px; } }
.dvm-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.dvm-field .opt { font-weight: 400; color: var(--slate); }
.dvm-field input, .dvm-field select, .dvm-field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid rgba(18,26,51,.16); border-radius: 10px; font: inherit; font-size: 15px; color: var(--navy-900); background: #fff; outline: none; }
.dvm-field textarea { min-height: 110px; resize: vertical; }
.dvm-field input:focus, .dvm-field select:focus, .dvm-field textarea:focus { border-color: var(--blue); }
.dvm-err { display: none; font-size: 12.5px; color: #B42318; margin-top: 5px; }
.dvm-field.invalid .dvm-err { display: block; }
.dvm-field.invalid input, .dvm-field.invalid textarea { border-color: #B42318; }
.dvm-submit { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; text-align: center; }
.dvm-submit:hover { background: var(--blue-bright); }
.dvm-legal { font-size: 12.5px; color: var(--slate); text-align: center; }
.dvm-cal { margin-top: 18px; min-height: 420px; }
.dvm-done { text-align: center; padding: 10px 0; }
.dvm-check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,122,85,.12); color: var(--green); }
.dvm-check svg { width: 26px; height: 26px; }
.dvm-done h3 { font-size: 24px; color: var(--navy-900); }
.dvm-done p { margin-top: 8px; font-size: 15px; color: var(--slate); line-height: 1.6; }
.dvm-done .dvm-submit { margin-top: 20px; }

/* Algorithmes : exemples illustratifs */
.h-demo { background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -30px rgba(18,26,51,.4); }
.h-demo .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(18,26,51,.1); }
.h-demo .top b { font-family: var(--f-title); font-size: 18px; color: var(--navy-900); }
.h-demo .top span { font-size: 12.5px; color: var(--slate); }
.h-demo .crit { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(18,26,51,.08); font-size: 15px; color: var(--slate-ink); }
.h-demo .crit b { font-weight: 600; }
.h-demo .crit .ok { color: var(--green); }
.h-demo .crit .ko { color: #B42318; }
.h-demo .verdict { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--slate); }
.h-demo .verdict b { color: var(--navy-900); }
.h-demo svg#algoDtChart { display: block; width: 100%; height: 220px; margin-top: 12px; background: #101A3A; border-radius: 10px; }
.h-demo .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13.5px; color: var(--slate); }
.h-algo-price { max-width: 940px; margin: 0 auto; }
.h-algo-price .price-card { border-radius: 16px; }

/* Contact */
.h-contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .h-contact { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; padding: 32px 30px; }
.contact-card h2 { font-size: 26px; color: var(--navy-900); }
.contact-card .sub { margin: 8px 0 22px; font-size: 15px; color: var(--slate); }
.contact-card .rgpd { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin: 16px 0; }
.contact-card .rgpd a { color: var(--blue); font-weight: 600; }
.contact-card button.send { width: 100%; justify-content: center; }
.contact-card button.send:disabled { opacity: .6; cursor: wait; }
.contact-card .sent { display: none; text-align: center; padding: 30px 10px; }
.contact-card .sent.show { display: block; }
.contact-card .sent .tick { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,122,85,.12); color: var(--green); }
.contact-card .sent h3 { font-size: 24px; color: var(--navy-900); }
.contact-card .sent p { margin-top: 8px; font-size: 15px; color: var(--slate); line-height: 1.6; }
.contact-card .sent a { color: var(--blue); font-weight: 600; }

/* Parrainage : simulateur */
.h-sim { background: var(--encre); color: #fff; border-radius: 16px; padding: 32px 30px; }
.h-sim h3 { font-size: 24px; color: #fff; }
.h-sim .sub { margin-top: 6px; font-size: 15px; color: #C9D2EA; }
.h-sim .sim-field { margin-top: 24px; }
.h-sim label { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #E4E9F5; margin-bottom: 10px; }
.h-sim label b { color: #fff; }
.h-sim input[type=range] { width: 100%; accent-color: #B9C8F2; }
.h-sim .total { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.h-sim .total .l { font-size: 14px; color: #C9D2EA; }
.h-sim .total .v { font-family: var(--f-title); font-size: 46px; font-weight: 600; color: #fff; margin-top: 4px; font-variant-numeric: tabular-nums; }
.h-sim .total .note { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: #AFBAD6; }
.h-rates { border-top: 1px solid rgba(18,26,51,.12); }
.h-rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(18,26,51,.12); }
.h-rates span { font-size: 16px; color: var(--slate-ink); }
.h-rates span small { display: block; font-size: 13.5px; color: var(--slate); margin-top: 2px; }
.h-rates b { font-family: var(--f-title); font-size: 30px; font-weight: 600; color: var(--navy-900); }

/* Coaching : mise en avant Avancé / Élite */
.h-tiers.coach .h-tier.pop { background: var(--encre-tint); }
.h-tiers.coach .h-tier.pop .tag { color: var(--bordeaux); }
.h-tier .price b small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--slate); }
.h-tier.reco .price b small { color: #C9D2EA; }
.h-tier li b { font-weight: 600; color: inherit; }
.h-pick { display: block; width: 100%; margin-top: 10px; padding: 9px 10px; border: 1.5px solid rgba(18,26,51,.18); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--navy-900); }
@media (min-width: 1101px) { .h-tiers.coach .h-tier.reco { box-shadow: 0 24px 50px -28px rgba(20,31,68,.7); position: relative; z-index: 1; } }
.h-demo svg#algoDtChart { height: auto; aspect-ratio: 460 / 345; }
.h-offer .price b small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--slate); }

/* ============================================================
   Algorithmes : carte de tarifs (#algoPrice) — styles complets
   ============================================================ */
#algoPrice { position: relative; background: var(--encre); color: #fff; border-radius: 18px; padding: 34px 34px 30px; box-shadow: 0 30px 60px -36px rgba(20,31,68,.7); text-align: left; }
#algoPrice .mesh { display: none; }
#algoPrice .pc-switch { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); }
#algoPrice .pcs-btn { position: relative; z-index: 1; border: 0; background: transparent; color: #C9D2EA; font: inherit; font-size: 14.5px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: color .2s; }
#algoPrice .pcs-btn.active { color: var(--encre) !important; }
#algoPrice .pcs-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: #fff; transition: left .3s ease, width .3s ease; }
#algoPrice .pc-cap { display: block; margin-top: 22px; font-size: 13px; font-weight: 600; color: #B9C8F2; }
#algoPrice .pc-algo-name { margin-top: 6px; font-family: var(--f-title); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; color: #fff; }
#algoPrice .pc-algo-desc { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: #C9D2EA; max-width: 64ch; }
#algoPrice .pc-swapping { opacity: .3; transition: opacity .18s; }
#algoPrice .pc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
@media (max-width: 860px) { #algoPrice .pc-plans { grid-template-columns: 1fr; } #algoPrice { padding: 26px 20px 22px; } }
#algoPrice .plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 4px; padding: 18px 18px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: #fff; font: inherit; cursor: pointer; text-decoration: none; transition: border-color .2s, background .2s; width: 100%; min-height: 0; }
#algoPrice .plan:hover { border-color: rgba(255,255,255,.45); }
#algoPrice .plan-pick[aria-pressed="true"] { border-color: #fff; background: rgba(255,255,255,.1); }
#algoPrice .plan-free { border-style: dashed; }
#algoPrice .plan-badge { position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--bordeaux); color: #fff; font-size: 11.5px; font-weight: 600; }
#algoPrice .plan-check { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; }
#algoPrice .plan-check svg { width: 12px; height: 12px; opacity: 0; color: var(--encre); }
#algoPrice .plan-pick[aria-pressed="true"] .plan-check { background: #fff; border-color: #fff; }
#algoPrice .plan-pick[aria-pressed="true"] .plan-check svg { opacity: 1; }
#algoPrice .plan-name { font-size: 14px; font-weight: 600; color: #B9C8F2; }
#algoPrice .plan-price { font-family: var(--f-title); font-size: 28px; font-weight: 600; color: #fff; line-height: 1.15; }
#algoPrice .plan-price small { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: #C9D2EA; }
#algoPrice .plan-save { font-size: 13px; font-weight: 600; color: #fff; }
#algoPrice .plan-save span { display: block; font-weight: 400; color: #C9D2EA; }
#algoPrice .plan-sub { font-size: 13px; line-height: 1.5; color: #C9D2EA; }
#algoPrice .plan-sub strong { color: #fff; }
#algoPrice .plan-sub strong.save { color: #F2D9A6; }
#algoPrice .plan-name { padding-right: 30px; }
#algoPrice .plan-price { margin-bottom: 4px; }
#algoPrice .pc-note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: #C9D2EA; }
#algoPrice .pc-note strong { color: #fff; font-weight: 600; }
#algoPrice .pc-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
@media (max-width: 640px) { #algoPrice .pc-list { grid-template-columns: 1fr; } }
#algoPrice .pc-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; color: #E4E9F5; }
#algoPrice .pc-list .ico { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: #B9C8F2; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#algoPrice .pc-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 15px 24px; border: 0; border-radius: 10px; background: #fff; color: var(--encre); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transform: none !important; }
#algoPrice .pc-cta:hover { background: #E9EDF7; }

/* ===== Simulateurs (Nos Outils) ===== */
.h-tools .tool-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.h-tools .tool-tab { padding: 11px 18px; border-radius: 999px; border: 1.5px solid rgba(18,26,51,.16); background: #fff; font: 600 14.5px/1 var(--f-body); color: var(--slate-ink, #2A3550); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.h-tools .tool-tab:hover { border-color: var(--blue); }
.h-tools .tool-tab.active { background: var(--encre, #1E2F63); border-color: var(--encre, #1E2F63); color: #fff; }
.h-tools .calc-panel { display: none; }
.h-tools .calc-panel.active { display: block; }
.h-tools .calc-card2 { background: #fff; border: 1px solid rgba(18,26,51,.1); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; box-shadow: 0 1px 2px rgba(18,26,51,.04); }
.tool-h { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy-900); }
.tool-p { margin: 8px 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--slate); max-width: 60ch; }
.h-tools .calc-field { margin-bottom: 18px; }
.h-tools .calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-family: var(--f-body); }
.h-tools .calc-field label span { font-family: var(--f-mono); color: var(--blue); font-weight: 700; }
.h-tools .calc-input { position: relative; }
.h-tools .calc-input input { width: 100%; padding: 13px 40px 13px 14px; border: 1.5px solid rgba(18,26,51,.16); border-radius: 10px; background: #fff; font: 600 16px var(--f-mono); color: var(--navy-900); outline: none; }
.h-tools .calc-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,70,196,.12); }
.h-tools .calc-input .u { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 600; }
.h-tools .calc-range { width: 100%; accent-color: var(--blue); }
.h-tools .calc-result-side { background: var(--encre, #1E2F63); border-radius: 14px; padding: 32px; color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.h-tools .calc-result-side .mesh3 { display: none; }
.h-tools .calc-result-side .rl { font-size: 14px; color: #C9D2EA; }
.h-tools .calc-result-side .rv { font-family: var(--f-mono); font-weight: 700; font-size: clamp(38px, 4.6vw, 56px); letter-spacing: -.02em; margin-top: 8px; color: #fff; }
.h-tools .calc-result-side .rsub { margin-top: 14px; font-size: 13.5px; color: #C9D2EA; line-height: 1.55; }
.h-tools .calc-result-side .rbar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.14); margin-top: 20px; overflow: hidden; position: relative; }
.h-tools .calc-result-side .rbar i { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, #B9C8F2, #fff); border-radius: 8px; transition: transform .5s; }
.h-tools .eco { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid rgba(18,26,51,.1); border-radius: 18px; padding: 32px; }
.h-tools .eco .tool-p { margin-bottom: 8px; }
.h-tools .eco-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.h-tools .eco-lab { min-width: 84px; font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.h-tools .eco-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.h-tools .eco-zfilter { padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(18,26,51,.14); background: #fff; font: 600 13px var(--f-body); color: var(--slate-ink, #2A3550); cursor: pointer; }
.h-tools .eco-zfilter:hover { border-color: var(--blue); }
.h-tools .eco-zfilter.on { background: var(--encre-tint, #E9EDF7); border-color: var(--blue); color: var(--blue); }
.h-tools .eco-live-frame { position: relative; height: 720px; margin-top: 8px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(18,26,51,.1); }
.h-tools .eco-live-host { height: 100%; width: 100%; position: relative; z-index: 1; }
.h-tools .eco-live-host .tradingview-widget-container, .h-tools .eco-live-host .tradingview-widget-container__widget { height: 100%; width: 100%; }
.h-tools .eco-live-ph { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--slate); font-size: 14px; }
.h-tools .eco-live-ph.gone { display: none; }
.h-tools .eco-live-spin { width: 16px; height: 16px; border: 2px solid rgba(18,26,51,.18); border-top-color: var(--blue); border-radius: 50%; animation: ecoSpin .8s linear infinite; }
@keyframes ecoSpin { to { transform: rotate(360deg); } }
.h-tools .eco-live-note { font-size: 13px; color: var(--slate); }
.h-list.two-cards { grid-template-columns: 1fr 1fr; gap: 18px; border-top: 0; }
.tool-card { display: block; padding: 28px; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tool-card:hover { border-color: var(--blue); box-shadow: 0 16px 34px -24px rgba(18,26,51,.4); }
.tool-card h3 { font-size: 22px; color: var(--navy-900); }
.tool-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.tool-card span { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--blue); }
.tool-card span::after { content: " →"; }
@media (max-width: 860px) {
  .h-tools .calc-card2 { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .h-tools .eco { padding: 20px; }
  .h-tools .eco-live-frame { height: 560px; }
  .h-list.two-cards { grid-template-columns: 1fr; }
  .h-tools .tool-tabs { gap: 6px; }
  .h-tools .tool-tab { padding: 10px 14px; font-size: 13.5px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Coaching : vignettes promo, prix alignés, carte du hero ---------- */
.h-promo { position: absolute; top: 0; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 7px 9px; border-radius: 0 0 9px 9px; background: #F6EBD3; color: #7A5414; font-size: 12px; font-weight: 700; letter-spacing: .01em; line-height: 1; white-space: nowrap; box-shadow: 0 6px 14px -10px rgba(122,84,20,.6); }
.h-promo svg { width: 13px; height: 13px; flex: none; }
.h-tiers.coach .h-tier { position: relative; }
.h-tier.reco .h-promo { background: #A87A24; color: #fff; }
.h-side { position: relative; }
.h-tier .perk.pick { margin-top: -6px; }
.h-tier .perk .perk-lab { display: block; font-size: 13.5px; color: var(--slate-ink); }
.h-tier .perk .perk-link { display: inline-block; white-space: nowrap; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(36,70,196,.35); }
.h-tier .perk .perk-link:hover { text-decoration-color: currentColor; }
@media (min-width: 721px) {
  /* même hauteur pour l'accroche des 4 cartes : les prix tombent sur la même ligne */
  .h-tiers.coach .h-tier .for { min-height: 4.65em; }
}
/* Hero : la carte de droite démarre à la hauteur du titre */
@media (min-width: 961px) {
  .h-hero.solo .h-side { align-self: start; margin-top: 42px; }
}

/* ============================================================
   Menu « Outils » (déroulant) + menu mobile groupé
   ============================================================ */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-btn { background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-dd.open .nav-dd-btn svg, .nav-dd:hover .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 290px; padding: 8px; margin-top: 6px; background: #fff; border: 1px solid rgba(18,26,51,.12); border-radius: 14px; box-shadow: 0 22px 44px -22px rgba(18,26,51,.35); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd-item { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; }
.nav-dd-item b { display: block; font-size: 15px; font-weight: 600; color: var(--navy-900); }
.nav-dd-item small { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); }
.nav-dd-item:hover, .nav-dd-item.current { background: var(--encre-tint); }
.nav-dd-item.current b { color: var(--blue); }
.mnav .mgroup { margin-top: 14px; padding: 6px 0 2px; font-size: 13px; font-weight: 600; color: #AFBAD6; font-family: var(--f-body); }

/* ============================================================
   Pack complet : offre promo, visiblement différente
   ============================================================ */
.h-side.promo, .h-band.promo { position: relative; background: #FBF5E8; border-color: rgba(168,122,36,.38); }
.h-side.promo .row { border-bottom-color: rgba(168,122,36,.2); }
.h-band.promo { padding-top: 40px; }
.h-band.promo .h-promo { position: absolute; top: 0; right: 24px; }
.h-band.promo .right span { text-decoration: none; }
.promo > .h-promo { background: #A87A24; color: #fff; }

/* ============================================================
   TÉLÉPHONE (≤ 640 px) : moins long, moins gros, plus lisible
   - typographie et espacements resserrés
   - les blocs « côte à côte » deviennent des cartes qu'on fait
     glisser horizontalement au lieu d'une longue colonne
   ============================================================ */
@media (max-width: 640px) {
  .h-sec { padding: 52px 0; }
  .h-head { margin-bottom: 24px; }
  .h-head h2 { font-size: clamp(25px, 7.2vw, 30px); }
  .h-head p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
  .h-hero { padding: 96px 0 44px; }
  .h-hero h1, .h-hero.solo h1 { font-size: clamp(31px, 8.8vw, 38px); line-height: 1.08; }
  .h-hero .sub { margin-top: 16px; font-size: 15.5px; line-height: 1.6; }
  .h-cta { margin-top: 24px; gap: 10px; }
  .h-cta .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 15.5px; }
  .h-cta .note { font-size: 12.5px; }
  .h-proof { margin-top: 26px; padding-top: 18px; }
  .h-proof b { font-size: 22px !important; }
  .h-side { padding: 22px 20px 18px; }
  .h-side .row { font-size: 14px; padding: 10px 0; }

  /* cartes à faire glisser */
  .h-who, .h-steps, .h-list, .h-offers, .h-tiers {
    display: flex !important; flex-wrap: nowrap; gap: 12px !important; overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -18px; padding: 4px 18px 14px; border: 0 !important; border-radius: 0 !important; background: none !important;
  }
  .h-who::-webkit-scrollbar, .h-steps::-webkit-scrollbar, .h-list::-webkit-scrollbar, .h-offers::-webkit-scrollbar, .h-tiers::-webkit-scrollbar { display: none; }
  .h-who > *, .h-steps > *, .h-list > *, .h-offers > *, .h-tiers > * {
    flex: 0 0 84%; scroll-snap-align: center; margin: 0 !important; padding: 22px 20px !important;
    border: 1px solid rgba(18,26,51,.12) !important; border-radius: 14px; position: relative;
  }
  .h-who > *, .h-steps > *, .h-list > *:not(.tool-card), .h-offers > .h-offer:not(.reco), .h-tiers > .h-tier:not(.reco):not(.pop) { background: #fff; }
  .h-list.two-cards > *, .h-list.three-cards > * { flex-basis: 84%; }
  .h-who .quote { font-size: 19px; }
  .h-step::before { width: 36px; height: 36px; font-size: 16px; }
  .h-step h3 { margin-top: 12px; font-size: 20px; }
  .h-step p, .h-list p, .h-who p, .h-offer .for, .h-tier .for { font-size: 14.5px; line-height: 1.55; }
  .h-list h3, .tool-card h3 { font-size: 19px; }
  .h-offer h3, .h-tier h3 { font-size: 23px; }
  .h-offer .price b, .h-tier .price b { font-size: 30px; }
  .h-offer ul, .h-tier ul { margin: 16px 0 20px; gap: 8px; }
  .h-offer li, .h-tier li { font-size: 14px; }
  .h-tiers.coach .h-tier .h-promo { top: 0; }

  /* accueil : bloc professeur allégé */
  .h-prof .card-id { display: none; }
  .h-prof .bio + .bio { display: none; }
  .h-prof .bio { font-size: 15.5px; }
  .h-free .lead { font-size: 15.5px; }
  .h-band h3 { font-size: 22px; }
  .h-band p { font-size: 14.5px; }
  .h-faq summary { font-size: 17px !important; }

  /* menu mobile plus compact */
  .mnav .mlinks { margin-top: 26px; gap: 0; }
  .mnav .mlinks a { font-size: 20px !important; padding: 11px 0 !important; }
  .mnav .mlinks a.msub { font-size: 17px !important; padding-left: 14px !important; font-family: var(--f-body); font-weight: 500; }
}

/* Simulateurs : un seul champ blanc, sans cadre gris autour */
.h-tools .calc-input { display: block; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
.h-tools .calc-input::after { display: none !important; }
.h-tools .calc-input input { font-family: var(--f-body) !important; font-variant-numeric: tabular-nums; }
.h-tools .calc-input .u { font-family: var(--f-body) !important; }
@media (max-width: 640px) {
  .h-two { gap: 28px; }
  .h-two h2 { font-size: clamp(25px, 7.2vw, 30px); }
  .h-two .lead { font-size: 15.5px; line-height: 1.6; }
  .h-two .lead + .lead { display: none; }
  .h-tiers { align-items: flex-start; }
}
/* Débordements horizontaux sur téléphone */
.jr-table-scroll { position: relative; }
.h-contact > *, .contact-card { min-width: 0; }
.h-form input, .h-form textarea, .h-form select { min-width: 0; max-width: 100%; }
.h-hero h1 { line-height: 1.1; }
.h-hero:not(.solo) h1 { text-wrap: wrap; }
@media (min-width: 641px) { .h-hero:not(.solo) h1 { font-size: clamp(40px, 4.6vw, 64px); } }

/* ===== Corrections d'audit (nov. 2026) ===== */
/* Vignettes : or plus foncé pour un texte blanc lisible (contraste 5,4:1) */
.h-tier.reco .h-promo, .promo > .h-promo { background: #8A6418; color: #fff; }
/* Carrousels mobiles : repères et focus clavier */
.h-dots { display: none; }
.h-stick { display: none; }
@media (max-width: 640px) {
  .h-dots { display: flex; justify-content: center; gap: 7px; margin: 12px 0 2px; }
  .h-dots i { width: 7px; height: 7px; border-radius: 50%; background: #C9D0E2; transition: background .2s, transform .2s; }
  .h-dots i.on { background: #2446C4; transform: scale(1.25); }
  .h-who:focus-visible, .h-steps:focus-visible, .h-list:focus-visible, .h-offers:focus-visible, .h-tiers:focus-visible { outline: 2px solid #2446C4; outline-offset: 4px; border-radius: 12px; }
  /* Zones tactiles : 44 px minimum */
  .btn, .nav-cta, .h-pick, .h-faq summary { min-height: 44px; }
  .nav-burger { min-width: 44px; min-height: 44px; }
  .footer-grid a { padding-top: 6px; padding-bottom: 6px; }
  /* Bouton d'action fixe */
  .h-stick { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #DDE2EE; box-shadow: 0 -8px 24px rgba(20,31,68,.10); transform: translateY(110%); transition: transform .25s ease; }
  .h-stick.show { transform: none; }
  .h-stick .btn { display: flex; justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .h-stick, .h-dots i { transition: none; } }
/* Programme détaillé des formations */
.h-prog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.h-prog > div > h3 { font-family: Literata, Georgia, serif; font-weight: 600; font-size: 21px; color: #1E2F63; margin: 0 0 4px; }
.h-prog > div > p { margin: 0 0 14px; color: #4F5B72; font-size: 14.5px; }
.h-prog details { border: 1px solid #DDE2EE; border-radius: 12px; background: #fff; margin-bottom: 8px; }
.h-prog summary { cursor: pointer; list-style: none; padding: 13px 16px; font-weight: 600; color: #1E2F63; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.h-prog summary::-webkit-details-marker { display: none; }
.h-prog summary small { font-weight: 500; color: #4F5B72; font-size: 12.5px; white-space: nowrap; }
.h-prog ol { margin: 0; padding: 0 16px 14px 36px; color: #2B3448; font-size: 14px; line-height: 1.5; }
.h-prog ol li { padding: 3px 0; }
@media (max-width: 860px) { .h-prog { grid-template-columns: minmax(0, 1fr); } }
/* Texte explicatif des pages outils */
.h-explain { max-width: 820px; }
.h-explain h2 { margin-bottom: 14px; }
.h-explain h3 { font-family: Literata, Georgia, serif; font-weight: 600; font-size: 19px; color: #1E2F63; margin: 22px 0 6px; }
.h-explain p { color: #2B3448; font-size: 15.5px; line-height: 1.65; margin: 0 0 10px; }
/* Page introuvable */
.h-404 { text-align: center; padding: 96px 20px 110px; }
.h-404 .code { font-family: Literata, Georgia, serif; font-size: 84px; font-weight: 600; color: #2446C4; line-height: 1.2; }
.h-404 h1 { font-family: Literata, Georgia, serif; font-weight: 600; font-size: clamp(28px, 4vw, 40px); color: #1E2F63; margin: 14px 0 10px; }
.h-404 p { color: #4F5B72; max-width: 520px; margin: 0 auto 26px; font-size: 16px; }
.h-404 .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* Contrastes (audit) */
.scr-lab { color: #4F5B72; }
@media (max-width: 640px) { .h-proof b.or { color: #8A6418; } }

/* ---------- Menu mobile : « Outils gratuits » repliable ---------- */
.mnav .mgroup-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-title); font-weight: 700; font-size: 32px; padding: 14px 0; color: #fff; border-bottom: 1px solid rgba(148,163,184,.14); }
.mnav .mgroup-btn svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: rgba(255,255,255,.12); border-radius: 50%; padding: 4px; transition: transform .25s; }
.mnav .mgroup-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav .mgroup-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mnav .msubs { display: none; flex-direction: column; }
.mnav .msubs.open { display: flex; }
@media (max-width: 640px) {
  .mnav .mgroup-btn { font-size: 20px; padding: 11px 0; }
}
