/* Page d'accueil vitrine — sections. S'appuie sur tokens.css + main.css. */

section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.08; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }

/* --- Hero --- */
.hero { position: relative; background: var(--indigo-ground-deep); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 120%; background: var(--gf-aurora); opacity: .28; filter: blur(70px); pointer-events: none; }
.hero .container { position: relative; padding-top: clamp(8px, 1.2vw, 18px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gold-bright); border: 1px solid rgba(255, 196, 46, .4); background: rgba(255, 196, 46, .08); padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 20px 0 16px; max-width: 26ch; }
.hero h1 .g { background: linear-gradient(90deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(16px, 2.1vw, 20px); color: rgba(255, 255, 255, .82); max-width: 56ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.tagline { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; font-style: italic; color: rgba(255, 255, 255, .72); font-size: 15px; border-left: 2px solid var(--gold); padding-left: 16px; }

/* --- Vision (bande sombre) --- */
.vision { background: var(--indigo-ground); color: #fff; }
.vision .section-head p { color: rgba(255, 255, 255, .75); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pillar { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 24px; transition: border-color .15s ease, transform .15s ease; }
.pillar:hover { border-color: rgba(255, 196, 46, .45); transform: translateY(-2px); }
.pillar .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--gold-bright); }
.pillar h3 { font-size: 19px; margin: 10px 0 8px; }
.pillar p { color: rgba(255, 255, 255, .72); font-size: 14px; }
.pillar-toggle { margin-top: 12px; }
.pillar-toggle summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--gold-bright); }
.pillar-toggle summary::-webkit-details-marker { display: none; }
.pillar-toggle summary::before { content: "\203A"; font-size: 20px; line-height: 1; display: inline-block; transition: transform .18s ease; }
.pillar-toggle[open] summary::before { transform: rotate(90deg); }
.pillar-toggle p { margin-top: 12px; }
.mw-note { margin-top: 34px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 24px); color: #fff; }
.mw-note .g { color: var(--gold-bright); }

/* --- Programme --- */
.why { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
@media (min-width: 720px) { .why { grid-template-columns: 1fr 1fr; } }
.why-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--panel); }
.why-card .k { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--gf-violet); line-height: 1; }
.why-card h3 { font-size: 18px; margin: 12px 0 6px; }
.why-card p { color: var(--muted); font-size: 14.5px; }
.benefits-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.benefits-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.benefit { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 22px 26px; background: #fff; }
.benefit::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold-bright), var(--gold)); }
.benefit h4 { font-size: 16px; margin: 0 0 6px; }
.benefit p { color: var(--muted); font-size: 13.5px; }
.benefit.feature { background: linear-gradient(160deg, #2A2160, #160f3f); color: #fff; border-color: transparent; }
.benefit.feature p { color: rgba(255, 255, 255, .8); }
.benefit.feature .price { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--gold-bright); }

/* --- Mise en place --- */
.process { background: var(--panel); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step .badge { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #2A1E05; font-family: var(--font-display); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.step h3 { font-size: 17px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* --- Formulaire (aperçu) --- */
.join .card { max-width: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); background: #fff; box-shadow: 0 30px 60px -40px rgba(52, 42, 94, .4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 8px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
/* Cases à cocher / boutons radio : taille naturelle, alignés à gauche du libellé */
.field input[type="radio"], .field input[type="checkbox"] { width: auto; flex: none; }
.radios { display: flex; flex-direction: column; gap: 8px; }
/* Espacement par MARGE (fiable) : padding gauche (16) = marge droite du bouton (16) */
.radio { display: flex; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.radio input[type="radio"] { margin: 3px 16px 0 0; }
.check { display: flex; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 4px; }
.check input[type="checkbox"] { margin: 3px 14px 0 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 22px; }
.captcha-hint { font-size: 12px; color: var(--muted); }
.field .err { display: block; margin-top: 5px; color: var(--danger); font-size: 12.5px; }
.form-err { background: #FDECEA; border: 1px solid #F3C0B8; color: #922; border-radius: var(--r-sm); padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.join .intro { text-align: center; color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }

/* --- Références (bandeau défilant) --- */
.refs { border-top: 1px solid var(--line); }
.refs .lbl { text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 22px; }
.marquee { overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ref { flex: none; display: flex; align-items: center; justify-content: center; height: 66px; min-width: 150px; padding: 0 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ref img { height: 30px; width: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }
