/* Site MycoSpot (Natural Market) : charte de l'appli, crème, vert forêt, brun et ambre (lib/theme/app_colors.dart).
   Polices Fraunces et Nunito (licence SIL OFL) servies depuis ce site : aucun appel à un service tiers.
   Refonte du 2026-11-24 : composants communs (en-tête, boutons, cartes, téléphones), mode sombre automatique. */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #f7f0df;
  --bg-alt: #eee3c9;
  --surface: #fffaee;
  --text: #3b2a1c;
  --heading: #4e3524;
  --muted: #6b5a47;
  --accent: #2f5d3a;
  --accent-deep: #1f3d28;
  --accent-soft: #e4ebd0;
  --leaf: #8db05a;
  --amber: #e8b23a;
  --autumn: #d9822b;
  --warn: #8a4b2b;
  --warn-soft: #f6e4d2;
  --border: #e0d3b6;
  --btn-bg: #2f5d3a;
  --btn-text: #fffaee;
  --cta-text: #fffaee;
  --header-bg: rgba(247, 240, 223, 0.88);
  --contour: rgba(47, 93, 58, 0.12);
  --blob: rgba(228, 235, 208, 0.9);
  --footer-bg: #1f3d28;
  --footer-text: #efe7d1;
  --footer-muted: #b9c7a4;
  --radius: 24px;
  --radius-s: 16px;
  --shadow: 0 22px 44px -26px rgba(59, 42, 28, 0.55);
  --shadow-s: 0 10px 22px -16px rgba(59, 42, 28, 0.5);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ico-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6.5v13.5l6-2.5 6 2.5 6-2.5V4l-6 2.5zM9 4v13.5M15 6.5V20'/%3E%3C/svg%3E");
  --ico-rain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 15a4.5 4.5 0 1 1 1.2-8.8A5.5 5.5 0 0 1 18.5 8 3.5 3.5 0 0 1 17.5 15zM9 18l-1 2.5M13 18l-1 2.5M17 18l-1 2.5'/%3E%3C/svg%3E");
  --ico-route: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='17' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 17h6a3 3 0 0 0 0-6h-4a3 3 0 0 1 0-6h6'/%3E%3C/svg%3E");
  --ico-carnet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18H6zM9 3v18M12.5 8h2.5M12.5 12h2.5'/%3E%3C/svg%3E");
  --ico-livre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h5v17H6a2 2 0 0 0-2 2zM20 5a2 2 0 0 0-2-2h-5v17h5a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
  --ico-hors-ligne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
  --ico-science: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4a2 2 0 0 0 1.8-3l-5-9V3M8 15h8'/%3E%3C/svg%3E");
  --ico-arbre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-7M12 14c-4.5 0-7-3-7-8 4.5 0 7 3 7 8zM12 14c0-5 2.5-8 7-8 0 5-2.5 8-7 8z'/%3E%3C/svg%3E");
  --ico-calendrier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v15H5zM5 10h14M9 3v4M15 3v4'/%3E%3C/svg%3E");
  --ico-champignon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 8 0 0 1 18 0zM10 12v7a2 2 0 0 0 4 0v-7'/%3E%3C/svg%3E");
  --ico-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
  --ico-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M5 3.2v17.6a.8.8 0 0 0 1.2.7l14.4-8.8a.8.8 0 0 0 0-1.4L6.2 2.5A.8.8 0 0 0 5 3.2z'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131c16;
    --bg-alt: #18241c;
    --surface: #1d2b22;
    --text: #efe7d4;
    --heading: #f6efdd;
    --muted: #b8b19c;
    --accent: #9cc267;
    --accent-deep: #8db05a;
    --accent-soft: #263a2c;
    --warn: #e8b23a;
    --warn-soft: #3a3322;
    --border: #2f4336;
    --btn-bg: #8db05a;
    --btn-text: #12190f;
    --cta-text: #12190f;
    --header-bg: rgba(19, 28, 22, 0.88);
    --contour: rgba(141, 176, 90, 0.12);
    --blob: rgba(38, 58, 44, 0.8);
    --footer-bg: #0d140f;
    --footer-text: #e6dec9;
    --footer-muted: #a3ad93;
    --shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.75);
    --shadow-s: 0 10px 22px -16px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; padding-bottom: 64px; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.doc { max-width: 820px; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Titres et texte ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--heading); letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin: 52px 0 14px; }
h3 { font-size: 1.2rem; margin: 26px 0 6px; }
p + p, p + ul, ul + p, p + ol { margin-top: 14px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 6px; }
strong { font-weight: 700; }

.kicker { color: var(--accent); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 38em; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.updated { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Icônes (masques, la couleur vient du texte) ---------- */
.ico {
  display: inline-block;
  flex: none;
  width: 1.5em;
  height: 1.5em;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  vertical-align: -0.3em;
}
.ico-map { --ico: var(--ico-map); }
.ico-rain { --ico: var(--ico-rain); }
.ico-route { --ico: var(--ico-route); }
.ico-carnet { --ico: var(--ico-carnet); }
.ico-livre { --ico: var(--ico-livre); }
.ico-hors-ligne { --ico: var(--ico-hors-ligne); }
.ico-science { --ico: var(--ico-science); }
.ico-arbre { --ico: var(--ico-arbre); }
.ico-calendrier { --ico: var(--ico-calendrier); }
.ico-champignon { --ico: var(--ico-champignon); }
.ico-coche { --ico: var(--ico-coche); }
.ico-play { --ico: var(--ico-play); }

/* ---------- Boutons ---------- */
.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: var(--shadow-s);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover, .cta:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn-ghost:hover { background: var(--accent-soft); filter: none; }
.btn-amber { background: var(--amber); color: #2b1d10; }
.btn-small { min-height: 42px; padding: 8px 20px; font-size: 0.95rem; }
.cta-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 3px 10px -4px rgba(59, 42, 28, 0.6); }
.nav { margin-left: auto; display: none; gap: 6px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav a:hover { background: var(--accent-soft); }
.site-header .btn { margin-left: auto; }
.menu { position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  content: "";
  position: relative;
}
.burger::before { position: absolute; top: -6px; }
.burger::after { position: absolute; top: 6px; }
.menu nav {
  position: absolute;
  right: 0;
  top: 54px;
  min-width: 230px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
}
.menu nav a { padding: 11px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.menu nav a:hover { background: var(--accent-soft); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 36px; margin-top: auto; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.foot-brand .brand { color: var(--footer-text); font-size: 1.5rem; }
.foot-brand p { margin-top: 14px; color: var(--footer-muted); max-width: 26em; font-size: 0.97rem; }
.foot-brand .btn { margin-top: 18px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-titre { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--footer-text); margin-bottom: 4px; }
.foot-col a { font-size: 0.97rem; color: var(--footer-muted); }
.foot-col a:hover { color: var(--footer-text); }
.foot-note { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(239, 231, 209, 0.16); font-size: 0.9rem; color: var(--footer-muted); max-width: 60em; }
.foot-copy { margin-top: 10px; font-size: 0.88rem; color: var(--footer-muted); }

/* ---------- Téléphones (captures de l'appli) ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 540 / 1050;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2a2723, #14110e);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 62px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: var(--accent-soft); }

/* ---------- Accueil ---------- */
.hero-home { position: relative; overflow: hidden; padding: 44px 0 72px; isolation: isolate; }
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--contour);
  -webkit-mask: url("../img/contours.svg") center / cover no-repeat;
  mask: url("../img/contours.svg") center / cover no-repeat;
}
.hero-home::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 760px;
  height: 760px;
  right: -240px;
  top: -260px;
  border-radius: 50%;
  background: var(--blob);
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-home h1 { margin: 12px 0 18px; font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hero-home .lead { font-size: 1.28rem; }
.garanties { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 700; font-size: 0.97rem; }
.garanties li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.garanties .ico { color: var(--accent); width: 1.15em; height: 1.15em; vertical-align: 0; }
.hero-visuel { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero-visuel .phone-a { z-index: 2; transform: rotate(-3deg); }
.hero-visuel .phone-b { position: absolute; z-index: 1; right: 0; top: 54px; width: 240px; transform: rotate(5deg) translateX(40%); display: none; }

.section { padding: 76px 0 0; }
.section-titre { max-width: 36em; }
.section-titre h2 { margin: 8px 0 12px; }
.section-titre p { color: var(--muted); font-size: 1.1rem; }

.features { display: grid; gap: 18px; margin-top: 34px; grid-template-columns: 1fr; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-s);
}
.feature .pastille {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature .pastille .ico { width: 28px; height: 28px; vertical-align: 0; }
.feature h3 { margin: 0 0 8px; font-size: 1.28rem; }
.feature p { color: var(--muted); font-size: 1rem; }

.visites { display: flex; gap: 26px; overflow-x: auto; padding: 8px 4px 30px; margin-top: 30px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.visites figure { flex: 0 0 250px; scroll-snap-align: center; text-align: center; }
.visites .phone { margin: 0 auto; }
.visites figcaption { margin-top: 18px; font-weight: 700; color: var(--heading); }
.visites figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.93rem; margin-top: 2px; }

.grille-especes { display: grid; gap: 18px; margin-top: 30px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; }
.grille-especes li { margin: 0; }
.carte-espece {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.carte-espece:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
/* dans une page de texte étroite, la grille déborde de la colonne pour que les cartes restent lisibles */
.doc .grille-especes { width: min(1072px, calc(100vw - 56px)); position: relative; left: 50%; transform: translateX(-50%); }
.carte-espece .vignette { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(145deg, var(--accent-soft), var(--bg-alt)); display: grid; place-items: center; color: var(--accent); }
.carte-espece .vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-espece .vignette .ico { width: 54px; height: 54px; opacity: 0.55; }
.carte-espece .corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.carte-espece .nom { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--heading); line-height: 1.2; }
.carte-espece .nom-latin { font-style: italic; color: var(--muted); font-size: 0.9rem; }
.carte-espece .periode { margin-top: 8px; font-size: 0.86rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.carte-espece .periode .ico { width: 1.1em; height: 1.1em; vertical-align: 0; }
.carte-espece .credit { margin-top: auto; padding-top: 8px; font-size: 0.72rem; color: var(--muted); line-height: 1.3; }

.bande { background: var(--bg-alt); margin-top: 84px; padding: 70px 0; position: relative; overflow: hidden; isolation: isolate; }
.bande::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--contour); -webkit-mask: url("../img/contours.svg") center / cover no-repeat; mask: url("../img/contours.svg") center / cover no-repeat; transform: scaleX(-1); }
.bande-grid { display: grid; gap: 34px; align-items: center; }
.bande h2 { margin-top: 8px; }
.liens-ico { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.liens-ico li { margin: 0; }
.liens-ico a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}
.liens-ico a:hover { background: var(--accent-soft); }
.liens-ico .ico { color: var(--accent); width: 26px; height: 26px; vertical-align: 0; }
.mois-puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; padding: 0; }
.mois-puces li { margin: 0; }
.mois-puces a { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--heading); }
.mois-puces a:hover { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }

.tarifs { display: grid; gap: 20px; margin-top: 34px; grid-template-columns: 1fr; }
.tarif { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-s); }
.tarif h3 { margin: 0 0 4px; font-size: 1.5rem; }
.tarif .prix { font-family: var(--serif); font-weight: 700; font-size: 2.1rem; color: var(--heading); margin: 8px 0 2px; }
.tarif .prix small { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.tarif ul { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.tarif li { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.tarif li .ico { color: var(--accent); width: 1.2em; height: 1.2em; margin-top: 0.22em; vertical-align: 0; }
.tarif-plus { background: var(--accent-deep); border-color: var(--accent-deep); color: #efe7d1; }
.tarif-plus h3, .tarif-plus .prix { color: #fffaee; }
.tarif-plus .prix small { color: #c9d4b6; }
.tarif-plus li .ico { color: var(--amber); }
.tarif-plus .etiquette { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--amber); color: #2b1d10; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.appel { margin-top: 84px; padding: 56px 28px; border-radius: 34px; text-align: center; background: var(--accent-deep); color: #efe7d1; position: relative; overflow: hidden; isolation: isolate; }
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(239, 231, 209, 0.12); -webkit-mask: url("../img/contours.svg") center / cover no-repeat; mask: url("../img/contours.svg") center / cover no-repeat; }
.appel h2 { margin: 0 0 12px; color: #fffaee; }
.appel p { color: #cfdabb; max-width: 34em; margin-left: auto; margin-right: auto; }
.appel .cta-row { justify-content: center; }
.appel .small { color: #b9c7a4; }

.editeur { margin-top: 60px; text-align: center; color: var(--muted); }
.editeur img { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow-s); }
.editeur p { max-width: 34em; margin: 14px auto 0; }

/* ---------- Pages de texte (articles, pages légales) ---------- */
.doc h1 { margin-top: 28px; }
.doc h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 44px; }
.doc > p, .doc section > p { max-width: 46em; }
.doc ul, .doc ol { max-width: 46em; }
.crumbs { margin-top: 26px; font-size: 0.92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.note { margin-top: 22px; padding: 14px 18px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 0 14px 14px 0; }
.note strong { color: var(--warn); }

.app-hero .app-icon { display: block; width: 96px; height: 96px; border-radius: 22px; margin-bottom: 18px; box-shadow: var(--shadow-s); }
.hero { padding: 40px 0 8px; }
.hero h1 { margin: 8px 0 16px; }
.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-top: 36px; }
.product-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.product-head img { width: 84px; height: 84px; border-radius: 20px; flex: none; }
.product-head h2 { margin: 0; }
.badge { display: inline-block; margin-top: 6px; padding: 2px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 20px 22px; box-shadow: var(--shadow-s); }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.faq h3 { margin-top: 28px; font-size: 1.15rem; }
.closing { margin-top: 8px; }

/* ---------- Pages espèces, mois, science (générées par tools/generer_pages_especes.mjs) ---------- */
.espece h1 { margin-top: 10px; }
.latin { color: var(--muted); font-size: 1.05rem; font-style: normal; }
.espece h1 + .latin, .espece .latin + .lead { margin-top: 6px; }
.espece .lead { margin-top: 12px; }
.hero-espece { display: grid; gap: 28px; align-items: center; margin-top: 8px; }
.puces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.puces li { margin: 0; }
.puce { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.puce .ico { width: 1.15em; height: 1.15em; vertical-align: 0; }
.puce-prudence-medium { background: var(--warn-soft); color: var(--warn); }
.puce-prudence-elevated { background: #f7dcc5; color: #8a3f13; }
.puce-prudence-high { background: #f3d2cd; color: #8e231a; }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--accent-soft); box-shadow: var(--shadow); }
.photo figcaption { margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.prudence { margin-top: 30px; padding: 16px 20px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 0 16px 16px 0; }
.prudence strong { color: var(--warn); }
.prudence-faible { border-left-color: var(--accent); background: var(--accent-soft); }
.prudence-faible strong { color: var(--accent); }
.avant-tout { margin-top: 14px; padding: 6px 20px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); }
.avant-tout h2 { font-size: 1.08rem; margin: 14px 0 4px; }
.faits dl { display: grid; grid-template-columns: 1fr; gap: 2px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 8px 22px 20px; margin-top: 14px; }
.faits dt { margin-top: 14px; font-weight: 800; color: var(--heading); }
.faits dd { margin: 0; }
.mois { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; list-style: none; padding: 0; margin-top: 10px; max-width: 480px; }
.mois li { margin: 0; padding: 6px 0; text-align: center; font-size: 0.78rem; line-height: 1.2; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--muted); }
.mois li.on { background: var(--accent); border-color: var(--accent); color: var(--btn-text); font-weight: 700; }
.sosie { margin-top: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--warn); border-radius: var(--radius-s); }
.sosie h3 { margin: 0 0 6px; font-size: 1.15rem; }
.sosie .latin { font-family: var(--sans); font-weight: 400; font-size: 0.92rem; }
.sosie.danger-deadly { border-left-color: #9b1c1c; }
.sosie.danger-harmless { border-left-color: var(--accent); }
.danger { display: inline-block; padding: 2px 11px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.danger-deadly .danger { background: #9b1c1c; color: #fff; }
.danger-harmless .danger { background: var(--accent-soft); color: var(--accent); }
.sosie details { margin-top: 10px; }
.sosie summary { cursor: pointer; min-height: 44px; padding: 8px 0; font-weight: 700; color: var(--accent); }
.recette { margin-top: 18px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); }
.recette h3 { margin: 0 0 4px; }
.recette ul, .recette ol { margin-top: 10px; }
.science { margin-top: 30px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.science h2 { margin-top: 0; font-size: 1.25rem; }
.decouverte { margin-top: 22px; padding: 6px 24px 16px; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: 0 var(--radius-s) var(--radius-s) 0; box-shadow: var(--shadow-s); }
.decouverte h2 { font-size: 1.3rem; margin: 16px 0 8px; }
.appli { margin-top: 50px; padding: 8px 28px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.liste-especes, .calendrier { list-style: none; padding: 0; margin-top: 14px; }
.liste-especes li, .calendrier li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.liens-especes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.liens-especes li { margin: 0; }
.liens-especes a, .liens-especes span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-size: 0.95rem; }
.liens-especes span { background: var(--accent); border-color: var(--accent); color: var(--btn-text); font-weight: 700; }
.liens-especes a:hover { background: var(--accent-soft); }

/* Calendrier de l'année : une ligne par espèce, une colonne par mois ; défile dans son cadre sur téléphone, jamais la page */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cal-wrap { position: relative; overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); -webkit-overflow-scrolling: touch; }
.cal { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 0.95rem; }
.cal caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; color: var(--heading); caption-side: top; }
.cal th, .cal td { padding: 8px 0; text-align: center; border-top: 1px solid var(--border); }
.cal thead th { font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; }
.cal thead th a { color: var(--muted); text-decoration: none; }
.cal thead th a:hover { color: var(--accent); text-decoration: underline; }
.cal thead th:first-child { text-align: left; padding-left: 16px; }
.cal tbody th { text-align: left; padding: 8px 12px 8px 16px; font-weight: 700; min-width: 190px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cal tbody th a { color: var(--heading); text-decoration: none; }
.cal tbody th a:hover { color: var(--accent); text-decoration: underline; }
.cal td { width: 6%; }
.cal td.on > span { display: block; height: 16px; background: var(--accent); }
.cal td.on.debut > span { border-radius: 9px 0 0 9px; margin-left: 3px; }
.cal td.on.fin > span { border-radius: 0 9px 9px 0; margin-right: 3px; }
.cal td.on.debut.fin > span { border-radius: 9px; }
.cal-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cal-aide { display: none; margin-top: 8px; }
@media (max-width: 700px) {
  .cal { min-width: 520px; font-size: 0.88rem; }
  .cal tbody th { min-width: 118px; padding: 8px 8px 8px 12px; line-height: 1.25; }
  .cal thead th:first-child { padding-left: 12px; }
  .cal thead th { font-size: 0.7rem; }
  .cal td { width: 28px; }
  .cal-aide { display: block; }
}
.sources li { font-size: 0.92rem; color: var(--muted); }

/* ---------- « Comment ça marche » ---------- */
.etapes { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 64px; }
.etape { display: grid; gap: 26px; align-items: center; margin: 0; }
.etape .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--btn-text);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.etape h3 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.etape p { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.etape-visuel { display: flex; justify-content: center; gap: 18px; }
.etape-visuel .phone { max-width: 270px; }
.etape-visuel.double .phone:last-child { display: none; }
.hero-espece.sans-photo { grid-template-columns: 1fr; }
.corps { max-width: 820px; margin: 0 auto; }
.corps > section:first-child, .corps > .prudence:first-child { margin-top: 34px; }

/* ---------- Écrans larges ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .faits dl { grid-template-columns: 8em 1fr; }
  .grille-especes { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .tarifs { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .site-header .btn { margin-left: 8px; }
  .menu { display: none; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-home { padding: 64px 0 96px; }
  .hero-visuel .phone-b { display: block; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .grille-especes { grid-template-columns: repeat(4, 1fr); }
  .bande-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-espece { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }
  .visites { justify-content: center; overflow: visible; flex-wrap: wrap; }
  .appel { padding: 72px 40px; }
  .etape { grid-template-columns: 1fr 1fr; gap: 70px; }
  .etape:nth-child(even) .etape-texte { order: 2; }
  .etape-visuel.double .phone:last-child { display: block; margin-top: 44px; }
  .etape-visuel.double .phone { max-width: 235px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .site-header .bar { gap: 12px; }
  .site-header .btn { padding: 8px 16px; }
  .brand { font-size: 1.2rem; }
  .product { padding: 20px; }
  .product-head img { width: 68px; height: 68px; border-radius: 16px; }
  .phone { max-width: 250px; }
  .hero-visuel { min-height: 0; }
  .appli { padding: 6px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cta, .carte-espece { transition: none; }
}
