/* Le Flimiou – feuille de style.
   Une colonne centrée sur fond blanc, texte noir. Tout le texte en EB Garamond ;
   seul le bouton « Réserver » est en Jost. Couleurs et polices sont des variables (:root).
   Les polices sont hébergées sur le site (assets/fonts/), sans appel à un serveur tiers. */

@font-face { font-family: 'EB Garamond'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #141414;
  --muted: #6c6a66;
  --line: #141414;
  --line-soft: #dcd9d3;
  --accent: #0f3f5f;
  --display: 'Jost', 'Futura', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --titre: 'EB Garamond', 'Garamond', 'Hoefler Text', Georgia, serif;
  --mesure: 38rem;
  --air: clamp(3rem, 9vw, 5.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--titre); font-size: 1rem; line-height: 1.5; font-weight: 400;
}
.page {
  max-width: var(--mesure); margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) 16px 3rem;
  display: grid; gap: var(--air); text-align: center;
}
a { color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* En-tête : nom, sous-titre, adresse, bouton */
.entete { display: grid; gap: 0; justify-items: center; }
.nom {
  margin: 0; font-family: var(--titre); font-weight: 500; font-size: clamp(2.6rem, 10vw, 3.6rem);
  letter-spacing: .02em; line-height: 1; text-wrap: balance;
}
.sous-titre { margin: -.3rem 0 0; text-wrap: balance; line-height: 1.2; font-family: var(--titre); font-weight: 500; font-size: 1.5rem; letter-spacing: .01em; }
.adresse span { white-space: nowrap; }
.adresse { margin: .55rem 0 0; font-family: var(--titre); font-weight: 400; font-size: 1.32rem; line-height: 1.3; }

/* Bouton */
.entete .bouton { margin-top: 1.6rem; }
.bouton {
  display: inline-block; border: 1px solid var(--line); background: transparent; color: var(--fg);
  font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: .3em; text-indent: .3em;
  text-transform: uppercase; text-decoration: none; padding: .44rem .68rem .4rem; cursor: pointer;
  transition: background .15s, color .15s;
}
.bouton:hover, .bouton:focus-visible { background: var(--fg); color: var(--bg); }

/* Horaires, formule, note */
.horaires { display: grid; gap: 1.1rem; justify-items: center; margin-top: calc(var(--air) * -0.55); }
.horaires-lignes { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 1.32rem; line-height: 1.3; text-wrap: balance; }
.formule { margin: 2.4rem 0 0; font-family: var(--titre); font-weight: 400; font-size: 1.32rem; line-height: 1.3; }
.formule-suite { font-size: 1.32rem; }

/* Pied de page */
.pied { display: grid; gap: 0; justify-items: center; margin-top: calc(var(--air) * -0.55); }
.contact { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 1.32rem; line-height: 1.3; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.lien-photo { display: inline-block; line-height: 0; margin-bottom: 1.2rem; text-decoration: none; }
.lien-photo img { display: block; }
.mentions { max-width: 36rem; font-family: var(--titre); font-weight: 500; font-size: .95rem; line-height: 1.5; color: var(--muted); text-align: left; }
.mentions summary::-webkit-details-marker { display: none; }
.mentions summary { list-style: none; cursor: pointer; line-height: 2; text-align: center; font-size: 1rem; letter-spacing: .01em; }
.mentions p { margin: .6rem 0 0; }

/* Page de l'affiche du brunch */
.page-affiche { max-width: 46rem; gap: 1.6rem; justify-items: center; padding-top: 1.6rem; }
.affiche { display: block; width: 100%; height: auto; }
.bouton-site { border: 0; padding: 0; text-transform: none; letter-spacing: .12em; text-indent: .12em; }
.bouton-site:hover, .bouton-site:focus-visible { background: transparent; color: var(--accent); }
.entete-affiche { display: grid; gap: .2rem; justify-items: center; }
.ligne-site { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .12em; text-indent: .12em; word-spacing: -.18em; line-height: 1.5; text-wrap: balance; }
.bouton-reserver { margin-top: 1rem; }
.credit { margin: -1rem 0 0; font-size: .95rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .bouton { transition: none; }
}
