/* =========================================================================
   Madrasati — Pages publiques (hub + page programme). Mobile-first.
   Identité du site : vert #1b4332 + or #b8963e sur ivoire #faf7f0.
   ========================================================================= */
:root {
  --vert:        #1b4332;
  --vert-fonce:  #0d2b1f;
  --vert-moyen:  #2d6a4f;
  --vert-clair:  #40916c;
  --vert-pale:   #e7f1ea;
  --or:          #b8963e;
  --or-vif:      #c9a227;
  --or-clair:    #f0e6c0;
  --or-sombre:   #8a6d1a;
  --ivoire:      #faf7f0;
  --ivoire-2:    #f3ecdb;
  --blanc:       #fffdf9;
  --texte:       #20302a;
  --texte-doux:  #55655c;
  --texte-clair: #8b968d;
  --border:      #e9e1cf;
  --filet-or:    #d9c48a;

  --serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --cursive:"Caveat", "Brush Script MT", cursive;
  --arabe:  "Amiri", "Scheherazade New", serif;

  --container: 1200px;
  --gutter: 1.25rem;
  --header-h: 62px;
}
@media (min-width: 768px) { :root { --header-h: 72px; --gutter: 1.5rem; } }

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--texte);
  font-family: var(--sans); font-size: 1rem; line-height: 1.7; font-weight: 400;
  padding-top: var(--header-h);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--vert); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--or-sombre); }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; color: var(--vert); margin: 0 0 1rem; letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 2.15rem; font-weight: 700; line-height: 1.12; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; color: var(--texte-doux); }
strong { color: var(--texte); }
::selection { background: var(--or); color: #fff; }
@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--beige  { background: var(--ivoire); }
.section--ivoire { background: var(--ivoire-2); }
.section--noir   { background: var(--vert-fonce); color: #e8efe9; }
.section--noir h1,.section--noir h2,.section--noir h3 { color: #fff; }
.section--noir p { color: rgba(255,255,255,.78); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 3.5rem; } }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block; font-family: var(--sans);
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--or-sombre); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--or-clair); }

.filet { display: block; width: 56px; height: 2px; background: var(--or); margin: 1rem 0 1.4rem; border-radius: 2px; }
.filet--center { margin-inline: auto; }

.ornement { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.25rem auto 1.75rem; max-width: 260px; color: var(--or); }
.ornement::before,.ornement::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--or), transparent); }
.ornement svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ===== Boutons ===== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .03em;
  border: 1.5px solid transparent; border-radius: 4px; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* primaire = vert */
.btn--rouge { background: var(--vert); color: #fff; box-shadow: 0 6px 18px rgba(27,67,50,.22); }
.btn--rouge:hover { background: var(--vert-fonce); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,67,50,.30); }
.btn--rouge:active { transform: translateY(0); }
/* foncé */
.btn--noir { background: var(--vert-fonce); color: #fff; }
.btn--noir:hover { background: #071c13; color: var(--or-clair); transform: translateY(-2px); }
/* contour vert */
.btn--ghost { background: transparent; color: var(--vert); border-color: var(--vert); }
.btn--ghost:hover { background: var(--vert); color: #fff; transform: translateY(-2px); }
/* contour clair (fonds sombres) */
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--vert); border-color: #fff; }
/* accent or (CTA fort) */
.btn--or { background: var(--or); color: var(--vert-fonce); box-shadow: 0 6px 18px rgba(184,150,62,.3); }
.btn--or:hover { background: var(--or-vif); color: var(--vert-fonce); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(184,150,62,.4); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
  background: rgba(250,247,240,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.site-header__logo img { width: 36px; height: 36px; }
.site-header__brand { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--vert); line-height: 1.05; }
.site-header__brand .sub { display: block; font-family: var(--cursive); font-size: .95rem; color: var(--or-sombre); line-height: 1; }
.site-header__cta { display: flex; align-items: center; gap: .75rem; }
.site-header__nav { font-size: .88rem; font-weight: 600; color: var(--texte-doux); }
.site-header__nav:hover { color: var(--or-sombre); }
@media (max-width: 719px) {
  .site-header__nav--connexion { display: none; }
  .site-header__brand .sub { display: none; }
}
@media (min-width: 768px) { .site-header__cta { gap: 1.5rem; } }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 2.75rem 0 2.5rem;
  background: linear-gradient(170deg, var(--vert-pale) 0%, var(--blanc) 70%);
  border-bottom: 1px solid var(--border); text-align: center;
}
@media (min-width: 768px) { .hero { padding: 4.5rem 0 4rem; } }
.hero__inner { max-width: 860px; margin: 0 auto; }
.hero h1 { margin: .75rem 0 .75rem; }
.hero h1 em { font-style: italic; color: var(--or-sombre); }
.hero__soustitre { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--or-sombre); margin: 0 0 1rem; }
@media (min-width: 768px) { .hero__soustitre { font-size: 1.3rem; } }
.hero__lead { font-size: 1.1rem; color: var(--texte-doux); max-width: 640px; margin: 0 auto 1.6rem; }
.hero__cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__arabe { font-family: var(--arabe); font-size: 1.4rem; color: var(--or-sombre); direction: rtl; margin: 1.75rem 0 0; }

/* Hero à 2 colonnes (page programme) */
.hero--split { text-align: center; }
.hero__media { margin: 2rem auto 0; display: flex; justify-content: center; }
.hero--split .hero__media { max-width: 540px; }
@media (min-width: 900px) {
  .hero--split .hero__inner {
    max-width: var(--container); display: grid; grid-template-columns: 1fr minmax(320px, 560px);
    gap: 3.5rem; align-items: center; text-align: left;
  }
  .hero--split .hero__cta,
  .hero--split .trust-line { justify-content: flex-start; }
  .hero--split .hero__lead { margin-left: 0; margin-right: 0; }
  .hero--split .hero__arabe { text-align: right; }
  .hero__media { margin: 0; }
}

.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin-top: 1.6rem; font-size: .82rem; color: var(--texte-doux); }
.trust-line span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-line svg { width: 15px; height: 15px; color: var(--or); flex-shrink: 0; }

/* ===== Couverture de livre (contrainte : jamais pleine largeur, jamais déformée) ===== */
/* Visuel programme = montage 3D large, PNG à fond TRANSPARENT (ombre + perspective
   déjà dans l'image). On ne force RIEN : ratio naturel, pas de fond, pas de bordure,
   pas de radius, pas d'ombre CSS. */
.book-cover { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
/* Repli (aucune image renseignée) : vignette paysage, elle SEULE est stylée. */
.book-cover--ph {
  width: 100%; max-width: 340px; aspect-ratio: 16 / 10; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; padding: 1.25rem; text-align: center;
  background: linear-gradient(150deg, var(--vert) 0%, var(--vert-moyen) 100%);
  color: var(--or-clair); box-shadow: 0 14px 34px rgba(13,43,31,.22);
}
.book-cover--ph svg { width: 40px; height: 40px; color: var(--or); }
.book-cover--ph span { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; color: #fff; }

/* ===== Cartes génériques ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; } }
.card {
  background: var(--blanc); padding: 1.6rem 1.5rem; border-radius: 10px;
  border: 1px solid var(--border); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(13,43,31,.10); border-color: var(--filet-or); }
.card__icon { width: 42px; height: 42px; color: var(--or); margin-bottom: .9rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { margin: 0; font-size: .95rem; }

/* ===== Vidéo ===== */
.video-wrapper {
  position: relative; width: 100%; max-width: 880px; margin: 0 auto;
  padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px;
  box-shadow: 0 20px 50px rgba(13,43,31,.22); background: var(--vert-fonce);
  border: 3px solid #fff; outline: 1px solid var(--filet-or);
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Contenu Markdown ===== */
.md-content { max-width: 760px; margin: 0 auto; }
.md-content h2 { font-size: 1.7rem; margin: 2.25rem 0 1rem; }
.md-content h3 { font-size: 1.35rem; margin: 1.9rem 0 .6rem; color: var(--vert); }
.md-content h3::after { content: ""; display: block; width: 44px; height: 2px; background: var(--or); margin-top: .5rem; border-radius: 2px; }
.md-content h4 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; color: var(--or-sombre); }
.md-content p { font-size: 1.05rem; line-height: 1.75; }
.md-content ul { padding-left: 0; list-style: none; margin: 1.15rem 0; }
.md-content li { position: relative; padding: .3rem 0 .3rem 1.9rem; color: var(--texte); }
.md-content li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 19px; height: 19px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8963e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}
.md-content a { color: var(--or-sombre); border-bottom: 1px solid var(--or); }

.diff-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .8rem 1.75rem; }
@media (min-width: 560px) { .diff-list { grid-template-columns: repeat(2,1fr); } }
.diff-list li { position: relative; padding-left: 2rem; font-size: 1rem; color: var(--texte); line-height: 1.5; }
.diff-list li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 20px; height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8963e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}

/* ===== Bande « Vos manuels » ===== */
.manuels-grid { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; justify-content: center; align-items: flex-start; }
.manuel { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 210px; }
.manuel .book-cover { margin-bottom: .9rem; }
.manuel__nom { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--vert); }

/* ===== Grille 2 colonnes ===== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ===== Attestation (bloc mis en valeur) ===== */
.attestation {
  background: linear-gradient(160deg, var(--vert) 0%, var(--vert-moyen) 100%); color: #fff;
  padding: 2rem 1.75rem; border-radius: 14px;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; text-align: center;
  box-shadow: 0 20px 46px rgba(13,43,31,.22);
}
.attestation h3 { color: #fff; }
.attestation p { color: rgba(255,255,255,.86); margin: 0; }
.attestation .eyebrow { color: var(--or-clair); }
.attestation__seal {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto; flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 2px solid var(--or);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-clair); font-family: var(--serif); font-style: italic; font-size: 1.05rem; text-align: center;
}
@media (min-width: 760px) { .attestation { grid-template-columns: auto 1fr; gap: 2.25rem; text-align: left; padding: 2.75rem 2.5rem; } }

/* ===== Tarif ===== */
.tarif-card {
  max-width: 460px; margin: 0 auto; background: var(--blanc); border: 2px solid var(--or);
  padding: 2.25rem 1.75rem; text-align: center; border-radius: 14px; box-shadow: 0 20px 50px rgba(13,43,31,.10);
}
@media (min-width: 768px) { .tarif-card { padding: 2.75rem 2.5rem; } }
.tarif-card__badge { display: inline-block; background: var(--vert); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: .38rem .8rem; border-radius: 3px; margin-bottom: 1rem; }
.tarif-card .tarif-card__old { color: var(--texte-clair); font-size: 1.45rem; font-weight: 600; text-decoration: line-through; text-decoration-color: var(--or-sombre); text-decoration-thickness: 2px; margin: 0 0 .1rem; }
.tarif-card__price { font-family: var(--sans); font-size: 3.7rem; font-weight: 800; color: var(--vert); line-height: 1; margin: .2rem 0; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.tarif-card__price .devise { font-family: var(--sans); font-size: 1.7rem; font-weight: 700; vertical-align: top; margin-right: .15rem; color: var(--or-sombre); }
.tarif-card__price .periode { font-size: 1.2rem; font-weight: 500; color: var(--texte-doux); }
.tarif-card .tarif-card__lock { font-size: .88rem; color: var(--vert); font-weight: 600; margin-bottom: 1rem; }
.tarif-card__inclus { list-style: none; padding: 0; margin: 1.4rem 0; text-align: left; }
.tarif-card__inclus li { position: relative; padding: .5rem 0 .5rem 1.7rem; color: var(--texte-doux); font-size: .95rem; border-bottom: 1px solid var(--border); }
.tarif-card__inclus li:last-child { border-bottom: none; }
.tarif-card__inclus li::before { content: "\2713"; position: absolute; left: 0; top: .5rem; color: var(--or-sombre); font-weight: 700; }

/* ===== Étapes numérotées (hub) ===== */
.etape { display: flex; gap: 1.1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--border); text-align: left; }
.etape:last-child { border-bottom: none; }
.etape__num { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: #fff; background: var(--vert); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(27,67,50,.25); }
.etape h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.etape p { margin: 0; }

/* ===== CTA final ===== */
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 600px; margin: 0 auto 2rem; }

/* ===== Footer ===== */
.site-footer { background: var(--vert-fonce); color: rgba(255,255,255,.65); padding: 2.5rem 0 2rem; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--or-clair); }
.site-footer__inner { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.site-footer__copy { color: rgba(255,255,255,.5); font-size: .84rem; }
@media (min-width: 640px) { .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ===== Chiffres clés ===== */
.stats-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; max-width: 940px; margin: 0 auto; }
@media (min-width: 760px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; position: relative; }
@media (min-width: 760px) { .stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 48px; background: var(--filet-or); } }
.stat__num { font-family: var(--sans); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--vert); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat__num .u { color: var(--or-sombre); }
.stat__label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-clair); margin-top: .5rem; }

/* ===== Citation (bande vert foncé) ===== */
.citation { text-align: center; max-width: 820px; margin: 0 auto; }
.citation__ar { font-family: var(--arabe); direction: rtl; font-size: 1.85rem; line-height: 1.8; color: #fff; margin: 0 0 1.3rem; }
.citation__fr { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--or-clair); margin: 0 0 1rem; }
.citation__src { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.citation .ornement { margin-bottom: 1.75rem; }
@media (min-width: 768px) { .citation__ar { font-size: 2.5rem; } .citation__fr { font-size: 1.4rem; } }

/* ===== Témoignages ===== */
.temoignages { columns: 1; column-gap: 1.4rem; max-width: 1120px; margin: 0 auto; }
@media (min-width: 620px) { .temoignages { columns: 2 300px; } }
@media (min-width: 980px) { .temoignages { columns: 3 300px; } }
.temoin { break-inside: avoid; background: var(--blanc); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin: 0 0 1.4rem; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.temoin:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,43,31,.09); border-color: var(--filet-or); }
.temoin__stars { color: var(--or); letter-spacing: .1em; font-size: .9rem; margin-bottom: .6rem; }
.temoin__txt { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--texte); margin: 0 0 1rem; }
.temoin__name { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--vert); }
.temoin__name::before { content: ""; width: 20px; height: 2px; background: var(--or); flex-shrink: 0; }

/* ===== Hub : grille + cartes programme ===== */
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1060px; margin: 0 auto; }
@media (min-width: 640px) { .hub-grid { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; } }
.hub-card {
  display: flex; flex-direction: column; background: var(--blanc);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: inherit;
  box-shadow: 0 10px 30px rgba(13,43,31,.06);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.hub-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,43,31,.14); border-color: var(--filet-or); color: inherit; }
.hub-card__cover {
  position: relative; background: transparent;
  padding: 1.5rem 1.25rem .25rem; display: flex; align-items: center; justify-content: center;
}
.hub-card__cover .book-cover { max-width: 100%; width: 100%; }
.hub-card__ribbon { position: absolute; top: .9rem; right: .9rem; background: var(--or); color: var(--vert-fonce); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 20px; box-shadow: 0 4px 12px rgba(13,43,31,.15); }
.hub-card--soon:hover { transform: none; box-shadow: 0 10px 30px rgba(13,43,31,.06); border-color: var(--border); }
.hub-card__cta--soon { display: inline-flex; align-items: center; align-self: flex-start; padding: .85rem 1.6rem; border-radius: 4px; font-weight: 600; font-size: .9rem; background: var(--ivoire-2); color: var(--texte-doux); border: 1.5px solid var(--border); cursor: default; }
.hub-card__body { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hub-card__public { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--or-sombre); font-weight: 700; background: var(--or-clair); padding: .3rem .7rem; border-radius: 20px; margin-bottom: .8rem; }
.hub-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.hub-card__body p { font-size: .96rem; flex: 1; margin-bottom: 1.25rem; }
.hub-card__cta { align-self: flex-start; }

/* ===== Hero avec vidéo (hub) ===== */
.hero__ornement { color: var(--or); opacity: .65; margin: 0 auto 1.1rem; width: 46px; height: 46px; animation: ornementBreathe 4.5s ease-in-out infinite; }
@keyframes ornementBreathe { 0%,100% { opacity: .55; transform: scale(1) rotate(0deg); } 50% { opacity: .85; transform: scale(1.06) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .hero__ornement { animation: none; } }
.hero--video { text-align: center; }
.hero--video .hero__media { margin-top: 2rem; }
.hero--video .video-wrapper { max-width: 560px; }
@media (min-width: 960px) {
  .hero--video .hero__inner { max-width: var(--container); display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; text-align: left; }
  .hero--video .hero__cta, .hero--video .trust-line { justify-content: flex-start; }
  .hero--video .hero__lead { margin-left: 0; }
  .hero--video .hero__ornement { margin-left: 0; }
  .hero--video .hero__media { margin-top: 0; }
}

/* ===== Frise « Comment ça marche » (sur bande vert foncé) ===== */
.pipeline { max-width: 860px; margin: 0 auto; }
.pipeline__step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.pipeline__step:last-child { padding-bottom: 0; }
.pipeline__step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 0; width: 2px; background: linear-gradient(var(--or), rgba(184,150,62,.15)); transform: scaleY(0); transform-origin: top; transition: transform .6s ease var(--d, 0s); }
.pipeline__step.is-visible:not(:last-child)::before { transform: scaleY(1); }
.pipeline__ico { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--or); background: rgba(184,150,62,.10); display: flex; align-items: center; justify-content: center; color: var(--or); flex-shrink: 0; }
.pipeline__ico svg { width: 24px; height: 24px; }
.pipeline__lbl { align-self: center; }
.pipeline__lbl h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .15rem; }
.pipeline__lbl p { color: rgba(255,255,255,.68); margin: 0; font-size: .9rem; }
@media (min-width: 860px) {
  .pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 0; }
  .pipeline__step { grid-template-columns: none; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .75rem; }
  .pipeline__step:not(:last-child)::before { display: none; }
  .pipeline__step::after { content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: linear-gradient(90deg, var(--or), rgba(184,150,62,.25)); transform: scaleX(0); transform-origin: left; transition: transform .55s ease var(--d, 0s); }
  .pipeline__step.is-visible::after { transform: scaleX(1); }
  .pipeline__step:nth-child(4)::after, .pipeline__step:last-child::after { display: none; }
  .pipeline__ico { margin-bottom: .8rem; }
}
/* Cascade premium : icônes qui « pop » + ligne qui se dessine, décalées une à une */
.pipeline__step.reveal { opacity: 1; transform: none; }
.pipeline__step:nth-child(1){--d:.00s} .pipeline__step:nth-child(2){--d:.10s}
.pipeline__step:nth-child(3){--d:.20s} .pipeline__step:nth-child(4){--d:.30s}
.pipeline__step:nth-child(5){--d:.40s} .pipeline__step:nth-child(6){--d:.50s}
.pipeline__step:nth-child(7){--d:.60s} .pipeline__step:nth-child(8){--d:.70s}
.pipeline__ico { transform: scale(.4); opacity: 0; transition: transform .55s cubic-bezier(.2,1.5,.4,1) var(--d, 0s), opacity .4s ease var(--d, 0s); }
.pipeline__step.is-visible .pipeline__ico { transform: scale(1); opacity: 1; }
.pipeline__lbl { opacity: 0; transition: opacity .5s ease calc(var(--d, 0s) + .12s); }
.pipeline__step.is-visible .pipeline__lbl { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pipeline__step .pipeline__ico, .pipeline__lbl { opacity: 1 !important; transform: none !important; }
  .pipeline__step::before, .pipeline__step::after { transform: none !important; }
}

/* ===== Carte famille (dégradé vert, icône or) ===== */
.famille-card { max-width: 760px; margin: 0 auto; background: linear-gradient(135deg, var(--vert) 0%, var(--vert-moyen) 100%); border-radius: 20px; padding: 2.5rem 1.75rem; text-align: center; box-shadow: 0 16px 40px rgba(27,67,50,.22); }
@media (min-width: 768px) { .famille-card { padding: 3rem 2.5rem; } }
.famille-card__ico { width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 16px; background: rgba(184,150,62,.22); display: flex; align-items: center; justify-content: center; color: var(--or-clair); }
.famille-card .eyebrow { color: var(--or-clair); }
.famille-card h2 { color: #fff; }
.famille-card p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto; }
.famille-card strong { color: var(--or-clair); }

/* ===== Tarif : compléments (label, urgence, argument) ===== */
.tarif-card__label { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-clair); font-weight: 600; margin-bottom: .5rem; }
.tarif-card .tarif-card__urgence { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--vert-fonce); background: var(--or-clair); border: 1px solid var(--or); padding: .45rem 1rem; border-radius: 20px; margin: .2rem 0 1.2rem; }
.tarif-card__argument { background: var(--ivoire); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: .92rem; color: var(--texte-doux); text-align: left; }
.tarif-card__argument strong { color: var(--vert); }

/* ===== Carte programme : sous-titre + prix ===== */
.hub-card__soustitre { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--or-sombre); margin: 0 0 .8rem; }
.hub-card__tarif { display: flex; align-items: baseline; gap: .55rem; margin: .2rem 0 .25rem; }
.hub-card__old { font-family: var(--sans); font-size: 1.05rem; color: var(--texte-clair); text-decoration: line-through; text-decoration-color: var(--or); }
.hub-card__prix { font-family: var(--sans); font-weight: 800; color: var(--vert); font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.hub-card__prix span { font-size: .85rem; font-weight: 500; color: var(--texte-doux); }
.hub-card__promo { font-size: .74rem; font-weight: 600; color: var(--or-sombre); margin-bottom: 1.1rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
