/* =========================================================
   Selon l'envie — feuille de style
   Titres : Fraunces · Interface et textes courts : Jost · Récits : PT Serif
   Le bordeaux est LA couleur d'action (boutons, liens, sélection).
   Les autres couleurs sont réservées aux familles de boissons.
   ========================================================= */

:root {
  --creme: #F4EDE2;
  --creme-clair: #FBF8F3;
  --papier: #FFFDF9;
  --brun: #3A2A20;
  --brun-doux: #6B5A4E;
  --trait: #E4D8C6;

  --bordeaux: #8C3B3B;
  --bordeaux-fonce: #6E2C2C;
  --sauge: #4A7A54;
  --ambre: #E08A1E;
  --ambre-texte: #A55E0A;  /* l'ambre, foncé pour rester lisible en texte */
  --epice: #C45A28;
  --cacao: #5C3A2A;

  --titre: "Fraunces", Georgia, serif;
  --ui: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --recit: "PT Serif", Georgia, serif;

  --rayon: 14px;
  --ombre: 0 1px 2px rgba(58, 42, 32, 0.06), 0 6px 20px rgba(58, 42, 32, 0.07);
  --ombre-survol: 0 2px 4px rgba(58, 42, 32, 0.08), 0 14px 32px rgba(58, 42, 32, 0.12);
  --largeur: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme-clair);
  color: var(--brun);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--bordeaux); }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .conteneur { padding: 0 2rem; }
}

.etroit { max-width: 52rem; }

.visuellement-cache {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--sauge); outline-offset: 2px; }

/* ---------- Bandeau et barre de navigation ---------- */

.bandeau {
  background: var(--bordeaux);
  color: var(--creme-clair);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
}

.bandeau strong { font-weight: 600; }

.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--trait);
}

.entete-interieur {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  text-decoration: none;
  margin: 0;
}

.logo em { font-style: italic; font-weight: 600; }

.menu {
  display: flex;
  gap: 0.25rem 1.75rem;
  margin-left: auto;
  order: 2;
}

.menu a {
  color: var(--brun);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.menu a:hover { border-bottom-color: var(--trait); }
.menu a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

.entete-recherche {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--brun);
}

.entete-recherche:hover { background: var(--creme); }

/* Sur téléphone : le menu passe sous le logo et défile horizontalement */
@media (max-width: 47.99rem) {
  .menu {
    order: 4;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .menu::-webkit-scrollbar { display: none; }
  .entete-recherche { margin-left: auto; }
  .menu a { white-space: nowrap; font-size: 0.72rem; letter-spacing: 0.05em; }
  .bandeau-long { display: none; }
  .entete-interieur { padding-top: 0.6rem; padding-bottom: 0.5rem; }
  .logo { font-size: 1.4rem; }
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 0;
  background: var(--bordeaux);
  color: var(--creme-clair);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.bouton:hover { background: var(--bordeaux-fonce); }

.lien-fleche {
  font-weight: 500;
  color: var(--bordeaux);
  text-decoration: none;
  white-space: nowrap;
}

.lien-fleche:hover { text-decoration: underline; }

/* ---------- Accueil : le grand bandeau ---------- */

.hero { padding: 3rem 0 3.5rem; }

.hero-grille {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grille { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.surtitre {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin: 0 0 0.75rem;
}

.signature {
  font-family: var(--titre);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--bordeaux);
  margin: 0 0 1.25rem;
}

.hero-intro {
  font-family: var(--recit);
  font-size: 1.15rem;
  color: var(--brun-doux);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.recherche-hero {
  display: flex;
  gap: 0.5rem;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--ombre);
  max-width: 34rem;
}

.recherche-hero input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--brun);
  padding: 0.6rem 1rem;
}

.recherche-hero input:focus { outline: none; }
.recherche-hero:focus-within { border-color: var(--bordeaux); }

@media (max-width: 30rem) {
  .recherche-hero { flex-direction: column; border-radius: var(--rayon); }
  .recherche-hero .bouton { justify-content: center; }
}

.chiffres {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--brun-doux);
  letter-spacing: 0.02em;
}

.chiffres strong { color: var(--brun); font-weight: 600; }

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--rayon) * 1.5);
  box-shadow: var(--ombre-survol);
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: var(--papier);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  box-shadow: var(--ombre);
}

.hero-photo figcaption strong { color: var(--bordeaux); font-weight: 600; }

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
.section-creme { background: var(--creme); }

@media (min-width: 60rem) {
  .section { padding: 5rem 0; }
}

.section-tete { margin-bottom: 2rem; }

.section-tete h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 0.35rem;
}

.section-tete p { margin: 0; color: var(--brun-doux); }

.section-tete-lien {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.grille-4, .grille-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

@media (min-width: 60rem) {
  .grille-4 { grid-template-columns: repeat(4, 1fr); }
  .grille-3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.credits {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--brun-doux);
}

.credits a { color: inherit; }

/* ---------- Cartes des familles de plats ---------- */

.carte-famille {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--rayon);
  overflow: hidden;
  color: var(--creme-clair);
  text-decoration: none;
  box-shadow: var(--ombre);
  transition: transform 0.2s, box-shadow 0.2s;
}

.carte-famille img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.carte-famille::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 18, 12, 0.82) 0%, rgba(30, 18, 12, 0.15) 55%, rgba(30, 18, 12, 0) 100%);
}

.carte-famille:hover { transform: translateY(-3px); box-shadow: var(--ombre-survol); }
.carte-famille:hover img { transform: scale(1.04); }

.carte-famille-texte {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
}

.carte-famille-titre {
  display: block;
  font-family: var(--titre);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.carte-famille-nb {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

@media (max-width: 47.99rem) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .carte-famille-titre { font-size: 1.2rem; }
  .carte-famille-texte { left: 0.9rem; right: 0.9rem; bottom: 0.9rem; }
}

/* ---------- Cartes d'articles (accueil) ---------- */

.carte-article {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border-radius: var(--rayon);
  overflow: hidden;
  color: var(--brun);
  text-decoration: none;
  box-shadow: var(--ombre);
  transition: transform 0.2s, box-shadow 0.2s;
}

.carte-article:hover { transform: translateY(-3px); box-shadow: var(--ombre-survol); }

.carte-article img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carte-article-corps { padding: 1.1rem 1.25rem 1.4rem; }

.carte-article h3 { font-size: 1.35rem; margin: 0.6rem 0 0.3rem; }

.carte-article p { margin: 0; font-size: 0.92rem; color: var(--brun-doux); }

/* ---------- Légende « comment lire mes accords » ---------- */

.legende-bloc {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.25rem;
}

.legende-bloc p { margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--brun-doux); }

/* ---------- Pied de page ---------- */

.pied {
  background: var(--brun);
  color: #E9DFD1;
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.pied-grille {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.pied .logo { color: var(--creme-clair); font-size: 1.6rem; margin: 0; }

.pied p { margin: 0.5rem 0 0; font-size: 0.92rem; }

.pied .signature { color: #E7B9A8; font-size: 1.2rem; margin-top: 0.75rem; }

.pied h2 {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #BFAF9C;
  margin: 0 0 0.9rem;
}

.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 0.35rem 0; }
.pied a { color: #F4EDE2; text-decoration: none; font-size: 0.95rem; }
.pied a:hover { text-decoration: underline; }

.pied-bas {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(233, 223, 209, 0.15);
  font-size: 0.8rem;
  color: #BFAF9C;
}

/* ---------- En-tête des pages intérieures ---------- */

.page-tete { padding: 3rem 0 1.5rem; }

.page-tete h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 0.5rem; }

.page-tete p:not(.surtitre) { margin: 0; font-family: var(--recit); font-size: 1.1rem; color: var(--brun-doux); max-width: 40rem; }

.page-corps { padding-bottom: 4rem; min-height: 60vh; }

/* ---------- Pastilles (mentions) ---------- */

.mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.mention {
  display: inline-block;
  padding: 0.12rem 0.65rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mention-perso      { color: var(--creme-clair); background: var(--bordeaux); border-color: var(--bordeaux); }
.mention-verifie    { color: var(--sauge); }
.mention-deduit     { color: var(--cacao); border-style: dashed; }
.mention-facile     { color: var(--sauge); }
.mention-maison     { color: var(--ambre-texte); }
.mention-cher       { color: var(--bordeaux); }
.mention-a-verifier { color: var(--brun-doux); border-style: dashed; }

.verdict-adopte         { color: var(--sauge); }
.verdict-mitige         { color: var(--cacao); }
.verdict-pas_convaincue { color: var(--epice); }

.source { font-size: 0.82rem; color: var(--brun-doux); }

.vide { font-style: italic; }

/* ---------- Page « Trouver un accord » ---------- */

/* Couleur de famille de boisson, pour tout élément qui porte data-couleur */
[data-couleur="bordeaux"] { --couleur: var(--bordeaux); }
[data-couleur="sauge"]    { --couleur: var(--sauge); }
[data-couleur="ambre"]    { --couleur: var(--ambre); }
[data-couleur="epice"]    { --couleur: var(--epice); }
[data-couleur="cacao"]    { --couleur: var(--cacao); }

.recherche-accords { position: relative; margin-top: 1.75rem; max-width: 40rem; }
.recherche-accords input { padding-left: 2.8rem; }
.recherche-icone { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--brun-doux); }

/* Barre de filtres horizontale : « Type de plat » et « Ce que j'ai sous la main » sur toute la largeur,
   « Préparation » et « Uniquement » côte à côte en dessous */
.filtres-barre {
  display: grid;
  gap: 1.25rem;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 1.1rem 1rem 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 48rem) {
  .filtres-barre { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; padding: 1.5rem 1.75rem; }
  .filtres-barre .filtre-groupe:nth-child(-n + 2) { grid-column: 1 / -1; }
}

.filtres-barre:empty { display: none; }  /* le temps que les données arrivent */

.filtre-groupe { border: 0; margin: 0; padding: 0; min-width: 0; }

.filtre-groupe legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brun-doux);
}

.choix-puces { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* Une case à cocher habillée en pastille */
.choix-puce {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem 0.4rem 0.85rem;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--creme-clair);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}

.choix-puce:hover { border-color: var(--brun-doux); }
.choix-puce input { position: absolute; opacity: 0; pointer-events: none; }
.choix-puce:has(input:focus-visible) { outline: 3px solid var(--sauge); outline-offset: 2px; }
.choix-puce:has(input:checked) { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--creme-clair); }
.choix-puce.vide { opacity: 0.45; }

.pastille:not([data-couleur]) { display: none; }
.pastille { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--couleur); flex: none; }
.choix-puce:has(input:checked) .pastille { box-shadow: 0 0 0 2px var(--creme-clair); }

.compte {
  min-width: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(58, 42, 32, 0.07);
  font-size: 0.75rem;
  text-align: center;
  color: var(--brun-doux);
}

.choix-puce:has(input:checked) .compte { background: rgba(255, 255, 255, 0.2); color: inherit; }

/* Les sous-familles d'une famille cochée, pour affiner */
.affiner:empty { display: none; }

.affiner-ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--creme);
  border-radius: 10px;
}

.affiner-titre { font-size: 0.85rem; font-weight: 500; margin-right: 0.25rem; }
.affiner .choix-puce { font-size: 0.83rem; padding: 0.3rem 0.45rem 0.3rem 0.75rem; background: var(--papier); }

/* Sur téléphone : chaque groupe tient sur une ligne qu'on fait glisser du doigt */
@media (max-width: 47.99rem) {
  .filtres-barre { gap: 1rem; padding: 1rem 0 1rem 1rem; }
  .filtre-groupe legend { margin-bottom: 0.45rem; }
  .choix-puces, .affiner-ligne {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 1.5rem;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .choix-puces::-webkit-scrollbar, .affiner-ligne::-webkit-scrollbar { display: none; }
  .choix-puce { flex: none; font-size: 0.85rem; padding: 0.35rem 0.45rem 0.35rem 0.75rem; }
  .affiner-ligne { margin-right: 1rem; }
  /* Les 4 familles de plats restent toutes visibles (elles passent à la ligne) */
  .filtre-groupe:first-child > .choix-puces { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 1rem; }
  .affiner-titre { flex: none; }
}

/* Avant tout choix : une invitation plutôt qu'une longue liste */
.invitation {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.25rem;
  border: 1.5px dashed var(--trait);
  border-radius: var(--rayon);
  color: var(--brun-doux);
}

.invitation p { margin: 0; }
.invitation-titre { font-family: var(--titre); font-size: 1.6rem; color: var(--brun); margin-bottom: 0.5rem !important; }

.resultats-tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resume { color: var(--brun-doux); margin: 0; }

.lien-bouton {
  font: inherit;
  font-size: 0.9rem;
  color: var(--bordeaux);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.grille-plats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  align-items: start;
}

/* Carte compacte d'un plat ; ouverte, elle prend toute la largeur */
.plat-carte {
  background: var(--papier);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  transition: box-shadow 0.2s, transform 0.2s;
}

.plat-carte:not([open]):hover { transform: translateY(-2px); box-shadow: var(--ombre-survol); }
.plat-carte[open] { grid-column: 1 / -1; }

.plat-carte > summary {
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem 1rem;
}

.plat-carte > summary::-webkit-details-marker { display: none; }

.plat-carte-haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.plat-carte-haut .mention { font-size: 0.7rem; white-space: nowrap; }

.plat-carte h3 { font-size: 1.35rem; margin: 0.3rem 0 0.8rem; }

.puces { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.puce {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--creme);
}

.puce::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--couleur, var(--brun-doux)); }
.puce-plus::before { display: none; }

.plat-carte-pied {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bordeaux);
}

.plat-carte .boissons {
  border-top: 1px solid var(--trait);
  margin: 0 1.25rem;
  padding: 1.25rem 0 0.25rem;
}

@media (min-width: 48rem) {
  .plat-carte .boissons { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 0 2rem; }
}

.plat-famille {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brun-doux);
}

.boissons { list-style: none; padding: 0; margin: 0; }

.boisson {
  --couleur: var(--brun);
  border-left: 4px solid var(--couleur);
  padding: 0.25rem 0 0.25rem 1rem;
  margin-bottom: 1.4rem;
}

.boisson[data-couleur="bordeaux"] { --couleur: var(--bordeaux); }
.boisson[data-couleur="sauge"]    { --couleur: var(--sauge); }
.boisson[data-couleur="ambre"]    { --couleur: var(--ambre); }
.boisson[data-couleur="epice"]    { --couleur: var(--epice); }
.boisson[data-couleur="cacao"]    { --couleur: var(--cacao); }

.fiche-haut {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.78rem;
}

.categorie {
  background: var(--couleur);
  color: #fff;
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* L'ambre est trop clair pour du texte blanc : texte brun à la place */
.boisson[data-couleur="ambre"] .categorie { color: var(--brun); }

.boisson h4 { font-size: 1.2rem; margin: 0.4rem 0 0.1rem; }

.boisson p { margin: 0.25rem 0; }

.exemples { font-style: italic; font-size: 0.92rem; color: var(--brun-doux); }

.precision { font-size: 0.92rem; color: var(--brun-doux); }

.pourquoi { font-family: var(--recit); }

.cote-vin { color: var(--bordeaux); font-size: 0.92rem; }

.service { font-size: 0.92rem; color: var(--brun-doux); }

.recette {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--couleur);
}

.recette summary { cursor: pointer; font-weight: 500; color: var(--couleur); }

.recette ul, .recette ol { padding-left: 1.2rem; }

/* ---------- Page « Mes découvertes » ---------- */

.article {
  --couleur: var(--brun);
  background: var(--papier);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: hidden;
  margin-bottom: 2.5rem;
  scroll-margin-top: 6rem;
}

.article[data-couleur="bordeaux"] { --couleur: var(--bordeaux); }
.article[data-couleur="sauge"]    { --couleur: var(--sauge); }
.article[data-couleur="ambre"]    { --couleur: var(--ambre); }
.article[data-couleur="epice"]    { --couleur: var(--epice); }
.article[data-couleur="cacao"]    { --couleur: var(--cacao); }

/* Photos portrait ou paysage : on garde la photo entière tant qu'elle n'est pas trop haute */
.article-photo {
  display: block;
  width: 100%;
  max-height: 40rem;
  object-fit: cover;
}

.article-photo-vide {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 5;
  background: var(--couleur);
  color: var(--creme);
  font-family: var(--titre);
  font-style: italic;
  opacity: 0.85;
}

.article-corps { padding: 1.5rem 1.75rem 1.75rem; }

.article-corps .mentions { margin-top: 0; }

.article h2 { font-size: 1.8rem; margin: 0.75rem 0 0.5rem; }

.article-infos { font-size: 0.92rem; color: var(--brun-doux); }

.article-corps > p:not(.article-infos) { font-family: var(--recit); font-size: 1.08rem; }

/* ---------- Page « À propos » ---------- */

.recit { font-family: var(--recit); font-size: 1.15rem; line-height: 1.75; }

.recit p { margin: 0 0 1.25rem; }
