/* ==========================================================================
   REFONTE DU SITE VITRINE (décembre 2026)
   Même identité : bleu nuit, verts de la marque, police Outfit, boutons et
   cartes arrondis. Cette feuille est chargée EN DERNIER sur les pages
   publiques : elle corrige la présentation sans toucher au fonctionnement.

   Sommaire
   1. En-tête blanc, logo en couleurs
   2. Titres de section alignés à gauche
   3. Boutons et cartes : plus de halo ni d'ombre lourde
   4. Accueil : haut de page
   5. Accueil : sections
   6. Bloc « La pompe à chaleur, pièce par pièce »
   7. Mouvement réduit / sans JavaScript
   ========================================================================== */

/* ---------- 1. EN-TÊTE ----------
   Tout en haut de la page, il reste transparent sur la photo (comportement d'origine).
   Dès qu'on défile (classe .scrolled) ou que le menu est ouvert : fond blanc, logo en couleurs,
   « Simuler mes aides » en bouton vert plein, téléphone en bouton à contour. */
html .header.scrolled,
html .header.menu-open {
    background: #FFFFFF;
    box-shadow: 0 1px 0 #E2E8F0, 0 6px 20px rgba(15, 23, 42, 0.06);
}
html .header.scrolled .nav-menu > li > a:not(.nav-cta):not(.mobile-phone-link),
html .header.menu-open .nav-menu > li > a:not(.nav-cta):not(.mobile-phone-link) { color: #334155; }
html .header.scrolled .nav-menu > li > a:not(.nav-cta):not(.mobile-phone-link):hover,
html .header.menu-open .nav-menu > li > a:not(.nav-cta):not(.mobile-phone-link):hover { color: #03763F; }
html .header.scrolled .nav-menu .nav-cta,
html .header.menu-open .nav-menu .nav-cta {
    background: #03763F !important;
    color: #FFFFFF !important;
    padding: 10px 20px !important;
    border-radius: 9999px !important;
}
html .header.scrolled .nav-menu .nav-cta:hover,
html .header.menu-open .nav-menu .nav-cta:hover { background: #025C31 !important; box-shadow: none; }
/* Le téléphone : bouton à contour, pour ne pas avoir deux boutons verts côte à côte */
html .header.scrolled .header-phone,
html .header.menu-open .header-phone {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #CBD5E1;
    box-shadow: none;
}
html .header.scrolled .header-phone i,
html .header.menu-open .header-phone i { color: #03763F; }
html .header.scrolled .header-phone:hover,
html .header.menu-open .header-phone:hover { background: #F8FAFC; border-color: #03763F; color: #0F172A; }
html .header .header-phone { box-shadow: none; }
/* Même gabarit en haut de page et au défilement (01/12/2026) : sans cela « Simuler mes aides »
   passait de simple lien à bouton, gagnait 40 px de large et décalait tout le menu. En haut,
   c'est un bouton à contour blanc ; au défilement, le même bouton en vert plein. */
html .header:not(.is-mobile) .nav-menu .nav-cta {
    padding: 10px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 9999px !important;
}
html .header:not(.is-mobile).scrolled .nav-menu .nav-cta,
html .header:not(.is-mobile).menu-open .nav-menu .nav-cta { border-color: #03763F !important; }
html .header:not(.is-mobile):not(.scrolled):not(.menu-open) .nav-menu .nav-cta:hover { background: rgba(255, 255, 255, 0.14) !important; }
html .header .nav-menu .nav-cta:hover { transform: none; }
html .header .header-phone { border: 1px solid transparent; }
html .header .header-phone:hover { transform: none; }

/* ---------- 2. TITRES DE SECTION : à gauche, texte d'introduction à droite ---------- */
html .section-header.section-header {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
html .section-header.section-header h2 {
    display: block;
    font-size: clamp(1.5rem, 2.35vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
html .section-header h2::after,
html .section-title::after { display: none !important; }
html .section-header.section-header p { margin-left: 0; margin-right: 0; }

@media (min-width: 992px) {
    html .section-header.section-header {
        display: grid;
        grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
        column-gap: 64px;
        align-items: end;
        margin-bottom: 48px;
    }
    html .section-header.section-header > .section-badge { grid-column: 1; justify-self: start; }
    html .section-header.section-header > h2 { grid-column: 1; margin-bottom: 0; }
    html .section-header.section-header > p {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: end;
        justify-self: end;
        max-width: 440px;
        margin: 0;
    }
}

/* ---------- 3. BOUTONS ET CARTES : nets, sans halo ---------- */
html .btn-primary,
html .btn.btn-primary { box-shadow: none; }
html .btn-primary:hover,
html .btn.btn-primary:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14); }

html .expertise-card { box-shadow: none; }
html .expertise-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
html .advantage-card { box-shadow: none; border: 1px solid #E2E8F0; }
html .advantage-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }

/* ---------- 4. ACCUEIL : haut de page ----------
   Centré : grand logo, grand titre sur deux lignes, texte, puis les trois offres en bulles blanches.
   Les boutons « Simuler mes aides » et téléphone ne sont plus dans le haut de page (ils restent dans l'en-tête).
   Les trois chiffres sous les offres ont été retirés le 01/12/2026 : les chiffres clés restent dans la barre qui défile. */
/* Le haut de page et la barre qui défile (58 px) remplissent exactement le premier écran */
html .pro-hero {
    min-height: calc(100vh - 58px);
    min-height: calc(100svh - 58px);
    padding: 0;
    background-position: center 72%;
}
/* L'en-tête fixe fait 88 px : on laisse cette hauteur, plus un peu d'air */
html .pro-hero > .container { padding-top: 124px; padding-bottom: 48px; }
/* Voile bleu nuit uniforme : le texte est centré, il doit rester lisible partout */
html .pro-hero::before {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.86) 0%, rgba(10, 22, 40, 0.74) 55%, rgba(10, 22, 40, 0.88) 100%);
}
html .pro-hero::after { display: none; }
html .pro-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; }
html .pro-hero .hero-content { max-width: none; text-align: center; padding-top: 0; padding-bottom: 0; }

/* Grand logo centré, au-dessus du titre et sous l'en-tête. En blanc, comme le logo de l'en-tête sur la photo.
   Le fichier a du vide autour du dessin (19 % en haut, 8 % en bas) : les marges négatives le rattrapent. */
html .pro-hero .hero-logo {
    --logo-h: clamp(120px, 20vh, 200px);
    --defil-fin: 260px; /* distance de défilement sur laquelle l'animation se joue */
    position: relative;
    display: block;
    width: auto;
    height: var(--logo-h);
    aspect-ratio: 458 / 461;
    margin: calc(var(--logo-h) * -0.19) auto calc(26px - var(--logo-h) * 0.08);
}
/* ANIMATION DU GRAND LOGO (01/12/2026)
   Le logo est en deux couches : les lettres (l'image, où les trois ronds sont masqués) et les trois ronds,
   redessinés par-dessus exactement au même endroit. Au repos, on voit le logo d'origine.
   - Au survol de la souris : les trois ronds s'écartent et grossissent un peu, comme des bulles.
   - Au défilement : les ronds s'éloignent et les lettres s'estompent, à mesure que le logo quitte l'écran.
     --defil va de 0 (tout en haut) à 1. Les navigateurs récents le calculent tout seuls (règle @supports plus bas),
     pour les autres c'est js/enhancements.js qui le met à jour.
   Seuls le déplacement, la taille et l'opacité bougent : rien ne ralentit le défilement.
   Si le logo repasse un jour en couleurs : ronds a = #03753F, b = #03BE64, c = #01A821, et retirer le filtre des lettres. */
@property --defil { syntax: '<number>'; inherits: true; initial-value: 0; }
html .pro-hero .hero-logo-lettres {
    --trou: calc(var(--logo-h) * 0.0809);
    display: block;
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: calc(1 - var(--defil, 0) * 0.7);
    scale: calc(1 - var(--defil, 0) * 0.05);
    -webkit-mask-image:
        radial-gradient(circle at 84.22% 28.58%, transparent var(--trou), #000 calc(var(--trou) + 0.5px)),
        radial-gradient(circle at 15.32% 51.07%, transparent var(--trou), #000 calc(var(--trou) + 0.5px)),
        radial-gradient(circle at 65.92% 84.03%, transparent var(--trou), #000 calc(var(--trou) + 0.5px));
    mask-image:
        radial-gradient(circle at 84.22% 28.58%, transparent var(--trou), #000 calc(var(--trou) + 0.5px)),
        radial-gradient(circle at 15.32% 51.07%, transparent var(--trou), #000 calc(var(--trou) + 0.5px)),
        radial-gradient(circle at 65.92% 84.03%, transparent var(--trou), #000 calc(var(--trou) + 0.5px));
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
html .pro-hero .hero-logo-rond {
    position: absolute;
    width: 15.78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #FFFFFF;
    /* Défilement : chaque rond part dans sa direction (--dx, --dy, en part de la hauteur du logo) et rétrécit */
    translate: calc(var(--defil, 0) * var(--dx) * var(--logo-h)) calc(var(--defil, 0) * var(--dy) * var(--logo-h));
    scale: calc(1 - var(--defil, 0) * 0.3);
    opacity: calc(1 - var(--defil, 0) * 0.35);
    /* Survol : petit rebond */
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html .pro-hero .hero-logo .rond-a { left: 76.33%; top: 20.74%; --dx: 0.16; --dy: -0.17; }
html .pro-hero .hero-logo .rond-b { left: 7.41%; top: 43.21%; width: 15.83%; --dx: -0.2; --dy: 0.02; transition-delay: 0.05s; }
html .pro-hero .hero-logo .rond-c { left: 58.07%; top: 76.24%; width: 15.7%; --dx: 0.09; --dy: 0.2; transition-delay: 0.1s; }
@media (hover: hover) {
    html .pro-hero .hero-logo:hover .rond-a { transform: translate(22%, -24%) scale(1.14); }
    html .pro-hero .hero-logo:hover .rond-b { transform: translate(-28%, 4%) scale(1.14); }
    html .pro-hero .hero-logo:hover .rond-c { transform: translate(12%, 26%) scale(1.14); }
}
@supports (animation-timeline: scroll()) {
    html .pro-hero .hero-logo {
        animation: logo-defil linear both;
        animation-timeline: scroll(root block);
        animation-range: 0px var(--defil-fin);
    }
}
@keyframes logo-defil { from { --defil: 0; } to { --defil: 1; } }
/* Un seul logo à la fois : celui de l'en-tête est masqué tout en haut de la page d'accueil, et tant que le grand
   logo est à l'écran (classe .grand-logo-visible posée sur <html> par js/enhancements.js). Il revient quand on a
   défilé au-delà du grand logo. Menu ouvert : on le montre toujours. */
html .header .logo { transition: opacity 0.25s ease, visibility 0.25s; }
body.accueil-grand-logo .header:not(.scrolled):not(.menu-open) .logo,
html.grand-logo-visible .header:not(.menu-open) .logo { opacity: 0; visibility: hidden; }
/* Téléphone et tablette, page d'accueil : tout en haut, l'en-tête est transparent comme sur ordinateur
   (il ne reste que le bouton du menu, en blanc). Il redevient blanc dès qu'on défile ou qu'on ouvre le menu. */
body.accueil-grand-logo .header.is-mobile:not(.scrolled):not(.menu-open) { background: transparent; box-shadow: none; }
body.accueil-grand-logo .header.is-mobile:not(.scrolled):not(.menu-open) .mobile-toggle span { background: #FFFFFF; }

/* Le titre tient sur deux lignes : la taille suit la largeur de l'écran */
html .pro-hero h1 {
    font-size: clamp(1.9rem, 3.55vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
html .pro-hero .hero-subtitle { max-width: 720px; margin: 0 auto 32px; text-wrap: balance; }
/* Deux phrases courtes : une par ligne sur grand écran, à la suite sur les écrans plus étroits */
html .pro-hero .hero-subtitle br { display: none; }
@media (min-width: 1100px) {
    html .pro-hero .hero-subtitle { max-width: 900px; }
    html .pro-hero .hero-subtitle br { display: inline; }
}

/* Les trois offres : une rangée de trois bulles blanches sous le texte */
html .pro-hero .hero-paths {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    max-width: none;
    margin: 0 auto 28px;
}
/* Bulle blanche aux bouts ronds : pictogramme rond à gauche, texte sombre, flèche à droite.
   Pas de flou d'arrière-plan : il faisait saccader le défilement (01/12/2026). */
html .pro-hero .hero-path {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 18px 12px 12px;
    gap: 10px;
    text-align: left;
    background: #FFFFFF;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    border-radius: 999px;
    color: #0F172A;
    box-shadow: 0 8px 22px rgba(2, 8, 20, 0.28);
}
html .pro-hero .hero-path:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(2, 8, 20, 0.38);
}
html .pro-hero .hero-path:focus-visible { outline: 3px solid #00D863; outline-offset: 3px; }
html .pro-hero .hero-path-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 50%;
    background: #E6F4EC;
    color: #03763F;
}
html .pro-hero .hero-path-kicker { color: #03763F; }
html .pro-hero .hero-path-title { font-size: 1rem; color: #0F172A; }
html .pro-hero .hero-path-desc { font-size: 0.8rem; color: #475569; }
html .pro-hero .hero-path-arrow { font-size: 1.05rem; color: #64748B; }
html .pro-hero .hero-path:hover .hero-path-arrow { color: #03763F; }

/* La note Google ferme le haut de page */
html .pro-hero .hero-rating { text-align: center; margin: 0; }
/* Flèche qui invite à défiler (remplace la note Google sous les boutons, 01/12/2026) */
html .pro-hero .hero-defiler { text-align: center; margin: 4px 0 0; line-height: 0; }
html .pro-hero .hero-defiler a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    color: #FFFFFF; border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
    animation: hero-defiler 1.8s ease-in-out infinite;
}
html .pro-hero .hero-defiler a:hover { background: rgba(255, 255, 255, 0.2); border-color: #FFFFFF; }
html .pro-hero .hero-defiler a:focus-visible { outline: 3px solid #00D863; outline-offset: 3px; }
@keyframes hero-defiler { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
#expertises { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html .pro-hero .hero-defiler a { animation: none; } }

@media (min-width: 901px) and (max-height: 800px) {
    /* Écrans d'ordinateur peu hauts : on resserre pour que tout tienne dans le premier écran */
    html .pro-hero > .container { padding-top: 108px; padding-bottom: 28px; }
    html .pro-hero .hero-logo { margin-bottom: calc(16px - var(--logo-h) * 0.08); }
    html .pro-hero h1 { margin-bottom: 14px; }
    html .pro-hero .hero-subtitle { margin-bottom: 22px; font-size: 1.05rem; line-height: 1.6; }
    html .pro-hero .hero-paths { margin-bottom: 20px; }
}

@media (min-width: 901px) and (max-width: 1199px) {
    /* Tablette à l'horizontale : bulles plus étroites, on gagne de la place pour le texte */
    html .pro-hero .hero-path-arrow { display: none; }
    html .pro-hero .hero-path-title { font-size: 0.95rem; }
}

@media (max-width: 900px) {
    /* Tablette et téléphone : les trois offres passent l'une sous l'autre */
    html .pro-hero .hero-paths { flex-direction: column; max-width: 520px; gap: 10px; }
}

@media (max-width: 768px) {
    /* Téléphone : tout le premier écran tient sans défiler, la photo se voit en bas */
    /* --bande : hauteur de la bande de photo en bas, selon la hauteur du téléphone */
    html .pro-hero {
        --bande: clamp(84px, calc(100svh - 679px), 240px);
        align-items: flex-start;
        padding: 0 0 var(--bande);
        background-size: 100% auto;
        background-position: center calc(100% + 3vw);
    }
    /* Le grand logo est tout en haut, à la hauteur du bouton du menu (l'en-tête est transparent à cet endroit) */
    html .pro-hero > .container { padding-top: 22px; padding-bottom: 0; }
    html .pro-hero .hero-logo { --logo-h: 108px; --defil-fin: 90px; margin-bottom: calc(18px - var(--logo-h) * 0.08); }
    /* Le texte reste sur fond bleu nuit ; la photo n'apparaît que dans la bande du bas */
    html .pro-hero::before {
        background: linear-gradient(0deg, rgba(10, 22, 40, 0.12) 0, rgba(10, 22, 40, 0.3) calc(var(--bande) * 0.6), #0A1628 var(--bande), #0A1628 100%);
    }
    html .pro-hero h1 { font-size: clamp(1.55rem, 7.2vw, 1.85rem); margin-bottom: 14px; }
    html .pro-hero h1 br { display: none; }
    html .pro-hero .hero-subtitle { margin-bottom: 20px; }
    /* Offres compactes : pictogramme, nom, flèche */
    html .pro-hero .hero-paths { margin-bottom: 16px; }
    html .pro-hero .hero-path { padding: 9px 18px 9px 9px; gap: 10px; }
    html .pro-hero .hero-path-icon { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 50%; }
    html .pro-hero .hero-path-kicker,
    html .pro-hero .hero-path-desc { display: none; }
    html .pro-hero .hero-path-title { margin-bottom: 0; font-size: clamp(0.875rem, 3.9vw, 1rem); }
}

/* ---------- 5. ACCUEIL : sections ---------- */
/* Reportage France 2 : fond uni, titre à gauche, ombre légère */
html .section-press { background: #F8FAFC; }
html .section-press .press-wrapper { max-width: none; }
html .section-press .press-intro { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }
html .section-press .press-intro h2 { letter-spacing: -0.02em; }
html .section-press .press-intro p { margin-left: 0; }
html .section-press .press-source { text-align: left; }
@media (min-width: 992px) {
    /* Texte à gauche, vidéo à droite */
    html .section-press .press-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        column-gap: 56px;
        align-items: center;
    }
    html .section-press .press-intro { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
    html .section-press .press-video-frame { grid-column: 2; }
    html .section-press .press-source { grid-column: 2; }
}

/* Près de chez vous : texte à gauche comme le titre */
html .section-local .local-intro { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }
html .section-local .local-pied { text-align: left; }

/* Bandeau « Quelles aides pour votre projet ? » : fond bleu nuit, donc vert vif */
html .simu-cta-card {
    background: #0F172A;
    --accent: #00D863;
    --accent-dark: #00B854;
    --accent-text: #00D863;
}
html .simu-cta-card .section-badge { background: rgba(0, 216, 99, 0.12); color: #00D863 !important; }
html .simu-cta-card .btn-primary { color: #0F172A; }

/* Questions fréquentes : titre à gauche, questions à droite */
html .faq-tertiaire .faq-list-t,
html .faq-tertiaire .faq-guides { margin-left: 0; margin-right: 0; }
@media (min-width: 992px) {
    html .faq-tertiaire > .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
        column-gap: 64px;
        align-items: start;
    }
    html .faq-tertiaire .section-header.section-header {
        display: block;
        grid-column: 1;
        grid-row: 1 / span 3;
        margin-bottom: 0;
        position: sticky;
        top: 120px;
    }
    html .faq-tertiaire .faq-list-t,
    html .faq-tertiaire .faq-guides,
    html .faq-tertiaire > .container > p { grid-column: 2; max-width: none; }
    html .faq-tertiaire > .container > p { text-align: left; }
}
html .press-video-frame { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14); }

/* Les 5 étapes : sur fond clair */
html .section-process {
    background: #FFFFFF;
    --accent: #03763F;
    --accent-dark: #025C31;
    --accent-text: #03763F;
}
html .section-process::before,
html .section-process::after { display: none; }
html .section-process .section-header h2 { color: #0F172A; }
html .section-process .section-header p { color: #475569; }
html .section-process .section-badge { background: rgba(0, 216, 99, 0.1) !important; color: #03763F !important; }
html .section-process .process-step-num {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    background: #03763F;
    box-shadow: none;
}
html .section-process .process-step-title { color: #0F172A; }
html .section-process .process-step p { color: #475569; }
html .section-process .process-step-you { color: #475569; }
html .section-process .process-step-you strong { color: #0F172A; }
html .section-process .process-timeline::before { background: #E2E8F0; top: 28px; }

/* Avantages : fond uni */
html .section-advantages { background: #F8FAFC; }

/* Formulaire de contact : fond bleu nuit uni */
html .contact-section { background: #0A1628; }

/* Barre de garanties sous le haut de page : une seule ligne qui défile.
   La classe .defile est posée par js/enhancements.js, qui recopie les éléments pour boucler sans trou.
   Sans JavaScript, ou si le visiteur a demandé moins d'animations, la barre reste fixe comme avant. */
html .trust-bar-enhanced.defile { overflow: hidden; padding: 16px 0; min-height: 58px; box-sizing: border-box; }
/* Fondu des bords : deux dégradés bleu nuit posés par-dessus (01/12/2026). Avant, un masque sur toute la barre
   obligeait le navigateur à la recalculer à chaque image, ce qui pesait sur le défilement de la page. */
html .trust-bar-enhanced.defile > .container { position: relative; max-width: none; padding-left: 0; padding-right: 0; }
html .trust-bar-enhanced.defile > .container::before,
html .trust-bar-enhanced.defile > .container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6%;
    z-index: 1;
    pointer-events: none;
}
html .trust-bar-enhanced.defile > .container::before { left: 0; background: linear-gradient(90deg, #0F172A, rgba(15, 23, 42, 0)); }
html .trust-bar-enhanced.defile > .container::after { right: 0; background: linear-gradient(270deg, #0F172A, rgba(15, 23, 42, 0)); }
html .trust-bar-enhanced.defile .trust-bar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    animation: trust-defile var(--trust-duree, 40s) linear infinite;
}
html .trust-bar-enhanced.defile .trust-item { flex: 0 0 auto; padding: 0 28px; white-space: nowrap; font-size: 0.95rem; }
html .trust-bar-enhanced.defile:hover .trust-bar-inner,
html .trust-bar-enhanced.defile.en-pause .trust-bar-inner,
html .trust-bar-enhanced.defile.hors-ecran .trust-bar-inner { animation-play-state: paused; }
@keyframes trust-defile { to { transform: translateX(-50%); } }

/* ---------- 6. BLOC « LA POMPE À CHALEUR, PIÈCE PAR PIÈCE » ---------- */
.pac-teaser {
    padding: clamp(64px, 7vw, 100px) 0;
    background: #0F172A;
    color: #FFFFFF;
    --accent: #00D863;
    --accent-dark: #00B854;
    --accent-text: #00D863;
}
.pac-teaser-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.pac-teaser-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pac-teaser .section-badge {
    margin: 0;
    background: rgba(0, 216, 99, 0.1);
    border: 1px solid rgba(0, 216, 99, 0.35);
    color: #00D863 !important;
}
.pac-teaser h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.5rem, 2.35vw, 2.05rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.pac-teaser-accent { color: #00D863; }
.pac-teaser-text > p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: 1.06rem; line-height: 1.65; }
.pac-teaser-stat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}
.pac-teaser-kwh { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #FFFFFF; }
.pac-teaser-kwh-out { color: #00D863; }
.pac-teaser-stat > i { font-size: 1.5rem; color: #00D863; }
.pac-teaser-note { flex: 1 1 100%; font-size: 0.9rem; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }
html .pac-teaser .btn-primary { background: #00D863; color: #0F172A; }
html .pac-teaser .btn-primary:hover { background: #4BE890; color: #0F172A; }
.pac-teaser-visual {
    padding: clamp(16px, 2.6vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #131E36;
}
.pac-teaser-visual svg { display: block; width: 100%; height: auto; }
.pac-teaser-visual text { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; }

@media (max-width: 900px) {
    .pac-teaser-grid { grid-template-columns: minmax(0, 1fr); }
    .pac-teaser-kwh { font-size: 1.8rem; }
    .pac-teaser .btn-primary { width: 100%; justify-content: center; }
}

/* Le ventilateur tourne lentement quand le bloc est à l'écran (classe posée par le script de la page) */
@keyframes pac-teaser-tourne { to { transform: rotate(360deg); } }
.pac-teaser.est-visible .pac-teaser-helice {
    transform-origin: 221px 212px;
    animation: pac-teaser-tourne 14s linear infinite;
}

/* ---------- 7. MOUVEMENT RÉDUIT ---------- */
@media (prefers-reduced-motion: reduce) {
    .pac-teaser.est-visible .pac-teaser-helice { animation: none; }
    html .trust-bar-enhanced.defile .trust-bar-inner { animation: none; }
    html .pro-hero .hero-path:hover { transform: none; }
    html .header .logo { transition: none; }
    html .pro-hero .hero-logo { animation: none; --defil: 0; }
    html .pro-hero .hero-logo-rond { transition: none; }
    html .pro-hero .hero-logo:hover .hero-logo-rond { transform: none; }
    html .section-header,
    html .fade-in,
    html .scroll-fade-in,
    html .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- 8. PAGE « QUI SOMMES-NOUS » : garanties ---------- */
html .certifs-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
html .certif-card { box-shadow: none; border: 1px solid #E2E8F0; border-radius: 20px; }
html .certif-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
.certif-ico { display: inline-flex; margin-bottom: 14px; font-size: 2.6rem; color: #03763F; }
html .certif-card p { font-size: 15px; line-height: 1.55; }
html .certif-card p + p { margin-top: 8px; }

/* ---------- 8. CARTES « NOS SOLUTIONS » : arrondies, une couleur par offre (01/12/2026) ---------- */
html .expertise-card {
    --offre: #03763F;
    --offre-fonce: #025E32;
    --offre-fond: #DCEEE2;
    --offre-texte: #0B2E1C;
    --offre-texte-2: #2B5A41;
    background: var(--offre-fond);
    border: 0;
    border-radius: 40px;
}
html #expertise-clim {
    --offre: #185FA5;
    --offre-fonce: #0C447C;
    --offre-fond: #E6F1FB;
    --offre-texte: #042C53;
    --offre-texte-2: #0C447C;
}
html #expertise-cet {
    --offre: #A35F0C;
    --offre-fonce: #854F0B;
    --offre-fond: #FAEEDA;
    --offre-texte: #412402;
    --offre-texte-2: #633806;
}
html .expertise-card:hover { border: 0; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10); }
html .expertise-card .expertise-icon {
    background: var(--offre);
    color: #FFFFFF;
    border-radius: 50%;
}
html .expertise-card .expertise-tag {
    background: #FFFFFF;
    color: var(--offre-fonce);
    border-radius: 999px;
    padding: 8px 16px;
}
html .expertise-card h3 { color: var(--offre-texte); }
html .expertise-card .expertise-lead { color: var(--offre-texte-2); }
html .expertise-card .expertise-points li { color: var(--offre-texte); }
html .expertise-card .expertise-points li i {
    background: var(--offre);
    color: #FFFFFF;
}
html .expertise-card .btn.btn-primary {
    background: var(--offre);
    color: #FFFFFF;
    border-color: var(--offre);
    border-radius: 999px;
    align-self: stretch;
    justify-content: space-between;
}
html .expertise-card .btn.btn-primary:hover {
    background: var(--offre-fonce);
    border-color: var(--offre-fonce);
    color: #FFFFFF;
}
@media (max-width: 900px) {
    html .expertise-card { border-radius: 32px; }
}

/* ---------- 9. « PRÈS DE CHEZ VOUS » : parcours du camion (js/parcours-local.js, 01/12/2026) ---------- */
.parcours { position: relative; margin: 8px 0 4px; height: 210px; }
.parcours-svg { display: block; overflow: visible; }
.parcours-route { fill: none; stroke: #0F172A; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.parcours-trace { fill: none; stroke: #03763F; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.parcours-ligne { fill: none; stroke: #FFFFFF; stroke-opacity: .75; stroke-width: 2; stroke-dasharray: 10 12; stroke-linecap: round; }
.parcours-arret { cursor: pointer; }
.parcours-arret-zone { fill: transparent; }
.parcours-arret-point { fill: #FFFFFF; stroke: #0F172A; stroke-width: 4; transition: r .2s ease, stroke .2s ease, fill .2s ease; }
.parcours-arret.est-passe .parcours-arret-point { stroke: #03763F; }
.parcours-arret.est-actif .parcours-arret-point { fill: #00D863; stroke: #FFFFFF; }
.parcours-arret-atelier .parcours-arret-point { fill: #00D863; }
.parcours-arret-nom { font-family: inherit; font-size: 13px; font-weight: 600; fill: #475569; transition: fill .2s ease; }
.parcours-arret:hover .parcours-arret-nom,
.parcours-arret.est-actif .parcours-arret-nom { fill: #03763F; }
.parcours-camion { pointer-events: none; }
.parcours-camion.roule .parcours-camion-corps { animation: parcours-cahot .32s ease-in-out infinite; }
@keyframes parcours-cahot { 50% { transform: translateY(-1.5px); } }
.parcours-bulle {
    position: absolute; top: 0; left: 0; pointer-events: none; white-space: nowrap;
    padding: 6px 14px; border-radius: 999px; background: #0F172A; color: #FFFFFF;
    font-size: 13px; font-weight: 600; line-height: 1.3;
}
.parcours-bulle.en-route { background: #03763F; }
html .section-local.a-parcours .local-grille a { border-radius: 26px; padding-left: 18px; padding-right: 20px; border: 2px solid transparent; }
html .section-local.a-parcours .local-grille a.parcours-actif { border-color: #03763F; background: #DCEEE2; color: #0B2E1C; }
html .section-local.a-parcours .local-grille .local-siege a.parcours-actif { background: #03763F; color: #FFFFFF; border-color: #00D863; }
@media (max-width: 899px) { .parcours { height: 150px; } .parcours-route, .parcours-trace { stroke-width: 16; } }
@media (prefers-reduced-motion: reduce) {
    .parcours-camion.roule .parcours-camion-corps { animation: none; }
    .parcours-arret-point, .parcours-arret-nom { transition: none; }
}

/* ---------- 10. AVIS GOOGLE : 5 avis qui défilent (js/avis-defile.js, 01/12/2026) ---------- */
/* Sans JavaScript ou avec « réduire les animations » : rangée à faire défiler au doigt. */
html .section-avis .avis-grid {
    display: flex; gap: 20px; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px;
    -webkit-overflow-scrolling: touch;
}
html .section-avis .avis-card {
    flex: 0 0 min(420px, 82vw); scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: space-between;
    background: #F2F8F4; border: 0; border-radius: 28px; padding: 26px 28px;
}
html .section-avis .avis-card figcaption { color: #025E32; font-weight: 600; }
html .section-avis .avis-grid.defile {
    overflow: hidden; scroll-snap-type: none; padding-left: 0; padding-right: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.avis-piste { display: flex; gap: 20px; width: max-content; animation: avis-defile 45s linear infinite; }
.avis-grid.defile:hover .avis-piste,
.avis-grid.defile:focus-within .avis-piste,
.avis-grid.defile.en-pause .avis-piste { animation-play-state: paused; }
@keyframes avis-defile { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- 11. HAUT DE PAGE : fond vivant (nuages + oiseaux), 01/12/2026 ---------- */
/* Décor seul, sans JavaScript. Tout est animé par « transform » (léger pour le téléphone).
   Coupé si le visiteur a demandé moins d'animations. */
.hero-vivant {
    position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
    mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
}
/* Le ciel de la photo est en haut à gauche : les nuages s'effacent avant la maison */
.hero-ciel {
    position: absolute; inset: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 50%);
    mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 50%);
}
@media (max-width: 768px) {
    .hero-ciel { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%); }
}
.hero-nuages {
    position: absolute; top: 0; left: 0; height: 100%;
    background-repeat: repeat-x; background-position: 0 0;
    will-change: transform;
}
.hero-nuages-loin {
    width: calc(100% + 1600px); opacity: .2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221600%22 height=%22620%22%3E%3Cfilter id=%22n%22 x=%220%22 y=%220%22 width=%22100%25%22 height=%22100%25%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.0035 .009%22 numOctaves=%225%22 seed=%2211%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1.9 0 0 0 -.92%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url%28%23n%29%22/%3E%3C/svg%3E");
    background-size: 1600px 620px;
    animation: hero-nuages-loin 210s linear infinite;
}
.hero-nuages-pres {
    width: calc(100% + 2200px); opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%222200%22 height=%22760%22%3E%3Cfilter id=%22n%22 x=%220%22 y=%220%22 width=%22100%25%22 height=%22100%25%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.0022 .006%22 numOctaves=%225%22 seed=%224%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 1  0 0 0 0 1  0 0 0 0 1  2.1 0 0 0 -1.08%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url%28%23n%29%22/%3E%3C/svg%3E");
    background-size: 2200px 760px;
    animation: hero-nuages-pres 130s linear infinite;
}
@keyframes hero-nuages-loin { to { transform: translate3d(-1600px, 0, 0); } }
@keyframes hero-nuages-pres { to { transform: translate3d(-2200px, 0, 0); } }

.hero-vol {
    position: absolute; left: 0; top: 0; width: 120px; height: 70px;
    animation: hero-vol 46s linear infinite; animation-delay: 3s; opacity: 0;
    will-change: transform, opacity;
}
@keyframes hero-vol {
    0%   { transform: translate3d(-12vw, 34vh, 0) scale(1.15); opacity: 0; }
    4%   { opacity: .7; }
    30%  { transform: translate3d(22vw, 22vh, 0) scale(.85); opacity: .65; }
    52%  { transform: translate3d(46vw, 13vh, 0) scale(.5); opacity: .45; }
    62%  { transform: translate3d(56vw, 10vh, 0) scale(.36); opacity: 0; }
    100% { transform: translate3d(56vw, 10vh, 0) scale(.36); opacity: 0; }
}
.hero-oiseau {
    position: absolute; width: 22px; height: 11px; overflow: visible;
    fill: none; stroke: #E2E8F0; stroke-width: 1.7; stroke-linecap: round;
    animation: hero-plane 5.5s ease-in-out infinite;
}
.hero-oiseau .aile-g, .hero-oiseau .aile-d {
    transform-box: fill-box; animation: hero-aile .62s ease-in-out infinite alternate;
}
.hero-oiseau .aile-g { transform-origin: 100% 100%; }
.hero-oiseau .aile-d { transform-origin: 0% 100%; }
@keyframes hero-aile { from { transform: scaleY(1); } to { transform: scaleY(-.55); } }
@keyframes hero-plane { 50% { translate: 0 5px; } }
.hero-oiseau.o1 { left: 60px; top: 20px; }
.hero-oiseau.o2 { left: 30px; top: 6px; width: 19px; animation-delay: -1.2s; }
.hero-oiseau.o2 path { animation-duration: .56s; animation-delay: -.2s; }
.hero-oiseau.o3 { left: 26px; top: 38px; width: 20px; animation-delay: -2.6s; }
.hero-oiseau.o3 path { animation-duration: .68s; animation-delay: -.35s; }
.hero-oiseau.o4 { left: 0; top: 24px; width: 17px; animation-delay: -3.4s; }
.hero-oiseau.o4 path { animation-duration: .6s; animation-delay: -.1s; }
.hero-oiseau.o5 { left: 92px; top: 48px; width: 16px; animation-delay: -.6s; }
.hero-oiseau.o5 path { animation-duration: .72s; animation-delay: -.45s; }
@media (max-width: 768px) {
    .hero-vol { width: 90px; }
    .hero-oiseau { scale: .8; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-nuages { animation: none; }
    .hero-vol { display: none; }
}
