/* ==========================================================
   Ramonage Bordeaux : feuille de style (dérivée de la maquette du 16/11/2026)
   Palette : anthracite, or / ambre, fond clair casse
   Contrastes verifies : or #e3b25a sur anthracite #16191d = 9,05:1 ;
   texte anthracite sur bouton or = 9,05:1 ; or fonce #8a5f12 sur fond #f6f3ee = 5,09:1
   ========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Anthracite */
    --ink-950: #0f1114;
    --ink-900: #16191d;
    --ink-800: #1d2126;
    --ink-700: #2a2f36;
    --ink-500: #4b525b;
    --ink-300: #b8bcc2;
    /* Or / ambre */
    --or: #e3b25a;
    --or-hover: #edc272;
    --or-fonce: #8a5f12;       /* texte or sur fond clair : 5,1:1 */
    --or-pale: #f5e6c6;
    /* Fonds clairs */
    --creme: #f6f3ee;
    --creme-2: #efeae1;
    --blanc: #ffffff;
    /* Texte */
    --texte: #1d2126;
    --texte-doux: #4d565d;     /* 6,8:1 sur creme */
    --bordure: #e4ddd0;
    --succes: #2f6b45;
    --erreur: #b42318;

    /* Alias des anciens noms (pages et blocs existants) */
    --ardoise-900: var(--ink-900);
    --ardoise-800: var(--ink-800);
    --ardoise-700: var(--ink-700);
    --sable-50: var(--creme);
    --sable-100: var(--creme-2);
    --sable-200: #e7dfd0;
    --terre: var(--or);
    --terre-texte: var(--or-fonce);

    --radius: 8px;
    --radius-lg: 14px;
    --shadow: 0 2px 12px rgba(15, 17, 20, .07);
    --shadow-lg: 0 16px 40px rgba(15, 17, 20, .18);
    --transition: .22s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--texte);
    background: var(--blanc);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--or-fonce); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--ink-900); line-height: 1.12; letter-spacing: -.022em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.32rem); letter-spacing: -.012em; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); }
strong { font-weight: 600; }
.or { color: var(--or); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink-900); color: var(--blanc); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* --- Boutons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
    font: 600 .97rem/1.2 var(--font-body); letter-spacing: .005em;
    text-decoration: none; cursor: pointer; transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--or); color: var(--ink-900); }
.btn-primary:hover { background: var(--or-hover); color: var(--ink-900); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn-outline:hover { background: var(--ink-900); color: var(--blanc); }
.btn-ghost { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--blanc); border-color: var(--blanc); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn:active { transform: translateY(0); }

/* --- En-tete sombre --- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink-900); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blanc); flex-shrink: 0; }
.brand:hover { color: var(--blanc); }
.brand-mark { color: var(--or); width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 700; font-size: 1.32rem; line-height: 1.02; letter-spacing: -.02em; }
.brand-l1 { color: var(--blanc); }
.brand-l2 { color: var(--or); }
.brand-tagline { flex-shrink: 0; max-width: 170px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .22); font-size: .66rem; font-weight: 600; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a { display: block; position: relative; padding: 10px 11px; color: #e9eaec; text-decoration: none; font-weight: 500; font-size: .93rem; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--or); transform: scaleX(0); transition: transform var(--transition); }
.main-nav > ul > li > a:hover, .main-nav a.active { color: var(--or); }
.main-nav > ul > li > a.active::after, .main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.has-dropdown { position: relative; display: flex; align-items: center; }
.has-dropdown > a { padding-right: 24px !important; }
.has-dropdown > a::before { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.dropdown-toggle { display: none; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 300px; list-style: none;
    background: var(--ink-800); border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid var(--or); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--transition);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 10px 12px; font-size: .92rem; border-radius: var(--radius); color: #e9eaec; }
.dropdown a:hover, .dropdown a.active { background: rgba(227, 178, 90, .1); color: var(--or); }
.nav-cta-mobile { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--blanc); font-weight: 600; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.header-phone .icon { color: var(--or); }
.header-phone:hover { color: var(--or); }
.btn-header { padding: 12px 18px; flex-shrink: 0; font-size: .9rem; }

.burger { display: none; width: 46px; height: 46px; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; border-radius: var(--radius); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--blanc); transition: transform var(--transition), opacity var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero accueil : texte sur fond sombre, photo fondue a droite --- */
.hero { position: relative; isolation: isolate; color: var(--blanc); overflow: hidden; background: var(--ink-900); }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-900) 0%, var(--ink-900) 36%, rgba(22, 25, 29, .82) 48%, rgba(22, 25, 29, .25) 70%, rgba(22, 25, 29, 0) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(0deg, rgba(22, 25, 29, .55), rgba(22, 25, 29, 0)); }
.hero-inner { display: block; padding: 70px 24px 64px; }
.hero-content { max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--blanc); border: 1.5px solid var(--or); padding: 6px 13px; border-radius: 99px; margin-bottom: 22px; background: rgba(22, 25, 29, .5); }
.hero-badge .icon { color: var(--or); width: 15px; height: 15px; }
.hero h1 { color: var(--blanc); margin-bottom: 20px; font-size: clamp(2.2rem, 4.8vw, 3.55rem); line-height: 1.04; }
.hero h1 .or { display: block; }
.hero h1 .h1-sub { display: block; margin-top: 12px; font-size: .5em; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: #e2e4e7; }
.hero-lead { font-size: 1.07rem; color: rgba(255, 255, 255, .88); max-width: 540px; margin-bottom: 28px; }
.hero-lead a { color: var(--blanc); text-decoration-color: var(--or); }
.hero-lead a:hover { color: var(--or); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero-assurances li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--blanc); }
.hero-assurances .icon { color: var(--or); width: 20px; height: 20px; }
.hero-form { display: none; }

/* --- Bandeau de reassurance (pages qui l'appellent) --- */
.trust-band { background: var(--creme); border-bottom: 1px solid var(--bordure); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-900); }
.trust-item svg { flex-shrink: 0; color: var(--or-fonce); }
.trust-item strong { display: block; font-size: .98rem; line-height: 1.3; }
.trust-item span { display: block; font-size: .85rem; color: var(--texte-doux); line-height: 1.3; }

/* --- Sections --- */
.section { padding: 88px 0; }
.section-alt { background: var(--creme); }
.section-stone { background: var(--creme-2); }
.section-dark { background: var(--ink-900); color: #d6d8db; }
.section-dark h2, .section-dark h3 { color: var(--blanc); }
.section-dark a { color: var(--or); }
.section-header { max-width: 760px; margin: 0 0 40px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--texte-doux); font-size: 1.05rem; }
.section-dark .section-header p { color: var(--ink-300); }
.section-label { display: inline-flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--or-fonce); margin-bottom: 12px; }
.section-label::after { content: ""; width: 44px; height: 1.5px; background: currentColor; opacity: .7; }
.section-dark .section-label, .band-dark .section-label { color: var(--or); }
/* En-tete de section : titre a gauche, introduction a droite */
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head-split h2 { max-width: 560px; }
.section-head-split p { color: var(--texte-doux); font-size: 1.02rem; max-width: 460px; justify-self: end; }

/* --- Cartes prestations (photo + degrade sombre) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.service-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; background: var(--ink-800); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: var(--blanc); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.service-card-img { position: absolute; inset: 0; z-index: -2; background: var(--ink-700); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.03); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 17, 20, .05) 0%, rgba(15, 17, 20, .35) 34%, rgba(15, 17, 20, .86) 62%, rgba(15, 17, 20, .95) 100%); }
.service-card-body { padding: 22px 22px 22px; display: flex; flex-direction: column; }
.service-card-icon { color: var(--or); margin-bottom: 12px; }
.service-card-icon .icon { width: 34px; height: 34px; }
.service-card h3 { margin-bottom: 6px; color: var(--blanc); font-size: 1.22rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card p { color: #dfe1e4; font-size: .9rem; line-height: 1.5; }
.service-link { margin-top: 12px; font-weight: 600; font-size: .88rem; color: var(--or); }
.service-link::after { content: " \2192"; }
.service-card--dark { background: var(--ink-900); border: 1.5px solid rgba(227, 178, 90, .55); }
.service-card--dark::before { background: none; }
.service-card--dark .service-card-body { padding: 28px 24px; }
/* Cartes sans photo (page zones) */
.content-main .service-card { min-height: 0; background: var(--ink-900); border: 1.5px solid rgba(227, 178, 90, .4); }
.content-main .service-card::before { background: none; }
.content-main .service-card h3 { margin-top: 0; }

/* --- Bandeau sombre « Pourquoi » --- */
.band-dark { position: relative; isolation: isolate; background: var(--ink-900); color: #d6d8db; overflow: hidden; }
.band-dark-bg { position: absolute; top: 0; left: 0; bottom: 0; width: 34%; z-index: -2; }
.band-dark-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.band-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 25, 29, .35) 0%, rgba(22, 25, 29, .7) 18%, var(--ink-900) 34%, var(--ink-900) 100%); }
.why-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 40px; align-items: center; padding: 50px 24px; }
.why-title { padding-left: 14%; }
.why-title h2 { color: var(--blanc); font-size: clamp(1.6rem, 2.7vw, 2.05rem); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 6px 22px; border-left: 1px solid rgba(255, 255, 255, .16); }
.why-item:first-child { border-left: 0; }
.why-item .icon { color: var(--or); width: 32px; height: 32px; margin-bottom: 12px; }
.why-item h3 { color: var(--blanc); font-size: 1rem; margin-bottom: 6px; letter-spacing: -.005em; }
.why-item p { font-size: .84rem; line-height: 1.5; color: #c4c8cd; }

/* --- Section formulaire de l'accueil --- */
.devis-section { background: var(--creme); }
.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.devis-text h2 { margin-bottom: 16px; }
.devis-text p { color: var(--texte-doux); margin-bottom: 14px; }
.devis-card { background: var(--blanc); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 30px 26px; border-top: 5px solid var(--or); }

/* --- Rangee deux colonnes (realisations + avis, ou etapes + questions) --- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.duo-col { min-width: 0; padding-right: 48px; }
.duo-col + .duo-col { padding-right: 0; padding-left: 48px; border-left: 1px solid var(--bordure); }
.duo-col h2 { margin-bottom: 22px; font-size: clamp(1.5rem, 2.5vw, 1.95rem); }
.duo-col .faq { max-width: none; }
.duo-more { margin-top: 18px; font-weight: 600; }

.steps-compact { list-style: none; display: grid; gap: 14px; }
.steps-compact li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius-lg); padding: 14px 16px; }
.steps-compact .step-num { margin: 0; width: 36px; height: 36px; font-size: 1rem; }
.steps-compact h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.steps-compact p { color: var(--texte-doux); font-size: .88rem; line-height: 1.55; }

/* Avant / apres */
.ba { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); --pos: 50%; background: var(--ink-800); user-select: none; }
.ba img { width: 100%; height: auto; display: block; pointer-events: none; }
.ba-apres { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-apres img { width: 100%; height: 100%; object-fit: cover; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--blanc); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--blanc); color: var(--ink-900); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba-handle { outline: 3px solid var(--or); outline-offset: 2px; }
.ba-label { position: absolute; bottom: 14px; padding: 6px 14px; border-radius: 6px; font-size: .82rem; font-weight: 700; pointer-events: none; }
.ba-label--avant { left: 14px; background: var(--ink-900); color: var(--blanc); }
.ba-label--apres { right: 14px; background: var(--or); color: var(--ink-900); }
.ba-caption { margin-top: 12px; font-size: .88rem; color: var(--texte-doux); }

/* Avis */
.reviews { position: relative; padding: 0 52px; }
.reviews-viewport { overflow: hidden; }
.reviews-track { display: flex; transition: transform .4s ease; }
.review { flex: 0 0 100%; background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 28px; }
.review-stars { display: flex; gap: 4px; color: var(--or); margin-bottom: 12px; }
.review-stars .icon { width: 20px; height: 20px; }
.review blockquote { font-style: italic; font-size: 1.04rem; line-height: 1.6; color: var(--ink-900); margin-bottom: 16px; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--texte-doux); }
.review figcaption strong { display: block; color: var(--ink-900); font-size: .98rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--creme-2); color: var(--ink-500); display: flex; align-items: center; justify-content: center; }
.reviews-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -32px; border-radius: 50%; border: 1px solid var(--bordure); background: var(--blanc); color: var(--ink-900); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.reviews-nav--prev { left: 0; }
.reviews-nav--next { right: 0; }
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #d3cdc2; cursor: pointer; padding: 0; }
.reviews-dots button[aria-current="true"] { background: var(--or); }

/* --- Deux colonnes texte + image --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--texte-doux); margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b25a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }

/* --- Etapes --- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--blanc); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--bordure); position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink-900); color: var(--or); font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--texte-doux); font-size: .95rem; }
.steps-cards .step { border-top: 3px solid var(--ink-900); }

/* --- Prix --- */
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--bordure); background: var(--blanc); }
.price-table, .info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td, .info-table th, .info-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.price-table thead th, .info-table thead th { background: var(--ink-900); color: var(--blanc); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 3px solid var(--or); }
.price-table tbody tr:nth-child(even) td, .info-table tbody tr:nth-child(even) td { background: var(--creme); }
.price-table td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--ink-900); font-family: var(--font-heading); font-size: 1.02rem; }
.price-table tr:last-child td, .info-table tr:last-child td { border-bottom: 0; }
.table-caption { font-size: .85rem; color: var(--texte-doux); margin-top: 10px; }
.center-actions { margin-top: 28px; }

/* --- FAQ --- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius); transition: border-color var(--transition); }
.faq-item[open] { border-color: rgba(138, 95, 18, .45); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--ink-900); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--or-fonce); border-bottom: 2px solid var(--or-fonce); transform: translateY(-70%) rotate(45deg); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 20px 18px; color: var(--texte-doux); }
.content-main .faq { margin: 18px 0 8px; }

/* --- Zones --- */
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; }
.zone-tag { display: inline-block; padding: 8px 16px; border-radius: 99px; background: var(--blanc); border: 1px solid var(--bordure); color: var(--ink-900); font-size: .92rem; text-decoration: none; }
a.zone-tag { border-color: var(--or-fonce); font-weight: 600; }
a.zone-tag:hover { background: var(--ink-900); color: var(--or); border-color: var(--ink-900); }
.zones-section .zone-tag { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); color: #d6d8db; }
.zones-section a.zone-tag { border-color: var(--or); color: var(--blanc); }
.zones-section a.zone-tag:hover { background: var(--or); border-color: var(--or); color: var(--ink-900); }

/* --- Bandeau final d'appel a l'action (pleine largeur, sombre) --- */
.section-cta { padding: 0; background: var(--ink-900); position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.cta-banner { display: flex; align-items: center; gap: 30px; color: #d6d8db; padding: 40px 0; }
.cta-icon { flex-shrink: 0; color: var(--or); padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .2); }
.cta-icon .icon { width: 58px; height: 58px; }
.cta-banner > div:not(.cta-actions):not(.cta-icon) { flex: 1; min-width: 0; }
.cta-banner h2 { color: var(--blanc); margin-bottom: 6px; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.cta-banner p { color: #c9cdd2; max-width: 620px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.cta-actions .btn { padding: 16px 28px; }

/* --- Bandeau de page (pages interieures) --- */
.page-hero { position: relative; isolation: isolate; background-color: var(--ink-900); overflow: hidden; color: var(--blanc); padding: 64px 0 60px; }
.page-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 62%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-900) 0%, var(--ink-900) 38%, rgba(22, 25, 29, .84) 52%, rgba(22, 25, 29, .45) 76%, rgba(22, 25, 29, .2) 100%); }
.page-hero h1 { color: var(--blanc); max-width: 760px; margin-bottom: 14px; font-size: clamp(1.95rem, 4vw, 3rem); }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 640px; font-size: 1.05rem; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or); margin-bottom: 16px; }
.breadcrumb a { color: #e2e4e7; text-decoration: none; }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .6; color: #e2e4e7; }
.article-meta { font-size: .9rem; color: var(--ink-300); }

/* --- Contenu + barre laterale --- */
.content-section { padding: 64px 0 84px; }
.content-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }
.content-main { min-width: 0; }
.content-main > h2 { margin: 44px 0 14px; }
.content-main > h2:first-child { margin-top: 0; }
.content-main h3 { margin: 28px 0 10px; }
.content-main p { margin-bottom: 16px; }
.content-main ul, .content-main ol { margin: 0 0 18px 22px; }
.content-main li { margin-bottom: 8px; }
.content-main li::marker { color: var(--or-fonce); }
.content-main .check-list { margin-left: 0; }
.content-main figure { margin: 26px 0; }
.content-main figure img { border-radius: var(--radius-lg); }
.content-main figcaption { font-size: .85rem; color: var(--texte-doux); margin-top: 8px; }
.content-main .price-table-wrap, .content-main .info-wrap { margin: 18px 0 8px; }
.lead-paragraph { font-size: 1.12rem; color: var(--ink-700); }

aside.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.sidebar-card { background: var(--creme); border: 1px solid var(--bordure); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { border-bottom: 1px solid var(--bordure); }
.sidebar-card li:last-child { border-bottom: 0; }
.sidebar-card li a, .sidebar-card li .is-current { display: block; padding: 9px 0; font-size: .93rem; text-decoration: none; color: var(--ink-900); }
.sidebar-card li a:hover { color: var(--or-fonce); }
.sidebar-card li .is-current { color: var(--or-fonce); font-weight: 600; }
.sidebar-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.22rem; letter-spacing: -.015em; color: var(--ink-900); margin-bottom: 10px; line-height: 1.2; }
.sidebar-card--dark { background: var(--ink-900); border-color: var(--ink-900); color: #d6d8db; border-top: 4px solid var(--or); }
.sidebar-card--dark .sidebar-title { color: var(--blanc); }
.sidebar-card--dark p { font-size: .93rem; margin-bottom: 16px; color: #c9cdd2; }
.sidebar-card--dark .btn + .btn { margin-top: 10px; }

/* --- Encadres --- */
.note, .alert-box, .key-box { border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.note { background: var(--creme-2); border-left: 4px solid var(--or-fonce); }
.alert-box { background: #fbf1e0; border-left: 4px solid var(--or); }
.key-box { background: var(--ink-900); color: #d6d8db; border-left: 4px solid var(--or); }
.key-box strong { color: var(--blanc); }
.key-box a { color: var(--or); }
.note p:last-child, .alert-box p:last-child, .key-box p:last-child { margin-bottom: 0; }
.source-note { font-size: .84rem; color: var(--texte-doux); border-top: 1px dashed var(--bordure); padding-top: 8px; margin-top: -4px; }
.source-note a { color: var(--texte-doux); }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.fact { background: var(--blanc); border: 1px solid var(--bordure); border-top: 4px solid var(--or); border-radius: var(--radius); padding: 18px; }
.fact strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.45rem; color: var(--ink-900); line-height: 1.1; margin-bottom: 6px; }
.fact span { font-size: .9rem; color: var(--texte-doux); }

/* --- Formulaires --- */
.lead-form { display: grid; gap: 14px; }
.lead-form-title { font-family: var(--font-heading); font-weight: 700; letter-spacing: -.02em; font-size: 1.5rem; color: var(--ink-900); line-height: 1.15; }
.lead-form-sub { font-size: .9rem; color: var(--texte-doux); margin-top: -10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 5px; }
.form-group--narrow { max-width: 320px; }
.form-group label { font-size: .86rem; font-weight: 600; color: var(--ink-900); }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel], .lead-form select, .lead-form textarea {
    width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--texte); background: var(--blanc);
    border: 1.5px solid #cfc7b8; border-radius: var(--radius); padding: 11px 13px; transition: border-color var(--transition), box-shadow var(--transition);
}
.lead-form select { appearance: none; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316191d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; padding-right: 38px; }
.lead-form textarea { resize: vertical; min-height: 120px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--or-fonce); box-shadow: 0 0 0 3px rgba(227, 178, 90, .3); }
.lead-form [aria-invalid="true"] { border-color: var(--erreur); }
.field-error { font-size: .82rem; color: var(--erreur); }
.form-alert { background: #fdecea; color: var(--erreur); border-radius: var(--radius); padding: 10px 14px; font-size: .9rem; font-weight: 600; }
.form-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .84rem; color: var(--texte-doux); line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink-900); }
.form-consent .field-error { grid-column: 2; }
.form-note { font-size: .82rem; color: var(--texte-doux); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { background: #ecf5ef; border: 1px solid #b9d8c4; border-left: 5px solid var(--succes); border-radius: var(--radius); padding: 22px 24px; color: var(--texte); }
.form-success h3 { color: var(--succes); margin-bottom: 8px; }
.form-success p { margin-bottom: 8px; }
.lead-form--compact { gap: 12px; }
.lead-form--compact .form-row { gap: 12px; }
.form-card { background: var(--blanc); border: 1px solid var(--bordure); border-top: 5px solid var(--or); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius); overflow: hidden; }
.blog-card:hover h2 a, .blog-card:hover h3 a { text-decoration: underline; text-decoration-color: var(--or); }
.blog-card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--or-fonce); font-weight: 700; margin-bottom: 8px; }
.blog-card h2, .blog-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-card h2 a, .blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h2 a::after, .blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card p { color: var(--texte-doux); font-size: .94rem; flex: 1; }
.toc { background: var(--creme); border: 1px solid var(--bordure); border-left: 4px solid var(--or); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.toc p { font-weight: 600; margin-bottom: 6px; color: var(--ink-900); }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 4px; }

/* --- Pied de page --- */
.site-footer { background: var(--ink-950); color: #aab0b7; padding: 64px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col p { margin-bottom: 14px; color: #b3b9bf; }
.footer-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; color: var(--blanc) !important; margin-bottom: 14px !important; display: flex; align-items: center; gap: 10px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #d3d7db; text-decoration: none; }
.footer-col a:hover { color: var(--or); text-decoration: underline; }
.footer-col .btn { color: var(--ink-900); }
.footer-col .btn:hover { color: var(--ink-900); text-decoration: none; }
.brand--footer { margin-bottom: 18px; }
.footer-phone { font-size: 1.15rem; font-weight: 700; color: var(--blanc) !important; }
.footer-cities { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .86rem; line-height: 1.8; color: #9ea5ad; }
.footer-cities a { color: #dfe2e5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: #9ea5ad; }
.footer-bottom a { color: #dfe2e5; }

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

/* --- Apparition au defilement --- */

/* --- 404 --- */
.error-page { text-align: center; padding: 100px 0; }
.error-page .error-code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--or); line-height: 1; }
.error-page h1 { margin: 10px 0 14px; }
.error-page p { color: var(--texte-doux); max-width: 560px; margin: 0 auto 26px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 1101px) {
    .blog-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
    .services-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (max-width: 1280px) {
    .brand-tagline { display: none; }
    .header-phone { display: none; }
}

@media (max-width: 1140px) {
    .btn-header { padding: 11px 14px; }
    .btn-header .btn-header-long { display: none; }
    .main-nav a { padding: 10px 8px; }
    .main-nav > ul > li > a::after { left: 8px; right: 8px; }
    .why-inner { grid-template-columns: 1fr; gap: 26px; }
    .why-title { padding-left: 32%; }
}

@media (max-width: 980px) {
    .burger { display: flex; }
    .btn-header { display: none; }
    .main-nav {
        position: fixed; inset: 76px 0 0 0; background: var(--ink-900); margin: 0;
        overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; z-index: 99; padding: 12px 20px 120px;
    }
    .main-nav.open { transform: none; visibility: visible; transition: transform .3s ease; }
    .main-nav { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
    /* backdrop-filter cree un bloc conteneur pour les enfants position:fixed : le menu se retrouvait
       ecrase dans l'en-tete (132 px) et debordait a droite (page large de 780 px sur mobile).
       L'en-tete sombre n'en a plus, la regle reste pour qu'on ne le remette pas. */
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink-900); }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .main-nav a { padding: 15px 4px; font-size: 1.06rem; }
    .main-nav > ul > li > a::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
    .has-dropdown { flex-wrap: wrap; }
    .has-dropdown > a { flex: 1; }
    .has-dropdown > a::before { display: none; }
    .dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
    .dropdown-toggle span { width: 10px; height: 10px; border-right: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(45deg); transition: transform var(--transition); }
    .dropdown-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
    .dropdown { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--or); border-radius: 0; background: transparent; padding: 0 0 10px 12px; margin-bottom: 10px; display: none; min-width: 0; }
    .dropdown a { padding: 10px 8px; font-size: .98rem; }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { transform: none; }
    .nav-cta-mobile { display: block; border-bottom: 0 !important; padding-top: 18px; }
    .nav-cta-mobile .btn { display: flex; padding: 15px; color: var(--ink-900); }
    .nav-cta-mobile .btn::after { display: none; }

    .hero-bg { width: 100%; }
    .hero-inner { padding: 52px 24px 56px; }
    /* Mobile : voile sur toute la photo ; texte sur fond >= .62 + ombre portee (contraste AA meme sur un pixel blanc) */
    .hero::before { background: linear-gradient(180deg, rgba(22, 25, 29, .66) 0%, rgba(22, 25, 29, .7) 55%, rgba(22, 25, 29, .86) 100%); }
    .hero-content { text-shadow: 0 1px 3px rgba(10, 12, 14, .55); }
    .hero-bg img { object-position: 64% 50%; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .content-wrapper { grid-template-columns: 1fr; gap: 40px; }
    aside.sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-banner { flex-wrap: wrap; padding: 36px 0; }
    .cta-actions { width: 100%; flex-direction: row; }
    .facts-grid { grid-template-columns: 1fr; }
    .section-head-split { grid-template-columns: 1fr; gap: 12px; }
    .section-head-split p { justify-self: start; }
    .band-dark-bg { width: 100%; height: 190px; bottom: auto; }
    .band-dark::before { background: linear-gradient(180deg, rgba(22, 25, 29, .45) 0px, rgba(22, 25, 29, .8) 120px, var(--ink-900) 190px, var(--ink-900) 100%); }
    .why-inner { padding: 60px 24px 50px; }
    .why-title { padding-left: 0; padding-top: 40px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
    .why-item:nth-child(3) { border-left: 0; }
    .devis-grid { grid-template-columns: 1fr; gap: 30px; }
    .duo { grid-template-columns: 1fr; gap: 50px; }
    .duo-col, .duo-col + .duo-col { padding: 0; border-left: 0; }
    .page-hero-bg { width: 100%; }
    .page-hero::before { background: linear-gradient(90deg, rgba(22, 25, 29, .9) 0%, rgba(22, 25, 29, .8) 60%, rgba(22, 25, 29, .66) 100%); }
}

@media (max-width: 720px) {
    body { padding-bottom: 68px; }
    .container { padding: 0 16px; }
    .header-inner { min-height: 66px; gap: 12px; }
    .main-nav { inset: 66px 0 0 0; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-text { font-size: 1.14rem; }
    .section { padding: 60px 0; }
    .hero-inner { padding: 38px 16px 44px; }
    .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
    .hero-lead { font-size: 1rem; }
    .hero-assurances { gap: 10px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .trust-item svg { width: 24px; height: 24px; }
    .steps { grid-template-columns: 1fr; }
    .services-grid, .blog-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 290px; }
    .page-hero { padding: 44px 0 42px; }
    .content-section { padding: 44px 0 56px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .price-table th, .price-table td, .info-table th, .info-table td { padding: 12px 12px; font-size: .9rem; }
    .price-table td:nth-child(2) { white-space: nowrap; text-align: right; }
    /* Tableau de prix empile : prestation + fourchette sur une ligne, explication dessous (plus de 3e colonne coupee) */
    .price-table, .price-table thead, .price-table tbody { display: block; }
    .price-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 0; }
    .price-table thead th:nth-child(3) { display: none; }
    .price-table thead th:nth-child(2) { text-align: right; }
    .price-table td:nth-child(1), .price-table td:nth-child(2) { border-bottom: 0; padding-bottom: 4px; }
    .price-table td:nth-child(3) { grid-column: 1 / -1; padding-top: 0; font-size: .86rem; color: var(--texte-doux); }
    .price-table tr:last-child td:nth-child(1), .price-table tr:last-child td:nth-child(2) { padding-bottom: 4px; }
    .cta-banner { gap: 18px; padding: 34px 0; }
    .cta-icon { padding-right: 18px; }
    .cta-icon .icon { width: 44px; height: 44px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .form-card, .devis-card { padding: 22px 18px; }
    .why-grid { grid-template-columns: 1fr; gap: 0; }
    .why-item { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
    .why-item .icon { grid-row: span 2; margin: 2px 0 0; }
    .why-item:first-child { border-top: 0; }
    .reviews { padding: 0; }
    .reviews-nav { display: none; }

    .mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
        background: var(--ink-950); padding: 8px; gap: 8px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: .98rem; }
    .mobile-cta-phone { background: var(--ink-700); color: var(--blanc); flex: 0 0 38%; }
    .mobile-cta-devis { background: var(--or); color: var(--ink-900); }
    .mobile-cta-phone:hover { color: var(--blanc); }
    .mobile-cta-devis:hover { color: var(--ink-900); }
    .mobile-cta { transition: transform .25s ease; }
    .mobile-cta.is-hidden { transform: translateY(110%); }
}

@media (max-width: 400px) {
    .trust-grid { grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; }
    .brand-text { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .site-header, .mobile-cta, .site-footer, aside.sidebar, .section-cta { display: none !important; }
    .page-hero { background: none !important; color: #000; padding: 0; }
    .page-hero-bg, .page-hero::before { display: none; }
    .page-hero h1, .page-hero p { color: #000; }
}

[id] { scroll-margin-top: 96px; }

/* --- Ajustements apres premiere capture --- */
.header-inner.container { max-width: 1320px; }
.main-nav a { white-space: nowrap; }
.why-title { padding-left: 9%; }
.why-title h2 { font-size: clamp(1.55rem, 2.4vw, 1.85rem); }
@media (max-width: 980px) { .why-title { padding-left: 0; } }
@media (max-width: 720px) {
    /* Prestations : defilement horizontal au doigt plutot que 8 cartes empilees */
    .services-grid--4 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; }
    .services-grid--4 .service-card { scroll-snap-align: start; min-height: 330px; }
    .services-grid--4 .service-card:hover { transform: none; }
}

/* --- Seconde maquette : gabarits interieurs, hub, devis, contact, a propos --- */
@media (max-width: 1480px) { .brand-tagline { display: none; } }
@media (max-width: 1240px) { .main-nav a { font-size: .88rem; padding: 10px 7px; } .main-nav > ul > li > a::after { left: 7px; right: 7px; } .has-dropdown > a { padding-right: 20px !important; } }
@media (min-width: 981px) and (max-width: 1100px) { .btn-header { display: none; } }
.dropdown-sep { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 6px; padding-top: 6px; }

.page-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.points-band { background: var(--blanc); border-bottom: 1px solid var(--bordure); }
.points-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.points-title { flex-shrink: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.12rem; color: var(--ink-900); letter-spacing: -.01em; }
.points-list { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; flex: 1; justify-content: space-around; }
.points-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .93rem; color: var(--ink-900); }
.points-list .icon { color: var(--or-fonce); }

.service-card-arrow { position: absolute; right: 16px; bottom: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--blanc); color: var(--ink-900); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition); }
.service-card:hover .service-card-arrow { background: var(--or); transform: translateX(2px); }
.service-card .service-card-body { padding-right: 58px; }
.service-card--dark .service-card-body { padding-right: 24px; }

.content-cta { margin-top: 28px; }
.zone-list--left { justify-content: flex-start; margin-top: 16px; }
.zone-checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 18px 0 10px !important; }
.zone-checks li { position: relative; padding-left: 30px; margin: 0; }
.zone-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b25a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.zone-checks a { display: block; padding: 2px 0 8px; font-weight: 600; text-decoration: none; color: var(--ink-900); border-bottom: 1px solid var(--bordure); }
.zone-checks a:hover { color: var(--or-fonce); }

.icon-points { list-style: none; display: grid; gap: 18px; margin: 22px 0 26px; }
.icon-points li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.icon-points .icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--ink-900); color: var(--or); }
.icon-points strong { display: block; color: var(--ink-900); font-size: 1rem; }
.icon-points span { color: var(--texte-doux); font-size: .93rem; line-height: 1.5; }
.icon-points--compact { gap: 12px; }
.icon-points--compact li { grid-template-columns: 44px minmax(0, 1fr); }
.icon-points--compact .icon { width: 44px; height: 44px; padding: 10px; }
.icon-points--compact span { font-size: 1rem; color: var(--ink-900); font-weight: 600; }
.devis-grid--page { align-items: start; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.devis-resume { margin-top: 6px; }
.devis-resume ol { margin-left: 18px; font-size: .93rem; }
.devis-resume li { margin-bottom: 8px; border: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact-coords h2 { margin-bottom: 14px; }
.contact-coords > p { color: var(--texte-doux); }
.contact-map { margin: 0; }
.contact-map img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--bordure); background: var(--creme-2); }
.contact-map-link { display: block; }
.contact-map figcaption { font-size: .82rem; color: var(--texte-doux); margin-top: 10px; }

.section-stats { background: var(--blanc); border-bottom: 1px solid var(--bordure); }
.stats-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; padding: 24px 0; }
.stats-row li { display: flex; align-items: center; gap: 12px; color: var(--texte-doux); font-size: .88rem; }
.stats-row .icon { color: var(--or-fonce); }
.stats-row strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink-900); line-height: 1.1; }
.steps-compact--plain { margin: 18px 0 8px !important; }
.content-main .steps-compact li { margin-bottom: 0; }
.content-main .steps-compact h3 { margin: 6px 0 4px; }

@media (max-width: 980px) {
    .points-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .points-list { justify-content: flex-start; flex-direction: column; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .devis-grid--page { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .zone-checks { grid-template-columns: 1fr; }
    .page-hero-buttons .btn { width: 100%; }
    .services-grid--hub { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
    .services-grid--hub .service-card { min-height: 280px; }
}
@media (min-width: 981px) { .points-list { flex-wrap: nowrap; gap: 24px; } }

/* --- Audit 16/11 : responsive et zones cliquables --- */
/* Tablette : 8 cartes en 2 colonnes (au lieu de 3 + 3 + 2) */
@media (min-width: 721px) and (max-width: 1100px) {
    .services-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Bandeau « Pourquoi » : sous 1140 px, photo en haut, texte sur fond plein (plus de texte sur la photo) */
@media (min-width: 981px) and (max-width: 1140px) {
    .band-dark-bg { width: 100%; height: 190px; bottom: auto; }
    .band-dark::before { background: linear-gradient(180deg, rgba(22, 25, 29, .45) 0px, rgba(22, 25, 29, .8) 120px, var(--ink-900) 190px, var(--ink-900) 100%); }
    .why-inner { padding: 60px 24px 50px; }
    .why-title { padding-left: 0; padding-top: 40px; }
}
/* Cibles tactiles >= 44 px */
.brand { min-height: 44px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb { margin-bottom: 6px; }
.sidebar-card li a, .sidebar-card li .is-current { padding: 11px 0; }
.footer-col li { margin-bottom: 0; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col .btn-sm { min-height: 46px; }
.footer-cities a, .footer-bottom a { display: inline-block; padding: 10px 0; }
.form-consent input { width: 22px; height: 22px; margin-top: 0; }
.form-consent { grid-template-columns: 24px 1fr; }
@media (max-width: 720px) {
    .footer-col ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
    .footer-col li a { min-height: 44px; line-height: 1.3; }
}
.footer-cities a, .footer-bottom a { padding: 12px 0; }
.zone-checks a { padding: 10px 0 12px; }
.zone-checks li::before { top: 12px; }

/* --- Relecture 17/11 --- */
/* Tablette : les 4 guides en 2 colonnes (au lieu de 3 + 1 orpheline a 1024 px) */
@media (min-width: 721px) and (max-width: 1100px) {
    .blog-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Accueil mobile : guides et regles en defilement horizontal, photo decorative du bloc bois masquee */
@media (max-width: 720px) {
    .rail-mobile { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; }
    .rail-mobile > * { scroll-snap-align: start; }
    .split-media--deco { display: none; }
}
/* Mobile : sections moins espacees, etapes de l'accueil en liste continue (moins de hauteur, meme texte) */
@media (max-width: 720px) {
    .section { padding: 48px 0; }
    .steps-compact { gap: 0; border: 1px solid var(--bordure); border-radius: var(--radius-lg); background: var(--blanc); }
    .steps-compact li { border: 0; border-radius: 0; border-top: 1px solid var(--bordure); grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
    .steps-compact li:first-child { border-top: 0; }
    .steps-compact .step-num { width: 28px; height: 28px; font-size: .9rem; }
    .steps-compact h3 { margin: 3px 0 2px; }
}

/* --- Points faibles 17/11 : tablette 721-980 px (la barre laterale passait sous le texte en colonne, accueil ~11 500 px) --- */
.content-cta-lien { margin-top: 24px; font-weight: 600; }
@media (min-width: 721px) and (max-width: 980px) {
    /* Barre laterale en bandeau compact sous le texte : cartes cote a cote, listes en pastilles */
    .content-wrapper { gap: 32px; }
    aside.sidebar { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .sidebar-card { padding: 18px 20px; }
    .sidebar-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
    .sidebar-card li, .sidebar-card li:last-child { border: 0; }
    .sidebar-card li a, .sidebar-card li .is-current { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--bordure); border-radius: 999px; background: var(--blanc); font-size: .9rem; line-height: 1.25; }
    /* Accueil : prestations, regles et guides en defilement horizontal (2 cartes visibles), comme en mobile */
    .services-grid--4, .rail-mobile { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-left: -24px; margin-right: -24px; padding: 4px 24px 14px; scroll-padding: 0 24px; }
    .services-grid--4 > *, .rail-mobile > * { scroll-snap-align: start; }
    .services-grid--4 .service-card:hover { transform: none; }
    .services-grid--hub { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
    /* Sections en 2 colonnes au lieu d'une */
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
    .duo-col { padding-right: 24px; }
    .duo-col + .duo-col { padding: 0 0 0 24px; border-left: 1px solid var(--bordure); }
    .devis-section .devis-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
    .devis-section .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
