/* =========================================================
   HelloSunAir — feuille de style commune à tout le site
   Palette : bleu marine #0B2050 · jaune #FAC400 · orange #F99200
   ========================================================= */
@property --lh { syntax: '<length>'; inherits: true; initial-value: 116px; }
:root {
    --navy: #0B2050;
    --navy-deep: #071639;
    --navy-soft: #1A3470;
    --yellow: #FAC400;
    --yellow-light: #FFE07A;
    --orange: #F99200;
    --ink: #1C2437;
    --muted: #5B6579;
    --bg-soft: #F3F6FB;
    --line: #E2E8F2;
    --white: #FFFFFF;
    --radius: 20px;
    --shadow-sm: 0 2px 8px rgba(11, 32, 80, .06);
    --shadow-md: 0 12px 32px rgba(11, 32, 80, .10);
    --shadow-lg: 0 30px 60px rgba(7, 22, 57, .35);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --font-title: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FAC400' d='M9 13C62 5 140 9 211 6S352 2 394 9c5 13-1 29 3 43-67 6-148 2-218 5S40 61 6 51C1 39 11 26 9 13Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Surlignage façon coup de pinceau ---------- */
.hl {
    color: var(--navy);
    background: var(--brush) center / 100% 100% no-repeat;
    padding: 0 .3em;
    margin: 0 -.05em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    white-space: nowrap;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--font-title); font-weight: 700; font-size: 1rem;
    padding: 15px 30px; border-radius: 999px; text-decoration: none;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-devis {
    background: linear-gradient(180deg, #FFD43B, var(--yellow));
    color: var(--navy);
    box-shadow: 0 4px 0 #C99A00;
    animation: devis-halo 2.6s ease-in-out infinite;
}
.btn-devis:active { box-shadow: 0 1px 0 #C99A00; }
@keyframes devis-halo {
    0%, 100% { box-shadow: 0 4px 0 #C99A00; }
    50% { box-shadow: 0 4px 0 #C99A00, 0 0 0 9px rgba(250, 196, 0, .28); }
}
.btn-ghost { color: var(--white); border: 2px solid rgba(255, 255, 255, .55); padding: 13px 28px; }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-lg { font-size: 1.1rem; padding: 18px 38px; }

/* =========================================================
   BARRE HAUTE + EN-TÊTE
   ========================================================= */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .8); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; align-items: center; gap: 26px; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar-info a:hover { color: var(--yellow); }
.topbar .icon { color: var(--yellow); width: 16px; height: 16px; }

.social { display: flex; gap: 10px; }
.social a {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--white); transition: transform .15s ease;
}
.social a:hover { transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(45deg, #F9A825 0%, #E1306C 55%, #833AB4 100%); }
.social-wa { background: #25D366; }
.social.lg a { width: 44px; height: 44px; }
.social.lg svg { width: 22px; height: 22px; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    --lh: 116px; /* hauteur visible du logo */
    transition: box-shadow .25s ease, border-color .25s ease, --lh .25s ease;
}
.site-header.scrolled { --lh: 88px; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 32, 80, .10); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--lh) + 16px); }

/* Logo d'origine (soleil + texte), marges transparentes du PNG rognées */
.brand { display: block; flex-shrink: 0; width: calc(var(--lh) * .9656); height: var(--lh); overflow: hidden; }
.brand img { width: calc(var(--lh) * 1.1372); max-width: none; height: auto; margin-left: calc(var(--lh) * -.1001); margin-top: calc(var(--lh) * -.0279); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
    position: relative; padding: 10px 11px; text-decoration: none;
    font-family: var(--font-title); font-weight: 600; font-size: .92rem; color: var(--navy);
    border-radius: 8px; transition: color .15s ease;
}
.main-nav a.nav-link::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px;
    background: var(--yellow); border-radius: 3px;
    transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a.nav-link:hover { color: var(--orange); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { transform: scaleX(1); }
.main-nav .btn { margin-left: 12px; padding: 12px 22px; font-size: .95rem; }
.main-nav a.nav-link { white-space: nowrap; }
/* Menu resserré entre 1081 et 1459 px (onglet « Simulateur » ajouté) */
@media (max-width: 1459px) and (min-width: 1081px) {
    .site-header .container { gap: 16px; }
    .main-nav a.nav-link { padding: 10px 8px; font-size: .88rem; }
    .main-nav a.nav-link::after { left: 8px; right: 8px; }
    .main-nav .btn { margin-left: 6px; padding: 11px 18px; font-size: .9rem; }
}

.burger {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: var(--bg-soft); color: var(--navy); cursor: pointer;
    align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
    display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px;
    position: relative; transition: transform .2s ease, background .2s ease;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.site-header.open .burger span { background: transparent; }
.site-header.open .burger span::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: -30px; z-index: -2;
    background-image: url('images/fond-3090w.jpg');
    background-size: cover; background-position: center;
    filter: blur(7px) saturate(1.15);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(520px 520px at 88% 8%, rgba(250, 196, 0, .30), transparent 70%),
        linear-gradient(100deg, rgba(7, 22, 57, .97) 0%, rgba(11, 32, 80, .90) 48%, rgba(11, 32, 80, .72) 100%);
}
.hero .container {
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 5vw, 72px);
    min-height: min(780px, calc(100svh - 174px));
    padding-block: clamp(56px, 7vw, 110px) clamp(90px, 9vw, 130px);
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-title); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--yellow); background: rgba(250, 196, 0, .12); border: 1px solid rgba(250, 196, 0, .35);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .icon { width: 16px; height: 16px; }
.hero h1 {
    color: var(--white); font-weight: 800;
    font-size: clamp(1.85rem, 3.5vw, 3.2rem); line-height: 1.16; letter-spacing: -.015em;
    margin-bottom: 26px;
}
.hero-intro { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .86); max-width: 590px; margin-bottom: 34px; }
.hero-intro strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero-checks .icon { color: var(--navy); background: var(--yellow); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; }

.hero-visual { position: relative; }
.hero-photo {
    width: 100%; aspect-ratio: 1205 / 733; object-fit: cover;
    border-radius: 24px; box-shadow: var(--shadow-lg);
    outline: 6px solid rgba(255, 255, 255, .10); outline-offset: 0;
}
.price-sun {
    position: absolute; top: clamp(-44px, -3.2vw, -20px); right: clamp(-28px, -2vw, -8px);
    width: clamp(118px, 12vw, 168px); aspect-ratio: 1; transform: rotate(9deg);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
    animation: sun-float 5s ease-in-out infinite;
}
.price-sun svg { width: 100%; height: 100%; }
.price-sun .ps-text {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--navy); font-family: var(--font-title); line-height: 1;
}
.ps-text small { font-weight: 600; font-size: clamp(.7rem, .95vw, .9rem); margin-bottom: 4px; }
.ps-text strong { font-weight: 800; font-size: clamp(1.55rem, 2.6vw, 2.3rem); letter-spacing: -.02em; }
.ps-text .ps-pose { margin: 5px 0 0; font-size: clamp(.58rem, .78vw, .76rem); font-weight: 700; }
@keyframes sun-float { 0%, 100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-8px); } }
.hero-badge {
    position: absolute; left: clamp(-30px, -2.2vw, -8px); bottom: clamp(-52px, -4vw, -28px);
    width: clamp(96px, 9.5vw, 138px); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35));
}

/* =========================================================
   BANDEAU PROPRIÉTAIRE / LOCATAIRE (incliné)
   ========================================================= */
.band {
    position: relative; z-index: 2; margin-top: -56px;
    background: linear-gradient(90deg, var(--yellow), #FFD02E 55%, var(--yellow));
    clip-path: polygon(0 22%, 100% 0, 100% 78%, 0 100%);
    padding: clamp(46px, 5.5vw, 70px) 0;
}
.band p {
    margin: 0; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center;
    font-family: var(--font-title); font-weight: 700; color: var(--navy);
    font-size: clamp(1.1rem, 2.3vw, 1.75rem); line-height: 1.3;
}
.band .band-icon {
    width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--yellow);
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.band .band-icon .icon { width: 26px; height: 26px; }
.band span.u { background: linear-gradient(transparent 62%, rgba(255, 255, 255, .65) 62%); padding: 0 .12em; }

/* =========================================================
   SECTIONS GÉNÉRIQUES
   ========================================================= */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 24px; }
.section-title.center { justify-content: center; text-align: center; }
.title-icon {
    width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--yellow); color: var(--navy); box-shadow: 0 6px 14px rgba(250, 196, 0, .35);
}
.title-icon .icon { width: 26px; height: 26px; }

/* ---------- Offre clé en main ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.offer-lead { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--navy); margin-bottom: 18px; }
.offer-lead strong { font-weight: 600; }
.offer-text p:last-child { color: var(--muted); }

.pricing-card {
    position: relative; background: var(--white); border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.pricing-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--yellow)); z-index: 1; }
.pricing-media {
    display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: center;
    padding: 34px 28px 26px;
    background: radial-gradient(420px 220px at 30% 30%, #FFFFFF, transparent 70%), linear-gradient(160deg, #EEF3FB, #DFE8F6);
}
.pricing-media img { filter: drop-shadow(0 12px 14px rgba(11, 32, 80, .18)); }
.pricing-body { padding: 28px 32px 34px; }
.pricing-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; margin-bottom: 14px; }
.pricing-title .icon { color: var(--orange); width: 28px; height: 28px; }
.price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.price { font-family: var(--font-title); color: var(--orange); line-height: 1; }
.price small { display: block; font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.price strong { font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
.kwh-badge { width: 88px; filter: drop-shadow(0 6px 10px rgba(11, 32, 80, .2)); }
.price-note { font-size: .92rem; color: var(--muted); margin: 10px 0 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(250, 196, 0, .22); color: #B07A00; stroke-width: 3; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.card-link:hover { color: var(--orange); }

/* ---------- Avantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.adv-card {
    background: var(--white); border-radius: var(--radius); padding: 30px 26px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--white); }
.adv-icon .icon { width: 28px; height: 28px; }
.adv-card:nth-child(1) .adv-icon { background: var(--yellow); color: var(--navy); }
.adv-card:nth-child(2) .adv-icon { background: #2F6FD6; }
.adv-card:nth-child(3) .adv-icon { background: #1FA35C; }
.adv-card:nth-child(4) .adv-icon { background: var(--orange); }
.adv-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.adv-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Slogan ---------- */
.tagline {
    position: relative; overflow: hidden; background: var(--navy); color: var(--white); text-align: center;
    padding-block: clamp(60px, 7vw, 96px);
}
.tagline::before {
    content: ""; position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(47, 111, 214, .45), transparent 65%);
}
.tagline p {
    position: relative; margin: 0;
    font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
    font-size: clamp(1.5rem, 3.9vw, 3rem); line-height: 1.25;
}
.tagline .arrow { color: var(--yellow); margin: 0 .25em; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* ---------- Devis / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.devis-emphasis {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-title); font-weight: 800; font-size: clamp(.95rem, 1.5vw, 1.12rem); color: var(--navy);
    background: var(--brush) center / 100% 100% no-repeat; padding: 12px 26px; margin: 0 0 24px -6px;
}
.contact-text > p { font-size: 1.08rem; }
.cacsi-note { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); margin-top: 26px; font-style: italic; }
.cacsi-note .icon { color: var(--orange); margin-top: 2px; }

.contact-card {
    position: relative; overflow: hidden; background: var(--navy); color: var(--white);
    border-radius: 26px; padding: clamp(28px, 3.5vw, 42px); box-shadow: var(--shadow-lg);
}
.contact-card::after {
    content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px;
    background: radial-gradient(circle, rgba(47, 111, 214, .55), transparent 65%);
}
.contact-item { position: relative; z-index: 1; display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-item:first-child { padding-top: 0; }
.ci-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .09); color: var(--yellow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-label { display: block; font-size: .88rem; color: rgba(255, 255, 255, .7); font-weight: 600; margin-bottom: 2px; }
.ci-value { font-family: var(--font-title); font-weight: 600; font-size: 1.08rem; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
a.ci-value { color: var(--yellow); }
a.ci-value:hover { text-decoration: underline; }
.contact-card .social { position: relative; z-index: 1; margin-top: 24px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 44px; }
.footer-logo { width: 116px; background: var(--white); border-radius: 20px; padding: 10px; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--font-title); color: var(--white); font-size: 1rem; margin: 0 0 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.legal p { margin: 0 0 8px; }
.legal .maif { display: flex; gap: 10px; align-items: center; }
.legal .maif img { width: 34px; height: 34px; background: var(--white); border-radius: 8px; padding: 2px; }
.legal a { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; font-size: .82rem; text-align: center; }

/* ---------- Barre d'action mobile ---------- */
.mobile-cta { display: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn-devis, .price-sun, .tagline .arrow { animation: none; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
:root {
    --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B07A00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    --tick-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2050' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Bandeau de titre ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.page-hero::before {
    content: ""; position: absolute; inset: -30px; z-index: -2;
    background-image: url('images/fond-3090w.jpg'); background-size: cover; background-position: center 60%;
    filter: blur(8px) saturate(1.1);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(480px 420px at 92% 0%, rgba(250, 196, 0, .26), transparent 70%),
        linear-gradient(100deg, rgba(7, 22, 57, .97) 0%, rgba(11, 32, 80, .92) 55%, rgba(11, 32, 80, .80) 100%);
}
.page-hero .container { padding-block: clamp(48px, 6vw, 84px) clamp(54px, 6.5vw, 92px); }
.page-hero.overlap .container { padding-bottom: clamp(120px, 12vw, 160px); }
.page-icon {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(250, 196, 0, .3);
}
.page-icon .icon { width: 28px; height: 28px; }
.page-hero h1 {
    color: var(--white); font-weight: 800; letter-spacing: -.015em;
    font-size: clamp(1.8rem, 4vw, 3.05rem); line-height: 1.16; margin-bottom: 18px; max-width: 920px;
}
.page-intro { font-size: clamp(1.02rem, 1.4vw, 1.17rem); color: rgba(255, 255, 255, .86); max-width: 760px; margin: 0; }

/* ---------- En-têtes de section ---------- */
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-title { justify-content: center; }
.section-head .section-title { margin-bottom: 14px; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-navy { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.section-navy::before {
    content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -300px;
    background: radial-gradient(circle, rgba(47, 111, 214, .45), transparent 65%);
}
.section-navy .container { position: relative; }
.section-navy .section-title { color: var(--white); }
.section-navy .section-intro { color: rgba(255, 255, 255, .8); }

/* Listes à coches */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(250, 196, 0, .24) var(--tick) center / 14px no-repeat;
}

/* =========================================================
   PAGES KITS
   ========================================================= */
.kit-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.kit-switch a {
    font-family: var(--font-title); font-weight: 600; font-size: .95rem; text-decoration: none;
    color: var(--white); padding: 10px 20px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kit-switch a:hover { background: rgba(255, 255, 255, .16); }
.kit-switch a.active { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

.product { position: relative; z-index: 2; margin-top: clamp(-130px, -10vw, -80px); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: stretch; }
.product-stage {
    display: flex; flex-direction: column; justify-content: center; gap: 30px;
    padding: clamp(26px, 4vw, 48px); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
    background: radial-gradient(520px 260px at 35% 30%, #FFFFFF, transparent 70%), linear-gradient(160deg, #EEF3FB, #DDE7F5);
}
.product-stage > img { width: 100%; filter: drop-shadow(0 18px 18px rgba(11, 32, 80, .22)); }
.product-stage .badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.product-stage .badges li {
    position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: rgba(255, 255, 255, .8);
    font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: var(--navy); line-height: 1.3;
}
.product-stage .badges li::before {
    content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
    background: var(--yellow) var(--tick-y) center / 14px no-repeat;
}
.price-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 16px;
    background: var(--white); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 36px 30px 32px;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.price-card .price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.price-card .price { font-family: var(--font-title); font-weight: 800; color: var(--orange); font-size: clamp(2.6rem, 4.4vw, 3.3rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.price-card .kwh-badge { width: 100px; flex-shrink: 0; filter: drop-shadow(0 8px 12px rgba(11, 32, 80, .22)); }
.price-card .price-note { margin: 0; color: var(--muted); font-size: .96rem; }
.price-card .btn { width: 100%; white-space: normal; text-align: center; font-size: 1.02rem; padding: 16px 18px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { height: 230px; display: flex; align-items: center; justify-content: center; padding: 26px; background: linear-gradient(160deg, #F3F6FB, #E4ECF7); }
.card-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(11, 32, 80, .18)); }
.card-body { padding: 24px 24px 28px; }
.qty { display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: .85rem; color: var(--yellow); background: var(--navy); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.card-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; }
.card-body .ref { font-size: .88rem; color: var(--orange); font-weight: 600; margin-bottom: 16px; }
.card-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; color: var(--ink); }
.card-body li { position: relative; padding-left: 30px; }
.card-body li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: rgba(250, 196, 0, .24) var(--tick) center / 12px no-repeat; }

.included ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.included li {
    position: relative; padding: 20px 22px 20px 64px; border-radius: 18px; color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.included li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow) var(--tick-y) center / 16px no-repeat; }
.included li strong { color: var(--white); }
.included li:last-child { grid-column: 1 / -1; background: rgba(250, 196, 0, .12); border-color: rgba(250, 196, 0, .4); }
.offered { display: inline-block; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-family: var(--font-title); font-weight: 800; font-size: .78rem; letter-spacing: .06em; vertical-align: middle; }

.specs { max-width: none; }
.specs details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.specs summary, .faq-item summary {
    position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 24px;
    font-family: var(--font-title); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.35;
}
.specs summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.specs summary::after, .faq-item summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; line-height: 1;
}
.specs details[open] summary::after, .faq-item[open] summary::after { content: "–"; }
.specs summary:hover, .faq-item summary:hover { color: var(--orange); }
.specs details[open] summary { border-bottom: 1px solid var(--line); background: #FAFBFE; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 12px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 48%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 600; color: var(--ink); }
.spec-table tr:nth-child(even) { background: #FAFBFE; }
.spec-table tr.spec-group td { background: rgba(250, 196, 0, .16); color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-source { margin: 0; padding: 14px 24px 20px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li {
    counter-increment: step; position: relative; padding: 72px 22px 26px; border-radius: 20px; color: var(--muted); font-size: .96rem;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.steps li::before {
    content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy);
    font-family: var(--font-title); font-weight: 800; font-size: 1.05rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 41px; left: 72px; right: -22px; border-top: 2px dashed rgba(249, 146, 0, .5); }
.steps li strong { display: block; font-family: var(--font-title); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }

.good-to-know { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.good-to-know li {
    padding: 22px 24px; border-radius: 18px; background: var(--white); color: var(--muted);
    border: 1px solid var(--line); border-left: 5px solid var(--yellow); box-shadow: var(--shadow-sm);
}
.good-to-know li strong { font-family: var(--font-title); font-weight: 700; color: var(--navy); }

/* =========================================================
   ACCESSOIRES & BATTERIE
   ========================================================= */
.feature-list { display: grid; gap: 22px; }
.cat-feature {
    display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden;
    background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.feature-list .cat-feature:nth-child(even) .cat-feature-img { order: -1; }
.cat-feature-text { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.cat-feature-text h4, .cat-card-body h4 { font-family: var(--font-title); color: var(--navy); margin: 0 0 10px; }
.cat-feature-text h4 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
.cat-desc { color: var(--muted); margin: 0; }
.cat-options {
    display: inline-flex; align-self: flex-start; margin: 16px 0 0; padding: 7px 14px; border-radius: 999px;
    background: rgba(250, 196, 0, .18); color: var(--navy); font-family: var(--font-title); font-weight: 600; font-size: .85rem;
}
.cat-feature-img { display: flex; align-items: center; justify-content: center; padding: 28px; min-height: 260px; background: linear-gradient(160deg, #F3F6FB, #E0E9F6); }
.cat-feature-img img { max-height: 240px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(11, 32, 80, .18)); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.catalog-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card-img { height: 210px; display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(160deg, #F3F6FB, #E0E9F6); }
.cat-card-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(11, 32, 80, .16)); }
.cat-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card-body h4 { font-size: 1.1rem; font-weight: 700; }
.cat-card-body .cat-desc { font-size: .95rem; }
.cat-note {
    max-width: 860px; margin: 40px auto 0; padding: 18px 24px; border-radius: 16px; text-align: center;
    background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--yellow); color: var(--navy); font-weight: 500;
}
.section-soft .cat-note { background: var(--white); }

/* =========================================================
   QUI SOMMES-NOUS
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.about-photo { position: sticky; top: 150px; }
.about-photo figure { margin: 0; }
.about-photo img { width: 100%; max-width: 294px; }
.photo-text-block h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 26px; }
.photo-text-block p { font-size: 1.06rem; color: var(--ink); }
.photo-text-block p:first-of-type { font-size: 1.14rem; }
.photo-text-block p.about-signature {
    margin-top: 30px; padding: 6px 0 6px 20px; border-left: 4px solid var(--yellow);
    font-style: italic; font-weight: 500; font-size: 1.14rem; line-height: 1.65; color: var(--navy);
}
.closing-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; padding-block: clamp(56px, 7vw, 92px); }
.closing-band::before { content: ""; position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(47, 111, 214, .45), transparent 65%); }
.closing-band .container { position: relative; }
.closing-line { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1.35; max-width: 900px; margin: 0 auto 34px; }
.closing-line .accent { display: inline-flex; vertical-align: middle; color: var(--yellow); margin: 0 .2em; }
.closing-line .accent .icon { width: 1.1em; height: 1.1em; }

/* =========================================================
   FAQ
   ========================================================= */
.narrow { max-width: 920px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { font-size: 1.08rem; padding-block: 22px; }
.faq-item[open] summary { color: var(--orange); }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.source-note { font-size: .88rem; color: var(--muted); background: var(--bg-soft); border-radius: 12px; padding: 12px 16px; margin-top: 14px !important; }
.highlight-box { margin: 30px 0 0; padding: 20px 24px; border-radius: 16px; background: rgba(250, 196, 0, .16); border-left: 5px solid var(--yellow); color: var(--navy); font-weight: 500; }
.contact-note { margin-top: 22px; text-align: center; color: var(--muted); }
.contact-note a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.contact-note a:hover { color: var(--orange); }

/* =========================================================
   CGV
   ========================================================= */
.legal-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 4vw, 60px); align-items: start; }
.toc { position: sticky; top: 140px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 18px; }
.toc summary { list-style: none; cursor: pointer; font-family: var(--font-title); font-weight: 700; color: var(--navy); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { color: var(--orange); }
.toc summary::after { content: "+"; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; }
.toc[open] summary::after { content: "–"; }
.toc ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.toc a:hover { background: var(--white); color: var(--navy); }
.legal-doc h3 { font-size: 1.22rem; font-weight: 700; margin: 40px 0 12px; padding-left: 16px; border-left: 4px solid var(--yellow); scroll-margin-top: 150px; }
.legal-doc h3:first-child { margin-top: 0; }
.legal-doc p { color: var(--ink); }
.legal-doc .contact-note { margin-top: 40px; padding: 20px; border-radius: 16px; background: var(--bg-soft); }

/* =========================================================
   FORMULAIRES (contact / devis)
   ========================================================= */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(26px, 4vw, 48px); align-items: start; }
.form-card { background: var(--white); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 44px); }
.form-card label { display: block; font-family: var(--font-title); font-weight: 600; color: var(--navy); font-size: .95rem; margin: 20px 0 8px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card .required { color: var(--orange); }
.form-card input[type="text"], .form-card input[type="tel"], .form-card input[type="email"], .form-card textarea {
    display: block; width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 14px 16px; border: 1.5px solid #D3DCEA; border-radius: 12px; background: #FAFBFE;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #98A2B5; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(249, 146, 0, .18); }
.form-card textarea { min-height: 160px; resize: vertical; }
.submit-btn-container { margin-top: 28px; }
.submit-btn {
    width: 100%; border: 0; cursor: pointer; font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
    padding: 17px 30px; border-radius: 999px; color: var(--navy);
    background: linear-gradient(180deg, #FFD43B, var(--yellow)); box-shadow: 0 4px 0 #C99A00; transition: transform .15s ease;
}
.submit-btn:hover { transform: translateY(-2px); }
.submit-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #C99A00; }
.contact-card .cc-title { position: relative; z-index: 1; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--white); margin: 0 0 18px; }

/* =========================================================
   REMERCIEMENT
   ========================================================= */
.merci-card { max-width: 660px; margin: 0 auto; text-align: center; background: var(--white); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: clamp(32px, 5vw, 56px); }
.merci-icon { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; background: #1FA35C; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(31, 163, 92, .35); }
.merci-icon .icon { width: 38px; height: 38px; stroke-width: 3; }
.merci-card h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.merci-card p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }

/* ---------- Effet brillant sur le logo (repris de l'ancien site) ---------- */
.brand { position: relative; }
.brand::after {
    content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none;
    background: linear-gradient(75deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
    animation: logo-sweep 3.5s ease-in-out infinite;
}
@keyframes logo-sweep {
    0% { left: -75%; }
    40% { left: 130%; }
    100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .brand::after { animation: none; display: none; } }

/* ---------- Titres équilibrés ---------- */
.section-title, .page-hero h1, .hero h1, .merci-card h1, .closing-line { text-wrap: balance; }

/* ---------- Bloc devis des pages intérieures ---------- */
.cta-block .contact-text .section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1239px) {
    .main-nav .btn { display: none; }
}
@media (max-width: 1080px) {
    .burger { display: inline-flex; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11, 32, 80, .15);
        padding: 8px var(--gutter) 20px;
        max-height: calc(100svh - var(--lh) - 16px); overflow-y: auto;
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
    .site-header.open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
    .main-nav a.nav-link { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav a.nav-link::after { display: none; }
    .main-nav a.nav-link.active { color: var(--orange); }
    .main-nav .btn { display: inline-flex; margin: 18px 0 0; }

    .hero .container { grid-template-columns: 1fr; min-height: 0; gap: 56px; }
    .hero-text { max-width: 720px; }
    .hero-visual { max-width: 640px; }
    .offer-grid, .contact-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    body { font-size: 16px; padding-bottom: 76px; }
    .topbar { display: none; }
    .site-header { --lh: 84px; }
    .site-header.scrolled { --lh: 64px; }
    .hero .container { padding-block: 44px 84px; gap: 48px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-checks { flex-direction: column; gap: 10px; }
    .hero-visual { margin-inline: 6px; }
    .band { margin-top: -40px; clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); }
    .band p { flex-direction: column; gap: 12px; }
    .section-title { font-size: 1.55rem; }
    .title-icon { width: 44px; height: 44px; border-radius: 13px; }
    .title-icon .icon { width: 22px; height: 22px; }
    .pricing-media { grid-template-columns: 1fr; padding: 30px 24px 20px; }
    .pricing-media img:first-child { max-width: 70%; margin: 0 auto; }
    .pricing-body { padding: 24px 22px 28px; }
    .adv-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .adv-card { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 22px 20px; }
    .adv-icon { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
    .adv-card h3 { align-self: center; }
    .contact-text .btn { width: 100%; }
    .devis-emphasis { padding: 12px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }

    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 20px rgba(11, 32, 80, .14);
    }
    .mobile-cta .btn { padding: 14px 10px; font-size: .95rem; animation: none; box-shadow: none; }
}
@media (max-width: 374px) {
    .hero-text { min-width: 0; }
    .hero h1 { font-size: 1.62rem; overflow-wrap: break-word; hyphens: auto; }
}
/* ---------- Pages intérieures : adaptation écrans ---------- */
@media (max-width: 1080px) {
    .product-grid { grid-template-columns: 1fr; }
    .price-card { max-width: none; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-grid, .catalog-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps li:nth-child(2)::after { display: none; }
    .about-grid { grid-template-columns: 240px minmax(0, 1fr); }
    .legal-grid { grid-template-columns: 1fr; }
    .toc { position: static; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .contact-card { max-width: 620px; }
}
@media (max-width: 760px) {
    .page-hero .container { padding-block: 40px 48px; }
    .page-hero.overlap .container { padding-bottom: 104px; }
    .page-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
    .page-icon .icon { width: 24px; height: 24px; }
    .kit-switch { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .kit-switch a { text-align: center; padding: 11px 16px; }
    .product { margin-top: -72px; }
    .product-stage { padding: 22px 18px; gap: 22px; }
    .product-stage .badges { grid-template-columns: 1fr; gap: 8px; }
    .price-card { padding: 30px 22px 26px; }
    .cards { grid-template-columns: 1fr; }
    .card-img { height: 200px; }
    .included ul { grid-template-columns: 1fr; }
    .included li { padding: 18px 18px 18px 58px; }
    .included li::before { left: 18px; top: 18px; }
    .spec-table th, .spec-table td { padding: 10px 14px; font-size: .9rem; }
    .spec-table th { width: 46%; }
    .spec-source { padding: 12px 14px 16px; }
    .specs summary, .faq-item summary { padding: 18px 58px 18px 18px; font-size: 1rem; }
    .specs summary::after, .faq-item summary::after { right: 16px; width: 30px; height: 30px; }
    .faq-answer { padding: 0 18px 20px; }
    .steps { grid-template-columns: 1fr; gap: 14px; }
    .steps li { padding: 20px 20px 20px 74px; }
    .steps li::before { left: 20px; top: 20px; }
    .steps li::after { display: none; }
    .good-to-know { grid-template-columns: 1fr; }
    .cat-feature { grid-template-columns: 1fr; }
    .cat-feature .cat-feature-img, .feature-list .cat-feature:nth-child(even) .cat-feature-img { order: -1; min-height: 0; }
    .cat-feature-img img { max-height: 200px; }
    .catalog-grid, .catalog-grid.cols-2, .catalog-grid.cols-4 { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { position: static; max-width: 260px; }
    .closing-line { font-size: 1.25rem; }
    .form-card { padding: 22px 18px 26px; }
    .contact-grid > * { min-width: 0; }
    .contact-text .btn { white-space: normal; padding-inline: 20px; text-align: center; }
}

/* =========================================================
   BANDEAU COOKIES (affiché par pixel.js)
   ========================================================= */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 80;
    max-width: 800px; margin-inline: auto;
    display: flex; align-items: center; gap: 22px;
    padding: 18px 22px; border-radius: var(--radius);
    background: var(--white); color: var(--ink);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    font-size: .92rem; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-text strong { display: block; font-family: var(--font-title); color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.cookie-text p { margin: 0; }
.cookie-text a { color: var(--navy); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 12px 24px; font-size: .95rem; cursor: pointer; border: 2px solid var(--navy); }
.cookie-refuser { background: var(--white); color: var(--navy); }
.cookie-refuser:hover { background: var(--bg-soft); }
.cookie-accepter { background: var(--navy); color: var(--white); }
.cookie-accepter:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
@media (max-width: 760px) {
    .cookie-banner { flex-direction: column; align-items: stretch; gap: 10px; left: 10px; right: 10px; padding: 12px 14px; font-size: .8rem; line-height: 1.4; }
    .cookie-text strong { display: none; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cookie-btn { padding: 10px 14px; font-size: .9rem; }
}

/* Accueil : trois boutons côte à côte */
.hero-actions { gap: 10px; }
.hero-actions .btn-lg { padding-left: 18px; padding-right: 18px; font-size: 1rem; white-space: nowrap; }

/* En-têtes compacts (simulateur, configurateur, formulaires) : l'action démarre plus haut */
.page-hero.compact .container { padding-block: 26px 30px; }
.page-hero.compact .page-icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; }
.page-hero.compact .page-icon .icon { width: 22px; height: 22px; }
.page-hero.compact h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 10px; }
.page-hero.compact .page-intro { font-size: 1rem; }
.page-hero.compact + .section { padding-top: 32px; }
/* FAQ : rubriques dépliantes */
.faq-cat { margin-bottom: 16px; border: 2px solid var(--navy); border-radius: 20px; background: var(--white); overflow: hidden; }
.faq-cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.faq-cat > summary::-webkit-details-marker { display: none; }
.faq-cat > summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.faq-cat[open] > summary::after { content: "–"; }
.faq-cat[open] > summary { background: var(--navy); color: var(--white); }
.faq-cat-count { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .9rem; opacity: .75; }
.faq-cat-body { padding: 18px 18px 4px; background: var(--bg-soft); }
@media (max-width: 640px) { .faq-cat > summary { padding: 16px 16px; font-size: 1.05rem; } .faq-cat-count { display: none; } .faq-cat-body { padding: 14px 10px 2px; } }

.sim-choix{display:grid;gap:14px;margin-top:6px}
.sim-ch{border:2px solid #D3DCEA;border-radius:16px;padding:18px;background:#fff}
.sim-ch h3{font-size:1.1rem;font-weight:800;color:var(--navy);margin:0 0 6px}
.sim-ch p{margin:0 0 12px;color:var(--muted);font-size:.93rem;line-height:1.45}
.sim-ch .btn{width:100%}
.sim-ch-mail{border-color:var(--yellow);background:#FFFBEA;position:relative}
.sim-ch-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--yellow);color:var(--navy);border-radius:999px;padding:2px 10px;margin-bottom:8px}
.sim-ch-mail input[type=email],.sim-ch-mail input[type=tel]{width:100%;font:inherit;font-size:1.05rem;padding:12px 14px;border:2px solid #D3DCEA;border-radius:12px;margin-bottom:10px;box-sizing:border-box}
.sim-consent{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;color:var(--muted);line-height:1.4;margin-bottom:12px;cursor:pointer}
.sim-consent input{margin-top:3px;width:18px;height:18px;flex:none}
.sim-ou{text-align:center;margin:0;color:var(--muted);font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em}
#sim-voir{background:#fff;color:var(--navy);border:2px solid var(--navy);box-shadow:none;opacity:1}
.sim-err{color:#B3261E;font-weight:600;font-size:.9rem;margin:0 0 10px}
.sim-ch-mail .btn:disabled{opacity:.6}

.sim-mailcta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#FFF8DB;border:2px solid var(--yellow);border-radius:14px;padding:16px 18px;margin:8px 0}
.sim-mailcta div{display:flex;flex-direction:column;gap:2px;flex:1 1 240px}
.sim-mailcta strong{color:var(--navy);font-size:1rem}
.sim-mailcta span{color:#5B6477;font-size:.9rem}

/* Bloc étude par e-mail (accueil) */
/* ESSAI : bloc analyse PDF sur la page d'accueil */
.analyse-demo { background: var(--bg-soft); padding: 64px 0; }
.analyse-demo .ad-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.analyse-demo .ad-kicker { display:inline-block; font-family: var(--font-title); font-weight:700; font-size:.82rem; letter-spacing:.07em; text-transform:uppercase; color:#8A5A00; background:var(--yellow); padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.analyse-demo h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.analyse-demo .ad-intro { color: var(--muted); font-size: 1.05rem; margin: 0 0 26px; max-width: 34em; }
.analyse-demo .ad-stats { display:grid; grid-template-columns: 1.35fr 1fr; gap:16px; margin-bottom: 28px; }
.analyse-demo .ad-stat { background:#fff; border:2px solid var(--yellow); border-radius:16px; padding:18px 20px; box-shadow:0 6px 18px rgba(11,32,80,.07); }
.analyse-demo .ad-stat strong { display:block; font-family: var(--font-title); font-size: clamp(1.5rem, 2.9vw, 2.2rem); line-height:1.05; color: var(--orange); white-space: nowrap; }
.analyse-demo .ad-stat span { display:block; margin-top:6px; font-weight:600; color: var(--navy); }
.analyse-demo .ad-pdf { position: relative; justify-self: center; max-width: 420px; }
.analyse-demo .ad-pdf img { width:100%; height:auto; display:block; border-radius:10px; box-shadow: 0 22px 50px rgba(11,32,80,.28); border:1px solid var(--line); transform: rotate(1.6deg); background:#fff; }
.analyse-demo .ad-pdf figcaption { text-align:center; margin-top:16px; font-size:.88rem; color: var(--muted); }
@media (max-width: 860px) { .analyse-demo .ad-grid { grid-template-columns: 1fr; gap: 36px; } .analyse-demo .ad-pdf { max-width: 340px; } }

/* Simulateur : photo de l'analyse avec le formulaire posé dessus */
.sim-ch-photo{position:relative;max-width:420px;margin:6px auto 0}
.sim-ch-photo img{width:100%;height:auto;display:block;border-radius:10px;border:1px solid var(--line);box-shadow:0 14px 34px rgba(11,32,80,.22);background:#fff}
.sim-ch-photo form{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(88%,340px);background:rgba(255,255,255,.96);border-radius:16px;padding:16px;box-shadow:0 14px 40px rgba(11,32,80,.4)}
.sim-ch-photo form input[type=email],.sim-ch-photo form input[type=tel]{margin-bottom:8px}
.sim-ch-photo form .btn{width:100%;padding:16px 18px;font-size:1.05rem}
.sim-ch-photo form input[type=email],.sim-ch-photo form input[type=tel]{font-size:.95rem;padding:11px 12px}

/* Résultats à l'écran : renvoi vers l'analyse complète pour le détail par poste */
.sim-detail{margin:0}
.sim-detail-lien{font:inherit;font-weight:700;color:var(--navy);background:none;border:0;padding:0;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.sim-detail-lien:hover{color:var(--orange)}

/* Bandeau cookies : plus court, bouton Accepter en jaune */
.cookie-accepter{background:linear-gradient(180deg,#FFD84A,#F5B800);color:var(--navy);border-color:#F5B800}
.cookie-accepter:hover{background:#FFD84A;border-color:#FFD84A;color:var(--navy)}
@media (max-width:760px){
 .cookie-banner{padding:8px 12px;gap:8px}
 .cookie-text p{font-size:.78rem;line-height:1.35}
 .cookie-btn{padding:8px 12px;font-size:.88rem}
}
