/* ═══════════════════════════════════════════════════════════
   Ackermann & Fils SA – Feuille de style principale
   Couleurs Ackermann uniquement : bleu, bleu foncé, jaune,
   puis gris clair / blanc / noir. Une seule structure de polices.
═══════════════════════════════════════════════════════════ */

:root {
    --blue: #1F3C90;        /* bleu Ackermann (logo) */
    --navy: #1B2D61;        /* bleu Ackermann foncé */
    --yellow: #FEDA25;      /* jaune Ackermann (logo) */
    --gray: #EEF1F6;        /* gris clair des fonds */
    --line: #DCE1EA;        /* filets et bordures */
    --ink: #111827;         /* noir des titres */
    --text: #4B5563;        /* gris des textes */
    --white: #fff;
    --danger: #c62828;
    --success: #1b7f4b;

    --font-head: 'Archivo', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius: 6px;          /* angles légèrement arrondis, comme le logo */
    --shadow: 0 12px 30px -16px rgba(27, 45, 97, .35);
    --container: 1200px;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.12;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
    overflow-wrap: break-word;
    hyphens: manual;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.hl { color: var(--yellow); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-gray { background: var(--gray); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* Sur-titre : même rendu partout */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: .78rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--yellow); flex: none; }
.eyebrow--light { color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head--left { margin-left: 0; text-align: left; }

/* Numéros 01, 02… : même rendu partout */
.num {
    display: inline-block; position: relative;
    font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1;
    color: var(--blue); padding-top: 10px; letter-spacing: .02em;
}
.num::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 3px; background: var(--yellow); }
.num--xl { font-size: 2.4rem; padding-top: 0; }
.num--xl::before { display: none; }

/* ── Boutons (angles légèrement arrondis) ──── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius); border: 2px solid transparent;
    font-family: var(--font-body); font-weight: 700; font-size: .96rem;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-phone:hover svg { transform: rotate(-12deg); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #ffe34f; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--text); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--blue); transform: none; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--blue); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.check-list { list-style: none; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: .38em;
    width: 16px; height: 16px; border-radius: 3px;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%231F3C90' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.check-list--cols { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }

.badge {
    display: inline-block; margin: 0 0 12px 14px; padding: 5px 10px; border-radius: 4px; vertical-align: top;
    background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* Photos : zoom marqué au survol, partout */
.zoom img, .offer-media img, .network-col-media img, .gallery-item img, .ribbon-item img, .insta-post img, .mosaic-item img, .hero-photo img {
    transition: transform .8s var(--ease);
}
.offer:hover .offer-media img, .network-col:hover .network-col-media img, .gallery-item:hover img, .ribbon-item:hover img, .insta-post:hover img, .mosaic-item:hover img, .hero-photo:hover img {
    transform: scale(1.12);
}

/* ── Header ──────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(27, 45, 97, .5); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo img { height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border: 0; background: none; cursor: pointer;
    font-family: var(--font-body); font-weight: 600; font-size: .98rem;
    color: var(--ink); text-decoration: none;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }
.dropdown-arrow { width: 11px; height: 8px; transition: transform .25s; }
.nav-dropdown { position: relative; }
.dropdown-menu {
    list-style: none; position: absolute; top: calc(100% + 10px); left: 50%;
    width: 340px; padding: 8px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .nav-dropdown.open .dropdown-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-dropdown:hover .dropdown-arrow, .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-item {
    display: flex; align-items: center; gap: 14px; padding: 10px 12px;
    border-radius: 4px; text-decoration: none; color: var(--ink);
    transition: background .2s;
}
.dropdown-item:hover, .dropdown-item.active { background: var(--gray); }
.dropdown-icon { width: 40px; height: 32px; object-fit: contain; flex: none; }
.dropdown-item strong { display: block; font-size: .96rem; }
.dropdown-item small { display: block; color: var(--text); font-size: .8rem; line-height: 1.35; }

/* La case jaune « Dépannage » est centrée entre « Contact » et « Devis » */
.header-ctas { display: flex; align-items: center; gap: 28px; margin-left: 14px; }
.header-sos, .header-devis { height: 50px; width: 160px; }
.header-devis { padding: 0 18px; font-size: .98rem; }
.header-sos {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0 14px; border-radius: var(--radius);
    background: var(--yellow); color: var(--navy); text-decoration: none;
    transition: transform .25s var(--ease);
}
.header-sos:hover { transform: translateY(-2px); }
.header-sos-label { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.header-sos-num { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.header-sos-num svg { width: 15px; height: 15px; }
.nav-item--mobile-cta { display: none; }

.nav-toggle {
    display: none; width: 46px; height: 46px; margin-left: 4px; border: 0; border-radius: var(--radius);
    background: var(--blue); cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; display: block; left: 13px; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(27, 45, 97, .5); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ── Hero accueil ────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 35%, var(--navy) 100%);
    color: rgba(255, 255, 255, .86);
    padding: 70px 0 56px;
}
.hero-k { position: absolute; right: -80px; top: -60px; width: 560px; opacity: .05; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); text-transform: uppercase; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; margin-bottom: 24px; }
.hero h1 .hl { display: block; }
.hero-text { font-size: 1.08rem; max-width: 540px; margin-bottom: 32px; }
.hero-content > * { animation: rise .9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.hero-collage { position: relative; height: 520px; }
.hero-slant {
    position: absolute; right: 6%; top: 8%; width: 46%; height: 78%;
    background: var(--yellow); transform: skewX(-12deg); border-radius: var(--radius);
    animation: slantIn 1.1s var(--ease) .2s both;
}
@keyframes slantIn { from { opacity: 0; transform: skewX(-12deg) translateX(60px); } }
.hero-photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); animation: rise 1s var(--ease) both; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--1 { left: 0; top: 0; width: 56%; height: 74%; animation-delay: .15s; }
.hero-photo--2 { right: 0; top: 18%; width: 42%; height: 56%; animation-delay: .3s; }
.hero-photo--3 { left: 30%; bottom: 0; width: 40%; height: 36%; border: 5px solid var(--white); animation-delay: .45s; }

.hero-figures { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 52px; position: relative; }
.hero-figures li { padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.hero-figures strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); line-height: 1.1; }
.hero-figures li > span { font-size: .9rem; }

/* ── Services (accueil) ──────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--yellow);
    border-radius: var(--radius); padding: 34px 30px 30px;
    text-decoration: none; color: var(--text);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-icon { width: 80px; height: 60px; object-fit: contain; object-position: left; margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; text-transform: uppercase; }
.service-card p { margin-bottom: 0; }
/* La liste se déplie toute seule quand la case arrive à l'écran */
.service-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease) .3s; }
.service-details > * { overflow: hidden; }
.service-details .check-list { padding-top: 0; transition: padding .8s var(--ease) .3s; }
.service-card.visible .service-details { grid-template-rows: 1fr; }
.service-card.visible .service-details .check-list { padding-top: 22px; }
.service-card .link-arrow { margin-top: auto; padding-top: 24px; }

/* ── Promesse / engagements ──────────────── */
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.promise-media { position: relative; padding: 28px 28px 0 0; }
.promise-slant {
    position: absolute; right: 0; top: 0; width: 70%; height: 86%;
    background: var(--yellow); transform: skewX(-10deg); transform-origin: bottom; border-radius: var(--radius);
}
.promise-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.federal {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: var(--white); border-left: 4px solid var(--yellow); border-radius: var(--radius);
    padding: 16px 20px; margin: 4px 0 24px;
}
.federal img { width: 170px; }
.federal span { font-weight: 600; color: var(--ink); font-size: .95rem; }
.promise-list { list-style: none; display: grid; gap: 22px; margin-top: 30px; }
.promise-item { padding-left: 20px; border-left: 3px solid var(--blue); }
.promise-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.promise-item p { margin: 0; font-size: .97rem; }
.promise-list--grid { grid-template-columns: 1fr 1fr; gap: 26px 30px; }

/* ── Ruban photos (sur une ligne) ────────── */
.ribbon { overflow: hidden; padding: 64px 0; }
.ribbon-track { display: flex; gap: 16px; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon:focus-within .ribbon-track { animation-play-state: paused; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { margin: 0; width: 280px; height: 340px; border-radius: var(--radius); overflow: hidden; flex: none; }
.ribbon-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ribbon { to { transform: translateX(calc(-50% - 8px)); } }

/* ── Bandeau CTA ─────────────────────────── */
.cta-band { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 96px) 0; }
.cta-band--yellow { background: var(--yellow); }
.cta-band--blue { background: var(--blue); color: rgba(255, 255, 255, .88); }
.cta-band--blue h2 { color: var(--white); }
.cta-band-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { text-transform: uppercase; margin-bottom: 14px; }
.cta-band--yellow h2, .cta-band--yellow p { color: var(--navy); }
.cta-band-lead { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.cta-band-text > p:last-of-type { margin-bottom: 30px; }
.cta-band-k { width: min(300px, 100%); justify-self: center; }
.cta-band--yellow .btn-outline { border-color: var(--navy); color: var(--navy); }
.cta-band--yellow .btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── Instagram (sobre, photos alignées) ──── */
.insta-section { padding: clamp(64px, 8vw, 104px) 0; }
.insta-grid { display: grid; grid-template-columns: .85fr 2fr; gap: 50px; align-items: center; }
.insta-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.insta-head .btn svg { width: 20px; height: 20px; }
.insta-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.insta-post { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: block; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; }
.insta-post-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    padding: 20px; color: var(--white);
    background: linear-gradient(180deg, transparent 40%, rgba(27, 45, 97, .85));
    opacity: 0; transition: opacity .3s;
}
.insta-post:hover .insta-post-overlay, .insta-post:focus-visible .insta-post-overlay { opacity: 1; }
.insta-post-overlay svg { width: 24px; height: 24px; position: absolute; top: 16px; right: 16px; }
.insta-post-caption { font-size: .86rem; line-height: 1.4; }
.insta-post-date { font-size: .76rem; opacity: .75; }
.insta-post-video { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; font-size: .8rem; }

/* ── En-tête des pages ───────────────────── */
.page-hero { position: relative; overflow: hidden; padding: 80px 0; min-height: 480px; display: flex; align-items: center; }
.page-hero--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 40%, var(--navy) 100%); }
.page-hero--yellow { background: var(--yellow); }
.page-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-content { max-width: 580px; }
.page-hero-content > * { animation: rise .9s var(--ease) both; }
.page-hero-content > :nth-child(2) { animation-delay: .08s; }
.page-hero-content > :nth-child(3) { animation-delay: .16s; }
.page-hero-content > :nth-child(4) { animation-delay: .24s; }
.page-hero-icon { width: 96px; height: 70px; object-fit: contain; object-position: left; margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero-text { font-size: 1.1rem; margin-bottom: 30px; }
.page-hero--blue h1 { color: var(--white); }
.page-hero--blue .page-hero-text { color: rgba(255, 255, 255, .86); }
.page-hero--yellow h1, .page-hero--yellow .page-hero-text { color: var(--navy); }
.page-hero--yellow .btn-outline { border-color: var(--navy); color: var(--navy); }
.page-hero--yellow .btn-yellow { background: var(--blue); color: var(--white); }
.page-hero--yellow .btn-yellow:hover { background: var(--navy); }

/* ── Prestations en cases (Chauffage, Sanitaire) ── */
.offers { display: grid; gap: 34px; }
.offer { display: grid; grid-template-columns: 1fr 1.3fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.offer:nth-child(even) .offer-media { order: 2; }
.offer-media { position: relative; min-height: 340px; overflow: hidden; }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 42px 46px; }
.offer-title { margin-top: 16px; color: var(--blue); text-transform: uppercase; font-size: 1.35rem; }
.offer-ideal { padding: 14px 18px; background: var(--gray); border-radius: var(--radius); font-size: .95rem; }
.offer-ideal strong { color: var(--ink); }
.offer h4 { margin: 22px 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); font-family: var(--font-body); }
.offer .check-list { margin-bottom: 28px; }
.offer .cta-pair { margin-top: 24px; }
.offer .check-list + .cta-pair { margin-top: 0; }

/* ── Méthode : les étapes s'allument une à une ── */
.method-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.method-step { position: relative; padding-top: 26px; }
.method-step::before, .method-step::after { content: ''; position: absolute; top: 0; left: 0; height: 3px; }
.method-step::before { right: 0; background: var(--line); }
.method-step::after { width: 0; background: var(--yellow); transition: width .9s var(--ease); transition-delay: calc(var(--i) * .35s); }
.method-step > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .35s + .15s); }
.method-steps.is-on .method-step::after { width: 100%; }
.method-steps.is-on .method-step > * { opacity: 1; transform: none; }
.method-step .num--xl { color: var(--ink); margin-bottom: 14px; display: block; }
.method-steps.is-on .method-step .num--xl { color: var(--blue); transition: color .6s, opacity .7s var(--ease), transform .7s var(--ease); }
.method-step h3 { font-size: 1.05rem; }
.method-step p { margin: 0; font-size: .95rem; }

/* ── Photos de chantier en boucle (pages métiers) ── */
.gallery-section { padding-bottom: 0; }
.ribbon--gallery { padding: 0 0 clamp(64px, 9vw, 112px); }
.ribbon--gallery .ribbon-track { animation-duration: var(--duration, 50s); }
.ribbon-item.gallery-item { padding: 0; border: 0; background: none; cursor: zoom-in; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(17, 24, 39, .92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); width: auto; border-radius: var(--radius); }
.lightbox-close, .lightbox-nav {
    position: absolute; border: 0; background: var(--yellow); color: var(--navy); cursor: pointer;
    width: 48px; height: 48px; border-radius: var(--radius); font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* ── FAQ ─────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 60px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-help { margin-top: 30px; padding: 22px; border-radius: var(--radius); background: var(--gray); }
.faq-help p { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .25s; }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none;
    font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .num { flex: none; }
.faq-q { flex: 1; }
.faq-toggle { width: 28px; height: 28px; border-radius: 4px; background: var(--gray); position: relative; flex: none; transition: background .25s; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--yellow); }
.faq-item[open] .faq-toggle::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 20px 62px; }
.faq-answer p:last-child { margin: 0; }

/* ── Réseau : 3 colonnes alignées ────────── */
/* 7 lignes partagées (photo, numéro, titre, texte, « Nos interventions », liste, bouton) : tout s'aligne d'une case à l'autre */
.network-cols { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, auto) 1fr auto; column-gap: 26px; }
.network-col {
    display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0 28px 30px;
}
.network-col-media { margin: 0 -28px 24px; height: 220px; overflow: hidden; }
.network-col-media img { width: 100%; height: 100%; object-fit: cover; }
.network-col .num { margin-bottom: 12px; justify-self: start; }
.network-col h4 { margin: 18px 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); font-family: var(--font-body); }
.network-col p { margin: 0; }
.network-col .check-list { font-size: .95rem; align-self: start; }
.network-col .btn { margin-top: 26px; justify-self: start; }

/* ── Dépannage ───────────────────────────── */
.sos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sos-card { border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease), box-shadow .3s; }
.sos-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sos-card img { width: 72px; height: 56px; object-fit: contain; object-position: left; margin-bottom: 14px; }
.sos-card .check-list { margin-bottom: 22px; font-size: .96rem; }
.sos-card .link-arrow { margin-top: auto; }
.reflexes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reflex { background: var(--white); border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--blue); }
.reflex .num { margin-bottom: 14px; }
.reflex p { margin: 0; }

/* ── À propos ────────────────────────────── */
.ticks { list-style: none; display: grid; gap: 22px; }
.ticks--3 { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tick { position: relative; padding-left: 46px; }
.tick::before {
    content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 4px;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%231F3C90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.tick h3 { font-size: 1.1rem; margin-bottom: 8px; padding-top: 3px; }
.tick p { margin: 0; }
.ticks--light .tick h3 { color: var(--white); }

.mosaic { padding-bottom: clamp(64px, 9vw, 112px); }
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic-item { margin: 0; border-radius: var(--radius); overflow: hidden; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-item--1, .mosaic-item--5, .mosaic-item--6 { grid-row: span 2; }
.mosaic-item--2 { grid-column: span 2; }
.mosaic-quote { grid-column: span 2; background: var(--gray); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.mosaic-quote img { width: 160px; margin-bottom: 10px; }
.mosaic-quote p { margin: 0; font-weight: 600; color: var(--ink); }
.join-section { background: var(--blue); color: rgba(255, 255, 255, .86); }
.join-section h2 { color: var(--white); }
.join-section .eyebrow { color: var(--white); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.join-head .btn { margin-top: 10px; }

/* ── Contact / devis ─────────────────────── */
.contact-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 40%, var(--navy) 100%); color: rgba(255, 255, 255, .86); padding: 64px 0 120px; position: relative; overflow: hidden; }
.contact-hero::before { content: ''; position: absolute; right: -60px; top: -40px; width: 420px; height: 300px; background: url('../img/k-jaune.png') center/contain no-repeat; opacity: .1; }
.contact-hero h1 { color: var(--white); }
.contact-hero p { max-width: 640px; font-size: 1.08rem; margin: 0; }
.contact-hero--yellow { background: var(--yellow); color: var(--navy); }
.contact-hero--yellow h1 { color: var(--navy); }
.contact-hero--yellow::before { background-image: url('../img/k-bleu.png'); opacity: .08; }
.contact-hero--sm { padding-bottom: 64px; }
.contact-section, .devis-section { padding-top: 0; margin-top: -64px; position: relative; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 30px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: center; color: var(--blue); font-weight: 500; }
.contact-list a { color: inherit; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list-ico { width: 40px; height: 40px; border-radius: var(--radius); background: var(--yellow); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-list-ico svg { width: 19px; height: 19px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.contact-socials a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius); background: var(--gray); color: var(--blue); font-size: .86rem; font-weight: 600; text-decoration: none; }
.contact-socials a:hover { background: var(--blue); color: var(--white); }
.contact-socials svg { width: 16px; height: 16px; }
.contact-map { border-radius: var(--radius); overflow: hidden; height: 240px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* Note Google */
.google-badge {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
    text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.google-badge:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.google-badge-logo { width: 22px; height: 22px; }
.google-badge-note { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.google-badge-stars {
    font-size: 1.05rem; letter-spacing: 2px;
    background: linear-gradient(90deg, #FBBC05 var(--pct), var(--line) var(--pct));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.google-badge-count { font-size: .88rem; color: var(--text); }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 42px); }
.form-card > h2, .form-panel h2 { font-size: 1.55rem; }
.form-tabs { display: flex; gap: 6px; padding: 5px; background: var(--gray); border-radius: var(--radius); margin-bottom: 30px; }
.form-tab { flex: 1; padding: 12px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; font-weight: 700; color: var(--text); }
.form-tab.active { background: var(--blue); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.form-group > label, .form-group > legend, .wizard-label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; padding: 0; }
.form-group > label > span, .form-group > legend > span { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="file"], textarea {
    width: 100%; padding: 14px 16px; font: inherit; font-size: .98rem; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: var(--radius); background: #fafbfc;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus { outline: 0; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 60, 144, .12); }
input.is-invalid, textarea.is-invalid { border-color: var(--danger); }
textarea { resize: vertical; min-height: 120px; }
.form-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; font-size: .92rem; font-weight: 500; color: var(--ink); transition: .2s; }
.chip span:hover { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chips-invalid .chip span { border-color: var(--danger); }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; margin: 6px 0 22px; cursor: pointer; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-check.is-invalid { color: var(--danger); }
.hp-field { position: absolute; left: -9999px; }
.form-success, .form-error { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.form-success { background: #e7f6ee; color: var(--success); }
.form-error { background: #fdecea; color: var(--danger); }

.devis-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: 30px; align-items: start; }
.wizard-progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 34px; counter-reset: wz; }
.wizard-progress li { counter-increment: wz; font-size: .82rem; font-weight: 600; color: var(--text); padding-top: 12px; border-top: 3px solid var(--line); transition: .3s; }
.wizard-progress li::before { content: counter(wz, decimal-leading-zero) ' · '; font-family: var(--font-head); font-weight: 800; }
.wizard-progress li.active, .wizard-progress li.done { color: var(--blue); border-color: var(--yellow); }
.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-step legend { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--ink); margin-bottom: 22px; padding: 0; }
.wizard-step:not([hidden]) { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice input { position: absolute; opacity: 0; }
.choice-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 14px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: .2s; height: 100%; }
.choice-box img { width: 64px; height: 50px; object-fit: contain; margin-bottom: 6px; }
.choice-box strong { color: var(--ink); }
.choice-box small { color: var(--text); font-size: .8rem; line-height: 1.35; }
.choice-box:hover { border-color: var(--blue); }
.choice input:checked + .choice-box { border-color: var(--blue); background: var(--gray); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chips-invalid .choice-box { border-color: var(--danger); }
.wizard-sos { margin: 20px 0 0; font-size: .9rem; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.devis-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.devis-aside-card { background: var(--gray); border-radius: var(--radius); padding: 30px; }
.devis-aside-card h2 { font-size: 1.2rem; }
.devis-aside-card ol { padding-left: 20px; display: grid; gap: 8px; font-size: .94rem; }
.devis-aside-card--blue { background: var(--blue); color: rgba(255, 255, 255, .86); display: grid; gap: 12px; justify-items: start; }
.devis-aside-card--blue p { margin: 0; font-weight: 700; color: var(--white); font-size: 1.08rem; }

/* ── Pages légales ───────────────────────── */
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul { padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
.legal-updated { margin-top: 3em; font-size: .88rem; }

/* ── Footer (bleu Ackermann) ─────────────── */
.site-footer { background: var(--blue); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo img { width: 220px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: var(--white); transition: .25s; }
.footer-socials a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-heading { color: var(--yellow); font-family: var(--font-body); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer-nav { list-style: none; display: grid; gap: 10px; }
.footer-nav a, .footer-contact-list a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.footer-nav a:hover, .footer-contact-list a:hover { color: var(--yellow); }
.footer-contact-list { list-style: none; display: grid; gap: 14px; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--yellow); }
.site-footer .footer-slogan {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding-top: 30px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-slogan p { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--white); }
.footer-slogan p img { width: 48px; flex: none; }
.footer-bottom { background: var(--navy); font-size: .84rem; }
.site-footer .footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }

.mobile-call { display: none; }

/* Numéro copié (ordinateur) */
.phone-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px);
    background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: var(--radius);
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; font-weight: 600;
}
.phone-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ── Apparition au défilement ────────────── */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .28s; }
.reveal-delay-4 { transition-delay: .38s; }
.service-card.reveal.visible:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .reveal, .reveal-left, .reveal-right, .method-step > * { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1180px) {
    .header-inner { gap: 16px; }
    .nav-link { padding: 10px 10px; }
    .header-ctas { gap: 18px; margin-left: 6px; }
    .header-devis { display: none; }
    .hero-figures { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    :root { --header-h: 72px; }
    .logo img { height: 38px; }
    .nav-toggle { display: block; position: relative; z-index: 96; }
    .header-ctas { margin-left: auto; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 95;
        background: var(--white); padding: 90px 22px 30px; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateX(30px);
        transition: transform .4s var(--ease), opacity .3s, visibility .3s; margin: 0;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; box-shadow: var(--shadow); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { width: 100%; justify-content: space-between; padding: 16px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
    .nav-link::after { display: none; }
    .dropdown-menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 6px 0; display: none; opacity: 1; visibility: visible; }
    .nav-dropdown:hover .dropdown-menu { transform: none; }
    .nav-dropdown.open .dropdown-menu { display: block; transform: none; }
    .nav-item--mobile-cta { display: block; margin-top: 22px; }

    /* minmax(0, 1fr) : une colonne ne s'élargit jamais au-delà de l'écran */
    .hero-grid, .promise-grid, .join-grid, .faq-grid, .contact-grid, .devis-grid, .insta-grid, .cta-band-inner,
    .offer, .offer:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
    .hero { padding: 48px 0 40px; }
    .hero-collage { height: 360px; }
    .services-grid, .sos-grid, .reflexes, .ticks--3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .promise-media { max-width: 480px; }
    .faq-head, .devis-aside { position: static; }
    .page-hero { min-height: 0; padding: 56px 0; }
    .page-hero-media { width: 100%; clip-path: none; opacity: .2; }
    .page-hero--yellow .page-hero-media { opacity: .14; }
    .method-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .network-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 560px; margin: 0 auto; row-gap: 24px; }
    .network-col { grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; }
    .network-col .btn { align-self: flex-start; }
    .offer:nth-child(even) .offer-media { order: 0; }
    .offer-media { min-height: 260px; }
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .mosaic-item--2 { grid-column: span 1; }
    .mosaic-item--6 { grid-row: span 1; }
    .cta-band-k { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 34px; }
    .header-sos-label { display: none; }
    .header-sos { padding: 0 12px; height: 44px; width: auto; }
    .header-sos-num { font-size: .88rem; }
    .logo img { height: 26px; }
    .header-inner { gap: 10px; }
    .header-ctas { gap: 10px; }
    .cta-pair .btn { flex: 1 1 100%; }
    .btn { white-space: normal; text-align: center; padding-left: 20px; padding-right: 20px; }
    .btn-phone { white-space: nowrap; }
    .hero h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); }
    .hero-collage { height: 300px; }
    .hero-figures { gap: 10px; margin-top: 36px; }
    .hero-figures li { padding: 14px; }
    .hero-figures strong { font-size: 1.6rem; }
    .hero-figures li > span { font-size: .8rem; display: block; line-height: 1.35; }
    .service-card { padding: 28px 22px 24px; }
    .promise-media { padding: 18px 18px 0 0; }
    .promise-media img { aspect-ratio: 4 / 3; }
    .promise-slant { right: 40px; width: 62%; }
    .promise-list--grid { grid-template-columns: 1fr; }
    .ribbon { padding: 44px 0; }
    .ribbon-item { width: 200px; height: 250px; }
    .insta-posts { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .insta-post { scroll-snap-align: start; }
    .page-hero { padding: 40px 0 48px; }
    .page-hero-icon { width: 76px; height: 56px; }
    .page-hero-text { font-size: 1.02rem; margin-bottom: 24px; }
    .method-steps { grid-template-columns: 1fr; row-gap: 32px; }
    .offer-body { padding: 28px 22px; }
    .offer-title { font-size: 1.2rem; }
    .badge { margin-left: 10px; }
    .network-col { padding: 0 20px 24px; }
    .network-col-media { margin: 0 -20px 20px; }
    .sos-card, .reflex { padding: 26px 22px; }
    .faq-item summary { padding: 16px; gap: 12px; font-size: .96rem; }
    .faq-answer { padding: 0 16px 16px; }
    .faq-grid { gap: 30px; }
    .cta-band h2 { font-size: clamp(1.3rem, 6.6vw, 1.5rem); }
    .insta-grid { gap: 30px; }
    .contact-hero { padding: 40px 0 96px; }
    .contact-card { padding: 26px 20px; }
    .form-card { padding: 24px 18px; }
    .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .form-group { margin-bottom: 14px; }
    .form-tabs { margin-bottom: 22px; }
    .choice-grid { grid-template-columns: 1fr; }
    .choice-box { flex-direction: row; text-align: left; padding: 16px; flex-wrap: wrap; column-gap: 14px; }
    .choice-box img { margin: 0; }
    .choice-box small { flex-basis: 100%; padding-left: 78px; margin-top: -24px; }
    .devis-aside-card { padding: 24px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-top: 44px; padding-bottom: 36px; }
    .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
    .footer-logo img { width: 200px; margin-bottom: 18px; }
    .footer-slogan .btn { flex: 1 1 100%; }
    .footer-slogan p { font-size: 1.1rem; }
    .footer-slogan p img { width: 40px; }
    .site-footer .footer-slogan { padding-top: 26px; padding-bottom: 28px; gap: 20px; }
    .site-footer .footer-bottom-inner { flex-direction: column; gap: 8px; padding-top: 18px; padding-bottom: 92px; }
    .lightbox-nav { top: auto; bottom: 22px; transform: none; }
    .mobile-call {
        display: flex; align-items: center; justify-content: center; gap: 10px;
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
        padding: 14px; border-radius: var(--radius); background: var(--yellow); color: var(--navy);
        font-weight: 800; text-decoration: none; box-shadow: var(--shadow);
    }
    .mobile-call svg { width: 20px; height: 20px; }
}

/* Très petits écrans : le bouton « Dépannage » fixe en bas suffit, l'en-tête garde l'icône seule */
@media (max-width: 400px) {
    .header-sos { padding: 0; width: 46px; height: 46px; align-items: center; justify-content: center; }
    .header-sos-num { font-size: 0; gap: 0; }
    .header-sos-num svg { width: 20px; height: 20px; }
    .logo img { height: 28px; }
    .link-arrow { display: inline; }
    .link-arrow svg { display: inline-block; vertical-align: -3px; margin-left: 4px; }
}
