/* =========================================================================
   MAC POKER — feuille de style principale
   Noir / or / blanc — sobriété, contraste, respiration.
   Mobile-first. Aucune dépendance externe.
   ========================================================================= */

/* ---------- 1. Jetons de design ---------------------------------------- */

:root {
    /* Fonds */
    --bg:            #08080a;
    --bg-elevated:   #101013;
    --bg-card:       #131316;
    --bg-card-hover: #17171b;

    /* Or */
    --gold:          #c9a961;
    --gold-bright:   #e3ca8e;
    --gold-deep:     #9c7f3d;
    --gold-glow:     rgba(201, 169, 97, .16);

    /* Textes */
    --text:          #f4f4f6;
    --text-soft:     #a9a9b3;
    --text-mute:     #71717c;

    /* Lignes */
    --line:          #232328;
    --line-soft:     #1b1b1f;

    /* Sémantique */
    --success:       #4ade80;
    --danger:        #f87171;
    --info:          #60a5fa;

    /* Typographie */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
            "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

    /* Rythme */
    --radius:    14px;
    --radius-lg: 22px;
    --radius-sm: 9px;
    --shell:     1180px;
    --gutter:    clamp(1.25rem, 4vw, 2.5rem);

    /* Transitions */
    --ease:     cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Réinitialisation ---------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }

/* ---------- 3. Typographie --------------------------------------------- */

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

h1 { font-size: clamp(2.2rem, 6.2vw, 4.1rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.15em; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 650; }

.lead {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 62ch;
}

.gold { color: var(--gold); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

/* Titre avec dégradé subtil — réservé aux grands titres de section */
.title-shine {
    background: linear-gradient(160deg, #ffffff 20%, #cfcfd6 60%, var(--gold) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- 4. Structure ------------------------------------------------ */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.shell-narrow { max-width: 780px; }

section { position: relative; }

.section {
    padding-block: clamp(3.75rem, 9vw, 7.5rem);
}

.section-alt {
    background: var(--bg-elevated);
    border-block: 1px solid var(--line-soft);
}

.section-head {
    max-width: 68ch;
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(270deg, transparent, var(--gold));
}
.section-head.center .lead { margin-inline: auto; }

/* Filet doré de séparation */
.rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- 5. Boutons -------------------------------------------------- */

.btn {
    --btn-bg: var(--gold);
    --btn-fg: #0a0a0b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .95rem 1.9rem;
    border: 1px solid transparent;
    border-radius: 100px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: .95rem;
    font-weight: 650;
    letter-spacing: .01em;
    cursor: pointer;
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease), border-color .25s var(--ease);
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px var(--gold-glow), 0 0 0 1px rgba(201,169,97,.25);
}

.btn:active { transform: translateY(0); }

.btn:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
    color: #0a0a0b;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: none;
}

.btn-light {
    background: var(--text);
    color: #0a0a0b;
}

.btn-sm  { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-lg  { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
    opacity: .5;
    pointer-events: none;
}

/* Lien fléché discret */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--gold);
    font-weight: 600;
    font-size: .93rem;
    transition: gap .25s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .7rem; }

/* ---------- 6. En-tête -------------------------------------------------- */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(8, 8, 10, .55);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}

.header.is-scrolled {
    background: rgba(8, 8, 10, .9);
    border-bottom-color: var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 72px;
}

/* Logo MAC */
.logo {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.28rem;
    letter-spacing: .17em;
    white-space: nowrap;
}
.logo-text { display: inline-flex; align-items: baseline; gap: .38rem; }
.logo-mark { font-weight: 800; color: var(--gold); }
.logo-word { font-weight: 300; color: var(--text); }

/* Marque figurative — le logo doré doit rester lisible sur fond sombre. */
.logo-img {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(201, 169, 97, .28));
    transition: filter .3s var(--ease), transform .3s var(--ease);
}
.logo:hover .logo-img {
    filter: drop-shadow(0 2px 16px rgba(201, 169, 97, .5));
    transform: translateY(-1px);
}
.logo-lg .logo-img { height: 76px; }

/* Logo d'ouverture, au-dessus du titre de la page d'accueil. */
.logo-hero {
    display: block;
    width: auto;
    height: clamp(96px, 15vw, 148px);
    margin-bottom: 1.4rem;
    filter: drop-shadow(0 6px 26px rgba(201, 169, 97, .3));
}

.nav {
    display: none;
    align-items: center;
    gap: .3rem;
    list-style: none;
}

.nav a {
    display: block;
    padding: .5rem .78rem;
    border-radius: 8px;
    font-size: .875rem;
    white-space: nowrap;
    font-weight: 500;
    color: var(--text-soft);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.045); }
.nav a.is-active { color: var(--gold); }

.header-cta { display: none; }

/* Bouton menu mobile */
.burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}
.burger span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Panneau mobile */
.mobile-menu {
    position: fixed;
    inset: 72px 0 0;
    z-index: 99;
    padding: 1.5rem var(--gutter) 3rem;
    background: rgba(8, 8, 10, .98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease-out), visibility .35s;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }

.mobile-menu ul { list-style: none; }
.mobile-menu a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-soft);
}
.mobile-menu a.is-active { color: var(--gold); }
.mobile-menu .btn { margin-top: 1.75rem; }

body.no-scroll { overflow: hidden; }

/* ---------- 7. Hero ----------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92vh, 860px);
    padding-block: 8rem 4rem;
    overflow: hidden;
}

/* Halo doré diffus + grille très discrète */
.hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 78vw;
    height: 78vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 20%, transparent 78%);
    pointer-events: none;
}

.hero .shell { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
}

.hero h1 { margin-bottom: 1.35rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.1rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1.5rem;
    font-size: .84rem;
    color: var(--text-mute);
}

.hero-discord {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: .7rem 0 0;
    color: var(--text-mute);
    font-size: .9rem;
}

.hero-discord svg {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
    fill: var(--gold);
}

.hero-discord a {
    color: var(--gold-bright);
    text-decoration: none;
}

.hero-discord a:hover,
.hero-discord a:focus-visible {
    text-decoration: underline;
}

/* Portrait du coach */
.hero-portrait {
    position: relative;
    justify-self: center;
    width: min(340px, 78vw);
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #17171b, #0c0c0f);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,10,.55), transparent 45%);
    pointer-events: none;
}

/* Badge flottant sur le portrait */
.portrait-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .95rem;
    border-radius: 100px;
    background: rgba(8,8,10,.78);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 600;
}

/* ---------- 8. Chiffres clés ------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: clamp(3rem, 7vw, 4.5rem);
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    padding: 1.5rem 1.25rem;
    background: var(--bg);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: clamp(1.6rem, 4.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--gold);
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: .3rem;
    font-size: .78rem;
    color: var(--text-mute);
    letter-spacing: .04em;
}

/* ---------- 9. Cartes --------------------------------------------------- */

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.1rem);
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .3s var(--ease), transform .3s var(--ease),
                background-color .3s var(--ease);
}

.card:hover {
    border-color: #2f2f36;
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.card h3 { margin-bottom: .55rem; }
.card p  { font-size: .94rem; }

/* Icône de carte */
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.15rem;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(201,169,97,.16), rgba(201,169,97,.04));
    border: 1px solid rgba(201,169,97,.22);
    color: var(--gold);
}
.card-icon svg { width: 22px; height: 22px; }

/* Carte numérotée (méthode) */
.step {
    position: relative;
    padding-left: 3.75rem;
}
.step-num {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201,169,97,.3);
    background: rgba(201,169,97,.07);
    color: var(--gold);
    font-weight: 700;
    font-size: .95rem;
}

/* ---------- 10. Tarifs -------------------------------------------------- */

.pricing {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: 1fr;
    align-items: start;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 3vw, 2.4rem);
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.price-card:hover { border-color: #33333b; transform: translateY(-4px); }

.price-card.is-featured {
    border-color: rgba(201,169,97,.42);
    background:
        linear-gradient(180deg, rgba(201,169,97,.055), transparent 55%),
        var(--bg-card);
    box-shadow: 0 24px 60px -32px rgba(201,169,97,.45);
}

.price-badge {
    position: absolute;
    top: -.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .32rem 1rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: #0a0a0b;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-name {
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.price-summary {
    font-size: .88rem;
    color: var(--text-mute);
    min-height: 2.6em;
    margin-bottom: 1.25rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}

.price-value {
    font-size: clamp(2.1rem, 5vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

/* Tarif non public (formation de groupe) : une phrase, pas un montant. */
.price-value-note {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    font-weight: 650;
    letter-spacing: -.01em;
    line-height: 1.35;
    color: var(--gold);
}

.price-compare {
    font-size: 1rem;
    color: var(--text-mute);
    text-decoration: line-through;
}

.price-saving {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 6px;
    background: rgba(74,222,128,.12);
    color: var(--success);
    font-size: .74rem;
    font-weight: 650;
}

.price-duration {
    font-size: .84rem;
    color: var(--text-mute);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    margin-bottom: 1.85rem;
    display: grid;
    gap: .72rem;
    flex: 1;
}

.price-features li {
    position: relative;
    padding-left: 1.7rem;
    font-size: .92rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 15px;
    height: 9px;
    border-left: 1.8px solid var(--gold);
    border-bottom: 1.8px solid var(--gold);
    transform: rotate(-45deg);
}

.price-seats {
    margin-top: .9rem;
    font-size: .78rem;
    color: var(--gold);
    text-align: center;
}

/* ---------- 11. Avis ---------------------------------------------------- */

.quote-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    break-inside: avoid;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--gold);
    font-size: .95rem;
    letter-spacing: .1em;
}

.quote-card blockquote {
    margin: 0;
    font-size: .96rem;
    line-height: 1.62;
    color: var(--text-soft);
}
.quote-card blockquote::before { content: "« "; color: var(--gold); }
.quote-card blockquote::after  { content: " »"; color: var(--gold); }

.quote-author {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(201,169,97,.22), rgba(201,169,97,.06));
    border: 1px solid rgba(201,169,97,.25);
    color: var(--gold);
    font-weight: 700;
    font-size: .9rem;
}

.quote-meta { font-size: .8rem; color: var(--text-mute); line-height: 1.4; }
.quote-meta strong { display: block; color: var(--text); font-size: .9rem; }

.source-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .5rem;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
    font-size: .68rem;
    color: var(--text-mute);
    letter-spacing: .04em;
}

/* ---------- 12. FAQ (accordéon) ---------------------------------------- */

.faq-list { display: grid; gap: .65rem; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: rgba(201,169,97,.32); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    font-weight: 600;
    font-size: .98rem;
    cursor: pointer;
    list-style: none;
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }

.faq-item summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 1.8px solid var(--gold);
    border-bottom: 1.8px solid var(--gold);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq-answer {
    padding: 0 1.4rem 1.35rem;
    font-size: .93rem;
    color: var(--text-soft);
    animation: fade-slide .35s var(--ease-out);
}

@keyframes fade-slide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- 13. Formulaires -------------------------------------------- */

.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: .45rem; }

.field label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: .01em;
}

.field .hint { font-size: .76rem; color: var(--text-mute); }

.input, .select, .textarea {
    width: 100%;
    padding: .82rem 1rem;
    background: #0d0d10;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: .95rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
                background-color .2s var(--ease);
}

.input::placeholder, .textarea::placeholder { color: #5a5a63; }

.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #101014;
    box-shadow: 0 0 0 3px rgba(201,169,97,.12);
}

.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gold) 50%),
        linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.75rem;
}

.field-row {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
}

/* Case à cocher (consentement RGPD) */
.check {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .84rem;
    color: var(--text-soft);
    line-height: 1.5;
    cursor: pointer;
}
.check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: .12rem;
    accent-color: var(--gold);
    cursor: pointer;
}
.check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* Champ anti-robot, invisible pour les humains */
.hp {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.field-error {
    font-size: .8rem;
    color: var(--danger);
}

/* ---------- 14. Alertes ------------------------------------------------- */

.alert {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .95rem 1.15rem;
    border-radius: 10px;
    border: 1px solid;
    font-size: .9rem;
    line-height: 1.55;
}

.alert-success { background: rgba(74,222,128,.08);  border-color: rgba(74,222,128,.28);  color: #bbf7d0; }
.alert-error   { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.28); color: #fecaca; }
.alert-info    { background: rgba(96,165,250,.08);  border-color: rgba(96,165,250,.28);  color: #bfdbfe; }
.alert-gold    { background: rgba(201,169,97,.08);  border-color: rgba(201,169,97,.3);   color: var(--gold-bright); }

.alert a { text-decoration: underline; }

/* ---------- 15. Contenu éditorial --------------------------------------- */

/* Corps d'article */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.prose h3 { margin-top: 1.9rem; font-size: 1.2rem; }
.prose p, .prose li { color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold); font-weight: 700; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.8rem 0; border: 1px solid var(--line); }
.prose blockquote {
    margin: 1.8rem 0;
    padding: 1.1rem 1.4rem;
    border-left: 2px solid var(--gold);
    background: rgba(201,169,97,.05);
    border-radius: 0 10px 10px 0;
}
.prose blockquote p { margin: 0; color: var(--text); font-style: italic; }
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
    font-size: .92rem;
}
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-elevated); color: var(--text); font-weight: 650; }
.prose code {
    font-family: var(--font-mono);
    font-size: .88em;
    padding: .15em .4em;
    background: rgba(255,255,255,.06);
    border-radius: 4px;
}

.table-scroll { overflow-x: auto; }

/* ---------- 16. Bandeau d'appel à l'action ----------------------------- */

.cta-band {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201,169,97,.26);
    background:
        radial-gradient(120% 140% at 12% 0%, rgba(201,169,97,.12), transparent 58%),
        var(--bg-card);
    text-align: center;
    overflow: hidden;
}

.cta-band h2 { margin-bottom: .8rem; }
.cta-band p  { margin-inline: auto; max-width: 56ch; }
.cta-band .btn { margin-top: 1.8rem; }

/* ---------- 17. Calculateur de ROI ------------------------------------- */

.roi-wrap {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.roi-panel {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.roi-output {
    display: grid;
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 1.5rem;
}

.roi-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1.2rem;
    background: var(--bg-elevated);
    font-size: .92rem;
}
.roi-line span:first-child { color: var(--text-mute); }
.roi-line strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.roi-line.is-total { background: rgba(201,169,97,.08); }
.roi-line.is-total strong { color: var(--gold); font-size: 1.35rem; }

.roi-positive { color: var(--success); }
.roi-negative { color: var(--danger); }

/* Barre de progression comparative */
.roi-bars { display: grid; gap: .9rem; margin-top: 1.5rem; }
.roi-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: var(--text-mute);
    margin-bottom: .35rem;
}
.roi-bar-track {
    height: 9px;
    border-radius: 100px;
    background: rgba(255,255,255,.05);
    overflow: hidden;
}
.roi-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    transition: width .6s var(--ease-out);
}
.roi-bar-fill.is-before { background: linear-gradient(90deg, #3a3a42, #55555f); }

/* ---------- 18. Réservation -------------------------------------------- */

.booking-steps {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2.25rem;
    font-size: .8rem;
    flex-wrap: wrap;
}
.booking-step {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-mute);
}
.booking-step .n {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--line);
    font-size: .72rem;
    font-weight: 700;
}
.booking-step.is-current { color: var(--gold); }
.booking-step.is-current .n { border-color: var(--gold); background: rgba(201,169,97,.1); }
.booking-sep { color: var(--line); }

/* Sélecteur de créneaux */
.slot-days { display: grid; gap: 1.25rem; }

.slot-day-title {
    font-size: .85rem;
    font-weight: 650;
    color: var(--text);
    margin-bottom: .7rem;
    text-transform: capitalize;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: .55rem;
}

.slot {
    position: relative;
    display: block;
}
.slot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.slot span {
    display: grid;
    place-items: center;
    padding: .68rem .4rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #0d0d10;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease),
                color .2s var(--ease);
}
.slot span:hover { border-color: var(--gold-deep); color: var(--gold); }
.slot input:checked + span {
    border-color: var(--gold);
    background: rgba(201,169,97,.14);
    color: var(--gold-bright);
    font-weight: 650;
}
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Sélecteur d'offre en cartes radio */
.offer-picker { display: grid; gap: .75rem; }

.offer-option { position: relative; display: block; }
.offer-option input { position: absolute; opacity: 0; pointer-events: none; }

.offer-option .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #0d0d10;
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.offer-option .box:hover { border-color: #34343c; }
.offer-option input:checked + .box {
    border-color: var(--gold);
    background: rgba(201,169,97,.07);
}
.offer-option .name { font-weight: 650; font-size: .95rem; }
.offer-option .desc { font-size: .8rem; color: var(--text-mute); }
.offer-option .amount { font-weight: 700; color: var(--gold); white-space: nowrap; }

/* Récapitulatif */
.summary-box {
    padding: 1.35rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    font-size: .9rem;
    border-bottom: 1px solid var(--line-soft);
}
.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--text-mute); }
.summary-total { font-size: 1.1rem; font-weight: 700; color: var(--gold); }

/* ---------- 19. Pied de page -------------------------------------------- */

.footer {
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--line-soft);
}

.footer-grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: 1fr;
    margin-bottom: 2.75rem;
}

.footer h4 {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 1.1rem;
}

.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer a { font-size: .89rem; color: var(--text-soft); transition: color .2s var(--ease); }
.footer a:hover { color: var(--gold); }

.footer-brand p { font-size: .89rem; max-width: 34ch; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-soft);
    font-size: .78rem;
    color: var(--text-mute);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* Mention de jeu responsable */
.responsible {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.5rem;
    padding: .85rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    font-size: .78rem;
    color: var(--text-mute);
    line-height: 1.5;
}

.age-badge {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--danger);
    color: var(--danger);
    font-size: .72rem;
    font-weight: 800;
}

/* ---------- 20. Bandeau cookies ---------------------------------------- */

.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 200;
    width: min(680px, calc(100% - 2rem));
    transform: translate(-50%, 140%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: rgba(16,16,19,.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
    font-size: .84rem;
    color: var(--text-soft);
    transition: transform .45s var(--ease-out);
}
.cookie-bar.is-visible { transform: translate(-50%, 0); }
.cookie-bar p { margin: 0; flex: 1 1 260px; font-size: .84rem; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .55rem; flex: none; }

/* ---------- 21. Barre d'action mobile ---------------------------------- */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: .6rem;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(8,8,10,.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    transform: translateY(110%);
    transition: transform .35s var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding-block: .8rem; }

/* ---------- 22. Espace membre ------------------------------------------ */

.member-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.file-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .2s var(--ease);
}
.file-row:hover { border-color: var(--gold-deep); }
.file-kind {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(201,169,97,.1);
    color: var(--gold);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .05em;
}

/* ---------- 23. Animations d'apparition -------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. Utilitaires -------------------------------------------- */

.center      { text-align: center; }
.mt-0        { margin-top: 0; }
.mt-1        { margin-top: .75rem; }
.mt-2        { margin-top: 1.5rem; }
.mt-3        { margin-top: 2.25rem; }
.mt-4        { margin-top: 3rem; }
.mb-2        { margin-bottom: 1.5rem; }
.flex        { display: flex; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.gap-1       { gap: .75rem; }
.gap-2       { gap: 1.25rem; }
.hidden      { display: none; }
.text-mute   { color: var(--text-mute); }
.text-sm     { font-size: .87rem; }
.text-xs     { font-size: .78rem; }
.nowrap      { white-space: nowrap; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: .75rem 1.25rem;
    background: var(--gold);
    color: #08080a;
    font-weight: 650;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Pastille de rareté */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    border-radius: 100px;
    border: 1px solid rgba(201,169,97,.28);
    background: rgba(201,169,97,.07);
    font-size: .76rem;
    font-weight: 600;
    color: var(--gold);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(74,222,128,.18);
}

/* Logos des spécialités */
.spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.5rem;
}
.spec {
    padding: .42rem .9rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .82rem;
    color: var(--text-soft);
    transition: border-color .25s var(--ease), color .25s var(--ease);
}
.spec:hover { border-color: var(--gold-deep); color: var(--gold); }

/* ---------- 25. Points de rupture -------------------------------------- */

@media (max-width: 420px) {
    .logo     { font-size: 1.06rem; gap: .5rem; }
    .logo-img { height: 38px; }
}

@media (min-width: 600px) {
    .stats       { grid-template-columns: repeat(4, 1fr); }
    .grid-2      { grid-template-columns: repeat(2, 1fr); }
    .field-row   { grid-template-columns: 1fr 1fr; }
    .member-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
    .grid-3   { grid-template-columns: repeat(3, 1fr); }
    .grid-4   { grid-template-columns: repeat(4, 1fr); }
    .pricing  { grid-template-columns: repeat(2, 1fr); }
    .roi-wrap { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .hero-grid   { grid-template-columns: 1.15fr .85fr; }
}

@media (min-width: 1024px) {
    .pricing-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Le menu complet compte huit entrées : il ne bascule en barre horizontale
   qu'à partir du moment où il tient sur une seule ligne sans écraser le logo
   ni le bouton d'appel à l'action. En dessous, le menu déroulant prend le relais. */
@media (min-width: 1200px) {
    .nav, .header-cta { display: flex; }
    .burger, .mobile-menu { display: none; }
    .sticky-cta { display: none; }

    /* La largeur utile est plafonnée par `.shell` (1180 px) : ces valeurs
       resserrées valent donc pour toutes les tailles d'écran au-delà. */
    .header-inner { gap: 1rem; }
    .nav   { gap: .05rem; }
    .nav a { padding: .5rem .5rem; font-size: .82rem; }
}

@media (min-width: 1180px) {
    .pricing { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

/* ---------- 26. Impression ---------------------------------------------- */

@media print {
    .header, .footer, .sticky-cta, .cookie-bar, .btn, .mobile-menu { display: none !important; }
    body { background: #fff; color: #000; }
    .card, .price-card { border-color: #ccc; break-inside: avoid; }
    a[href]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

/* ---------- 27. Offre de lancement --------------------------------------
   Encart de la formation débutant : prix promotionnel et détail de la valeur.
   ---------------------------------------------------------------------- */

.launch {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.6rem, 4vw, 2.6rem);
    background:
        linear-gradient(158deg, rgba(201, 169, 97, .13), rgba(201, 169, 97, .02) 62%),
        var(--bg-card);
    border: 1px solid rgba(201, 169, 97, .32);
    border-radius: var(--radius-lg);
}

.launch-tag {
    display: inline-block;
    margin-bottom: .9rem;
    padding: .3rem .85rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: #0a0a0b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.launch-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .3rem .8rem;
}
.launch-now {
    font-size: clamp(2.4rem, 7vw, 3.3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--gold-bright);
}
.launch-was  { color: var(--text-mute); font-size: 1rem; }
.launch-off  {
    padding: .22rem .6rem;
    border-radius: 100px;
    background: rgba(74, 222, 128, .12);
    border: 1px solid rgba(74, 222, 128, .3);
    color: var(--success);
    font-size: .78rem;
    font-weight: 700;
}

@media (min-width: 860px) {
    .launch { grid-template-columns: 1.05fr .95fr; align-items: center; }
}
