/* Clinique des Tilleuls — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Bricolage"; src: url("/exemples/veterinaire/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/exemples/veterinaire/fonts/atkinson.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #FFF8EC; --bg-2: #FBE9CF; --card: #FFFFFF; --ink: #2A2B3F; --muted: #55536A;
  --line: rgba(42, 43, 63, .13); --line-2: rgba(42, 43, 63, .3);
  --deep: #2E5A4F; --deep-ink: #FFF6E6; --deep-muted: #CFE3D8; --sun: #F7C04A; --leaf: #8DBF8A;
  --acc: #F0786A; --acc-2: #E9604F; --acc-ink: #16213A; --acc-text: #B53A27;
  --err: #B3261E; --err-light: #FFB4AB;
  --radius: 18px; --shadow: 0 1px 0 rgba(42, 43, 63, .05), 0 24px 44px -30px rgba(42, 43, 63, .5);
  --head: "Bricolage", system-ui, sans-serif; --head-w: 700; --font: "Atkinson", system-ui, sans-serif;
}
/* corail éclairci sur le vert profond : 4,6:1 ; les cartes claires posées dessus gardent le corail foncé */
.dark { --acc-text: #FFB4A9; }
.dark .basket, .dark .card, .dark .item { --acc-text: #B53A27; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); }
main, .foot { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: var(--head-w, 400); line-height: 1.02; letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--acc-text); font-style: italic; }
.dark h1 em, .dark h2 em { color: var(--acc-text); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--acc-text); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--acc); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Bandeau démo */
.demo-bar { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; background: #14181b; color: #c9d1d6; font: 400 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.demo-bar strong { color: #fff; font-weight: 700; }
.demo-bar a { color: #ffd479; font-weight: 700; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }
.demo-sim { color: #ffd479; font-weight: 700; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 24px -22px rgba(0,0,0,.5); }
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font: var(--head-w, 400) 25px/1 var(--head); letter-spacing: -0.01em; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--acc); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--acc); color: var(--acc-ink); }
.btn-main:hover { background: var(--acc-2); }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.top-cta { min-height: 42px; padding: 8px 18px; font-size: 15px; }

/* Typo de section */
.kicker { font: 700 13px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-text); margin-bottom: 14px; }
.dark .kicker { color: var(--acc-text); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(34px, 5vw, 58px); }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.dark { background: var(--deep); color: var(--deep-ink); }
.dark .section-lead { color: var(--deep-muted); }
.alt { background: var(--bg-2); }
.fine { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.dark .fine { color: var(--deep-muted); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); }
.hero-lead { margin-top: 20px; font-size: 19px; max-width: 540px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); }
.hero-facts strong { color: var(--ink); }

/* Cartes, champs, pastilles */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: var(--acc-text); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.field { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: #1a1a1a; font: 400 16px/1.4 var(--font); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--acc-text); outline-offset: 1px; }
.form-error { min-height: 1.3em; margin-top: 8px; color: var(--err); font-size: 14px; font-weight: 600; }
.dark .form-error { color: var(--err-light); }
/* Cartes claires posées sur un fond sombre : on reprend les couleurs du fond clair */
.dark .basket .fine, .dark .card .fine, .dark .item .fine { color: var(--muted); }
.dark .basket .form-error, .dark .card .form-error { color: var(--err); }
.dark .basket .basket-label { color: var(--muted); }
.dark .basket .btn-line, .dark .card .btn-line, .dark .item .btn-line { color: var(--ink); }
.dark .basket :focus-visible, .dark .card :focus-visible { outline-color: var(--ink); }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--card); color: var(--ink); }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 700 20px/1 var(--font); cursor: pointer; }
.stepper button:hover { background: var(--bg-2); }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; }
.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 700 15px/1.2 var(--font); }
.step-label span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; }
.dark .step-label span { background: var(--acc); color: var(--acc-ink); }
.step { margin-bottom: 26px; }

/* Panier */
.book-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.basket { position: sticky; top: 92px; padding: 24px; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.basket-label { font: 700 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-text); }
.basket-lines { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.basket-lines li { display: flex; justify-content: space-between; gap: 12px; }
.basket-lines li.sub { color: var(--muted); font-size: 14px; }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 4px; padding-top: 14px; border-top: 1.5px solid var(--line-2); font: 700 15px/1.2 var(--font); }
.basket-total strong { font: var(--head-w, 400) 34px/1 var(--head); }
.basket form { margin-top: 12px; }
.done { text-align: center; padding: 8px 0 0; }
.done h3 { font-size: 30px; margin: 12px 0 8px; }
.done-mark { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
.done-mark svg { width: 32px; height: 32px; }

/* FAQ */
.faq { margin: 0; display: grid; gap: 0; }
.faq > div { padding: 18px 0; border-top: 1px solid var(--line-2); }
.faq dt { font-weight: 700; }
.faq dd { margin: 6px 0 0; color: var(--muted); }

/* Pied de page */
.foot { padding: 52px 0 96px; background: var(--ink); color: #d7dcd8; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; font-size: 15px; }
.foot .brand-name { color: #fff; font-size: 28px; }
.foot a { color: #fff; }
.foot-small { margin-top: 6px; font-size: 13px; opacity: .75; }
.foot-credit a { text-decoration: none; font-weight: 700; color: #ffd479; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); display: none; }

@media (max-width: 960px) {
  .hero-grid, .book-grid { grid-template-columns: 1fr; }
  .basket { position: static; }
  .nav { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.06; }
h1 em, h2 em { font-style: normal; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); }
.section-head h2, .infos-grid h2 { font-size: clamp(32px, 4.6vw, 52px); }
.infos-grid h2 { margin-bottom: 20px; }
.urgence { background: var(--deep); color: var(--deep-ink); position: relative; z-index: 55; }
.urgence-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding: 10px 0; font-size: 15px; }
.urgence-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot-state { width: 12px; height: 12px; border-radius: 50%; background: #6FD08C; box-shadow: 0 0 0 4px rgba(111, 208, 140, .25); flex: none; }
.urgence.is-closed .dot-state { background: #F0786A; box-shadow: 0 0 0 4px rgba(240, 120, 106, .25); }
.urgence-call { color: #2A2B3F; background: #F7C04A; padding: 8px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.urgence-call:hover { background: #FAD274; }
.hero-fig { margin: 0; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-2); }
.triage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; margin-bottom: 14px; }
.triage-form .field:first-child { margin-top: 0; }
.triage-form .chip { min-height: 42px; padding: 6px 14px; font-size: 15px; }
.triage-out { padding: 22px; overflow: hidden; }
.triage-out img { max-width: none; width: calc(100% + 44px); margin: -22px -22px 16px; height: 170px; object-fit: cover; }
.verdict { display: inline-block; padding: 5px 12px; border-radius: 999px; font: 700 14px/1.3 var(--font); margin-bottom: 10px; }
.verdict.u { background: #F8D2CC; color: #7A1F12; }
.verdict.d { background: #FFE9C2; color: #6B3E00; }
.verdict.s { background: #DDEFD9; color: #1F4A24; }
.triage-out h3 { font-size: 26px; margin-bottom: 10px; }
.triage-out ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 5px; }
.triage-out .btn { margin-right: 8px; margin-top: 4px; }
.rappel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.rappel .field:first-child { margin-top: 0; }
.rappel .chip { min-height: 42px; padding: 6px 14px; font-size: 15px; }
.rappel-big { font: 700 clamp(26px, 3.4vw, 38px)/1.1 var(--head); }
.rappel-out p + p { margin-top: 8px; }
.rappel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.rappel-out .btn-main { background: var(--ink); color: #fff; }
.pad { padding: 26px; }
.pad h3 { font-size: 26px; margin-bottom: 10px; }
.dark .chip { background: transparent; color: var(--deep-ink); border-color: rgba(255, 246, 230, .35); }
.dark .chip:hover { border-color: var(--acc); }
.dark .chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.dark .chip:disabled { opacity: .4; }
.dark .step-note { margin-top: 10px; color: var(--deep-muted); }
.dark .book-steps .field > span { color: var(--deep-ink); }
.dark .form-error { color: var(--err-light); }
.pets { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pets li label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid rgba(255, 246, 230, .25); cursor: pointer; }
.pets li label:hover { border-color: var(--acc); }
.pets input { width: 22px; height: 22px; accent-color: var(--acc); flex: none; }
.pets .sp { color: var(--deep-muted); font-size: 14px; }
.pets button { margin-left: auto; border: 0; background: none; color: var(--acc-text); text-decoration: underline; font: 600 13px/1 var(--font); cursor: pointer; padding: 8px 4px; }
.pet-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.pet-add .field { margin-top: 0; }
.pet-add .btn { min-height: 48px; }
.dark .btn-line { color: var(--deep-ink); }
.dark .basket .btn-line, .dark .card .btn-line { color: var(--ink); }
.basket-lines .empty { color: var(--muted); }
.basket-total small { font-weight: 400; color: var(--muted); }
.hours { margin: 0 0 24px; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.hours div.today { font-weight: 700; color: var(--acc-text); }
.hours dt, .hours dd { margin: 0; }
.garde p + p { margin-top: 8px; }
.side-photo { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.infos-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .triage-grid, .rappel, .infos-grid { grid-template-columns: 1fr; } .pet-add { grid-template-columns: 1fr 1fr; } .pet-add .btn { grid-column: 1 / -1; } }

.reviews { --rv-star: #B53A27; --rv-tag-bg: rgba(42, 43, 63, .07); --rv-display: var(--head); }

/* ---------- Avis des clients (avis de démonstration) ---------- */
.reviews { padding: clamp(56px, 8vw, 100px) 0; }
.reviews .section-head { margin-bottom: 32px; }
.rv-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.rv-summary { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-score { display: flex; align-items: baseline; gap: 4px; font-size: 18px; color: var(--muted); }
.rv-score strong { font-size: 56px; line-height: 1; color: var(--ink); font-family: var(--rv-display, inherit); }
.rv-star-row { display: block; width: 100px; height: 18px; }
.rv-star-row.rv-big { width: 140px; height: 25px; margin: 6px 0; }
.rv-on { fill: var(--rv-star); }
.rv-off { fill: none; stroke: var(--rv-star); stroke-width: 1.4; }
.rv-half { fill: var(--rv-star); opacity: .55; }
.rv-count { font-weight: 700; margin-bottom: 14px; }
.rv-bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.rv-bar { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rv-fill { display: block; height: 100%; background: var(--rv-star); }
.rv-n { text-align: right; }
.rv-source { margin-bottom: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--card); font: 700 16px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rv-btn:hover { opacity: .9; }
.rv-btn-line { background: transparent; color: var(--ink); margin-top: 16px; }
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rv-chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rv-chip:hover:not(:disabled) { border-color: var(--ink); }
.rv-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
.rv-chip:disabled { opacity: .45; cursor: not-allowed; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rv-item { padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rv-head strong { font-size: 17px; }
.rv-meta { font-size: 14px; color: var(--muted); }
.rv-tag { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--rv-tag-bg, rgba(0, 0, 0, .06)); font-size: 13px; font-weight: 700; color: var(--ink); }
.rv-text { margin: 10px 0 0; }
.rv-reply { margin-top: 14px; padding: 12px 16px; border-radius: 12px; border-left: 4px solid var(--rv-star); background: var(--rv-tag-bg, rgba(0, 0, 0, .05)); font-size: 15.5px; }
.rv-reply-head { margin: 0 0 4px; font-weight: 800; font-size: 14px; color: var(--muted); }
.rv-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.rv-dialog { width: min(520px, 100vw - 24px); padding: 28px; border: 0; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.rv-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.rv-dialog h3 { margin: 0 0 10px; font-size: 26px; }
.rv-dialog p { margin: 0 0 12px; }
.rv-dlg-sub { color: var(--muted); }
.rv-sms { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--rv-tag-bg, #eee); }
.rv-sms p { margin: 0 0 6px; font-weight: 600; }
.rv-sms small { color: var(--muted); font-size: 13px; }
.rv-rules { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; }
.reviews :focus-visible { outline: 3px solid var(--rv-star); outline-offset: 3px; }
@media (max-width: 900px) { .rv-grid { grid-template-columns: 1fr; } .rv-summary { position: static; } }

/* ---------- Chaleur : lumière, tendresse, un peu de joie ---------- */
body { background: radial-gradient(1200px 520px at 85% -120px, rgba(247, 192, 74, .32), transparent 70%), var(--bg); }
.top { background: rgba(255, 248, 236, .92); backdrop-filter: blur(8px); }
.btn { box-shadow: 0 6px 16px -10px rgba(181, 58, 39, .55); }
.btn-line { box-shadow: none; }
.card, .basket, .rv-summary, .rv-item { border-radius: 24px; }
.hero { position: relative; }
.hero-fig { position: relative; isolation: isolate; }
.hero-fig::before { content: ""; position: absolute; inset: -18px -18px 22px 26px; border-radius: 36px; background: linear-gradient(135deg, var(--sun), #F9A58F); transform: rotate(2.4deg); z-index: -1; opacity: .85; }
.hero-photo { border-radius: 30px; transform: rotate(-1.2deg); box-shadow: 0 30px 50px -30px rgba(120, 70, 20, .55); }
.hero-sticker { position: absolute; left: -14px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 14.5px/1.2 var(--font); box-shadow: 0 14px 28px -16px rgba(120, 70, 20, .6); transform: rotate(-3deg); }
.hero-sticker svg { width: 22px; height: 22px; flex: none; }
.hero h1 em { color: var(--acc-text); background: linear-gradient(transparent 62%, rgba(247, 192, 74, .55) 62%); }
.dark h1 em, .dark h2 em { background: none; }
.hero-facts li::before { content: "♥ "; color: var(--acc-text); }

/* L'équipe */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.team-card { margin: 0; background: var(--card); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s; }
.team-card:nth-child(1) { transform: rotate(-.8deg); }
.team-card:nth-child(2) { transform: translateY(14px) rotate(.6deg); }
.team-card:nth-child(3) { transform: rotate(-.4deg); }
.team-card:hover { transform: translateY(-4px) rotate(0); }
.team-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.team-card figcaption { padding: 16px 20px 20px; }
.team-card strong { display: block; font: var(--head-w, 700) 20px/1.2 var(--head); }
.team-card span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.team-quote { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 720px; text-align: center; font: 600 clamp(20px, 2.6vw, 26px)/1.35 var(--head); color: var(--ink); }
.team-quote small { display: block; margin-top: 8px; font: 400 15px/1.4 var(--font); color: var(--muted); }
.triage-out img, .side-photo { border-radius: 0; }
.side-photo { border-radius: 18px; height: 210px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; } .team-card:nth-child(n) { transform: none; } .hero-sticker { left: 8px; } .hero-fig::before { inset: -10px -8px 16px 12px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo, .team-card { transition: transform .4s ease; }
  .hero-fig:hover .hero-photo { transform: rotate(0); }
  .hero-paw { animation: pat 3.6s ease-in-out infinite; }
}
@keyframes pat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-5px) rotate(4deg); } }

/* Quelques empreintes discrètes en arrière-plan (chien, chat) */
.hero, #equipe, .reviews, #infos { position: relative; }
.hero > .wrap, #equipe > .wrap, .reviews > .wrap, #infos > .wrap { position: relative; z-index: 1; }
.hero::before, .hero::after, #equipe::before, .reviews::before, #infos::before { content: ""; position: absolute; z-index: 0; pointer-events: none; background: no-repeat center / contain; }
.hero::before { left: 3%; bottom: 6%; width: 74px; height: 74px; opacity: .1; transform: rotate(-24deg); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></svg>"); }
.hero::after { right: 40%; top: 7%; width: 52px; height: 52px; opacity: .12; transform: rotate(18deg); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%232E5A4F'><path d='M32 31c-7 0-13 6-13 12 0 5 4 7 8 6 3-1 4-2 5-2s2 1 5 2c4 1 8-1 8-6 0-6-6-12-13-12z'/><circle cx='16' cy='28' r='4.6'/><circle cx='25' cy='18' r='4.6'/><circle cx='39' cy='18' r='4.6'/><circle cx='48' cy='28' r='4.6'/></g></svg>"); }
#equipe::before { right: 4%; top: 9%; width: 88px; height: 88px; opacity: .1; transform: rotate(16deg); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></svg>"); }
.reviews::before { left: 2%; top: 5%; width: 64px; height: 64px; opacity: .12; transform: rotate(-14deg); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%232E5A4F'><path d='M32 31c-7 0-13 6-13 12 0 5 4 7 8 6 3-1 4-2 5-2s2 1 5 2c4 1 8-1 8-6 0-6-6-12-13-12z'/><circle cx='16' cy='28' r='4.6'/><circle cx='25' cy='18' r='4.6'/><circle cx='39' cy='18' r='4.6'/><circle cx='48' cy='28' r='4.6'/></g></svg>"); }
#infos::before { right: 3%; bottom: 5%; width: 80px; height: 80px; opacity: .1; transform: rotate(-20deg); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></svg>"); }
@media (max-width: 960px) { .hero::after { display: none; } .hero::before, #equipe::before, #infos::before { width: 56px; height: 56px; } }

.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card:nth-child(4) { transform: translateY(10px) rotate(.5deg); }
.team-card:hover { transform: translateY(-4px) rotate(0); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .team-card:nth-child(n) { transform: none; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.triage-out img, .side-photo { object-position: center 8%; }
.triage-out img { height: 230px; object-position: center 0%; }

/* Fond : empreintes de pattes semées sur toute la page */
body { background: radial-gradient(1200px 520px at 85% -120px, rgba(247, 192, 74, .32), transparent 70%), url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'><g opacity='.15' transform='translate(20 30) rotate(-24) scale(0.62)'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></g><g opacity='.15' transform='translate(150 10) rotate(18) scale(0.5)'><g fill='%232E5A4F'><path d='M32 31c-7 0-13 6-13 12 0 5 4 7 8 6 3-1 4-2 5-2s2 1 5 2c4 1 8-1 8-6 0-6-6-12-13-12z'/><circle cx='16' cy='28' r='4.6'/><circle cx='25' cy='18' r='4.6'/><circle cx='39' cy='18' r='4.6'/><circle cx='48' cy='28' r='4.6'/></g></g><g opacity='.15' transform='translate(110 120) rotate(30) scale(0.44)'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></g><g opacity='.15' transform='translate(10 150) rotate(-12) scale(0.5)'><g fill='%232E5A4F'><path d='M32 31c-7 0-13 6-13 12 0 5 4 7 8 6 3-1 4-2 5-2s2 1 5 2c4 1 8-1 8-6 0-6-6-12-13-12z'/><circle cx='16' cy='28' r='4.6'/><circle cx='25' cy='18' r='4.6'/><circle cx='39' cy='18' r='4.6'/><circle cx='48' cy='28' r='4.6'/></g></g><g opacity='.15' transform='translate(190 170) rotate(-8) scale(0.58)'><g fill='%23E9604F'><path d='M32 28c-9 0-17 8-17 15 0 6 5 8 10 7 4-1 5-2 7-2s3 1 7 2c5 1 10-1 10-7 0-7-8-15-17-15z'/><ellipse cx='13' cy='26' rx='5.5' ry='7.5' transform='rotate(-20 13 26)'/><ellipse cx='25' cy='15' rx='5.5' ry='8'/><ellipse cx='39' cy='15' rx='5.5' ry='8'/><ellipse cx='51' cy='26' rx='5.5' ry='7.5' transform='rotate(20 51 26)'/></g></g></svg>") 0 0 / 260px 260px, var(--bg); }

/* Nom de la clinique, bien lisible */
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name small { font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--acc-text); }
.brand-name b { font: inherit; }
.foot .brand-name small { color: var(--sun); }
.foot .brand-name { font-size: 28px; }

/* Carrousel du héros */
.hero-slides { position: relative; aspect-ratio: 3 / 2; border-radius: 30px; transform: rotate(-1.2deg); box-shadow: 0 30px 50px -30px rgba(120, 70, 20, .55); background: var(--bg-2); overflow: hidden; transition: transform .4s ease; }
.hero-fig .hero-slides .hero-photo { position: absolute; inset: 0; height: 100%; border-radius: 0; transform: none; box-shadow: none; opacity: 0; }
.hero-slides .hero-photo:first-child { opacity: 1; }
.js .hero-slides .hero-photo { transition: opacity 1.1s ease; }
.hero-slides .hero-photo.is-on { opacity: 1; }
.js .hero-slides .hero-photo:first-child:not(.is-on) { opacity: 0; }
.hero-fig:hover .hero-slides { transform: rotate(0); }
@media (max-width: 480px) { .brand-name small { white-space: nowrap; font-size: 9.5px; letter-spacing: .1em; } }
