/* ==========================================================================
   Miam Café Crêpe — feuille de style unique
   Palette de la charte (noir fumé, pêche) élargie aux couleurs du lieu même :
   le terracotta, l'ocre et le rose viennent de la fresque du coin enfants.
   Caractères ronds, composition asymétrique, ornements floraux de la charte.
   ========================================================================== */

/* ------------------------------------------------------------- polices */
/* Fredoka et Nunito sont hébergées avec le site : aucune requête vers un
   tiers, et la page ne dépend pas d'un service extérieur. Licences OFL
   dans assets/fonts/. */
@font-face{font-family:Fredoka;src:url(../fonts/fredoka-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Fredoka;src:url(../fonts/fredoka-latin-500-normal.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Fredoka;src:url(../fonts/fredoka-latin-600-normal.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url(../fonts/nunito-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url(../fonts/nunito-latin-600-normal.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url(../fonts/nunito-latin-700-normal.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}

:root {
  --brun:       #332619;
  --creme:      #FFFBF5;
  --peche:      #FAC5A0;
  --peche-pale: #FDE7D6;
  --terre:      #AE4624;   /* foncé pour rester lisible sur le crème */
  --moutarde:   #E0A43B;
  --sauge:      #7C9A72;   /* ne porte que du texte brun */
  --bleu:       #3E5C76;
  --rose:       #A84472;
  --onyx:       #6B5C4E;
  --ligne:      #E7DCCD;

  --font-titre: Fredoka, "Trebuchet MS", "Segoe UI", sans-serif;
  --font-texte: Nunito, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font: 400 17px/1.7 var(--font-texte);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-titre); font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.1vw, 3.3rem); line-height: 1.04; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.02; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }

/* petites capitales de signalétique, très espacées */
.kicker {
  font: 700 .72rem/1 var(--font-texte);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terre);
  margin: 0 0 1.3rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brun); color: var(--creme);
  padding: .75rem 1.2rem; z-index: 200;
}
.skip-link:focus { left: 0; }

:where(a, button, [role="tab"]):focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; }

/* numéro de section : chiffre, filet, libellé */
.secnum { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.2rem; flex-wrap: wrap; }
.secnum b { font: 600 2.5rem/1 var(--font-titre); color: var(--terre); }
.secnum i { height: 2px; width: 52px; background: var(--brun); opacity: .25; align-self: center; }
.secnum span {
  font: 700 .72rem/1 var(--font-texte);
  letter-spacing: .3em; text-transform: uppercase; color: var(--terre);
}

/* --------------------------------------------------------------- boutons */

.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font: 500 1rem/1 var(--font-titre);
  text-decoration: none;
  border: 2px solid var(--brun);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--brun); color: var(--creme); box-shadow: 5px 5px 0 var(--moutarde); }
.btn-primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--moutarde); }
.btn-ghost { background: transparent; color: var(--brun); }
.btn-ghost:hover { background: var(--brun); color: var(--creme); }

.on-dark .btn-primary { background: var(--peche); color: var(--brun); border-color: var(--peche); box-shadow: 5px 5px 0 var(--terre); }
.on-dark .btn-ghost { border-color: var(--peche); color: var(--peche); }
.on-dark .btn-ghost:hover { background: var(--peche); color: var(--brun); }

/* lien de second rang, en signalétique */
.link {
  font: 700 .76rem/1 var(--font-texte);
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--brun); padding-bottom: 4px;
}

/* ---------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 100; background: var(--creme); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 96px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { width: 112px; }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none;
  font: 700 .74rem/1 var(--font-texte);
  letter-spacing: .18em; text-transform: uppercase;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--terre); }
.nav-actions { display: flex; align-items: center; gap: 1.3rem; }
.nav-tel {
  font: 500 1rem/1 var(--font-titre);
  text-decoration: none;
  border-bottom: 2px solid var(--moutarde);
  padding-bottom: 3px;
  white-space: nowrap;
}
.nav-cta { padding: .7rem 1.4rem; font-size: .92rem; }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 2px solid var(--brun); border-radius: 999px;
  padding: .55rem 1.1rem;
  font: 700 .72rem/1 var(--font-texte); letter-spacing: .18em; text-transform: uppercase;
  color: var(--brun); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: var(--brun); }

/* filet aux largeurs inégales : un rythme, pas une mire */
.rule { display: flex; height: 5px; }
.rule i:nth-child(1) { flex: 7; background: var(--terre); }
.rule i:nth-child(2) { flex: 2; background: var(--moutarde); }
.rule i:nth-child(3) { flex: 11; background: var(--brun); }
.rule i:nth-child(4) { flex: 3; background: var(--sauge); }
.rule i:nth-child(5) { flex: 1; background: var(--rose); }

/* ------------------------------------------------------------------ hero */

/* le rembourrage vit sur la grille, pas sur la section : sinon il se glisse
   sous le bandeau d'informations et la photo vient buter contre lui */
.hero { position: relative; overflow-x: clip; }
.hero-orn {
  position: absolute; top: -34px; right: -60px; width: min(520px, 46vw);
  opacity: .5; pointer-events: none; rotate: 8deg;
}
.hero-inner {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 1.4rem; }
/* soulignement brossé accroché au mot, pas une règle droite */
.hero h1 .t {
  color: var(--terre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 22' preserveAspectRatio='none'%3E%3Cpath d='M3 14c62-8 128-11 196-10 63 1 138 4 226 12-70-2-141-4-212-4-72 0-142 1-210 2z' fill='%23E0A43B'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0 102%; background-size: 100% .16em;
  padding-bottom: .1em;
}
.signature {
  font: 500 clamp(1.15rem, 1.9vw, 1.5rem)/1.35 var(--font-titre);
  color: var(--terre);
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--moutarde);
}
.lede { font-size: 1.05rem; color: var(--onyx); max-width: 42ch; margin: 0 0 2.2rem; }
.hero-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.hero-badges li {
  font: 600 .84rem/1 var(--font-texte);
  border: 2px solid var(--brun); border-radius: 999px; padding: .45rem 1rem;
}
.hero-badges li:nth-child(2) { background: var(--peche); }
.hero-badges li:nth-child(3) { background: var(--moutarde); }
.hero-badges .badge-fort {
  background: var(--sauge);
  font-weight: 700;
  padding-left: 2.1rem;
  position: relative;
}
/* petite coche, pour que la promesse kids friendly se voie d'un coup d'œil */
.hero-badges .badge-fort::before {
  content: "";
  position: absolute; left: .95rem; top: 50%;
  width: .42rem; height: .72rem;
  border: solid var(--brun); border-width: 0 2px 2px 0;
  transform: translateY(-62%) rotate(45deg);
}

/* l'image sort de la grille et va toucher le bord de l'écran */
.hero-media {
  margin: 0;
  position: relative;
  margin-right: calc((100vw - min(100% - 3rem, var(--wrap))) / -2 - 1.5rem);
}
.hero-media img {
  width: 100%; height: min(70vh, 545px);
  object-fit: cover; object-position: center 42%;
  border-radius: 200px 20px 20px 20px;
}
.stamp {
  position: absolute; left: -46px; bottom: 40px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--moutarde); border: 2px solid var(--brun);
  display: grid; place-content: center; text-align: center; rotate: -9deg;
}
.stamp b { font: 600 1.16rem/1 var(--font-titre); white-space: nowrap; }
.stamp b i { font-style: normal; margin: 0 .12em; }
.stamp span { display: block; margin-top: 5px; font: 700 .58rem/1.3 var(--font-texte); letter-spacing: .14em; text-transform: uppercase; }

/* bandeau d'informations : un seul aplat */
.hero-bar { background: var(--brun); color: var(--creme); padding: 1.15rem 0; font: 600 .95rem/1.5 var(--font-texte); }
.hero-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1.5rem; }
.hero-bar p { margin: 0; }
.hero-bar strong { color: var(--peche); font-weight: 700; }
.hero-bar a { text-decoration: none; border-bottom: 1px solid rgba(255, 251, 245, .35); }
.hero-bar a:hover { border-bottom-color: var(--peche); }

/* --------------------------------------------------------------- sections */

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-lede { color: var(--onyx); font-size: 1.03rem; }

/* le café */

.about-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.about-media { margin: 0; }
.about-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 2px solid var(--brun);
  border-radius: 20px 20px 20px 150px;
}
.about-text p { color: var(--onyx); }

/* valeurs : liste filetée, pas des cartes */
.values { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; }
.values li {
  display: grid; grid-template-columns: minmax(9.5rem, .38fr) 1fr;
  gap: 0 1.5rem; align-items: baseline;
  padding: 1.1rem 0; border-top: 2px solid var(--brun);
}
.values li:last-child { border-bottom: 2px solid var(--brun); }
.values strong { font: 600 1.02rem/1.2 var(--font-titre); }
.values span { color: var(--onyx); font-size: .94rem; }

/* en famille */

.section-family { overflow: hidden; }
.section-family .blob {
  position: absolute; inset: auto -12% -26% 44%; height: 116%;
  background: var(--peche); border-radius: 56% 44% 50% 50% / 48% 52% 48% 52%;
  z-index: 0;
}
.family-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.family-text h2 { max-width: 15ch; }
.family-text > p { color: var(--onyx); max-width: 42ch; }

/* formules : prix en vedette, filets, pas de cartes jumelles */
.tarifs { display: grid; max-width: 480px; margin: 2rem 0 2.2rem; }
/* colonne de prix de largeur fixe : sans elle, chaque formule forme sa propre
   grille et les intitulés ne s'alignent plus d'une ligne à l'autre */
.tarif {
  display: grid; grid-template-columns: 5.4rem 1fr; gap: 0 1.2rem; align-items: baseline;
  padding: 1.15rem 0; border-top: 2px solid var(--brun);
}
.tarif:last-child { border-bottom: 2px solid var(--brun); }
.tarif b { font: 600 2.1rem/1 var(--font-titre); color: var(--terre); }
.tarif h3 { margin: 0 0 .15rem; }
.tarif p { margin: 0; font-size: .93rem; color: var(--onyx); }
.tarif .note { font-size: .84rem; font-style: italic; }

.family-media { display: grid; gap: 1.4rem; padding-top: 2.6rem; }
.family-media figure { margin: 0; }
.family-media img { width: 100%; object-fit: cover; border: 2px solid var(--brun); }
.family-media figure:nth-child(1) img { aspect-ratio: 4 / 3; border-radius: 20px 20px 20px 110px; }
.family-media figure:nth-child(2) { margin-left: 2.4rem; }
.family-media figure:nth-child(2) img { aspect-ratio: 5 / 4; border-radius: 110px 20px 20px 20px; }
.cap {
  font: 700 .68rem/1.4 var(--font-texte);
  letter-spacing: .16em; text-transform: uppercase;
  margin: .7rem 0 0; opacity: .7;
}

/* ------------------------------------------------------------------ carte */

.tablist-scroller { overflow-x: auto; scrollbar-width: none; margin-bottom: 2.4rem; }
.tablist-scroller::-webkit-scrollbar { display: none; }
.tablist { display: flex; gap: .5rem; min-width: max-content; padding-bottom: .3rem; }
.tablist [role="tab"] {
  background: transparent; border: 2px solid var(--brun); border-radius: 999px;
  padding: .6rem 1.25rem;
  font: 700 .72rem/1 var(--font-texte); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brun); cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.tablist [role="tab"]:hover { background: var(--peche-pale); }
.tablist [role="tab"][aria-selected="true"] { background: var(--brun); color: var(--creme); }
.tabpanel:focus { outline: none; }

.menu-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start;
}
.menu-block { min-width: 0; }
.menu-block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 2px solid var(--brun); padding-bottom: .5rem; margin-bottom: .8rem;
}
.menu-block-head--sub { margin-top: 2.6rem; }
.menu-block-head--wide { margin-bottom: 1.5rem; }
.menu-block-head h3 { margin: 0; font-size: 1.35rem; }
.price-tag { margin: 0; font: 600 1.35rem/1 var(--font-titre); color: var(--terre); white-space: nowrap; }
.menu-block-note { font-size: .88rem; color: var(--onyx); margin-bottom: 1.1rem; }

.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.menu-list li { font-size: .97rem; }
.menu-list strong { font-family: var(--font-titre); font-weight: 500; }
.menu-list em { font-style: normal; color: var(--onyx); }
.menu-list > li > span:not(.dots) { display: block; color: var(--onyx); font-size: .92rem; line-height: 1.55; }
/* le prix reste sur la ligne du produit : le libellé occupe sa propre colonne
   et se replie tout seul, sans jamais repousser le prix en dessous */
.menu-list--priced li { display: flex; align-items: baseline; gap: .5rem; flex-wrap: nowrap; }
.menu-list--priced .item { flex: 0 1 auto; min-width: 0; }
.menu-list--priced .dots { flex: 1 1 1.2rem; min-width: .8rem; border-bottom: 2px dotted var(--ligne); transform: translateY(-.25rem); }
.menu-list--priced b { flex: none; font: 600 1rem/1 var(--font-titre); color: var(--terre); white-space: nowrap; }

.menu-extra {
  margin-top: 1.4rem; padding: 1.1rem 1.3rem;
  background: var(--peche-pale); border-radius: 20px 20px 20px 4px;
  font-size: .92rem; color: var(--onyx);
}
.menu-extra strong { color: var(--brun); }
.menu-extra--legal { font-size: .84rem; }

.chip-groups { display: grid; gap: 1.3rem; margin-bottom: .5rem; }
.chip-group h4 {
  font: 700 .7rem/1 var(--font-texte); letter-spacing: .2em; text-transform: uppercase;
  color: var(--terre); margin: 0 0 .7rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.chips li { border: 2px solid var(--brun); border-radius: 999px; padding: .28rem .85rem; font-size: .85rem; }

.menu-figure { margin: 2.6rem 0 0; }
.menu-figure img {
  width: 100%; aspect-ratio: 12 / 5; object-fit: cover; object-position: center 58%;
  border: 2px solid var(--brun); border-radius: 20px 130px 20px 20px;
}
.menu-foot {
  margin: 2.8rem 0 0; text-align: center;
  font: 600 1.1rem/1 var(--font-titre); color: var(--terre);
}

/* --------------------------------------------------------------- galerie */

.section-gallery { background: var(--brun); color: var(--creme); overflow: hidden; }
.section-gallery .kicker,
.section-gallery .secnum b,
.section-gallery .secnum span { color: var(--peche); }
.section-gallery .secnum i { background: var(--peche); opacity: .5; }
.section-gallery h2 { color: var(--creme); }
.gallery-orn {
  position: absolute; right: -80px; top: 40px; width: min(420px, 40vw);
  opacity: .28; pointer-events: none; rotate: -6deg;
}
/* bento : hauteurs de rangée fixes, vignettes de poids inégal */
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px; gap: 1rem; position: relative; z-index: 1;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.gallery figure:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 3; }
.gallery figure:nth-child(3) { grid-column: span 3; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery figure:nth-child(5) { grid-column: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery figure:nth-child(1) img { border-radius: 18px 18px 18px 120px; }
.gallery figure:nth-child(4) img { border-radius: 90px 18px 18px 18px; }

/* ------------------------------------------------------------- réserver */

.section-reserver { background: var(--peche-pale); }
.reserver-zone {
  background: var(--creme);
  border: 2px solid var(--brun);
  border-radius: 20px 90px 20px 20px;
  padding: clamp(1.8rem, 4vw, 3rem);
  min-height: 180px;
  display: grid; place-items: center; gap: 1rem; text-align: center;
}
/* une fois le module chargé, la zone lui laisse toute la place */
.reserver-zone[data-loaded] { display: block; text-align: left; padding: 1.2rem; }
.reserver-note { margin: 0; font-size: .86rem; color: var(--onyx); }
.reserver-erreur { margin: 0; font-size: .95rem; color: var(--terre); font-weight: 700; }

/* ----------------------------------------------------------------- infos */

.infos-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.infos-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.6rem; margin: 2.2rem 0; }
.infos-list div { border-top: 2px solid var(--brun); padding-top: .9rem; }
.infos-list dt {
  font: 700 .7rem/1 var(--font-texte); letter-spacing: .2em; text-transform: uppercase;
  color: var(--terre); margin-bottom: .45rem;
}
.infos-list dd { margin: 0; font-size: 1rem; }
.infos-list a { text-decoration: none; border-bottom: 2px solid var(--moutarde); }

.infos-media { margin: 0; }
.infos-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 2px solid var(--brun); border-radius: 150px 20px 20px 20px;
}

/* la carte n'est chargée qu'au clic : rien n'est demandé à Google tant que le
   visiteur ne l'a pas voulu, et la page se charge plus vite */
.map {
  position: relative; aspect-ratio: 5 / 4;
  border: 2px solid var(--brun); border-radius: 150px 20px 20px 20px;
  overflow: hidden; background: var(--peche);
}
.map-preview { position: absolute; inset: 0; }
.plan { position: absolute; inset: 0; width: 100%; height: 100%; }

/* l'adresse et le bouton se posent sur le plan, en bas */
.map-legende {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem 1.2rem;
  padding: 1rem 1.3rem 2.4rem;
  background: linear-gradient(to top, rgba(255, 251, 245, .96) 62%, rgba(255, 251, 245, 0));
}
.map-adr { margin: 0; font: 600 1.05rem/1.3 var(--font-titre); }
.map-adr span { font-family: var(--font-texte); font-weight: 400; font-size: .92rem; }
.map-note {
  position: absolute; left: 1.3rem; right: 1.3rem; bottom: .8rem;
  margin: 0; font-size: .72rem; color: var(--onyx);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------- page légale */

.legal-wrap { max-width: 78ch; }
.legal h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: .3em; }
.legal-maj { color: var(--onyx); font-size: .92rem; margin-bottom: 2.6rem; }
.legal section { margin-bottom: 2.6rem; }
.legal h2 {
  font-size: 1.35rem; line-height: 1.3;
  border-bottom: 2px solid var(--brun);
  padding-bottom: .5rem; margin-bottom: 1.1rem;
}
.legal p { color: var(--onyx); }
.legal a { color: var(--brun); text-decoration: none; border-bottom: 2px solid var(--moutarde); }

.legal-liste { margin: 0; display: grid; }
.legal-liste > div {
  display: grid; grid-template-columns: minmax(11rem, .34fr) 1fr; gap: 0 1.5rem;
  padding: .75rem 0; border-top: 1px solid var(--ligne); align-items: baseline;
}
.legal-liste > div:last-child { border-bottom: 1px solid var(--ligne); }
.legal-liste dt {
  font: 700 .72rem/1.4 var(--font-texte);
  letter-spacing: .14em; text-transform: uppercase; color: var(--terre);
}
.legal-liste dd { margin: 0; }

.legal-puces { color: var(--onyx); padding-left: 1.2rem; display: grid; gap: .7rem; }
.legal-puces strong { color: var(--brun); }

/* ce qui manque encore doit se voir, pas se fondre dans le texte */
.a-completer {
  background: var(--moutarde);
  color: var(--brun);
  font-weight: 700;
  padding: .1em .5em;
  border-radius: 4px;
}

.legal-retour { margin-top: 3rem; }

@media (max-width: 560px) {
  .legal-liste > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--brun); color: var(--creme); padding: clamp(3rem, 5vw, 4.5rem) 0 1.6rem; position: relative; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; padding-bottom: 2.8rem; position: relative; z-index: 1; }
.footer-brand .brand-logo { width: 190px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255, 251, 245, .72); max-width: 34ch; }
.footer-col h3 {
  font: 700 .72rem/1 var(--font-texte); letter-spacing: .2em; text-transform: uppercase;
  color: var(--peche); margin-bottom: .9rem;
}
.footer-col p { color: rgba(255, 251, 245, .8); line-height: 2; }
.footer-col a { text-decoration: none; border-bottom: 1px solid rgba(255, 251, 245, .25); }
.footer-col a:hover { border-bottom-color: var(--peche); }
.footer-muted { color: rgba(255, 251, 245, .45); }

.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgba(255, 251, 245, .85); text-decoration: none; border: 0;
  font-weight: 600;
}
.socials a:hover { color: var(--peche); }
.socials svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  border-top: 1px solid rgba(255, 251, 245, .2); padding-top: 1.4rem;
  font-size: .84rem; color: rgba(255, 251, 245, .6);
  position: relative; z-index: 1;
}
.footer-legal p { margin: 0; }
.footer-legal a { text-decoration: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .hero-inner, .about-grid, .family-grid, .infos-grid { grid-template-columns: 1fr; }
  .hero-media { margin-right: 0; }
  .hero-media img { height: auto; aspect-ratio: 16 / 11; }
  .about-media { order: 2; }
  .about-media img { aspect-ratio: 16 / 11; border-radius: 20px 20px 20px 110px; }
  .family-media { grid-template-columns: 1fr 1fr; padding-top: 1rem; }
  .family-media figure:nth-child(2) { margin-left: 0; }
  .section-family .blob { inset: auto -30% -18% 30%; height: 60%; }
  .gallery { grid-auto-rows: 170px; }
  .gallery figure:nth-child(n) { grid-column: span 3; grid-row: span 1; }
  .gallery figure:nth-child(1) { grid-row: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 96px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 5px solid var(--terre);
    padding: 1rem 1.25rem 1.6rem; display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 2px solid var(--ligne); }
  .nav ul a { display: block; padding: .95rem 0; font-size: .82rem; }
  .nav-actions { flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: 1.2rem; }

  /* sur petit écran, l'adresse et le bouton passent sous l'illustration
     plutôt que de recouvrir le café */
  .map { aspect-ratio: auto; }
  .map[data-loaded] { aspect-ratio: 5 / 4; }
  .map-preview { position: static; }
  .plan { position: static; width: 100%; height: auto; aspect-ratio: 5 / 4; }
  .map-legende {
    position: static; background: none;
    flex-direction: column; align-items: flex-start;
    padding: 1.1rem 1.3rem .2rem;
  }
  .map-note { position: static; padding: 0 1.3rem 1.2rem; }

  .hero-orn { width: 62vw; right: -40px; top: -20px; }
  .stamp { width: 92px; height: 92px; left: auto; right: 14px; bottom: -20px; }
  .hero-bar-inner { flex-direction: column; align-items: flex-start; }
  .menu-figure img { aspect-ratio: 3 / 2; }
  .family-media { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .values li { grid-template-columns: 1fr; gap: .3rem; }
  .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero-actions .link { text-align: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media print {
  .site-header, .nav, .hero-actions, .tablist-scroller, .hero-orn, .gallery-orn { display: none !important; }
  .tabpanel[hidden] { display: block !important; }
  body { background: #fff; }
}
