/* Smart Wifi Zone — landing page légère (sans 3D). Mobile d'abord, puis ordinateur. */
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(../fonts/space-grotesk-400.ttf) format('truetype'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-500.ttf) format('truetype'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../fonts/space-grotesk-600.ttf) format('truetype'); }

/* Couleurs de Smart Wifi Zone : fond bleu ciel clair (comme le tableau de bord), bleu soutenu pour l'action. */
:root {
    --bg: #f0f9ff; --text: #0b1b2e; --muted: #4b5d73; --soft: #334155;
    --accent: #0369a1; --accent-2: #075985; --sky: #0ea5e9; --title-2: #0284c7;
    --line: #d6ecfa; --card: #ffffff;
    --gutter: 24px; --max: 1180px;
}
::selection { background: #bae6fd; color: #082f49; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--text); line-height: 1.5;
    background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* halos bleus fixes, dessinés en CSS (aucune image, aucun calcul) */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60vmax 45vmax at 85% -10%, rgba(56, 189, 248, 0.38), transparent 60%),
        radial-gradient(50vmax 40vmax at -10% 40%, rgba(125, 211, 252, 0.35), transparent 60%),
        radial-gradient(60vmax 40vmax at 60% 110%, rgba(186, 230, 253, 0.7), transparent 60%),
        linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--title-2); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---- En-tête ---- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(240, 249, 255, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand-logo { height: 34px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-login { display: none; color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.header-login:hover { color: var(--text); }
.lang-switch svg { width: 17px; height: 17px; }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 11px; border-radius: 12px;
    border: 1px solid #bae6fd; background: #ffffff; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600;
    transition: border-color 0.25s, background 0.25s;
}
.lang-switch:hover { border-color: var(--sky); background: #f0f9ff; }

/* ---- Boutons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none;
    font: 600 15px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: 0.01em;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.btn-primary { background: var(--accent); color: #ffffff; box-shadow: 0 14px 34px -14px rgba(3, 105, 161, 0.7); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid #9fd3f2; color: #0c4a6e; background: #ffffff; }
.btn-ghost:hover { border-color: var(--sky); background: #f0f9ff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row .btn { flex: 1 1 100%; }

/* ---- Titres de section ---- */
.section { padding: 96px 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; }
.lead { max-width: 580px; margin: 20px 0 0; font-size: 17px; line-height: 1.7; color: var(--soft); }

/* ---- Accueil ---- */
.hero { padding: 120px 0 72px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(40px, 9.6vw, 66px); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.hero .lead { font-size: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.trust li::before { content: '✓'; color: var(--accent); margin-right: 7px; }
.hero-phones { position: relative; display: flex; justify-content: center; }
.hero-phones .phone-item { width: min(72vw, 290px); }
.hero-phones .phone-item + .phone-item { display: none; }

/* ---- Vos clients : photo et cartes flottantes ---- */
.audience-grid { display: grid; gap: 44px; align-items: center; }
.audience-media { position: relative; margin: 0 6px; }
.audience-media img {
    width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px;
    box-shadow: 0 0 0 6px #ffffff, 0 40px 80px -30px rgba(12, 74, 110, 0.55);
}
.chip {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px -16px rgba(12, 74, 110, 0.5); color: var(--text); animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; font-size: 14px; font-weight: 600; }
.chip small { display: block; font-size: 12px; color: var(--muted); }
.chip-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.chip-icon svg { width: 16px; height: 16px; }
.chip-paid { left: -6px; bottom: 14%; }
.chip-code { right: -6px; top: 10%; flex-direction: column; align-items: flex-start; gap: 2px; animation-duration: 7s; animation-delay: -3s; }
.chip-code strong { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 17px; letter-spacing: 0.06em; color: #0c4a6e; }
.audience .h2 { font-size: clamp(32px, 4.2vw, 52px); }
.points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--soft); }
.points svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e0f2fe; color: var(--accent); }

/* ---- Le principe : trois étapes ---- */
.steps { display: grid; gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step, .benefit {
    position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card);
    box-shadow: 0 1px 2px rgba(12, 74, 110, 0.04), 0 14px 30px -18px rgba(12, 74, 110, 0.25);
}
.step::before {
    counter-increment: step; content: '0' counter(step);
    display: block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent);
}
.step h3, .benefit h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.step p, .benefit p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.note { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 18px 20px; border-radius: 18px; background: #e0f2fe; border: 1px solid #bae6fd; color: #0c4a6e; font-size: 15px; }
.note svg { flex: 0 0 20px; width: 20px; color: var(--accent); margin-top: 2px; }

/* ---- Fonctions phares : génération automatique, multi-hotspot ---- */
.features { display: grid; gap: 20px; margin: 48px 0 0; }
.feature {
    display: grid; gap: 28px; padding: 30px 24px; border-radius: 28px; background: #ffffff; border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(12, 74, 110, 0.04), 0 30px 60px -32px rgba(12, 74, 110, 0.35);
}
.feature-tag { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: #e0f2fe; color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.feature h3 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.feature-body > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.feature .points { margin-top: 20px; gap: 10px; }
.feature .points li { font-size: 15px; }

/* visuel 1 : les codes apparaissent un à un, la jauge de stock se remplit */
.auto-visual { align-self: center; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #f0f9ff, #e0f2fe); border: 1px solid #bae6fd; }
.auto-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: #0c4a6e; }
.auto-bar { height: 8px; margin: 12px 0 16px; border-radius: 999px; background: #ffffff; overflow: hidden; }
.auto-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--accent)); animation: fill 6s ease-in-out infinite; transform-origin: 0 50%; }
@keyframes fill { 0% { transform: scaleX(0.55); } 45%, 100% { transform: scaleX(1); } }
.auto-codes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.auto-codes li {
    display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #ffffff;
    box-shadow: 0 6px 16px -10px rgba(12, 74, 110, 0.4); animation: code-in 6s ease-in-out infinite; animation-delay: calc(var(--r) * 0.45s);
}
.auto-codes code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; letter-spacing: 0.08em; color: #0b1b2e; }
.auto-codes .ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: #15803d; }
.auto-codes .ok svg { width: 14px; height: 14px; }
@keyframes code-in { 0% { opacity: 0; transform: translateX(-12px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* visuel 2 : le tableau de bord relié aux hotspots, des points circulent */
.multi-visual { align-self: center; padding: 14px 12px 18px; border-radius: 22px; background: linear-gradient(180deg, #f0f9ff, #e0f2fe); border: 1px solid #bae6fd; }
.multi-visual > svg { display: block; width: 100%; height: auto; overflow: visible; }
.multi-visual .links line { stroke: #7dd3fc; stroke-width: 2; stroke-dasharray: 5 6; }
.multi-visual .pulse { fill: var(--sky); filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.9)); }
.multi-visual .node circle { fill: #ffffff; stroke: #7dd3fc; stroke-width: 2; }
.multi-visual .node svg { color: var(--sky); }
.multi-visual .node text { font: 600 13px 'Space Grotesk', system-ui, sans-serif; fill: #0c4a6e; }
.multi-visual .hub rect { fill: var(--accent); filter: drop-shadow(0 10px 18px rgba(3, 105, 161, 0.35)); }
.multi-visual .hub text { font: 600 13.5px 'Space Grotesk', system-ui, sans-serif; fill: #ffffff; }
.multi-visual .hub { animation: hub 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hub { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.multi-ticket { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #0c4a6e; }
.multi-ticket svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #dcfce7; color: #15803d; }

/* ---- Avantages ---- */
.benefits { display: grid; gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: #e0f2fe; color: var(--accent); }
.benefit-icon svg { width: 22px; height: 22px; }

/* ---- Écrans iPhone 14 Pro (393 x 852 points), dessinés en CSS ---- */
.phones {
    display: flex; gap: 22px; margin: 48px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter) 30px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones > li { flex: 0 0 64vw; max-width: 260px; scroll-snap-align: center; }
.phone-item { container-type: inline-size; margin: 0; }
.iphone {
    position: relative; border-radius: 16cqw; padding: 3cqw;
    background: linear-gradient(145deg, #3a4049 0%, #15181d 45%, #2a2f37 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 40px 90px -30px rgba(14, 165, 233, 0.55), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.iphone-screen { position: relative; overflow: hidden; border-radius: 13.4cqw; background: #ffffff; aspect-ratio: 393 / 852; display: flex; flex-direction: column; }
.status { flex: 0 0 auto; height: 12.6cqw; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.2cqw 8cqw 0 9.5cqw; color: #0b0f14; font: 600 4.1cqw/1 -apple-system, 'Segoe UI', sans-serif; background: #ffffff; }
.status.is-tinted { background: #f5f9fd; }
.status .island { position: absolute; left: 50%; top: 2.6cqw; width: 30.5cqw; height: 8.6cqw; transform: translateX(-50%); border-radius: 999px; background: #000000; }
.status .icons { display: flex; align-items: center; gap: 1.4cqw; }
.status .icons svg { height: 3.3cqw; width: auto; fill: currentColor; }
.iphone-screen img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.home-bar { position: absolute; left: 50%; bottom: 2cqw; width: 34cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 999px; background: rgba(0, 0, 0, 0.85); }
.phone-item figcaption { margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.phone-item figcaption strong { display: block; margin-bottom: 4px; font-size: 15.5px; font-weight: 500; color: var(--text); }
.phone-item .step-no { color: var(--accent); margin-right: 6px; }
.showcase-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---- Pays : drapeaux dans des bulles ---- */
.countries-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.country { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.flag {
    position: relative; display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #bae6fd, 0 16px 30px -12px rgba(12, 74, 110, 0.45);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.flag svg { display: block; width: 100%; height: 100%; }
.flag::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(70% 55% at 32% 22%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 60%),
                radial-gradient(90% 90% at 50% 120%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 60%);
}
.country:hover .flag { transform: translateY(-3px) scale(1.05); }
.country-name { font-size: 13px; color: var(--soft); }

/* ---- Tarif ---- */
.figures { display: grid; gap: 16px; margin: 48px 0 0; }
.figure { padding: 28px 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 14px 30px -18px rgba(12, 74, 110, 0.25); }
.figure dt { font-size: clamp(42px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #0c4a6e; }
.figure dd { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 40px; }
.contact-mail { display: inline-flex; gap: 10px; margin-top: 26px; font-size: 18px; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid #9fd3f2; padding-bottom: 6px; }
.form { padding: 26px 22px; border-radius: 26px; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 30px 60px -30px rgba(12, 74, 110, 0.35); }
.form h3 { margin: 0 0 20px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid #cbe7f7;
    background: #f8fcff; color: var(--text); font: 400 16px/1.4 'Space Grotesk', system-ui, sans-serif;
}
.field input::placeholder, .field textarea::placeholder { color: #8197ad; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); background: #ffffff; }
.form-foot { display: flex; flex-direction: column; gap: 14px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form .btn { width: 100%; border: 0; cursor: pointer; }

/* ---- Pied de page ---- */
.footer { padding: 34px 0 42px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* ---- Bouton WhatsApp flottant ---- */
.wa-float {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    animation: wa-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}
.wa-icon {
    position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #ffffff; box-shadow: 0 12px 28px -8px rgba(21, 128, 61, 0.65);
    transition: transform 0.25s;
}
.wa-icon svg { width: 30px; height: 30px; }
/* onde qui attire l'œil, de temps en temps */
.wa-icon::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
    animation: wa-ring 3.2s ease-out 2s infinite;
}
.wa-float:hover .wa-icon { transform: scale(1.07); }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-icon { outline: 3px solid #86efac; outline-offset: 3px; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 1000px) {
    .wa-float { right: 28px; bottom: 28px; }
}

/* ==== Animations (toutes désactivées si l'utilisateur limite les animations) ==== */

/* Apparition au défilement, les éléments d'une même rangée l'un après l'autre (--i) */
.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
/* les drapeaux « éclosent » */
.reveal.pop { transform: scale(0.6); transition-timing-function: ease, cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.pop.is-in { transform: none; }
/* garder le décalage pair des iPhone sur ordinateur une fois apparus */
@media (min-width: 1000px) { .phones > li.reveal.is-in:nth-child(even) { transform: translateY(44px); } }

/* Accueil : le titre, le texte et les boutons montent l'un après l'autre au chargement */
.rise { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.hero h1 .rise { display: inline-block; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Les iPhone de l'accueil flottent doucement, avec un halo qui respire derrière */
.hero-phones .iphone { animation: float 6s ease-in-out infinite; }
.hero-phones .phone-item + .phone-item .iphone { animation-duration: 7s; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-phones::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; max-width: 110vw; transform: translate(-50%, -50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.55), rgba(125, 211, 252, 0.25) 45%, transparent 70%);
    filter: blur(10px); animation: breathe 5s ease-in-out infinite; pointer-events: none;
}
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
/* entrée des iPhone : sur le conteneur, pour ne pas écraser leur inclinaison */
.hero-phones { animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }

/* Barre de progression de lecture sous l'en-tête */
.header .progress {
    position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--sky), var(--accent)); box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}
.header { transition: background 0.3s, box-shadow 0.3s; }
.header.is-scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 8px 24px -16px rgba(12, 74, 110, 0.35); }

/* Survol des cartes et des icônes */
.step, .benefit, .figure { transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s; }
.step.is-in:hover, .benefit.is-in:hover, .figure.is-in:hover { transform: translateY(-4px); border-color: #7dd3fc; transition-delay: 0s; }
.benefit-icon { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s; }
.benefit:hover .benefit-icon { transform: rotate(-8deg) scale(1.12); background: #bae6fd; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Chiffres : un léger éclat quand le décompte se termine */
.count.is-done { animation: glow 0.9s ease-out; }
@keyframes glow { from { text-shadow: 0 0 22px rgba(14, 165, 233, 0.8); color: var(--sky); } to { text-shadow: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal.pop { opacity: 1; transform: none; transition: none; }
    .rise, .hero-phones, .hero-phones .iphone, .hero-phones::before, .btn-primary::before, .count.is-done, .chip,
    .auto-bar span, .auto-codes li, .multi-visual .hub, .wa-float, .wa-icon::after { animation: none; }
    .multi-visual .pulse { display: none; }
}

.label-short { display: none; }
/* ---- Petits téléphones : en-tête resserré ---- */
@media (max-width: 420px) {
    .label-long { display: none; }
    .label-short { display: inline; }
    :root { --gutter: 16px; }
    .brand-logo { height: 28px; }
    .header-actions { gap: 8px; }
    .lang-switch { min-width: 36px; height: 36px; padding: 0 8px; gap: 4px; }
    .lang-switch svg { width: 15px; height: 15px; }
    .header .btn-small { min-height: 36px; padding: 0 12px; font-size: 12.5px; }
}

/* ---- Tablette ---- */
@media (min-width: 640px) {
    :root { --gutter: 40px; }
    .cta-row .btn { flex: 0 0 auto; }
    .header-login { display: inline; }
    .steps, .benefits, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .countries-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .flag { width: 72px; height: 72px; }
    .form { padding: 32px 30px; }
    .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
    .form .btn { width: auto; }
}

/* ---- Ordinateur ---- */
@media (min-width: 1000px) {
    :root { --gutter: 60px; }
    .nav { display: flex; }
    .section { padding: 110px 0; }
    .hero { padding: 130px 0 90px; min-height: 100vh; display: flex; align-items: center; }
    .hero > .wrap { width: 100%; }
    .hero-grid { grid-template-columns: 1.15fr 1fr; }
    .hero h1 { font-size: clamp(52px, 4.9vw, 72px); }
    .hero h1 span, .hero h1 .line { white-space: nowrap; }
    .hero-phones { min-height: 600px; }
    .hero-phones .phone-item { position: absolute; width: 270px; }
    .hero-phones .phone-item:first-child { z-index: 2; transform: translate(-58px, 10px) rotate(-4deg); }
    .hero-phones .phone-item + .phone-item { display: block; transform: translate(118px, -20px) rotate(5deg); opacity: 0.92; }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .phones { justify-content: center; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; overflow: visible; gap: 30px; }
    .phones > li { flex: 0 0 200px; }
    .phones > li:nth-child(even) { transform: translateY(44px); }
    .countries-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .flag { width: 78px; height: 78px; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
    .audience-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; }
    .features { grid-template-columns: 1fr 1fr; gap: 24px; }
    .feature { padding: 36px 34px; }
    .chip-paid { left: -34px; }
    .chip-code { right: -28px; }
}
