/* L'Estancia : feuille de style */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --foret: #23362c;
  --foret-profond: #1a2921;
  --ivoire: #f5f0e6;
  --lin: #e9e0cd;
  --encre: #25231e;
  --encre-doux: #5b574c;
  --tartan: #8a3826;
  --osier: #c79a3e;
  --craie: #ece6d6;

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --large: 78rem;
  --section: clamp(5rem, 12vw, 10rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

body {
  margin: 0; background: var(--ivoire); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--osier); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--foret); color: var(--ivoire); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 34em; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.65rem); line-height: 1.4; }
.italique { font-family: var(--serif); font-style: italic; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; background: transparent; text-decoration: none; cursor: pointer;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-plein { background: var(--ivoire); color: var(--foret); }
.btn-plein:hover { background: var(--lin); }
.btn-ligne { border-color: rgba(245,240,230,.7); color: var(--ivoire); }
.btn-ligne:hover { background: rgba(245,240,230,.12); border-color: var(--ivoire); }
.btn-foret { background: var(--foret); color: var(--ivoire); }
.btn-foret:hover { background: var(--foret-profond); }
.btn-tartan { background: var(--tartan); color: var(--ivoire); }
.btn-tartan:hover { background: #742e1f; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.lien { color: var(--tartan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.lien:hover { text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--marge); color: var(--ivoire);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.entete.defile { background: rgba(245,240,230,.96); color: var(--encre); box-shadow: 0 1px 0 rgba(37,35,30,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.marque { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.marque-nom { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: .12em; }
.marque-sous { font-family: var(--serif); font-size: .62rem; letter-spacing: .32em; margin-top: .3rem; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-liens { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav-liens a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: .4rem 0; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; }
.nav-liens a:hover, .nav-liens a[aria-current="true"] { background-size: 100% 1px; }
.langue { display: flex; gap: .15rem; font-size: .82rem; font-weight: 600; }
.langue a, .langue span { padding: .35rem .45rem; text-decoration: none; border-radius: 4px; }
.langue span[aria-current] { opacity: 1; }
.langue a { opacity: .6; }
.langue a:hover { opacity: 1; }
.entete .btn { min-height: 2.6rem; padding: .6rem 1.2rem; font-size: .88rem; }
.entete:not(.defile) .btn-reserver { background: var(--ivoire); color: var(--foret); }
.entete.defile .btn-reserver { background: var(--foret); color: var(--ivoire); }
.menu-bouton { display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; }
.menu-bouton span { display: block; width: 1.6rem; height: 1.5px; background: currentColor; margin: .38rem 0; transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 960px) {
  .nav-liens, .entete .btn-reserver { display: none; }
  .menu-bouton { display: block; }
  .marque-nom { font-size: 1.4rem; }
}

/* Menu mobile */
.panneau {
  position: fixed; inset: 0; z-index: 60; background: var(--foret); color: var(--ivoire);
  display: flex; flex-direction: column; padding: 1.25rem var(--marge) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.panneau.ouvert { opacity: 1; visibility: visible; }
.panneau-haut { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 1.25rem); }
.panneau-fermer { background: none; border: 0; color: inherit; font-size: 2rem; line-height: 1; padding: .25rem .5rem; cursor: pointer; }
.panneau ul { list-style: none; padding: 0; margin: auto 0; }
.panneau li a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3rem); text-decoration: none; padding: .35rem 0; }
.panneau .btn { align-self: stretch; }

/* ---------- Héros ---------- */
.heros { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--ivoire); background: var(--foret-profond); isolation: isolate; }
.heros picture, .heros-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.heros-image { object-fit: cover; object-position: 50% 55%; }
.heros::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,30,24,.55) 0%, rgba(20,30,24,0) 22%),
    linear-gradient(0deg, rgba(20,30,24,.82) 0%, rgba(20,30,24,.35) 42%, rgba(20,30,24,0) 70%);
}
.heros-contenu { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 var(--marge) clamp(6rem, 12vh, 8rem); }
.heros-marque { font-family: var(--serif); font-weight: 500; text-transform: uppercase; line-height: .9; margin: 0; }
.heros-marque .nom { display: block; font-size: clamp(3.6rem, 13.5vw, 11rem); letter-spacing: .06em; margin-left: -.04em; }
.heros-marque .sous { display: block; font-size: clamp(.8rem, 1.45vw, 1.05rem); letter-spacing: .42em; margin-top: 1.1rem; }
.heros-texte { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 30em; margin: 1.75rem 0 2.25rem; }
.heros-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.heros-defiler { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); width: 1px; height: 3rem; background: rgba(245,240,230,.35); overflow: hidden; }
.heros-defiler::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--ivoire); animation: goutte 2.4s ease-in-out infinite 1.6s; }
@keyframes goutte { to { top: 100%; } }

/* Moment d'entrée unique : la marque se pose */
@media (prefers-reduced-motion: no-preference) {
  .heros-marque .nom { animation: pose 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .heros-marque .sous, .heros-texte, .heros-actions { animation: apparait 1s ease both; }
  .heros-marque .sous { animation-delay: .5s; }
  .heros-texte { animation-delay: .7s; }
  .heros-actions { animation-delay: .9s; }
  @keyframes pose { from { opacity: 0; letter-spacing: .14em; } to { opacity: 1; letter-spacing: .06em; } }
  @keyframes apparait { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 640px) {
  .heros-actions .btn { flex: 1 1 100%; }
  .heros-defiler { display: none; }
}

/* ---------- Bandeau pratique ---------- */
.bandeau { background: var(--foret); color: var(--craie); }
.bandeau ul { list-style: none; margin: 0 auto; max-width: var(--large); padding: 1.6rem var(--marge); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2.5rem; }
.bandeau li { display: flex; gap: .85rem; align-items: center; font-size: .95rem; line-height: 1.4; }
.bandeau svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--osier); }
.bandeau strong { color: var(--ivoire); font-weight: 600; }
@media (max-width: 820px) { .bandeau ul { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) var(--marge); }
.contenu { max-width: var(--large); margin: 0 auto; }
.titre-section { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.titre-section p { margin-top: 1.25rem; color: var(--encre-doux); }

/* Le restaurant */
.accueil-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.accueil-texte h2 { margin-bottom: 2rem; max-width: 9em; }
.accueil-texte .lead { margin-bottom: 1.5rem; }
.ouvert-a-tous { margin: 2.25rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(37,35,30,.18); font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; color: var(--tartan); max-width: 16em; }
.accueil-images { position: relative; padding-bottom: 18%; }
.accueil-images .grande { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.accueil-images .petite { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border: clamp(.5rem, 1vw, .75rem) solid var(--ivoire); }
@media (max-width: 860px) {
  .accueil-grille { grid-template-columns: 1fr; }
  .accueil-images { max-width: 34rem; }
}

/* La carte : l'ardoise */
.ardoise { background: var(--foret-profond); color: var(--craie); position: relative; }
.ardoise::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(ellipse at 20% 0%, rgba(245,240,230,.06), transparent 60%), radial-gradient(ellipse at 90% 100%, rgba(199,154,62,.07), transparent 55%); }
.ardoise .contenu { position: relative; }
.ardoise h2 { color: var(--ivoire); }
.ardoise .titre-section p { color: rgba(236,230,214,.78); }
.carte-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.carte-cadre { border: 1px solid rgba(236,230,214,.22); padding: clamp(1.75rem, 4vw, 3.25rem); position: relative; }
.carte-cadre::after { content: ""; position: absolute; inset: .45rem; border: 1px solid rgba(236,230,214,.1); pointer-events: none; }
.carte-titre { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--ivoire); text-align: center; margin: 0 0 2rem; }
.carte-section + .carte-section { margin-top: 2.25rem; }
.carte-section h3 { font-style: italic; font-size: 1.45rem; color: var(--osier); margin-bottom: .9rem; }
.carte-section ul { list-style: none; margin: 0; padding: 0; }
.carte-section li { display: flex; align-items: baseline; gap: .6rem; padding: .42rem 0; font-family: var(--serif); font-size: clamp(1.18rem, 1.7vw, 1.32rem); line-height: 1.3; color: var(--ivoire); }
.carte-section li .points { flex: 1; border-bottom: 1px dotted rgba(236,230,214,.35); transform: translateY(-.3em); min-width: 1.5rem; }
.carte-section li .prix { font-family: var(--sans); font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--craie); white-space: nowrap; }
.carte-notes { margin: 2.25rem 0 0; font-size: .88rem; color: rgba(236,230,214,.72); text-align: center; max-width: none; }
.carte-pdf { display: flex; justify-content: center; margin-top: 1.25rem; }
.carte-photos { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.carte-photos figure { margin: 0; }
.carte-photos figure:first-child { grid-column: 1 / -1; }
.carte-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-photos figure:not(:first-child) img { aspect-ratio: 1; }
.carte-photos figcaption { font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-top: .5rem; color: rgba(236,230,214,.8); }
.asado { margin-top: clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.asado img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.asado h3 { color: var(--ivoire); font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; }
.asado p { color: rgba(236,230,214,.85); }
.asado .lien { color: var(--osier); }
.asado .saison { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--osier); margin-bottom: .75rem; }
@media (max-width: 900px) {
  .carte-grille, .asado { grid-template-columns: 1fr; }
}

/* Le cadre */
.cadre-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.cadre-intro p { color: var(--encre-doux); margin: 0; }
.recits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2.5vw, 2rem); }
.recit { margin: 0; }
.recit img { width: 100%; object-fit: cover; margin-bottom: 1.4rem; }
.recit h3 { margin-bottom: .75rem; }
.recit p { color: var(--encre-doux); font-size: 1rem; max-width: 26em; }
.recit:nth-child(1) { grid-column: 1 / span 5; }
.recit:nth-child(1) img { aspect-ratio: 4 / 5; }
.recit:nth-child(2) { grid-column: 7 / span 6; margin-top: clamp(4rem, 12vw, 10rem); }
.recit:nth-child(2) img { aspect-ratio: 1; }
.recit:nth-child(3) { grid-column: 3 / span 7; }
.recit:nth-child(3) img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
@media (max-width: 860px) {
  .cadre-intro { grid-template-columns: 1fr; }
  .recits { grid-template-columns: 1fr; }
  .recit:nth-child(n) { grid-column: auto; margin-top: 0; }
}

/* Galerie */
.galerie { background: var(--lin); }
.galerie-haut { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.galerie-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 18vw, 15rem); gap: clamp(.5rem, 1vw, .9rem); grid-auto-flow: dense; }
.galerie-grille button { padding: 0; border: 0; background: var(--foret); cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.galerie-grille button:hover img { transform: scale(1.035); }
.galerie-grille .haut { grid-row: span 2; }
.galerie-grille .large { grid-column: span 2; }
.galerie-grille .grand { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .galerie-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .galerie-grille .large { grid-column: span 2; }
}

/* Visionneuse */
.visionneuse { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: rgba(18,24,20,.96); color: var(--ivoire); }
.visionneuse::backdrop { background: rgba(18,24,20,.9); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr auto; }
.vis-haut { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--marge); font-size: .9rem; }
.vis-image { display: grid; place-items: center; padding: 0 clamp(.5rem, 6vw, 6rem); min-height: 0; }
.vis-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vis-legende { text-align: center; padding: 1rem var(--marge) 1.5rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; min-height: 3.5rem; }
.vis-btn { background: none; border: 1px solid rgba(245,240,230,.35); color: inherit; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease; }
.vis-btn:hover { background: rgba(245,240,230,.12); }
.vis-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.vis-prec { left: clamp(.5rem, 2vw, 1.5rem); }
.vis-suiv { right: clamp(.5rem, 2vw, 1.5rem); }
.vis-btn svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 640px) { .vis-nav { top: auto; bottom: 1rem; transform: none; } }

/* Accès */
.acces-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.adresse { font-style: normal; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.35; margin: 2rem 0 1.75rem; }
.adresse strong { font-weight: 600; }
.acces-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.infos dl { margin: 0; }
.infos dt { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--tartan); margin-top: 1.4rem; }
.infos dd { margin: .25rem 0 0; color: var(--encre-doux); max-width: 30em; }
.horaires { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .98rem; }
.horaires th, .horaires td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(37,35,30,.12); vertical-align: top; }
.horaires th { font-weight: 600; width: 40%; }
.horaires td { color: var(--encre-doux); }
.horaires tr.ferme td { opacity: .65; }
.horaires tr.aujourdhui th::after { content: attr(data-label); display: inline-block; margin-left: .6rem; font-size: .72rem; font-weight: 600; color: var(--foret); background: var(--lin); padding: .1rem .5rem; border-radius: 999px; vertical-align: .12em; }
.note-horaires { font-size: .88rem; color: var(--encre-doux); margin-top: 1rem; }
.carte-geo { position: relative; aspect-ratio: 4 / 3; background: var(--foret); color: var(--ivoire); overflow: hidden; }
.carte-geo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.carte-geo-voile { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem; }
.carte-geo-voile p { font-size: .85rem; color: var(--ivoire); max-width: 24em; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.carte-geo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .acces-grille { grid-template-columns: 1fr; } }

/* Réserver */
.reserver { background: var(--foret); color: var(--craie); }
.reserver h2 { color: var(--ivoire); }
.reserver .titre-section p { color: rgba(236,230,214,.8); }
.resa-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.formulaire { background: var(--ivoire); color: var(--encre); padding: clamp(1.5rem, 4vw, 3rem); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.champ { display: flex; flex-direction: column; gap: .4rem; }
.champ.plein { grid-column: 1 / -1; }
.champ label { font-size: .85rem; font-weight: 600; }
.champ label .facultatif { font-weight: 400; color: var(--encre-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3.1rem; padding: .7rem .9rem; border: 1px solid rgba(37,35,30,.28); border-radius: 6px; background: #fffdf8;
  font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.champ textarea { min-height: 5.5rem; resize: vertical; }
.champ select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2325231e' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--foret); box-shadow: 0 0 0 3px rgba(35,54,44,.18); }
.champ [aria-invalid="true"] { border-color: var(--tartan); }
.erreur { font-size: .82rem; color: var(--tartan); min-height: 0; }
.erreur:empty { display: none; }
.aide-jour { font-size: .82rem; color: var(--encre-doux); }
.aide-jour:empty { display: none; }
.formulaire .btn { width: 100%; margin-top: 1.75rem; min-height: 3.5rem; font-size: 1rem; }
.confirmation-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; font-size: .88rem; color: var(--encre-doux); max-width: none; }
.confirmation-note svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; color: var(--foret); }
.resa-aside h3 { color: var(--ivoire); margin-bottom: 1rem; }
.resa-aside p { color: rgba(236,230,214,.82); }
.numero { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ivoire); text-decoration: none; letter-spacing: .02em; margin: .25rem 0 1.25rem; }
.resa-aside .btn-ligne { min-height: 2.9rem; }
.resa-aside-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.qr { margin-top: 2.5rem; display: none; gap: 1.25rem; align-items: center; }
.qr-code { background: var(--ivoire); padding: .75rem; width: 9.5rem; height: 9.5rem; flex: none; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr p { font-size: .9rem; margin: 0; }
.message-pret { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid rgba(236,230,214,.25); display: none; }
.message-pret.visible { display: block; }
.message-pret blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--ivoire); }
.message-pret .resa-aside-actions .btn { min-height: 2.7rem; font-size: .88rem; }
.statut { font-size: .85rem; color: var(--osier); min-height: 1.2em; margin-top: .75rem; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .qr { display: flex; } }
@media (max-width: 900px) {
  .resa-grille { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .champs { grid-template-columns: 1fr; }
  .formulaire { margin: 0 calc(var(--marge) * -1); }
}

/* Pied de page */
.pied { background: var(--foret-profond); color: rgba(236,230,214,.8); padding: clamp(4rem, 8vw, 6rem) var(--marge) calc(2rem + env(safe-area-inset-bottom)); font-size: .92rem; }
.pied-grille { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.pied .marque { align-items: flex-start; color: var(--ivoire); }
.pied .marque-nom { font-size: 2rem; }
.pied h2 { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ivoire); margin-bottom: .9rem; letter-spacing: .02em; }
.pied p { margin: 0 0 .5rem; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: .2em; }
.pied-bas { max-width: var(--large); margin: 3.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(236,230,214,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: rgba(236,230,214,.6); }
.pied-bas p { max-width: none; margin: 0; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* Bouton mobile persistant */
.barre-mobile { display: none; }
@media (max-width: 960px) {
  .barre-mobile {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(245,240,230,.98) 70%, rgba(245,240,230,0));
    transform: translateY(110%); transition: transform .35s ease;
  }
  .barre-mobile.visible { transform: none; }
  .barre-mobile .btn { width: 100%; min-height: 3.2rem; box-shadow: 0 6px 20px rgba(26,41,33,.22); }
  body { padding-bottom: 0; }
}

/* Page légale */
.page-simple { padding: calc(var(--header-h) + 4rem) var(--marge) var(--section); max-width: 48rem; margin: 0 auto; }
.page-simple h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 2rem; }
.page-simple h2 { font-size: 1.9rem; margin: 3rem 0 1rem; }
.page-simple h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
.a-completer { background: #f3e2b9; padding: 0 .3rem; border-radius: 3px; }
.entete-plein { background: var(--ivoire); color: var(--encre); box-shadow: 0 1px 0 rgba(37,35,30,.08); }
.entete-plein .btn-reserver { background: var(--foret) !important; color: var(--ivoire) !important; }

/* La marque de l'en-tête n'apparaît qu'après le héros (évite le doublon) */
.entete:not(.defile):not(.entete-plein) .marque { opacity: 0; visibility: hidden; }
.entete .marque { transition: opacity .35s ease, visibility .35s; }
