/* ════════════════════════════════════════════════════════════════════
   Transport M & M Vinet — feuille de styles
   Palette tirée du lettrage du camion : vert sarcelle, orange, rouge « Vinet ».
   Contrastes vérifiés WCAG AA (voir docs/01-decouverte.md).
   ════════════════════════════════════════════════════════════════════ */
:root {
  --green-900: #0b3d33;
  --green-800: #0a4c3f;
  --green-700: #0b5e4b;
  --green-600: #0f7a60;   /* vert de marque (lettrage « TRANSPORT M&M ») */
  --green-100: #dcefe7;
  --green-50:  #eef6f2;
  --orange-700: #b93d0c;  /* CTA — blanc sur ce fond : 5,6:1 */
  --orange-800: #9a320a;
  --orange-500: #e2571e;  /* bandes orange du camion (décoratif) */
  --red: #d42a1f;         /* « Vinet » */
  --gold: #f2a516;
  --ink: #13221e;
  --text: #2f3d38;
  --muted: #56645f;
  --line: #dfe4df;
  --paper: #f7f5f0;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 61, 51, .06), 0 8px 24px rgba(11, 61, 51, .08);
  --shadow-lg: 0 2px 4px rgba(11, 61, 51, .08), 0 24px 48px rgba(11, 61, 51, .14);
  --font-h: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-b: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--font-b); padding-bottom: 68px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--font-h); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.center { text-align: center; display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.center-text { text-align: center; }
.left { text-align: left; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt { margin-top: 2.5rem; }

/* Placeholder visible (à retirer avant mise en ligne) */
mark.ph { background: #fff3c4; color: #5c4400; border: 1px dashed #c99a00; border-radius: 6px; padding: 0 .35em; font-size: .85em; font-weight: 600; }
.note-inline { background: #fff9e3; padding: .75rem 1rem; border-radius: var(--radius-sm); }

/* ─── Boutons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-h); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-cta { background: var(--orange-700); color: #fff; box-shadow: 0 6px 18px rgba(185, 61, 12, .3); }
.btn-cta:hover { background: var(--orange-800); color: #fff; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-ghost { background: var(--white); color: var(--green-800); border-color: var(--green-100); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-900); }
.btn-on-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-on-dark:hover { background: #fff; color: var(--green-900); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-600); color: #fff; }
.btn-link { padding: 0; min-height: 0; color: var(--green-700); background: none; text-decoration: underline; text-decoration-color: var(--green-100); text-decoration-thickness: 2px; }
.btn-link:hover { transform: none; text-decoration-color: var(--green-600); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ─── Barre du haut + en-tête ─── */
.topbar { background: var(--green-900); color: #cfe3db; font-size: .88rem; display: none; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; margin-left: 1.25rem; }
@media (min-width: 900px) { .topbar { display: block; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: block; line-height: 0; }
.wordmark { width: 168px; height: auto; }
.wordmark text { font-family: var(--font-h); font-weight: 800; }
.wm-arc, .wm-mm { fill: var(--green-600); }
.wm-vinet { fill: var(--red); }
.wm-bar-g { fill: var(--green-600); }
.wm-bar-o { fill: var(--orange-500); }
.wordmark-light .wm-arc, .wordmark-light .wm-mm { fill: #fff; }
.wordmark-light .wm-vinet { fill: #ff7a5c; }
.wordmark-light .wm-bar-g { fill: #3fbf98; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .5rem 16px 1.25rem; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: .8rem .25rem; font: 600 1.05rem var(--font-h); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--green-600); }
.nav-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav li a, .nav-ctas .btn { white-space: nowrap; }
  .nav-ctas .btn-ghost { display: none; } /* le téléphone reste visible dans la barre du haut */
  .nav { display: flex !important; position: static; box-shadow: none; border: 0; padding: 0; align-items: center; gap: 1.25rem; background: none; }
  .nav ul { display: flex; gap: .15rem; }
  .nav li a { border: 0; padding: .5rem .55rem; font-size: .97rem; border-radius: 8px; }
  .nav li a:hover { background: var(--green-50); }
  .nav-ctas { margin: 0; flex-wrap: nowrap; }
}

/* ─── Fil d'Ariane ─── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: .9rem 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: .35rem; }
.crumbs a { color: var(--muted); }

/* ─── Livrée (bandes du camion) ─── */
.livery { height: 14px; background: linear-gradient(to bottom, var(--green-600) 0 50%, transparent 50% 64%, var(--orange-500) 64% 100%); }

/* ─── Hero (accueil) ─── */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #15705b 0%, transparent 60%), var(--green-900); color: #dcebe5; padding: 2.5rem 0 3.5rem; }
.livery-hero { position: absolute; left: -10%; right: -10%; bottom: 46px; height: 26px; transform: rotate(-3deg); opacity: .9; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero { padding: 4.5rem 0 5.5rem; } .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; } }
.hero h1 { color: #fff; }
.hero-sub { font-size: 1.15rem; max-width: 36em; color: #d4e6df; }
.eyebrow { font: 700 .82rem/1.3 var(--font-h); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-700); margin: 0 0 .8rem; }
.eyebrow-light { color: #ffb38f; }
.hero-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .4rem; font-size: .98rem; }
.hero-points svg { color: #6fd5b2; vertical-align: -4px; margin-right: .3rem; }
.hero-media { position: relative; }
.hero-quote { position: relative; margin: -2.25rem 1rem 0 auto; max-width: 300px; background: #fff; color: var(--text); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--orange-500); }
.hero-quote p { font: 600 1.02rem/1.35 var(--font-h); color: var(--ink); margin: .35rem 0; }
.hero-quote span { font-size: .85rem; color: var(--muted); }

/* ─── Photos avec repli ─── */
.photo { position: relative; margin: 0; aspect-ratio: var(--ar, 4/3); border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(135deg, var(--green-700) 0 22px, var(--green-600) 22px 44px); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.photo figcaption { position: absolute; z-index: 2; right: .5rem; bottom: .5rem; background: rgba(0, 0, 0, .55); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 6px; }
.photo-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: #fff; font: 600 .9rem var(--font-h); opacity: .85; }
.photo-fallback svg { width: 44px; height: 44px; }
.photo-hero { aspect-ratio: 4/3; border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.photo-hero-sm { aspect-ratio: 4/3; max-height: 440px; }
.photo-card { aspect-ratio: 16/10; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.photo-aside { aspect-ratio: 4/3; margin-top: 1.5rem; display: none; }
@media (min-width: 960px) { .photo-aside { display: block; } }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Confiance (note Google) ─── */
.trust { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.25rem; padding: .55rem .95rem; border-radius: 999px; text-decoration: none; font-size: .95rem; }
.trust-dark { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.trust-dark:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.trust-light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trust-score { display: inline-flex; align-items: center; gap: .35rem; }
.trust-score strong { font: 800 1.1rem var(--font-h); }
.trust-count { text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; color: var(--gold); line-height: 0; }
.stars-lg svg { width: 28px; height: 28px; }

/* ─── Sections ─── */
.section { padding: 3.5rem 0; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.section-tint { background: var(--green-50); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.answer, .answer-lg { font-size: 1.08rem; }
.answer-lg { font-size: 1.18rem; max-width: 40em; }
.two-col { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; border: 1px solid var(--line); }
@media (min-width: 700px) { .card { padding: 2rem; } }
.page-hero { padding: 2rem 0 3rem; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } .page-hero { padding: 3rem 0 4rem; } }

/* Bloc entité */
.entity { padding-top: 3rem; }
.entity-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .entity-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.entity-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.entity-card p { margin: 0; }
.entity-ic, .why-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--green-100); color: var(--green-700); margin-bottom: .9rem; }

/* Pourquoi nous */
.why-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.why p { margin-bottom: .75rem; }
.why-q { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font: 600 1rem/1.4 var(--font-h); color: var(--ink); }
.why-q span { display: block; font: 400 .85rem var(--font-b); color: var(--muted); margin-top: .2rem; }

/* Services */
.services { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; } }
.service-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.service-body { padding: 1.5rem; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 900px) { .steps:not(.steps-compact) { grid-template-columns: repeat(3, 1fr); } }
.steps > li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.step-n { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font: 800 1.1rem var(--font-h); margin-bottom: .8rem; }
.steps-compact > li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; }
.steps-compact .step-n { flex: none; margin: 0; width: 34px; height: 34px; font-size: 1rem; }
.steps-compact p { margin: .25rem 0 0; }

/* Listes à cocher */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist svg { flex: none; color: var(--green-600); margin-top: .2rem; }
.checklist-x li::before { content: '✕'; color: var(--orange-700); font-weight: 700; flex: none; }
.mini-proof { list-style: none; padding: 0; display: grid; gap: .45rem; margin: 1.25rem 0; }
.mini-proof svg { color: var(--green-600); vertical-align: -4px; margin-right: .3rem; }

/* Tableau */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; margin: 1.25rem 0 1.5rem; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.data th, .data td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { background: var(--green-900); color: #fff; font-family: var(--font-h); font-weight: 600; }
.data tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.data tr:last-child > * { border-bottom: 0; }

/* Note / encadré */
.note { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange-500); border-radius: var(--radius-sm); padding: 1.15rem 1.25rem; margin: 1.5rem 0; }
.note p { margin: 0; }
.note h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.note-icon { flex: none; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #fde7dc; color: var(--orange-700); }
.pull { margin: 1.75rem 0; padding: 1.15rem 1.4rem; border-left: 5px solid var(--green-600); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font: 600 1.2rem/1.4 var(--font-h); color: var(--ink); }
.pull cite { display: block; font: normal 400 .9rem var(--font-b); color: var(--muted); margin-top: .5rem; }

/* Avis */
.reviews-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 700px) { .reviews-grid { columns: 2; } }
@media (min-width: 1080px) { .reviews-grid { columns: 3; } }
.review { break-inside: avoid; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.review-when { font-size: .85rem; color: var(--muted); }
.review blockquote { margin: 0 0 1rem; }
.review blockquote p { margin: 0; color: var(--ink); }
.review figcaption { display: flex; gap: .7rem; align-items: center; }
.review figcaption small { display: block; color: var(--muted); font-size: .82rem; }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: inline-flex; align-items: center; justify-content: center; font: 700 1rem var(--font-h); }
.avatar-lg { width: 52px; height: 52px; font-size: 1.3rem; }
.reviews-foot { text-align: center; margin-top: 1.5rem; }
.reviews-foot .btn-row { justify-content: center; }
.story .review { box-shadow: none; padding: 0; border: 0; }
.rating-card { text-align: center; }
.rating-big { font: 800 4rem/1 var(--font-h); color: var(--ink); }
.dist { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .35rem; }
.dist li { display: grid; grid-template-columns: 2.6rem 1fr 1.6rem; gap: .6rem; align-items: center; font-size: .9rem; }
.bar { height: 8px; background: var(--green-50); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); }
.themes { display: flex; flex-wrap: wrap; gap: .5rem; }
.themes span { background: #fff; border: 1px solid var(--green-100); color: var(--green-800); padding: .4rem .85rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }

/* Équipe */
.team { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1.25rem 0; }
.team li { display: flex; gap: .9rem; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: .75rem 1rem; border: 1px solid var(--line); }
.team span:not(.avatar) { display: block; color: var(--muted); font-size: .92rem; }

/* Bande CTA */
.cta-band { background: var(--green-900); color: #d4e6df; position: relative; }
.cta-band::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(to bottom, var(--green-600) 0 50%, transparent 50% 64%, var(--orange-500) 64% 100%); }
.cta-band-inner { display: grid; gap: 1rem; padding-top: 3rem; padding-bottom: 3rem; align-items: center; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; }

/* Formulaires */
.section-form { background: linear-gradient(180deg, var(--paper) 0%, var(--green-50) 100%); }
.form-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; } }
.form-head p { color: var(--muted); }
.form-grid { display: grid; gap: .25rem 1rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: .55rem; }
.field label { font-weight: 700; color: var(--ink); margin-bottom: .3rem; font-size: .97rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select { font: inherit; min-height: 50px; padding: .65rem .85rem; border: 1.5px solid #b9c6c0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--green-600); outline: 3px solid rgba(15, 122, 96, .2); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field input.valid { border-color: var(--green-600); }
.hint { margin: .3rem 0 0; font-size: .85rem; color: var(--muted); }
.err { margin: .25rem 0 0; min-height: 0; font-size: .87rem; color: #b3261e; font-weight: 600; }
.err:empty { display: none; }
.field-check { grid-column: 1 / -1; justify-content: center; }
.field-check label { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.field-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--green-600); }
.hp { position: absolute; left: -9999px; }
.quote-form button[type="submit"], .callback-form button[type="submit"] { margin-top: .75rem; }
.form-alt { text-align: center; margin: .9rem 0 .25rem; }
.privacy { color: var(--muted); margin: .75rem 0 0; }
.form-status { margin: .5rem 0 0; font-weight: 700; }
.form-status.error { color: #b3261e; }
.callback-form { margin-top: 1.5rem; }

/* FAQ */
.faq { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font: 600 1.5rem var(--font-h); color: var(--green-600); }
.faq details[open] summary::after { content: '–'; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq-a { padding: 0 1.2rem 1.1rem; }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }

/* Villes, carte, NAP */
.city-list { list-style: none; padding: 0; display: grid; gap: .6rem; margin: 1.25rem 0; }
.city-list a { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.city-list a:hover { border-color: var(--green-600); transform: translateX(3px); }
.city-list a span { flex: 1; }
.city-list svg { color: var(--green-600); }
.inline-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.map-facade { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #cfe3da, #e8efe9); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-facade::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 38px, rgba(15, 122, 96, .08) 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(15, 122, 96, .08) 38px 40px); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: none; border: 0; cursor: pointer; font: 700 1.05rem var(--font-h); color: var(--green-900); text-align: center; padding: 1rem; }
.map-load svg { width: 44px; height: 44px; color: var(--red); }
.map-load small { font: 400 .9rem var(--font-b); color: var(--text); }
.nap { font-style: normal; margin: 1.25rem 0; }
.nap p { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .55rem; }
.nap svg { flex: none; color: var(--green-600); margin-top: .2rem; }
.site-footer .nap svg { color: #6fd5b2; }

/* Articles */
.articles { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .articles { grid-template-columns: 1fr 1fr; } }
.article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; }
.article h2 { margin-top: 2.25rem; font-size: 1.55rem; }
.todo { list-style: none; padding: 0; display: grid; gap: .45rem; }
.todo label { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; cursor: pointer; }
.todo input { width: 20px; height: 20px; flex: none; margin-top: .2rem; accent-color: var(--green-600); }
.todo input:checked + span { color: var(--muted); text-decoration: line-through; }
.updated { color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Merci */
.big-check { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; background: var(--green-600); color: #fff; align-items: center; justify-content: center; margin-bottom: 1rem; }
.big-check svg { width: 40px; height: 40px; }
.page-thanks .card { margin: 2rem 0; }

/* Pied de page */
.site-footer { background: #0a2f28; color: #b9d0c7; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr 1fr .9fr; } }
.footer-brand .wordmark { width: 190px; margin-bottom: 1rem; }
.footer-h { font: 700 .85rem var(--font-h); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.footer-links a, .footer-links button { color: #b9d0c7; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.25rem; padding-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer-bottom p { margin: 0; }
.site-footer .updated { color: #b9d0c7; }

/* Barre mobile collante */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 61, 51, .1); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 12px; font: 700 1.02rem var(--font-h); text-decoration: none; }
.mb-call { background: var(--green-700); color: #fff; }
.mb-sms { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.mb-quote { background: var(--orange-700); color: #fff; flex: 1.3 !important; }
.mobile-bar a:hover { color: #fff; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Consentement */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 78px; max-width: 520px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.1rem 1.25rem; font-size: .95rem; }
.consent p { margin: 0; }
.consent .btn-row { margin: .8rem 0 0; justify-content: flex-end; }
@media (min-width: 900px) { .consent { bottom: 20px; left: 20px; right: auto; } }

/* Empêche les tableaux larges d'élargir les colonnes de grille (débordement mobile) */
.two-col > *, .form-layout > *, .hero-grid > *, .page-hero-grid > * { min-width: 0; }

/* Mises en page sans photo (photos masquées) : pas de colonne vide */
.page-hero-grid:not(:has(> .photo)) { grid-template-columns: 1fr; max-width: 820px; }
.two-col:not(:has(> :nth-child(2))) { grid-template-columns: 1fr; max-width: 820px; }
.hero-grid:not(:has(.photo)) .hero-quote { margin: 0; max-width: 420px; padding: 1.5rem 1.6rem; }
.hero-grid:not(:has(.photo)) .hero-quote p { font-size: 1.35rem; }
@media (min-width: 960px) { .hero-grid:not(:has(.photo)) .hero-media { align-self: center; justify-self: end; } }
