/* ==========================================================================
   LA VOILE — page Menus (/menus/), d'après la maquette d'Edo (18.11.2026, page 3 : bloc « menus », lignes 333 à 443, et ajustements
   « v2 » de la page). Refonte du 20.11.2026 (docs/MANUEL-TECHNIQUE.md §22.9).
   Chargée par src/views/MenusView.astro après site.css, composants.css et zones.css (zones du Worker : fermeture-menus,
   menu-semaine), avec formules-omakase.css (tableau des formules, commun avec la page L'Omakase).
   Règles de la maquette sans le préfixe #p-menus ; composants communs (surtitre, titres, .lead, .link, .btn, .chf, .docs, .book,
   survols) dans composants.css ; polices et couleurs en variables (site.css).
   ========================================================================== */

/* Titres de section écrits en surtitre (h2.eyebrow : « Bon à savoir ») : la graisse et l'interligne du surtitre, pas ceux d'un h2. */
h2.eyebrow { font-weight: 400; line-height: 1.75; }

/* 3.1 En-tête : texte à gauche, photo à droite, sous la barre fixe. */
.intro {
  margin-top: var(--bar);
  display: grid; grid-template-columns: 5fr 7fr;
  height: calc(100vh - var(--bar)); min-height: 600px; max-height: 900px;
}
.intro .text { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 5vw 9vh var(--pad); }
.intro .lead { margin-top: 30px; max-width: 400px; }
.intro .media { position: relative; overflow: hidden; }
.intro .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

/* 3.2 Les deux menus : une phrase, un texte, centrés. */
.why { padding: 150px var(--pad) 140px; text-align: center; }
.why .statement {
  font-family: var(--f-serif); font-weight: 300; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.22;
  max-width: 900px; margin: 0 auto 40px; text-wrap: balance;
}
.why p.body { margin: 0 auto; max-width: 600px; }

/* 3.3 Les deux offres : deux colonnes séparées d'un filet. */
.offers { background: var(--sand); padding: 120px var(--pad); }
.offers .grid { display: grid; grid-template-columns: 1fr 1px 1fr; max-width: 1160px; margin: 0 auto; }
.offers .rule { background: var(--line); }
.offers .col { padding: 10px 3vw; text-align: center; display: flex; flex-direction: column; align-items: center; }
.offers .name {
  font-family: var(--f-serif); font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: 0;
  margin-bottom: 22px; white-space: nowrap;
}
.offers .col p { font-family: var(--f-serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.42; max-width: 380px; min-height: 2.84em; margin-bottom: 28px; }
.offers .meta { line-height: 2; margin-bottom: 34px; }

/* 3.4 Midi : photo collante à gauche, liste des prix à droite. */
.lunch { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; padding: 150px var(--pad); }
.lunch .media { position: sticky; top: calc(var(--bar) + 40px); }
.lunch .media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.lunch .content { padding-top: 6px; }
.lunch p.body { margin-bottom: 46px; }
.list { list-style: none; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.list .n { font-family: var(--f-serif); font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; }
.list .p { font-family: var(--f-serif); font-size: clamp(24px, 2vw, 29px); white-space: nowrap; }
.list .d { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.65; color: var(--grey); max-width: 520px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px 40px; flex-wrap: wrap; margin-top: 44px; }
.week { font-family: var(--f-jost); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }

/* Zones du Worker dans 3.4 : la fermeture en tête de la colonne de texte (zones.css pour sa typographie) ; le menu de la semaine dans
   la ligne des liens PDF (.docs), comme la maquette. La zone ne fait pas de boîte : le lien que le Worker y écrit (.doc, « Le menu de
   cette semaine · PDF ») se range à côté de « La carte des boissons », et « Mis à jour chaque semaine » (.week) passe sous la ligne,
   à 12 px comme la maquette (14 px entre les lignes de .docs, moins 2). Sans menu publié : le texte par défaut, avec le téléphone. */
.lunch [data-zone="fermeture-menus"] { margin: 0 0 40px; }
.menu-week { display: contents; }
.menu-week > p:not(.week) { font-size: 15px; line-height: 1.6; color: var(--soft); max-width: 420px; }
.menu-week a[href^="tel:"] { border-bottom: 1px solid currentColor; white-space: nowrap; }
.menu-week > .week { flex: 0 0 100%; order: 1; margin-top: -2px; }
/* Le bouton « Réserver » sous les liens, aligné à gauche, comme la maquette (où la ligne des deux liens PDF le fait passer dessous,
   même quand le lien des boissons n'est pas encore affiché). */
.lunch .foot > div { flex: 1 1 100%; }

/* 3.5 Le soir : texte et formules à gauche, photo collante à droite. */
.dinner { background: var(--sand); display: grid; grid-template-columns: 7fr 5fr; gap: 6vw; align-items: start; padding: 150px var(--pad); }
.dinner .media { position: sticky; top: calc(var(--bar) + 40px); }
.dinner .media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.dinner h2 { margin-bottom: 16px; }
.dinner .jp { font-family: var(--f-serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.4; margin-bottom: 28px; color: var(--soft); }
.dinner .jp [lang="ja"] { font-family: var(--f-jp); letter-spacing: 0.14em; margin-right: 0.7em; font-size: 0.86em; }
.dinner .more { margin: 30px 0 56px; }

/* 3.6 Bon à savoir : trois colonnes sous un filet. */
.notes { padding: 120px var(--pad) 130px; }
.notes .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; border-top: 1px solid var(--line); padding-top: 44px; }
.notes h3 { font-family: var(--f-jost); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
.notes p { font-size: 15px; line-height: 1.75; color: var(--soft); max-width: 340px; }

/* Téléphone (jusqu'à 900 px) : tout en une colonne, photo du premier écran sous le texte. */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
  .intro .text { order: 1; padding: 56px var(--pad) 48px; }
  .intro .media { order: 2; height: 112vw; }
  .offers { padding: 76px var(--pad); }
  .offers .grid { grid-template-columns: 1fr; }
  .offers .rule { height: 1px; margin: 56px 0; }
  .offers .col { padding: 0; }
  .offers .name { white-space: normal; }
  .offers .col p { min-height: 0; }
  .lunch { grid-template-columns: 1fr; gap: 48px; padding: 92px var(--pad); }
  .lunch .media { position: static; }
  .dinner { grid-template-columns: 1fr; gap: 48px; padding: 92px var(--pad); }
  .dinner .media { position: static; order: -1; }
  .dinner .more { margin: 26px 0 44px; }
  .why { padding: 88px var(--pad) 92px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .notes { padding: 80px var(--pad) 90px; }
  .notes .grid { grid-template-columns: 1fr; gap: 38px; }
}
