/* ─────────────────────────────────────────────────────────────────────────
   Orélys — feuille de style.

   Un café clair, en bas de la rue des Forges, avec le fleuve dans la
   fenêtre. Le site est clair comme la salle : un fond crème, le vert
   sauge de leur carte (mesuré sur leur menu, #5f9562), l'encre de leur
   logo, et un bleu-gris de fleuve tenu en réserve pour une seule bande.

   Cormorant Garamond pour les titres — la même famille de serif que le
   « MENU » de leur carte. Manrope pour le texte et les petites capitales
   espacées de leurs intitulés de sections.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --creme:   #F4F2EC;   /* le fond de leur carte, à peine chaud */
  --papier:  #FFFFFF;
  --sable:   #EAE6DC;
  --sauge:   #5F9562;   /* le vert de leur carte, mesuré */
  --sauge-f: #3F6B45;
  --sauge-c: #DCEBDD;
  --fleuve:  #D9E4EA;   /* le bleu-gris de la fenêtre, en réserve */
  --fleuve-f:#4F6E7E;
  --encre:   #1F2A24;
  --encre-2: #3C4A42;
  --mine:    #6F7E74;   /* un gris qui tire sur le vert, jamais neutre */
  --trait:   rgba(31, 42, 36, .12);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --texte:   "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --r: 6px;
  --t: .38s cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 400 16.5px/1.65 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--sauge); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; border-radius: 2px; }

/* ── La marque : leur logo script, tel quel ─────────────────────────────── */
.brand { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.brand__logo { width: auto; height: 34px; }
.brand__sub { font: 600 11px/1 var(--texte); letter-spacing: .22em; text-transform: uppercase; color: var(--mine); }

/* ── Boutons ───────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--sauge); --fg: #fff; --bd: var(--sauge);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 700 13px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem 1.5rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { --bg: var(--sauge-f); --bd: var(--sauge-f); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ligne { --bg: transparent; --fg: var(--encre); --bd: var(--encre); }
.btn--ligne:hover { --bg: var(--encre); --fg: var(--creme); --bd: var(--encre); }

/* ── Bandeau d'annonce ─────────────────────────────────────────────────── */
.announce { background: var(--encre); color: var(--creme); font-size: 15px; }
.announce .wrap { padding: .65rem 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.announce a { color: var(--sauge-c); }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--creme) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trait);
}
.top__row { display: flex; align-items: center; gap: 1.5rem; padding: .8rem 0; }
.nav { margin-left: auto; display: flex; gap: 1.5rem; }
.nav a {
  color: var(--encre-2); text-decoration: none;
  font: 600 13px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem 0; border-bottom: 1.5px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav a:hover { color: var(--sauge-f); border-bottom-color: var(--sauge); }
.top__cta { padding: .65rem 1.15rem; font-size: 12px; }
.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; margin: 4px 0; background: var(--encre); transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── L'accueil : le texte à gauche, la fenêtre sur le fleuve à droite ───── */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.hero__eyebrow { margin: 0 0 1.1rem; font: 700 12px/1.4 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sauge-f); }
.hero__tag { font-size: clamp(3rem, 7.5vw, 5.6rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: 1.2rem; line-height: 1; }
.hero__intro { color: var(--encre-2); font-size: 1.08rem; max-width: 34rem; }
.hero__etat { margin: 0 0 1.5rem; font: 600 14px/1.4 var(--texte); }
.hero__etat i { font-style: normal; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .5rem; vertical-align: .05em; }
.hero__etat.est-ouvert i { background: var(--sauge); }
.hero__etat.est-ferme i { background: #C0705C; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__note { margin: 1.4rem 0 0; font-size: .95rem; color: var(--mine); }
.hero__note b { color: var(--encre); font-weight: 700; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 560px; object-fit: cover; border-radius: var(--r); }
.hero__media::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; z-index: -1;
  background: var(--fleuve); border-radius: var(--r);
}

/* ── L'offre du moment ─────────────────────────────────────────────────── */
.promo { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.promo__in { background: var(--sauge); color: #fff; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--r); text-align: center; }
.promo__eyebrow { margin: 0 0 .5rem; font: 700 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, #fff 78%, transparent); }
.promo__title { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 600; margin-bottom: .5rem; }
.promo__text { max-width: 40rem; margin: 0 auto 1.3rem; color: color-mix(in srgb, #fff 90%, transparent); }
.promo .btn--ligne { --fg: #fff; --bd: #fff; }
.promo .btn--ligne:hover { --bg: #fff; --fg: var(--sauge-f); }

/* ── En-têtes de section ───────────────────────────────────────────────── */
.sec__head { margin-bottom: 2.2rem; max-width: 44rem; }
.sec__eyebrow { margin: 0 0 .6rem; font: 700 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sauge-f); }
.sec__title { font-size: clamp(2rem, 4.8vw, 3.1rem); font-weight: 500; letter-spacing: -.01em; }
.sec__sub { margin: .8rem 0 0; color: var(--mine); }

/* ── Le café ───────────────────────────────────────────────────────────── */
.cafe { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--papier); border-block: 1px solid var(--trait); }
.cafe__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.cafe__txt .sec__head { margin-bottom: 1.6rem; }
.cafe__media { margin: 0; }
.cafe__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; object-position: 50% 70%; border-radius: var(--r); }
.atouts { margin: 0; display: grid; gap: 1rem; }
.atouts dt { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--encre); }
.atouts dt::before { content: ""; display: inline-block; width: 1rem; height: 2px; background: var(--sauge); vertical-align: .3em; margin-right: .6rem; }
.atouts dd { margin: .1rem 0 0 1.6rem; color: var(--mine); font-size: .97rem; }

/* ── La carte : sur le papier crème, comme la leur ─────────────────────── */
.menu { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.menu__nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.2rem; }
.menu__nav:empty { display: none; }
.menu__nav a {
  font: 700 12px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .6rem .95rem; border-radius: 999px;
  border: 1px solid var(--trait); color: var(--encre-2); background: var(--papier);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.menu__nav a:hover { background: var(--sauge); border-color: var(--sauge); color: #fff; }
.menu__groupe { margin: 2.6rem 0 1.4rem; display: flex; align-items: baseline; gap: 1rem; }
.menu__groupe:first-child { margin-top: 0; }
.menu__groupe h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; color: var(--sauge-f); }
.menu__groupe span { font: 600 12px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--mine); }
.menu__sec { margin-bottom: 2.4rem; scroll-margin-top: 5.5rem; }
.menu__secHead { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; padding-bottom: .55rem; border-bottom: 1.5px solid var(--encre); margin-bottom: 1.1rem; }
.menu__secTitle { font: 700 14px/1.3 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.menu__secTag { display: none; }
.menu__secNote { margin: 0 0 1.1rem; font-size: .93rem; color: var(--mine); font-style: italic; }
.menu__items { display: grid; gap: .9rem 2.6rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.plat { display: grid; grid-template-columns: 1fr auto; gap: .1rem .9rem; align-items: baseline; }
.plat__nom { font: 700 15.5px/1.35 var(--texte); }
.plat__prix { font: 600 15px/1.3 var(--texte); color: var(--sauge-f); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.plat__desc { grid-column: 1 / -1; margin: 0; font-size: .92rem; line-height: 1.5; color: var(--mine); }
.plat--prixlong { grid-template-columns: 1fr; }
.plat--prixlong .plat__prix { text-align: left; white-space: normal; margin-top: .05rem; }
.menu__sec--court .menu__items { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .45rem 2rem; }
.menu__note { margin-top: 1.4rem; font-size: .92rem; color: var(--mine); font-style: italic; max-width: 44rem; }
.menu__note:empty { display: none; }
.menu__pdf { margin: .4rem 0 0; }
.menu__pdf a { color: var(--sauge-f); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--sauge); }
.menu__vide { border: 1px dashed color-mix(in srgb, var(--encre) 35%, transparent); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.4rem); max-width: 44rem; }
.menu__videT { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin-bottom: .5rem; }

/* ── Photos ────────────────────────────────────────────────────────────── */
.gal { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--papier); border-block: 1px solid var(--trait); }
.gal__grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.gal__c { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sable); }
.gal__c img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--t); }
.gal__c:hover img { transform: scale(1.04); }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem;
  font: 600 12px/1.3 var(--texte); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to top, rgb(31 42 36 / .72), transparent);
}

/* ── Les rendez-vous ───────────────────────────────────────────────────── */
.events { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.events__list { display: grid; gap: .6rem; }
.events__list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--trait); }
.events__q { font: 700 14px/1.4 var(--texte); color: var(--sauge-f); font-variant-numeric: tabular-nums; }
.events__n { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.events__note { display: block; font: 400 14px/1.5 var(--texte); color: var(--mine); }

/* ── Heures et infos : la bande bleu-gris du fleuve ─────────────────────── */
.hours { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--fleuve); }
.hours .sec__eyebrow { color: var(--fleuve-f); }
.hours__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.hours__table { width: 100%; border-collapse: collapse; margin-top: 1.3rem; }
.hours__table th, .hours__table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid rgba(31,42,36,.16); font-weight: 400; }
.hours__table th { color: var(--encre); font-weight: 600; font-size: .97rem; }
.hours__table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--encre); font-weight: 600; }
.hours__table td.closed { color: var(--fleuve-f); font-weight: 400; }
.hours__table tr.est-aujourdhui th, .hours__table tr.est-aujourdhui td { color: var(--sauge-f); }
.hours__exc { margin-top: 1rem; display: grid; gap: .4rem; font-size: .94rem; color: var(--fleuve-f); }
.hours__fine { margin: 1rem 0 0; font-size: .86rem; color: var(--fleuve-f); }
.infos { margin: 0; }
.infos dt { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 1.4rem 0 .2rem; }
.infos dt:first-child { margin-top: 0; }
.infos dd { margin: 0; color: var(--encre-2); font-size: .97rem; }

/* ── Nous trouver ──────────────────────────────────────────────────────── */
.contact { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.contact__grid { display: grid; gap: 2.4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
.contact__addr { color: var(--mine); margin-top: .6rem; }
.contact__big { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3rem); text-decoration: none; font-variant-numeric: tabular-nums; color: var(--sauge-f); line-height: 1; }
.contact__big:hover { color: var(--encre); }
.contact__mail { color: var(--encre-2); font-weight: 600; }
.contact__liens { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; }
.contact__liens a { font: 700 13px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--sauge-f); border-bottom: 1px solid var(--sauge); padding-bottom: .15rem; }
.contact__map { border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; background: var(--sable); }
.contact__map iframe { display: block; width: 100%; height: clamp(17rem, 34vw, 23rem); border: 0; }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.foot { background: var(--encre); color: color-mix(in srgb, var(--creme) 78%, transparent); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.foot__brand .brand__logo { height: 40px; filter: invert(1) brightness(1.4); }
.foot__brand p { margin-top: .9rem; font-size: .95rem; max-width: 24rem; font-style: italic; }
.foot h3 { font: 700 12px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--sauge-c); margin-bottom: .7rem; }
.foot ul { display: grid; gap: .4rem; font-size: .95rem; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__bar {
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(244,242,236,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: 13px;
}
.foot__credit a { color: var(--sauge-c); }

/* ── Mouvement ─────────────────────────────────────────────────────────── */
.js-anim [data-reveal]:not([data-revealed]) { opacity: 0; }
.js-anim [data-reveal-group]:not([data-revealed]) > :not([hidden]) { opacity: 0; }
.js-anim [data-reveal="media"]:not([data-revealed]) img { transition: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; will-change: transform; }

@media print {
  .top, .burger, .hero__media, .contact__map, .menu__nav { display: none !important; }
  body, .cafe, .gal, .hours, .foot, .menu { background: #fff !important; color: #000 !important; }
}

/* ── Écrans étroits ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; max-height: none; }
  .hero__media::before { display: none; }
  .cafe__grid { grid-template-columns: 1fr; }
  .cafe__media img { aspect-ratio: 16 / 10; max-height: none; }
  .hours__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .top__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto; margin: 0;
    display: none; flex-direction: column; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--trait); padding: .5rem 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 1.25rem; border-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .foot__grid { grid-template-columns: 1fr; }
  .events__list li { grid-template-columns: 1fr; gap: .2rem; }
  .brand__sub { display: none; }
}
