/* ============================================================
   GEOFIXE — Design System v2
   Refonte professionnelle 2025
   ============================================================ */

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === VARIABLES === */
:root {
    /* Brand */
    --primary-color:  #a238ff;
    --primary-dark:   #8520e8;
    --primary-light:  #c063ff;

    /* Backgrounds — fond très sombre légèrement teinté bleu pour le premium */
    --bg-primary:    #08080f;
    --bg-secondary:  #0e0e1b;
    --bg-tertiary:   #15152a;

    /* Textes */
    --text-primary:   #eeeeff;
    --text-secondary: #8888aa;
    --text-muted:     #52526e;

    /* Bordures */
    --border-color:  rgba(255, 255, 255, 0.07);
    --border-purple: rgba(162, 56, 255, 0.22);

    /* Ombres */
    --shadow-primary: rgba(162, 56, 255, 0.32);
    --shadow-dark:    rgba(0, 0, 0, 0.65);

    /* Gradients */
    --gradient-primary:    linear-gradient(135deg, #a238ff 0%, #c44bff 100%);
    --gradient-background: linear-gradient(160deg, #08080f 0%, #130a22 100%);

    /* Rayons */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* Police */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

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

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-pulse {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoPulse 1.4s ease-in-out infinite;
    will-change: transform;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1)    translateZ(0); opacity: 1; }
    50%       { transform: scale(0.94) translateZ(0); opacity: 0.6; }
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}
/* Fond transparent au départ, opaque au scroll */
.header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 15, 0);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
    z-index: -1;
}
.header.scrolled::after {
    background: rgba(8, 8, 15, 0.93);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-color: rgba(162, 56, 255, 0.1);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

/* Compatibilité anciennes pages (nav-brand + toggle sans header-inner) */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}
.header .nav-brand { display: flex; align-items: center; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    gap: 20px;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
}

/* Actions header desktop — renommé pour éviter conflit avec dashboard.html */
.header-cta-group {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
@media (min-width: 900px) { .header-cta-group { display: flex; } }

/* Navigation desktop */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
@media (min-width: 900px) { .desktop-nav { display: flex; } }

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

/* NOTE: .header-actions est intentionnellement absent ici — dashboard.html
   définit sa propre version dans dashboard.css pour ne pas entrer en conflit */

.nav-cta-secondary {
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color 0.2s ease;
}
.nav-cta-secondary:hover { color: var(--text-primary); }

.nav-cta-primary {
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}
.nav-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px var(--shadow-primary);
}

/* Hamburger */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
@media (min-width: 900px) { .mobile-menu-toggle { display: none; } }

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(162, 56, 255, 0.42);
}
.btn-primary:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}
.btn-primary.btn-lg {
    padding: 17px 34px;
    font-size: 1.05rem;
    min-height: 56px;
}
.btn-primary.btn-full { width: 100%; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-purple);
    background: rgba(162, 56, 255, 0.06);
}
.btn-ghost.btn-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
    min-height: 56px;
}

/* Legacy compat */
.pricing-button {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(162, 56, 255, 0.4);
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(162, 56, 255, 0.1);
    border: 1px solid rgba(162, 56, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.72;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 72px;
    overflow: hidden;
}

/* Fond : grille + lueurs */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(162, 56, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(162, 56, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}
.hero-glow-1 {
    width: 640px;
    height: 640px;
    background: rgba(162, 56, 255, 0.13);
    top: -200px;
    right: -80px;
    animation: heroGlow1 9s ease-in-out infinite;
}
.hero-glow-2 {
    width: 420px;
    height: 420px;
    background: rgba(90, 20, 180, 0.1);
    bottom: -120px;
    left: -80px;
    animation: heroGlow2 11s ease-in-out infinite;
}
@keyframes heroGlow1 {
    0%, 100% { transform: translate(0,   0)   translateZ(0); }
    50%       { transform: translate(-28px, 18px) translateZ(0); }
}
@keyframes heroGlow2 {
    0%, 100% { transform: translate(0, 0)    translateZ(0); }
    50%       { transform: translate(22px, -26px) translateZ(0); }
}
.hero > .container { position: relative; z-index: 1; }

/* Layout hero */
.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}
@media (min-width: 1024px) {
    .hero-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 80px;
    }
    .hero-content { flex: 1; max-width: 580px; }
}

.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

/* Badge hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary-light);
    background: rgba(162, 56, 255, 0.1);
    border: 1px solid rgba(162, 56, 255, 0.22);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out both;
}
.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(162,56,255,0.2); }
    50%       { box-shadow: 0 0 0 5px rgba(162,56,255,0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-14px) translateZ(0); }
    to   { opacity: 1; transform: translateY(0)     translateZ(0); }
}

/* Titre hero */
.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.7s ease-out 0.15s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px) translateZ(0); }
    to   { opacity: 1; transform: translateY(0)    translateZ(0); }
}

/* Description hero */
.hero-description {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.7s ease-out 0.25s both;
}
.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Checklist hero */
.hero-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2.25rem;
    animation: fadeInUp 0.7s ease-out 0.35s both;
}
@media (min-width: 1024px) { .hero-checklist { align-items: flex-start; } }

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(162, 56, 255, 0.14);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* CTA actions hero */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.7s ease-out 0.45s both;
}
@media (min-width: 480px)  {
    .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 1024px) {
    .hero-actions { justify-content: flex-start; }
}

.hero-guarantee {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    animation: fadeInUp 0.7s ease-out 0.55s both;
}
@media (min-width: 1024px) { .hero-guarantee { justify-content: flex-start; } }

/* ============================================================
   PHONE MOCKUP & FLOATING BADGES
   ============================================================ */
.hero-visual {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.phone-outer {
    position: relative;
    display: inline-block;
}
.phone-mockup {
    width: 220px;
    height: 450px;
    background: linear-gradient(155deg, #1a1a2e 0%, #0d0d1f 100%);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.07),
        0 0 0 8px rgba(162,56,255,0.06),
        0 40px 80px rgba(0,0,0,0.7),
        0 0 100px rgba(162,56,255,0.1);
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0)    translateZ(0); }
    50%       { transform: translateY(-10px) translateZ(0); }
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #050510;
    border-radius: 32px;
    overflow: hidden;
}
.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 18px 14px 16px;
}

/* Barre de statut simulée */
.app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.57rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}
.app-signal { letter-spacing: -2px; }

.app-header-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.app-logo-small {
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Numéro */
.app-number-section {
    text-align: center;
    margin-bottom: 14px;
    padding: 14px;
    background: rgba(162,56,255,0.07);
    border: 1px solid rgba(162,56,255,0.14);
    border-radius: 16px;
}
.app-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 7px;
}
.number-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}
.number-region {
    font-size: 0.56rem;
    color: var(--text-secondary);
}

/* Statut ligne */
.app-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.6rem;
    color: rgba(74, 222, 128, 0.9);
    margin-bottom: 22px;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* Boutons d'action */
.call-interface { margin-top: auto; }
.call-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.action-btn.action-call {
    background: rgba(162,56,255,0.18);
    border-color: rgba(162,56,255,0.28);
    box-shadow: 0 0 20px rgba(162,56,255,0.18);
}

/* Floating badges */
/* Bulles animées — naissent du téléphone et s'effacent vers le haut */
.phone-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.phone-bubble {
    position: absolute;
    top: 8%;
    left: var(--bx, 20%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(162, 56, 255, 0.18);
    border: 1px solid rgba(162, 56, 255, 0.35);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    backdrop-filter: blur(6px);
    animation: bubbleRise 5s ease-out var(--bdelay, 0s) infinite both;
    will-change: transform, opacity;
}

@keyframes bubbleRise {
    0%   { opacity: 0;   transform: translateY(0)     scale(0.75); }
    15%  { opacity: 1;   transform: translateY(-16px)  scale(1);    }
    75%  { opacity: 0.8; transform: translateY(-70px)  scale(0.97); }
    100% { opacity: 0;   transform: translateY(-95px)  scale(0.93); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
}
.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.trust-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 28px;
}
.trust-value {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.trust-value sup { font-size: 0.8rem; font-weight: 700; }
.trust-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}
.trust-divider {
    width: 1px;
    height: 44px;
    background: var(--border-color);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .trust-divider { display: none; }
    .trust-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .trust-item { padding: 0 12px; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 100px 0; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    contain: layout style;
}
.feature-card.animate {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}
.feature-card:hover {
    border-color: var(--border-purple);
    box-shadow: 0 4px 24px rgba(162, 56, 255, 0.1);
    transform: translateY(-3px) translateZ(0);
}
/* Désactiver hover translateY sur mobile pour éviter scroll conflict */
@media (max-width: 768px) {
    .feature-card:hover { transform: none; }
}
.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(162, 56, 255, 0.1);
    border: 1px solid rgba(162, 56, 255, 0.15);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.feature-body { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.feature-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Mobile hover effet (compatibilité avec JS) */
.feature-card.mobile-hover {
    border-color: var(--border-purple);
    box-shadow: 0 8px 28px rgba(162, 56, 255, 0.12);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}
@media (min-width: 900px) {
    .steps-grid { flex-direction: row; align-items: flex-start; }
}
.step-card {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.step-card:hover {
    border-color: var(--border-purple);
    box-shadow: 0 4px 24px rgba(162,56,255,0.08);
}
.step-card:hover::before { opacity: 1; }

/* Scoped à .how-it-works pour ne pas écraser subscription.css et app.html */
.how-it-works .step-number {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}
.how-it-works .step-content { display: flex; flex-direction: column; gap: 0.75rem; }
.how-it-works .step-icon { font-size: 1.75rem; line-height: 1; }
.how-it-works .step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.how-it-works .step-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.step-connector {
    display: none;
    align-items: center;
    justify-content: center;
    padding-top: 44px;
    flex-shrink: 0;
}
@media (min-width: 900px) { .step-connector { display: flex; } }
.connector-arrow {
    font-size: 1.4rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 100px 0; }

.pricing-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .pricing-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
}
.pricing-card {
    flex: 1;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-purple);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(162,56,255,0.05),
        0 24px 64px rgba(0,0,0,0.35),
        0 0 80px rgba(162,56,255,0.07);
    opacity: 0;
    transform: scale(0.97) translateZ(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.pricing-card.animate {
    opacity: 1;
    transform: scale(1) translateZ(0);
}
.pricing-badge-pill {
    display: inline-flex;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.75rem;
}
.pricing-plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
}
.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 0.75rem;
}
.price-amount {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -0.045em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.price-details {
    display: flex;
    flex-direction: column;
    padding-bottom: 7px;
}
.price-period {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.price-vat {
    font-size: 0.73rem;
    color: var(--text-muted);
}
.pricing-savings {
    font-size: 0.84rem;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(162,56,255,0.06);
    border: 1px solid rgba(162,56,255,0.12);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}
.pricing-savings strong { color: var(--primary-light); }

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}
.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.pf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(162, 56, 255, 0.14);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-cta { margin-bottom: 1rem; }
.pricing-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Tableau comparatif */
.pricing-comparison {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
}
.comparison-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.comparison-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.84rem;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-header {
    background: rgba(255,255,255,0.025);
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.comparison-row > span:first-child { color: var(--text-secondary); }
.col-geofixe { text-align: center; font-weight: 600; color: var(--text-primary); }
.col-geofixe.col-win { color: var(--primary-light); }
.col-other { text-align: center; color: var(--text-muted); }

/* ============================================================
   REASSURANCE
   ============================================================ */
.reassurance {
    padding: 84px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .reassurance-grid { grid-template-columns: repeat(4, 1fr); }
}
.reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.75rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: border-color 0.25s ease;
}
.reassurance-item:hover { border-color: var(--border-purple); }
.reassurance-icon { font-size: 2rem; }
.reassurance-item h3 {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--text-primary);
}
.reassurance-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: 108px 0;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 700px; height: 700px;
    background: rgba(162,56,255,0.07);
    border-radius: 50%;
    filter: blur(90px);
    transform: translate(-50%, -50%) translateZ(0);
    pointer-events: none;
}
.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cta-content.animate {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}
.cta-badge {
    display: inline-flex;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-light);
    background: rgba(162,56,255,0.1);
    border: 1px solid rgba(162,56,255,0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}
.cta-title {
    font-size: clamp(1.8rem, 5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.cta-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 2.5rem;
}
.btn-hero-cta {
    font-size: 1.1rem !important;
    padding: 18px 40px !important;
    min-height: 60px !important;
}
.cta-footnote {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 68px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 52px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-tagline {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.6;
    max-width: 240px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-purple);
    background: rgba(162,56,255,0.08);
}
.footer-col-title {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    font-size: 0.86rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.footer-link:hover { color: var(--text-secondary); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal-note { font-size: 0.73rem !important; max-width: 380px; }

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .hero { padding: 90px 0 56px; min-height: auto; }
    .hero-layout { gap: 44px; }
    .phone-mockup { width: 195px; height: 395px; }

    .features,
    .how-it-works,
    .pricing { padding: 72px 0; }
    .final-cta { padding: 80px 0; }
    .reassurance { padding: 64px 0; }

    /* Réduction du backdrop-filter sur mobile (coûteux) */
    .header.scrolled::after {
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    /* Désactiver particules flottantes JS */
    .floating-particles { display: none !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.05rem; }
    .phone-outer { transform: scale(0.88); transform-origin: center top; }
    .reassurance-grid { grid-template-columns: 1fr; }
    .comparison-row { grid-template-columns: 1fr 85px 85px; font-size: 0.78rem; }
}

/* ============================================================
   DEV CREDIT
   ============================================================ */
.dev-credit {
    display: block;
    text-align: center;
    font-family: 'Sacramento', cursive;
    font-size: 1.25rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    opacity: 0.35;
    transition: opacity 0.2s, text-shadow 0.2s;
    padding-top: 18px;
    padding-bottom: 4px;
    line-height: 1.2;
    user-select: none;
    cursor: default;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.dev-credit:hover { opacity: 1; }
.dev-credit:active,
.dev-credit:focus { opacity: 1; text-shadow: 0 0 12px currentColor; outline: none; }
.dev-credit--lit  { opacity: 1 !important; text-shadow: 0 0 12px currentColor !important; }

@keyframes dev-vibrate {
    0%,100% { transform: translateX(0) rotate(0deg); }
    20%     { transform: translateX(-3px) rotate(-0.5deg); }
    40%     { transform: translateX(3px) rotate(0.5deg); }
    60%     { transform: translateX(-2px) rotate(-0.3deg); }
    80%     { transform: translateX(2px) rotate(0.3deg); }
}
.dev-credit--vibrating {
    animation: dev-vibrate 0.12s linear infinite;
    cursor: wait !important;
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .hero-glow-1, .hero-glow-2, .phone-bubble,
    .floating-particles, .phone-mockup { animation: none !important; }
}
