/* ════════════════════════════════════════════════════════════
   spinga.css — Système "Studio blanc"
   Fond blanc partout, violet de marque en dégradé, et de petites
   touches de couleur localisées (badges, icônes, un bloc lavande
   ici ou là) — pas de bandeaux de couleur pleine page.
   Écrit mobile-first : les règles de base ciblent le mobile,
   les media queries (min-width) ajoutent le confort desktop.
   ════════════════════════════════════════════════════════════ */

:root {
    /* Fonds — blanc partout, un seul ton lavande très doux pour les blocs ponctuels */
    --bg:        #FFFFFF;
    --soft:      #F5F4FC;   /* bloc lavande doux, utilisé par endroits (jamais en fond de page) */
    --soft-2:    #EFEDFB;
    --paper:     var(--bg);     /* alias rétro-compatible */
    --paper-2:   var(--soft);   /* alias rétro-compatible */
    --surface:   #FFFFFF;   /* cartes */
    --ink:       #14162B;   /* encre — texte fort, sections sombres */
    --ink-2:     #43465C;   /* texte courant */
    --ink-soft:  #6E7187;   /* texte secondaire — contraste AA (4.8:1) sur fond blanc */
    --line:      rgba(20,22,43,0.13);
    --line-2:    rgba(20,22,43,0.08);

    /* Violet de marque — accent principal, toujours en dégradé */
    --violet-deep:   #6D28D9;
    --violet:        #7C3AED;
    --violet-bright: #A855F7;
    --violet-soft:   #F2EBFE;
    --gradient: linear-gradient(115deg, var(--violet-deep), var(--violet-bright));

    /* Petites touches de couleur (chips, icônes) — un ton distinct par usage, jamais en fond de page */

    --radius:   20px;
    --radius-s: 13px;
    --shadow:    0 24px 60px -28px rgba(20,22,43,0.20);
    --shadow-s:  0 10px 28px -18px rgba(20,22,43,0.14);
    --maxw: 1180px;

    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'Inter', system-ui, sans-serif; /* alias — plus de monospace dans ce système */
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink-2);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
    font-size: 16px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* ─── Typographie ────────────────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.15rem, 8.6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 6.2vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 3.6vw, 1.45rem); font-weight: 700; }
h1 em, h2 em, .accent {
    font-style: normal;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }

.mono { font-family: var(--font-mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 5vw, 2.4rem); }
section { position: relative; }

/* ─── Rythme de section (base partagée par toutes les pages) ─── */
.sec { padding: clamp(3.2rem, 9vw, 6rem) 0; }
.sec-head { max-width: 620px; margin-bottom: 2.4rem; }
.sec-head h2 { margin: .8rem 0 .9rem; }
.sec-head p { font-size: 1.02rem; color: var(--ink-soft); }
/* Toutes les pages restent blanches : .alt ne colore plus la section,
   la couleur ne vit que dans les chips, badges et boutons. */
.alt { background: transparent; }

/* ─── CTA final (bloc encre, réutilisé sur toutes les pages) ──── */
.cta-final { background: var(--gradient); border: none; border-radius: clamp(16px,4vw,28px); padding: clamp(2.4rem,7vw,4rem); text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(109,40,217,.5); }
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; margin-bottom: .9rem; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 44ch; margin: 0 auto 1.8rem; }
.cta-final .btn-primary { background: #fff; color: var(--violet-deep); }
.cta-final .btn-primary:hover { background: #fff; opacity: .92; }

/* Eyebrow — retiré partout (retenu en CSS pour usage futur éventuel) */
.eyebrow { display: none; }

/* Tags/pills — informations courtes (tags de service, filtres) */
.tag {
    display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600;
    letter-spacing: .01em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
    padding: .34rem .75rem; background: var(--surface);
}

/* ─── Transition de page (allégée) ─────────────────────────── */
#page-transition {
    position: fixed; inset: 0; z-index: 99999; background: var(--paper);
    pointer-events: none; opacity: 1;
    animation: pt-in .4s ease forwards;
}
@keyframes pt-in  { to { opacity: 0; } }
@keyframes pt-out { to { opacity: 1; } }
#page-transition.leaving { animation: pt-out .28s ease forwards; }

/* ─── Scroll reveal (discret) ─────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal="left"]  { opacity: 0; transform: translateX(-26px); }
[data-reveal="right"] { opacity: 0; transform: translateX(26px); }
[data-reveal="scale"] { opacity: 0; transform: scale(.96); }
[data-reveal] { transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .06s; }
[data-reveal-delay="2"] { transition-delay: .12s; }
[data-reveal-delay="3"] { transition-delay: .18s; }
[data-reveal-delay="4"] { transition-delay: .24s; }
[data-reveal-delay="5"] { transition-delay: .30s; }
[data-reveal-delay="6"] { transition-delay: .36s; }

/* ─── Micro-interactions (discrètes, pour un rendu fluide) ────── */
@keyframes ans-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
details[open] .ans, .ring-card.open .ans { animation: ans-in .35s cubic-bezier(.22,1,.36,1); }

.fi { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.card:hover .fi, .support-item:hover .fi { transform: scale(1.08) rotate(-2deg); }

.nav-logo .mark { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.nav-logo:hover .mark { transform: scale(1.08) rotate(-4deg); }

.faq-item summary, .kw-item summary { cursor: pointer; }
.faq-item summary b, .kw-item summary b, .faq-item summary, .kw-item summary { transition: color .25s; }
.faq-item:hover summary, .kw-item:hover summary b { color: var(--violet-deep); }

.side-row i { transition: transform .25s, color .25s; }
.side-row:hover i { transform: scale(1.15); color: var(--violet); }
.digi-list .row { transition: background .2s; border-radius: var(--radius-s); }
.digi-list .row:hover { background: var(--soft); padding-left: .5rem; padding-right: .5rem; margin: 0 -.5rem; }

.marquee-track img { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.marquee-track img:hover { transform: translateY(-6px); }

/* ─── Boutons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; cursor: pointer;
    padding: .95rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
    font-family: var(--font-body);
    border: 1px solid transparent; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s, background .25s, color .25s;
    min-height: 48px;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet-deep); }
.btn-white { background: var(--surface); color: var(--ink); }
.btn-white:hover { background: var(--violet-soft); color: var(--violet-deep); }
.btn i { transition: transform .25s; }
.btn:hover i { transform: translateX(3px); }
/* alias rétro-compatible avec des gabarits déjà en place */
.btn-realisations, .submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; cursor: pointer; padding: .95rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--gradient); color: #fff; border: 0; min-height: 48px; }

/* ─── Navbar flottante (mobile-first : logo + burger, liens en desktop) ── */
.nav {
    position: fixed; top: clamp(.7rem, 2.5vw, 1.1rem); left: 50%; z-index: 1000;
    transform: translateX(-50%);
    width: min(calc(100% - 1.4rem), calc(var(--maxw) + 1.6rem));
    display: flex; align-items: center; justify-content: space-between;
    padding: .6rem .6rem .6rem clamp(1rem, 3vw, 1.4rem);
    border-radius: 999px;
    background: rgba(255,255,255,.66);
    backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 14px 36px -20px rgba(20,22,43,.24);
    transition: box-shadow .3s, background .3s, top .3s;
}
.nav.scrolled {
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 44px -16px rgba(20,22,43,.3);
    top: clamp(.4rem, 1.5vw, .7rem);
}
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo .mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--gradient);
    display: grid; place-items: center; flex: none;
}
.nav-logo .mark img { height: 19px; width: auto; }
.nav-logo-txt { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-txt b { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.nav-logo-txt span { display: none; }

.nav-links { display: none; }
.nav-links a { font-size: .9rem; font-weight: 600; color: var(--ink-2); position: relative; }
.nav-links a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
    background: var(--gradient); transition: width .3s;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    background: var(--gradient); color: #fff !important; padding: .62rem 1.15rem; border-radius: 999px;
    font-weight: 700; font-size: .88rem; box-shadow: 0 12px 26px -12px rgba(109,40,217,.55); transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); }

.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.1rem;
    padding: 0 clamp(1.4rem, 8vw, 3rem);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu .mm-index { font-family: var(--font-mono); font-size: .74rem; color: var(--violet-deep); }
.mobile-menu a:not(.nav-cta) { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 2rem; color: var(--ink); display: flex; align-items: baseline; gap: .6rem; }
.mobile-menu a.nav-cta { font-family: var(--font-body); font-size: 1rem; margin-top: .8rem; }

/* ─── Emplacement photo réservé ──────────────────────────────
   Remplace jusqu'à dépôt du vrai fichier. Bloc lavande doux avec
   une icône, pas un aplat "à imprimer" — le fichier attendu reste
   indiqué en légende discrète. */
.ph {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: linear-gradient(155deg, var(--soft), #fff 130%); min-height: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
    --ph-accent: var(--violet-deep);
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.ph:hover img { transform: scale(1.05); }
.ph::before {
    content: ""; width: 30px; height: 30px; opacity: .5;
    background: var(--ph-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 16l-5-4-4 3-3-2-6 5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 16l-5-4-4 3-3-2-6 5'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.ph:hover::before { transform: scale(1.1); }
.ph::after {
    content: attr(data-label); position: relative; z-index: 1; max-width: 84%;
    font-size: .64rem; letter-spacing: .01em; text-align: center; line-height: 1.4;
    color: var(--ink-soft); background: rgba(255,255,255,.75); padding: .3rem .65rem; border-radius: 999px;
}
.ph:has(img)::before, .ph:has(img)::after { display: none; }
.ph--round { border-radius: 50%; }
.ph--rose, .ph--amber, .ph--teal { background: linear-gradient(155deg, var(--violet-soft), #fff 130%); --ph-accent: var(--violet-deep); }

/* ─── Cartes génériques ──────────────────────────────────────── */
.card {
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
    box-shadow: var(--shadow-s); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124,58,237,.25); }

/* ─── Pages intérieures : fil d'ariane + hero compact ─────────── */
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); margin-bottom: 1.1rem; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.breadcrumb a { color: var(--ink-soft); transition: color .2s; }
.breadcrumb a:hover { color: var(--violet-deep); }
.breadcrumb .sep { opacity: .5; }
.page-hero { padding: 6.5rem 0 3rem; }
.page-hero .lead { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--ink-2); max-width: 56ch; margin: 1.1rem 0 1.4rem; }
.tags-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-stats { display: flex; gap: 1.8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; display: block; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat span { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); }
@media (min-width: 900px) { .page-hero { padding: 8.5rem 0 4rem; } }

/* ─── Pages case-study (réalisations/*.html) ─────────────────── */
.case-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); aspect-ratio: 16/9; background: var(--paper-2); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1), transform 1.1s cubic-bezier(.65,0,.35,1); }
.case-shot.revealed img { clip-path: inset(0 0 0% 0); transform: scale(1); }
.case-logo-big { width: 168px; height: 168px; border-radius: 32px; margin: 0 auto 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--surface); }
.case-logo-big img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; }
.case-logo-sm { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--shadow-s); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; padding: 9px; background: var(--surface); flex: none; }
.case-logo-sm img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.case-intro-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.case-intro-head span { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.case-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.8rem; }
@media (min-width: 700px) { .case-kpis { grid-template-columns: repeat(3, 1fr); } }
.case-kpi {
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-s);
    padding: 1.1rem 1.2rem; box-shadow: var(--shadow-s);
    opacity: 0; transform: translateY(14px) scale(.92);
    transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .5s ease, box-shadow .3s ease, border-color .3s ease;
}
.case-kpi.revealed { opacity: 1; transform: translateY(0) scale(1); }
.case-kpi:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow); border-color: rgba(124,58,237,.25); }
.case-kpi .fi { width: 32px; height: 32px; padding: 6px; margin-bottom: .7rem; }
.case-kpi b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .96rem; color: var(--ink); margin-bottom: .2rem; line-height: 1.3; }
.case-kpi span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.case-approach { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.4rem; }
@media (min-width: 700px) { .case-approach { grid-template-columns: 1fr 1fr; } }

/* ─── FAQ réutilisable (accueil + pages case-study) ───────────── */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 0 1.3rem; box-shadow: var(--shadow-s); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-size: 1.02rem; transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--violet); transition: transform .3s; flex: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item:hover summary { color: var(--violet-deep); }
.faq-item .ans { padding: 0 0 1.1rem; color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }

/* ─── Grilles fonctionnalités / process ──────────────────────── */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card { padding: 1.7rem 1.6rem; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature-card p { font-size: .92rem; color: var(--ink-soft); }
.feature-card .fi, .price-card .fi { width: 54px; height: 54px; padding: 12px; border-radius: 15px; transform: rotate(-4deg); }
.card:hover .fi { transform: rotate(0deg) scale(1.06); }
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

/* ─── Icônes en chip couleur — le "petit jeu de couleur" par carte ─── */
.fi {
    width: 46px; height: 46px; border-radius: 13px; padding: 10px; box-sizing: border-box;
    color: var(--violet-deep); background: var(--violet-soft); margin-bottom: .9rem;
    display: flex; flex: none; align-items: center; justify-content: center;
}
.fi svg { width: 100%; height: 100%; }
.fi i { line-height: 1; }
.fi { font-size: 20px; }
.case-kpi .fi, .countdown-step .step-top .fi, .support-chip .fi { font-size: 15px; }
.hv-badge .fi { font-size: 17px; }
.feature-card .fi, .price-card .fi, .svc-card .fi { font-size: 24px; }
.fi--rose, .fi--amber, .fi--teal { color: var(--violet-deep); background: var(--violet-soft); }

/* ─── Tarification ────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.price-card { padding: 1.9rem 1.7rem; position: relative; }
.price-card .price-badge {
    position: absolute; top: -13px; right: 1.5rem; background: var(--gradient); color: #fff;
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em; padding: .32rem .75rem; border-radius: 999px;
}
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.02em; margin: .5rem 0 .3rem; }
.price-card .amount span { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.price-card .tagline { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; font-size: .9rem; color: var(--ink-2); }
.price-list li { padding-left: 1.5rem; position: relative; }
.price-list li::before {
    content: ""; position: absolute; left: 0; top: .2rem; width: 16px; height: 16px; border-radius: 50%;
    background: var(--gradient);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/62% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/62% no-repeat;
}
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }


/* ─── Étapes numérotées (sections "process", réellement séquentielles) ─
   La ligne se remplit et les numéros s'allument au fil du scroll
   (voir motion.js) — remplace la ligne pointillée statique. */
.countdown { position: relative; max-width: 640px; padding-left: 2rem; }
.countdown::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.countdown-fill { position: absolute; left: 0; top: 6px; width: 2px; height: 0; background: var(--gradient); transition: height .2s linear; }
.countdown-step { position: relative; padding: 0 0 2.2rem; }
.countdown-step:last-child { padding-bottom: 0; }
.countdown-step::before {
    content: ""; position: absolute; left: -2.11rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--line); box-shadow: 0 0 0 4px var(--surface);
    transition: background .3s, border-color .3s, transform .3s; z-index: 1;
}
.countdown-step.is-passed::before, .countdown-step.is-active::before { background: var(--gradient); border-color: transparent; }
.countdown-step.is-active::before { transform: scale(1.35); }
.countdown-step .t {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em;
    color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .5rem; opacity: .4;
    transition: opacity .35s, color .35s, transform .35s;
}
.countdown-step.is-passed .t, .countdown-step.is-active .t, .countdown-step.is-launch .t { opacity: 1; color: var(--violet-deep); }
.countdown-step.is-active .t { transform: translateX(3px); }
.countdown-step .t::after {
    content: "✓"; font-size: .85rem; color: var(--violet-bright); opacity: 0; transform: scale(.5);
    transition: opacity .3s, transform .3s;
}
.countdown-step.is-passed .t::after { opacity: 1; transform: scale(1); }
.countdown-step.is-active::before { box-shadow: 0 0 0 4px var(--surface), 0 0 18px 3px rgba(124,58,237,.4); }
.countdown-step .step-top { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.countdown-step .step-top .fi { width: 32px; height: 32px; margin-bottom: 0; opacity: .5; transition: opacity .35s; }
.countdown-step.is-passed .step-top .fi, .countdown-step.is-active .step-top .fi, .countdown-step.is-launch .step-top .fi { opacity: 1; }
.countdown-step .step-top h3 { margin-bottom: 0; }
.countdown-step h3 { margin-bottom: .4rem; }
.countdown-step p { font-size: .96rem; color: var(--ink-soft); max-width: 48ch; }
.countdown-step .step-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.countdown-step .step-tags .tag { font-size: .72rem; padding: .28rem .65rem; opacity: .45; transition: opacity .35s, border-color .35s; }
.countdown-step.is-passed .step-tags .tag, .countdown-step.is-active .step-tags .tag, .countdown-step.is-launch .step-tags .tag { opacity: 1; border-color: rgba(124,58,237,.3); }
.countdown-step .step-cta {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
    font-weight: 700; font-size: .88rem; color: var(--violet-deep);
    padding: .55rem 1rem; border-radius: 999px; background: var(--violet-soft);
    transition: background .25s, transform .25s;
}
.countdown-step .step-cta:hover { background: var(--gradient); color: #fff; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
    .countdown-step .t, .countdown-step::before, .countdown-step .t::after { transition: none; }
}

/* ─── Footer — blanc, comme le reste du site ───────────────────── */
.footer { background: var(--paper); color: var(--ink-soft); padding: clamp(3rem,9vw,5rem) 0 2rem; border-top: 1px solid var(--line-2); }
.footer h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-size: 1.35rem; margin-bottom: .6rem; }
.footer a { color: var(--ink-soft); transition: color .25s; }
.footer a:hover { color: var(--violet-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-col h4 { color: var(--ink); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; font-weight: 600; }
.footer-col a { display: block; padding: .3rem 0; font-size: .92rem; }
.footer-bottom {
    margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2);
    display: flex; flex-direction: column; gap: .6rem; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft);
}

/* ─── Cookie banner ──────────────────────────────────────────── */
#cookieBanner {
    position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 440px; z-index: 4000;
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.2rem 1.3rem; transform: translateY(160%); opacity: 0; transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .5s;
}
#cookieBanner.show { transform: none; opacity: 1; }
#cookieBanner p { font-size: .86rem; color: var(--ink-2); margin-bottom: .9rem; }
#cookieBanner .cookie-actions { display: flex; gap: .6rem; }
#cookieAccept { background: var(--gradient); color: #fff; border: 0; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; cursor: pointer; min-height: 44px; }
#cookieDecline { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; }

/* ─── Formulaires ────────────────────────────────────────────── */
input, select, textarea {
    width: 100%; padding: .85rem 1rem; margin-bottom: .8rem; border: 1px solid var(--line);
    border-radius: var(--radius-s); font-size: .95rem; font-family: var(--font-body); background: var(--paper); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
textarea { resize: vertical; min-height: 120px; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; }
.field-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; }
.field-check input { width: 18px; height: 18px; margin: 0; flex: none; }

/* ─── Bouton retour haut ─────────────────────────────────────── */
#rocketTop {
    position: fixed; bottom: 1.3rem; right: 1.3rem; z-index: 3000;
    width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gradient); color: #fff;
    display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none;
    transform: translateY(14px); transition: opacity .3s, transform .3s; box-shadow: 0 12px 26px -10px rgba(109,40,217,.6);
}
#rocketTop.visible { opacity: 1; pointer-events: all; transform: none; }
#rocketTop.launching { transform: translateY(-120vh); transition: transform .8s cubic-bezier(.5,0,.75,0); }

/* ─── Widget flottant WhatsApp ───────────────────────────────── */
.wa-widget { position: fixed; bottom: 1.3rem; left: 1.3rem; z-index: 3000; }
.whatsapp-float {
    width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; border: 0;
    display: grid; place-items: center; font-size: 1.5rem; cursor: pointer;
    box-shadow: 0 12px 26px -8px rgba(37,211,102,.55); transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 480px) { .whatsapp-float { width: 46px; height: 46px; font-size: 1.3rem; } .wa-widget { bottom: 1rem; left: 1rem; } }

.wa-popup {
    position: absolute; bottom: 64px; left: 0; width: 280px;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--line-2); padding: 1.1rem; opacity: 0; transform: translateY(10px) scale(.96);
    pointer-events: none; transition: opacity .22s ease, transform .22s ease; transform-origin: bottom left;
}
.wa-popup.open { opacity: 1; transform: none; pointer-events: all; }
.wa-popup-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; position: relative; padding-right: 1.2rem; }
.wa-popup-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; flex: none; }
.wa-popup-logo img { width: 20px; height: auto; }
.wa-popup-head b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.wa-popup-head .status { font-size: .74rem; color: #25D366; display: flex; align-items: center; gap: .35rem; margin-top: .1rem; }
.wa-popup-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25D366; flex: none; }
.wa-popup-close { position: absolute; top: -6px; right: -6px; background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 4px; }
.wa-popup-close:hover { color: var(--ink); }
.wa-popup-msg { font-size: .86rem; color: var(--ink-2); background: var(--soft); border-radius: var(--radius-s); padding: .7rem .9rem; margin-bottom: 1rem; line-height: 1.45; }
.wa-popup-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; background: #25D366; color: #fff; font-weight: 700; font-size: .88rem; padding: .75rem; border-radius: 999px; text-decoration: none; transition: filter .2s; }
.wa-popup-btn:hover { filter: brightness(1.06); color: #fff; }
@media (max-width: 480px) { .wa-popup { width: calc(100vw - 2.6rem); } }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

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

/* ─── Breakpoints (mobile-first : min-width) ───────────────────── */
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
    .nav-links { display: flex; align-items: center; gap: 1.8rem; }
    .hamburger { display: none; }
}
