/* ==========================================================================
   MYSAV — STYLE INSPIRÉ RECHARGE.FR
   Moderne · Vivant · Plateforme de confiance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
    /* Couleurs principales — inspirées Recharge */
    --green: #00D26A;
    --green-dark: #00A854;
    --green-light: #E6FAF0;

    --purple: #7C3AED;
    --purple-dark: #5B21B6;
    --purple-light: #F3E8FF;

    --blue: #3B82F6;
    --blue-light: #EFF6FF;

    /* Dégradé signature */
    --gradient: linear-gradient(135deg, #7C3AED 0%, #00D26A 100%);

    /* États */
    --success: #00A854;
    --success-bg: #E6FAF0;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;

    /* Neutres */
    --bg: #FFFFFF;
    --bg-soft: #F9FAFB;
    --bg-muted: #F3F4F6;

    --ink: #0F172A;
    --ink-soft: #334155;
    --ink-mute: #64748B;
    --ink-light: #94A3B8;

    --line: #E5E7EB;
    --line-soft: #F1F5F9;

    /* Typo */
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
    --shadow-green: 0 10px 30px -8px rgba(0, 210, 106, 0.35);
    --shadow-purple: 0 10px 30px -8px rgba(124, 58, 237, 0.30);

    /* Rayons */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Rythme */
    --gutter: 24px;
    --pad-section: 96px;
    --max: 1200px;
    --header-h: 76px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    top: 0 !important;
    padding-top: var(--header-h);
    letter-spacing: -0.005em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ==========================================================================
   3. CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ==========================================================================
   4. TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--ink-mute);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

/* Logo */
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: var(--shadow-green);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all 0.2s var(--ease);
}

.nav-link i { font-size: 0.8125rem; opacity: 0.6; }

.nav-link:hover {
    color: var(--green-dark);
    background: var(--green-light);
}

.nav-item.active .nav-link {
    color: var(--green-dark);
    background: var(--green-light);
    font-weight: 600;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Burger */
.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-size: 1.125rem;
    transition: all 0.2s var(--ease);
}

.mobile-menu-btn:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green-dark);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 998;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   6. TRADUCTION
   ========================================================================== */

.custom-translate-wrapper { position: relative; }

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.btn-icon:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green-dark);
}

.current-lang-code {
    padding: 2px 7px;
    background: var(--gradient);
    color: white;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xl);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s var(--ease);
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s var(--ease);
}

.lang-dropdown li:hover {
    background: var(--green-light);
    color: var(--green-dark);
}

.lang-dropdown .flag { font-size: 1.125rem; }

/* Google Translate caché */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

.goog-te-combo { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body.translated-ltr, body.translated-rtl { top: 0 !important; }

/* ==========================================================================
   7. BOUTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: none;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s var(--ease);
    position: relative;
}

.btn i { font-size: 0.9375rem; }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -8px rgba(0, 210, 106, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-white {
    background: white;
    color: var(--green-dark);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: white;
    color: var(--purple);
    border-color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--r-lg);
}

/* ==========================================================================
   8. HERO
   ========================================================================== */

.hero {
    position: relative;
    padding: 100px 0 96px;
    overflow: hidden;

    /* Image de fond */
    background-image:
        linear-gradient(
            100deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 45%,
            rgba(255, 255, 255, 0.55) 75%,
            rgba(255, 255, 255, 0.25) 100%
        ),
        url('../images/hero-bg.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -150px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 210, 106, 0.07), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: white;
    border: 1px solid var(--green-light);
    border-radius: var(--r-full);
    color: var(--green-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-badge i { color: var(--green); }

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--ink);
}

.hero-title .highlight {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ink-mute);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.9375rem;
}

.feature i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 8px;
    font-size: 0.75rem;
}

/* ==========================================================================
   9. SERVICES
   ========================================================================== */

.services {
    padding: var(--pad-section) 0;
    background: white;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: var(--ink);
}

.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--ink-mute);
    max-width: 560px;
    margin: 0 auto 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: all 0.3s var(--ease);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: var(--r-md);
    font-size: 1.375rem;
    margin-bottom: 22px;
    box-shadow: var(--shadow-green);
    transition: transform 0.3s var(--ease);
}

.service-card:hover .service-icon { transform: scale(1.08); }

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--ink);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ink-mute);
    margin-bottom: 22px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.2s var(--ease);
}

.service-link:hover { gap: 12px; color: var(--purple); }

/* ==========================================================================
   10. MARQUES
   ========================================================================== */

.brands {
    padding: 72px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: all 0.25s var(--ease);
}

.brand-item:hover {
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.25s var(--ease);
}

.brand-item:hover .brand-icon img {
    filter: grayscale(0);
    opacity: 1;
}

.brand-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.2;
}

.brand-item:hover .brand-name { color: var(--green-dark); }

/* ==========================================================================
   11. CTA
   ========================================================================== */

.cta {
    padding: var(--pad-section) 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   12. FORMULAIRES
   ========================================================================== */

.form-page {
    background: var(--bg-soft);
    min-height: 100vh;
}

.form-container {
    padding: 56px 0 80px;
}

.form-header {
    text-align: center;
    margin-bottom: 44px;
}

.form-header h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--ink);
}

.form-header p {
    font-size: 1.0625rem;
    color: var(--ink-mute);
    max-width: 520px;
    margin: 0 auto;
}

.form-section {
    background: white;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto 20px;
    transition: box-shadow 0.3s var(--ease);
}

.form-section:hover { box-shadow: var(--shadow-md); }

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
    color: var(--ink);
}

.form-section h2 i { color: var(--green); font-size: 1.125rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    color: var(--ink);
    outline: none;
    transition: all 0.2s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-light); }

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--ink-light);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}

#code_carte,
#carte_code {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--green-light);
    border: 1px solid #A7F3D0;
    border-radius: var(--r-md);
    margin-top: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--green);
    cursor: pointer;
    flex-shrink: 0;
}

.form-check label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--ink-soft);
    cursor: pointer;
    line-height: 1.55;
    margin: 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--green);
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-mute);
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-actions .btn {
    width: 100%;
    max-width: 420px;
}

.form-actions p {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--ink-mute);
}

.alert {
    padding: 15px 18px;
    border-radius: var(--r-md);
    margin-bottom: 20px;
    font-size: 0.9375rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.alert-error {
    background: var(--danger-bg);
    border: 1px solid #FECACA;
    color: var(--danger);
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid #A7F3D0;
    color: var(--success);
}

/* ==========================================================================
   13. CONFIRMATION
   ========================================================================== */

.confirmation-page {
    background: var(--bg-soft);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.confirmation-container {
    flex: 1;
    padding: 64px 0 80px;
}

.confirmation-card {
    background: white;
    padding: 56px 44px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.confirmation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
}

.confirmation-icon {
    width: 88px;
    height: 88px;
    background: var(--success-bg);
    border: 1px solid #A7F3D0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 26px;
    font-size: 2rem;
    color: var(--success);
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

.confirmation-card h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.625rem, 3.5vw, 2.125rem);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--ink);
}

.confirmation-message {
    font-size: 1.0625rem;
    color: var(--ink-mute);
    line-height: 1.6;
    margin-bottom: 32px;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* ==========================================================================
   14. CONTACT
   ========================================================================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    background: white;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s var(--ease);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.contact-item i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: var(--r-md);
    font-size: 1.125rem;
    margin: 0 auto 18px;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--ink);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.main-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 44px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.footer-logo i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 380px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.25s var(--ease);
}

.footer-social a:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
    transform: translateY(-3px);
}

.footer-section h3 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: white;
    margin-bottom: 22px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}

.footer-section ul li a:hover {
    color: var(--green);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
}

/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-content > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; --pad-section: 64px; --gutter: 20px; }

    h1 { font-size: 2rem; }

    .mobile-menu-btn { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: white;
        padding: calc(var(--header-h) + 24px) 24px 24px;
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.12);
        transition: right 0.3s var(--ease);
        z-index: 999;
        overflow-y: auto;
        display: block;
        justify-content: initial;
    }

    .main-nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--r-md);
        width: 100%;
    }

    .hero { padding: 64px 0 72px; }
    .hero-title { font-size: 2.25rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-features { flex-direction: column; gap: 16px; align-items: center; }

    .services { padding: 64px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 28px 24px; }

    .brands { padding: 48px 0; }
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 32px;
    }
    .brand-item { padding: 16px 10px; }
    .brand-icon { width: 34px; height: 34px; }
    .brand-name { font-size: 0.75rem; }

    .cta { padding: 64px 0; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; }

    .form-container { padding: 40px 0 60px; }
    .form-section { padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-actions .btn { max-width: none; }

    .confirmation-card { padding: 40px 24px; }
    .confirmation-icon { width: 72px; height: 72px; font-size: 1.625rem; }
    .confirmation-actions { flex-direction: column; }
    .confirmation-actions .btn { width: 100%; }

    .main-footer { padding: 48px 0 28px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-content p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    .hero-title { font-size: 1.875rem; }
    .section-title { font-size: 1.5rem; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .form-section { padding: 20px; }
}

/* ==========================================================================
   17. ACCESSIBILITÉ
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background: var(--green);
    color: white;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

/* ==========================================================================
   HEADER — ÉDITION SIGNATURE
   ========================================================================== */

/* --- Bandeau ticker --- */
.top-ticker {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 34px;
    overflow: hidden;
}

.top-ticker__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    gap: 16px;
}

.top-ticker__left,
.top-ticker__right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.top-ticker strong {
    color: #00D26A;
    font-weight: 700;
}

.top-ticker .sep {
    color: rgba(255, 255, 255, 0.25);
}

.top-ticker i {
    font-size: 0.625rem;
    color: #00D26A;
}

/* Point live pulsant */
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00D26A;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.7);
    animation: livePulse 2s infinite;
}

.live-dot--sm { width: 6px; height: 6px; }

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(0, 210, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 106, 0); }
}

/* --- Barre principale --- */
.main-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: calc(var(--header-h) + 34px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

body { padding-top: calc(var(--header-h) + 34px); }

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.95);
}

.header-main {
    height: var(--header-h);
}

.header-main__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

/* --- Brand --- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px -6px rgba(0, 210, 106, 0.4);
    transition: transform 0.3s var(--ease);
}

.brand__mark svg {
    width: 26px;
    height: 26px;
}

.brand:hover .brand__mark {
    transform: rotate(-6deg) scale(1.05);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.035em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--ink-mute);
    letter-spacing: 0.03em;
}

/* --- Nav avec indicateur animé --- */
.main-nav {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 10px;
    position: relative;
    transition: color 0.25s var(--ease);
}

.nav-link span {
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-item.active .nav-link {
    color: var(--green-dark);
    font-weight: 600;
}

/* Fond hover subtil */
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: var(--bg-soft);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
    z-index: -1;
}

.nav-link:hover::before { opacity: 1; }
.nav-item.active .nav-link::before {
    opacity: 1;
    background: var(--green-light);
}

/* Indicateur animé (ligne sous l'onglet actif) */
.nav-indicator {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 3;
}

.nav-indicator.visible { opacity: 1; }

/* --- Actions header --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Trigger langue */
.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: white;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.lang-trigger:hover {
    border-color: var(--green);
    background: var(--green-light);
}

.lang-flag {
    font-size: 1.0625rem;
    line-height: 1;
}

.current-lang-code {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.lang-trigger .chev {
    color: var(--ink-mute);
    transition: transform 0.25s var(--ease);
}

.lang-trigger:hover .chev {
    transform: translateY(1px);
    color: var(--green-dark);
}

/* Dropdown langue amélioré */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.25);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s var(--ease);
    position: relative;
}

.lang-dropdown li::after {
    content: '';
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    transition: opacity 0.2s;
}

.lang-dropdown li.active::after { opacity: 1; }

.lang-dropdown li:hover {
    background: var(--green-light);
    color: var(--green-dark);
    transform: translateX(2px);
}

.lang-dropdown .flag { font-size: 1.125rem; }

.lang-dropdown .code {
    margin-left: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ink-light);
    letter-spacing: 0.05em;
}

.lang-dropdown li:hover .code { color: var(--green-dark); }

/* Bouton CTA header */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--ink);
    color: white;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.btn-cta span,
.btn-cta svg {
    position: relative;
    z-index: 1;
}

.btn-cta svg {
    transition: transform 0.25s var(--ease);
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -8px rgba(0, 210, 106, 0.5);
}

.btn-cta:hover::before { opacity: 1; }

.btn-cta:hover svg {
    transform: translateX(3px);
}

/* Burger (3 traits animés) */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    background: white;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    transition: all 0.2s var(--ease);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.mobile-menu-btn.is-open {
    background: var(--green-light);
    border-color: var(--green);
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   FOOTER — ÉDITION EMPIRE
   ========================================================================== */

.main-footer {
    background: #0A0F1E;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    margin-top: auto;
    overflow: hidden;
}

/* Filet dégradé supérieur */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), var(--purple), transparent);
    opacity: 0.6;
}

/* --- Niveau 1 : Hero footer --- */
.footer-hero {
    padding: 80px 0 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.footer-hero::before {
    content: 'M';
    position: absolute;
    top: 40%;
    right: -40px;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 22rem;
    font-weight: 700;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    letter-spacing: -0.05em;
}

.footer-hero__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: end;
    position: relative;
    z-index: 2;
}

.footer-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 20px;
}

.footer-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: white;
    margin: 0;
}

.footer-hero__title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 700;
}

.footer-hero__text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 520px;
}

.footer-hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--green);
    line-height: 1;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Niveau 2 : Liens --- */
.footer-body {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 56px;
}

.footer-col--brand { max-width: 340px; }

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px -6px rgba(0, 210, 106, 0.4);
}

.footer-brand__mark svg { width: 26px; height: 26px; }

.footer-brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
}

.footer-col__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-col__title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 22px;
}

.footer-col__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col__list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s var(--ease);
    position: relative;
}

.footer-col__list li a i {
    font-size: 0.625rem;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: all 0.25s var(--ease);
    color: var(--green);
}

.footer-col__list li a:hover {
    color: white;
    padding-left: 2px;
}

.footer-col__list li a:hover i {
    opacity: 1;
    transform: translate(0, 0);
}

.footer-col__list--contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col__list--contact li i {
    color: var(--green);
    font-size: 0.8125rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-col__list--contact li a:hover {
    color: white;
}

/* --- Niveau 3 : Réseaux + Newsletter --- */
.footer-social-band {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.social-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease);
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 10px 25px -8px rgba(0, 210, 106, 0.5);
}

.social-btn:hover::before { opacity: 1; }
.social-btn:hover i {
    color: white;
    transform: scale(1.1);
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-newsletter__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.footer-newsletter__form {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.25s var(--ease);
    min-width: 320px;
}

.footer-newsletter__form:focus-within {
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.1);
}

.footer-newsletter__form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: white;
    font-size: 0.9375rem;
    outline: none;
    font-family: inherit;
}

.footer-newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter__form button {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border: none;
    border-radius: 9px;
    color: white;
    font-size: 0.875rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.footer-newsletter__form button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px -6px rgba(0, 210, 106, 0.5);
}

/* --- Niveau 4 : Barre finale --- */
.footer-base {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-base__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-base__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 210, 106, 0.1);
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--green);
}

.footer-base__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-base__right a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s var(--ease);
}

.footer-base__right a:hover {
    color: var(--green);
}

.footer-base .sep {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-hero::before { font-size: 16rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-col--brand { grid-column: 1 / -1; }
    .btn-cta { display: none; }
}

@media (max-width: 768px) {
    .top-ticker { font-size: 0.625rem; height: 30px; }
    .top-ticker__inner { height: 30px; }
    .top-ticker__right { display: none; }

    .main-header { height: calc(var(--header-h) + 30px); }
    body { padding-top: calc(var(--header-h) + 30px); }

    .brand__tag { display: none; }

    .mobile-menu-btn { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 88%;
        max-width: 360px;
        height: 100vh;
        background: white;
        padding: calc(var(--header-h) + 54px) 24px 24px;
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
        transition: right 0.3s var(--ease);
        z-index: 999;
        overflow-y: auto;
        display: block;
        justify-content: initial;
    }

    .main-nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }

    .nav-link {
        padding: 16px 18px;
        font-size: 1rem;
        border-radius: 12px;
        width: 100%;
    }

    .nav-indicator { display: none; }

    .footer-hero { padding: 56px 0 48px; }
    .footer-hero__stats { gap: 24px; flex-wrap: wrap; }
    .footer-hero::before { font-size: 12rem; right: -20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-col--brand { max-width: 100%; }

    .footer-social-band__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .footer-newsletter__form { min-width: 0; width: 100%; }

    .footer-base__inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .brand__name { font-size: 1.125rem; }
    .footer-hero__title { font-size: 2rem; }
    .footer-hero__stats { gap: 16px; }
    .stat__num { font-size: 1.375rem; }
}

/* ==========================================================================
   VUES FORMULAIRES — ÉDITION SIGNATURE
   ========================================================================== */

/* --- Fil d'Ariane --- */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-mute);
}

.breadcrumb a {
    color: var(--ink-mute);
    transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
    color: var(--green-dark);
}

.breadcrumb__sep {
    color: var(--ink-light);
    font-size: 0.6875rem;
}

.breadcrumb__current {
    color: var(--ink);
    font-weight: 600;
}

/* --- Eyebrow de page --- */
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.page-eyebrow__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--green);
    letter-spacing: 0;
}

.page-eyebrow__line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--line-strong);
}

/* --- En-tête formulaire amélioré --- */
.form-header {
    text-align: left;
    margin-bottom: 48px;
    max-width: 720px;
}

.form-header h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--ink);
}

.form-header h1 em {
    font-style: italic;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-mute);
    max-width: 560px;
    margin: 0;
}

/* --- Form section avec numéro --- */
.form-section {
    background: white;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto 20px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.form-section:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.form-section:hover::before { opacity: 1; }

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
    color: var(--ink);
}

.form-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0;
    box-shadow: 0 6px 15px -4px rgba(0, 210, 106, 0.4);
    flex-shrink: 0;
}

/* Retirer l'ancienne icône colorée si présente */
.form-section h2 i { color: var(--green); }

/* --- Label avec hint --- */
.label-hint {
    display: inline-block;
    padding: 1px 8px;
    background: var(--bg-soft);
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
}

/* --- Hint sous le bouton submit --- */
.form-actions__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.8125rem;
    color: var(--ink-mute);
    justify-content: center;
}

.form-actions__hint i {
    color: var(--green);
    font-size: 0.75rem;
}

.form-actions .btn {
    max-width: 100%;
    width: auto;
}

/* Sur mobile, le bouton prend toute la largeur */
@media (max-width: 640px) {
    .form-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   PAGE CONFIRMATION — ÉDITION SIGNATURE
   ========================================================================== */

.confirmation-card {
    position: relative;
    padding: 72px 56px;
    max-width: 720px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    overflow: hidden;
}

.confirmation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

/* Badge de référence en haut */
.confirmation-ref {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-bottom: 32px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.confirmation-ref__label {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
}

.confirmation-ref__num {
    font-family: 'SF Mono', Monaco, monospace;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: 0.04em;
}

/* Icône */
.confirmation-icon {
    width: 88px;
    height: 88px;
    background: var(--success-bg);
    border: 1px solid #A7F3D0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--success);
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.confirmation-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 168, 84, 0.15);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
}

.confirmation-card h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--ink);
}

.confirmation-card h1 em {
    font-style: italic;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirmation-message {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-mute);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Étapes */
.confirmation-steps {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    margin-bottom: 32px;
}

.confirmation-steps h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 20px;
}

.confirmation-steps h3 i {
    color: var(--green);
    font-size: 0.9375rem;
}

.confirmation-steps__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.confirmation-steps__list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}

.confirmation-steps__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.confirmation-steps__list li:first-child {
    padding-top: 0;
}

.step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--ink);
}

.confirmation-steps__list li strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.confirmation-steps__list li p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-mute);
    margin: 0;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE — VUES FORMULAIRES
   ========================================================================== */

@media (max-width: 768px) {
    .form-header {
        margin-bottom: 32px;
    }

    .form-header h1 {
        font-size: 1.875rem;
    }

    .form-section {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .form-section h2 {
        font-size: 1.125rem;
        padding-bottom: 16px;
        margin-bottom: 22px;
    }

    .form-section__num {
        width: 28px;
        height: 28px;
        font-size: 0.8125rem;
    }

    .confirmation-card {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .confirmation-icon {
        width: 72px;
        height: 72px;
        font-size: 1.625rem;
    }

    .confirmation-steps {
        padding: 20px;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-eyebrow {
        gap: 10px;
    }

    .page-eyebrow__line {
        width: 20px;
    }

    .form-header h1 {
        font-size: 1.625rem;
    }
}

/* ==========================================================================
   HINT SOUS LE CHAMP CODE
   ========================================================================== */

.field-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--ink-mute);
    line-height: 1.5;
    min-height: 0;
    transition: color 0.2s var(--ease);
}

.field-hint--active {
    color: var(--green-dark);
}

.field-hint--active strong {
    color: var(--green-dark);
    font-weight: 600;
}

.field-hint--error {
    color: var(--danger);
}

.field-hint--error strong {
    color: var(--danger);
}

/* Astuce : cibler le code dans le hint */
.field-hint code {
    display: inline-block;
    padding: 1px 6px;
    background: var(--bg-soft);
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.75rem;
    color: var(--ink);
    letter-spacing: 0.04em;
}

/* ==========================================================================
   SECTION "NOUVELLE CARTE" (remboursement)
   ========================================================================== */

.form-section--new {
    border-left: 4px solid var(--success);
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.form-section__num--new {
    background: linear-gradient(135deg, #16A34A, #22C55E) !important;
    box-shadow: 0 6px 15px -4px rgba(22, 163, 74, 0.4) !important;
}