/* La Table d'Ondine — direction : comptoir de deli, étiquettes de bocal, bandes pleines moutarde / vert / pêche. */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: .98; }
h3 { font-family: var(--police-titre); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.marque { font-weight: 500; font-size: 1.625rem; letter-spacing: -0.02em; }
.marque small { font-family: var(--police-texte); font-weight: 600; letter-spacing: .01em; }
.entete { background: color-mix(in srgb, var(--fond) 94%, transparent); backdrop-filter: none; }
.bouton { border-radius: 10px; font-family: var(--police-texte); font-weight: 650; font-size: 1.0625rem; padding: 12px 24px; }
.bouton-second { background: transparent; border-color: var(--encre); color: var(--encre); }
.bouton-clair { background: var(--fond); color: var(--encre); border-color: var(--fond); }
.bouton-clair:hover { background: var(--moutarde); border-color: var(--moutarde); }
.menu a { font-weight: 600; }
.menu .bouton { padding: 10px 20px; border: 2px solid var(--accent); }
.menu .bouton:hover { border-color: color-mix(in srgb, var(--accent) 88%, black); }

/* ---------- premier écran : bande moutarde, titre déposé, photo, étiquette de bocal */
.hero { background: var(--moutarde); padding: 0 var(--gouttiere) var(--e-6); }
.hero .contenu { align-items: center; gap: var(--e-4); }
.hero-texte { padding-top: var(--e-4); }
.hero h1 { font-size: var(--t-1); }
.hero-texte p.chapo { color: var(--encre); font-size: 1.1875rem; max-width: 44ch; }
.hero-visuel img { border-radius: var(--rayon-grand); aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: var(--cadrage, 50% 30%); background: #e9c82a; }
.hero-visuel { margin-inline: auto; width: 100%; }
.etiquette-bocal {
  position: absolute; left: -10px; bottom: 28px; transform: rotate(-4deg); transform-origin: left bottom;
  background: var(--fond); color: var(--encre); border: 1.5px solid var(--encre); border-radius: 6px; padding: 14px 18px 14px 40px; max-width: 78%;
}
.etiquette-bocal::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 1.5px solid var(--encre); background: var(--moutarde); }
.etiquette-bocal b { display: block; font-family: var(--police-titre); font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.etiquette-bocal span { font-size: .9375rem; }
.etq-filtre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.etq-filtre i { font-style: normal; font-size: .8125rem; font-weight: 700; line-height: 1.3; border: 1.5px solid var(--encre); border-radius: var(--rayon-pilule); padding: 1px 10px; transition: background-color 180ms var(--ease-sortie), color 180ms var(--ease-sortie); }
.etq-filtre i[data-on] { background: var(--encre); color: var(--fond); }
.etq-filtre em { font-style: normal; font-size: .9375rem; font-weight: 650; margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- carte du moment */
.carte-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--e-3); margin-bottom: var(--e-6); }
.carte-tete p { margin: 0; max-width: 46ch; }
.filtre { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.puce { font: inherit; font-weight: 650; border: 1.5px solid var(--encre); background: transparent; color: var(--encre); border-radius: var(--rayon-pilule); padding: 8px 18px; min-height: 44px; transition: background-color var(--duree-clic), color var(--duree-clic), transform var(--duree-clic) var(--ease-rebond); }
.puce:hover { background: var(--kraft); }
.puce:active { transform: scale(.96); }
.puce[aria-pressed="true"] { background: var(--encre); color: var(--fond); }
.ardoise-carte { display: grid; gap: var(--e-6); }
.groupe h3 { font-size: 2rem; padding-bottom: var(--e-2); border-bottom: 1.5px solid var(--encre); margin-bottom: 0; font-weight: 400; font-style: italic; }
.plats { list-style: none; margin: 0; padding: 0; }
.plats li { padding: var(--e-3) 0; border-bottom: 1px solid var(--filet); display: grid; grid-template-columns: 1fr auto; gap: 4px var(--e-2); transition: opacity 220ms var(--ease-sortie); }
.plats h4 { margin: 0; font-family: var(--police-titre); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.01em; }
.plats .prix { font-family: var(--police-titre); font-weight: 500; font-size: 1.3125rem; font-variant-numeric: lining-nums tabular-nums; }
.plats p { grid-column: 1 / -1; margin: 0; color: var(--encre-2); font-size: 1rem; max-width: none; }
.plats li[data-estompe] { opacity: .28; }
.plats .vegetal { display: inline-block; margin-left: 8px; font-family: var(--police-texte); font-size: .8125rem; font-weight: 700; background: var(--vert); color: var(--encre); padding: 2px 9px; border-radius: 999px; vertical-align: .15em; letter-spacing: 0; }
.carte-pied { margin-top: var(--e-4); font-size: 1.0625rem; }
.carte-pied p { max-width: 70ch; }

/* ---------- la maison : bande verte */
.maison-bande { background: var(--vert); }
.maison img { border-radius: var(--rayon-grand); background: #8ad46f; }
.maison-bande figcaption { color: var(--encre); }
.maison-bande h2 { margin-bottom: var(--e-3); }
.producteurs { list-style: none; margin: var(--e-4) 0 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--encre); }
.producteurs li { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--encre) 35%, transparent); }
.producteurs b { font-family: var(--police-titre); font-weight: 500; font-size: 1.25rem; display: block; }

/* ---------- galerie */
.galerie { background: var(--kraft); }
.galerie h2 { margin-bottom: var(--e-4); }
.mosaique li { border-radius: var(--rayon-grand); }
.mosaique img { background: #e8d4c2; }
.mosaique figcaption { color: var(--encre); font-size: .9375rem; }

/* ---------- traiteur : trois formules en lignes de menu */
.traiteur-tete { max-width: 56ch; margin-bottom: var(--e-6); }
.formules { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--encre); }
.formules li { display: grid; gap: var(--e-2); padding: var(--e-4) 0; border-bottom: 1px solid var(--filet); }
.formules h3 { font-size: 2rem; font-style: italic; font-weight: 400; }
.formules .tarif { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 500; }
.formules .tarif small { font-family: var(--police-texte); font-size: 1rem; font-weight: 400; color: var(--encre-2); }
.formules p { margin: 0; }
.formules ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--encre-2); }
.formules ul li { display: block; border: 0; padding: 0 0 0 18px; position: relative; }
.formules ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--encre); }
.traiteur-pied { margin-top: var(--e-4); }

/* ---------- horaires et accès : bande olive */
.zone { background: var(--sombre); }
.zone .horaires { max-width: 520px; }
.zone .horaires li { border-bottom: 1px dashed color-mix(in srgb, var(--moutarde) 55%, transparent); }
.zone .horaires li span:first-child { font-weight: 600; }
.zone .horaires li.ferme span:last-child { color: var(--moutarde); }
.zone .bouton { background: var(--moutarde); border-color: var(--moutarde); color: var(--encre); }
.zone .bouton:hover { background: var(--fond); border-color: var(--fond); }
.acces { list-style: none; margin: var(--e-2) 0 var(--e-3); padding: 0; display: grid; gap: 10px; }
.acces li { padding-left: 18px; position: relative; }
.acces li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1.5px; background: var(--moutarde); }

/* ---------- faq */
.faq-liste summary { font-family: var(--police-titre); font-weight: 500; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; }
.faq-liste summary::after { color: var(--encre); }

/* ---------- contact : bande moutarde */
.contact { background: var(--moutarde); }
.contact .formulaire { background: var(--fond); border: 0; border-radius: var(--rayon-grand); padding: var(--e-4); }
.contact .formulaire input, .contact .formulaire textarea, .contact .formulaire select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--encre); border-radius: var(--rayon); background: var(--papier); color: var(--encre); min-height: 48px; width: 100%; }
.formulaire .duo { display: grid; gap: var(--e-2); grid-template-columns: 1fr 1fr; }
.formulaire .confirmation { background: var(--encre); color: var(--fond); }
.coordonnees { margin-top: var(--e-3); font-size: 1.125rem; }

/* ---------- barre fixe mobile */
.barre-mobile { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1.5px solid var(--encre); display: flex; gap: 10px; transition: transform 240ms var(--ease-sortie); }
.barre-mobile .bouton { flex: 1; white-space: nowrap; padding-inline: 12px; }
.barre-mobile .bouton:first-child { flex: 1.7; }
.barre-mobile[data-cachee] { transform: translateY(110%); }
body { padding-bottom: 76px; }
.pied { background: var(--fond); padding-bottom: var(--e-8); }

@media (min-width: 700px) {
  .barre-mobile { display: none; }
  body { padding-bottom: 0; }
  .hero .contenu { grid-template-columns: 1.2fr .8fr; }
  .hero-visuel img { aspect-ratio: 4 / 5; max-height: 78vh; }
  .ardoise-carte { grid-template-columns: repeat(3, 1fr); gap: var(--e-6); }
  .formules li { grid-template-columns: 1fr 1fr 1.1fr; align-items: start; gap: var(--e-4); }
  .formules .tete { grid-column: 1; }
  .maison { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 699px) {
  .marque { font-size: 1.25rem; white-space: nowrap; }
  .marque small { font-size: .6875rem; }
  .hero { padding-top: var(--e-2); }
  .hero-visuel { order: -1; }
  .hero-visuel img { aspect-ratio: 5 / 4; --cadrage: 50% 24%; }
  .etiquette-bocal { bottom: 14px; left: -6px; padding: 10px 14px 10px 34px; }
  .etiquette-bocal b { font-size: 1.0625rem; }
  .hero-texte { padding-top: var(--e-1); }
  .hero h1 { font-size: 2.5rem; }
  .formulaire .duo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .etiquette-bocal { animation: etiquette 650ms var(--ease-rebond) 700ms both; }
  @keyframes etiquette { from { opacity: 0; transform: rotate(-14deg) translateY(26px) scale(.9); } to { opacity: 1; transform: rotate(-4deg); } }
}
