/*
Theme Name: Le Carour Paysage — version A (atelier paysage)
Description: Proposition A : un atelier de paysage contemporain, dans l'esprit de Sauvaje et OKRA. Fond papier clair, olive profond et sauge, une seule grotesque moderne (Instrument Sans), grands titres éditoriaux, photos pleine largeur, angles droits.
Author: Axo-Lab
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.3
Text Domain: carour
*/

:root {
  --bg: #f4f1e9;
  --surface: #e3e5d6;
  --surface-2: #d7dbc6;
  --ink: #232a1e;
  --soft: #3a4234;
  --muted: #5b6352;
  --olive: #3d4a2f;
  --olive-dark: #2c3622;
  --olive-ink: #f4f1e9;
  --accent: #6e7d4f;
  --line: rgb(35 42 30 / 0.16);
  --map-accent: #3d4a2f;

  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-head: clamp(2.25rem, 1.5rem + 2.8vw, 4rem);
  --step-display: clamp(3rem, 1.4rem + 6vw, 7rem);

  --wrap: 1320px;
  --margin: clamp(1.25rem, 3.5vw, 3rem);
  --section: clamp(5rem, 9vw, 9rem);
  --bar: 80px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--text); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
figure.wp-block-image { margin: 0; }
a { color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
::selection { background: var(--surface-2); }
:target { scroll-margin-top: calc(var(--bar) + 1rem); }
a[href^="tel:"] { white-space: nowrap; }

.label { font-size: var(--step-small); font-weight: 500; color: var(--muted); }

.h-hero, .h-facts, .h-services, .h-works, .h-steps, .faq, .h-zone,
.page-hero, .split, .text-block, .cards-wrap, .steps-wrap, .works-wrap, .tax, .facts, .example, .zone-wrap, .contact-grid, .contact-map, .prose, .band, .ticks, .note {
  width: min(100% - 2 * var(--margin), var(--wrap)); margin-inline: auto;
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 1.75rem; border: 1px solid var(--olive); border-radius: 2px; cursor: pointer;
  background: var(--olive); color: var(--olive-ink);
  font: 600 1rem / 1 var(--text); text-decoration: none;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.button:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.button.is-ghost { background: transparent; color: var(--ink); border-color: rgb(35 42 30 / 0.4); }
.button.is-ghost:hover { border-color: var(--olive); background: var(--olive); color: var(--olive-ink); }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.text-link::after { content: "→"; transition: transform 300ms var(--ease-out); }
.text-link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem 1.5rem; }
.actions.is-centered { justify-content: center; }

/* ---------- barre ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(244 241 233 / 0.96); }
.bar { display: flex; align-items: center; gap: 2rem; height: var(--bar); width: min(100% - 2 * var(--margin), var(--wrap)); margin-inline: auto; }
.wordmark { font: 500 1.25rem / 1 var(--text); letter-spacing: -0.01em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.wordmark span { font-weight: 700; }
.bar-nav { display: flex; gap: 1.6rem; font-size: 0.9375rem; font-weight: 500; }
.bar-nav a { white-space: nowrap; text-decoration: none; padding: 0.4rem 0; color: var(--soft); text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.bar-nav a:hover, .bar-nav a[aria-current="page"] { text-decoration: underline; color: var(--ink); }
.bar-book { min-height: 44px; padding: 0 1.25rem; font-size: 0.9375rem; }
.bar-nav-tel, .bar-toggle { display: none; }

/* ---------- accueil : grand titre, puis la photo pleine largeur ---------- */
.h-hero { display: grid; grid-template-columns: 7fr 4fr; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.h-hero h1 { grid-column: 1 / -1; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.04em; }
.h-hero-side { grid-column: 2; }
.h-lead { font-size: 1.125rem; line-height: 1.6; color: var(--soft); max-width: 30rem; }
.h-hero .actions { margin-top: 1.75rem; }
.h-hero-pic { width: min(100%, 1920px); margin-inline: auto; aspect-ratio: 21 / 9; overflow: hidden; }
.h-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

.h-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: clamp(3rem, 6vw, 5rem); }
.h-fact { font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--olive); }
.h-facts p:not(.h-fact) { margin-top: 0.75rem; color: var(--muted); font-size: 1rem; max-width: 16rem; }

.h-title { font-size: var(--step-head); }
.h-title.is-small { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.h-services, .h-works, .h-steps { padding-top: var(--section); }
.h-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.h-tile .h-pic { aspect-ratio: 4 / 3; overflow: hidden; }
.h-tile .h-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.h-tile:hover .h-pic img { transform: scale(1.03); }
.h-tile .label { margin-top: 1.5rem; }
.h-tile h3 { margin-top: 0.5rem; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.h-tile h3 a { text-decoration: none; }
.h-tile h3 a:hover { color: var(--accent); }
.h-links { list-style: none; padding: 0; margin-top: 1.5rem; }
.h-links li { border-top: 1px solid var(--line); }
.h-links li:last-child { border-bottom: 1px solid var(--line); }
.h-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 0; font-weight: 500; text-decoration: none; transition: padding 300ms var(--ease-out), color 200ms var(--ease-out); }
.h-links a::after { content: "→"; color: var(--accent); }
.h-links a:hover { padding-left: 0.5rem; color: var(--olive); }

.h-tax { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: var(--section); padding: clamp(3.5rem, 7vw, 6rem) max(var(--margin), calc((100vw - var(--wrap)) / 2)); background: var(--olive); color: var(--olive-ink); }
.h-tax-figure { font-size: clamp(4.5rem, 2.5rem + 7vw, 10rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.h-tax h2 { font-size: var(--step-head); }
.h-tax p:not(.actions):not(.h-tax-figure) { margin-top: 1.25rem; max-width: 40rem; color: rgb(244 241 233 / 0.85); }
.h-tax .actions { margin-top: 1.75rem; }
.h-tax .text-link { color: var(--olive-ink); }

.h-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.h-works .works { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- réalisations ---------- */
.works { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.5rem; }
.work-pic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.work-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.work:hover .work-pic img { transform: scale(1.03); }
.work-meta { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.work-title { margin-top: 0.3rem; font-size: 1.375rem; letter-spacing: -0.015em; }
.work-text { margin-top: 0.5rem; color: var(--muted); font-size: 1rem; }
.works-wrap { padding-top: var(--section); }
.works-wrap > h2 { font-size: var(--step-head); }
.works-wrap .works { margin-top: 2.5rem; }
.works-wrap .actions { margin-top: 2.5rem; }
.works-wrap.is-page { padding-top: 3.5rem; }

/* ---------- étapes, sur un aplat sauge ---------- */
.steps { list-style: none; padding: clamp(2rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; background: var(--surface); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 0.9375rem; font-weight: 600; color: var(--accent); }
.steps h3 { margin-top: 1rem; font-size: 1.375rem; }
.steps p { margin-top: 0.5rem; color: var(--muted); font-size: 1rem; }
.steps-wrap { padding-top: var(--section); }
.steps-wrap > h2 { font-size: var(--step-head); margin-top: 0.75rem; }

/* ---------- questions fréquentes ---------- */
.faq { padding-top: var(--section); }
.faq-acc { display: grid; grid-template-columns: 4fr 7fr; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-acc-title { font-size: var(--step-head); }
.faq-acc-list { border-top: 1px solid var(--line); }
.faq-acc details { border-bottom: 1px solid var(--line); }
.faq-acc summary { position: relative; display: flex; align-items: center; min-height: 68px; padding: 1rem 3rem 1rem 0; font-size: 1.125rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::before, .faq-acc summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 14px; height: 1.5px; background: var(--olive); transition: transform 300ms var(--ease-out); }
.faq-acc summary::after { transform: rotate(90deg); }
.faq-acc details[open] summary::after { transform: rotate(0deg); }
.faq-acc details p { padding: 0 3rem 1.5rem 0; max-width: 62ch; color: var(--muted); }

/* ---------- zone et carte ---------- */
.h-zone, .zone-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: var(--section); }
.zone-col h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.h-zone-text > p { margin-top: 1.25rem; color: var(--muted); }
.zone { margin-top: 2rem; }
.zone label { display: block; font-size: var(--step-small); font-weight: 600; }
.zone-row { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.zone input { flex: 1; min-width: 0; min-height: 54px; padding: 0 1rem; border: 1px solid rgb(35 42 30 / 0.3); border-radius: 2px; background: #fbfaf6; color: var(--ink); font: inherit; }
.zone input:focus { outline: 2px solid var(--olive); outline-offset: 0; }
.zone-answer { margin-top: 0.9rem; color: var(--muted); font-size: 0.9375rem; min-height: 3em; }
.zone-answer.is-yes { color: var(--olive); font-weight: 600; }
.towns { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; }
.towns a { text-underline-offset: 0.25em; text-decoration-color: var(--line); }
.towns a:hover { color: var(--olive); text-decoration-color: currentColor; }
.plan-map { position: relative; z-index: 0; width: 100%; aspect-ratio: 4 / 3; background: var(--surface); }
.plan-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.plan .leaflet-container { background: var(--surface); font-family: var(--text); }
.plan .leaflet-tile-pane { filter: grayscale(0.85) sepia(0.25) brightness(1.02) contrast(0.92); }
.plan .leaflet-bar { border: 0; box-shadow: none; }
.plan .leaflet-bar a { background: var(--bg); color: var(--ink); border-bottom-color: var(--surface); font: 600 1.25rem / 30px var(--text); }
.plan-pin span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--olive); outline: 5px solid rgb(61 74 47 / 0.25); }
.plan-pin b { position: absolute; left: 22px; top: -5px; padding: 0.15rem 0.55rem; background: var(--olive); color: var(--olive-ink); font: 600 0.875rem / 1.5 var(--text); white-space: nowrap; }
.plan figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
.plan-legend { display: inline-flex; align-items: center; gap: 0.5rem; }
.plan-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.plan-legend i.is-care { background: rgb(61 74 47 / 0.35); }
.plan-legend i.is-build { margin-left: 0.75rem; border: 1.5px dashed var(--olive); }

/* ---------- pages intérieures ---------- */
.crumbs { font-size: var(--step-small); color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; padding-top: clamp(3rem, 6vw, 5rem); }
.page-hero .label { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.page-hero .lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.6; color: var(--soft); }
.page-hero .actions { margin-top: 2rem; }
.page-hero .actions:empty { display: none; }
.page-hero-pic { aspect-ratio: 4 / 5; overflow: hidden; }
.page-hero-pic img, .split-pic img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.is-short { display: block; padding-top: clamp(3.5rem, 7vw, 6rem); }
.page-hero.is-short .lead { max-width: 46rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: var(--section); }
.split-pic { aspect-ratio: 5 / 4; overflow: hidden; }
.split.is-reverse .split-pic { order: 2; }
.split h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); margin: 0.75rem 0 1.25rem; }
.split p:not(.label) { color: var(--soft); max-width: 34rem; }
.split p + p { margin-top: 1rem; }

.text-block { max-width: 860px; padding-top: var(--section); }
.text-block h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); margin: 0.75rem 0 1.25rem; }
.text-block > p:not(.label) { color: var(--soft); }
.text-block > p + p, .text-block > ul + p { margin-top: 1rem; }
.text-block > ul { margin-bottom: 1rem; }

.cards-wrap { padding-top: var(--section); }
.cards-wrap > h2 { font-size: var(--step-head); margin-top: 0.75rem; }
.cards-intro { margin-top: 1rem; max-width: 44rem; color: var(--muted); }
.cards { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { position: relative; padding: 2rem 1.75rem; background: var(--bg); transition: background-color 300ms var(--ease-out); }
.card:hover { background: var(--surface); }
.card h3 { font-size: 1.375rem; }
.card h3 a { text-decoration: none; }
.card h3 a::before { content: ""; position: absolute; inset: 0; }
.card h3 a::after { content: " →"; color: var(--accent); }
.card p { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }

.ticks { list-style: none; padding: 2.5rem 0 0; max-width: 860px; display: grid; gap: 0.75rem; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.note { max-width: 860px; padding-top: 2.5rem; color: var(--muted); font-size: 1rem; }
.note a { color: var(--olive); font-weight: 600; }

.tax { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: var(--section); padding: clamp(2.5rem, 5vw, 4rem); background: var(--olive); color: var(--olive-ink); }
.tax-figure { font-size: clamp(3.5rem, 2.5rem + 3.5vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.tax-text h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.tax-text p { margin-top: 1rem; max-width: 44rem; color: rgb(244 241 233 / 0.85); }
.tax-text strong { color: var(--olive-ink); }
.tax .text-link { color: var(--olive-ink); }

.facts { padding-top: var(--section); }
.facts ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.facts strong { display: block; font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--olive); }
.facts span { display: block; margin-top: 0.75rem; color: var(--muted); font-size: 1rem; }

.example { max-width: 860px; padding-top: var(--section); }
.example h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); margin: 0.75rem 0 1.75rem; }
.example dl { padding: 0.5rem 2rem; background: var(--surface); }
.example dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.example dl > div:last-child { border-bottom: 0; }
.example dd { font-size: 1.375rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.example .total dt, .example .total dd { color: var(--olive); font-weight: 600; }
.example .total dd { font-size: 1.875rem; }
.example .note { padding-top: 1.25rem; width: auto; }

.band { margin-top: var(--section); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); background: var(--surface); display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; align-items: end; }
.band h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); grid-column: 1; }
.band p:not(.actions) { grid-column: 1; color: var(--muted); max-width: 40rem; }
.band .actions { grid-column: 2; grid-row: 1 / 3; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: var(--section); }
.form-section > h2, .contact-card h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 1.75rem; }
.contact-card { padding: 2.25rem; background: var(--surface); }
.contact-card p { color: var(--soft); }
.contact-card p + p { margin-top: 1rem; }
.contact-card a:not(.text-link) { font-weight: 600; text-decoration: none; }
.contact-map { padding-top: var(--section); }
.contact-map .plan-map { aspect-ratio: 21 / 8; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; }
.form .is-wide, .form .field.is-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.9375rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 0.75rem 1rem; border: 1px solid rgb(35 42 30 / 0.3); border-radius: 2px; background: #fbfaf6; color: var(--ink); font: inherit; }
.field input[type="file"] { border-style: dashed; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--olive); outline-offset: 0; }
.form-note { color: var(--muted); font-size: var(--step-small); }
.form-hp { position: absolute; left: -9999px; }
.form-alert { margin-bottom: 1.75rem; padding: 1rem 1.25rem; background: var(--surface); }
.form-alert.is-error { background: #f1dcd2; }

.prose { max-width: 760px; padding-top: clamp(4rem, 8vw, 7rem); }
.prose h1 { font-size: var(--step-head); margin-bottom: 2rem; }
.prose h2 { font-size: 1.375rem; margin: 2.5rem 0 0.75rem; }
.prose p { color: var(--soft); }

/* ---------- pied de page : bas, fond olive uni ---------- */
.footer { margin-top: var(--section); padding: clamp(3rem, 5vw, 4rem) var(--margin) 1.5rem; background: var(--olive-dark); color: var(--olive-ink); }
.footer-top { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 2.5rem; align-items: start; width: min(100%, var(--wrap)); margin-inline: auto; }
.footer-name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.footer-id p:not(.footer-name) { color: rgb(244 241 233 / 0.72); font-size: 1rem; }
.footer-id p + p { margin-top: 0.75rem; }
.footer a { color: var(--olive-ink); }
.footer-social a, .footer-contact a { font-weight: 600; text-decoration: none; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 2rem; font-size: 1rem; }
.footer-nav a { text-decoration: none; color: rgb(244 241 233 / 0.85); }
.footer-nav a:hover { color: var(--olive-ink); text-decoration: underline; }
.footer-contact { font-size: 1rem; color: rgb(244 241 233 / 0.85); }
.footer-legal { width: min(100%, var(--wrap)); margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgb(244 241 233 / 0.18); font-size: var(--step-small); color: rgb(244 241 233 / 0.65); }
.footer-legal a { color: rgb(244 241 233 / 0.8); }

/* ---------- bouton d'appel ---------- */
.fab { position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 30; display: inline-flex; align-items: center; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 28px; background: var(--olive); color: var(--olive-ink); font-weight: 600; text-decoration: none; transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.fab svg { flex: none; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 320ms var(--ease-out), margin 320ms var(--ease-out); }
.fab:hover, .fab:focus-visible { background: var(--olive-dark); }
.fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 12em; margin-left: 0.6rem; }
.fab.away { opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100svh; width: 100vw; height: 100svh; }
.lightbox::backdrop { background: rgb(35 42 30 / 0.94); }
.lightbox-inner { display: grid; place-items: center; width: 100%; height: 100%; padding: 4rem var(--margin); }
.lightbox img { max-width: 100%; max-height: calc(100svh - 10rem); object-fit: contain; }
.lightbox p { margin-top: 1rem; text-align: center; color: var(--olive-ink); }
.lightbox-close { position: fixed; top: 1rem; right: var(--margin); color: var(--olive-ink); background: none; border: 0; font: 600 1rem var(--text); cursor: pointer; min-height: 44px; }

/* ---------- mouvements lents ---------- */
@media (prefers-reduced-motion: no-preference) {
  .h-hero-pic img { animation: breathe 26s var(--ease-soft) infinite alternate; }
  .js .h-pic, .js .split-pic, .js .page-hero-pic { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
  .js .h-pic.in, .js .split-pic.in, .js .page-hero-pic.in { clip-path: inset(0 0 0 0); }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .fab { animation: fab-in 600ms var(--ease-out) 1.4s both; }
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}

/* ---------- tablette ---------- */
@media (max-width: 1240px) {
  .bar-nav { gap: 1.1rem; }
}
@media (max-width: 1100px) {
  :root { --bar: 64px; }
  .bar { gap: 1rem; }
  .bar-book { min-height: 42px; padding: 0 1rem; }
  .bar-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem; background: none; border: 0; color: var(--ink); font: 600 1rem var(--text); cursor: pointer; }
  .bar-nav { display: none; position: fixed; inset: var(--bar) 0 0; z-index: 25; flex-direction: column; gap: 0.25rem; padding: 2rem var(--margin); background: var(--bg); font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; overflow-y: auto; }
  .bar-nav.open { display: flex; }
  .bar-nav-tel { display: block; margin-top: 1.5rem; color: var(--olive) !important; }
  body.menu-open { overflow: hidden; }
  .steps, .h-facts, .facts ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; align-items: start; }
  .h-hero-side { grid-column: 1; }
  .h-hero-pic { aspect-ratio: 4 / 3; }
  .h-tiles, .page-hero, .split, .h-zone, .zone-wrap, .contact-grid, .tax, .h-tax, .faq-acc, .band { grid-template-columns: 1fr; }
  .band .actions { grid-column: 1; grid-row: auto; }
  .split.is-reverse .split-pic { order: 0; }
  .page-hero-pic { aspect-ratio: 4 / 3; }
  .works { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

/* ---------- téléphone ---------- */
@media (max-width: 760px) {
  .h-hero h1 { font-size: 10.5vw; }
  .bar-book { display: none; }
  .h-facts, .facts ul { gap: 1.75rem 1.25rem; }
  .works, .steps { grid-template-columns: 1fr; }
  .work-pic { aspect-ratio: 4 / 3; }
  .towns { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .zone-row { flex-direction: column; }
  .contact-map .plan-map { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-bottom: 5.5rem; }
  .page-hero h1 { font-size: 11vw; }
}

/* Tableau en texte (guides) : réponses en clair, empilées sur mobile. */
.example.is-text dd { font-size: 1rem; font-weight: 600; white-space: normal; text-align: right; max-width: 22rem; }
@media (max-width: 640px) {
	.example.is-text dl { padding-inline: 1.25rem; }
	.example.is-text dl > div { flex-direction: column; gap: 0.25rem; }
	.example.is-text dd { text-align: left; max-width: none; }
}
