/* Clinique Vétérinaire des Quatre Vents
   Site de clinique classique : en-tête avec appel, hero photo + texte,
   soins, clinique, équipe, tarifs, avis, horaires. Vert sauge de l'enseigne,
   orange de l'intérieur réservé à l'appel. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  --sage-900: #1e3d31;
  --sage-700: #2f5d4a;
  --sage-500: #5e8c74;
  --sage-300: #9cc3ae;
  --sage-100: #e6f0ea;
  --sage-50: #f3f8f5;

  --orange-700: #b8561e;
  --orange-800: #9c4516;
  --orange-400: #e8843a;
  --orange-50: #fdf1e7;

  --red-700: #b3261e;
  --red-50: #fbeceb;

  --ink: #1d2723;
  --ink-soft: #4a5a53;
  --line: #dbe5df;
  --bg: #ffffff;

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --open: #2f9e5b;
  --open-ring: rgb(47 158 91 / 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgb(20 40 32 / 0.08), 0 4px 12px -4px rgb(20 40 32 / 0.12);
  --shadow-md: 0 2px 4px rgb(20 40 32 / 0.06), 0 18px 40px -18px rgb(20 40 32 / 0.28);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--sage-300) var(--sage-50);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  caret-color: var(--sage-700);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sage-700);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sage-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 160ms var(--ease-out);
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───────────── Boutons ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn:active {
  transform: translateY(1px);
}
.btn .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.btn-call {
  background: var(--orange-700);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgb(156 69 22 / 0.7);
}
.btn-call:hover {
  background: var(--orange-800);
}

.btn-lg {
  min-height: 58px;
  font-size: 1.125rem;
  padding: 0.75em 1.6em;
}

.btn-outline {
  color: var(--sage-700);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--sage-300);
}
.btn-outline:hover {
  background: var(--sage-50);
  box-shadow: inset 0 0 0 1.5px var(--sage-500);
}

.btn-urgent {
  color: var(--red-700);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red-700) 55%, white);
}
.btn-urgent:hover {
  background: var(--red-50);
  box-shadow: inset 0 0 0 1.5px var(--red-700);
}

/* ───────────── En-tête ───────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgb(20 40 32 / 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 52px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.site-nav a:hover {
  background: var(--sage-50);
}
.site-nav a[aria-current] {
  color: var(--sage-700);
  background: var(--sage-100);
}
.site-nav .nav-urgent {
  color: var(--red-700);
}
.site-nav .nav-urgent:hover,
.site-nav .nav-urgent[aria-current] {
  background: var(--red-50);
  color: var(--red-700);
}

.header-call {
  min-height: 46px;
  padding: 0.6em 1.15em;
  font-size: 1.0625rem;
}

.menu {
  display: none;
}

@media (max-width: 1239px) {
  .site-nav,
  .header-call .lbl {
    display: none;
  }
  .menu {
    display: block;
    position: relative;
  }
  .menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    min-width: 46px;
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px var(--line);
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
  }
  .menu > summary::-webkit-details-marker {
    display: none;
  }
  .menu[open] > summary {
    background: var(--sage-50);
  }
  .menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 32px));
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    padding: 10px;
  }
  .menu-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .menu-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
  }
  .menu-panel a:hover {
    background: var(--sage-50);
  }
  .menu-panel .nav-urgent {
    color: var(--red-700);
  }
}
@media (max-width: 480px) {
  .brand img {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 0.9375rem;
  }
  .brand-name small {
    font-size: 0.875rem;
  }
  .header-inner {
    gap: 10px;
  }
  .menu > summary .lbl {
    display: none;
  }
}
@media (max-width: 380px) {
  .header-call .num {
    display: none;
  }
}

/* ───────────── Hero ───────────── */

.hero {
  padding: clamp(12px, 2vw, 24px) 0 clamp(40px, 6vw, 72px);
}
.hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
}
.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (min-width: 960px) {
  .hero-media img {
    aspect-ratio: 5 / 5.2;
  }
}
.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 0.9375rem;
  line-height: 1.25;
}
.hero-badge img {
  width: 44px;
  height: 44px;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.hero h1 {
  font-weight: 750;
  font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--sage-700);
}
.hero-lede {
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 0;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.status-dot {
  width: 10px;
  height: 10px;
  flex: none;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--sage-300);
}
.status[data-state="open"] .status-dot {
  background: var(--open);
  box-shadow: 0 0 0 4px var(--open-ring);
}
.status[data-state="closed"] .status-dot {
  background: var(--red-700);
  box-shadow: 0 0 0 4px rgb(179 38 30 / 0.14);
}
.status strong {
  color: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-facts .icon {
  color: var(--sage-500);
}

/* ───────────── Bandeau urgence ───────────── */

.urgent-strip {
  background: var(--red-50);
  border-block: 1px solid color-mix(in srgb, var(--red-700) 18%, white);
}
.urgent-inner {
  display: grid;
  gap: 16px 32px;
  align-items: center;
  padding-block: 22px;
}
@media (min-width: 860px) {
  .urgent-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}
.urgent-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--red-700);
  box-shadow: var(--shadow-sm);
}
.urgent-icon .icon {
  width: 26px;
  height: 26px;
}
.urgent-strip h2 {
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--red-700);
  margin-bottom: 4px;
}
.urgent-strip p {
  margin: 0;
  max-width: 70ch;
}
.urgent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.urgent-actions a:not(.btn) {
  font-weight: 700;
  color: var(--red-700);
}

/* ───────────── Sections ───────────── */

.section {
  padding-block: var(--section);
  scroll-margin-top: var(--header-h);
}
.section.tint {
  background: var(--sage-50);
}
.section-head {
  display: grid;
  gap: 14px 48px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
}
.section-head h2 {
  font-weight: 750;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.section-head p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ───────────── Soins ───────────── */

.services {
  display: grid;
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.service {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}
.service h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3125rem;
  margin-bottom: 10px;
}
.service h3 .icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  stroke-width: 1.7;
}
.service p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.service .who {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
}
.service .who span {
  color: var(--ink-soft);
}
.service.is-urgent h3 {
  color: var(--red-700);
}
.service.is-urgent h3 .icon {
  background: var(--red-50);
  color: var(--red-700);
}

/* ───────────── La clinique (galerie) ───────────── */

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage-100);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 600ms var(--ease-out);
}
.gallery figure:hover img {
  transform: scale(1.03);
}
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
.gallery figure:first-child {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 18px;
  }
  .gallery img {
    aspect-ratio: auto;
  }
  .gallery figure:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .gallery figure:nth-child(4) {
    grid-column: 3 / 5;
  }
}

/* ───────────── Équipe ───────────── */

.vets {
  display: grid;
  gap: 40px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.vet {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.vet img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sage-100);
  margin-bottom: 18px;
}
.vet-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sage-700);
  margin-bottom: 4px;
}
.vet h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.vet .since {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.vet .consults {
  font-size: 0.9375rem;
  margin-bottom: 8px;
}
.vet .consults strong {
  font-weight: 700;
}
.vet details {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.vet summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--sage-700);
  cursor: pointer;
  list-style: none;
}
.vet summary::-webkit-details-marker {
  display: none;
}
.vet summary .icon {
  transition: transform 220ms var(--ease-out);
}
.vet details[open] summary .icon {
  transform: rotate(45deg);
}
.vet details p,
.vet details ul {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.vet details ul {
  margin: 0 0 12px;
  padding-left: 1.1em;
}
.vet details li {
  margin-bottom: 4px;
}

.asv-block {
  margin-top: clamp(56px, 7vw, 88px);
}
.asv-block h3 {
  font-weight: 750;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.asv-block > p {
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 28px;
}
.asv {
  display: grid;
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .asv {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .asv {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.asv img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sage-100);
  margin-bottom: 12px;
}
.asv h4 {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  margin-bottom: 2px;
}
.asv p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}
.asv .since {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sage-700);
  margin-bottom: 4px;
}
.asv .is-cat img {
  background: var(--orange-50);
}

/* ───────────── Tarifs ───────────── */

.prices {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.price-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
}
.price-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3125rem;
  margin-bottom: 14px;
}
.price-group h3 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-500);
}
.price-group.is-urgent h3 .dot {
  background: var(--red-700);
}
.price-group.is-cat h3 .dot {
  background: var(--orange-400);
}
.price-group.is-dog h3 .dot {
  background: var(--sage-700);
}
.price-group dl {
  margin: 0;
}
.price-group dl > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.price-group dt {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}
.price-group dt small {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.price-group dd {
  margin: 0;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.prices-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 28px;
}
.prices-note p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ───────────── Avis ───────────── */

.reviews {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.review {
  margin: 0;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.review .quote-mark {
  width: 34px;
  height: 34px;
  color: var(--sage-300);
  margin-bottom: 12px;
  fill: currentColor;
  stroke: none;
}
.review p {
  font-size: 1.0625rem;
  line-height: 1.6;
  flex: 1;
}
.review footer {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sage-700);
}

/* ───────────── Horaires & accès ───────────── */

.visit {
  display: grid;
  gap: 40px 56px;
}
@media (min-width: 960px) {
  .visit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.hours-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.hours-card h3,
.access h3 {
  font-weight: 700;
  font-size: 1.3125rem;
  margin-bottom: 14px;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td {
  text-align: left;
  padding: 11px 8px 11px 0;
  border-top: 1px solid var(--line);
  vertical-align: baseline;
}
.hours td {
  white-space: nowrap;
}
.hours td.closed {
  white-space: normal;
  color: var(--ink-soft);
}
.hours tbody th {
  font-weight: 700;
}
.hours tr.is-today th,
.hours tr.is-today td {
  background: var(--sage-100);
}
.hours tr.is-today th {
  padding-left: 12px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.hours tr.is-today td:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hours tr.is-today th::after {
  content: " · aujourd’hui";
  font-weight: 400;
  color: var(--sage-700);
  font-size: 0.875rem;
}
@media (max-width: 480px) {
  .hours {
    font-size: 0.9375rem;
  }
  .hours tr.is-today th::after {
    content: "";
  }
}
.hours-urgent {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--red-50);
}
.hours-urgent .icon {
  color: var(--red-700);
  margin-top: 0.15em;
}
.hours-urgent strong {
  color: var(--red-700);
}

.access address {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.facts {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.facts .icon {
  color: var(--sage-500);
  margin-top: 0.15em;
}
.access img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ───────────── Pied de page ───────────── */

.site-footer {
  background: var(--sage-900);
  color: #dfeae4;
  padding: clamp(48px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  }
}
.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
}
.site-footer h2 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sage-300);
  margin-bottom: 10px;
}
.site-footer p,
.site-footer ul {
  margin: 0;
}
.site-footer ul {
  padding: 0;
  list-style: none;
}
.site-footer li a {
  display: inline-block;
  padding: 6px 0;
}
.site-footer a {
  color: #fff;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.875rem;
  color: #b9cdc3;
}

/* ───────────── Barre d'appel mobile ───────────── */

.callbar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -18px rgb(20 40 32 / 0.6);
}
.callbar .btn {
  min-height: 52px;
  min-width: 0;
  gap: 0.45em;
  padding-inline: 0.9em;
  font-size: clamp(0.9375rem, 3.9vw, 1.0625rem);
  white-space: nowrap;
}
.callbar .btn-call {
  flex: 1 1 0;
}
.callbar .btn-urgent {
  flex: 0 0 auto;
}
@media (max-width: 359px) {
  .callbar .btn {
    padding-inline: 0.7em;
  }
}
body {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
@media (min-width: 1080px) {
  .callbar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ───────────── Page urgences ───────────── */

.page-hero {
  padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px);
}
.page-hero.is-urgent {
  background: var(--red-50);
}
.page-hero-grid {
  display: grid;
  gap: 32px 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
.page-hero h1 {
  font-weight: 750;
  font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.page-hero.is-urgent h1 {
  color: var(--red-700);
}
.page-hero .lede {
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  color: var(--ink);
  max-width: 40ch;
  margin-bottom: 28px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 32px);
}
.info-card dl {
  margin: 0;
}
.info-card dl > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.info-card dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.info-card dt {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.info-card dd {
  margin: 0;
  font-weight: 700;
}
.info-card dd small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}
@media (max-width: 400px) {
  .info-card dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-700);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.3125rem;
}
.steps h3 {
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
.steps p {
  margin: 0;
  color: var(--ink-soft);
}
.signs {
  display: grid;
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .signs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.signs li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.signs .icon {
  color: var(--red-700);
  margin-top: 0.2em;
}
.split {
  display: grid;
  gap: 32px 56px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.split h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.after-note {
  margin: 24px 0 0;
}
.muted {
  color: var(--ink-soft);
}

/* ───────────── Pages de texte ───────────── */

.prose {
  max-width: 72ch;
}
.prose h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2em 0 0.6em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose dl {
  margin: 0 0 1em;
}
.prose dl > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 560px) {
  .prose dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.prose dt {
  font-weight: 700;
}
.prose dd {
  margin: 0;
}
.todo {
  background: var(--orange-50);
  box-shadow: inset 0 -2px 0 var(--orange-400);
  padding: 0 0.25em;
  border-radius: 4px;
}

.flush-top {
  padding-top: 0;
}

/* ───────────── Ajustements après inspection ───────────── */

.hero-media img {
  object-position: 68% 50%;
}
.status a {
  white-space: nowrap;
}
@media (min-width: 900px) {
  .gallery figure:nth-child(n + 5) {
    grid-column: span 2;
  }
}
@media (max-width: 480px) {
  .header-call .num,
  .header-call .lbl {
    display: none;
  }
  .header-call {
    min-width: 46px;
    padding: 0 12px;
  }
}

/* ───────────── Correctifs de la relecture de finition ───────────── */

a[href^="tel:"] {
  white-space: nowrap;
}
a[href^="tel:"]:not(.btn) {
  font-family: var(--font-display);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.section-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }
}
.section-head p {
  max-width: 62ch;
}

.hours-card {
  align-self: start;
}
.prices {
  align-items: start;
}
.price-group.is-cat h3 .dot {
  background: var(--sage-300);
}

.vets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.vet {
  flex: 0 1 100%;
}
@media (min-width: 620px) {
  .vet {
    flex-basis: calc((100% - 28px) / 2);
  }
}
@media (min-width: 1000px) {
  .vet {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (max-width: 899px) {
  .gallery figure:last-child {
    grid-column: 1 / -1;
  }
}

.footer-brand strong {
  line-height: 1.2;
  margin-bottom: 4px;
}
.since {
  font-variant-numeric: tabular-nums;
}

/* La réserve pour la barre d'appel mobile passe dans le pied de page (pas de bande blanche). */
body {
  padding-bottom: 0;
}
@media (max-width: 1079px) {
  .site-footer {
    padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom));
  }
}

/* ───────────── Menu : une ligne, jamais de retour ───────────── */

.brand-name,
.site-nav a {
  white-space: nowrap;
}
.site-nav a {
  padding: 0 10px;
}
/* ───────────── Vidéo de présentation ───────────── */

.video {
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--sage-900);
  box-shadow: var(--shadow-md);
}
.video figcaption {
  margin-top: 14px;
  max-width: 72ch;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.video figcaption strong {
  color: var(--ink);
}

/* ───────────── Carte ───────────── */

.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sage-100);
}
.map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
}
.map-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ───────────── Formulaire de contact ───────────── */

.contact-grid {
  display: grid;
  gap: 32px 56px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field-row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.0625rem;
}
.optional {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--sage-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--sage-500);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px var(--sage-100);
}
.field [aria-invalid="true"] {
  border-color: var(--red-700);
}
.field-help {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.field-error {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--red-700);
}
.field-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.field-check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--sage-700);
}
.field-check label {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.form-status[data-state="ok"] {
  background: var(--sage-100);
  color: var(--sage-900);
}
.form-status[data-state="error"] {
  background: var(--red-50);
  color: var(--red-700);
}
.contact-aside {
  display: grid;
  gap: 16px;
}
.aside-card {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sage-50);
}
.aside-card p {
  margin: 0;
}
.aside-card .icon {
  color: var(--sage-700);
  margin-top: 0.2em;
}
.aside-card.is-urgent {
  background: var(--red-50);
}
.aside-card.is-urgent .icon,
.aside-card.is-urgent strong {
  color: var(--red-700);
}

.field {
  align-content: start;
}
@media (max-width: 959px) {
  .contact-aside {
    order: -1;
  }
}
