/* Le Trinquet, Oloron-Sainte-Marie : feuille de style.
   Direction : éditoriale, beaucoup de blanc, grands titres à empattement (Playfair Display),
   texte en Libre Franklin, photos pleine largeur, un seul accent bordeaux repris des boiseries de la salle. */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Repli métrique proche, pour limiter le décalage au chargement */
@font-face { font-family: "Playfair repli"; src: local("Georgia"); size-adjust: 104%; ascent-override: 98%; }
@font-face { font-family: "Franklin repli"; src: local("Arial"); size-adjust: 102%; }

:root {
  --papier: #ffffff;
  --papier-2: #f4f4f2;
  --encre: #151413;
  --encre-2: #57534e;
  --filet: #e3e1dc;
  --filet-fort: #c9c6c0;
  --accent: #8a1c2b;
  --accent-fonce: #6d1421;
  --serif: "Playfair Display", "Playfair repli", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin repli", Arial, system-ui, sans-serif;
  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1360px;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --section: clamp(4rem, 9vw, 8.5rem);
  --head-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--sans); font-kerning: normal; font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; caret-color: var(--accent);
}
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: var(--filet-fort) var(--papier); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
em { font-style: italic; }
small, .petit { font-size: .875rem; color: var(--encre-2); }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--encre); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Emplacements à compléter ---------- */
.a-completer {
  display: inline-block; font: 500 .82rem/1.4 var(--sans); letter-spacing: 0; font-style: normal;
  color: #6b4b00; background: #fff6d8; border: 1px dashed #b8860b; padding: .15rem .5rem; border-radius: 2px;
}

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .85rem 1.5rem;
  background: var(--encre); color: #fff; border: 1px solid var(--encre); border-radius: 0;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn .ico { width: 1.15em; height: 1.15em; }
.ico { width: 1em; height: 1em; flex: none; }
.lien { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.lien .ico { transition: transform .3s var(--ease); }
.lien:hover .ico { transform: translateX(4px); }
.liens { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); }

.note { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--encre-2); text-decoration: none; }
.note b { color: var(--encre); font-weight: 600; }
.note__etoile { color: var(--accent); width: 1.05em; height: 1.05em; }
.note:hover span { text-decoration: underline; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .3s, transform .35s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .head { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.head.is-scrolled { border-bottom-color: var(--filet); }
.head.is-cache { transform: translateY(-100%); }
.head__in { display: flex; align-items: center; gap: var(--s6); min-height: var(--head-h); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo__nom { font: italic 500 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.logo__sous { font: 500 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--encre-2); margin-top: .45rem; }
.logo:hover { color: var(--encre); }
.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav__liste a { font-size: .93rem; font-weight: 500; text-decoration: none; padding: .5rem 0; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav__liste a:hover, .nav__liste a[aria-current="page"] { background-size: 100% 1px; color: var(--encre); }
.nav__mobile, .nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: var(--s4); }
.head__tel { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.head__tel .ico { color: var(--accent); width: 1.1em; height: 1.1em; }
.head__resa { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--encre); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color .25s, color .25s; }
.head__resa:hover { background: var(--encre); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; color: var(--encre); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --head-h: 64px; }
  .burger { display: block; }
  .head__resa { display: none; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: var(--papier); z-index: 49;
    padding: var(--s6) var(--marge) calc(var(--s7) + env(safe-area-inset-bottom)); overflow-y: auto;
    display: flex; flex-direction: column; gap: var(--s6);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__liste li { border-bottom: 1px solid var(--filet); }
  .nav__liste a { display: block; font: 500 clamp(1.9rem, 7vw, 2.6rem)/1.15 var(--serif); padding: .7rem 0; background: none; }
  .nav__liste a[aria-current="page"] { font-style: italic; color: var(--accent); }
  .nav__mobile { display: block; }
  .nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .head__tel span { display: none; }
  .head__tel { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--filet-fort); border-radius: 50%; }
  .logo__nom { font-size: 1.55rem; }
  .logo__sous { font-size: .6rem; letter-spacing: .13em; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { list-style: none; margin: 0; padding: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .82rem; color: var(--encre-2); }
.fil li + li::before { content: "/"; margin-right: .35rem; color: var(--filet-fort); }
.fil a { text-decoration: none; } .fil a:hover { text-decoration: underline; }

/* ---------- Tête de page ---------- */
.tete { padding-top: clamp(2.5rem, 7vw, 6.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.tete__titre { font-size: clamp(2.9rem, 8.4vw, 8rem); line-height: .96; letter-spacing: -.028em; font-weight: 500; max-width: 15ch; }
.tete__titre em { font-weight: 400; }
.tete--une .tete__titre { max-width: none; }
.tete__nom { display: block; font-size: clamp(4.4rem, 17vw, 14.5rem); line-height: .86; letter-spacing: -.04em; margin-left: -.04em; }
.tete__qui { display: block; font-size: clamp(1.45rem, 3.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; margin-top: .35em; max-width: 30ch; }
.tete__bas { display: grid; gap: var(--s6); margin-top: clamp(2rem, 4.5vw, 4rem); align-items: end; }
.chapo { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 54ch; margin: 0; }
.tete__action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.tete__note { margin: 0; }
@media (min-width: 900px) {
  .tete__bas { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s8); }
  .tete__action { align-items: flex-start; padding-left: var(--s6); border-left: 1px solid var(--filet); }
}
@media (prefers-reduced-motion: no-preference) {
  .tete__titre { animation: monte .8s var(--ease) both; }
  .tete__bas { animation: monte .8s .1s var(--ease) both; }
  @keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Photos pleine largeur ---------- */
.pleine { margin: 0; }
.pleine__img { overflow: hidden; background: var(--papier-2); }
.pleine__img img { width: 100%; height: clamp(300px, 64vh, 780px); object-fit: cover; }
.pleine--haute .pleine__img img { height: clamp(320px, 80vh, 900px); }
.pleine--archive .pleine__img { background: var(--papier); }
.pleine--etroite .pleine__img, .pleine--etroite .legende { max-width: calc(940px + 2 * var(--marge)); padding-inline: var(--marge); margin-inline: auto; background: none; }
.pleine--etroite .pleine__img img { height: auto; aspect-ratio: 47 / 31; }
@media (max-width: 700px) {
  .pleine__img img { height: clamp(260px, 100vw, 460px); }
  .pleine--haute .pleine__img img { height: clamp(320px, 125vw, 560px); }
}
.pleine--archive .pleine__img img { height: auto; max-height: 86vh; object-fit: contain; filter: grayscale(1) contrast(1.02); }
.legende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem var(--s5); padding-top: var(--s3); font: italic 400 .98rem/1.45 var(--serif); color: var(--encre); }
.legende small { font: 400 .78rem/1.4 var(--sans); color: var(--encre-2); font-style: normal; }
.legende--court { padding-inline: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--filet > .wrap, .sommaire > .wrap { background: linear-gradient(var(--filet), var(--filet)) var(--marge) 0 / calc(100% - 2 * var(--marge)) 1px no-repeat; padding-top: var(--section); }
.section--filet { padding-top: 0; }
.section--gris { background: var(--papier-2); }
.h-sec { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; max-width: 17ch; margin-bottom: var(--s5); }
.grand { font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.03em; max-width: 15ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.lead { font-size: clamp(1.12rem, 1.45vw, 1.28rem); line-height: 1.55; max-width: 52ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: var(--s7) 0 var(--s4); max-width: 22ch; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin: var(--s6) 0 var(--s3); }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }

.colonnes { display: grid; gap: clamp(2rem, 6vw, 6rem); }
@media (min-width: 900px) {
  .colonnes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .colonnes--texte { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .colonnes__g { position: sticky; top: calc(var(--head-h) + 2rem); align-self: start; }
}

/* Liste de plats, composée comme une carte imprimée */
.plats { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.plats li { display: grid; gap: .35rem var(--s6); padding: clamp(1.1rem, 2vw, 1.6rem) 0; border-top: 1px solid var(--filet); }
.plats__nom { font: italic 400 clamp(1.7rem, 3vw, 2.5rem)/1.08 var(--serif); letter-spacing: -.01em; }
.plats__txt { color: var(--encre-2); max-width: 46ch; }
@media (min-width: 700px) { .plats li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: baseline; } }

/* Image et texte côte à côte */
.duo { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo__img { margin: 0; }
.duo__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.duo__txt { max-width: 60ch; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .duo--inverse .duo__img { order: 2; } }

/* Informations pratiques */
.pratique { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--filet); }
.pratique > div { padding: var(--s5) 0; border-bottom: 1px solid var(--filet); display: grid; gap: .3rem; }
.pratique dt { font: 600 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); }
.pratique dd { margin: 0; }
.pratique dd a { font-weight: 600; }
.pratique .ico { width: .85em; height: .85em; vertical-align: -.05em; }
@media (min-width: 640px) { .pratique { grid-template-columns: 1fr 1fr; column-gap: var(--s6); } }
.horaires p { margin-bottom: .6em; }

/* FAQ */
.faq__in { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .faq__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); } }
.faq__liste { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); align-items: baseline; padding: var(--s5) 0; font: 500 clamp(1.2rem, 1.8vw, 1.45rem)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__ico { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); color: var(--accent); flex: none; }
.faq details[open] .faq__ico { transform: rotate(180deg); }
.faq__r { padding: 0 0 var(--s5); max-width: 62ch; color: var(--encre-2); }
.faq__r a { color: var(--encre); font-weight: 600; }

/* Sommaire à filets */
.sommaire { padding-top: 0; }
.sommaire__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.sommaire__liste a { display: grid; grid-template-columns: 1fr auto; gap: .3rem var(--s6); align-items: baseline; padding: clamp(1.1rem, 2.2vw, 1.7rem) 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.sommaire__t { font: 500 clamp(1.6rem, 3.2vw, 2.7rem)/1.05 var(--serif); letter-spacing: -.015em; transition: color .25s; }
.sommaire__d { grid-column: 1; color: var(--encre-2); font-size: .98rem; }
.sommaire__f { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 1.5rem; height: 1.5rem; color: var(--accent); transition: transform .35s var(--ease); }
.sommaire__liste a:hover { color: var(--encre); }
.sommaire__liste a:hover .sommaire__t { color: var(--accent); font-style: italic; }
.sommaire__liste a:hover .sommaire__f { transform: translateX(6px); }
@media (min-width: 900px) {
  .sommaire__liste a { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; }
  .sommaire__d { grid-column: 2; }
  .sommaire__f { grid-row: 1; grid-column: 3; }
}

/* Appel final */
.appel { padding-block: var(--section); }
.appel__in { background: linear-gradient(var(--encre), var(--encre)) var(--marge) 0 / calc(100% - 2 * var(--marge)) 1px no-repeat; padding-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: var(--s6); }
.appel__titre { font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.03em; max-width: 12ch; }
.appel__corps { max-width: 46ch; }
.appel__num { display: inline-block; font: 500 clamp(2.5rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; text-decoration: none; margin: var(--s2) 0 var(--s4); white-space: nowrap; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: .1em; }
.appel__num:hover { color: var(--accent); }
.appel__alt { margin: 0 0 var(--s5); }
.appel__alt a { font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.appel__corps .btn { margin: var(--s2) 0 var(--s4); }
.appel__note { margin: 0; }
@media (min-width: 900px) { .appel__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

/* Histoire */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.dates li { display: grid; gap: .2rem var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--filet); }
.dates b { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--serif); font-variant-numeric: lining-nums; }
.dates span { max-width: 58ch; }
@media (min-width: 700px) { .dates li { grid-template-columns: 9rem minmax(0, 1fr); align-items: baseline; } }
.citation { margin: 0; padding: 0; font: italic 400 clamp(1.7rem, 3.4vw, 2.9rem)/1.2 var(--serif); letter-spacing: -.01em; max-width: 26ch; }
.citation cite { display: block; margin-top: var(--s4); font: 400 .85rem/1.4 var(--sans); font-style: normal; color: var(--encre-2); }

/* Encadré neutre (sans cartes empilées) */
.encart { border-top: 1px solid var(--encre); padding-top: var(--s5); }
.encart h3 { font-size: 1.5rem; margin-bottom: var(--s3); }
.photo-attente { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--papier-2); border: 1px dashed var(--filet-fort); padding: var(--s5); text-align: center; }

/* ---------- Formulaire ---------- */
.form-zone { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 980px) { .form-zone { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; } }
.form { display: grid; gap: var(--s5); }
.form__t { font-size: clamp(2rem, 3.6vw, 3rem); }
.choix { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.choix legend { font: 600 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); margin-bottom: .7rem; padding: 0; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--filet-fort); font-size: .93rem; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.choix label:hover span { border-color: var(--encre); }
.choix input:checked + span { background: var(--encre); border-color: var(--encre); color: #fff; }
.choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.champs { display: grid; gap: var(--s5) var(--s5); }
@media (min-width: 620px) { .champs { grid-template-columns: 1fr 1fr; } .champ.large { grid-column: 1 / -1; } }
.champ { display: grid; gap: .4rem; }
.champ[hidden] { display: none; }
.champ label { font-weight: 600; font-size: .92rem; }
.champ label small { font-weight: 400; }
input, select, textarea { font: inherit; color: var(--encre); background: #fff; border: 1px solid var(--filet-fort); border-radius: 0; padding: .8rem .9rem; min-height: 50px; width: 100%; }
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #75706a; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--encre); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--encre-2); }
.rgpd input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.form .btn { justify-self: start; }
.form__note { font-size: .88rem; color: var(--encre-2); margin: 0; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.ok { color: #1f5b33; border-left: 1px solid #1f5b33; padding-left: .8rem; }
.form__msg.err { color: var(--accent); border-left: 1px solid var(--accent); padding-left: .8rem; }
.aside-contact { display: grid; gap: var(--s6); }
.aside-contact .appel__num { font-size: clamp(2.2rem, 3.6vw, 3rem); }

/* Plan Google à la demande */
.carte-plan { aspect-ratio: 16 / 10; background: var(--papier-2); border: 1px solid var(--filet); display: grid; place-items: center; text-align: center; padding: var(--s5); }
.carte-plan iframe { width: 100%; height: 100%; border: 0; }
.carte-plan p { max-width: 36ch; color: var(--encre-2); font-size: .92rem; }

/* Pages légales et plan du site */
.legal { max-width: 74ch; }
.legal h1, .plan h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: var(--s6); }
.legal h2, .plan h2 { font-size: 1.6rem; margin: var(--s7) 0 var(--s3); }
.plan ul { padding-left: 1.1rem; } .plan li { margin-bottom: .4rem; }
.erreur { padding-block: var(--section); }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--encre); padding: clamp(3rem, 6vw, 5rem) 0 calc(var(--s6) + env(safe-area-inset-bottom)); font-size: .95rem; }
.foot__nom { font: italic 500 clamp(3.2rem, 11vw, 9rem)/.9 var(--serif); letter-spacing: -.035em; margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.foot__grid { display: grid; gap: var(--s6); }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot__h { font: 600 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); margin-bottom: var(--s4); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot address { font-style: normal; margin-bottom: var(--s3); }
.foot .ico { width: .8em; height: .8em; vertical-align: -.05em; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s5); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--filet); font-size: .84rem; color: var(--encre-2); }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s5); }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 1100px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .55rem var(--marge) calc(.55rem + env(safe-area-inset-bottom)); gap: .55rem; background: rgba(255,255,255,.97); border-top: 1px solid var(--filet);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar.is-hidden, body.nav-open .mbar { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; font-weight: 600; text-decoration: none; border: 1px solid var(--encre); }
  .mbar__tel { background: var(--encre); color: #fff; }
  .mbar__tel:hover { color: #fff; background: var(--accent); }
  .mbar .ico { width: 1.1em; height: 1.1em; }
  body { padding-bottom: 72px; }
}

/* Apparition au défilement (un seul mouvement, depuis un état déjà visible sans JavaScript) */
.a-reveler { opacity: 0; transform: translateY(24px); }
.revele { transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media print { .head, .mbar, .appel, .sommaire, .burger { display: none !important; } }
a[href^="tel:"] { white-space: nowrap; }
.photo-attente { aspect-ratio: 16 / 7; }
.duo__img--portrait img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
@media (min-width: 900px) { .duo:has(.duo__img--portrait) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
