/* C&G Menuiserie Confort : feuille de style du site (thème WordPress).
   Police Plus Jakarta Sans (licence SIL OFL, fichier dans assets/fonts) servie par le site. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }

/* C&G Menuiserie Confort — design system
   A clean product-site look in the company's colours: orange #FF9900, charcoal #202124, light grey #F2F2F2.
   Photographs only; no drawn illustrations. */
:root {
  --bg: #FFFFFF;
  --soft: #F2F2F2;
  --soft-2: #E6E6E6;
  --line: #E2E2E2;
  --line-strong: #CDCDCD;
  --ink: #1C1C1C;
  --ink-2: #474747;
  --navy: #202124;
  --navy-2: #2E2F33;
  --blue: #A35400;
  --blue-press: #7A3F00;
  --blue-soft: #FFF1DC;
  --orange: #FF9900;
  --orange-press: #EB8A00;
  --orange-text: #A35400;
  --on-dark-2: #CFCFCF;

  --font: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --s-xs: 0.875rem;
  --s-sm: 0.9375rem;
  --s-body: 1.0625rem;
  --s-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --s-h3: 1.25rem;
  --s-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.875rem);
  --s-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-hover: 0 14px 36px rgba(15, 34, 51, 0.10), 0 2px 6px rgba(15, 34, 51, 0.05);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --section: clamp(72px, 8vw, 120px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--s-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 80; background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.container { max-width: calc(var(--container) + 2 * 24px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section); }
.section.soft { background: var(--soft); }
.section.tight { padding-block: clamp(48px, 5vw, 72px); }

h1 { font-size: var(--s-h1); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: var(--s-h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-size: var(--s-h3); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: var(--s-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.head > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.head.center { justify-content: center; text-align: center; }
.head.center > div { align-items: center; }
.head.center .lead { margin-inline: auto; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--orange); color: #1C1C1C; font: 700 var(--s-body)/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease, color 180ms ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform 220ms var(--ease); }
.btn.secondary { background: var(--soft-2); color: var(--ink); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.white { background: #fff; color: var(--ink); }
.btn.lg { min-height: 56px; padding: 0 26px; }
.btn:active { transform: translateY(0) scale(0.98); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.arrow-link svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--orange-press); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 153, 0, 0.35); }
  .btn.secondary:hover { background: var(--line); box-shadow: none; }
  .btn.dark:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(14, 42, 63, 0.25); }
  .btn.white:hover { background: var(--soft); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
  .btn:hover svg, .arrow-link:hover svg { transform: translateX(4px); }
  .arrow-link:hover { color: var(--blue-press); }
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: var(--s-xs); }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 9px; }
.topbar a { text-decoration: none; font-weight: 700; }
.topbar span { color: var(--on-dark-2); }
.topbar b { color: #fff; font-weight: 600; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 34, 51, 0.06); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 36px; height: auto; transition: transform 300ms var(--ease); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 1.0625rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.brand small { font-size: 0.8125rem; font-weight: 600; color: var(--orange-text); }
@media (hover: hover) and (pointer: fine) { .brand:hover img { transform: rotate(-4deg) scale(1.06); } }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .dd > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: transparent; font-weight: 600; font-size: var(--s-sm); text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.nav > a[aria-current="page"], .dd.current > button { color: var(--blue); }
.dd { position: relative; }
.dd > button svg { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.dd-panel {
  position: absolute; top: calc(100% + 8px); left: -12px; z-index: 70;
  width: 560px; padding: 10px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 34, 51, 0.16);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  display: none;
}
.dd-panel.narrow { width: 300px; grid-template-columns: 1fr; }
.dd-panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd-panel a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; transition: background-color 160ms ease; }
.dd-panel a b { font-size: var(--s-sm); font-weight: 700; }
.dd-panel a span { font-size: var(--s-xs); color: var(--ink-2); line-height: 1.4; }
.dd.open .dd-panel { display: grid; animation: drop 180ms var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dd.open > button svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav > a:hover, .dd > button:hover { background: var(--soft); }
  .dd:hover .dd-panel { display: grid; animation: drop 180ms var(--ease) both; }
  .dd:hover > button svg { transform: rotate(180deg); }
  .dd-panel a:hover { background: var(--soft); }
  .dd-panel a:hover b { color: var(--blue); }
}
.header .tel { font-weight: 700; font-size: var(--s-sm); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: color 160ms ease; }
.header .tel svg { width: 16px; height: 16px; color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .header .tel:hover { color: var(--blue); } }
.header .btn { min-height: 46px; padding: 0 18px; font-size: var(--s-sm); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--r-sm); background: var(--soft); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
.mnav { display: none; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: var(--s-xs); color: var(--ink-2); padding-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--s-sm); font-weight: 600; color: var(--ink); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft-2); aspect-ratio: 4 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.hero-media.wide { aspect-ratio: 4 / 3; }
.chip { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); color: var(--ink); font-size: var(--s-xs); line-height: 1.35; }
.chip b { font-size: var(--s-sm); }
@media (hover: hover) and (pointer: fine) { .hero-media:hover img { transform: scale(1.04); } }
.hero-solo { max-width: 860px; }
.keypoints { background: var(--soft); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.keypoints h2 { font-size: var(--s-h3); }
.keypoints li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.keypoints li b { color: var(--ink); display: block; }
.keypoints svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trust li { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; transition: background-color 200ms ease; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { font-size: var(--s-body); font-weight: 700; }
.trust span { font-size: var(--s-sm); color: var(--ink-2); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .trust li:hover { background: var(--soft); } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 26px; border-radius: var(--r); background: var(--soft); border: 1px solid transparent;
  text-decoration: none; color: inherit;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, background-color 260ms ease, border-color 260ms ease;
}
.card p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.card .arrow-link { margin-top: auto; padding-top: 8px; font-size: var(--s-sm); }
.card .tag { align-self: flex-start; font-size: 0.8125rem; font-weight: 700; color: var(--blue-press); background: var(--blue-soft); border-radius: 999px; padding: 4px 10px; }
.card.photo { padding: 0; overflow: hidden; }
.card.photo .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.card.photo .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card.photo .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card.dark { background: var(--navy); color: #fff; }
.card.dark p { color: var(--on-dark-2); }
.card.dark .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.card.dark .arrow-link { color: var(--orange); }
a.card:hover h3, a.card:focus-visible h3 { color: var(--blue); }
a.card.dark:hover h3 { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover { transform: translateY(-4px); background: #fff; border-color: var(--line); box-shadow: var(--shadow-hover); }
  a.card.dark:hover { background: var(--navy-2); border-color: transparent; }
  a.card:hover .arrow-link svg { transform: translateX(4px); }
  a.card.photo:hover .pic img { transform: scale(1.05); }
}
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bento .span2 { grid-column: span 2; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* ---------- Steps ---------- */
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform 260ms var(--ease), box-shadow 260ms ease; }
.step .badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; color: var(--orange-text); background: #FFF1DC; border-radius: 999px; padding: 4px 12px; }
.step p { color: var(--ink-2); font-size: 1rem; }
.step .note { margin-top: auto; padding: 12px 14px; border-radius: var(--r-sm); background: var(--soft); font-size: var(--s-xs); color: var(--ink-2); }
.step .note b { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); } }

/* ---------- Audience (plans) ---------- */
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; background: #fff; transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease; }
.plan.featured { background: var(--soft); border-color: transparent; }
.plan ul { display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.plan li svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 16px; }
.gallery figure { position: relative; border-radius: var(--r); overflow: hidden; background: var(--soft-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.gallery figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.96); font-size: var(--s-xs); font-weight: 600; line-height: 1.35; transition: transform 300ms var(--ease); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) {
  .gallery figure:hover img { transform: scale(1.05); }
  .gallery figure:hover figcaption { transform: translateY(-4px); }
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--s-sm); }
th, td { text-align: left; padding: 16px 20px; vertical-align: top; }
thead th { background: var(--soft); font-weight: 700; }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid var(--line); }
tbody th { font-weight: 700; width: 22%; }
td { color: var(--ink-2); }
tbody tr { transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { tbody tr:hover { background: #FAFCFD; } }

/* ---------- Locksmith band ---------- */
.lockband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.lockband h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lockband p { color: var(--on-dark-2); margin-top: 6px; }
.lockband .actions { flex: 0 0 auto; }

/* ---------- Sectors ---------- */
.finder { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.finder form { display: flex; align-items: stretch; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.finder form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.finder label { display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 700; font-size: var(--s-sm); white-space: nowrap; background: var(--soft); }
.finder label svg { width: 18px; height: 18px; color: var(--blue); }
.finder input { flex: 1; min-width: 0; min-height: 60px; border: 0; padding: 0 18px; font: 500 var(--s-lead)/1 var(--font); color: var(--ink); background: transparent; }
.finder input:focus { outline: none; }
.finder input::placeholder { color: #6B7E90; opacity: 1; }
.answer { font-weight: 600; min-height: 26px; }
.answer.yes { color: var(--blue); }
.sector .places { font-size: var(--s-xs); color: var(--ink-2); line-height: 1.5; }
.communes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.communes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--soft); transition: background-color 200ms ease, transform 200ms var(--ease); }
.communes li b { font-weight: 600; }
.communes li span { font-size: var(--s-xs); color: var(--ink-2); font-weight: 600; }
.communes li.hit { background: #FFF1DC; }
@media (hover: hover) and (pointer: fine) { .communes li:hover { background: var(--soft-2); transform: translateY(-2px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq-head { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color 200ms ease, box-shadow 200ms ease; }
.section:not(.soft) .faq details { background: var(--soft); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-weight: 700; font-size: var(--s-body); line-height: 1.35; transition: color 160ms ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); transition: background-color 200ms ease, transform 260ms var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform 260ms var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] { border-color: var(--line-strong); }
.faq details[open] summary .pm { transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 64ch; }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--blue); }
  .faq summary:hover .pm { background: #FFE3B8; }
}

/* ---------- CTA band ---------- */
.cta { border-radius: var(--r-lg); background: var(--blue-soft); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta > div { display: flex; flex-direction: column; gap: 12px; }
.cta .lead { color: var(--ink-2); }
.cta .actions { justify-content: flex-end; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: start; }
.coords { display: flex; flex-direction: column; gap: 10px; }
.coords > div { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--r); background: var(--soft); transition: background-color 200ms ease; }
.coords span { font-size: var(--s-xs); color: var(--ink-2); font-weight: 600; }
.coords strong { font-size: var(--s-lead); font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: #fff; }
.form h2 { grid-column: 1 / -1; font-size: var(--s-h3); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--s-xs); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); padding: 12px 14px; font: 400 var(--s-body)/1.4 var(--font); transition: border-color 160ms ease, box-shadow 160ms ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9DB2C5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form .btn { grid-column: 1 / -1; min-height: 56px; }
.form .fine { grid-column: 1 / -1; font-size: var(--s-xs); color: var(--ink-2); }
.ready { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--blue-soft); }
.ready p { font-weight: 600; }
.ready .btn { align-self: flex-start; min-height: 46px; }

/* ---------- Footer ---------- */
.footer { background: var(--soft); margin-top: var(--section); }
.footer .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 44px; }
.footer .about { display: flex; flex-direction: column; gap: 16px; }
.footer .about img { width: 200px; height: auto; }
.footer .about p { color: var(--ink-2); font-size: var(--s-sm); max-width: 34ch; }
.footer h2 { font-size: var(--s-sm); font-weight: 800; margin-bottom: 14px; letter-spacing: 0; }
.footer li { padding-block: 4px; font-size: var(--s-sm); }
.footer li a { text-decoration: none; color: var(--ink-2); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer li a:hover { color: var(--blue); } }
.legal { background: var(--soft-2); }
.legal .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; font-size: var(--s-xs); color: var(--ink-2); }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--blue); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .pending { opacity: 0; transform: translateY(20px); }
  .js .revealed { opacity: 1; transform: none; transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: var(--d, 0ms); }
  .js .hero-text > * { animation: rise 700ms var(--ease) both; }
  .js .hero-text > :nth-child(2) { animation-delay: 70ms; }
  .js .hero-text > :nth-child(3) { animation-delay: 140ms; }
  .js .hero-text > :nth-child(4) { animation-delay: 210ms; }
  .js .hero-media { animation: fade 900ms 120ms var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav, .header .tel { display: none; }
  .burger { display: inline-flex; }
  .header .container { gap: 12px; }
  .header .btn { margin-left: auto; }
  .mnav { display: block; border-top: 1px solid var(--line); background: #fff; max-height: calc(100svh - 78px); overflow-y: auto; }
  .mnav[hidden] { display: none; }
  .mnav .container { padding-block: 12px 24px; display: flex; flex-direction: column; gap: 4px; }
  .mnav p { font-size: var(--s-xs); font-weight: 700; color: var(--ink-2); padding: 14px 12px 4px; }
  .mnav a { display: block; padding: 12px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
  .mnav a:active, .mnav a:hover { background: var(--soft); }
  .mnav .btn { margin-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; max-height: 560px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li + li { border-left: 0; }
  .trust li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .faq, .contact-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .prose-grid { grid-template-columns: 1fr; }
  .communes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .about { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 680px) {
  .container { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .topbar .zones { display: none; }
  .header .container { min-height: 66px; }
  .brand img { width: 30px; }
  .brand b { font-size: 1rem; }
  .brand small { font-size: 0.8125rem; }
  h1 { font-size: min(var(--s-h1), 9vw); }
  .header .btn .long { display: none; }
  .header .btn { padding: 0 14px; min-height: 44px; }
  .mnav { max-height: calc(100svh - 66px); }
  .hero .actions .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: 1fr; }
  .trust li:nth-child(even) { border-left: 0; }
  .trust li + li { border-top: 1px solid var(--line); }
  .bento, .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .bento .span2 { grid-column: auto; }
  .gallery { grid-auto-rows: 180px; gap: 10px; }
  .gallery .tall { grid-row: span 2; }
  .gallery .wide { grid-column: span 2; }
  .gallery figcaption { left: 8px; bottom: 8px; padding: 6px 10px; }
  .lockband .actions, .lockband .actions .btn { width: 100%; }
  .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .cta .actions .btn { flex: 1 1 100%; }
  .communes { grid-template-columns: 1fr; }
  .finder form { flex-direction: column; }
  .finder label { padding: 12px 16px; }
  .form { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 48px 32px; }
  .footer .cols > nav:last-of-type { grid-column: auto; }
}

/* ---------- Page-specific additions ---------- */
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 360px; }
.grid4.compact .card { padding: 22px; }
.grid4.compact .card h3 { font-size: 1.125rem; }
.prose-grid { gap: 24px 64px; align-items: start; }
.works .card.photo .pic.tall-pic { aspect-ratio: 4 / 5; }
.keypoints .btn { align-self: flex-start; }
.legal-text { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.legal-block { background: #fff; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.legal-block h2 { font-size: var(--s-h3); }
.legal-block p { color: var(--ink-2); }
.form .fine a { color: var(--blue); }
@media (max-width: 1080px) {
  .gallery.three { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .gallery.three figure:first-child { grid-row: span 2; }
}
@media (max-width: 680px) {
  .gallery.three { grid-auto-rows: 200px; }
  .prose-grid { gap: 16px; }
}
.card.sector .valley { font-weight: 700; color: var(--blue-press); margin-top: -4px; }
@media (max-width: 680px) {
  .table-wrap { border: 0; overflow: visible; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap tbody { display: flex; flex-direction: column; gap: 10px; }
  .table-wrap tr { border-radius: var(--r); background: var(--soft); padding: 6px 0; }
  .table-wrap tbody tr + tr td, .table-wrap tbody tr + tr th { border-top: 0; }
  .table-wrap th { width: auto; font-size: var(--s-h3); padding: 14px 18px 4px; }
  .table-wrap td { padding: 8px 18px; }
  .table-wrap td::before { content: attr(data-label); display: block; font-size: var(--s-xs); font-weight: 700; color: var(--ink); }
}
.plan.dark { background: var(--navy); color: #fff; border-color: transparent; }
.plan.dark .muted, .plan.dark li { color: var(--on-dark-2); }
.plan.dark li svg { color: var(--orange); }
.plan.dark .btn.dark { background: var(--orange); color: #1C1C1C; }
@media (hover: hover) and (pointer: fine) { .plan.dark .btn.dark:hover { background: var(--orange-press); } .plan.dark:hover { border-color: transparent; } }
.card.dark h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.card.dark p { font-size: var(--s-lead); max-width: 34ch; }
.bento .card.dark { justify-content: flex-end; }
.bento .card.dark .arrow-link { margin-top: 6px; }
.header .btn .short { display: none; }
.section.soft .card:not(.dark):not(.photo) { background: #fff; }
.section.soft a.card:not(.dark):hover { border-color: var(--line-strong); }
.section.soft .card.photo { background: #fff; }
@media (max-width: 680px) { .header .btn .short { display: inline; } }
.section.soft .communes li { background: #fff; }
.section.soft .communes li.hit { background: #FFF1DC; }
@media (max-width: 680px) {
  .coords { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .coords > div { padding: 14px 16px; }
  .coords strong { font-size: 1rem; }
}

/* ---------- Testimonials ---------- */
.quote-card { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease; }
.section:not(.soft) .quote-card { background: var(--soft); border-color: transparent; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote::before { content: "\201C"; display: block; height: 30px; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--orange); }
.quote-card blockquote p { font-size: var(--s-lead); line-height: 1.5; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.quote-card figcaption b { font-weight: 700; }
.quote-card figcaption small { font-size: var(--s-xs); color: var(--ink-2); }
.avatar { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-press); font-weight: 800; font-size: var(--s-sm); }
.quote-card.is-template blockquote p { color: var(--ink-2); }
.tpl { position: absolute; top: 18px; right: 18px; font-size: 0.8125rem; font-weight: 700; color: var(--orange-text); background: #FFF1DC; border-radius: 999px; padding: 3px 10px; }
@media (hover: hover) and (pointer: fine) { .quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); } }

/* ---------- Map ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; align-items: stretch; }
.map-info { display: flex; flex-direction: column; gap: 10px; }
.sector-links { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.sector-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--r); background: var(--soft); text-decoration: none; transition: background-color 200ms ease, transform 220ms var(--ease), color 160ms ease; }
.sector-links a svg { width: 18px; height: 18px; color: var(--blue); transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .sector-links a:hover { background: var(--blue-soft); color: var(--blue-press); transform: translateX(4px); }
  .sector-links a:hover svg { transform: translateX(4px); }
}
.map { position: relative; isolation: isolate; z-index: 0; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft-2); }
.map-fallback { position: absolute; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; background: var(--soft-2); }
.map-fallback b { font-size: var(--s-h3); letter-spacing: -0.01em; }
.map-fallback p { color: var(--ink-2); max-width: 42ch; }
.map .leaflet-tile-pane { filter: grayscale(0.85) contrast(0.95) brightness(1.05); }
.map .leaflet-container { font-family: var(--font); }
.map-pin { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(15, 34, 51, 0.3); }
.leaflet-tooltip.map-label { background: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font: 700 13px/1.2 var(--font); color: var(--ink); box-shadow: 0 4px 14px rgba(15, 34, 51, 0.16); }
.leaflet-tooltip.map-label::before { display: none; }
.leaflet-tooltip.map-label.base { background: var(--navy); color: #fff; }
@media (max-width: 1080px) { .map-grid { grid-template-columns: 1fr; } .map { min-height: 380px; } }
@media (max-width: 680px) { .map { min-height: 320px; } }


/* ================= v3 : couleurs du site C&G (orange #FF9900, anthracite, gris clair) ================= */
:focus-visible { outline-color: var(--ink); }
.hero :focus-visible, .section.dark :focus-visible, .lockband :focus-visible, .callout :focus-visible, .card.dark:focus-visible, .plan.dark :focus-visible, .topbar :focus-visible { outline-color: #fff; }
.topbar { background: var(--orange); color: var(--ink); }
.topbar span { color: var(--ink); }
.topbar a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.topbar a:hover { text-decoration-color: currentColor; }
.topbar .zones { font-weight: 600; }
.brand b { color: var(--ink); }
.nav > a[aria-current="page"], .dd.current > button { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.header .container { gap: 20px; }
.nav { gap: 2px; }
.nav > a, .dd > button { padding: 0 12px; }

/* Dark hero and breadcrumb, as on the company's site */
.crumbs-bar { background: var(--navy); }
.crumbs-bar .crumbs { padding-top: 22px; color: #BDBDBD; }
.crumbs-bar .crumbs a:hover { color: var(--orange); }
.crumbs-bar .crumbs [aria-current] { color: #fff; }
.crumbs-bar .crumbs li + li::before { color: #6E6E6E; }
.hero { background: var(--navy); color: #fff; }
.hero h1 { color: #fff; }
.hero .lead { color: #D9D9D9; }
.hero .checks { color: #fff; }
.hero .checks svg { color: var(--orange); }
.hero .btn.secondary { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hero .btn.secondary svg { color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .hero .btn.secondary:hover { background: rgba(255, 255, 255, 0.18); } }
.hero .keypoints { background: var(--navy-2); color: #fff; }
.hero .keypoints h2 { color: var(--orange); }
.hero .keypoints li { color: #CFCFCF; }
.hero .keypoints li b { color: #fff; }
.hero .keypoints svg { color: var(--orange); }
.hero .coords > div { background: var(--navy-2); }
.hero .coords span { color: #BDBDBD; }
.hero .coords strong { color: #fff; }
.hero .coords a { color: var(--orange); }
.hero-media { background: var(--navy-2); }

/* Trust strip under the dark hero */
.trust-wrap { padding-top: 0; }
.trust-wrap .container { margin-top: -1px; }
.trust { background: #fff; }
.trust b { display: flex; align-items: center; gap: 10px; }
.trust b::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Dark sections and cards: orange titles on charcoal */
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark .lead { color: #CFCFCF; }
.section.dark .card { background: var(--navy-2); border-color: transparent; }
.section.dark .card h3 { color: var(--orange); }
.section.dark .card p { color: #D4D4D4; }
.card.dark h3, .plan.dark h3, .lockband h2, .callout h2 { color: var(--orange); }
a.card.dark:hover h3 { color: var(--orange); }
.card.dark .arrow-link { color: #fff; }
.card.dark .arrow-link svg { color: var(--orange); }
.plan.dark .btn { background: var(--orange); color: var(--ink); }
.pillars-short .card { gap: 12px; }
@media (hover: hover) and (pointer: fine) {
  .section.dark .card { transition: transform 260ms var(--ease), background-color 260ms ease; }
  .section.dark .card:hover { transform: translateY(-4px); background: #383A3F; }
}

/* Locksmith band and callout */
.lockband .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
@media (hover: hover) and (pointer: fine) { .lockband .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px #fff; } }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(26px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.callout > div { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.callout h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.callout p { color: #D9D9D9; font-size: var(--s-lead); line-height: 1.5; }
.block-foot { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--ink); font-weight: 600; font-size: var(--s-sm); }
.section.soft .block-foot { background: #fff; }

/* CTA band in the brand orange */
.cta { background: var(--orange); }
.cta h2 { color: var(--ink); }
.cta .lead { color: #2B2116; }
.cta .btn:not(.secondary) { background: var(--ink); color: #fff; }
.cta .btn:not(.secondary) svg { color: var(--orange); }
.cta .btn.secondary { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .cta .btn:not(.secondary):hover { background: #000; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }
  .cta .btn.secondary:hover { background: #fff; }
}

/* Split block (text + photo) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .split-media:hover img { transform: scale(1.04); } }
.checks.dark-ink { flex-direction: column; gap: 10px; font-size: var(--s-body); font-weight: 500; }
.checks.dark-ink svg { color: var(--orange-press); }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.team-text { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 112px; }
.team-poles { display: flex; flex-direction: column; gap: 16px; }
.card.pole { padding: 30px; border-left: 4px solid var(--orange); border-radius: var(--r); }
.card.pole p { font-size: var(--s-body); line-height: 1.65; }
.section:not(.soft) .card.pole { background: var(--soft); }

/* Pillars */
.pillar ul { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.pillar li svg { width: 20px; height: 20px; color: var(--orange-press); flex: 0 0 auto; margin-top: 3px; }
.pillars .card { padding: 30px; gap: 12px; }
.section.soft .pillars .card { background: #fff; }

/* Réalisations: filters + masonry */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; font-size: var(--s-sm); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip-btn[aria-pressed="false"]:hover { border-color: var(--ink); } }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: var(--r); overflow: hidden; background: var(--soft-2); }
.masonry img { width: 100%; height: auto; transition: transform 800ms var(--ease); }
.masonry figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; width: fit-content; max-width: calc(100% - 24px); display: flex; flex-direction: column; padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, 0.96); font-size: var(--s-xs); line-height: 1.35; transition: transform 300ms var(--ease); }
.masonry figcaption b { font-size: var(--s-sm); }
.masonry figcaption span { color: var(--ink-2); }
.work-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
@media (hover: hover) and (pointer: fine) {
  .masonry figure:hover img { transform: scale(1.05); }
  .masonry figure:hover figcaption { transform: translateY(-4px); }
}

/* Price table */
.table-wrap.pricetable table { min-width: 720px; }
.table-wrap.pricetable td { color: var(--ink); font-weight: 600; white-space: nowrap; }
.table-wrap.pricetable thead th { background: var(--navy); color: #fff; }
.table-wrap.pricetable thead th:nth-child(2) { color: var(--orange); }
.table-wrap.pricetable tr.group th { background: var(--blue-soft); color: var(--orange-text); font-size: var(--s-xs); font-weight: 800; letter-spacing: 0.02em; padding-block: 10px; }
.table-wrap.pricetable tbody th { font-weight: 600; width: auto; }

/* Footer extras */
.footer .social { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; font-size: var(--s-sm); }
.footer .social svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.footer .social:hover svg { transform: translateX(4px); }

/* Header: burger earlier, now that the menu has six entries */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header .btn { margin-left: auto; }
  .mnav { display: block; border-top: 1px solid var(--line); background: #fff; max-height: calc(100svh - 78px); overflow-y: auto; }
  .mnav[hidden] { display: none; }
  .mnav .container { padding-block: 12px 24px; display: flex; flex-direction: column; gap: 4px; }
  .mnav p { font-size: var(--s-xs); font-weight: 700; color: var(--ink-2); padding: 14px 12px 4px; }
  .mnav a { display: block; padding: 12px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
  .mnav a:active, .mnav a:hover { background: var(--soft); }
  .mnav .btn { margin-top: 12px; }
}
@media (max-width: 1080px) {
  .split, .team { grid-template-columns: 1fr; }
  .team-text { position: static; }
  .grid4.pillars-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid4.pillars-short, .pillars { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
  .masonry figcaption { left: 6px; right: 6px; bottom: 6px; padding: 6px 9px; }
  .masonry figcaption span { display: none; }
  .callout .btn { width: 100%; }
  .table-wrap.pricetable table { min-width: 0; }
  .table-wrap.pricetable tr.group th { border-radius: var(--r-sm); }
  .table-wrap.pricetable td { white-space: normal; }
}

/* v3 fixes */
.hero .keypoints .btn svg { color: currentColor; }
.container.hero-solo { max-width: calc(var(--container) + 48px); }
.container.hero-solo > * { max-width: 780px; }
.team-poles { margin-top: 4px; }
.team-outro { margin-top: 20px; font-size: var(--s-lead); font-weight: 600; max-width: 60ch; }
.call-card { justify-content: flex-end; gap: 12px; }
.call-card .big-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.call-card .big-phone svg { width: 0.8em; height: 0.8em; color: var(--orange); }
@media (max-width: 680px) {
  .header .container { gap: 10px; }
  .burger { flex: 0 0 44px; width: 44px; height: 44px; }
  .brand { min-width: 0; }
  .brand span { min-width: 0; }
  .brand b { font-size: 0.9375rem; }
}
.hero .form { color: var(--ink); }
.hero .form h2 { color: var(--ink); }

/* ================= Home hero v4 : big headline, photo mosaic, floating call card, ticker ================= */
.hero-home { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 5vw, 80px); overflow: hidden; }
.hh-title { font-size: clamp(2.25rem, 1.2rem + 5.6vw, 6.25rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 14ch; text-wrap: balance; }
.hh-title span { display: block; color: var(--orange); white-space: nowrap; }
.hh-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 3.5vw, 48px); }
.hh-text { display: flex; flex-direction: column; gap: 28px; padding-bottom: 6px; }
.hh-text .lead { color: #D9D9D9; max-width: 42ch; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 6px 0 0; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 16px 14px; border-radius: var(--r); background: var(--navy-2); transition: transform 240ms var(--ease), background-color 240ms ease; }
.stats dd { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stats dt { font-size: var(--s-xs); color: #BDBDBD; line-height: 1.35; }
.stats > div::before { content: ""; order: 3; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); margin-bottom: 8px; }
@media (hover: hover) and (pointer: fine) { .stats > div:hover { transform: translateY(-3px); background: #383A3F; } }

.hh-media { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 34vw, 480px); }
.hh-media figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--navy-2); }
.hh-media figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.hh-media .t1 { grid-row: 1 / span 2; }
@media (hover: hover) and (pointer: fine) { .hh-media figure:hover img { transform: scale(1.05); } }

.hh-call { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transition: transform 240ms var(--ease), box-shadow 240ms ease; }
.hh-call .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: var(--ink); flex: 0 0 auto; }
.hh-call .ic svg { width: 20px; height: 20px; }
.hh-call small { display: block; font-size: var(--s-xs); color: var(--ink-2); font-weight: 600; line-height: 1.2; }
.hh-call b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.hh-more { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: var(--s-sm); font-weight: 700; text-decoration: none; transition: background-color 200ms ease, transform 200ms var(--ease); }
.hh-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .hh-call:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4); }
  .hh-more:hover { background: var(--orange); }
  .hh-more:hover svg { transform: translateX(3px); }
}

/* Ticker band in the brand orange */
.ticker { display: flex; overflow: hidden; background: var(--orange); color: var(--ink); }
.ticker-track { display: flex; flex: 0 0 auto; gap: 0; margin: 0; padding: 0; list-style: none; }
.ticker-track li { display: flex; align-items: center; gap: 22px; padding: 16px 0 16px 22px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track li::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-100%); } }
  .js .hh-title { animation: rise 800ms var(--ease) both; }
  .js .hh-text > * { animation: rise 750ms var(--ease) both; }
  .js .hh-text > :nth-child(1) { animation-delay: 120ms; }
  .js .hh-text > :nth-child(2) { animation-delay: 200ms; }
  .js .hh-text > :nth-child(3) { animation-delay: 280ms; }
  .js .hh-media figure { animation: tile 900ms var(--ease) both; }
  .js .hh-media .t1 { animation-delay: 150ms; }
  .js .hh-media .t2 { animation-delay: 260ms; }
  .js .hh-media .t3 { animation-delay: 370ms; }
  .js .hh-call { animation: pop 600ms 650ms var(--ease) both; }
  .js .hh-more { animation: pop 600ms 780ms var(--ease) both; }
  @keyframes tile { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1080px) {
  .hh-grid { grid-template-columns: 1fr; align-items: start; }
  .hh-media { height: clamp(340px, 60vw, 520px); }
}
@media (max-width: 680px) {
  .hh-title { font-size: 9.4vw; }
  .hh-text { gap: 22px; }
  .stats { gap: 8px; }
  .stats > div { padding: 12px 12px 10px; }
  .stats dt { font-size: 0.8125rem; }
  .hh-media { height: 380px; grid-template-columns: 1.1fr 1fr; gap: 8px; }
  .hh-media figure { border-radius: 14px; }
  .hh-call { left: 10px; right: 10px; bottom: 10px; padding: 10px 14px 10px 10px; }
  .hh-call .ic { width: 40px; height: 40px; }
  .hh-more { display: none; }
}
/* hero v4 : fit the first screen */
.hero-home { padding-block: clamp(32px, 3.4vw, 56px) clamp(40px, 4vw, 64px); }
.hh-title { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5.5rem); }
.hh-grid { align-items: center; margin-top: clamp(24px, 2.6vw, 40px); }
.hh-media { height: clamp(340px, 27vw, 420px); }
@media (max-width: 1080px) { .hh-media { height: clamp(340px, 60vw, 520px); } }
@media (max-width: 680px) { .hh-title { font-size: 9.4vw; } .hh-media { height: 380px; } }

/* ================= v5 : conversion ================= */
/* Quote form in three steps */
.qform { position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.qform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.qform legend { padding: 0; margin-bottom: 14px; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.qform legend:focus { outline: none; }
.qf-head { display: flex; flex-direction: column; gap: 10px; }
.qf-progress { display: none; height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.qf-bar { display: block; height: 100%; width: 33%; border-radius: 6px; background: var(--orange); transition: width 400ms var(--ease); }
.qf-count { font-size: var(--s-xs); font-weight: 700; color: var(--orange-text); }
.qform.qf-js .qf-progress { display: block; }
.qform.qf-js .qf-step:not(.is-current) { display: none; }
.qform:not(.qf-js) .qf-nav { display: none; }
.qform.qf-js .qf-step.is-current { animation: stepin 360ms var(--ease) both; }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.qf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qf-tile { position: relative; display: flex; flex-direction: column; border-radius: 14px; background: var(--soft); border: 2px solid transparent; cursor: pointer; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 220ms var(--ease), border-color 160ms ease, box-shadow 220ms ease, background-color 160ms ease; }
.qf-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qf-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.qf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.qf-thumb .blank { display: flex; align-items: center; justify-content: center; height: 100%; padding: 10px; text-align: center; font-size: var(--s-xs); font-weight: 600; color: var(--orange-text); background: var(--blue-soft); }
.qf-name { display: block; padding: 10px 12px 12px; font-size: var(--s-sm); font-weight: 700; line-height: 1.25; }
.qf-tick { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); opacity: 0; transform: scale(0.6); transition: opacity 180ms ease, transform 220ms var(--ease); }
.qf-tick svg { width: 16px; height: 16px; }
.qf-tile:has(input:checked) { border-color: var(--orange); background: #fff; box-shadow: 0 10px 26px rgba(255, 153, 0, 0.25); }
.qf-tile:has(input:checked) .qf-tick { opacity: 1; transform: none; }
.qf-tile:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .qf-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); background: #fff; box-shadow: var(--shadow-hover); }
  .qf-tile:hover .qf-thumb img { transform: scale(1.06); }
}
.qf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform .field label, .qform .flabel { font-size: var(--s-xs); font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: var(--s-sm); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.seg-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .seg-opt:hover input:not(:checked) + span { border-color: var(--ink); } }
.qf-err { padding: 10px 14px; border-radius: var(--r-sm); background: #FDECEC; color: #9B1C1C; font-weight: 600; font-size: var(--s-sm); }
.qf-send { width: 100%; min-height: 58px; }
.qf-send.is-busy { opacity: 0.7; pointer-events: none; }
.qform .fine { font-size: var(--s-xs); color: var(--ink-2); }
.qform .fine a { color: var(--blue); }
.qf-nav { display: flex; justify-content: space-between; gap: 12px; }
.qf-nav .qf-next { margin-left: auto; }
.qf-done, .qf-fail { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 8px 0; }
.qf-done h3, .qf-fail h3 { font-size: var(--s-h3); }
.qf-done h3:focus, .qf-fail h3:focus { outline: none; }
.qf-done p, .qf-fail p { color: var(--ink-2); }
.qf-ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--ink); animation: pop 500ms var(--ease) both; }
.qf-ok svg { width: 28px; height: 28px; }

/* Contact page: form beside the intro, coordinates under the intro */
.contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro form" "coords form"; align-items: start; }
.contact-intro { grid-area: intro; }
.qform-wrap { grid-area: form; min-width: 0; }
.contact-coords { grid-area: coords; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-coords strong { font-size: 1.0625rem; }

/* "Je veux la même" on every photo of a chantier */
.gallery figure, .masonry figure, .split-media { position: relative; }
.same { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: var(--s-sm); font-weight: 800; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); transition: opacity 200ms ease, transform 240ms var(--ease), background-color 160ms ease; }
.same svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .gallery figure .same, .masonry figure .same, .split-media .same { opacity: 0; transform: translateY(-6px); }
  .gallery figure:hover .same, .masonry figure:hover .same, .split-media:hover .same,
  .gallery figure:focus-within .same, .masonry figure:focus-within .same, .split-media:focus-within .same { opacity: 1; transform: none; }
  .same:hover { background: #fff; }
  .same:hover svg { transform: translateX(3px); }
}

/* Prices on the dépannage path */
span.price { align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--blue-soft); color: var(--orange-text); font-size: var(--s-xs); font-weight: 800; }
.section.soft .card .price { background: #FFF1DC; }
.call-card .price-line { font-size: var(--s-sm); font-weight: 600; color: var(--orange); }

/* Home: sectors merged with the map */
.map-info .finder { margin: 0; }
.map-info .finder form { border-radius: var(--r); }
.map-info .finder input { min-height: 54px; font-size: var(--s-body); }
.sector-links a { align-items: center; }
.sector-links a span { display: flex; flex-direction: column; gap: 2px; }
.sector-links small { font-size: var(--s-xs); color: var(--ink-2); font-weight: 500; }
.section.soft .sector-links a { background: #fff; }
.section.soft .map { background: var(--soft-2); }

/* Home: project picker at the end */
.picker-cta { grid-template-columns: 1fr; gap: 28px; }
.picker-cta > div:first-child { max-width: 760px; }
.qf-tiles.picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.picker .qf-tile { background: #fff; }
.picker .qf-name { padding-right: 44px; }
.qf-go { position: absolute; right: 12px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--orange); transition: transform 220ms var(--ease); }
.qf-go svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .picker .qf-tile:hover .qf-go { transform: translateX(3px); } }

/* Sticky action bar on phones */
.mbar { display: none; }
@media (max-width: 680px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, 0.97); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12); }
  .mbar .btn { min-height: 52px; font-size: 1rem; }
  .mbar .btn svg { width: 18px; height: 18px; }
  main[data-page="contact"] ~ .footer .mbar { grid-template-columns: 1fr; }
  main[data-page="contact"] ~ .footer .mbar .devis { display: none; }
}

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "coords"; }
  .qf-tiles.picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .qf-tiles, .qf-tiles.picker { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qf-name { padding: 8px 10px 10px; font-size: 0.875rem; }
  .qf-fields { grid-template-columns: 1fr; }
  .qform { padding: 18px; }
  .contact-coords { grid-template-columns: 1fr; }
  .same { top: 8px; right: 8px; min-height: 34px; padding: 0 10px; font-size: 0.8125rem; }
  .masonry .same { left: 8px; right: auto; }
}
/* buttons inside the white form card that sits on the dark hero */
.hero .qform .btn.secondary { background: var(--soft-2); color: var(--ink); }
.hero .qform .btn.secondary svg { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hero .qform .btn.secondary:hover { background: var(--line); } }
.contact-coords .wide { grid-column: 1 / -1; }
@media (max-width: 1080px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }
.cta > .qf-tiles.picker { display: grid; }

/* ---- v6: original headline second halves, full intro ---- */
.h1-wrap { display: flex; flex-direction: column; gap: 10px; }
.tagline { margin: 0; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--orange-text); text-wrap: balance; }
.hero .tagline { color: var(--orange); }
#ouvrages .head > div { flex: 1 1 620px; }
#ouvrages .head .lead { max-width: 76ch; font-size: 1.0625rem; }

/* ---- v6: one-screen quote form, text chips ---- */
.qf-main { display: flex; flex-direction: column; gap: 20px; }
.qf-main[hidden] { display: none; }
.qf-title { margin: 0; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.qform .qf-group legend { margin-bottom: 10px; font-size: var(--s-xs); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { position: relative; cursor: pointer; }
.pchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pchip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; font-size: var(--s-sm); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.pchip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pchip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pchip:hover input:not(:checked) + span { border-color: var(--ink); transform: translateY(-1px); } }
.qform .seg-opt span { background: #fff; }

/* phones: the sticky bottom bar already carries "Devis gratuit", so the header keeps logo + menu */
@media (max-width: 520px) {
  .header .container > .btn { display: none; }
  .burger { margin-left: auto; }
  .brand { flex: 1 1 auto; }
}

/* ======================================================================
   v7 — finer scale: lighter headings, tighter spacing, sections that fit one desktop screen
   ====================================================================== */
:root {
  --s-xs: 0.8125rem;
  --s-sm: 0.875rem;
  --s-body: 1rem;
  --s-lead: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --s-h3: 1.0625rem;
  --s-h2: clamp(1.75rem, 1.35rem + 1.25vw, 2.375rem);
  --s-h1: clamp(2.125rem, 1.5rem + 2.4vw, 3.375rem);
  --section: clamp(56px, 6vw, 84px);
}
h1 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.lead { line-height: 1.6; max-width: 54ch; }
.head { margin-bottom: clamp(24px, 2.6vw, 36px); gap: 16px 40px; }
.head > div { gap: 10px; max-width: 760px; }
.btn { min-height: 46px; padding: 0 20px; font-size: 0.9375rem; font-weight: 700; }
.btn.lg { min-height: 50px; padding: 0 22px; }
.card { padding: 22px; gap: 8px; }
.card p { font-size: 0.9375rem; line-height: 1.55; }
.card.dark p { font-size: 1rem; }
.section.tight { padding-block: clamp(40px, 4vw, 56px); }
.footer { margin-top: 0; }

/* ---------- Home: compact service grid (8 tiles, one screen) ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; align-items: start; margin-bottom: clamp(24px, 2.6vw, 36px); }
.split-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.split-head .lead { max-width: none; font-size: 1rem; line-height: 1.65; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: var(--soft); overflow: hidden; text-decoration: none; color: inherit; transition: transform 260ms var(--ease), box-shadow 260ms ease, background-color 260ms ease; }
.svc-pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.svc-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 48px 16px 16px; }
.svc h3 { font-size: 1rem; }
.svc-body > span { font-size: var(--s-xs); line-height: 1.45; color: var(--ink-2); }
.svc-go { position: absolute; right: 14px; bottom: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--orange-text); transition: transform 220ms var(--ease), background-color 220ms ease; }
.svc-go svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  a.svc:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-hover); }
  a.svc:hover .svc-pic img { transform: scale(1.05); }
  a.svc:hover .svc-go { background: var(--orange); color: var(--ink); transform: translateX(2px); }
}
.svc-dep { justify-content: space-between; gap: 12px; padding: 18px; background: var(--navy); color: #fff; }
.svc-dep .svc-body { padding: 0; gap: 6px; }
.svc-dep small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.svc-dep h3 { font-size: 1.125rem; }
.svc-dep h3 a { color: #fff; text-decoration: none; }
.svc-dep h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-dep .svc-body > span { color: #CFCFCF; }
.svc-phone { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.svc-phone svg { width: 20px; height: 20px; color: var(--orange); }
.svc-price { font-size: 0.75rem; font-weight: 600; color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .svc-dep:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); } .svc-phone:hover { color: var(--orange); } }
@media (max-width: 1080px) { .split-head { grid-template-columns: 1fr; } .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .svc-grid { gap: 8px; }
  .svc-body { padding: 10px 10px 12px; }
  .svc-body > span { display: none; }
  .svc h3 { font-size: 0.9375rem; }
  .svc-go { display: none; }
  .svc-dep { grid-column: 1 / -1; }
  .svc-dep .svc-body > span { display: block; }
}

/* ---------- Finer sizes on the remaining blocks ---------- */
.gallery { grid-auto-rows: 216px; gap: 12px; }
.gallery.three { grid-auto-rows: 250px; }
.gallery figcaption { padding: 6px 10px; font-size: 0.75rem; }
.quote-card blockquote p { font-size: 1rem; }
.pillars .card { padding: 22px; gap: 8px; }
.pillars .card li { font-size: 0.9375rem; }
th, td { padding: 11px 18px; }
.table-wrap.pricetable tr.group th { padding-block: 8px; }
.field input, .field select, .field textarea { min-height: 44px; padding: 10px 12px; font-size: 0.9375rem; }
.field textarea { min-height: 80px; }
.qform { gap: 14px; padding: clamp(20px, 2.4vw, 28px); }
.qf-main { gap: 14px; }
.qf-fields { gap: 12px; }
.pchip span, .seg-opt span { min-height: 38px; padding: 0 13px; font-size: 0.8125rem; }
.qf-send { min-height: 50px; }
.faq summary { padding: 15px 20px; font-size: 0.9375rem; }
.faq details p { font-size: 0.9375rem; }
.step .note { font-size: 0.8125rem; }
@media (max-width: 1080px) { .gallery { grid-auto-rows: 200px; } }
@media (max-width: 680px) { .gallery { grid-auto-rows: 170px; } .gallery.three { grid-auto-rows: 190px; } }
/* one-screen fit */
:root { --section: clamp(52px, 5vw, 72px); }
.split-head { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split-head .lead { font-size: 0.9375rem; line-height: 1.65; }
.svc-pic { aspect-ratio: 16 / 9; }
.svc-body { padding: 12px 16px 14px; gap: 2px; }
.svc-go { top: 10px; right: 10px; bottom: auto; background: rgba(255, 255, 255, 0.94); }
.page-table th, .page-table td, .table-wrap.pricetable th, .table-wrap.pricetable td { padding-block: 9px; }
.contact-grid { gap: 32px 48px; }
.hero { padding-block: clamp(32px, 3.6vw, 52px) clamp(40px, 4.4vw, 64px); }
.table-wrap.pricetable th, .table-wrap.pricetable td { padding-block: 7px; }
.table-wrap.pricetable tr.group th { padding-block: 7px; }
@media (max-width: 1080px) {
  .split-head { grid-template-columns: 1fr; }
  .svc-grid > .svc:first-child { grid-column: 1 / -1; }
  .svc-grid > .svc:first-child .svc-pic { aspect-ratio: 16 / 7; }
}

/* ---------- Home hero, simple: title, one sentence, two buttons, one photo ---------- */
.hero-s { padding-block: clamp(32px, 4vw, 56px); background: #fff; }
.hs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hs-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-s h1 { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.hero-s h1 > span { display: block; color: #8A8A8A; font-weight: 600; }
.hero-s h1 .nw { color: inherit; }
.hs-lead { max-width: 46ch; font-size: var(--s-lead); line-height: 1.6; color: var(--ink-2); }
.hero-s .btn.secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hero-s .btn.secondary svg { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hero-s .btn.secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); background: #fff; } }
.hs-media { margin: 0; aspect-ratio: 4 / 5; max-height: min(620px, calc(100vh - 190px)); border-radius: 22px; overflow: hidden; background: var(--soft); justify-self: end; width: 100%; }
.hs-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hs-grid { grid-template-columns: 1fr; }
  .hs-media { aspect-ratio: 4 / 3; max-height: none; justify-self: stretch; }
}
@media (max-width: 520px) {
  .hero-s h1 { font-size: 2rem; }
  .hero-s .actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-s .actions .btn { justify-content: center; }
  .hs-media { border-radius: 16px; }
}

/* ---------- Price table: a plain, classic table ---------- */
.table-wrap.pricetable { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; overflow-x: auto; }
.table-wrap.pricetable table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.9375rem; }
.table-wrap.pricetable thead th { background: #F5F5F5; color: var(--ink); font-size: 0.8125rem; font-weight: 700; text-align: right; white-space: nowrap; padding: 12px 18px; border-bottom: 1px solid var(--line-strong); }
.table-wrap.pricetable thead th:first-child { text-align: left; }
.table-wrap.pricetable thead th:nth-child(2) { color: var(--ink); }
.table-wrap.pricetable tbody th[scope="row"] { width: auto; text-align: left; font-weight: 500; color: var(--ink); padding: 10px 18px; }
.table-wrap.pricetable td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; white-space: nowrap; padding: 10px 18px; }
.table-wrap.pricetable td:nth-of-type(1) { color: var(--ink); font-weight: 700; }
.table-wrap.pricetable tr.group th { background: #fff; color: var(--ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 18px 18px 8px; border-top: 1px solid var(--line-strong); }
.table-wrap.pricetable tbody:first-of-type tr.group th { border-top: 0; }
.table-wrap.pricetable tbody tr + tr td, .table-wrap.pricetable tbody tr + tr th { border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .table-wrap.pricetable tbody tr:not(.group):hover { background: #FAFAFA; } }
.table-wrap.pricetable thead th small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
/* phones: the same table, compact (no cards, nothing cut off) */
@media (max-width: 680px) {
  .table-wrap.pricetable { overflow: visible; border-radius: 10px; }
  .table-wrap.pricetable table { display: table; min-width: 0; table-layout: auto; font-size: 0.8125rem; }
  .table-wrap.pricetable thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .table-wrap.pricetable tbody { display: table-row-group; }
  .table-wrap.pricetable tr { display: table-row; }
  .table-wrap.pricetable th, .table-wrap.pricetable td { display: table-cell; }
  .table-wrap.pricetable thead th { padding: 10px 6px; font-size: 0.6875rem; line-height: 1.25; white-space: normal; }
  .table-wrap.pricetable thead th:first-child { padding-left: 12px; }
  .table-wrap.pricetable thead th:last-child, .table-wrap.pricetable td:last-child { padding-right: 12px; }
  .table-wrap.pricetable thead th small { font-size: 0.625rem; }
  .table-wrap.pricetable tbody th[scope="row"] { padding: 9px 6px 9px 12px; font-size: 0.8125rem; line-height: 1.35; font-weight: 500; }
  .table-wrap.pricetable td { padding: 9px 6px; font-size: 0.8125rem; white-space: nowrap; }
  .table-wrap.pricetable td::before { content: none; }
  .table-wrap.pricetable td .cur { display: none; }
  .table-wrap.pricetable tr.group th { padding: 14px 12px 6px; font-size: 0.6875rem; }
}
.table-wrap.pricetable thead .sm { display: none; }
@media (max-width: 680px) {
  .table-wrap.pricetable thead .lg { display: none; }
  .table-wrap.pricetable thead .sm { display: inline; }
  .table-wrap.pricetable thead th small { white-space: nowrap; }
  .table-wrap.pricetable thead th:nth-child(2) small { white-space: normal; }
}

/* ---------- Home hero: higher contrast, calmer type ---------- */
.hero-s { padding-block: clamp(36px, 4.4vw, 64px); }
.hs-text { gap: 22px; }
.hero-s h1 { font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.125rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.022em; color: var(--ink); }
.hero-s h1 > span { margin-top: 6px; color: var(--ink); font-weight: 500; font-size: 0.72em; letter-spacing: -0.01em; line-height: 1.2; }
.hs-lead { max-width: 44ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: #2B2B2B; }
.hero-s .actions { margin-top: 4px; }
@media (max-width: 520px) { .hero-s h1 { font-size: 2rem; } .hero-s h1 > span { font-size: 0.7em; } }

/* ---------- Home hero: larger photo reaching the screen edge, several photos in turn ---------- */
.hero-s { overflow-x: clip; }
.hs-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.hs-slider { position: relative; width: auto; aspect-ratio: auto; height: clamp(440px, calc(100vh - 220px), 640px); max-height: none; margin-right: calc(-1 * max(24px, (100vw - 1200px) / 2)); justify-self: stretch; border-radius: 24px 0 0 24px; overflow: hidden; background: var(--soft); isolation: isolate; }
.hs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1100ms ease; }
.hs-slide.is-on { opacity: 1; z-index: 1; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7000ms linear; }
.hs-slide.is-on img { transform: scale(1); }
.hs-slider::after { content: ""; position: absolute; inset: auto 0 0 0; height: 96px; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0)); }
.hs-dots { position: absolute; left: 24px; bottom: 20px; z-index: 3; display: flex; gap: 6px; }
.hs-dots button { display: grid; align-items: center; width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dots span { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.45); overflow: hidden; }
.hs-dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hs-dots button[aria-current] span::after { transform: scaleX(1); }
.hs-slider.run .hs-dots button[aria-current] span::after { animation: hs-fill var(--hs-delay, 5000ms) linear both; }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .hs-dots button:hover span { background: rgba(255, 255, 255, 0.75); } }
@media (prefers-reduced-motion: reduce) { .hs-slide, .hs-slide img { transition: none; transform: none; } }
@media (max-width: 860px) {
  .hs-slider { height: auto; aspect-ratio: 4 / 3; margin-right: 0; border-radius: 16px; }
  .hs-dots { left: 16px; bottom: 12px; }
}
@media (max-width: 860px) { .hs-grid { grid-template-columns: 1fr; } }
/* slideshow v2: quicker, no zoom effect */
.hs-slide { transition: opacity 800ms ease; }
.hs-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-slide img, .hs-slide.is-on img { transform: none; transition: none; }

/* ======================================================================
   2026-11-12 — hero photo kept inside the page width, 7 home tiles, tariff page
   ====================================================================== */
/* Hero slideshow: inside the container, all corners rounded (nothing reaches the screen edge) */
.hs-slider { margin-right: 0; border-radius: 22px; }
@media (max-width: 860px) { .hs-slider { border-radius: 16px; } }

/* Home services: 6 photo tiles + the dépannage tile over two columns */
.svc-grid > .svc-dep { grid-column: span 2; }
@media (max-width: 1080px) {
  .svc-grid > .svc:first-child { grid-column: auto; }
  .svc-grid > .svc:first-child .svc-pic { aspect-ratio: 16 / 9; }
  .svc-grid > .svc-dep { grid-column: 1 / -1; }
}

/* Tariff page: hours card in the hero */
.hours-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22); }
.hours-card h2 { font-size: 1.125rem; color: var(--ink); }
.hours { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.hours li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time rate" "label rate"; align-items: center; column-gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.hours li:first-child { border-top: 0; padding-top: 4px; }
.h-time { grid-area: time; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.h-label { grid-area: label; font-size: var(--s-sm); color: var(--ink-2); }
.h-rate { grid-area: rate; justify-self: end; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 0.875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.h-rate.up { background: var(--blue-soft); color: var(--orange-text); }
.h-rate.up2 { background: var(--orange); color: var(--ink); }
.hours-card > p { font-size: var(--s-sm); color: var(--ink-2); }

/* Tariff page: travel package */
.travel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-bottom: clamp(40px, 4.4vw, 56px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.travel-main { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(24px, 3vw, 36px); background: var(--blue-soft); }
.travel-main h2 { font-size: 1.125rem; color: var(--orange-text); }
.travel-price { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.travel-price .num { font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.travel-main > p:last-child { color: var(--ink-2); }
.travel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.travel-grid > div { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(20px, 2.4vw, 28px); border-left: 1px solid var(--line); }
.travel-grid dt { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.travel-grid dt small { display: block; margin-top: 2px; font-size: var(--s-xs); font-weight: 500; color: var(--ink-2); }
.travel-grid dd { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.travel-grid dd.sub { font-size: var(--s-xs); font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .travel { grid-template-columns: 1fr; }
  .travel-grid > div:first-child { border-left: 0; }
  .travel-grid { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .travel-grid { grid-template-columns: 1fr; }
  .travel-grid > div { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; border-left: 0; border-top: 1px solid var(--line); padding: 14px 20px; }
  .travel-grid > div:first-child { border-top: 0; }
  .travel-grid dd { font-size: 1.25rem; }
  .travel-grid dd.sub { flex-basis: 100%; }
}
@media (max-width: 680px) { .table-wrap.pricetable thead th small { white-space: normal; } }
.travel { margin-bottom: 0; }
@media (max-width: 680px) { .table-wrap.pricetable thead small.lg { display: none; } .table-wrap.pricetable thead th small { white-space: nowrap; } }

/* 2026-11-12 (b) : bandeau du haut retiré, ombre de l'en-tête visible dès le chargement */
.header, .header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 34, 51, 0.10); }
/* Logo complet dans l'en-tête (même logo que le pied de page, disposé en largeur) */
.brand img.logo-h { width: auto; height: 46px; }
@media (hover: hover) and (pointer: fine) { .brand:hover img.logo-h { transform: none; } }
@media (max-width: 1080px) { .brand img.logo-h { height: 40px; } }
@media (max-width: 420px) { .brand img.logo-h { height: 34px; } }

/* ==========================================================================
   Thème WordPress : compléments
   ========================================================================== */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.checks li > span { min-width: 0; }
.split.reverse .split-media { order: -1; }
@media (max-width: 1080px) { .split.reverse .split-media { order: 0; } }
.legal-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.lien-cookies { border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.lien-cookies:hover { color: var(--blue); }
.footer .about .social + .social { margin-top: -8px; }
a.chip-btn { display: inline-flex; align-items: center; text-decoration: none; }
a.chip-btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Bandeau d'accord (cookies) */
.cookies { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; padding: 20px 22px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(15, 34, 51, 0.22), 0 0 0 1px var(--line); display: grid; gap: 14px; font-size: var(--s-sm); line-height: 1.5; }
.cookies a { color: var(--blue); font-weight: 600; }
.cookies-choix { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookies-choix .btn { min-height: 44px; }
@media (max-width: 860px) { .cookies { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* Contenu libre (blocs standards de WordPress) et pages simples */
.cg-libre { padding-block: clamp(40px, 5vw, 72px); }
.cg-libre + .cg-libre { padding-top: 0; }
.cg-prose { max-width: 760px; margin-inline: auto; color: var(--ink-2); font-size: var(--s-body); line-height: 1.7; }
.cg-prose > * + * { margin-top: 1.1em; }
.cg-prose h2 { color: var(--ink); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); margin-top: 1.8em; }
.cg-prose h3 { color: var(--ink); font-size: var(--s-h3); margin-top: 1.6em; }
.cg-prose h4 { color: var(--ink); font-size: 1.0625rem; margin-top: 1.4em; }
.cg-prose > :first-child { margin-top: 0; }
.cg-prose strong { color: var(--ink); }
.cg-prose a { color: var(--blue); font-weight: 600; }
.cg-prose a:hover { color: var(--blue-press); }
.cg-prose ul, .cg-prose ol { padding-left: 1.3em; }
.cg-prose ul { list-style: disc; }
.cg-prose ol { list-style: decimal; }
.cg-prose li + li { margin-top: 0.4em; }
.cg-prose li::marker { color: var(--orange-text); }
.cg-prose img { height: auto; border-radius: var(--r); }
.cg-prose figure { margin-block: 1.6em; }
.cg-prose figcaption, .cg-prose .wp-element-caption { margin-top: 8px; font-size: var(--s-xs); color: var(--ink-2); text-align: center; }
.cg-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); color: var(--ink); font-size: var(--s-lead); }
.cg-prose blockquote cite { display: block; margin-top: 8px; font-size: var(--s-sm); font-style: normal; color: var(--ink-2); }
.cg-prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.2em; }
.cg-prose table { width: 100%; border-collapse: collapse; font-size: var(--s-sm); }
.cg-prose th, .cg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cg-prose th { color: var(--ink); }
.cg-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none; }
.cg-prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.cg-prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.cg-prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.cg-prose .wp-block-image.aligncenter, .cg-prose .aligncenter { margin-inline: auto; text-align: center; }
.cg-prose .alignwide, .cg-prose .alignfull { max-width: none; }
.cg-prose .wp-block-embed iframe, .cg-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.cg-prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cg-prose .wp-block-gallery figure { margin: 0; }
.cg-prose .wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cg-prose .has-text-align-center { text-align: center; }
.cg-carton { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); max-width: 860px; margin-inline: 0; }
.cg-carton h2 { font-size: var(--s-h3); margin-top: 1.8em; }

/* Actualités */
.actu-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.actu-carte { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 260ms var(--ease), box-shadow 260ms ease; }
.section:not(.soft) .actu-carte { background: var(--soft); border-color: transparent; }
.actu-carte.grande { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.actu-image { position: relative; aspect-ratio: 16 / 10; background: var(--soft-2); overflow: hidden; }
.actu-carte.grande .actu-image { aspect-ratio: 4 / 3; max-height: 480px; width: 100%; }
.actu-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.actu-sans-image { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #2E2F33, #202124); }
.actu-sans-image img { width: 56px; height: auto; opacity: 0.9; }
.actu-corps { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.actu-carte.grande .actu-corps { justify-content: center; padding: clamp(28px, 4vw, 48px); gap: 14px; }
.actu-carte h3 { font-size: 1.1875rem; }
.actu-carte.grande h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.actu-carte h3 a { text-decoration: none; }
.actu-carte h3 a::after { content: ""; position: absolute; inset: 0; }
.actu-carte p { color: var(--ink-2); font-size: var(--s-sm); }
.actu-carte .arrow-link { margin-top: auto; padding-top: 6px; font-size: var(--s-sm); }
.actu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--s-xs); color: var(--ink-2); }
.actu-cat { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--orange-text); font-weight: 700; text-decoration: none; position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .actu-carte:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .actu-carte:hover .actu-image img { transform: scale(1.04); }
}
.actu-carte:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.actu-carte h3 a:focus-visible { outline: none; }
.actu-filtres { margin-bottom: 28px; }
.actu-vide { padding: 40px; border-radius: var(--r); background: #fff; text-align: center; color: var(--ink-2); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.actu-tete .container { max-width: calc(860px + 48px); display: flex; flex-direction: column; gap: 18px; }
.actu-tete h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
.actu-une { max-width: calc(1040px + 48px); margin-top: clamp(28px, 3.5vw, 48px); margin-bottom: clamp(32px, 4vw, 56px); }
.hero .actu-meta { color: #BDBDBD; }
.hero .actu-cat { background: var(--orange); color: var(--ink); }
.actu-une img { width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); }
.actu-une figcaption { margin-top: 8px; font-size: var(--s-xs); color: var(--ink-2); text-align: center; }
.actu-texte { margin-bottom: 40px; }
.actu-partage { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: var(--s-sm); }
.actu-partage span { font-weight: 700; }
.actu-partage a { color: var(--blue); font-weight: 600; }
@media (max-width: 1080px) {
  .actu-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actu-carte.grande { grid-template-columns: 1fr; }
  .actu-carte.grande .actu-image { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) { .actu-grille { grid-template-columns: 1fr; } }
/* Menu mobile : liens sur toute la largeur, alignés à gauche (zones de toucher plus grandes) */
.mnav .container { align-items: stretch; }

/* ==========================================================================
   Version sombre (2026-11-12) : galeries en vitrine, animations au défilement
   ========================================================================== */
:root {
  --night: #141517;
  --logo-orange: #D9680B;
}

/* Accueil : suite du titre en orange */
.hero-s h1 > span { color: var(--logo-orange); }

.section.dark.night { background-color: var(--night); }

/* Réalisations en vitrine : photos un peu assombries au repos, éclairées au survol */
.gal-dark .lead { color: #BDBDBD; }
.gal-dark .arrow-link { color: var(--orange); }
.gal-dark .gallery figure, .gal-dark .masonry figure { background: #232428; }
.gal-dark .chip-btn { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.gal-dark .chip-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .gal-dark .chip-btn:hover { border-color: #fff; }
  .gal-dark .gallery img, .gal-dark .masonry img { filter: brightness(0.8) saturate(0.92); transition: filter 600ms var(--ease), transform 900ms var(--ease); }
  .gal-dark .gallery figure:hover img, .gal-dark .masonry figure:hover img,
  .gal-dark .gallery figure:focus-within img, .gal-dark .masonry figure:focus-within img { filter: none; transform: scale(1.02); }
  .gal-dark .gallery figcaption, .gal-dark .masonry figcaption { transform: translateY(6px); opacity: 0.92; transition: transform 380ms var(--ease), opacity 380ms ease, box-shadow 380ms ease; }
  .gal-dark .gallery figure:hover figcaption, .gal-dark .masonry figure:hover figcaption { transform: translateY(-4px); opacity: 1; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 3px 0 0 var(--orange); }
}

/* Titres de section : trait orange qui se dessine, lignes qui montent une à une */
.head h2::after, .faq-head h2::after, .split-head h2::after, .split-text h2::after, .prose-grid h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--orange); transform-origin: left;
}
.head.center h2::after { margin-inline: auto; transform-origin: center; }
.h2-lignes .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h2-lignes .ln > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .pending h2::after { transform: scaleX(0); }
  .js .revealed h2::after { transform: scaleX(1); transition: transform 800ms var(--ease) calc(var(--d, 0ms) + 380ms); }
  .js .pending .h2-lignes .ln > span { transform: translateY(105%); }
  .js .revealed .h2-lignes .ln > span { transform: none; transition: transform 760ms var(--ease) calc(var(--d, 0ms) + var(--i, 0) * 110ms); }
}

/* Étapes reliées par une ligne qui se remplit au défilement */
.steps-rail { display: none; }
.js .steps-rail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: 22px; margin-bottom: 18px; }
.js .steps-rail::before, .js .rail-fill { content: ""; position: absolute; top: 50%; left: calc((100% - 32px) / 6); height: 3px; border-radius: 3px; transform: translateY(-50%); }
.js .steps-rail::before { right: calc((100% - 32px) / 6); background: var(--line); }
.js .rail-fill { width: calc((100% - (100% - 32px) / 3) * var(--p, 0)); background: var(--orange); }
.steps-rail i { position: relative; z-index: 1; justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--line-strong); transition: border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.steps-rail i.on { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 7px rgba(255, 153, 0, 0.18); }
.steps .step { transition: border-color 400ms ease, box-shadow 400ms ease, transform 260ms var(--ease); }
.steps .step.lit { border-color: var(--orange); box-shadow: 0 16px 40px -18px rgba(255, 136, 0, 0.45); }
.steps .step .badge { transition: background-color 400ms ease, color 400ms ease; }
.steps .step.lit .badge { background: var(--orange); color: var(--ink); }
@media (max-width: 680px) { .js .steps-rail { display: none; } }

/* Chiffres qui défilent jusqu'à leur valeur */
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; border-radius: var(--r-lg); background-color: var(--night); color: #fff; overflow: hidden; }
.chiffres > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.8vw, 32px); }
.chiffres > div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.chiffres dd { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--orange); }
.chiffres dt { font-size: var(--s-sm); color: #BDBDBD; font-weight: 600; }
@media (max-width: 680px) { .chiffres { grid-template-columns: 1fr; } .chiffres > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 14px 20px; } .chiffres > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } .chiffres dd { font-size: 1.75rem; min-width: 3.6ch; } }

/* Halo orange qui suit le curseur sur les blocs sombres */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 350ms ease;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 153, 0, 0.2), rgba(255, 153, 0, 0) 70%); }
.glow:hover::before { opacity: 1; }

/* Reflet lumineux sur les boutons */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:not(.secondary):not(.ghost) { position: relative; overflow: hidden; isolation: isolate; }
  .btn:not(.secondary):not(.ghost)::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); transform: skewX(-18deg); transition: left 0s; }
  .btn:not(.secondary):not(.ghost):hover::after { left: 130%; transition: left 750ms var(--ease); }
}

/* Dépannage en « mode nuit » : fond plus profond, pastille « Disponible maintenant » */
.lockband.night { background-color: var(--night); background-image: radial-gradient(ellipse at 88% -10%, rgba(255, 153, 0, 0.22), rgba(255, 153, 0, 0) 55%); }
.live { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; width: fit-content; margin-bottom: 10px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(46, 204, 113, 0.14); color: #8EE6A8; font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.live i, .svc-dep .dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; flex: 0 0 auto; }
.svc-dep .dot { margin-right: 8px; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .live i::after, .svc-dep .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ECC71; animation: pouls 2s ease-out infinite; }
}
@keyframes pouls { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }
.hero .keypoints .live { margin-bottom: -6px; }

/* Tarif dépannage : plage horaire en cours */
.now-line { display: flex; align-items: center; gap: 10px; margin: -4px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--night); color: #fff; font-size: var(--s-sm); font-weight: 700; }
.now-line i { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) { .now-line i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: pouls 2s ease-out infinite; } }
.hours li.now { margin-inline: -12px; padding-inline: 12px; border-radius: 12px; border-top-color: transparent; background: #FFF4E3; }
.hours li.now + li { border-top-color: transparent; }
.hours li.now .h-time { color: var(--orange-text); }
.travel .now { box-shadow: inset 0 0 0 2px var(--orange); border-radius: var(--r); }
.table-wrap.pricetable .now { background: #FFF6E8; }
.table-wrap.pricetable thead th.now { background: var(--orange); color: var(--ink); }
.table-wrap.pricetable thead th.now small { color: var(--ink); }

/* Carte des secteurs en version sombre */
.map { background: #1B1C1F; }
.map .leaflet-container { background: #1B1C1F; }
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.92) contrast(0.88); }
.map-fallback { background-color: #1B1C1F; color: #fff; }
.map-fallback p { color: #BDBDBD; }
.leaflet-tooltip.map-label.base { background: var(--orange); color: var(--ink); }
.map .leaflet-control-attribution { background: rgba(20, 21, 23, 0.8); color: #BDBDBD; }
.map .leaflet-control-attribution a { color: #fff; }

/* Pied de page sombre (logo en version claire) */
.footer { background-color: var(--night); color: #fff; }
.footer .about p { color: #BDBDBD; }
.footer h2 { color: #fff; }
.footer li { color: #CFCFCF; }
.footer li a { color: #CFCFCF; }
.footer .social { color: var(--orange); }
.footer .num { color: #fff; }
@media (hover: hover) and (pointer: fine) { .footer li a:hover, .footer .social:hover { color: var(--orange); } }
.footer :focus-visible { outline-color: #fff; }
.legal { background: #0E0F10; }
.legal .container { color: #9A9A9A; }
.legal a:hover { color: var(--orange); }
.gal-dark figcaption { color: var(--ink); }
.gal-dark .masonry figcaption span { color: var(--ink-2); }
.hours-card > .now-line { color: #fff; }

