/* ROBINS COUVERTURE – feuille de style du site public */
:root {
  --brand: #1f6274;        /* bleu du logo */
  --brand-dark: #164a58;
  --brand-soft: #e8f1f3;
  --brand-line: #cfe2e7;
  --ink: #16202a;
  --ink-2: #3a4754;
  --muted: #64717e;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --dark: #15222b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 42, .05), 0 6px 24px rgba(16, 32, 42, .06);
  --shadow-hover: 0 2px 4px rgba(16, 32, 42, .06), 0 14px 36px rgba(16, 32, 42, .11);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #7fb8c6; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 640px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; border: 2px solid var(--brand); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 98, 116), .25); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-ghost { background: #fff; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.btn-white { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-white:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand-soft); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Barre de contact ---------- */
.topbar { background: #0f2129; color: #c7d5db; font-size: .85rem; }
.topbar-inner { display: flex; gap: 22px; align-items: center; min-height: 38px; }
/* Types de toitures (tuiles mises en avant) */
.toitures-titre { font-size: 1.05rem; margin: 0 0 12px; }
.toitures { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.toiture { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.toiture svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.toiture strong { font-weight: 700; }
.toiture small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.2; }
.toiture-principale { border-color: var(--brand); background: rgba(31, 98, 116, .07); padding: 10px 18px; }
.toiture-principale > span { display: grid; }
.prose .toitures { margin-top: 10px; }
.service-mini { padding: 22px; }
.service-mini .icon-box { width: 44px; height: 44px; margin-bottom: 12px; }
.service-mini .icon-box svg { width: 24px; height: 24px; }
.service-mini h3 { font-size: 1.05rem; margin: 0 0 6px; }
.service-mini p { margin: 0; }
.media-icon { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, #e7f0f3, #cfe0e6); color: var(--brand); }
.media-icon svg { width: 64px; height: 64px; stroke-width: 1.3; }

.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 1240px) { .topbar-horaires { display: none !important; } }
@media (max-width: 1080px) { .topbar-mail { display: none !important; } }
.topbar svg { width: 15px; height: 15px; color: #9fd3e0; }
.topbar a { color: #e6eef1; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-right { margin-left: auto; display: inline-flex; gap: 22px; }
.topbar-promesses { gap: 22px !important; font-weight: 700; color: #fff; }

/* Engagements : devis gratuit, déplacement gratuit, garantie décennale */
.promesses { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.promesses li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid var(--brand-line); }
.promesse-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.promesse-icon svg { width: 15px; height: 15px; }
.promesses-hero li { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.promesses-hero .promesse-icon { background: #fff; color: var(--brand); }
.promesses-center { justify-content: center; }
.cta-band .promesses { margin: 18px 0 0; }
.card-cta .promesses { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }

.main-nav > a, .has-sub > a { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 901px) {
  .header-cta .tel { display: none; }
  .header-inner { gap: 18px; }
  .main-nav a { padding: 8px 9px; }
}
.nav-home { display: inline-flex !important; align-items: center; gap: 6px; }
.nav-home svg { width: 18px; height: 18px; }

/* Sous-menu des services */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.has-sub > a svg { width: 16px; height: 16px; transition: transform .2s; }
.submenu { position: absolute; top: calc(100% + 10px); left: 50%; width: 780px; transform: translate(-50%, 8px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px rgba(16, 32, 42, .14); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover > a svg { transform: rotate(180deg); }
.submenu a { display: flex !important; gap: 12px; align-items: flex-start; padding: 10px !important; border-radius: 10px; }
.submenu .icon-box { width: 38px; height: 38px; margin: 0; flex: none; border-radius: 10px; }
.submenu .icon-box svg { width: 20px; height: 20px; }
.submenu strong { display: block; color: var(--ink); font-size: .95rem; }
.submenu small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; line-height: 1.35; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 32, 42, .05); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #111; flex: none; }
.logo:hover { color: #111; }
.logo-svg { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { font-style: italic; font-size: .82rem; color: #333; }
.logo-text > span { font-size: 1.22rem; font-weight: 700; white-space: nowrap; }
.logo-text strong { font-weight: 900; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.raccourcis { display: none; }
.main-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.header-cta { display: flex; gap: 10px; align-items: center; flex: none; }
.tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink); }
.tel svg { width: 18px; height: 18px; color: var(--brand); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .6; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%); padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-bottom: 28px; }
.hero-art { width: 100%; max-width: 520px; justify-self: end; filter: drop-shadow(0 20px 40px rgba(31, 98, 116), .15)); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.hero-local { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero-local .lead { max-width: 760px; }

/* ---------- Bandeau de confiance ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -40px; position: relative; z-index: 2; }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Héros photo plein écran ---------- */
.hero-photo { position: relative; isolation: isolate; color: #fff; min-height: min(88vh, 760px); display: flex; align-items: center; padding: 64px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 30, 38, .9) 0%, rgba(10, 30, 38, .72) 45%, rgba(10, 30, 38, .25) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-photo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; width: 100%; }
.hero-photo h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; text-wrap: balance; }
.h1-sub { display: block; color: #9fd3e0; font-size: .62em; letter-spacing: -.02em; margin-top: 10px; }
.hero-photo .lead { color: rgba(255, 255, 255, .88); font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 30px; }
.eyebrow-light { color: #9fd3e0; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.trust-light { color: rgba(255, 255, 255, .92); }
.trust-light svg { color: #9fd3e0; }
.quote-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); display: grid; gap: 12px; }
.quote-card h2 { font-size: 1.5rem; margin: 0; }
.quote-card p { margin: 0 0 4px; }
.quote-card input:not([type=checkbox]), .quote-card select { width: 100%; padding: 13px 14px; border: 1.5px solid #d3dce3; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.quote-card input:focus, .quote-card select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 98, 116, .15); }
.quote-card .check { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.quote-card .check input { margin-top: 3px; accent-color: var(--brand); }
.quote-card .btn { width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cartes photo */
.photo-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: inherit; }
.photo-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { margin-bottom: 6px; }
.photo-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.photo-card:hover .card-more svg { transform: translateX(4px); }

/* Avant / après */
.ba { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); background: #1b333d; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba > img { display: block; width: 100%; height: auto; pointer-events: none; }
.ba-avant img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(15, 33, 41, .78); pointer-events: none; }
.ba-tag-avant { left: 14px; }
.ba-tag-apres { right: 14px; background: var(--brand); }
.ba-poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-poignee span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--brand-dark); font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-item h3 { margin: 14px 0 2px; font-size: 1.05rem; }
.ba-seul { max-width: 560px; margin-left: auto; margin-right: auto; }
.ba-item p { margin: 0; }

/* Chantier en étapes : Début → Pendant → Fin */
.etapes { display: grid; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; }
.etape { margin: 0; }
.etape-img { display: block; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #1b333d; }
.etape-img img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.etape:hover .etape-img img { transform: scale(1.04); }
.etape figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.etape-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.etape-fleche { color: var(--brand); display: grid; place-items: center; margin-top: -36px; }
.etape-fleche svg { width: 28px; height: 28px; }
.section-dark .etape figcaption { color: #fff; }
.section-dark .etape-num { background: #fff; color: var(--brand-dark); }
.section-dark .etape-fleche { color: #9fd3e0; }
@media (max-width: 700px) {
  .etapes { grid-template-columns: 1fr !important; gap: 6px; }
  .etape-fleche { margin: 0 auto; transform: rotate(90deg); }
}

/* Réalisations en cartes compactes */
.travaux-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.travail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.travail-card-sombre { background: #16303a; border-color: #23414c; }
.travail-card .ba { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.travail-card .ba > img { height: 100%; object-fit: cover; }
.etapes-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; aspect-ratio: 4 / 3; }
.etape-mini { position: relative; display: block; overflow: hidden; background: #1b333d; }
.etape-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.etape-mini:hover img { transform: scale(1.05); }
.etape-mini span { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border-radius: 999px; background: rgba(15, 33, 41, .8); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.etape-mini b { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--brand-dark); display: grid; place-items: center; font-size: .7rem; }
.travail-info { padding: 12px 16px 14px; }
.travail-type { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.travail-info h3 { font-size: 1rem; margin: 2px 0 0; }
.travail-info h3 a { color: var(--ink); text-decoration: none; }
.travail-info p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.travail-card-sombre .travail-type { color: #9fd3e0; }
.travail-card-sombre .travail-info h3 a { color: #fff; }
.travail-card-sombre .travail-info p { color: #b6c6cd; }
.photo-grid figure, .etape-mini { cursor: zoom-in; }

/* Visionneuse plein écran */
.zoom-vue { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 20, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 16px 24px; animation: fondu .2s ease; touch-action: pan-y; }
.zoom-vue figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.zoom-vue img { display: block; max-width: min(1100px, 92vw); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #0f2129; }
.zoom-vue figcaption { color: #fff; font-weight: 700; text-align: center; font-size: .95rem; }
.zoom-vue figcaption b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--brand-dark); text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; }
.zoom-vue figcaption small { display: block; color: #9fb3bb; font-weight: 500; margin-top: 4px; }
.zoom-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.zoom-btn:hover { background: #fff; }
.zoom-fermer { top: 12px; right: 12px; }
.zoom-prec { left: 14px; top: 50%; transform: translateY(-50%); }
.zoom-suiv { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .zoom-prec, .zoom-suiv { top: auto; bottom: 18px; transform: none; } .zoom-vue { padding-bottom: 80px; } .zoom-vue img { max-height: calc(100vh - 200px); } }
@keyframes fondu { from { opacity: 0; } }

/* Situations (page service) */
.situation { padding-top: 30px; }
.situation-num { position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--brand-line); color: var(--brand-dark); font-weight: 600; font-size: .9rem; }
.photo-card-sm .media { aspect-ratio: 16 / 10; }
.photo-card-sm .body { padding: 14px 16px 16px; }
.photo-card-sm h3 { font-size: 1rem; margin-bottom: 2px; }

/* Sections sombres + galerie */
.section-dark { background: #0f2129; color: #c9d6dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #b6c6cd; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section-head.split .lead { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 14px; }
.photo-grid figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #1b333d; }
.photo-grid figure.big { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.photo-grid figure:hover figcaption, .photo-grid figure.big figcaption { opacity: 1; transform: none; }
.sub-title { margin: 48px 0 20px; }

/* Image + texte */
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 4 / 5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list .icon-box { margin: 0; flex: none; width: 46px; height: 46px; }
.feature-list .icon-box svg { width: 24px; height: 24px; }
.feature-list p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* Appel final sur photo */
.cta-photo { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 128px) 0; color: #fff; text-align: center; overflow: hidden; }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(15, 33, 41, .78), rgba(31, 98, 116, .85)); }
.cta-photo h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-photo p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; margin-bottom: 28px; }

/* Héros photo des pages intérieures */
.hero-inner { position: relative; isolation: isolate; color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.hero-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 30, 38, .9), rgba(10, 30, 38, .55)); }
.hero-inner h1 { color: #fff; max-width: 820px; }
.hero-inner .lead { color: rgba(255, 255, 255, .88); }
.hero-inner .breadcrumb, .hero-inner .breadcrumb a { color: rgba(255, 255, 255, .75); }
.hero-inner .eyebrow { color: #9fd3e0; }
.hero-inner .muted { color: rgba(255, 255, 255, .75); }
.hero-inner .lead a { color: #fff; }

/* Preuves de confiance (note Google, décennale, qualifications, ancienneté) */
.trust-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -40px; position: relative; z-index: 2; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; line-height: 1.25; }
.trust-item span { color: var(--muted); font-size: .88rem; }
.urgence { display: inline-flex; align-items: center; gap: 8px; background: #fff4e5; color: #8a4b00; border: 1px solid #f4d3a1; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.urgence svg { width: 18px; height: 18px; flex: none; }

/* Avis */
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink-2); flex: 1; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.review figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; }
.stars span { color: #d6dde3; }
.stars span.on { color: #f2b01e; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand-line); color: inherit; }
.card-link p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); font-size: .95rem; margin-top: 8px; }
.card-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card-link:hover .card-more svg { transform: translateX(4px); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 28px; height: 28px; }

/* Étapes */
.steps { counter-reset: step; }
.step { padding-top: 30px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg-soft); }

/* Chantiers */
.chantier-card { padding: 0; overflow: hidden; }
.chantier-card a { display: block; text-decoration: none; color: inherit; }
.chantier-card .media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-soft); }
.chantier-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.chantier-card:hover img { transform: scale(1.04); }
.img-vide { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand-line); }
.img-vide svg { width: 56px; height: 56px; }
.card-body { padding: 16px 20px 20px; }
.card-body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.card-body p { margin: 0; font-size: .875rem; }
.empty { text-align: center; padding: 40px 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Zones */
.zone-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.zone-card h3 small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li a, .pill-list li span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .9rem; transition: border-color .15s, color .15s, background .15s; }
.pill-list li a { border-color: var(--brand-line); color: var(--brand-dark); font-weight: 600; }
.pill-list li a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.section-soft .pill-list li span { background: #fff; }

/* ---------- Contenu ---------- */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside .card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.aside ul { margin: 0; padding-left: 1.1em; }
.card-cta { background: var(--brand); color: #fff; border-color: var(--brand); }
.card-cta h2, .card-cta p { color: #fff; }
.card-cta p { opacity: .9; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6274' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.local-box { background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 22px 26px; margin-top: 32px; }
.local-box h2 { margin-top: 0; font-size: 1.3rem; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--brand-line); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list .prose { padding: 0 22px 18px; }

/* Bandeau d'appel */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; box-shadow: 0 20px 50px rgba(31, 79, 92, .25); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .9; }
.links-inline { font-size: .9rem; margin-top: 18px; color: var(--muted); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 24px 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius-sm); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---------- Formulaire ---------- */
.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.form-card { padding: clamp(22px, 4vw, 36px); }
.form label { display: block; margin-bottom: 18px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid #cfd8e0; border-radius: var(--radius-sm); font: inherit; font-weight: 400; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 98, 116), .15); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-err { background: #fdecea; color: #8a1c12; }
.reassure { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.reassure li { display: flex; gap: 12px; }
.reassure svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.reassure strong { display: block; }
.reassure span { color: var(--muted); font-size: .92rem; }

.apercu-banner { background: #fff4cc; border-bottom: 1px solid #e6cf74; padding: 10px 16px; text-align: center; font-size: .9rem; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 0; background: var(--dark); color: #b9c6cf; padding: 56px 0 28px; font-size: .94rem; }
.site-footer a { color: #e3eaee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .9fr; gap: 40px; }
.footer-zones { grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: .88rem; }
.footer-grid h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
/* Liens du pied de page assez hauts pour le doigt (≥ 44 px au toucher, sans changer l'aspect) */
@media (pointer: coarse) { .footer-grid ul { gap: 0; } .footer-grid li a { display: inline-block; padding: 11px 0; } }
/* Liens dans le texte : soulignés pour être repérables sans se fier à la couleur */
.prose a, .local-box a, .faq-list a { text-decoration: underline; }
.quote-card .check input { width: 20px; height: 20px; flex: none; }
.footer-logo { width: 240px; height: auto; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

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

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 8px 8px; font-size: .9rem; }
  .tel { display: none; }
}
@media (max-width: 1000px) {
  .hero-photo-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-card { max-width: 520px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 900px) {
  .split-media, .section-head.split { grid-template-columns: 1fr; gap: 28px; }
  .split-img { aspect-ratio: 4 / 3; }
  .hero-photo { min-height: 0; padding: 48px 0 80px; }
  .hero-grid, .layout-2, .devis-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .aside { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .topbar { display: none; }
  .has-sub > a svg, .submenu small, .submenu .icon-box { display: none; }
  .submenu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 14px; grid-template-columns: 1fr; gap: 0; }
  .submenu::before { display: none; }
  .submenu a { padding: 11px 4px !important; border-radius: 0; }
  .submenu strong { font-weight: 600; color: var(--ink-2); }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(16, 32, 42, .08); padding: 8px 20px 16px; }
  /* Menu ouvert : défile à l'intérieur s'il est plus haut que l'écran (13 métiers) */
  .main-nav.open { display: flex; max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  /* Raccourcis visibles sous l'en-tête, sans ouvrir le menu */
  .raccourcis { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .raccourcis::-webkit-scrollbar { display: none; }
  .raccourcis a { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
  .raccourcis a[aria-current="page"] { background: var(--brand); color: #fff; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .main-nav a:hover { background: none; }
  .header-cta { order: 2; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-bar.single { grid-template-columns: 1fr; }
  .mobile-bar .btn { padding: 12px 14px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text > span { font-size: 1.05rem; }
  .logo-svg { width: 40px; height: 40px; }
  .btn-row .btn { flex: 1 1 100%; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.3rem; }
}
