/* Dr Stéphane Delvaux, vétérinaire — styles communs */
:root {
  --forest: #1F4D45; --forest-d: #153832; --sage: #E4EEE8; --sage-d: #C9DDD2;
  --cream: #FBF7F0; --sand: #F3ECE0; --apricot: #E9895D; --apricot-d: #C96A3F;
  --ink: #1D2A28; --muted: #5C6B67; --line: #E4DDD0; --white: #fff;
  --f-display: "Fraunces", Georgia, serif; --f-body: "Figtree", system-ui, sans-serif;
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0; color: var(--forest-d); }
h1 { font-size: clamp(38px, 6.2vw, 66px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 23px; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.kicker { font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--apricot-d); }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; font: 700 16px/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-main { background: var(--forest); color: #fff; }
.btn-main:hover { background: var(--forest-d); }
.btn-warm { background: var(--apricot); color: #fff; }
.btn-warm:hover { background: var(--apricot-d); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px var(--sage-d); }
.btn-ghost:hover { background: var(--sage); }
.btn:active { transform: translateY(1px); }

/* Bandeau + en-tête */
.strip { background: var(--forest-d); color: #CFE2D9; font-size: 14px; }
.strip-in { display: flex; justify-content: center; gap: 24px; padding: 8px 0; flex-wrap: wrap; }
.strip-in span:first-child { display: none; }
.strip a { color: #fff; font-weight: 700; text-decoration: none; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(251,247,240,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-d); }
.logo b { display: block; font: 600 20px/1.1 var(--f-display); }
.logo small { display: block; font-size: 13px; color: var(--muted); }
.logo-inv b { color: #fff; } .logo-inv small { color: #A9C6BA; }
.nav { display: none; gap: 2px; }
.nav a, .mnav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 999px; }
.nav a:hover { background: var(--sage); }
.nav a[aria-current], .mnav a[aria-current] { background: var(--sage); color: var(--forest-d); }
.top-r { display: flex; align-items: center; gap: 8px; }
.top-r .btn { padding: 11px 16px; font-size: 15px; }
.t-long { display: none; }
.logo b, .top-r .btn { white-space: nowrap; }
@media (max-width: 479px) { .top-r .lbl { display: none; } .top-r .btn { padding: 12px; } .logo small { font-size: 12px; } }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage); color: var(--forest-d); display: grid; place-items: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.mnav { display: grid; gap: 2px; padding: 4px 0 16px; }
.mnav[hidden] { display: none; }
.mnav a { padding: 12px 14px; font-size: 17px; }
@media (min-width: 720px) { .strip-in { justify-content: space-between; } .strip-in span:first-child { display: inline; } .t-long { display: inline; } }
@media (min-width: 1120px) { .nav { display: flex; } .burger, .mnav { display: none !important; } }

/* Sections */
.sec { padding: 72px 0; }
.sec-sand { background: var(--sand); }
.sec-sage { background: var(--sage); }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }

/* Héros d'accueil */
.hero { padding: 40px 0 72px; }
.hero-in { display: grid; gap: 36px; align-items: center; }
.hero-txt { display: grid; gap: 22px; }
.hero h1 em { font-style: italic; color: var(--apricot-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pic { position: relative; }
.hero-pic > img { width: 100%; aspect-ratio: 4 / 3.2; max-height: 520px; object-fit: cover; border-radius: 32px 32px 32px 120px; }
.badge { position: absolute; left: 16px; bottom: -22px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 14px 40px rgba(21,56,50,.16); display: flex; gap: 12px; align-items: center; }
.badge b { display: block; font: 600 26px/1 var(--f-display); color: var(--forest-d); }
.badge span { font-size: 14px; color: var(--muted); line-height: 1.3; }
@media (min-width: 960px) { .hero { padding: 64px 0 96px; } .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* Infos pratiques */
.facts { display: grid; gap: 14px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; gap: 16px; }
.fact svg { width: 26px; height: 26px; color: var(--apricot-d); flex: none; margin-top: 2px; }
.fact h3 { font-size: 19px; margin-bottom: 4px; }
.fact p { color: var(--muted); font-size: 16px; }
.fact a { font-weight: 700; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* Cartes de rubriques */
.cards { display: grid; gap: 18px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,56,50,.12); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { color: var(--forest); font-weight: 700; font-size: 15px; margin-top: 4px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* Bloc texte + image */
.split { display: grid; gap: 36px; align-items: center; }
.split img { width: 100%; border-radius: 28px; object-fit: cover; aspect-ratio: 4 / 5; }
.split .txt { display: grid; gap: 18px; }
.split .txt p { color: #34423F; }
@media (min-width: 900px) {
  /* La photo prend la hauteur du texte voisin, sans le dépasser de beaucoup */
  .split { grid-template-columns: 5fr 6fr; gap: 64px; align-items: stretch; }
  .split .txt { align-content: center; }
  .split img { height: 0; min-height: max(100%, 360px); aspect-ratio: auto !important; }
  .split.rev .txt { order: -1; }
}

/* En-tête de page intérieure */
.phero { position: relative; overflow: hidden; background: var(--forest-d); color: #fff; }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.phero .wrap { position: relative; padding: 76px 0 64px; display: grid; gap: 14px; max-width: 760px; margin-left: max(16px, (100% - 1180px) / 2); }
.phero h1 { color: #fff; }
.phero .kicker { color: #F6B892; }
.phero p { font-size: clamp(18px, 2vw, 20px); color: #E3EEE9; }
.crumb { font-size: 14px; color: #B9D2C8; }
.crumb a { color: #fff; }

/* Fiches de soins (chiens / chats) */
.care { display: grid; gap: 18px; }
.care article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: grid; gap: 14px; align-content: start; }
.care .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--sage); display: grid; place-items: center; color: var(--forest); }
.care .ico svg { width: 28px; height: 28px; }
.care p { color: #34423F; }
.care ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.care li { display: flex; gap: 10px; align-items: baseline; }
.care li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); flex: none; transform: translateY(-2px); }
.note { border-radius: 16px; background: var(--sand); padding: 14px 16px; font-size: 15px; color: #4A5653; }
@media (min-width: 900px) { .care { grid-template-columns: repeat(3, 1fr); } }

/* Frise d'âges */
.steps { display: grid; gap: 14px; counter-reset: s; }
.steps li { list-style: none; background: #fff; border-radius: 18px; padding: 18px 20px 18px 64px; position: relative; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--f-body); }
.steps b { display: block; color: var(--forest-d); }
.steps { padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Liens « consultez également » */
.also { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.also span { font-weight: 700; margin-right: 6px; }

/* Appel à l'action */
.cta { background: var(--forest); color: #fff; border-radius: 32px; padding: 40px 28px; display: grid; gap: 20px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #CFE2D9; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.1); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; padding: 56px; } .cta .btns { justify-content: flex-end; } }

/* Pied de page */
footer { background: var(--forest-d); color: #A9C6BA; margin-top: 0; padding-bottom: 76px; }
.foot { display: grid; gap: 32px; padding: 56px 0 36px; }
footer h4 { color: #fff; font: 700 14px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
footer a { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer .tel { font: 600 28px/1 var(--f-display); text-decoration: none; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } footer { padding-bottom: 0; } }

/* Barre d'appel mobile */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,247,240,.96); border-top: 1px solid var(--line); }
.callbar .btn { width: 100%; justify-content: center; }
@media (min-width: 860px) { .callbar { display: none; } }

/* Texte courant (mentions légales) */
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { font-size: 28px; margin-top: 22px; }
.prose p, .prose li { color: #34423F; }

:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
