/*
 * KreyaPOS — site public (thème clair).
 * Direction : franc et commercial — bandes bleu dégradé, grands titres en capitales, cartes blanches avec pastilles d'icônes,
 * accent magenta du logo. Les montants et références restent en chiffres à chasse fixe (vocabulaire de caisse).
 */

:root {
    --ink: #0b1b33;
    --ink-2: #33445f;
    --muted: #5a6b86;
    --line: #dbe4f0;
    --line-strong: #c3d0e2;
    --paper: #ffffff;
    --wash: #f2f6fd;
    --wash-2: #e3edfc;
    --navy: #0a2e6e;
    --navy-2: #0b4fc4;
    --azur: #0176fd;
    --cyan: #29b6ff;
    --brand-50: #e8f1ff;
    --pink: #fc1793;
    --pink-dark: #c20a72;
    --pink-50: #ffe9f4;
    --amber: #ff8a1f;
    --ok: #0b7a54;
    --ok-50: #e3f6ee;
    --warn: #9a5b00;
    --warn-50: #fff1d6;
    --bad: #b3261e;
    --bad-50: #fdeaea;
    --wa: #128c4a;
    --grad-blue: linear-gradient(100deg, #0a3f98 0%, #0176fd 62%, #27b0ff 100%);
    --grad-band: linear-gradient(135deg, #0a2e6e 0%, #0b4fc4 48%, #1593f7 100%);
    --grad-accent: linear-gradient(135deg, #fc1793 0%, #ff7a1a 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 10px 28px rgba(11, 27, 51, .08);
    --shadow-lg: 0 4px 8px rgba(11, 27, 51, .08), 0 28px 60px rgba(7, 30, 80, .28);
    --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
    --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --gutter: 20px;
    --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--azur); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; margin: 0 0 .5em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--wash { background: var(--wash); }
.section__head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--grad-accent); margin-top: 14px; }
.section__head--center h2::after { margin-inline: auto; }

/* Pastille (surtitre, badge) */
.pill-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--grad-accent); color: #fff; font: 700 .78rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(252, 23, 147, .3); }
.eyebrow { display: inline-flex; margin-bottom: 14px; font: 700 .8rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--pink-dark); }

/* ---------------------------------------------------------------- En-tête (pilule flottante au défilement) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); transition: background .2s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-accent); transition: opacity .2s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; transition: all .25s; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font: 600 .95rem/1 var(--font-display); padding: 12px 14px; border-radius: 999px; }
.nav a:hover { background: var(--wash); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--pink-dark); background: var(--pink-50); }
.nav .btn { margin-left: 10px; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; background: var(--grad-blue); }
.nav-toggle { display: none; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.site-header.is-scrolled { background: transparent; backdrop-filter: none; }
.site-header.is-scrolled::after { opacity: 0; }
.site-header.is-scrolled .site-header__inner { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(14px); border: 1px solid rgba(195, 208, 226, .8); border-radius: 999px; padding: 0 12px 0 22px; margin: 10px auto; max-width: 1120px; min-height: 60px; box-shadow: 0 10px 34px rgba(7, 30, 80, .18); }
.site-header.is-scrolled .brand img { height: 30px; }

/* ---------------------------------------------------------------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 1rem/1 var(--font-display); padding: 15px 26px; min-height: 50px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 22px rgba(1, 118, 253, .34); }
.btn--primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(1, 118, 253, .5); transform: translateY(-1px); }
.btn--ghost { background: var(--paper); color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--pink); color: var(--pink-dark); }
.btn--outline { background: transparent; color: var(--pink-dark); border-color: var(--pink); }
.btn--outline:hover { background: var(--pink-50); color: var(--pink-dark); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0d6e3a; color: #fff; }
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Bannière d'accueil (bande bleue) */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-band); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 116px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.3px, transparent 1.6px); background-size: 22px 22px; -webkit-mask: radial-gradient(70% 90% at 78% 40%, #000, transparent 75%); mask: radial-gradient(70% 90% at 78% 40%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 23, 147, .38), transparent 68%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.06; }
.hero h1 em { font-style: normal; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero .lead { color: #d7e6fb; }
.hero-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.hero-points .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1fbf7a; display: grid; place-items: center; color: #fff; }
.hero .btn--primary { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.hero .btn--primary:hover { color: var(--navy); background: #eaf3ff; }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.hero__note { margin-top: 22px; font: 500 .88rem/1.4 var(--font-body); color: #bcd3f3; }

.stage { position: relative; padding: 4px 0 44px 0; }
.device { background: #0b1b33; border-radius: 16px 16px 8px 8px; padding: 10px 10px 14px; box-shadow: var(--shadow-lg); }
.device__screen { background: #fff; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device::after { content: ""; display: block; height: 10px; margin: 12px -22px -14px; background: linear-gradient(#d3dded, #aebcd2); border-radius: 0 0 14px 14px; }
.tablet { position: absolute; right: -14px; bottom: -18px; width: 46%; background: #0b1b33; border-radius: 16px; padding: 7px; box-shadow: var(--shadow-lg); }
.tablet img { height: auto; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; width: 100%; }
.receipt-demo { position: absolute; left: -16px; bottom: -22px; width: 190px; background: #fff; border: 1px solid var(--line); padding: 12px 14px 20px; font: 500 .72rem/1.45 var(--font-mono); color: var(--ink); box-shadow: var(--shadow); transform: rotate(-2.5deg); -webkit-mask: radial-gradient(7px at 7px 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x; mask: radial-gradient(7px at 7px 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x; mask-composite: intersect; }
.receipt-demo b { display: block; font-family: var(--font-display); font-size: .9rem; color: var(--navy); }
.receipt-demo dl { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.receipt-demo dl div { display: flex; justify-content: space-between; gap: 8px; }
.receipt-demo dt, .receipt-demo dd { margin: 0; }
.receipt-demo .tot { border-top: 1px dashed var(--line-strong); margin-top: 6px; padding-top: 6px; font-weight: 700; }
.receipt-demo small { display: block; margin-top: 8px; color: var(--muted); font-size: .64rem; }

/* Mot géant en filigrane (contour) */
.watermark { position: relative; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 70px) 0 0; }
.watermark__word { font: 800 clamp(3rem, 12.5vw, 10.5rem)/.9 var(--font-display); letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(255, 138, 31, .75); user-select: none; white-space: nowrap; }
.watermark__lead { position: relative; margin: -.35em auto 0; max-width: 780px; padding: 0 var(--gutter); }
.watermark__lead h2 { margin-bottom: .3em; }

/* ---------------------------------------------------------------- Bande bleue + cartes blanches */
.band { position: relative; background: var(--grad-band); color: #fff; padding: clamp(48px, 7vw, 84px) 0; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.5px); background-size: 24px 24px; }
.band > .wrap { position: relative; }
.band h2 { color: #fff; }
.band .lead { color: #d7e6fb; }
.cards-white { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card-white { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 16px 40px rgba(2, 20, 60, .28); }
.card-white h3 { text-transform: uppercase; font-size: 1.02rem; letter-spacing: .01em; color: var(--ink-2); margin-top: 18px; }
.card-white p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; box-shadow: 0 8px 18px rgba(252, 23, 147, .32); }
.icon-tile--blue { background: var(--grad-blue); box-shadow: 0 8px 18px rgba(1, 118, 253, .3); }

/* ---------------------------------------------------------------- Cartes */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card--flat { background: var(--wash); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.badge-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--grad-accent); color: #fff; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(252, 23, 147, .28); }
.feature-chip { display: grid; gap: 4px; border: 2px solid var(--pink); transition: transform .2s, box-shadow .2s; }
.feature-chip:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(252, 23, 147, .18); }
.feature-chip h3 { text-transform: uppercase; font-size: 1rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- Formules (tickets) */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--line-strong); border-radius: 20px; padding: 30px 28px 26px; }
.plan--featured { border-color: var(--azur); box-shadow: var(--shadow-lg); }
.plan__flag { position: absolute; top: -15px; left: 28px; background: var(--grad-accent); color: #fff; font: 700 .76rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(252, 23, 147, .35); }
.plan__name { font-size: 1.35rem; margin-bottom: 6px; }
.plan__tag { color: var(--muted); font-size: .98rem; min-height: 3em; }
.plan__price { position: relative; margin: 20px -28px; padding: 18px 28px; border-top: 2px dashed var(--line-strong); border-bottom: 2px dashed var(--line-strong); background: linear-gradient(180deg, var(--wash), #fff); }
.plan__price::before, .plan__price::after { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--wash); border: 2px solid var(--line-strong); }
.section:not(.section--wash) .plan__price::before, .section:not(.section--wash) .plan__price::after { background: var(--paper); }
.plan--featured .plan__price::before, .plan--featured .plan__price::after { border-color: var(--azur); }
.plan__price::before { left: -14px; clip-path: inset(0 0 0 50%); }
.plan__price::after { right: -14px; clip-path: inset(0 50% 0 0); }
.plan__amount { font: 800 clamp(2.2rem, 4vw, 2.9rem)/1 var(--font-display); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan__amount small { font-size: .42em; letter-spacing: .04em; margin-left: 6px; color: var(--pink-dark); }
.plan__period { display: block; margin-top: 8px; color: var(--muted); font: 600 .84rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan__list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .98rem; }
.plan__list .icon { color: var(--ok); margin-top: 2px; }
.plan__actions { margin-top: auto; display: grid; gap: 10px; }

/* ---------------------------------------------------------------- Tableaux */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .98rem; }
.compare tbody th { font-weight: 600; width: 46%; }
.compare td { text-align: center; width: 18%; }
.compare tr.cat th { background: var(--brand-50); color: var(--navy); font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.compare .yes { color: var(--ok); }
.compare .no { color: #9aa8bd; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- En-tête des pages intérieures */
.page-head { position: relative; overflow: hidden; background: var(--grad-band); color: #fff; padding: clamp(40px, 6vw, 74px) 0 clamp(44px, 6vw, 80px); }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.5px); background-size: 22px 22px; -webkit-mask: linear-gradient(90deg, transparent 20%, #000); mask: linear-gradient(90deg, transparent 20%, #000); }
.page-head::after { content: ""; position: absolute; right: -90px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 23, 147, .34), transparent 68%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .35em; }
.page-head .lead { color: #d7e6fb; margin: 0; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- Fonctionnalités */
.subnav { position: sticky; top: 76px; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font: 600 .9rem/1 var(--font-display); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); }
.subnav a:hover { border-color: var(--pink); color: var(--pink-dark); }
.cat-block { padding: clamp(34px, 5vw, 60px) 0; border-bottom: 1px dashed var(--line-strong); scroll-margin-top: 140px; }
.cat-block:last-of-type { border-bottom: 0; }
.cat-block__head { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; margin-bottom: 26px; }
.cat-block__head .badge-icon { width: 60px; height: 60px; margin: 0; border-radius: 16px; }
.cat-block__head h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--pink); box-shadow: 0 12px 28px rgba(252, 23, 147, .12); }
.feature h3 { font-size: 1.05rem; margin: 0; }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.avail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font: 600 .76rem/1 var(--font-display); padding: 7px 10px; border-radius: 999px; background: var(--ok-50); color: var(--ok); }
.pill--no { background: #eef1f6; color: #66758d; text-decoration: line-through; }

/* ---------------------------------------------------------------- Matériel recommandé */
.rec { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--pink); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.rec:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(252, 23, 147, .16); }
.rec__img { background: linear-gradient(160deg, #f6f9ff, var(--wash-2)); display: flex; align-items: center; justify-content: center; height: 230px; padding: 18px; overflow: hidden; }
.rec__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.rec__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rec__body h3 { margin: 0; font-size: 1.15rem; text-align: center; text-transform: uppercase; color: var(--ink-2); }
.rec__body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.rec__badge { align-self: center; background: var(--grad-accent); color: #fff; font: 700 .7rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .96rem; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.ticks .icon { color: var(--ok); margin-top: 3px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---------------------------------------------------------------- Formations */
.program { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.program + .program { margin-top: 26px; }
.program__tag { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad-blue); padding: 9px 13px; border-radius: 999px; margin-bottom: 14px; }
.program--pro .program__tag { background: var(--grad-accent); }
.sessions { display: grid; gap: 12px; align-content: start; }
.session { border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 4px; background: var(--wash); }
.session__dates { font: 700 1rem/1.3 var(--font-display); color: var(--navy); }
.session__meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.session .btn { margin-top: 8px; justify-self: start; }
.empty { border: 2px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 20px; color: var(--ink-2); background: var(--paper); }
.notice { border-left: 4px solid var(--pink); background: var(--pink-50); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5b0a39; font-size: .98rem; }

/* ---------------------------------------------------------------- Formulaires */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .96rem; font-family: var(--font-display); color: var(--ink-2); }
.field .req { color: var(--pink); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; font-family: var(--font-body); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azur); box-shadow: 0 0 0 4px rgba(1, 118, 253, .16); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--bad); }
.help { margin: 0; font-size: .86rem; color: var(--muted); }
.err { margin: 0; font-size: .9rem; color: var(--bad); font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; border: 1px solid transparent; }
.alert--error { background: var(--bad-50); color: var(--bad); border-color: #f3c3c0; }
.alert--success { background: var(--ok-50); color: var(--ok); border-color: #b6e4d2; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.aside-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.aside-list .badge-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--azur); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font: 600 1rem/1.4 var(--font-display); color: var(--navy); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .2s; color: var(--pink); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p { margin: 0; }

/* ---------------------------------------------------------------- Appel à l'action, pied de page */
.cta-band { background: var(--grad-band); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.5px); background-size: 22px 22px; -webkit-mask: linear-gradient(90deg, transparent 30%, #000); mask: linear-gradient(90deg, transparent 30%, #000); }
.cta-band::after { content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 23, 147, .5), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band h2::after { display: none; }
.cta-band p { color: #d7e6fb; margin: 0; max-width: 58ch; }
.cta-band .btn--primary { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.cta-band .btn--primary:hover { background: #eaf3ff; color: var(--navy); }

.site-footer { background: linear-gradient(180deg, #0a2e6e, #071b45); color: #b8c6dc; padding: 60px 0 32px; font-size: .98rem; }
.site-footer a { color: #dbe6f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-grid h4 { color: #fff; font: 700 .8rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand img { height: 34px; width: auto; box-sizing: content-box; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px dashed #35508a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(18, 140, 74, .5); }
.wa-float:hover { background: #0d6e3a; color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- Confirmation / erreur */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; }
.ref-ticket { display: inline-block; margin: 8px 0 28px; padding: 14px 26px; background: var(--wash); border: 2px dashed var(--line-strong); border-radius: 12px; font: 600 1.35rem/1 var(--font-mono); letter-spacing: .08em; }
.ref-ticket small { display: block; font: 600 .72rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.error-page { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.error-page .code { font: 800 clamp(4rem, 12vw, 8rem)/1 var(--font-display); color: var(--line-strong); }

/* ---------------------------------------------------------------- Petits écrans */
@media (max-width: 960px) {
    .hero__grid, .program, .two-col { grid-template-columns: minmax(0, 1fr); }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: minmax(0, 1fr); }
    .stage { max-width: 580px; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); }
    .nav.is-open { display: flex; }
    .nav a { padding: 15px; border-radius: 12px; }
    .nav .btn { margin: 8px 0 0; }
    .site-header.is-scrolled .site-header__inner { border-radius: 22px; margin: 8px var(--gutter); padding: 0 10px 0 16px; }
    .subnav { top: 72px; }
}
@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .receipt-demo { width: 150px; left: -6px; bottom: -34px; }
    .tablet { display: none; }
    .btn-row .btn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .watermark__word { -webkit-text-stroke-width: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
@media print {
    .site-header, .site-footer, .wa-float, .subnav { display: none; }
}
