/* ════════════════════════════════════════════════════════════════
   Kawoo® Landing — Style fintech moderne (inspiré Finflow / Sage)
   Couleurs : rouge #E73639 + navy #0F1B3D + accents
   ════════════════════════════════════════════════════════════════ */

:root {
    --red: #E73639;
    --red-d: #C72E30;
    --red-l: #FFEBEC;
    --navy: #0F1B3D;
    --navy-l: #1E2C5E;
    --green: #10B981;
    --orange: #F59E0B;
    --gold: #FFD700;
    --gray-50: #FAFBFC;
    --gray-100: #F4F5F7;
    --gray-200: #E5E7EB;
    --gray-400: #94A3B8;
    --gray-600: #64748B;
    --gray-800: #1F2937;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 27, 61, 0.06);
    --shadow: 0 8px 30px rgba(15, 27, 61, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 27, 61, 0.14);
    --gradient-red-navy: linear-gradient(135deg, #E73639 0%, #0F1B3D 100%);
    --gradient-bg: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ───────── NAVBAR ───────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    max-width: 1240px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; }
.nav-logo span {
    font-weight: 900; font-size: 18px; color: var(--navy); letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 14px; font-weight: 600; color: var(--gray-800);
    transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
    display: flex; align-items: center; gap: 10px;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px;
    border-radius: 99px;
    font-size: 14px; font-weight: 700;
    transition: all .2s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--red); color: var(--white);
    box-shadow: 0 4px 16px rgba(231, 54, 57, 0.3);
}
.btn-primary:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231, 54, 57, 0.4); }
.btn-secondary {
    background: var(--white); color: var(--navy); border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); padding: 10px 16px; }
.btn-ghost:hover { color: var(--red); }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ───────── HERO ───────── */
.hero {
    padding: 130px 0 80px;
    position: relative;
    background:
      radial-gradient(circle at 80% 20%, rgba(231, 54, 57, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(15, 27, 61, 0.05) 0%, transparent 50%),
      var(--gradient-bg);
    overflow: hidden;
}
.hero--centered { padding: 110px 0 80px; text-align: center; }

/* ═══ Photo showcase avec animation d'entrée + flottement idle ═══ */
.showcase-photo {
    position: relative;
    width: 100%; max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    perspective: 1200px;
    --parallax: 0px;
    transform: translateY(var(--parallax));
    transition: transform .12s linear;
    will-change: transform;
}
.showcase-photo .photo-img {
    position: relative; z-index: 2;
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow:
        0 30px 80px -20px rgba(15, 27, 61, 0.45),
        0 8px 24px -8px rgba(15, 27, 61, 0.25);
    transition:
        opacity 1.1s cubic-bezier(.2, .7, .15, 1),
        transform 1.3s cubic-bezier(.16, .77, .15, 1.05);
    /* Animation flottante de base (toujours active, indépendante du JS) */
    animation: photoFloat 6s ease-in-out infinite;
}
/* État initial d'entrée (masqué) UNIQUEMENT si JS actif.
   La classe .is-visible (ajoutée au scroll) déclenche la transition vers opacity:1 + transform reset. */
.js-enabled .showcase-photo:not(.is-visible) .photo-img {
    opacity: 0;
    transform: translateY(70px) translateX(40px) rotate(-3deg) scale(0.92);
    animation: none; /* pas de flottement avant l'entrée */
}

/* Variant gauche : la photo entre depuis le bas-gauche, glow miroir */
.showcase-photo--left .photo-img {
    transform: translateY(70px) translateX(-40px) rotate(3deg) scale(0.92);
}
.showcase-photo--left .photo-shadow {
    inset: 16px 16px -16px -16px;
    transform: translateY(60px) rotate(2deg);
    background: linear-gradient(225deg, rgba(231, 54, 57, 0.16) 0%, rgba(15, 27, 61, 0.10) 100%);
}
.showcase-photo--left .photo-glow {
    top: -40px; right: auto; left: -40px;
    background: radial-gradient(circle, rgba(15, 27, 61, 0.35) 0%, transparent 70%);
}

/* Variant navy : halo bleu marine au lieu de rouge (pour la 3e photo IA) */
.showcase-photo--navy .photo-glow {
    background: radial-gradient(circle, rgba(15, 27, 61, 0.38) 0%, transparent 70%);
}
.showcase-photo--navy .photo-shadow {
    background: linear-gradient(135deg, rgba(15, 27, 61, 0.18) 0%, rgba(231, 54, 57, 0.08) 100%);
}

/* ═══ Variant ipad : mockup tablette CSS pur contenant un GIF/img,
       lévitation + 3/4 profil ═══ */
.showcase-photo--ipad {
    background: transparent;
    aspect-ratio: auto;
    /* L'iPad reste dans sa colonne, aucun débordement.
       max-width plafonné pour rester réaliste (~ taille tablette). */
    max-width: 560px;
    margin: 0 auto;
}
@media (max-width: 980px) {
    .showcase-photo--ipad {
        max-width: 480px;
        margin: 0 auto;
    }
}
@media (max-width: 640px) {
    .showcase-photo--ipad .ipad-frame,
    .showcase-photo--ipad.is-visible .ipad-frame {
        transform: none !important;
        animation: none !important;
    }
    @keyframes ipadLevitate {
        0%, 100% { transform: none; }
    }
}
.showcase-photo--ipad .ipad-frame {
    position: relative; z-index: 2;
    width: 100%;
    transform-origin: center center;
    transition:
        opacity 1.2s cubic-bezier(.2, .7, .15, 1),
        transform 1.6s cubic-bezier(.16, .77, .15, 1.05);
    /* Lévitation iPad de base (toujours active, indépendante du JS) */
    animation: ipadLevitate 7s ease-in-out infinite;
}
/* État initial d'entrée (masqué) UNIQUEMENT si JS actif et pas encore .is-visible */
.js-enabled .showcase-photo--ipad:not(.is-visible) .ipad-frame {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    animation: none;
}
.showcase-photo--ipad.is-visible .ipad-frame {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: ipadLevitate 7s ease-in-out 1.6s infinite;
}
@keyframes ipadLevitate {
    0%, 100% { transform: translateY(0)    scale(1); }
    50%      { transform: translateY(-12px) scale(1); }
}

/* ─── Cadre iPad ─── */
.ipad-frame {
    background: linear-gradient(135deg, #d8dae0 0%, #c2c4cc 50%, #a8aab2 100%);
    border-radius: 30px;
    padding: 18px;
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.08),
        0 30px 80px -20px rgba(15, 27, 61, 0.45),
        0 8px 20px -8px rgba(15, 27, 61, 0.25);
}
.ipad-frame .ipad-camera {
    /* Petit point caméra centré sur le bord haut */
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: #1a1d24;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
    z-index: 3;
}
.ipad-frame .ipad-screen {
    position: relative;
    background: #0a0d12;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
}
.ipad-frame .ipad-screen-img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

/* ─── Ombre de contact sous l'iPad ─── */
.showcase-photo--ipad .photo-shadow {
    inset: auto 8% -22px 8%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(15, 27, 61, 0.30) 0%, transparent 70%);
    filter: blur(16px);
    border-radius: 50%;
    transform: translateY(20px) scaleX(0.6);
    transition: opacity 1.4s ease 0.3s, transform 1.4s cubic-bezier(.16, .77, .15, 1.05) 0.3s;
}
.showcase-photo--ipad.is-visible .photo-shadow {
    opacity: 1;
    transform: translateY(0) scaleX(1);
    animation: ipadShadow 7s ease-in-out 1.6s infinite;
}
@keyframes ipadShadow {
    0%, 100% { transform: translateY(0) scaleX(1);    opacity: 1; }
    50%      { transform: translateY(0) scaleX(0.80); opacity: 0.7; }
}

/* ─── Halo derrière l'iPad ─── */
.showcase-photo--ipad .photo-glow {
    top: 50%; right: 50%; bottom: auto; left: auto;
    width: 80%; height: 70%;
    transform: translate(50%, -50%) scale(0.6);
    background: radial-gradient(ellipse at center, rgba(231, 54, 57, 0.16) 0%, transparent 70%);
    z-index: 0;
}
.showcase-photo--ipad.is-visible .photo-glow {
    transform: translate(50%, -50%) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .showcase-photo--ipad.is-visible .ipad-frame,
    .showcase-photo--ipad.is-visible .photo-shadow { animation: none; }
}

/* ═══ Variant floating : laptop sans cadre, fond blanc gommé via blend mode,
       animation 'levitation / ouverture' subtile ═══ */
.showcase-photo--floating {
    background: transparent;
    aspect-ratio: 4 / 3;            /* ratio plus naturel pour un laptop */
    max-width: 820px;
    /* Compense la grille 1fr 1fr du showcase-row : déborde légèrement
       sur la colonne texte pour gagner en présence visuelle */
    margin-left: -60px;
}
@media (max-width: 980px) {
    .showcase-photo--floating { max-width: 100%; margin-left: 0; }
}
.showcase-photo--floating .photo-img {
    border-radius: 0;
    background: transparent;
    mix-blend-mode: multiply;       /* blanc → fond / sombres → visibles */
    box-shadow: none;
    object-fit: contain;
    object-position: center;
    transition:
        opacity 1.2s cubic-bezier(.2, .7, .15, 1),
        transform 1.6s cubic-bezier(.16, .77, .15, 1.05);
}
/* État initial (masqué) UNIQUEMENT si JS actif */
.js-enabled .showcase-photo--floating .photo-img {
    opacity: 0;
    transform: perspective(1400px) translateY(60px) rotateX(8deg) rotateZ(-1deg) scale(0.94);
}
.showcase-photo--floating .photo-shadow {
    /* Re-purpose : ombre de contact réaliste sous le laptop (plus douce, allongée) */
    inset: auto 8% -8px 8%;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(15, 27, 61, 0.30) 0%, transparent 70%);
    filter: blur(14px);
    border-radius: 50%;
    transform: translateY(20px) scaleX(0.6);
    transition: opacity 1.4s ease 0.3s, transform 1.4s cubic-bezier(.16, .77, .15, 1.05) 0.3s;
}
.showcase-photo--floating .photo-glow {
    /* Halo discret en arrière-plan, sous le laptop */
    top: auto; right: 50%; bottom: -20px; left: auto;
    width: 70%; height: 100px;
    transform: translateX(50%) scale(0.7);
    background: radial-gradient(ellipse at center, rgba(231, 54, 57, 0.18) 0%, transparent 75%);
}
.showcase-photo--floating.is-visible .photo-img {
    opacity: 1;
    transform: perspective(1400px) translateY(0) rotateX(0deg) rotateZ(0deg) scale(1);
    animation: laptopLevitate 7s ease-in-out 1.6s infinite;
}
.showcase-photo--floating.is-visible .photo-shadow {
    opacity: 1;
    transform: translateY(0) scaleX(1);
    animation: laptopShadow 7s ease-in-out 1.6s infinite;
}
.showcase-photo--floating.is-visible .photo-glow {
    opacity: 1;
    transform: translateX(50%) scale(1);
}

/* Lévitation : le laptop monte légèrement, l'ombre se rétracte (contact lift) */
@keyframes laptopLevitate {
    0%, 100% { transform: perspective(1400px) translateY(0) rotateX(0deg) rotateZ(0deg) scale(1); }
    50%      { transform: perspective(1400px) translateY(-14px) rotateX(-1.5deg) rotateZ(0.3deg) scale(1); }
}
@keyframes laptopShadow {
    0%, 100% { transform: translateY(0) scaleX(1);   opacity: 1; }
    50%      { transform: translateY(0) scaleX(0.78); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-photo--floating.is-visible .photo-img,
    .showcase-photo--floating.is-visible .photo-shadow { animation: none; }
}
.showcase-photo .photo-shadow {
    position: absolute; z-index: 1;
    inset: 16px -16px -16px 16px;
    background: linear-gradient(135deg, rgba(231, 54, 57, 0.16) 0%, rgba(15, 27, 61, 0.10) 100%);
    border-radius: 28px;
    filter: blur(2px);
    opacity: 0;
    transform: translateY(60px) rotate(-2deg);
    transition: opacity 1.4s ease 0.25s, transform 1.4s cubic-bezier(.16, .77, .15, 1.05) 0.2s;
}
.showcase-photo .photo-glow {
    position: absolute; z-index: 0;
    top: -40px; right: -40px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(231, 54, 57, 0.32) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 1.6s ease 0.4s, transform 1.6s ease 0.4s;
    pointer-events: none;
}

/* Quand la section devient visible (data-photo-reveal + classe .is-visible) */
.showcase-photo.is-visible .photo-img {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    animation: photoFloat 6s ease-in-out 1.4s infinite;
}
.showcase-photo.is-visible .photo-shadow {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}
.showcase-photo.is-visible .photo-glow {
    opacity: 1;
    transform: scale(1);
}

/* Flottement idle subtil après l'entrée */
@keyframes photoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(0.5deg); }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .showcase-photo .photo-img,
    .showcase-photo .photo-shadow,
    .showcase-photo .photo-glow { transition: opacity .3s ease; transform: none; }
    .showcase-photo.is-visible .photo-img { animation: none; }
}
.hero--centered .hero-content h1 { font-size: clamp(36px, 5.5vw, 64px); }
.hero--centered .hero-badge { margin: 0 auto 18px; }
.hero-grid {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
}

/* Placeholder pour visuels à intégrer par le designer */
.showcase-visual--placeholder,
.download-visual--placeholder {
    position: relative; min-height: 320px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(231, 54, 57, 0.06) 0%, rgba(15, 27, 61, 0.06) 100%);
    border: 2px dashed rgba(15, 27, 61, 0.10);
    display: flex; align-items: center; justify-content: center;
}
.showcase-visual--placeholder::after,
.download-visual--placeholder::after {
    content: "Visuel à venir";
    color: rgba(15, 27, 61, 0.30);
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-content { z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red-l); color: var(--red);
    padding: 8px 16px; border-radius: 99px;
    font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--navy);
    margin-bottom: 20px;
}
.hero h1 .accent {
    background: var(--gradient-red-navy);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 17px; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 30px;
    max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-reassure {
    display: flex; gap: 22px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--gray-600); font-weight: 600;
}
.hero-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.hero-reassure span::before { content: '✓'; color: var(--green); font-weight: 900; }
.hero-mockup {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
/* Mockup browser */
.mockup-browser {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease;
}
.mockup-browser:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.mockup-browser-bar {
    background: var(--gray-100);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--gray-200);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--gray-200); }
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-url {
    flex: 1; background: var(--white); color: var(--gray-600);
    padding: 6px 14px; border-radius: 99px;
    font-size: 11px; margin-left: 8px;
    text-align: center;
}
/* Mockup mobile floating */
.mockup-mobile {
    position: absolute; bottom: -40px; right: -30px;
    width: 200px;
    border-radius: 28px;
    background: var(--navy);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    transform: rotate(6deg);
    z-index: 3;
}
.mockup-mobile-screen {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 9/19;
}

/* ───────── TRUST BAR ───────── */
.trust-bar {
    background: var(--navy);
    padding: 32px 0;
    color: rgba(255,255,255,0.85);
}
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-item-icon { font-size: 22px; }
.trust-item-text { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.trust-item-sub { font-size: 10px; color: rgba(255,255,255,0.55); }

/* ───────── STATS ───────── */
.stats { padding: 60px 0; background: var(--gray-50); }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.stat-value {
    font-size: 38px; font-weight: 900; color: var(--red);
    letter-spacing: -0.02em; line-height: 1;
}
.stat-label { font-size: 12.5px; color: var(--gray-600); margin-top: 6px; font-weight: 600; }

/* ───────── SECTION TITLES ───────── */
.section { padding: 90px 0; }
.section-eyebrow {
    text-align: center;
    color: var(--red);
    font-size: 12px; font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto; margin-right: auto;
}
.section-sub {
    text-align: center;
    font-size: 16px; color: var(--gray-600); line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ───────── HOW IT WORKS ───────── */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute; top: 36px; left: 12.5%; right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--gray-200) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.step-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--gradient-red-navy);
    color: var(--white);
    font-size: 28px; font-weight: 900;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(231, 54, 57, 0.3);
}
.step-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.step-desc { color: var(--gray-600); font-size: 14px; line-height: 1.6; }

/* ───────── FEATURES GRID ───────── */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all .3s;
}
.feature-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--red-l);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.feature-card:nth-child(2n) .feature-icon { background: rgba(15, 27, 61, 0.08); }
.feature-card:nth-child(3n) .feature-icon { background: rgba(16, 185, 129, 0.1); }
.feature-card:nth-child(4n) .feature-icon { background: rgba(245, 158, 11, 0.1); }
.feature-card:nth-child(5n) .feature-icon { background: rgba(139, 92, 246, 0.1); }
.feature-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.feature-desc { color: var(--gray-600); font-size: 13.5px; line-height: 1.65; }

/* ───────── SHOWCASE (alternating sections) ───────── */
.showcase {
    background: var(--gray-50);
    padding: 100px 0;
}
.showcase-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 70px; align-items: center;
    margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1fr 1fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }
.showcase-eyebrow {
    color: var(--red); font-size: 12px; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 10px;
}
.showcase-title {
    font-size: clamp(26px, 3vw, 36px); font-weight: 900;
    letter-spacing: -0.02em; line-height: 1.2;
    color: var(--navy); margin-bottom: 18px;
}
.showcase-desc {
    font-size: 15.5px; color: var(--gray-600); line-height: 1.75;
    margin-bottom: 20px;
}
.showcase-list { list-style: none; padding: 0; margin: 0 0 24px; }
.showcase-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 8px 0; font-size: 14px; color: var(--gray-800);
}
.showcase-list li::before {
    content: '✓';
    width: 22px; height: 22px; flex-shrink: 0;
    background: var(--red); color: var(--white);
    border-radius: 50%; font-weight: 900; font-size: 11px;
    display: flex; align-items: center; justify-content: center;
}
.showcase-visual {
    position: relative;
}
.showcase-visual-bg {
    position: absolute; top: -30px; right: -30px; left: -30px; bottom: -30px;
    background: radial-gradient(circle, rgba(231, 54, 57, 0.08) 0%, transparent 60%);
    z-index: 0;
}
.showcase-visual .mockup-browser, .showcase-visual .mockup-phone-frame {
    position: relative; z-index: 1;
}
.mockup-phone-frame {
    width: 280px; margin: 0 auto;
    background: var(--navy); border-radius: 34px; padding: 10px;
    box-shadow: var(--shadow-lg);
}
.mockup-phone-screen {
    background: var(--white);
    border-radius: 26px;
    aspect-ratio: 9 / 19;
    overflow: hidden;
}

/* ───────── PRICING ───────── */
.pricing-toggle {
    display: flex; justify-content: center; align-items: center;
    gap: 14px; margin-bottom: 40px;
}
.pricing-toggle label {
    font-size: 14px; font-weight: 700; cursor: pointer;
    color: var(--gray-600); transition: color .2s;
}
.pricing-toggle label.active { color: var(--navy); }
.toggle-switch {
    position: relative; width: 56px; height: 30px;
    background: var(--navy); border-radius: 99px; cursor: pointer;
    transition: background .3s;
}
.toggle-switch.yearly { background: var(--green); }
.toggle-switch::after {
    content: '';
    position: absolute; top: 3px; left: 3px;
    width: 24px; height: 24px;
    background: var(--white); border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    transition: transform .3s;
}
.toggle-switch.yearly::after { transform: translateX(26px); }
.toggle-badge {
    background: rgba(16, 185, 129, 0.15); color: var(--green);
    font-size: 11px; font-weight: 800;
    padding: 4px 10px; border-radius: 99px;
}
.pricing-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px;
    transition: all .3s;
    display: flex; flex-direction: column;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--red);
    box-shadow: 0 16px 40px rgba(231,54,57,0.15);
    transform: scale(1.03);
}
.pricing-card:hover:not(.featured) {
    border-color: var(--navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.pricing-featured-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 800;
    padding: 4px 12px; border-radius: 99px;
    letter-spacing: 0.05em;
}
.pricing-icon { font-size: 36px; margin-bottom: 10px; }
.pricing-name { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.pricing-desc { font-size: 11.5px; color: var(--gray-600); min-height: 32px; margin-bottom: 18px; line-height: 1.5; }
.pricing-price {
    margin-bottom: 18px; padding: 14px 0;
    border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
}
.pricing-price-amount {
    font-size: 32px; font-weight: 900; color: var(--navy);
    letter-spacing: -0.02em; line-height: 1;
}
.pricing-price-currency { font-size: 14px; color: var(--gray-600); }
.pricing-price-period { font-size: 11px; color: var(--gray-600); margin-top: 4px; }
.pricing-features {
    list-style: none; padding: 0; margin: 0 0 20px;
    flex: 1;
}
.pricing-features li {
    font-size: 12px; color: var(--gray-800);
    padding: 5px 0;
    display: flex; gap: 6px; align-items: flex-start;
    line-height: 1.5;
}
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ───────── DOWNLOAD APP ───────── */
.download {
    background: var(--gradient-red-navy);
    padding: 90px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.download::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 10% 10%, rgba(255,255,255,0.1) 0%, transparent 40%),
      radial-gradient(circle at 90% 90%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.download-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 50px; align-items: center;
    position: relative; z-index: 1;
}
.download-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
    position: relative;
    width: 280px; max-width: 100%;
    aspect-ratio: 9 / 19.5;
    background: #0F1B3D;
    border-radius: 38px;
    padding: 12px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,.06),
        0 20px 60px rgba(0,0,0,.5),
        inset 0 0 0 1px rgba(255,255,255,.08);
    overflow: hidden;
}
.phone-mockup-notch {
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone-mockup-screen {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    border-radius: 28px;
    background: #fff;
}
@media (max-width: 768px) {
    .phone-mockup { width: 240px; }
}
.download h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 900;
    letter-spacing: -0.02em; line-height: 1.15;
    margin-bottom: 16px;
}
.download p {
    font-size: 16px; line-height: 1.75; opacity: 0.9;
    margin-bottom: 30px; max-width: 480px;
}
.download-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.download-badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--navy); color: var(--white);
    padding: 12px 22px; border-radius: 13px;
    transition: transform .2s;
}
.download-badge:hover { transform: translateY(-2px); background: #000; }
.download-badge.soon { background: rgba(255,255,255,.08); border: 1.5px dashed rgba(255,255,255,.35); cursor: not-allowed; position: relative; opacity: .8; }
.download-badge.soon:hover { transform: none; background: rgba(255,255,255,.08); }
.download-badge-icon { font-size: 28px; }
.download-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.download-badge-small { font-size: 10px; opacity: 0.8; }
.download-badge-big { font-size: 15px; font-weight: 800; }
.download-badge-pill { background: #E73639; color: #fff; font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 99px; margin-left: 6px; text-transform: uppercase; letter-spacing: .6px; }
.download-visual {
    position: relative; display: flex; justify-content: center;
}
.download-qr {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    color: var(--navy);
    text-align: center;
    max-width: 220px;
}
.download-qr-img {
    width: 160px; height: 160px;
    background: repeating-conic-gradient(var(--navy) 0% 25%, var(--white) 0% 50%) 50% / 12px 12px;
    border-radius: var(--radius-sm);
    margin: 0 auto 10px;
    /* placeholder QR look — sera remplacé par un vrai QR */
}
.download-qr-text { font-size: 11px; font-weight: 700; }

/* ───────── TESTIMONIALS ───────── */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testi-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--gray-200);
    position: relative;
}
.testi-card::before {
    content: '"';
    position: absolute; top: 8px; right: 24px;
    font-size: 80px; color: var(--red-l);
    line-height: 1; font-family: Georgia, serif;
}
.testi-text { font-size: 14.5px; line-height: 1.75; color: var(--gray-800); margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-red-navy);
    color: var(--white); font-weight: 900; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.testi-name { font-weight: 800; font-size: 14px; color: var(--navy); }
.testi-role { font-size: 11.5px; color: var(--gray-600); }

/* ───────── FAQ ───────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left;
    padding: 20px 24px;
    font-size: 15px; font-weight: 700;
    color: var(--navy);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.faq-question .arrow {
    width: 22px; height: 22px;
    background: var(--red-l); color: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px;
    transition: transform .3s;
}
.faq-item.open .faq-question .arrow { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
    color: var(--gray-600);
    font-size: 14px; line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 320px; padding: 0 24px 22px; }

/* ───────── FINAL CTA ───────── */
.final-cta {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 900;
    letter-spacing: -0.02em; line-height: 1.2;
    margin-bottom: 16px;
}
.final-cta p { font-size: 17px; opacity: 0.85; margin-bottom: 30px; }

/* ───────── FOOTER ───────── */
.footer {
    background: #0A1029;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 28px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
    font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { padding: 5px 0; }
.footer-col a {
    font-size: 13px; transition: color .2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
    flex-wrap: wrap; gap: 16px;
}

/* ───────── ANIMATIONS ───────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* Reveal-at-scroll : opacity 0 SEULEMENT si JS est actif (.js-enabled est ajouté par le JS).
   Sans JS ou si JS plante : le contenu reste visible (résilience). */
.js-enabled .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-card.featured { transform: none; }
}
@media (max-width: 900px) {
    .hero-grid, .showcase-row, .showcase-row.reverse, .download-grid {
        grid-template-columns: 1fr; gap: 40px;
    }
    .showcase-row.reverse .showcase-text { order: 1; }
    .showcase-row.reverse .showcase-visual { order: 2; }
    .stats-grid, .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; gap: 18px; }
    .steps-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .mockup-mobile { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
    .section { padding: 60px 0; }
    .hero { padding: 100px 0 50px; }
    .stats-grid, .features-grid, .testimonials-grid,
    .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .container { padding: 0 18px; }
}


/* Tres petit : cache 'Essai gratuit', met 'Connexion' en avant en rouge plein */
    .nav-cta .btn-primary { display: none !important; }
    .nav-cta .btn-ghost {
        background: var(--red, #E73639) !important;
        color: #fff !important;
        border: none !important;
        padding: 9px 18px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
    }
    .nav-cta .btn-ghost:hover { background: #c12d30 !important; }
}


/* NAV-MOBILE-FIX */
@media (max-width: 640px) {
    .nav-inner { padding: 10px 14px !important; gap: 8px !important; }
    .nav-logo img { height: 28px !important; }
    .nav-logo span { font-size: 14px !important; }
    .nav-cta { gap: 6px !important; }
    .nav-cta .btn { padding: 7px 12px !important; font-size: 11.5px !important; }
}
@media (max-width: 420px) {
    /* Tres petit : cache 'Essai gratuit', met 'Connexion' en avant en rouge plein */
    .nav-cta .btn-primary { display: none !important; }
    .nav-cta .btn-ghost {
        background: var(--red, #E73639) !important;
        color: #fff !important;
        border: none !important;
        padding: 9px 18px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
    }
    .nav-cta .btn-ghost:hover { background: #c12d30 !important; }
}
