/* =========================================================
   LE BOOM BOOM — Resto-bar détonnant, Rouen
   Feuille de style unique du site vitrine.

   Palette et principes issus de la charte graphique
   (GUIDE_USAGE_leboomboom.pdf).

   Typographies : TAN - St. Canard pour les titres (police de la rentrée,
   sous licence commerciale, fournie par le client) et Outfit pour le texte
   courant. Fraunces reste déclarée en secours derrière TAN St Canard.
   ========================================================= */

/* ---------- 0. Polices (toutes self-hébergées) ----------
   Aucune requête vers un serveur tiers : pas de transfert d'IP visiteur
   et pas de dépendance CDN. Outfit et Fraunces sont sous licence SIL OFL,
   TAN St Canard sous licence commerciale au nom du client. */

/* TAN - St. Canard, police de titrage de la rentrée.
   Un seul fichier, dessiné en Heavy (poids 850) et sans italique. La plage
   400-900 est déclarée sur ce fichier unique pour que le navigateur n'invente
   pas de faux gras : toute demande de graisse retombe sur le dessin d'origine. */
@font-face {
  font-family: 'TAN St Canard';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/tan-stcanard.woff2) format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/fraunces-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/fraunces-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/outfit-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs principales de la charte */
  --foret:  #2A331A;
  --jaune:  #E2AE00;
  --creme:  #F3EDDD;
  --avocat: #A09040;
  --marron: #AE6D29;
  --camel:  #CBA260;

  --foret-clair: #3B4626;
  --creme-chaud: #EAE1CB;

  --font-title: "TAN St Canard", "Fraunces", Georgia, serif;
  --font-body:  "Outfit", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 1.5rem;
  --arch: 22rem;

  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--foret);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--jaune);
  color: var(--foret);
  padding: .75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 .75rem 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. Typographie ---------- */
/* Tailles calées sur TAN St Canard : le dessin est nettement plus large et
   plus gras que Fraunces, donc plus petit à surface visuelle égale, et sans
   resserrement des lettres. */
.h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2rem, 1.25rem + 3.3vw, 3.6rem);
  /* jambages profonds (q, g, y) : un interligne de 1 les faisait toucher
     la ligne suivante sur les titres à deux lignes */
  line-height: 1.08;
  letter-spacing: 0;
  margin: .25em 0 .55em;
  text-wrap: balance;
}
/* TAN St Canard n'a pas d'italique : demander font-style: italic produirait
   un faux oblique penché par le navigateur, très visible sur un dessin display.
   L'accent est donc porté par la couleur seule. */
.h2 em {
  font-style: normal;
  color: var(--marron);
}
.h2--light { color: var(--creme); }
.h2--light em { color: var(--jaune); }

.kicker {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--marron);
  margin: 0;
}
.kicker--light { color: var(--camel); }
.kicker--dark  { color: var(--foret); }

.lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem);
  line-height: 1.55;
  font-weight: 400;
}

.dot {
  display: inline-block;
  width: .45em; height: .45em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  margin-inline: .5em;
}
.dot--yellow { background: var(--jaune); margin-left: 0; }

/* ---------- 4. Boutons ---------- */
.btn {
  --btn-bg: var(--jaune);
  --btn-fg: var(--foret);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s var(--ease), background-color .28s var(--ease),
              color .28s var(--ease), border-color .28s var(--ease);
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(-1px); }

.btn--yellow { --btn-bg: var(--jaune); --btn-fg: var(--foret); }
.btn--dark   { --btn-bg: var(--foret); --btn-fg: var(--creme); }
.btn--ghost {
  background: transparent;
  color: var(--creme);
  border-color: currentColor;
}
.btn--ghost:hover { background: var(--creme); color: var(--foret); border-color: var(--creme); }
.btn--sm { padding: .7em 1.35em; font-size: .9rem; }
.btn--lg { padding: 1.1em 2.4em; font-size: 1.08rem; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              padding .35s var(--ease);
  padding-block: .9rem;
}
.nav--scrolled {
  background: rgba(42, 51, 26, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(243, 237, 221, .12);
  padding-block: .45rem;
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand { display: block; line-height: 0; }
.nav__logo {
  width: clamp(78px, 8vw, 104px);
  height: auto;
  transition: width .35s var(--ease);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.8vw, 1.6rem);
}
.nav__links a {
  color: var(--creme);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .01em;
  position: relative;
  padding-block: .25rem;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.nav__links a:not(.btn).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--creme);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  display: block;
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  background: var(--creme);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  display: grid;
  place-items: center;
  /* la marge basse réserve la bande où marche la mascotte */
  padding: 8rem var(--gutter) clamp(11rem, 16vw, 14rem);
  background: var(--foret);
  overflow: hidden;
  isolation: isolate;
}

/* trame de points de la charte, en fond */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle at center, rgba(243, 237, 221, .16) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 45%, #000 20%, transparent 78%);
}

/* soleil rétro derrière le logo */
.hero__sun {
  position: absolute;
  z-index: -1;
  top: 46%;
  left: 50%;
  width: min(74vw, 40rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(226, 174, 0, .22) 0%, rgba(226, 174, 0, .08) 45%, transparent 68%);
  animation: pulse 9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.09); }
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 54rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--camel);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  opacity: 0;
  animation: fade-up .9s var(--ease) .1s forwards;
}

.hero__title {
  margin: 0;
  opacity: 0;
  animation: fade-up 1.1s var(--ease) .25s forwards;
}
.hero__logo {
  width: min(100%, 42rem);
  height: auto;
  margin-inline: auto;
}


.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  opacity: 0;
  animation: fade-up 1s var(--ease) .6s forwards;
}

.hero__mascot {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 7vw, 6rem);
  bottom: clamp(2.5rem, 5vw, 4.5rem);
  width: clamp(7.5rem, 14vw, 13rem);
  pointer-events: none;
  opacity: 0;
  animation: fade-in-mascot 1.2s var(--ease) .85s forwards, float 6s ease-in-out 2s infinite;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-mascot {
  from { opacity: 0; transform: translateY(30px) rotate(-8deg); }
  to   { opacity: .95; transform: translateY(0) rotate(-4deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}

/* arche crème qui ferme le hero */
.hero__arch {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 130%;
  height: 5.5rem;
  transform: translateX(-50%);
  background: var(--creme);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- 7. Bandeau défilant ---------- */
.marquee {
  background: var(--jaune);
  color: var(--foret);
  padding-block: .85rem;
  overflow: hidden;
  border-block: 2px solid var(--foret);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  font-family: var(--font-title);
  font-size: clamp(1rem, .92rem + .45vw, 1.35rem);
  font-weight: 400;
  white-space: nowrap;
}
.marquee__group b { font-weight: 400; }
.marquee__group i { font-style: normal; font-size: .7em; opacity: .65; }

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 8. Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
}
.section--cream  { background: var(--creme); }
.section--forest { background: var(--foret); color: var(--creme); }
.section--yellow { background: var(--jaune); }
/* le camel et le marron manquent de contraste sur le jaune :
   sur cette section, l'italique seule porte l'accent. */
.section--yellow .h2 em { color: var(--foret); }

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- 9. Le lieu ---------- */
.lieu {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.lieu__text p { max-width: 46ch; }
/* la signature reste en Outfit : une phrase entière en display Heavy
   alourdirait la fin du paragraphe qu'elle conclut */
/* --- horaires --- */
.hours {
  margin: 1.75rem 0 0;
  max-width: 34rem;
  border-top: 1px solid rgba(42, 51, 26, .14);
}
.hours__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1.25rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(42, 51, 26, .14);
}
.hours dt {
  font-family: var(--font-title);
  font-size: .98rem;
  white-space: nowrap;
}
.hours dd {
  margin: 0;
  font-size: .95rem;
  color: rgba(42, 51, 26, .82);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.signature {
  color: var(--marron);
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 2rem;
  max-width: 38ch;
}

.lieu__visual { position: relative; }

/* arche rétro, forme signature du site */
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch) var(--arch) 2rem 2rem;
  background: linear-gradient(170deg, var(--foret) 0%, var(--foret-clair) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.arch__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(203, 162, 96, .38) 1.3px, transparent 1.4px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom, #000 25%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 92%);
}
.arch { margin: 0; }
.arch__mascot {
  position: relative;
  width: 66%;
  animation: float 7s ease-in-out infinite;
}

/* la photo recouvre le fond de marque une fois chargée */
.arch__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* le clip du parent suffit en théorie, mais reprendre le rayon sur l'image
     garantit l'arche quel que soit le moteur de rendu */
  border-radius: inherit;
}
/* si le fichier manque, on retombe sur la mascotte et la trame */
.arch__photo.is-missing { display: none; }

.lieu__stamp {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: clamp(5.5rem, 11vw, 8.5rem);
  animation: spin 26s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- 10. Nos moments ---------- */
.moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.moment {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(243, 237, 221, .06);
  border: 1px solid rgba(203, 162, 96, .32);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), background-color .4s var(--ease),
              border-color .4s var(--ease);
}
.moment:hover {
  transform: translateY(-8px);
  background: rgba(243, 237, 221, .1);
  border-color: var(--jaune);
}
.moment p { color: rgba(243, 237, 221, .82); }

.moment__time {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--jaune);
  margin: 0 0 .6rem;
  /* deux lignes réservées pour toutes les cartes : les titres s'alignent */
  min-height: 2.28em;
}
.moment__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 1.1rem + .85vw, 1.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--creme);
  margin: 0 0 .9rem;
  /* « Dîner & Cocktails » tient sur deux lignes : la hauteur est réservée pour
     les trois cartes, sinon les paragraphes ne démarrent pas au même niveau */
  min-height: 2.24em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}
.tags li {
  font-size: .8rem;
  font-weight: 400;
  padding: .35em .9em;
  border: 1px solid rgba(203, 162, 96, .5);
  border-radius: 999px;
  color: var(--camel);
}

.moments__note {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  text-align: center;
  color: rgba(243, 237, 221, .72);
  font-size: .98rem;
}
.moments__note a {
  color: var(--jaune);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- 10b. En images : galerie + vidéos ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(.6rem, 1.2vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.shot {
  position: relative;
  margin: 0;
  border-radius: 1.25rem 1.25rem .75rem .75rem;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(203, 162, 96, .35) 1.3px, transparent 1.4px) 0 0 / 15px 15px,
    var(--foret);
  aspect-ratio: 4 / 5;
}
/* Décalage d'une colonne sur deux : un rythme, pas une grille figée.
   En margin et non en transform, que .reveal utilise déjà. */
.gallery > .shot:nth-child(even) { margin-top: clamp(1rem, 2.5vw, 2.25rem); }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
.shot img.is-missing { opacity: 0; }

.shot figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  padding: .3em .95em;
  background: var(--creme);
  color: var(--foret);
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 400;
}

/* --- note de bas de section --- */
.apercu__note {
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  font-size: .95rem;
  color: rgba(42, 51, 26, .72);
}
.apercu__note a { color: var(--marron); text-underline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 11. Bienvenue ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.perk {
  text-align: center;
  padding: clamp(1.5rem, 2.5vw, 2rem) 1rem;
  background: rgba(42, 51, 26, .06);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.perk:hover { transform: translateY(-6px); background: rgba(42, 51, 26, .1); }

.perk svg {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto .9rem;
  fill: none;
  stroke: var(--foret);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perk h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 .5rem;
}
.perk p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.5;
  color: rgba(42, 51, 26, .88);
}

/* ---------- 11b. FAQ ---------- */
.faq {
  display: grid;
  gap: .7rem;
  max-width: 46rem;
}

.faq__item {
  background: rgba(42, 51, 26, .06);
  border-radius: 1rem;
  overflow: hidden;
  transition: background-color .3s var(--ease);
}
.faq__item[open] { background: rgba(42, 51, 26, .1); }

.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.25rem 1.1rem 1.4rem;
  font-family: var(--font-title);
  /* le débrief demande une question par ligne : la taille baisse et l'équilibrage
     automatique est retiré, car il coupait les questions en deux */
  font-size: clamp(.88rem, .8rem + .35vw, 1.02rem);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: nowrap;
}
@media (max-width: 720px) {
  /* sous cette largeur, forcer une ligne rognerait le texte : on le laisse passer à la ligne */
  .faq__item summary { text-wrap: pretty; }
}
/* le triangle par défaut est masqué : on dessine notre propre signe */
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: .85rem;
  height: 2px;
  background: var(--foret);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__item summary::before { transform: translateY(-50%); }
.faq__item summary::after  { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.faq__body {
  padding: 0 1.4rem 1.3rem;
  max-width: 60ch;
}
.faq__body p {
  margin: 0;
  font-size: .97rem;
  color: rgba(42, 51, 26, .88);
}
/* :not(.btn) est indispensable : sans lui, cette règle passe après .btn dans
   la cascade et repeint le texte des boutons en vert sur fond vert. */
.faq__body a:not(.btn) {
  color: var(--foret);
  text-underline-offset: 3px;
}
.faq__body p + p,
.faq__body p + ul { margin-top: .8rem; }

.faq__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: .97rem;
  color: rgba(42, 51, 26, .88);
}
.faq__list li { padding-block: .18rem; }
.faq__list--offers { list-style: none; padding-left: 0; }
.faq__list--offers li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(42, 51, 26, .12);
}
.faq__list--offers li:last-child { border-bottom: 0; }
.faq__list--offers strong { font-weight: 600; }
.faq__list--offers em {
  font-style: normal;
  color: rgba(42, 51, 26, .62);
  font-size: .92em;
}

.faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem !important;
}
/* sur le fond jaune, le bouton fantôme se dessine en vert et non en crème */
.faq__btn-alt {
  background: transparent;
  color: var(--foret);
  border-color: var(--foret);
}
.faq__btn-alt:hover { background: var(--foret); color: var(--creme); }

/* ---------- 11c. Menus ---------- */
.menus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.menus__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: rgba(42, 51, 26, .07);
  border-radius: var(--radius);
}
/* les deux cartes ont la même hauteur : les boutons se calent en bas */
.menus__card .menus__actions { margin-top: auto !important; padding-top: 1.3rem; }
.menus__card p { margin: 0; font-size: .97rem; color: rgba(42, 51, 26, .88); }
.menus__card .card__title { margin-bottom: .9rem; }

.menus__offers { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: .95rem; }
.menus__offers li {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(42, 51, 26, .16);
  color: rgba(42, 51, 26, .88);
}
.menus__offers li:last-child { border-bottom: 0; }
.menus__offers strong { font-weight: 600; }
.menus__offers em { font-style: normal; color: rgba(42, 51, 26, .6); font-size: .92em; }

.menus__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.3rem !important;
}
.menus__btn-alt {
  background: transparent;
  color: var(--foret);
  border-color: var(--foret);
}
.menus__btn-alt:hover { background: var(--foret); color: var(--creme); }

.menus__note {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: .93rem;
  color: rgba(42, 51, 26, .72);
  max-width: 48ch;
}

/* ---------- 12. Infos pratiques ---------- */
.infos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.card {
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--creme-chaud);
  border-radius: var(--radius);
  border: 1px solid rgba(42, 51, 26, .1);
  display: flex;
  flex-direction: column;
}
.card__title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 1.1rem;
}
.card__text { margin: 0 0 1.5rem; font-size: .97rem; }
.card .btn { align-self: flex-start; margin-top: auto; }

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .97rem;
}
.list li {
  position: relative;
  padding-left: 1.5rem;
  padding-block: .38rem;
  border-bottom: 1px solid rgba(42, 51, 26, .09);
}
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--jaune);
}
.list strong { font-weight: 600; }


/* --- bloc « Nous écrire » et formulaire --- */
.ecrire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--creme-chaud);
  border: 1px solid rgba(42, 51, 26, .1);
  border-radius: var(--radius);
}
.ecrire__text p { margin: 0 0 1rem; font-size: .97rem; }
.ecrire__alt { color: rgba(42, 51, 26, .75); font-size: .92rem !important; }
.ecrire__alt a { color: var(--marron); text-underline-offset: 3px; }

.form { display: grid; gap: .9rem; }
.form__trap { position: absolute; left: -9999px; }

.form__field { display: grid; gap: .35rem; }
.form__field label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(42, 51, 26, .75);
}
.form__field input,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--foret);
  background: var(--creme);
  border: 1px solid rgba(42, 51, 26, .2);
  border-radius: .75rem;
  padding: .7rem .9rem;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form__field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(42, 51, 26, .4); }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--jaune);
  box-shadow: 0 0 0 3px rgba(226, 174, 0, .28);
}
/* :user-invalid ne se déclenche qu'après une interaction du visiteur, alors que
   :invalid marquerait en rouge un champ requis encore vierge dès l'affichage */
.form__field input:user-invalid,
.form__field textarea:user-invalid { border-color: var(--marron); }

.form .btn { justify-self: start; margin-top: .3rem; }

.form__status {
  margin: 0;
  font-size: .93rem;
  min-height: 1.2em;
}
.form__status.is-ok    { color: var(--foret); font-weight: 500; }
.form__status.is-error { color: var(--marron); }
.form__status a { color: inherit; }

/* ---------- 13. Contact ---------- */
.section--contact { isolation: isolate; }
.section--contact .hero__grain {
  z-index: -1;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.contact__address {
  font-family: var(--font-title);
  font-style: normal;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.3;
  margin: 1.5rem 0 1rem;
}
.contact__address a {
  color: var(--creme);
  text-decoration: none;
  border-bottom: 2px solid rgba(226, 174, 0, .55);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact__address a:hover { color: var(--jaune); border-color: var(--jaune); }

.contact__hours a { color: var(--jaune); text-underline-offset: 3px; }
.contact__hours {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  color: var(--camel);
  font-size: .95rem;
  margin: 0 0 2rem;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.contact__links .btn { font-size: .92rem; }

.contact__map {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(203, 162, 96, .4);
  /* visible tant que la carte n'a pas chargé — ou si elle ne charge pas */
  background:
    radial-gradient(circle at center, rgba(203, 162, 96, .3) 1.3px, transparent 1.4px) 0 0 / 15px 15px,
    var(--foret-clair);
}
.map__facade {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  width: 100%;
  height: clamp(20rem, 34vw, 27rem);
  padding: 1.5rem;
  border: 0;
  cursor: pointer;
  background: linear-gradient(170deg, var(--foret) 0%, var(--foret-clair) 100%);
  transition: filter .3s var(--ease);
}
.map__facade:hover { filter: brightness(1.12); }

.map__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(203, 162, 96, .3) 1.3px, transparent 1.4px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 10%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 10%, transparent 82%);
}

/* épingle dessinée en CSS : un rond posé sur sa pointe */
.map__pin {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50% 50% 50% 0;
  background: var(--jaune);
  transform: rotate(-45deg);
}
.map__pin::after {
  content: "";
  position: absolute;
  inset: .72rem;
  border-radius: 50%;
  background: var(--foret);
}

.map__label {
  position: relative;
  font-family: var(--font-title);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--creme);
  text-align: center;
}
.map__cta {
  position: relative;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--camel);
}

.contact__map iframe {
  width: 100%;
  height: clamp(20rem, 34vw, 27rem);
  border: 0;
  display: block;
}

.contact__map figcaption {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  background: var(--creme);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.contact__map figcaption a {
  display: block;
  padding: .5em 1.1em;
  color: var(--foret);
  text-decoration: none;
}
.contact__map figcaption a:hover { text-decoration: underline; }

/* ---------- 14. Footer ---------- */
.footer {
  position: relative;
  background: var(--jaune);
  color: var(--foret);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.footer__logo { width: min(100%, 18rem); height: auto; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
}
.footer__nav a {
  text-decoration: none;
  font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.footer__nav a:hover { border-color: var(--foret); }

.footer__legal {
  margin: 0;
  font-size: .85rem;
  color: rgba(42, 51, 26, .7);
}

.footer__mascot {
  position: absolute;
  left: -3rem;
  bottom: -3.5rem;
  width: clamp(8rem, 14vw, 12rem);
  opacity: .18;
  transform: rotate(8deg) scaleX(-1);
  pointer-events: none;
}

/* ---------- 15. Apparition au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.moment:nth-child(2), .perk:nth-child(2), .shot:nth-child(2) { transition-delay: .08s; }
.moment:nth-child(3), .perk:nth-child(3), .shot:nth-child(3) { transition-delay: .16s; }
.perk:nth-child(4), .shot:nth-child(4) { transition-delay: .24s; }
.shot:nth-child(5) { transition-delay: .32s; }
.infos .card:nth-child(2) { transition-delay: .1s; }
.infos .card:nth-child(3) { transition-delay: .2s; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 980px) {
  .lieu, .contact { grid-template-columns: 1fr; }
  .lieu__visual { max-width: 26rem; margin-inline: auto; order: -1; }
  .moments { grid-template-columns: 1fr 1fr; }
  .ecrire { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .menus { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { padding-block: .6rem; }
  .nav--scrolled { background: rgba(42, 51, 26, .97); }

  .nav__burger { display: block; }

  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    height: 100svh;
    padding: 5rem var(--gutter) 3rem;
    background: var(--foret);
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: 1.45rem; font-family: var(--font-title); }
  .nav__cta { font-family: var(--font-body) !important; font-size: 1rem !important; }

  .hero { min-height: auto; padding-top: 7rem; }
}

@media (max-width: 640px) {
  .moments, .infos, .perks { grid-template-columns: 1fr; }
  /* deux colonnes : cinq portraits empilés seraient interminables.
     La cinquième, seule sur sa ligne, prend toute la largeur. */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery > .shot:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .shot figcaption { left: .5rem; bottom: .5rem; font-size: .75rem; }
  .hero__arch { height: 3rem; }
  .hero__mascot { width: 6.5rem; right: .5rem; bottom: 1rem; }
  .lieu__stamp { right: -.5rem; bottom: -1rem; }
  .contact__links { flex-direction: column; align-items: stretch; }
  .contact__links .btn { width: 100%; }
}

/* ---------- 17. Préférences utilisateur ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__title, .hero__tagline, .hero__actions, .hero__mascot { opacity: 1; }
}

@media print {
  .nav, .marquee, .contact__map, .hero__mascot, .footer__mascot { display: none; }
  body { background: #fff; color: #000; }
  .section--forest, .section--yellow { background: #fff !important; color: #000 !important; }
  .h2--light, .moment__title, .moment p { color: #000 !important; }
}
