/* Clinique Vétérinaire de Courtenay — feuille de style du site
   Charte « Collier » : vert #1E5B45, terracotta #C8472F, police Nunito (auto-hébergée, licence OFL). */

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/nunito-latin-800.woff2") format("woff2"); }

:root {
  color-scheme: light; /* une seule ambiance : la charte de la clinique, blanc et vert */
  --vert: #1E5B45;
  --vert-fonce: #174A38;
  --vert-nuit: #0F3226;
  --terracotta: #C8472F;
  --terracotta-fonce: #A93A25;
  --encre: #17261F;
  --gris: #4E6259;
  --ligne: #D3E1D9;
  --menthe: #EAF2ED;
  --menthe-pale: #F5F9F6;
  --rose: #FBEEEA;
  --blanc: #FFFFFF;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 30px;
  --wrap: 1240px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --band: clamp(3.25rem, 7.5vw, 6.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--vert); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-fonce); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -0.025em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 800; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--vert); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 0 0 var(--r-s) 0; }
.skip:focus { left: 0; color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 800; font-size: 1.02rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: .92rem 1.45rem; border-radius: 999px; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--call { background: var(--terracotta); color: #fff; }
.btn--call:hover { background: var(--terracotta-fonce); color: #fff; }
.btn--vert { background: var(--vert); color: #fff; }
.btn--vert:hover { background: var(--vert-nuit); color: #fff; }
.btn--ghost { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn--ghost:hover { background: var(--vert); color: #fff; }
.btn--blanc { background: #fff; color: var(--vert); }
.btn--blanc:hover { background: var(--menthe); color: var(--vert-nuit); }
.btn--ligne { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ligne:hover { background: #fff; color: var(--vert); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.lien { font-weight: 800; }

/* ---------- Bandeau d'aperçu ---------- */
.apercu { background: var(--encre); color: #fff; font-size: .9rem; text-align: center; padding: .5rem var(--pad); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: none; }
.nav a { color: var(--encre); font-weight: 700; text-decoration: none; padding: .45rem .1rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--vert); border-bottom-color: var(--ligne); }
.nav a[aria-current="page"] { color: var(--vert); border-bottom-color: var(--terracotta); }
.top__call { margin-left: auto; padding: .7rem 1.1rem; font-size: .98rem; white-space: nowrap; }
.burger { order: 3; display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 800; color: var(--vert); background: var(--menthe); border: 0; border-radius: 999px; padding: .7rem 1rem; cursor: pointer; }
.burger__bars { width: 18px; height: 12px; position: relative; display: block; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.burger__bars::before { top: 1px; } .burger__bars::after { bottom: 1px; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-4px) rotate(-45deg); }
.nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ligne); padding: .5rem var(--pad) 1.2rem; box-shadow: 0 18px 30px -18px rgba(15,50,38,.35); }
.nav.is-open a { padding: .85rem 0; border-bottom: 1px solid var(--ligne); font-size: 1.1rem; }
.no-js .nav { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.no-js .burger { display: none; }
@media (max-width: 520px) { .top__call span { display: none; } .top__call { padding: .75rem; } .brand img { height: 40px; } }
@media (min-width: 1280px) {
  .burger { display: none; }
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; gap: 1.45rem; margin-left: auto; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav.is-open a { padding: .45rem .1rem; border-bottom: 3px solid transparent; font-size: inherit; }
  .top__call { margin-left: .5rem; }
}

/* ---------- Sections ---------- */
.band { padding-block: var(--band); }
.band--menthe { background: var(--menthe); }
.band--pale { background: var(--menthe-pale); }
.band--vert { background: var(--vert); color: #fff; }
.band--nuit { background: var(--vert-nuit); color: #fff; }
.band--vert a:not(.btn), .band--nuit a:not(.btn) { color: #fff; }
.band--serre { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.tete { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.tete p { font-size: 1.16rem; color: var(--gris); margin: .9rem 0 0; }
.tete--court { margin-bottom: 1.2rem; }
.band--vert .tete p, .band--nuit .tete p { color: rgba(255,255,255,.86); }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--gris); max-width: 40rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split--large { grid-template-columns: 1.15fr .85fr; } .split--inverse { grid-template-columns: .85fr 1.15fr; } }
.mesure { max-width: 42rem; }

/* ---------- Accueil : héros et cadran ---------- */
.hero { padding-block: clamp(2.2rem, 5vw, 4.2rem) clamp(2.6rem, 6vw, 5rem); background: linear-gradient(180deg, var(--menthe-pale), #fff 70%); overflow: hidden; }
.hero__grid { display: grid; gap: 2.4rem; align-items: center; }
.hero__appel { font-weight: 700; color: var(--vert); margin: 0 0 1rem; }
.hero h1 { color: var(--vert-nuit); }
.hero .lede { margin: 1.3rem 0 1.5rem; }
.hero__etat { display: inline-block; margin: 0 0 1.1rem; font-weight: 800; color: var(--vert); background: var(--menthe); border-radius: 999px; padding: .3rem .95rem; }
@media (min-width: 900px) { .hero__etat { display: none !important; } }
.hero__avant { margin: 1.5rem 0 0; font-size: .98rem; color: var(--gris); }
.hero__avant strong { color: var(--encre); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }

.dial { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 480 / 572; }
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__duo { position: absolute; left: -5%; bottom: -1.5%; width: 60%; height: auto; pointer-events: none; }
@media (min-width: 900px) { .dial__duo { left: -9%; width: 63%; } }
.dial__etat { position: absolute; left: 47.9%; top: 40.2%; width: 53%; transform: translate(-50%, -50%); text-align: center; line-height: 1.25; }
.dial__jour { font-size: clamp(.85rem, 2.6vw, 1rem); font-weight: 700; color: var(--gris); }
.dial__mot { display: block; font-size: clamp(2rem, 7.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--vert); margin: .12em 0 .16em; }
.dial__mot.is-ferme { color: var(--encre); }
.dial__detail { font-size: clamp(.86rem, 2.7vw, 1.02rem); font-weight: 600; color: var(--encre); }
.medal { transform-box: view-box; transform-origin: 361px 366px; animation: balance 2.4s cubic-bezier(.36,.1,.3,1) .35s 1 both; cursor: pointer; }
.medal text { font-family: "Nunito", system-ui, sans-serif; fill: #fff; text-anchor: middle; }
.medal:hover { animation: balance-court 1.1s ease-out 1; }
@keyframes balance { 0% { transform: rotate(13deg); } 22% { transform: rotate(-8deg); } 46% { transform: rotate(5deg); } 70% { transform: rotate(-2.5deg); } 100% { transform: rotate(0); } }
@keyframes balance-court { 0% { transform: rotate(0); } 30% { transform: rotate(-5deg); } 65% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .medal, .medal:hover { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Reprise (bandeau vert) ---------- */
.reprise h2 { max-width: 22ch; }
.reprise__cols { display: grid; gap: 1.6rem 3rem; margin-top: 2rem; }
.reprise__cols h3 { font-size: 1.05rem; color: #BFE0CF; margin-bottom: .55rem; }
.reprise__cols ul { list-style: none; padding: 0; margin: 0; }
.reprise__cols li { padding: .5rem 0 .5rem 1.7rem; position: relative; border-top: 1px solid rgba(255,255,255,.18); font-weight: 600; }
.reprise__cols li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: .75rem; height: .75rem; border: 2.5px solid #fff; border-right-color: transparent; border-radius: 50%; transform: rotate(0deg); }
@media (min-width: 820px) { .reprise__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Soins : rangées éditoriales ---------- */
.rows { display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); list-style: none; padding: 0; margin: 0; }
.rows > li { border-top: 1px solid var(--ligne); padding: 1.35rem 0 1.5rem; }
.rows h3 { color: var(--vert-nuit); margin-bottom: .4rem; }
.rows h3 a { color: inherit; text-decoration: none; }
.rows h3 a:hover { color: var(--terracotta-fonce); text-decoration: underline; }
.rows p { margin: 0; color: var(--gris); }
.rows .qui { display: inline-block; margin-left: .5rem; font-size: .82rem; font-weight: 800; color: var(--terracotta-fonce); background: var(--rose); border-radius: 999px; padding: .1rem .6rem; vertical-align: .12em; letter-spacing: 0; }
@media (min-width: 760px) { .rows { grid-template-columns: 1fr 1fr; } }
.rows--une { grid-template-columns: 1fr !important; }
.soin { display: grid; gap: .8rem 3rem; border-top: 1px solid var(--ligne); padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.soin h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: var(--vert-nuit); }
.soin p:last-child, .soin ul:last-child { margin-bottom: 0; }
.soin ul { color: var(--gris); }
.soin li { margin-bottom: .25rem; }
@media (min-width: 860px) { .soin { grid-template-columns: 18rem 1fr; } }

/* ---------- Cardiologie ---------- */
.cardio { position: relative; overflow: hidden; padding-bottom: calc(var(--band) + 84px); }
.cardio__trace { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 118px; opacity: .24; pointer-events: none; }
.cardio .wrap { position: relative; }
.cardio h2 { max-width: 24ch; }
.coches { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.coches li { position: relative; padding: .55rem 0 .55rem 1.8rem; border-top: 1px solid var(--ligne); }
.band--vert .coches li, .band--nuit .coches li { border-top-color: rgba(255,255,255,.2); }
.coches li::before { content: ""; position: absolute; left: .1rem; top: 1.05em; width: .75rem; height: .75rem; border: 2.5px solid var(--terracotta); border-right-color: transparent; border-radius: 50%; }
.band--vert .coches li::before, .band--nuit .coches li::before { border-color: #F2B5A6; border-right-color: transparent; }
.encart { background: var(--menthe); border-radius: var(--r-m); padding: 1.5rem 1.6rem; }
.encart h3 { margin-bottom: .5rem; color: var(--vert-nuit); }
.encart p:last-child { margin-bottom: 0; }
.encart--blanc { background: #fff; color: var(--encre); }
.encart--blanc a:not(.btn) { color: var(--vert) !important; }
.encart--rose { background: var(--rose); }

/* ---------- Horaires ---------- */
.horaires { width: 100%; border-collapse: collapse; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: .8rem .2rem; border-top: 1px solid var(--ligne); vertical-align: top; }
.horaires th { font-weight: 800; width: 42%; }
.horaires td span { display: inline-block; margin-right: .9rem; white-space: nowrap; }
.horaires tr.is-jour th, .horaires tr.is-jour td { color: var(--vert); }
.horaires tr.is-jour th::after { content: "aujourd'hui"; display: inline-block; margin-left: .6rem; font-size: .76rem; font-weight: 800; color: #fff; background: var(--vert); padding: .05rem .55rem; border-radius: 999px; vertical-align: .12em; }
.horaires .discret { color: var(--gris); }
.acces { font-style: normal; font-size: 1.12rem; font-weight: 700; line-height: 1.45; margin: 0 0 1rem; }
.plan { margin-top: 1.4rem; border-radius: var(--r-m); overflow: hidden; background: var(--menthe); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 1.4rem; }
.plan iframe { display: block; width: 100%; height: 340px; border: 0; }
.plan.is-charge { padding: 0; }
.band--menthe .plan { background: rgba(255,255,255,.62); }
.band--menthe .plan .btn--blanc { background: var(--vert); color: #fff; }
.plan p { margin: 0 0 .9rem; color: var(--gris); font-size: .95rem; max-width: 28rem; }
.petit { font-size: .93rem; color: var(--gris); }

/* ---------- Urgences ---------- */
.urg { display: grid; gap: 1.2rem; }
.urg__cas { border-radius: var(--r-l); padding: clamp(1.5rem, 3.4vw, 2.3rem); background: #fff; border: 2px solid var(--ligne); }
.urg__cas--nuit { background: var(--rose); border-color: #F0C7BC; }
.urg__cas h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.urg__quand { color: var(--gris); font-weight: 700; margin: 0 0 1rem; }
.urg__num { display: inline-block; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; color: var(--vert); margin-bottom: .9rem; }
.urg__cas--nuit .urg__num { color: var(--terracotta-fonce); }
.urg__cas p:last-child, .urg__cas ol:last-child { margin-bottom: 0; }
@media (min-width: 860px) { .urg { grid-template-columns: 1fr 1fr; } }
.signes { columns: 1; padding-left: 1.15em; }
.signes li { break-inside: avoid; margin-bottom: .4rem; }
@media (min-width: 760px) { .signes { columns: 2; column-gap: 3rem; } }

/* ---------- Équipe ---------- */
.equipe { display: grid; gap: 2.2rem; list-style: none; padding: 0; margin: 0; }
.equipe li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.3rem; align-items: start; }
.equipe .rond { width: 4.75rem; height: auto; flex: none; }
.equipe h3 { margin-bottom: .1rem; }
.equipe .role { font-weight: 700; color: var(--vert); margin: 0 0 .5rem; }
.equipe p { margin: 0 0 .5rem; color: var(--gris); }
.equipe .ordre { font-size: .9rem; }
@media (min-width: 900px) { .equipe--3 { grid-template-columns: repeat(3, 1fr); } .equipe--3 li { grid-template-columns: 1fr; } }

/* ---------- Communes ---------- */
.communes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem .5rem; }
.communes li { background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: .28rem .85rem; font-weight: 600; font-size: .98rem; }

/* ---------- Questions ---------- */
.faq details { border-top: 1px solid var(--ligne); }
.faq details:last-child { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.12rem; padding: 1.1rem 2.4rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .7rem; height: .7rem; border-right: 2.5px solid var(--vert); border-bottom: 2.5px solid var(--vert); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--gris); max-width: 46rem; }

/* ---------- Conseils ---------- */
.fiches { display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
.fiche { border-top: 1px solid var(--ligne); padding: 1.7rem 0 1.4rem; }
.fiche h2 { font-size: 1.45rem; color: var(--vert-nuit); margin-bottom: .6rem; }
.fiche p, .fiche ul { color: var(--gris); }
.fiche li { margin-bottom: .25rem; }
@media (min-width: 860px) { .fiches { grid-template-columns: 1fr 1fr; } }
.sommaire { display: flex; flex-wrap: wrap; gap: .45rem .5rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.sommaire a { display: inline-block; text-decoration: none; font-weight: 700; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: .3rem .9rem; }
.sommaire a:hover { border-color: var(--vert); }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 1.05rem; background: #fff; border: 2px solid var(--ligne); border-radius: var(--r-l); padding: clamp(1.3rem, 3.4vw, 2.2rem); }
.form label { display: grid; gap: .35rem; font-weight: 700; }
.form .opt { font-weight: 400; color: var(--gris); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  font: inherit; color: var(--encre); background: var(--menthe-pale); border: 1.5px solid #B9CEC3; border-radius: var(--r-s); padding: .78rem .9rem; width: 100%;
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(30,91,69,.3); border-color: var(--vert); background: #fff; }
.form .accord { grid-template-columns: auto 1fr; gap: .7rem; font-weight: 400; font-size: .95rem; align-items: start; }
.form .accord input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--vert); }
.form .piege { position: absolute; left: -9999px; }
.form .deux { display: grid; gap: 1.05rem; }
@media (min-width: 620px) { .form .deux { grid-template-columns: 1fr 1fr; } }
.form__etat { margin: 0; font-weight: 700; color: var(--vert); }
.coord { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.coord li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .2rem 1rem; padding: .8rem 0; border-top: 1px solid var(--ligne); }
.coord .k { font-weight: 800; color: var(--vert); }
.coord a { font-weight: 800; }

/* ---------- En-tête de page intérieure ---------- */
.page-tete { background: var(--menthe); padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.page-tete h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--vert-nuit); max-width: 20ch; }
.page-tete .lede { margin: 1.1rem 0 0; color: var(--encre); }
.fil { font-size: .92rem; font-weight: 700; margin: 0 0 1rem; color: var(--gris); }
.fil a { text-decoration: none; }
.fil span { margin: 0 .35rem; color: #8AA196; }
.page-tete .btn-row { margin-top: 1.6rem; }

/* ---------- Documents (CGF, mentions légales) ---------- */
.doc { display: grid; gap: 2.5rem; padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.toc h2 { font-size: 1.05rem; margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.3rem; font-size: .95rem; }
.toc li { margin-bottom: .35rem; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.doc-body { max-width: 46rem; }
.doc-body h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; color: var(--vert-nuit); scroll-margin-top: 6rem; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.doc-body .meta { color: var(--gris); font-size: .95rem; border-left: 4px solid var(--ligne); padding-left: 1rem; }
.doc-body .sign { margin-top: 1.6rem; font-weight: 700; }
@media (min-width: 980px) { .doc { grid-template-columns: 17rem 1fr; } .toc { position: sticky; top: 6.2rem; align-self: start; max-height: calc(100vh - 7.5rem); overflow: auto; } }

/* ---------- Appel final ---------- */
.final { text-align: left; }
.final h2 { max-width: 20ch; }
.final p { color: rgba(255,255,255,.88); max-width: 36rem; font-size: 1.14rem; margin: 1rem 0 1.6rem; }

/* ---------- Pied de page ---------- */
.foot { background: var(--vert-nuit); color: rgba(255,255,255,.86); padding: clamp(2.6rem, 6vw, 4rem) 0 6.5rem; font-size: .98rem; }
.foot a { color: #fff; text-decoration: none; } .foot a:hover { text-decoration: underline; color: #fff; }
.foot__grid { display: grid; gap: 2.2rem; }
.foot__logo { width: 210px; margin-bottom: 1rem; }
.foot h2 { font-size: 1rem; color: #BFE0CF; margin-bottom: .7rem; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .45rem; }
.foot__tel { font-size: 1.35rem; font-weight: 800; }
.foot__legal { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; color: rgba(255,255,255,.7); }
@media (min-width: 860px) { .foot { padding-bottom: 3rem; } }

/* ---------- Barre mobile ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.25fr 1fr 1fr; background: #fff; border-top: 1px solid var(--ligne); box-shadow: 0 -10px 24px -16px rgba(15,50,38,.45); padding-bottom: env(safe-area-inset-bottom, 0); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; padding: .6rem .3rem .65rem; font-weight: 800; font-size: .85rem; text-decoration: none; color: var(--vert); }
.dock a svg { width: 1.35rem; height: 1.35rem; }
.dock a:first-child { background: var(--terracotta); color: #fff; }
@media (min-width: 860px) { .dock { display: none; } }

/* ---------- Page d'erreur et de remerciement ---------- */
.simple { padding-block: clamp(3.5rem, 10vw, 7rem); }
.simple h1 { max-width: 16ch; color: var(--vert-nuit); }
.simple .lede { margin: 1.2rem 0 1.8rem; }

/* ---------- Impression ---------- */
@media print {
  .top, .foot, .dock, .apercu, .btn-row, .toc, .skip, .fil { display: none !important; }
  .page-tete h1 { font-size: 20pt; max-width: none; } .page-tete .lede { font-size: 10.5pt; max-width: none; }
  .doc-body h2 { font-size: 12.5pt; margin: 14pt 0 5pt; break-after: avoid; } .doc-body h3 { font-size: 11pt; break-after: avoid; }
  .doc-body p, .doc-body li { orphans: 3; widows: 3; }
  body { font-size: 10.5pt; }
  .page-tete { background: none; padding: 0 0 1rem; }
  .doc { display: block; padding: 0; }
  .doc-body { max-width: none; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Illustrations ---------- */
.illus { display: block; width: 100%; height: auto; }
.page-tete__grille { display: grid; gap: 1.2rem; align-items: center; }
.page-tete__img { width: min(78%, 280px); height: auto; justify-self: start; }
@media (min-width: 900px) {
  .page-tete__grille { grid-template-columns: 1.3fr .7fr; gap: 3rem; }
  .page-tete__img { width: 100%; max-width: 380px; justify-self: end; }
}

/* ---------- Photographies ---------- */
.photo { margin: 1.6rem 0 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--r-m); background: var(--menthe); }
.photo figcaption { margin-top: .6rem; font-size: .92rem; color: var(--gris); }
.page-tete__photo { border-radius: var(--r-l); box-shadow: 0 26px 50px -30px rgba(15,50,38,.6); }
@media (max-width: 899px) { .page-tete__photo { width: 100%; max-width: 30rem; } }
@media (min-width: 900px) { .page-tete__photo { max-width: 440px; } }

/* ---------- Accueil : points forts illustrés ---------- */
.atouts { display: grid; gap: clamp(2.8rem, 6.5vw, 5rem); }
.atout { display: grid; gap: 1.2rem 4rem; align-items: center; }
.atout .illus { max-width: 540px; justify-self: center; }
.atout h2, .atout h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -0.015em; color: var(--vert-nuit); margin-bottom: .8rem; max-width: 22ch; }
.atout p { color: var(--gris); max-width: 34rem; }
.atout .coches { max-width: 34rem; }
.atout .btn-row { margin-top: .4rem; }
@media (min-width: 880px) { .atout { grid-template-columns: 1fr 1fr; } .atout--inverse .illus { order: 2; } }
.tete--illus { display: grid; gap: 1rem 3rem; align-items: end; max-width: none; }
.tete--illus .illus { max-width: 240px; }
@media (min-width: 760px) { .tete--illus { grid-template-columns: 1fr auto; } .tete--illus > div { max-width: 46rem; } .tete--illus .illus { width: 270px; max-width: none; } }
.cardio .illus { max-width: 430px; justify-self: center; }
.plan .illus { width: 210px; margin: 0 auto .7rem; }

.simple__grille { display: grid; gap: 2rem; align-items: center; }
.simple__grille .illus { max-width: 340px; }
@media (min-width: 860px) { .simple__grille { grid-template-columns: 1.25fr .75fr; } .simple__grille .illus { max-width: none; } }

/* ---------- Étapes (suites réelles d'actions) ---------- */
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.etapes li { counter-increment: etape; position: relative; padding-left: 3.5rem; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--vert); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; }
.etapes h3 { margin-bottom: .3rem; color: var(--vert-nuit); }
.etapes p { margin: 0; color: var(--gris); }
.band--vert .etapes li::before, .band--nuit .etapes li::before { background: #fff; color: var(--vert); }
.band--vert .etapes h3, .band--nuit .etapes h3 { color: #fff; }
.band--vert .etapes p, .band--nuit .etapes p { color: rgba(255,255,255,.86); }
@media (min-width: 880px) { .etapes--3 { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } .etapes--2 { grid-template-columns: 1fr 1fr; gap: 2.2rem 4rem; } }

/* ---------- Soins : vignette sous le titre ---------- */
.soin__img { display: block; width: 190px; max-width: 62%; height: auto; margin-top: .9rem; }
.suite { font-weight: 800; }

/* ---------- Signature des pages médicales ---------- */
.signe { font-size: .9rem; color: var(--gris); padding: 1.7rem 0 2.2rem; max-width: 56rem; }
.signe p { margin: 0 0 .5rem; }
.signe__src { font-weight: 800; color: var(--encre); margin-top: .9rem !important; }
.signe ul { margin: 0; padding-left: 1.1rem; }
.signe li { margin-bottom: .2rem; }

/* ---------- Menu : sous-rubriques ---------- */
.nav__groupe { display: flex; flex-wrap: wrap; align-items: center; }
.nav__plus { display: none; }
.nav__sous { display: none; }
.nav.is-open .nav__groupe > a { flex: 1 0 100%; }
.nav.is-open .nav__sous { display: flex; flex-direction: column; width: 100%; padding-left: 1.1rem; }
.nav.is-open .nav__sous a { font-size: 1rem; font-weight: 600; padding: .7rem 0; }
.nav.is-open .nav__sous a:first-child { display: none; }
.no-js .nav__sous { display: flex; flex-wrap: wrap; gap: .2rem 1rem; padding-left: .6rem; font-size: .95rem; }
@media (min-width: 1280px) {
  .nav__groupe { position: relative; flex-wrap: nowrap; gap: .1rem; padding-block: .9rem; margin-block: -.9rem; }
  .nav.is-open .nav__groupe > a { flex: 0 0 auto; }
  .nav__plus { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--vert); cursor: pointer; }
  .nav__plus[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav .nav__sous, .nav.is-open .nav__sous { display: none; position: absolute; left: -.9rem; top: 100%; width: auto; min-width: 16.5rem; flex-direction: column; gap: 0; padding: .5rem; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); box-shadow: 0 20px 40px -20px rgba(15,50,38,.45); }
  .nav .nav__groupe:hover .nav__sous, .nav .nav__groupe:focus-within .nav__sous, .nav .nav__sous.is-open { display: flex; }
  .nav .nav__sous a, .nav.is-open .nav__sous a { display: block; padding: .62rem .85rem; border: 0; border-radius: var(--r-s); font-size: 1rem; font-weight: 700; }
  .nav.is-open .nav__sous a:first-child { display: block; }
  .nav .nav__sous a:hover, .nav .nav__sous a[aria-current="page"] { background: var(--menthe); color: var(--vert); }
}

/* ---------- Pied de page à cinq colonnes ---------- */
@media (min-width: 620px) and (max-width: 1039px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .foot__grid { grid-template-columns: 1.3fr 1.05fr .95fr 1.05fr 1.15fr; } }
