/*
 * Véto’Nomade : feuille de styles du site.
 * Lumineuse, pratique, pensée comme une application : tout sur une page, actions toujours à portée de pouce.
 * Couleurs reprises du logo (ciel, menthe, sapin). Formes : cartes 28px, éléments internes 16px, champs 14px, boutons en pilule.
 */

/* Polices sous licence SIL Open Font License, hébergées sur le site (aucun appel à Google Fonts). */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --bg: #F3F7FC;
  --surface: #FFFFFF;
  --ink: #0E2440;
  --ink-soft: #4A5D75;
  --ink-faint: #7A8BA1;
  --sky-800: #0F4C9C;
  --sky-700: #145DBF;
  --sky-600: #1F6FDB;
  --sky-500: #3E90F0;
  --sky-300: #8FD3FA;
  --sky-100: #E2EEFD;
  --sky-50: #EFF5FE;
  --mint-300: #A8E8CC;
  --mint-100: #DFF5EA;
  --leaf: #2F9D63;
  --forest: #1F6B45;
  --green-600: #1E8E47;
  --green-100: #DCF2E3;
  --amber-600: #C77A0A;
  --amber-400: #F5B24A;
  --amber-100: #FDF0D9;
  --coral-700: #B42828;
  --coral-600: #D93B3B;
  --coral-100: #FDE4E2;
  --line: #DCE5F0;
  --line-strong: #B9C7D8;

  --r-card: 28px;
  --r-inner: 16px;
  --r-field: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 36, 64, .06);
  --shadow: 0 1px 2px rgba(14, 36, 64, .05), 0 14px 34px -14px rgba(14, 36, 64, .2);
  --shadow-lg: 0 24px 60px -24px rgba(14, 36, 64, .35);

  --font-display: "Bricolage Grotesque", "Avenir Next", -apple-system, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

/* ---------- Typographie ---------- */
h1, .h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(2.35rem, 1.5rem + 3.3vw, 4.1rem); line-height: 1.02; text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 750; letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 1.35rem + 2vw, 2.85rem); line-height: 1.06; text-wrap: balance;
}
h3, .h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.3rem; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.flush { margin: 0; }
.spaced { margin-top: .8rem; }
.pill-label {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45em; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); color: var(--sky-700); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
}

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--flush { padding-top: 0; }
.section--tight { padding-top: 12px; }
.section-head { max-width: 44rem; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head p { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1.12rem; }
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .75em 1.4em; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--spring), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--sky-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 111, 219, .8); }
.btn--primary:hover { background: var(--sky-700); }
.btn--white { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.btn--white:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--line-strong); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1B3658; }
.btn--wa { background: #1F9D57; color: #fff; }
.btn--wa:hover { background: #18854A; }
.btn--coral { background: var(--coral-600); color: #fff; }
.btn--coral:hover { background: var(--coral-700); }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--sky-700); text-decoration: none; }
.link .i { transition: transform .3s var(--spring); }
.link:hover .i { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(243, 247, 252, .82); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  transition: box-shadow .3s, background-color .3s;
}
.is-scrolled .site-header { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(14, 36, 64, .45); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; flex: none; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.brand-name b { color: var(--sky-600); font-weight: 800; }
.brand-tag { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-faint); margin-top: 3px; letter-spacing: .01em; }
.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav a { display: block; padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.main-nav a:hover { background: var(--sky-100); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--sky-700); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--green-100); color: #13552C; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap;
}
.status-pill[data-state="urgent"] { background: var(--amber-100); color: #7A4A04; }
.status-pill[data-state="closed"] { background: var(--coral-100); color: #8E1E1E; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); flex: none; position: relative; }
[data-state="urgent"] .dot { background: var(--amber-600); }
[data-state="closed"] .dot { background: var(--coral-600); }
@media (prefers-reduced-motion: no-preference) {
  [data-state="open"] .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-600); animation: ping 2.2s var(--ease) infinite; }
}
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); cursor: pointer; place-items: center; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.menu-open .burger { background: transparent; }
.menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 39; background: var(--bg);
  padding: calc(var(--header-h) + 16px) var(--gutter) 120px; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-open body { overflow: hidden; }
.mobile-menu ul { list-style: none; display: grid; gap: 8px; }
.mobile-menu nav a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.mobile-menu nav a .i { width: 26px; height: 26px; color: var(--sky-600); }
.mobile-menu-foot { margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--coral-100); color: #6E1717; }
.mobile-menu-foot a { font-weight: 800; color: var(--coral-700); }

@media (max-width: 1100px) { .brand-tag { display: none; } .main-nav a { padding: 9px 10px; } }
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.28rem; }
}
.pill-short { display: none; }
@media (max-width: 520px) {
  .header-inner { gap: 10px; }
  .status-pill { padding: 0 12px 0 10px; font-size: .82rem; height: 34px; }
  .pill-long { display: none; }
  .pill-short { display: inline; }
}

/* ---------- Barre d'actions mobile ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 4px;
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -20px rgba(14, 36, 64, .35);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 16px; text-decoration: none; font-size: .76rem; font-weight: 700; color: var(--ink-soft); }
  .tabbar a .i { width: 24px; height: 24px; }
  .tabbar a > span { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
  .tabbar .tab-sub { font-size: .62rem; font-weight: 700; color: var(--ink-faint); letter-spacing: .01em; }
  .tabbar a:active { background: var(--sky-50); }
  .tabbar .tab-rdv { background: var(--sky-600); color: #fff; }
  .tabbar .tab-rdv:active { background: var(--sky-700); }
  .tabbar .tab-call .i { color: var(--sky-600); }
  .tabbar .tab-wa .i { color: #1F9D57; }
  .tabbar .tab-urgence { color: var(--coral-700); }
}

/* ---------- Hero en grille ---------- */
.hero { padding-top: clamp(14px, 2vw, 28px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px; }
.hero-main {
  grid-column: 1 / 8; grid-row: 1 / 3; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-100) 0%, #F5FAFF 70%); border-radius: 36px;
  padding: clamp(28px, 4.5vw, 64px) clamp(24px, 4.5vw, 60px) clamp(150px, 15vw, 210px);
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-start;
}
.hero-main h1 { margin-top: 22px; max-width: 13.5ch; }
.hero-main .lead { margin: 18px 0 0; max-width: 34ch; }
.hero-main .btn-row { margin-top: 28px; }
.hero-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; pointer-events: none; }
.hero-hills svg { width: 100%; height: 100%; display: block; }
.hero-photo { grid-column: 8 / 13; grid-row: 1; border-radius: 36px; overflow: hidden; min-height: 300px; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.hero-status { grid-column: 8 / 11; grid-row: 2; display: flex; flex-direction: column; gap: 6px; border-radius: 28px; }
.hero-status .label { font-size: .82rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.hero-status .state { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 750; letter-spacing: -0.02em; font-size: 1.45rem; line-height: 1.15; margin: 2px 0 0; }
.hero-status .state .dot { width: 11px; height: 11px; }
.hero-status .detail { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.hero-status .next { font-size: .92rem; font-weight: 700; color: var(--sky-700); margin: 0; }
.hero-status .link { margin-top: auto; padding-top: 8px; font-size: .95rem; }
.hero-urgence { grid-column: 11 / 13; grid-row: 2; background: var(--coral-100); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: #6E1717; transition: transform .35s var(--spring); }
.hero-urgence:hover { transform: translateY(-2px); }
.hero-urgence .i-wrap { width: 44px; height: 44px; border-radius: 14px; background: var(--coral-600); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.hero-urgence .i-wrap .i { width: 24px; height: 24px; }
.hero-urgence strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; color: var(--coral-700); }
.hero-urgence [data-vn-status-call-number] { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.hero-urgence small { font-size: .85rem; line-height: 1.35; }
@media (max-width: 1100px) {
  .hero-main { grid-column: 1 / 8; }
  .hero-status { grid-column: 8 / 13; }
  .hero-urgence { grid-column: 8 / 13; grid-row: 3; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-main { grid-row: 1 / 4; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-column: 1 / -1; grid-row: auto; min-height: 0; border-radius: 30px; padding-bottom: clamp(120px, 34vw, 170px); }
  .hero-photo { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 30px; }
  .hero-status { grid-column: 1 / -1; grid-row: auto; }
  .hero-urgence { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 480px) {
  .hero-main .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Choix cabinet / domicile ---------- */
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); position: relative; margin-bottom: 22px; }
.segmented button { position: relative; z-index: 1; border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 700; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.segmented button[aria-selected="true"] { color: #fff; }
.segmented::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .45s var(--spring); }
[data-active="cabinet"] > .segmented::before { transform: translateX(100%); }
.mode-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; }
.mode-panel .card { display: flex; flex-direction: column; gap: 14px; }
.mode-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.mode-media { border-radius: var(--r-card); overflow: hidden; position: relative; min-height: 320px; }
.mode-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reasons { list-style: none; display: grid; gap: 10px; }
.reasons li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-inner); background: var(--sky-50); }
.reasons .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface); color: var(--sky-600); }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--sky-50); font-weight: 600; font-size: .92rem; }
.fact .i { color: var(--sky-600); }
@media (prefers-reduced-motion: no-preference) {
  .js [role="tabpanel"]:not([hidden]) { animation: panel-in .5s var(--ease); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .mode-panel { grid-template-columns: 1fr; }
  .mode-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .segmented { display: flex; width: 100%; }
  .segmented button { flex: 1; justify-content: center; padding: 11px 10px; }
}

/* ---------- Soins (grille) ---------- */
.care-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 14px; }
.tile { border-radius: var(--r-card); padding: 24px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.tile p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.tile-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-700); margin-bottom: 8px; }
.tile-icon .i { width: 26px; height: 26px; }
.tile--photo { grid-column: span 2; grid-row: span 2; padding: 0; justify-content: flex-end; color: #fff; min-height: 420px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tile--photo .tile-body { position: relative; padding: 28px; background: linear-gradient(180deg, transparent, rgba(8, 24, 44, .82) 55%); padding-top: 90px; }
.tile--photo h3 { color: #fff; font-size: 1.7rem; }
.tile--photo p { color: rgba(255, 255, 255, .88); margin-top: 6px; }
.tile--photo .chips { margin-top: 14px; }
.tile--photo .chips li { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile--mint { background: var(--mint-100); box-shadow: none; }
.tile--mint .tile-icon { background: var(--surface); color: var(--forest); }
.tile--sky { background: var(--sky-100); box-shadow: none; }
.tile--sky .tile-icon { background: var(--surface); }
.tile--ink { grid-column: span 2; background: var(--ink); color: #fff; box-shadow: none; }
.tile--ink p { color: rgba(255, 255, 255, .78); }
.tile--ink .tile-icon { background: rgba(255, 255, 255, .1); color: var(--sky-300); }
.tile--ink .chips li { background: rgba(255, 255, 255, .1); color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 11px; border-radius: 999px; background: var(--sky-50); font-size: .86rem; font-weight: 600; }
.chips--gap { margin-top: 6px; }
@media (max-width: 1000px) {
  .care-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--photo { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 600px) {
  .care-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .care-bento .tile { grid-column: auto; }
  .tile--photo { min-height: 400px; }
}
.tile--species { grid-column: span 2; background: var(--surface); }
.species { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.species li { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--sky-50); font-weight: 600; font-size: .95rem; }
.species .i-wrap { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); }
.species .i-wrap .i { width: 20px; height: 20px; }
.species small { font-weight: 500; color: var(--ink-soft); }
.species li.maybe .i-wrap { background: var(--amber-100); color: var(--amber-600); }
.species li.no { box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; color: var(--ink-soft); }
.species li.no .i-wrap { background: var(--coral-100); color: var(--coral-600); }

/* ---------- Zone desservie ---------- */
.zone-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(14px, 2vw, 22px); }
.zone-card > * { min-width: 0; }
.zone-side { padding: clamp(8px, 2vw, 22px) clamp(8px, 2vw, 22px) clamp(8px, 2vw, 22px) 0; }
.zone-side h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.zone-side > p { color: var(--ink-soft); margin: .8rem 0 0; }
@media (max-width: 900px) {
  .zone-card { grid-template-columns: minmax(0, 1fr); }
  .zone-side { padding: 8px 6px 10px; }
}
.commune-form { margin-top: 22px; }
.commune-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.commune-row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--sky-50); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.commune-row:focus-within { box-shadow: inset 0 0 0 2px var(--sky-500), 0 0 0 4px rgba(62, 144, 240, .18); }
.commune-row .i { margin-left: 10px; color: var(--ink-faint); }
.commune-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; outline: none; }
.commune-row input::placeholder { color: var(--ink-faint); }
.commune-row .btn { min-height: 44px; }
.commune-result { margin: 12px 0 0; padding: 14px 16px; border-radius: var(--r-inner); background: var(--green-100); color: #1A4D2C; font-size: .97rem; }
.commune-result strong { display: block; color: #0F3A1F; }
.commune-result[data-kind="ok"], .commune-result[data-kind="home"] { background: var(--sky-100); color: var(--ink-soft); }
.commune-result[data-kind="ok"] strong, .commune-result[data-kind="home"] strong { color: var(--sky-800); }
.commune-fee { font-weight: 800; color: var(--ink); }
.fee-line { display: block; }
.commune-result[data-kind="ask"] { background: var(--amber-100); color: #66410A; }
.commune-result[data-kind="ask"] strong { color: #4A2E04; }
.commune-result[data-kind="out"] { background: var(--coral-100); color: #6E1717; box-shadow: inset 0 0 0 1.5px rgba(217, 59, 59, .35); }
.commune-result[data-kind="out"] strong { color: var(--coral-700); }
.commune-result[data-kind="out"] strong::before { content: "✕ "; }
.commune-result a { font-weight: 800; color: inherit; }
.fees { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.fees li { padding: 12px 14px; border-radius: var(--r-inner); background: var(--sky-50); display: flex; flex-direction: column; gap: 2px; transition: box-shadow .2s, background-color .2s; }
.fees span { font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.fees strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; }
.fees li.is-match { box-shadow: inset 0 0 0 2px var(--sky-600); background: var(--surface); }
.fees-title { margin: 22px 0 0; font-weight: 700; }
.zone-list { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .94rem; color: var(--ink-soft); }
.zone-list summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sky-700); }
.zone-list summary::-webkit-details-marker { display: none; }
.zone-list summary .i { transition: transform .3s var(--ease); }
.zone-list[open] summary .i { transform: rotate(180deg); }
.zone-list h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 14px 0 4px; }
.zone-list p { margin: 0; }
.zone-list small { color: var(--ink-faint); font-size: .85em; }
.map-credit { margin: 2px 4px 0; font-size: .78rem; color: var(--ink-faint); }
.map-credit a { color: inherit; }

.map { position: relative; width: 100%; aspect-ratio: 414 / 376; border-radius: 22px; overflow: hidden; background: #DCEBFA; font-size: 12.5px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-outside { fill: #E3EEF9; }
.m-canton { fill: #FBFDFF; stroke: #BFD1E6; stroke-width: .8; }
.m-region { fill: #F8FBFF; stroke: #D3DFEC; stroke-width: .6; }
.m-region.is-covered { fill: #BFEBD6; stroke: #2F9D63; stroke-width: 1.1; }
.m-region--vdt.is-covered { fill: #CBE8F8; stroke: var(--sky-500); }
.m-commune { fill: none; stroke: rgba(14, 36, 64, .16); stroke-width: .5; }
.m-ring { fill: none; stroke: var(--sky-700); stroke-width: 1; stroke-dasharray: 2 4; stroke-linecap: round; opacity: .6; }
.m-place { fill: var(--ink); stroke: #fff; stroke-width: 1; }
.m-place.is-hit { fill: var(--coral-600); r: 5.5; }
.m-query { fill: var(--coral-600); stroke: #fff; stroke-width: 1.4; }
.m-query.is-out { fill: var(--coral-600); }
.m-label--query { font-weight: 800; color: var(--coral-700); }
.m-label--query.is-out { color: var(--coral-700); }
.m-context { fill: #9FB0C4; stroke: #fff; stroke-width: 1; }
.m-cabinet { fill: var(--sky-600); stroke: #fff; stroke-width: 2; }
.m-cabinet-halo { fill: var(--sky-500); opacity: .2; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .m-cabinet-halo { animation: halo 2.4s var(--ease) infinite; } }
@keyframes halo { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(2.4); opacity: 0; } }
.m-label, .m-ring-label, .m-area { position: absolute; white-space: nowrap; pointer-events: none; line-height: 1.15; }
.m-label { font-weight: 600; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; }
.m-label--r { transform: translate(8px, -50%); }
.m-label--l { transform: translate(calc(-100% - 8px), -50%); }
.m-label--t { transform: translate(-50%, calc(-100% - 7px)); }
.m-label--b { transform: translate(-50%, 7px); }
.m-label.is-hit { color: var(--coral-700); font-weight: 800; }
.m-label--context { color: var(--ink-faint); }
.m-label--cabinet { background: var(--sky-600); color: #fff; text-shadow: none; padding: 5px 10px; border-radius: 10px; transform: translate(14px, -50%); font-size: 12.5px; box-shadow: var(--shadow); }
.m-label--cabinet strong { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.m-ring-label { transform: translate(-50%, -50%); font-size: 11px; font-weight: 700; color: var(--sky-800); background: rgba(255, 255, 255, .92); padding: 1px 7px; border-radius: 999px; }
.m-area { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 4px 4px; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 14px; height: 14px; border-radius: 5px; background: #BFEBD6; box-shadow: inset 0 0 0 1.5px #2F9D63; }
.map-legend i.vdt { background: #CBE8F8; box-shadow: inset 0 0 0 1.5px var(--sky-500); }
.map-legend i.ring { background: none; box-shadow: none; border: 1.5px dashed var(--sky-700); border-radius: 50%; }
.map-legend i.dot { border-radius: 50%; background: var(--sky-600); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sky-600); width: 10px; height: 10px; }
@media (max-width: 560px) {
  .map { font-size: 11px; }
  .m-label.is-minor { display: none; }
  .m-label--cabinet span { display: none; }
  .m-label--cabinet { padding: 4px 8px; transform: translate(10px, -50%); }
}

/* ---------- Déroulement d'une visite ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.flow-steps li { background: var(--surface); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.flow-steps .tile-icon { margin-bottom: 4px; }
.flow-steps li:nth-child(2) .tile-icon { background: var(--mint-100); color: var(--forest); }
.flow-steps li:nth-child(3) .tile-icon { background: var(--amber-100); color: var(--amber-600); }
.flow-steps li:nth-child(4) .tile-icon { background: var(--coral-100); color: var(--coral-600); }
.flow-steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.prep { background: var(--mint-100); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); }
.prep h3 { font-size: 1.45rem; }
.prep p { color: #2C5A43; font-size: .95rem; margin: .4rem 0 1rem; }
.prep-list { list-style: none; display: grid; gap: 8px; }
.prep-list label { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: var(--r-inner); background: rgba(255, 255, 255, .72); cursor: pointer; transition: background-color .2s; }
.prep-list input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--leaf); background: #fff; margin: 0; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--spring); }
.prep-list input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--spring); }
.prep-list input:checked { background: var(--leaf); }
.prep-list input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.prep-list input:checked + span { color: #4D7462; text-decoration: line-through; text-decoration-color: rgba(47, 157, 99, .5); }
.prep-list label:has(input:checked) { background: rgba(255, 255, 255, .45); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } }

/* ---------- Horaires : frise de la semaine ---------- */
.hours-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.timeline-card { padding: clamp(20px, 3vw, 32px); }
.timeline-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-bottom: 22px; }
.timeline-head h3 { font-size: 1.35rem; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 10px; border-radius: 4px; display: inline-block; }
.sw-open { background: var(--sky-500); }
.sw-urg { background: repeating-linear-gradient(-45deg, var(--amber-400) 0 4px, #F9C77A 4px 8px); }
.sw-garde { background: repeating-linear-gradient(-45deg, #F6CFCB 0 4px, var(--coral-100) 4px 8px); }
.tl { --start: 6; --span: 14; display: grid; gap: 8px; }
.tl-scale { display: grid; grid-template-columns: 92px 1fr; font-size: .78rem; font-weight: 600; color: var(--ink-faint); }
.tl-scale div { position: relative; height: 18px; }
.tl-scale > div > span { position: absolute; transform: translateX(-50%); }
.tl-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; border-radius: 14px; padding: 4px 0; }
.tl-day { font-weight: 700; font-size: .98rem; padding-left: 10px; }
.tl-day small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .01em; color: var(--sky-600); visibility: hidden; height: 0; }
.tl-row.is-today { background: var(--sky-50); box-shadow: inset 0 0 0 1.5px var(--sky-100); }
.tl-row.is-today .tl-day small { visibility: visible; height: auto; }
.tl-track { position: relative; height: 40px; border-radius: 10px; background: repeating-linear-gradient(-45deg, #F8DAD6 0 5px, var(--coral-100) 5px 10px); overflow: hidden; margin-right: 8px; }
.tl-seg { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - var(--start)) / var(--span) * 100%); width: calc((var(--b) - var(--a)) / var(--span) * 100%); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; }
.tl-seg.open { background: var(--sky-500); color: #fff; }
.tl-seg.urg { background: repeating-linear-gradient(-45deg, var(--amber-400) 0 6px, #F9C77A 6px 12px); color: #4A2E04; }
.tl-closed { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; color: #8E1E1E; }
.tl-now { position: absolute; top: -2px; bottom: -2px; width: 3px; border-radius: 3px; background: var(--ink); left: clamp(0%, calc((var(--vn-hour, 12) - var(--start)) / var(--span) * 100%), 100%); display: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
.tl-row.is-today .tl-now { display: block; }
.tl-note { margin: 18px 0 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .tl-scale, .tl-row { grid-template-columns: 70px 1fr; }
  .tl-day { padding-left: 6px; font-size: .9rem; }
  .tl-row.is-today .tl-day small { display: none; }
  .tl-seg { font-size: .7rem; }
  .tl-scale > div > span:nth-child(even) { display: none; }
}
.urg-stack { display: grid; gap: 14px; }
.urg-card { border-radius: var(--r-card); padding: 24px; background: var(--surface); box-shadow: var(--shadow); position: relative; }
.urg-card h3, .urg-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.urg-card .num { display: block; margin: 8px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); letter-spacing: -0.03em; text-decoration: none; color: var(--ink); line-height: 1.1; }
.urg-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.num-note { display: block; margin-top: 6px; font-size: .85rem; color: var(--ink-faint); }
.urg-card--garde .num { color: var(--coral-700); }
.now-tag { display: none; font-family: var(--font-body); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.urg-card.is-current { box-shadow: 0 0 0 2.5px var(--sky-600), var(--shadow); }
.urg-card--garde.is-current { box-shadow: 0 0 0 2.5px var(--coral-600), var(--shadow); }
.urg-card.is-current .now-tag { display: inline-block; }
.urg-card--garde.is-current .now-tag { background: var(--coral-600); }
@media (max-width: 960px) { .hours-layout { grid-template-columns: 1fr; } }

.signs-card { margin-top: 14px; border-radius: var(--r-card); background: var(--coral-100); padding: 24px; color: #5E1414; }
.signs-card summary { cursor: pointer; font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--coral-700); }
.signs-card summary::-webkit-details-marker { display: none; }
.signs-card summary .i { transition: transform .3s var(--ease); }
.signs-card[open] summary .i { transform: rotate(180deg); }
.signs-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 14px; font-size: .95rem; }
.signs-card li { display: flex; gap: 8px; }
.signs-card li .i { color: var(--coral-600); margin-top: 3px; }
@media (max-width: 600px) { .signs-card ul { grid-template-columns: 1fr; } }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.member img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.member-body { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.member h3 { font-size: 1.6rem; }
.role { display: inline-flex; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--sky-100); color: var(--sky-800); font-weight: 700; font-size: .85rem; }
.member p { color: var(--ink-soft); margin: 0; }
.member details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.member summary { cursor: pointer; font-weight: 700; color: var(--sky-700); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.member summary::-webkit-details-marker { display: none; }
.member summary .i { transition: transform .3s var(--ease); }
.member details[open] summary .i { transform: rotate(180deg); }
.member details p + p { margin-top: .8em; }
.member details > div { margin-top: 12px; font-size: .97rem; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr; } }

/* ---------- Tarifs (aperçu) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price { background: var(--surface); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.price .what { font-weight: 700; }
.price .detail { font-size: .9rem; color: var(--ink-soft); }
.price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.04em; margin-top: auto; padding-top: 12px; color: var(--sky-700); }
.price .amount small { font-size: 1rem; letter-spacing: 0; color: var(--ink-soft); font-weight: 600; }
.price--hl { background: var(--ink); color: #fff; box-shadow: none; }
.price--hl .detail { color: rgba(255, 255, 255, .7); }
.price--hl .amount { color: var(--sky-300); }
.price--hl .amount small { color: rgba(255, 255, 255, .7); }
.price-foot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } .price { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; } .price .amount { padding-top: 0; font-size: 1.7rem; } .price > div { flex: 1 1 60%; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head p { margin: .9rem 0 1.4rem; font-size: 1.08rem; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-head { position: static; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--sky-50); display: grid; place-items: center; flex: none; color: var(--sky-700); transition: transform .35s var(--spring), background-color .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--sky-100); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }
.faq .answer .link { white-space: nowrap; }
.wa-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-inner); background: var(--amber-100); color: #5C3A05; font-size: .93rem; line-height: 1.45; max-width: 26rem; }
.wa-note .i { color: var(--amber-600); margin-top: 1px; }
.wa-note a { color: inherit; font-weight: 800; white-space: nowrap; }

/* ---------- Rendez-vous ---------- */
.rdv-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; align-items: start; }
.rdv-side { background: var(--ink); color: #fff; border-radius: 36px; padding: clamp(26px, 3.5vw, 44px); position: sticky; top: calc(var(--header-h) + 16px); overflow: hidden; isolation: isolate; }
.rdv-side h2 { color: #fff; }
.rdv-side > p { color: rgba(255, 255, 255, .75); margin: 1rem 0 1.6rem; }
.rdv-side { padding-bottom: calc(clamp(26px, 3.5vw, 44px) + 56px); }
.rdv-side .hills { position: absolute; inset: auto 0 0 0; height: 84px; z-index: -1; opacity: .2; }
.quick { list-style: none; display: grid; gap: 10px; }
.quick a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .07); text-decoration: none; transition: background-color .2s, transform .3s var(--spring); }
.quick a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.quick .q-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-600); }
.quick .q-icon .i { width: 24px; height: 24px; }
.quick .q-wa { background: #1F9D57; }
.quick .q-mail { background: rgba(255, 255, 255, .14); }
.quick strong { display: block; font-weight: 700; }
.quick span span { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.rdv-address { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.rdv-address address { font-style: normal; color: rgba(255, 255, 255, .85); }
.rdv-address a { color: var(--sky-300); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 960px) {
  .rdv-wrap { grid-template-columns: 1fr; }
  .rdv-side { position: static; border-radius: 30px; }
}

.form-card { padding: clamp(22px, 3.5vw, 40px); }
.form-card h3 { font-size: 1.6rem; }
.form-intro { color: var(--ink-soft); margin: .4rem 0 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .96rem; }
.field .opt { font-weight: 500; color: var(--ink-faint); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 52px; padding: 12px 15px; border-radius: var(--r-field); border: 0;
  background: var(--sky-50); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); transition: box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6E8097; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--sky-500), 0 0 0 4px rgba(62, 144, 240, .18); }
.field-error { font-size: .9rem; color: var(--coral-700); font-weight: 700; margin: 0; }
.has-error input:not([type="radio"]), .has-error textarea { box-shadow: inset 0 0 0 2px var(--coral-600) !important; background: #FFF8F7 !important; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.seg-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-choice label { position: relative; cursor: pointer; }
.seg-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border-radius: 999px; background: var(--sky-50); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: background-color .2s, box-shadow .2s, color .2s, transform .3s var(--spring); }
.seg-choice span .i { color: var(--sky-600); }
.seg-choice input:checked + span { background: var(--sky-600); color: #fff; box-shadow: none; }
.seg-choice input:checked + span .i { color: #fff; }
.seg-choice input:focus-visible + span { outline: 3px solid var(--sky-500); outline-offset: 2px; }
.seg-choice input:active + span { transform: scale(.97); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .97rem; }
.check input { width: 20px; height: 20px; accent-color: var(--sky-600); }
.form-urgence { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-inner); background: var(--coral-100); color: #5E1414; font-size: .95rem; }
.form-urgence .i { color: var(--coral-600); width: 22px; height: 22px; }
.form-urgence a { color: var(--coral-700); font-weight: 800; white-space: nowrap; }
.form-alert { padding: 14px 16px; border-radius: var(--r-inner); background: var(--coral-100); color: #5E1414; font-size: .95rem; box-shadow: inset 0 0 0 1.5px rgba(217, 59, 59, .35); }
.form-alert strong { display: block; color: var(--coral-700); }
.form-alert a { color: var(--coral-700); font-weight: 800; }
.form-alert p { margin: .3em 0 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 230px; }
.form-legal { flex: 1 1 220px; margin: 0; font-size: .86rem; color: var(--ink-soft); }
.form-legal a { color: var(--sky-700); font-weight: 600; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-success .success-icon { width: 68px; height: 68px; border-radius: 22px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 18px; }
.form-success .success-icon .i { width: 36px; height: 36px; }
.form-success p { color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) { .form-success:not([hidden]) .success-icon { animation: pop .6s var(--spring); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- Pages secondaires ---------- */
.page-top { padding-block: clamp(28px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.page-top h1 { margin-top: 18px; }
.page-top .lead { max-width: 52ch; margin-top: 14px; }
.page-top-actions { margin-top: 20px; }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 1.8rem 0 .6rem; }
.legal > section:first-child > h2 { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p:last-child { margin-bottom: 0; }
.legal ul { padding-left: 1.2em; display: grid; gap: 4px; }
.legal-intro { font-size: 1.08rem; color: var(--ink) !important; }
.tarifs-toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(243, 247, 252, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 12px 0; margin-bottom: 8px; }
.tarifs-toolbar .container { display: grid; gap: 10px; }
.search-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line); max-width: 640px; }
.search-row:focus-within { box-shadow: inset 0 0 0 2px var(--sky-500), 0 0 0 4px rgba(62, 144, 240, .18); }
.search-row .i { color: var(--ink-faint); }
.search-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; outline: none; font-size: 1.05rem; }
.tarifs-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tarifs-nav::-webkit-scrollbar { display: none; }
.tarifs-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.tarifs-nav a:hover { color: var(--sky-700); box-shadow: inset 0 0 0 1.5px var(--sky-500); }
.tarifs-count { margin: 0; font-size: .9rem; font-weight: 600; color: var(--sky-700); min-height: 1.3em; }
.tarifs-filtering .tarifs-nav { display: none; }
.tarifs-cat { scroll-margin-top: calc(var(--header-h) + 130px); }
.tarifs-cat + .tarifs-cat { margin-top: clamp(36px, 5vw, 56px); }
.tarifs-cat-title { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.03em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; }
.tarifs-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.tarifs-group { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.tarifs-group-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.tarifs-note { margin: 4px 0 0; font-size: .86rem; color: var(--ink-soft); }
.tarifs-list { list-style: none; margin-top: 14px; display: grid; gap: 6px; }
.tarifs-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--sky-50); font-size: .97rem; }
.tarifs-price { flex: none; font-weight: 800; color: var(--sky-800); background: #fff; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-sm); white-space: nowrap; }
.tarifs-empty { padding: 32px; border-radius: 24px; background: var(--surface); text-align: center; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.tarifs-foot { margin: clamp(28px, 4vw, 44px) 0 0; font-size: .92rem; color: var(--ink-soft); max-width: 60ch; }
.tarifs-filtering .tarifs-foot { display: none; }

/* Pages d’erreur et confirmation */
.error-page { padding-top: clamp(14px, 2vw, 28px); }
.error-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.error-grid--solo { grid-template-columns: minmax(0, 1fr); }
.error-main {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px;
  background: linear-gradient(180deg, var(--sky-100) 0%, #F5FAFF 70%);
  padding: clamp(28px, 4.5vw, 64px) clamp(24px, 4.5vw, 60px) clamp(130px, 13vw, 180px);
}
.error-main h1 { margin-top: 22px; max-width: 16ch; }
.error-main .lead { margin: 18px 0 0; max-width: 46ch; }
.error-main .btn-row { margin-top: 28px; }
.error-photo { position: relative; border-radius: 36px; overflow: hidden; min-height: 320px; }
.error-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.error-help { margin-top: clamp(36px, 5vw, 56px); }
.error-help > h2 { margin-bottom: 14px; }
.urg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) {
  .error-grid { grid-template-columns: minmax(0, 1fr); }
  .error-photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; border-radius: 30px; }
  .error-main { border-radius: 30px; }
}
@media (max-width: 640px) { .urg-pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .error-main .btn-row .btn { flex: 1 1 100%; } }
@media (max-width: 760px) { .tarifs-groups { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 46px; height: 46px; }
.footer-brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.035em; }
.site-footer p, .site-footer address { color: rgba(255, 255, 255, .72); font-size: .97rem; font-style: normal; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 7px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-garde { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; margin: 4px 0 6px; color: #FFB4AC !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: rgba(255, 255, 255, .78); }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.footer-contact { margin-top: 10px; }
.site-footer .footer-note { margin-top: 8px; font-size: .9rem; }
.site-footer .footer-tight { margin: 0; }
.footer-muted { color: rgba(255, 255, 255, .6); font-size: .9rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Apparitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="2"] { transition-delay: .07s; }
  .js [data-reveal="3"] { transition-delay: .14s; }
  .js [data-reveal="4"] { transition-delay: .21s; }
  .hero-grid > * { animation: rise .8s var(--ease) both; }
  .hero-grid > :nth-child(2) { animation-delay: .08s; }
  .hero-grid > :nth-child(3) { animation-delay: .16s; }
  .hero-grid > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.is-static [data-reveal], .is-static .hero-grid > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }

/* ---------- Impression ---------- */
@media print {
  @page { margin: 1.5cm; }
  body { background: #fff; padding: 0 !important; font-size: 11pt; }
  .site-header, .mobile-menu, .tabbar, .skip-link, .tarifs-toolbar, .hero-hills, .hills, .btn, .btn-row, .map, .map-legend, .commune-form,
  form, .form-success, .prep-list input, [data-vn-status] .dot, .status-pill, .now-tag, .segmented { display: none !important; }
  [hidden] { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card, .tile, .price, .tarifs-group, .urg-card, .flow-steps li { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .site-footer { background: #fff; color: #000; margin-top: 2rem; }
  .site-footer *, .tile--ink *, .price--hl * { color: #000 !important; }
  .tile--ink, .price--hl, .rdv-side { background: #fff !important; color: #000 !important; }
  .mode-panel[hidden] { display: grid !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
  .tarifs-list li { background: none; border-bottom: 1px solid #ddd; border-radius: 0; }
  .tarifs-price { box-shadow: none; }
}
