/* Servie par le site : pas d'appel à Google Fonts, qui bloquait l'affichage. Licence : fonts/OFL.txt. */
@font-face { font-family: "Patrick Hand"; src: url("/fonts/patrick-hand-latin.woff2") format("woff2"); font-display: swap; }
:root {
  --bg: #f8f6f3; --paper: #f3ede6; --ink: #2b2622; --muted: #6f655d;
  --accent: #c48b6c; --accent-dark: #8f5a3a; --sage: #9aa88f; --line: #e6ddd3;
  /* Le bord des champs et des boutons d'option : 3:1 au moins contre le blanc (audit du 06/10/2026). */
  --control: #9a8b7f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--accent-dark); }
img { height: auto; }
h1, h2, .hand { font-family: "Patrick Hand", "Bradley Hand", cursive; font-weight: 400; letter-spacing: 0.2px; }
h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; margin: 0 0 12px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
header .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 20px; }
header .brand img { width: 44px; height: 44px; }
header nav a { margin-left: 22px; text-decoration: none; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 40px 0 60px; }
.hero .lead { font-size: 21px; color: var(--muted); max-width: 46ch; }
.hero img.phone { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(60,40,30,.18)); }
.stores { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.stores a { display: block; line-height: 0; }
.stores img { height: 56px; width: auto; }
/* Les badges des magasins ne prennent ni l’ombre ni la largeur des captures d’écran. */
section.feature .stores img { width: auto; max-width: none; filter: none; }
.stores .soon { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 15px; background: #fff; }
.mark { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--accent); margin: 4px 0 22px; }
section.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
section.feature:nth-of-type(even) .text { order: 2; }
section.feature img { width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(0 20px 30px rgba(60,40,30,.14)); }
section.feature .text p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.band { background: var(--paper); border-radius: 24px; padding: 40px; margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.band h3 { margin: 0 0 6px; font-size: 19px; }
.band p { color: var(--muted); font-size: 16px; margin: 0; }
.free { text-align: center; padding: 50px 0 20px; }
.free p { color: var(--muted); font-size: 19px; }
footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 30px 0 50px; color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-right: 18px; }
/* Les liens se touchent dans le HTML : sans ça, la ligne ne se coupe pas sur un téléphone. */
footer div:first-child { display: flex; flex-wrap: wrap; row-gap: 6px; }
article { max-width: 720px; margin: 0 auto; padding: 20px 24px 60px; }
article h1 { font-size: 44px; }
article h2 { font-size: 30px; margin-top: 36px; }
article li { margin-bottom: 8px; }
article .meta { color: var(--muted); }
@media (max-width: 760px) {
  .hero, section.feature { grid-template-columns: 1fr; gap: 28px; }
  section.feature:nth-of-type(even) .text { order: 0; }
  .band { grid-template-columns: 1fr; padding: 28px; }
  header { flex-wrap: wrap; row-gap: 10px; }
  header nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  header nav a { margin-left: 0; font-size: 15px; }
  .stores { gap: 12px; }
  .stores img { height: 48px; }
}
.hero img.icon { width: 100%; max-width: 240px; justify-self: center; border-radius: 22%; filter: drop-shadow(0 24px 32px rgba(60,40,30,.18)); }
section.feature.solo { grid-template-columns: 1fr; padding: 40px 0; }
section.feature.solo .text { order: 0; }
section.feature.solo .text p { max-width: 62ch; }

/* L'outil de transition (/transition-alimentaire, /en/food-transition). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.intro { padding: 30px 0 28px; max-width: 760px; }
.intro .lead { font-size: 20px; color: var(--muted); max-width: 60ch; }
.intro h1 { font-size: clamp(38px, 6vw, 56px); }
.outil { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 40px; }
.carte { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 12px 30px rgba(60,40,30,.06); }
.carte + .carte { margin-top: 20px; }
.carte.vide { background: var(--paper); box-shadow: none; color: var(--muted); display: flex; align-items: center; min-height: 160px; }
.carte.vide p { margin: 0; max-width: 40ch; }
.champ { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.champ:last-child { margin-bottom: 0; }
.champ legend, .champ > label { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 8px; }
fieldset.seg { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 16px; text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.saisie { display: flex; align-items: center; gap: 10px; }
.saisie input { flex: 0 1 180px; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 18px; }
.saisie input:focus { outline: none; border-color: var(--accent); }
.saisie > span { color: var(--muted); font-size: 15px; }
.saisie .seg { flex: 0 0 116px; margin: 0; }
.saisie .seg span { min-height: 48px; }
.aide { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
[hidden] { display: none !important; }
.champ > .case { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 16px; color: var(--ink); }
/* Le dernier champ du bloc d'estimation n'est pas le dernier du formulaire. */
#bloc-estimation > .champ:last-child { margin-bottom: 18px; }
.case input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent-dark); flex: none; }
.aide.estimation { margin: -4px 0 16px; }
#debut { flex-basis: 260px; cursor: pointer; }
/* Air Datepicker, aux couleurs du site. */
.air-datepicker {
  --adp-font-family: inherit;
  --adp-font-size: 15px;
  --adp-color: var(--ink);
  --adp-color-secondary: var(--muted);
  --adp-color-other-month: #b9aea4;
  --adp-color-current-date: var(--accent-dark);
  --adp-accent-color: var(--accent-dark);
  --adp-day-name-color: var(--muted);
  --adp-nav-arrow-color: var(--muted);
  --adp-border-color: var(--line);
  --adp-border-color-inner: var(--line);
  --adp-border-radius: 18px;
  --adp-cell-border-radius: 10px;
  --adp-background-color-hover: var(--paper);
  --adp-cell-background-color-hover: var(--paper);
  --adp-cell-background-color-selected: var(--accent);
  --adp-cell-background-color-selected-hover: var(--accent-dark);
  --adp-padding: 8px;
  box-shadow: 0 16px 40px rgba(60,40,30,.14);
}
/* Le lien vers le résultat, sous le poids : utile seulement quand le résultat est plus bas. */
.apercu { display: none; margin: -6px 0 18px; font-size: 15px; }
.apercu:empty { display: none !important; }
.carte-titre { font-size: 26px; margin: 0 0 14px; }
.totaux { display: flex; justify-content: space-between; gap: 16px; background: var(--bg); border-radius: 16px; padding: 14px 18px; }
.totaux div:last-child { text-align: right; }
.totaux span { display: block; font-size: 14px; color: var(--muted); }
.totaux strong { font-size: 30px; font-variant-numeric: tabular-nums; }
.source { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.carte .vue { max-width: 260px; margin: 16px 0 4px; }
.carte .vue span { min-height: 38px; font-size: 15px; }
table.plan { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
table.plan th, table.plan td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
table.plan th:first-child { text-align: left; }
table.plan thead th { font-size: 13px; font-weight: 400; color: var(--muted); }
table.plan tbody th { font-weight: 600; font-size: 16px; }
table.plan tbody th span, table.plan td span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
table.plan td strong { font-size: 18px; }
table.plan td.nouveau strong { color: var(--accent-dark); }
table.plan tbody tr:last-child th, table.plan tbody tr:last-child td { border-bottom: 0; }
table.plan.statique { max-width: 460px; margin: 8px 0 18px; }
.imprimer { margin-top: 16px; height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.imprimer:hover { border-color: var(--accent); }
article h3 { font-size: 19px; margin: 24px 0 6px; }
@media (max-width: 860px) {
  .outil { grid-template-columns: minmax(0, 1fr); }
  .apercu { display: block; }
}
@media (max-width: 760px) {
  .carte { padding: 18px; border-radius: 20px; }
  .intro { padding-top: 10px; }
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .outil { display: block; padding: 0; }
  .carte { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  .intro { padding: 0 0 12px; }
}

/* Les guides (/ration-croquettes, /vermifuge-chien-chat, /vaccins-chiot-chaton). */
.champ > .case + .case { margin-top: 12px; }
/* Comme #bloc-estimation : le dernier champ d'un bloc n'est pas le dernier du formulaire. */
#bloc-jeune > .champ:last-child, #bloc-adulte > .champ:last-child { margin-bottom: 18px; }
table.plan.guide { max-width: none; }
table.plan.guide td, table.plan.guide thead th { text-align: left; }
table.plan.guide tbody th { padding-right: 14px; }
article .sources li { font-size: 15px; color: var(--muted); }
.seg.seg-2x2 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.carte.alerte { border-color: var(--accent); }
.carte h3 { font-size: 17px; margin: 16px 0 4px; }
/* Les outils du site, en bas de chaque page : ils se citent les uns les autres. */
.guides { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 32px; }
.guides h2 { font-size: 30px; }
.guides ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 28px; }
.guides + footer { margin-top: 32px; }
.guides > p { margin: 16px 0 0; }
/* La page des outils (/outils, /en/tools). */
article.outils { padding-top: 0; }
.outils-liste { list-style: none; padding: 0; margin: 0 0 8px; }
.outils-liste li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.outils-liste a { font-weight: 600; }
.outils-liste span { display: block; color: var(--muted); font-size: 15px; }
/* Les vérifications du voyage. */
.verifs { padding-left: 18px; }
.verifs li { margin-bottom: 10px; }
.etat { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 10px; margin-right: 4px; }
.etat.ok { background: #e3eadf; color: #4c6141; }
.etat.ko { background: #f6e3d9; color: var(--accent-dark); }
.carte ol { padding-left: 20px; margin: 0; }
.carte ol li { margin-bottom: 8px; }
.saisie select { height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; max-width: 100%; }

/* Audit du 06/10/2026 : contraste, cibles tactiles, un seul menu, le bloc d'outil commun. */
/* Contraste : texte blanc sur --accent-dark (5,7:1), bords des champs en --control (3,3:1). */
.seg input:checked + span { background: var(--accent-dark); border-color: var(--accent-dark); }
.seg span, .saisie input, .saisie select, .imprimer { border-color: var(--control); }
.saisie input:focus, .saisie select:focus { border-color: var(--accent-dark); }
a:focus-visible, button:focus-visible, .saisie input:focus-visible, .saisie select:focus-visible, .case input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-dark); outline-offset: 2px; border-radius: 4px;
}
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Un seul menu, sur une ligne, même à 375 px. */
header { flex-wrap: nowrap; gap: 12px; padding: 14px 0; }
header .brand { flex: none; min-height: 44px; }
header nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: nowrap; }
header nav a { margin-left: 0; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
@media (max-width: 760px) {
  header { flex-wrap: nowrap; }
  header .brand { gap: 8px; font-size: 18px; }
  header .brand img { width: 36px; height: 36px; }
  header nav { gap: 0 12px; }
  header nav a { font-size: 15px; }
}
/* Cibles tactiles de 44 px : liens du pied de page, lignes à cocher, cases du calendrier. */
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.champ > .case { min-height: 44px; }
.guides li a { display: inline-flex; align-items: center; min-height: 44px; }
.air-datepicker { --adp-day-cell-height: 44px; --adp-month-cell-height: 48px; --adp-year-cell-height: 56px; }
/* Les options en colonne : boutons pleine largeur au lieu de boutons radio. */
.seg.colonne { grid-auto-flow: row; grid-template-columns: 1fr; }
.seg.colonne span { justify-content: flex-start; text-align: left; padding: 10px 14px; }
/* Voir le résultat : seulement quand il est sous le formulaire. */
.aller-resultat { display: none; margin: 16px 0 0; font-size: 15px; }
@media (max-width: 860px) { .aller-resultat { display: block; } }
.aller-resultat a, .apercu a { display: inline-flex; align-items: center; min-height: 44px; }
/* La ligne vers l'application, dans chaque résultat. */
.vers-app { margin: 14px 0 0; font-size: 15px; }
.vers-app a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
/* Le QR code des magasins, sur grand écran seulement. */
.qr { display: none; }
@media (min-width: 900px) {
  .stores { align-items: flex-start; }
  .stores .magasin { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .qr { display: block; width: 96px; height: 96px; }
  .stores .qr-legende { display: block; font-size: 13px; color: var(--muted); }
}
.qr-legende { display: none; }
/* Les calendriers : lignes passées grisées, prochaine étape en avant, repère « aujourd'hui ». */
table.plan tr.passe th, table.plan tr.passe td { color: var(--muted); }
table.plan tr.passe td strong { font-weight: 400; }
table.plan tr.prochaine th, table.plan tr.prochaine td { background: var(--paper); }
table.plan tr.prochaine th { box-shadow: inset 4px 0 0 var(--accent-dark); }
table.plan tr.aujourdhui th, table.plan tr.aujourdhui td { padding: 6px; font-size: 14px; color: var(--accent-dark); font-weight: 600; border-bottom: 2px solid var(--accent-dark); }
/* La réponse d'abord, le vocabulaire technique ensuite, en petit. */
.reponse { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.technique { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }
/* Une introduction courte : la réponse, en deux lignes. */
@media (max-width: 760px) { .intro .lead { font-size: 16px; line-height: 1.45; } }
/* La barre d'appel des centres antipoison. */
.appel { background: #fff; border: 2px solid var(--accent-dark); border-radius: 18px; padding: 14px 18px; margin: 0 0 8px; }
.appel p { margin: 0 0 6px; }
.appel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.appel a { font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; min-height: 44px; }
.appel span { color: var(--muted); font-size: 14px; }
/* La page des outils : des cartes en grille. */
.outils-grille { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.outils-grille li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.outils-grille a { font-weight: 600; font-size: 18px; }
.outils-grille p { margin: 0; color: var(--muted); font-size: 15px; }
article.outils { max-width: 1040px; }
.champ.affiner > label { margin-top: 12px; }
.magasin { display: contents; }
.appel li { display: flex; flex-direction: column; } .appel li span { margin-top: -6px; }
.saisie input:focus, .saisie select:focus { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
#naissance, #depart, #arrivee, #dernier, #vaccin, #derniere, #precedente { flex-basis: 260px; }
