/* =============================================================
   WALLBOX PRO — DESIGN INSPIRÉ DE WALLBOX-MAISON.FR
   Bleu électrique + accent vert · épuré · pro
   ============================================================= */

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-darker: #003D99;
    --primary-soft: #EAF2FF;
    --primary-tint: rgba(0, 102, 255, 0.08);

    --accent: #22C55E;
    --accent-dark: #16A34A;
    --accent-soft: #F0FDF4;

    --secondary: #F59E0B;
    --secondary-dark: #D97706;

    --text-main: #0F172A;
    --text-body: #334155;
    --text-light: #64748B;
    --text-soft: #94A3B8;

    --bg: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-soft: #F1F5F9;
    --white: #FFFFFF;

    --border: #E2E8F0;
    --border-strong: #CBD5E1;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 16px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 102, 255, 0.10), 0 24px 48px rgba(0, 102, 255, 0.10);

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    line-height: 1.65;
    background: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img, svg { max-width: 100%; height: auto; display: block; }

::selection { background: var(--primary-tint); color: var(--primary-dark); }

/* =============================================================
   TYPOGRAPHIE
   ============================================================= */

h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; line-height: 1.2; letter-spacing: -0.018em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.35; }

p { color: var(--text-body); }
strong { color: var(--text-main); font-weight: 600; }
.highlight { color: var(--primary); }

/* =============================================================
   BOUTONS
   ============================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
    font-family: inherit;
}
.btn i { width: 18px; height: 18px; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(0,102,255,0.2);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,102,255,0.3);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius); }

/* =============================================================
   HEADER
   ============================================================= */

.main-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--text-main); }
.logo .logo-icon { color: var(--primary); width: 22px; height: 22px; }
.logo .highlight { color: var(--secondary); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-body); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn { color: var(--white); padding: 10px 20px; }
.nav-links a.btn:hover { color: var(--white); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
}
.mobile-menu-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================================
   HERO
   ============================================================= */

.hero {
    padding: 70px 0 90px;
    background:
        radial-gradient(ellipse 70% 50% at 80% 0%, rgba(0,102,255,0.09), transparent 70%),
        radial-gradient(ellipse 50% 40% at 0% 50%, rgba(0,102,255,0.05), transparent 60%),
        linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    overflow: hidden;
    position: relative;
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.hero-content .badge {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--white) !important;
    color: var(--primary) !important;
    padding: 7px 16px !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid var(--border);
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    margin-bottom: 24px !important;
    box-shadow: var(--shadow-xs);
}
.hero-content .badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

.hero-content h1 { color: var(--text-main); margin-bottom: 22px; }
.hero-content p { font-size: 1.1rem; color: var(--text-body); line-height: 1.65; margin-bottom: 14px; max-width: 580px; }
.hero-content p:nth-of-type(2) { margin-bottom: 32px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 8px 0 32px;
    max-width: 580px;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .count {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.025em;
}
.hero-stats .label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; line-height: 1.4; }

/* =============================================================
   FORM CARD (cadre iframe ViteUnDevis)
   ============================================================= */

.hero-form { position: relative; }

.form-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.form-card:hover { box-shadow: var(--shadow-lg); }

.form-card-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--white) 100%);
    position: relative;
}
.form-card-header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.form-card-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,102,255,0.25);
}
.form-card-icon i { width: 20px; height: 20px; color: var(--white); }

.form-card-header h2 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 6px; line-height: 1.3; font-weight: 700; }
.form-card-header p { font-size: 0.9rem; color: var(--text-body); margin: 0; }

.iframe-wrapper {
    background: var(--white);
    height: 540px;
    overflow: hidden;
    padding: 0;
}
.iframe-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }

.form-card-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 14px 22px;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.form-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}
.form-card-footer i { width: 14px; height: 14px; color: var(--accent); }

/* Pulse au clic "Devis Gratuit" */
@keyframes formPulse {
    0%   { box-shadow: var(--shadow-md), 0 0 0 0 rgba(0,102,255,0.4); }
    50%  { box-shadow: var(--shadow-lg), 0 0 0 14px rgba(0,102,255,0); }
    100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(0,102,255,0); }
}
.hero-form.is-pulsing .form-card { animation: formPulse 1.2s ease 0s 2; }

#devis { scroll-margin-top: 90px; }

/* =============================================================
   TL;DR
   ============================================================= */

.section-tldr { padding: 56px 0 0; }
.tldr-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.tldr-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}
.tldr-title {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 16px;
}
.tldr-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.tldr-list li {
    padding-left: 32px;
    position: relative;
    color: var(--text-body);
    line-height: 1.65;
    font-size: 0.98rem;
}
.tldr-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 18px; height: 18px;
    background: var(--accent-soft);
    border-radius: 50%;
}
.tldr-list li::after {
    content: '';
    position: absolute;
    left: 5px; top: 11px;
    width: 8px; height: 4px;
    border-left: 2px solid var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
    transform: rotate(-45deg);
}

/* =============================================================
   TRUST BAR
   ============================================================= */

.trust-bar {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.trust-items { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-body); font-weight: 500; font-size: 0.92rem; }
.trust-item i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* =============================================================
   SECTIONS
   ============================================================= */

.section { padding: 90px 0; }
.bg-light { background: var(--bg-light); }

.section-title { text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-title h2 { color: var(--text-main); margin-bottom: 14px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; line-height: 1.6; }
.section-title .underline { display: none; }

/* =============================================================
   AVANTAGES GRID (style wallbox-maison.fr)
   ============================================================= */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all 0.3s ease;
}
.advantage-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.advantage-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.advantage-icon i { width: 24px; height: 24px; color: var(--primary); }
.advantage-card h3 { color: var(--text-main); font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.advantage-card p { color: var(--text-body); line-height: 1.65; font-size: 0.95rem; }

/* =============================================================
   CONTENT WITH IMAGE
   ============================================================= */

.content-with-image { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.content-with-image.image-left { grid-template-columns: 1fr 1.4fr; }
.content-with-image.image-left .image-block { order: 1; }
.content-with-image.image-left .text-block { order: 2; }

.text-block h2 { margin-bottom: 24px; }
.text-block h3 { margin: 32px 0 12px; color: var(--text-main); font-size: 1.15rem; }
.text-block p { margin-bottom: 14px; line-height: 1.7; }

.image-block { position: sticky; top: 100px; }
.img-rounded { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.image-caption { font-size: 0.82rem; color: var(--text-light); text-align: center; margin-top: 12px; font-style: italic; }

.checked-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.checked-list li { padding-left: 30px; position: relative; color: var(--text-body); line-height: 1.6; }
.checked-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 20px; height: 20px;
    background: var(--accent-soft);
    border-radius: 50%;
}
.checked-list li::after {
    content: '';
    position: absolute;
    left: 6px; top: 10px;
    width: 8px; height: 4px;
    border-left: 2px solid var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
    transform: rotate(-45deg);
}

.ordered-list { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.ordered-list li { color: var(--text-body); line-height: 1.6; }
.ordered-list li::marker { color: var(--primary); font-weight: 700; }

/* =============================================================
   COST GRID
   ============================================================= */

.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.cost-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cost-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.cost-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 1.08rem;
    margin-bottom: 20px;
}
.cost-card h3 i { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.cost-card p { color: var(--text-body); line-height: 1.65; margin-bottom: 8px; }

.price-list { list-style: none; padding: 0; }
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
}
.price-list li:last-child { border-bottom: none; }
.price-list li span { color: var(--text-body); font-size: 0.95rem; }
.price-list li strong { color: var(--primary); white-space: nowrap; font-weight: 700; }

.example-box {
    background: var(--primary-soft);
    border: 1px solid rgba(0, 102, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 32px;
}
.example-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.08rem;
}
.example-box h3 i { width: 22px; height: 22px; color: var(--primary); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 12px 0; border-bottom: 1px solid rgba(0, 102, 255, 0.15); color: var(--text-body); }
.price-table td:last-child { text-align: right; }
.price-table .row-total td { padding-top: 16px; font-weight: 600; }
.price-table .row-final td { color: var(--primary-dark); font-size: 1.05rem; padding-top: 16px; border-bottom: none; font-weight: 700; }

/* =============================================================
   PRICING TABLE
   ============================================================= */

.pricing-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
}
.pricing-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.pricing-table thead th {
    background: var(--bg-light);
    color: var(--text-main);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.pricing-table tbody tr:not(:last-child) { border-bottom: 1px solid var(--border); }
.pricing-table tbody td { padding: 16px 20px; color: var(--text-body); vertical-align: top; font-size: 0.95rem; }
.pricing-table tbody tr:hover { background: var(--bg-light); }

/* =============================================================
   ALERT / INFO BOXES
   ============================================================= */

.alert-box {
    display: flex;
    gap: 18px;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    align-items: flex-start;
}
.alert-box i { flex-shrink: 0; width: 22px; height: 22px; margin-top: 4px; }
.alert-box h3 { font-size: 1.05rem; margin-bottom: 12px; color: inherit; }
.alert-box p { margin-bottom: 10px; line-height: 1.65; font-size: 0.95rem; }
.alert-box p:last-child { margin-bottom: 0; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; }
.alert-warning i { color: #D97706; }

.info-box {
    display: flex;
    gap: 14px;
    background: var(--primary-soft);
    border: 1px solid rgba(0, 102, 255, 0.18);
    border-radius: var(--radius);
    padding: 18px 24px;
    margin-top: 32px;
    align-items: flex-start;
}
.info-box i { color: var(--primary); flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; }
.info-box p { margin: 0; color: var(--text-body); line-height: 1.65; font-size: 0.95rem; }
.info-box a { color: var(--primary-dark); font-weight: 600; border-bottom: 1px solid currentColor; }

/* =============================================================
   AIDES GRID
   ============================================================= */

.aides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
}
.aide-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.aide-icon {
    width: 48px; height: 48px;
    background: var(--primary-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.aide-icon i { width: 22px; height: 22px; color: var(--primary); }
.aide-card h3 { color: var(--text-main); font-size: 1.1rem; margin-bottom: 14px; line-height: 1.4; }
.aide-card p { color: var(--text-body); margin-bottom: 12px; line-height: 1.65; font-size: 0.95rem; }

/* =============================================================
   STEPS
   ============================================================= */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: all 0.3s ease;
    position: relative;
}
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,102,255,0.25);
}
.step-card h3 { color: var(--text-main); font-size: 1.08rem; margin-bottom: 12px; line-height: 1.4; }
.step-card p { color: var(--text-body); line-height: 1.65; margin-bottom: 8px; font-size: 0.95rem; }

/* =============================================================
   POWER GRID
   ============================================================= */

.power-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.power-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: all 0.3s ease;
    position: relative;
}
.power-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.power-card-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-tint), var(--shadow);
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--white) 50%);
}
.power-num {
    display: inline-block;
    padding: 7px 16px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.power-card-featured .power-num { background: var(--primary); color: var(--white); }
.power-card h3 { color: var(--text-main); font-size: 1.05rem; margin-bottom: 12px; line-height: 1.4; }
.power-card p { color: var(--text-body); line-height: 1.65; margin-bottom: 12px; font-size: 0.94rem; }

.power-pro {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.88rem !important;
    color: var(--text-body) !important;
    margin-top: 16px;
    border: 1px solid var(--border);
}
.power-pro i { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0,102,255,0.3);
}

/* =============================================================
   FEATURES GRID (sous-pages)
   ============================================================= */

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: all 0.3s ease;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card i { width: 28px; height: 28px; color: var(--primary); margin-bottom: 18px; }
.feature-card h3 { color: var(--text-main); font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-body); line-height: 1.65; font-size: 0.95rem; }

/* =============================================================
   FAQ
   ============================================================= */

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 20px; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066FF' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text-body); line-height: 1.7; margin-bottom: 0; font-size: 0.95rem; }
.faq-item .pricing-table-wrap { margin: 0 24px 22px; }

/* =============================================================
   REGIONS GRID
   ============================================================= */

.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px !important; }
.region-link {
    padding: 20px 18px !important;
    background: var(--white) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.region-link::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}
.region-link:hover { border-color: var(--primary); color: var(--primary) !important; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* =============================================================
   SOURCES UTILES
   ============================================================= */

.sources-list { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.sources-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.sources-list li:hover { border-color: var(--primary); transform: translateX(4px); }
.sources-list li i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.sources-list li a { color: var(--text-body); font-weight: 500; font-size: 0.95rem; line-height: 1.4; }
.sources-list li:hover a { color: var(--primary-dark); }

/* =============================================================
   CTA FINAL
   ============================================================= */

.cta-final {
    background:
        radial-gradient(ellipse 80% 80% at 50% 100%, rgba(0,102,255,0.5), transparent 70%),
        linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-final h2 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.cta-final p { color: #CBD5E1; font-size: 1.05rem; max-width: 680px; margin: 0 auto 32px; line-height: 1.7; }
.cta-final p strong { color: var(--white); }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 17px 38px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,102,255,0.4);
}
.btn-cta:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,102,255,0.5); }
.cta-meta { margin-top: 22px !important; font-size: 0.85rem !important; color: var(--text-soft) !important; max-width: none !important; }

/* =============================================================
   FOOTER
   ============================================================= */

.main-footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 72px 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-info p { color: #94A3B8; font-size: 0.92rem; line-height: 1.65; margin-top: 14px; max-width: 320px; }
.footer-info .logo { color: var(--white); }
.footer-nav h4, .footer-legal h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-nav ul, .footer-legal ul { list-style: none; }
.footer-nav li, .footer-legal li { margin-bottom: 10px; }
.footer-nav a, .footer-legal a { color: #94A3B8; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--primary); }
.footer-contact p { display: flex; align-items: center; gap: 10px; color: #94A3B8; font-size: 0.92rem; margin-bottom: 10px; }
.footer-contact i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748B;
}

/* =============================================================
   LEGAL PAGES
   ============================================================= */

.legal-page { padding: 80px 24px; max-width: 820px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 36px; color: var(--text-main); }
.legal-page section { margin-bottom: 36px; }
.legal-page h2 { margin-bottom: 14px; font-size: 1.4rem; color: var(--text-main); }
.legal-page p { line-height: 1.75; color: var(--text-body); margin-bottom: 12px; }

/* =============================================================
   SUBPAGES (region/department/city)
   ============================================================= */

.hero-local { padding: 60px 0 70px; }
.breadcrumb { font-size: 0.88rem; color: var(--text-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

.text-content { max-width: 820px; margin: 0 auto; }
.text-content h2 { margin-bottom: 20px; }
.text-content h3 { margin: 24px 0 12px; font-size: 1.15rem; }
.text-content p { line-height: 1.75; margin-bottom: 14px; }
.text-content ul { padding-left: 22px; margin-bottom: 16px; }
.text-content ul li { line-height: 1.7; margin-bottom: 6px; }
.text-content.text-center { text-align: center; }

.benefits-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 24px 0; }
.benefit-item { display: flex; gap: 12px; padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); align-items: flex-start; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.city-list li a { display: block; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; font-weight: 500; color: var(--text-main); transition: all 0.2s ease; font-size: 0.92rem; }
.city-list li a:hover { border-color: var(--primary); color: var(--primary); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }

/* =============================================================
   ANIMATIONS
   ============================================================= */

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 992px) {
    .hero { padding: 56px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-content p { max-width: none; }
    .hero-form { max-width: 540px; margin: 0 auto; width: 100%; }

    .content-with-image,
    .content-with-image.image-left { grid-template-columns: 1fr; gap: 36px; }
    .content-with-image.image-left .image-block,
    .content-with-image.image-left .text-block { order: unset; }
    .image-block { position: static; }

    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .cost-grid,
    .aides-grid { grid-template-columns: 1fr; }
    .steps-grid,
    .power-grid { grid-template-columns: 1fr; }
    .power-card-featured { transform: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }

    .nav-wrapper { position: relative; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 14px);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 8px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        z-index: 1001;
    }
    .nav-links.is-open { display: flex; }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; padding: 6px; }
    .nav-links li a { display: block; padding: 12px 14px; font-weight: 500; }
    .nav-links li a.btn { text-align: center; margin: 4px; }
    .mobile-menu-toggle { display: block; }

    .hero-stats { gap: 14px; padding: 20px 0; }
    .hero-stats .count { font-size: 1.5rem; }
    .hero-stats .label { font-size: 0.74rem; }

    .iframe-wrapper { height: 520px; }
    .form-card-header { padding: 20px 22px 16px; }
    .form-card-header h2 { font-size: 1.05rem; }
    .form-card-header p { font-size: 0.82rem; }
    .form-card-footer { padding: 12px 18px; gap: 14px; }
    .form-card-footer span { font-size: 0.74rem; }

    .advantages-grid { grid-template-columns: 1fr; }

    .trust-items { gap: 16px; justify-content: center; }
    .trust-item { font-size: 0.85rem; }

    .alert-box { flex-direction: column; padding: 22px; }
    .tldr-box { padding: 26px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
    .pricing-table thead th,
    .pricing-table tbody td { padding: 12px 14px; font-size: 0.86rem; }
    .price-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .cost-card,
    .aide-card,
    .step-card,
    .power-card,
    .feature-card,
    .advantage-card { padding: 26px 22px; }
    .example-box { padding: 24px; }
    .tldr-box { padding: 24px 20px; }
    .tldr-list li { font-size: 0.92rem; }
}
