/* ==========================================================================
   Château du Sou (Lacenas, Beaujolais) : aperçu Polink du 28/11/2026,
   structure du modèle des domaines de réception (Château de Boast, Cabane de Magnan) :
   accroches manuscrites, cartes par public, lieux, histoire, avis, bande photo,
   repères sur fond sombre, accès, FAQ, demande de date, barre mobile.
   Identité propre : la pierre dorée du Beaujolais et les armes des Gaspard
   (« d'azur au chevron d'or accompagné de trois étoiles du même »), sculptées
   treize fois sur la porte fortifiée.
   Palette : chaux dorée (fond), pierre (blocs), ciel pâle (accès, demande),
   azur du blason (seul accent d'action), nuit d'azur (repères, menu mobile),
   or (accents sur fond sombre), ocre de la pierre (accroches, traits).
   Polices : Sedan (titres, garalde au dessin ancien), Quattrocento Sans (texte,
   humaniste d'inspiration Renaissance), Ephesis (accroches à la plume).
   Signature : l'écu. Premier écran en bandeau photo sous lequel se pose une
   plaque de pierre gravée surmontée de l'écu ; frise des treize blasons de la
   porte ; cartes par public découpées en écu.
   ========================================================================== */

@font-face { font-family: "Sedan"; src: url("/fonts/sedan-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sedan"; src: url("/fonts/sedan-400-italique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url("/fonts/quattrocento-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url("/fonts/quattrocento-sans-400-italique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url("/fonts/quattrocento-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ephesis"; src: url("/fonts/ephesis-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sedan Repli"; src: local("Georgia"), local("DejaVu Serif"); size-adjust: 96%; }

:root {
  --encre: #2a2219;
  --encre-2: #62564a;
  --fond: #fcf8f1;
  --pierre: #f4ead7;
  --pierre-2: #ead9b9;
  --pierre-pale: #fbf4e7;
  --ciel: #e9eef2;
  --ligne: #e3d5bb;
  --azur: #234c86;            /* azur du blason, seul accent d'action, 8,1:1 sur le fond */
  --azur-2: #1a3b6a;
  --azur-pale: #e2e9f3;
  --nuit: #16263f;            /* nuit d'azur : repères, menu mobile */
  --nuit-2: #20344f;
  --or: #e3b866;
  --ocre: #a06a24;            /* pierre dorée à l'ombre : accroches et traits (grands corps seulement) */
  --ocre-2: #c4914a;
  --tuile: #9a4b2c;
  --volet: #4f6146;

  --f-titre: "Sedan", "Sedan Repli", Georgia, serif;
  --f-texte: "Quattrocento Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-script: "Ephesis", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --pad: clamp(16px, 4.5vw, 64px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 84px;
  --trait: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 9c52-5 104-6 150-4 50 2 98 5 144 0' fill='none' stroke='%23c4914a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M40 13.5c60-2.5 132-3.5 214-1.5' fill='none' stroke='%23c4914a' stroke-width='1.3' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E");
  --ecu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46' preserveAspectRatio='none'%3E%3Cpath d='M0 0H40V21C40 33.5 30.5 41.5 20 46C9.5 41.5 0 33.5 0 21Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { overflow-x: clip; margin: 0; background: var(--fond); color: var(--encre); font-family: var(--f-texte); font-size: 1.125rem;
  line-height: 1.64; font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--pierre-2); color: var(--encre); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--azur); }
:focus-visible { outline: 2px solid var(--azur); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 400; line-height: 1.08; letter-spacing: 0; margin: 0 0 .45em;
  text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2, .h-sec { font-size: clamp(2.1rem, 3.5vw, 3.15rem); }
h3 { font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.15; }
.lead { font-size: clamp(1.14rem, 1.45vw, 1.28rem); line-height: 1.55; max-width: 48ch; }
.nw { white-space: nowrap; }
.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; }
.source { font-size: .9rem; color: var(--encre-2); margin-top: var(--s3); }
strong, b { font-weight: 700; }
.centre { text-align: center; }

/* Accroche à la plume + mot souligné à la main */
.script { display: block; font-family: var(--f-script); font-size: clamp(2.3rem, 3.8vw, 3.2rem); line-height: 1; color: var(--ocre);
  margin: 0 0 .08em; font-weight: 400; letter-spacing: 0; }
.script--clair { color: var(--or); }
.trait { padding-bottom: .12em; background: var(--trait) no-repeat 50% 100% / 100% .24em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.titre-c { text-align: center; max-width: 860px; margin: 0 auto var(--s7); padding: 0 var(--pad); }
.titre-c p { color: var(--encre-2); max-width: 58ch; margin: 0 auto; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico-star { color: #d39a2e; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--nuit); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- À compléter ---------- */
.a-completer { display: inline-block; background: repeating-linear-gradient(-45deg, #fff3cd 0 10px, #fff 10px 20px);
  border: 1.5px dashed var(--encre); color: var(--encre); font: 400 .9rem/1.4 var(--f-texte); padding: .25em .6em; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 .98rem/1.1 var(--f-texte);
  letter-spacing: .02em; padding: 1em 1.6em; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { font-size: 1.02rem; padding: 1.05em 1.8em; }
.btn--azur { background: var(--azur); color: #fff; box-shadow: 0 8px 20px -10px rgba(35, 76, 134, .8); }
.btn--azur:hover { background: var(--azur-2); }
.btn--trait { border-color: currentColor; color: inherit; background: transparent; }
.btn--trait:hover { background: rgba(35, 76, 134, .06); }
.btn--clair { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn--clair:hover { background: rgba(255, 255, 255, .14); }
.btn--or { background: var(--or); color: var(--nuit); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

.lien { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1px; text-decoration-color: var(--ocre-2); color: var(--azur); }
.lien .ico { transition: transform .25s var(--ease); }
.lien:hover .ico { transform: translateX(4px); }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font-size: .98rem; line-height: 1.3; }
.note__etoiles { display: inline-flex; gap: 1px; }
.note__etoiles .ico { width: 1em; height: 1em; }

/* ---------- En-tête (toujours clair) ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgba(252, 248, 241, .97); border-bottom: 1px solid var(--ligne); }
.head__in { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); height: var(--head-h); display: flex; align-items: center; gap: var(--s5); }
.logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; color: var(--encre); flex: none; }
.logo__svg { width: 222px; height: auto; display: block; overflow: visible; }
.logo__ecu { fill: var(--azur); stroke: var(--ocre-2); stroke-width: 1.2; }
.logo__or { fill: var(--or); }
.logo__sous { fill: var(--ocre); }
.logo__filet { stroke: var(--ocre-2); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav ul a { text-decoration: none; font-weight: 700; font-size: .98rem; padding: 8px 0; border-bottom: 1.5px solid transparent; letter-spacing: .01em; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--ocre-2); }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: var(--s4); }
.head__tel { display: none; }
.head__cta { padding: .85em 1.35em; font-size: .92rem; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ligne); background: #fff; border-radius: 999px; cursor: pointer;
  position: relative; color: var(--encre); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  :root { --head-h: 68px; }
  .burger { display: block; }
  .head__tel { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--ligne);
    border-radius: 999px; background: #fff; color: var(--azur); }
  .head__tel span { display: none; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; height: calc(100dvh - var(--head-h)); background: var(--nuit); color: #fff;
    padding: var(--s6) var(--pad) 0; overflow-y: auto; display: none; }
  .nav.is-open { display: block; animation: nav-in .4s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav ul a { display: block; font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.6rem, 6.4vw, 2.1rem); padding: 11px 0; border: 0; }
  .nav ul a[aria-current="page"] { color: var(--or); }
  .nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); margin-top: var(--s6);
    padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .nav__extra .btn { font-size: 1rem; }
  .nav__extra .btn--azur { background: var(--or); color: var(--nuit); box-shadow: none; }
  .nav__extra .btn--trait { color: #fff; border-color: rgba(255, 255, 255, .55); }
  .nav__extra .note { color: rgba(255, 255, 255, .92); }
  body.menu-open { overflow: hidden; }
  .burger[aria-expanded="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .head__cta { display: none; } .logo__svg { width: 188px; } }
@media (max-width: 359px) { .logo__svg { width: 164px; } .head__in { gap: var(--s3); } }

.nav__suite { display: none; }
@media (max-width: 1180px) {
  .nav__suite { position: sticky; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 6px;
    height: 76px; margin: -76px calc(-1 * var(--pad)) 0; width: calc(100% + 2 * var(--pad)); padding: 0 0 14px; border: 0;
    background: linear-gradient(rgba(22, 38, 63, 0), var(--nuit) 62%); color: #fff; font: 700 .9rem/1 var(--f-texte); letter-spacing: .04em;
    cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
  .nav.a-suite .nav__suite { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { max-width: 1400px; margin: 0 auto; padding: var(--s4) var(--pad) var(--s3); font-size: .9rem; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3em; }
.fil li + li::before { content: "/"; margin-right: .3em; color: var(--encre-2); }
.fil a { color: var(--encre-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.bg-pierre { background: var(--pierre); }
.bg-ciel { background: var(--ciel); }
.bg-nuit { background: var(--nuit); color: #fff; }
.bg-nuit h2, .bg-nuit h3 { color: #fff; }
.bg-nuit .script { color: var(--or); }
.bg-nuit .lien { color: #fff; text-decoration-color: var(--or); }

/* ---------- La frise des treize blasons (signature) ---------- */
.frise { display: block; width: min(560px, 86%); height: auto; margin: 0 auto; color: var(--ocre-2); overflow: visible; }
.frise .f-ecu { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.frise .f-centre { fill: var(--azur); stroke: var(--ocre-2); stroke-width: 1.4; }
.frise .f-or { fill: var(--or); }
.frise .f-ligne { stroke: currentColor; stroke-width: 1; opacity: .7; }
.frise--clair { color: rgba(227, 184, 102, .85); }
.frise--clair .f-centre { fill: var(--nuit-2); stroke: var(--or); }

/* ---------- Premier écran de l'accueil : bandeau photo + plaque de pierre gravée ---------- */
.hero + .section { padding-top: clamp(48px, 5vw, 72px); }
.hero { position: relative; padding-bottom: clamp(16px, 2vw, 24px); background: linear-gradient(var(--fond), var(--fond)); }
.hero__img { position: relative; height: clamp(340px, 54vh, 580px); overflow: hidden; background: #c9b48c; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(rgba(42, 34, 25, 0), rgba(42, 34, 25, .28)); }
.hero__credit { position: absolute; right: var(--pad); bottom: 12px; z-index: 2; margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.plaque { position: relative; z-index: 2; width: min(920px, calc(100% - 2 * var(--pad))); margin: -150px auto 0; text-align: center;
  background: var(--pierre-pale); border-radius: 28px; padding: 64px clamp(24px, 5vw, 72px) 40px;
  box-shadow: 0 30px 60px -36px rgba(64, 44, 18, .55), 0 2px 0 rgba(255, 255, 255, .6) inset; }
.plaque::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(196, 145, 74, .55); border-radius: 19px; pointer-events: none; }
.plaque__ecu { position: absolute; left: 50%; top: -44px; width: 74px; height: 86px; margin-left: -37px;
  filter: drop-shadow(0 10px 14px rgba(22, 38, 63, .28)); }
.plaque__ecu .e-fond { fill: var(--azur); stroke: var(--pierre-pale); stroke-width: 2.2; }
.plaque__ecu .e-bord { fill: none; stroke: var(--ocre-2); stroke-width: 1; }
.plaque__ecu .e-or { fill: var(--or); }
.plaque h1 { margin: 0 0 .5em; }
.h1__nom { display: block; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; }
.h1__metier { display: block; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; margin-top: .45em; color: var(--encre); font-style: italic; }
.plaque .lead { margin: 0 auto var(--s5); max-width: 56ch; color: var(--encre-2); font-size: clamp(1.08rem, 1.3vw, 1.2rem); }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.hero__note { margin: var(--s5) 0 0; }
.hero .frise { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---------- Haut des pages intérieures ---------- */
.phero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; background: var(--pierre); }
.phero__txt { padding: clamp(40px, 5.5vw, 80px) var(--pad) clamp(40px, 5vw, 72px) max(var(--pad), calc((100vw - 1240px) / 2 + var(--pad))); align-self: center; }
.phero__txt > * { max-width: 620px; }
.phero__txt h1 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); }
.phero__txt .lead { color: var(--encre-2); }
.phero__img { position: relative; min-height: 420px; margin: 24px 24px 24px 0; border-radius: var(--r); overflow: hidden; }
.phero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.phero .hero__note { margin-top: var(--s5); }
.phero--sans-img { display: block; }
.phero--sans-img .phero__txt { padding-left: var(--pad); max-width: var(--wrap); margin: 0 auto; }
.phero--sans-img .phero__txt > * { max-width: 760px; }

/* Sous-menu d'ancres */
.ssmenu { background: var(--fond); border-bottom: 1px solid var(--ligne); }
.ssmenu ul { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1400px; display: flex; gap: var(--s2) var(--s5); flex-wrap: wrap; }
.ssmenu a { display: inline-block; padding: 14px 0; font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 2px solid transparent; }
.ssmenu a:hover { border-bottom-color: var(--ocre-2); }

/* ---------- Cartes par public : photos découpées en écu ---------- */
.evts { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px);
  max-width: 1160px; text-align: center; }
.evt { --c: var(--azur); display: flex; flex-direction: column; align-items: center; }
.evt--tuile { --c: var(--tuile); }
.evt--volet { --c: var(--volet); }
.evt__ecu { position: relative; display: block; width: 100%; max-width: 300px; aspect-ratio: 40 / 46; }
.evt__ecu img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--ecu) center / 100% 100% no-repeat; mask: var(--ecu) center / 100% 100% no-repeat;
  transition: transform .6s var(--ease); }
.evt__ecu img { position: relative; z-index: 2; }
.evt__ecu::before, .evt__ecu::after { content: ""; position: absolute; z-index: 0; -webkit-mask: var(--ecu) center / 100% 100% no-repeat; mask: var(--ecu) center / 100% 100% no-repeat; }
.evt__ecu::before { inset: -10px -9px -12px; background: var(--ocre-2); }
.evt__ecu::after { inset: -8.8px -7.8px -10.6px; background: var(--fond); z-index: 1; }
.evt__ecu:hover img { transform: scale(1.03); }
.evt h3 { color: var(--c); margin: var(--s6) 0 var(--s3); font-size: clamp(1.65rem, 2.1vw, 1.95rem); }
.evt h3 a { text-decoration: none; }
.evt p { color: var(--encre-2); max-width: 32ch; margin: 0 auto var(--s5); }
.evt .btn { background: var(--c); color: #fff; margin-top: auto; }
.evt .btn:hover { filter: brightness(.9); }
.et-aussi { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2) var(--s3); margin: var(--s7) auto 0; max-width: 1000px; }
.et-aussi span { font-family: var(--f-script); font-size: 2.1rem; color: var(--ocre); margin-right: var(--s2); line-height: 1; }
.et-aussi a { font-size: .95rem; font-weight: 700; text-decoration: none; padding: .55em 1.1em; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; }
.et-aussi a:hover { border-color: var(--ocre-2); }
@media (max-width: 900px) { .evts { grid-template-columns: 1fr; max-width: 420px; row-gap: 56px; } .evt__ecu { max-width: 236px; } }

/* ---------- Les lieux du château : mosaïque ---------- */
.lieux { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(18px, 2.4vw, 32px); }
.lieu { margin: 0; display: flex; flex-direction: column; }
.lieu__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.lieu__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lieu:hover .lieu__img img { transform: scale(1.035); }
.lieu--grand { grid-row: 1 / 3; }
.lieu--grand .lieu__img { aspect-ratio: auto; flex: 1; min-height: 420px; }
.lieu figcaption { padding: var(--s4) 4px 0; }
.lieu h3 { margin: 0 0 .25em; font-size: clamp(1.35rem, 1.7vw, 1.6rem); }
.lieu p { margin: 0; color: var(--encre-2); font-size: 1.02rem; }
.lieux__cta { text-align: center; margin: var(--s7) 0 0; }
@media (max-width: 1000px) { .lieux { grid-template-columns: 1fr 1fr; } .lieu--grand { grid-row: auto; grid-column: 1 / -1; } .lieu--grand .lieu__img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .lieux { grid-template-columns: 1fr; } .lieu--grand .lieu__img { aspect-ratio: 4 / 3; } }

/* ---------- Bloc histoire ---------- */
.histoire { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.histoire__img { position: relative; }
.histoire__img > img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.histoire__vignette { position: absolute; right: -28px; bottom: -32px; width: 40%; border-radius: 16px; overflow: hidden; border: 6px solid var(--pierre);
  box-shadow: 0 18px 36px -20px rgba(42, 34, 25, .6); }
.histoire__vignette img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.histoire__txt ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: var(--s3); }
.histoire__txt li { padding-left: 1.6em; position: relative; }
.histoire__txt li::before { content: ""; position: absolute; left: 0; top: .32em; width: .85em; height: 1em; background: var(--ocre-2);
  -webkit-mask: var(--ecu) center / 100% 100% no-repeat; mask: var(--ecu) center / 100% 100% no-repeat; }
.sou-par-sou { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; color: var(--encre); margin: 0 0 var(--s4); }
@media (max-width: 900px) {
  .histoire { grid-template-columns: 1fr; }
  .histoire__img > img { aspect-ratio: 4 / 3; }
  .histoire__vignette { right: 12px; bottom: -24px; width: 34%; }
}

/* Texte replié « En savoir plus » */
.plus { margin-top: var(--s5); border-top: 1px solid var(--ligne); }
.plus summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem; padding: var(--s4) 0; font-weight: 700; color: var(--azur); }
.plus summary::-webkit-details-marker { display: none; }
.plus summary::after { content: ""; width: 8px; height: 8px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.plus[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.plus__corps { padding-bottom: var(--s3); }
.plus__corps h3 { font-size: 1.4rem; margin-top: var(--s4); }
.bg-nuit .plus { border-top-color: rgba(255, 255, 255, .2); }
.bg-nuit .plus summary { color: var(--or); }

/* ---------- Avis ---------- */
.avis__tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s7); }
.avis__tete h2 { margin: 0; }
.avis__score { display: grid; justify-items: end; text-decoration: none; line-height: 1.1; }
.avis__note { font-family: var(--f-titre); font-size: clamp(3.2rem, 5.4vw, 4.2rem); line-height: .9; color: var(--encre); }
.avis__note small { font-size: .38em; color: var(--encre-2); }
.avis__etoiles { display: block; margin-top: 10px; }
.avis__etoiles .ico { width: 1.25em; height: 1.25em; }
.avis__nb { font-size: .95rem; color: var(--encre-2); margin-top: 6px; }
.avis__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.avis__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.avis__liste--1 { grid-template-columns: minmax(0, 760px); }
.temoin { margin: 0; height: 100%; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: var(--s6) var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s4); position: relative; }
.temoin::before { content: "«"; position: absolute; right: 24px; top: 4px; font-family: var(--f-titre); font-size: 4.4rem; line-height: 1; color: var(--pierre-2); }
.temoin__etoiles { display: inline-flex; gap: 2px; }
.temoin__etoiles .ico { width: 1.05em; height: 1.05em; }
.temoin blockquote { margin: 0; flex: 1; }
.temoin blockquote p { margin: 0; font-size: 1.06rem; line-height: 1.6; }
.temoin figcaption { font-size: .95rem; color: var(--encre-2); border-top: 1px solid var(--ligne); padding-top: var(--s3); }
.temoin figcaption b { color: var(--encre); margin-right: .3em; }
.avis__plus { margin: var(--s6) 0 0; }
.bg-pierre .temoin { background: var(--fond); }
@media (max-width: 900px) { .avis__liste, .avis__liste--2 { grid-template-columns: 1fr; } .avis__score { justify-items: start; } }

/* ---------- Bande photo pleine largeur ---------- */
.bande-plein { position: relative; display: grid; min-height: clamp(340px, 54vh, 580px); color: #fff; overflow: hidden; isolation: isolate; }
.bande-plein__img { grid-area: 1 / 1; position: relative; }
.bande-plein__img img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.bande-plein__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 30, 40, .18), rgba(22, 30, 40, .46)); }
.bande-plein__txt { grid-area: 1 / 1; z-index: 2; place-self: center; text-align: center; padding: 0 var(--pad); }
.bande-plein .script { font-size: clamp(3rem, 7vw, 5.8rem); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.bande-plein__sous { margin: .4em 0 0; font-family: var(--f-titre); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.4rem); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.credit { position: absolute; right: var(--pad); bottom: 12px; z-index: 3; margin: 0; font-size: .76rem; color: rgba(255, 255, 255, .85); max-width: 60ch; text-align: right; }

/* ---------- Repères : la porte aux treize blasons ---------- */
.reperes { background: var(--nuit); color: #fff; padding: clamp(64px, 8vw, 104px) var(--pad); text-align: center; position: relative; }
.reperes h2 { color: #fff; margin: 0 0 var(--s7); }
.reperes__script { margin-top: var(--s5) !important; }
.reperes .script { color: var(--or); }
.reperes dl { margin: 0 auto; max-width: 1080px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reperes dl > div { padding: 0 var(--s4); }
.reperes dl > div + div { border-left: 1px solid rgba(227, 184, 102, .3); }
.reperes dt { font-family: var(--f-titre); font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1; color: var(--or); font-variant-numeric: lining-nums; white-space: nowrap; }
.reperes dd { margin: var(--s3) auto 0; max-width: 22ch; color: #d9d2c4; line-height: 1.45; font-size: 1.02rem; }
.reperes__bas { margin: var(--s7) auto 0; max-width: 70ch; color: #d9d2c4; font-size: 1rem; }
@media (max-width: 800px) {
  .reperes dl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
  .reperes dl > div:nth-child(3) { border-left: 0; }
}

/* ---------- Composition texte + image ---------- */
.duo { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6); align-items: center; }
.duo__media { grid-column: 1 / 7; position: relative; }
.duo__txt { grid-column: 8 / 13; }
.duo--inv .duo__media { grid-column: 7 / 13; grid-row: 1; }
.duo--inv .duo__txt { grid-column: 1 / 6; grid-row: 1; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .duo > * { grid-column: 1 !important; grid-row: auto !important; } }
.cadre { margin: 0; position: relative; }
.cadre img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.cadre--haut img { aspect-ratio: 4 / 5; }
.cadre--large img { aspect-ratio: 16 / 10; }

.coches { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: var(--s3); }
.coches li { display: grid; grid-template-columns: auto 1fr; gap: .7em; align-items: start; }
.coches li::before { content: ""; width: .8em; height: .95em; margin-top: .3em; background: var(--ocre-2);
  -webkit-mask: var(--ecu) center / 100% 100% no-repeat; mask: var(--ecu) center / 100% 100% no-repeat; }
.bg-nuit .coches li::before { background: var(--or); }

.shead { max-width: var(--wrap); margin: 0 auto var(--s7); padding: 0 var(--pad); text-align: center; }
.shead h2 { margin: 0 0 .35em; }
.shead p { margin: 0 auto; max-width: 58ch; color: var(--encre-2); }

/* ---------- Trajets ---------- */
.trajets { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid currentColor; }
.trajets li { display: flex; justify-content: space-between; gap: var(--s4); align-items: baseline; padding: .65em 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.trajets__temps { display: flex; gap: .6em; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trajets__temps b { font-size: 1.12rem; }
.trajets__temps small { opacity: .72; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .deux-col { grid-template-columns: minmax(0, 1fr); } }
.liens-v { display: grid; gap: var(--s3); justify-items: start; margin-top: var(--s5); }
.carte-gps { margin-top: var(--s4); font-variant-numeric: tabular-nums; color: var(--encre-2); font-size: 1rem; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; grid-auto-flow: dense; }
.galerie__item { grid-column: span 4; overflow: hidden; display: block; border-radius: 16px; }
.galerie__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.galerie__item:hover img { transform: scale(1.04); }
.galerie--grande .galerie__item:nth-child(5n + 1) { grid-column: span 8; grid-row: span 2; }
.galerie--grande .galerie__item:nth-child(5n + 4), .galerie--grande .galerie__item:nth-child(5n + 5) { grid-column: span 6; }
@media (max-width: 700px) {
  .galerie__item, .galerie--grande .galerie__item:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .galerie--grande .galerie__item:nth-child(5n + 1) { grid-column: span 12; }
}
.bande-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.bande-photos a { display: block; overflow: hidden; border-radius: 16px; }
.bande-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.bande-photos a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .bande-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vidéos : chargées seulement au clic */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.video { margin: 0; }
.video__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s; }
.video__btn:hover img { opacity: 1; }
.video__btn span { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 999px; background: rgba(252, 248, 241, .94);
  display: grid; place-items: center; color: var(--azur); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.video__btn span svg { width: 30px; height: 30px; margin-left: 4px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); display: block; }
.video figcaption { margin-top: var(--s3); font-weight: 700; }
.video figcaption small { display: block; font-weight: 400; color: var(--encre-2); font-size: .92rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(18, 22, 30, .95); display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-height: 88vh; width: auto; border-radius: 8px; }
.lb__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: #fff;
  color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.lb__close .ico { width: 1.5em; height: 1.5em; }

/* ---------- FAQ ---------- */
.faq__in { max-width: 920px; margin: 0 auto; padding: 0 var(--pad); }
.faq__in h2 { text-align: center; margin-bottom: var(--s6); }
.faq__liste { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 3rem var(--s5) 0; position: relative; font-weight: 700;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234c86' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--azur); }
.faq__rep { padding: 0 0 var(--s5); max-width: 66ch; color: var(--encre-2); }

/* ---------- Bloc de demande ---------- */
.cta { background: var(--ciel); padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.cta__in { max-width: 860px; margin: 0 auto; padding: 0 var(--pad); }
.cta .frise { width: min(360px, 80%); margin-bottom: var(--s5); }
.cta h2 { margin: 0 0 var(--s4); }
.cta p { max-width: 56ch; margin-left: auto; margin-right: auto; color: var(--encre-2); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin: var(--s5) 0 var(--s4); }
.cta__btns .btn--trait { color: var(--azur); }
.cta__rassure { font-size: .95rem; margin: 0; }

/* ---------- Formulaire ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
.form { background: #fff; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--ligne); border-radius: var(--r); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.form .plein { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.form label, .form legend { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 6px; }
.form label small { font-weight: 400; color: var(--encre-2); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .72em .85em; border: 1px solid #c9bba1; border-radius: 12px; background: #fff; color: var(--encre); }
.form textarea { min-height: 130px; resize: vertical; }
.form ::placeholder { color: #776c60; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--azur); box-shadow: 0 0 0 3px var(--azur-pale); }
.choix { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choix label { margin: 0; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix span { display: inline-block; padding: .55em 1.05em; border: 1px solid #c9bba1; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 700; transition: background-color .2s; }
.choix input:checked + span { background: var(--azur); border-color: var(--azur); color: #fff; }
.choix input:focus-visible + span { outline: 2px solid var(--azur); outline-offset: 2px; }
.case { display: flex !important; gap: .6em; align-items: flex-start; font-weight: 400 !important; }
.case input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--azur); flex: none; }
.pot { position: absolute; left: -9999px; }
.form__msg { margin: 0; padding: var(--s4); font-weight: 700; border-radius: 12px; }
.form__msg:empty { display: none; }
.form__msg--ok { background: var(--azur-pale); border: 1px solid var(--azur); }
.form__msg--err { background: #f7e6dc; border: 1px solid var(--tuile); }
.coord { background: var(--nuit); color: #fff; padding: var(--s6); border-radius: var(--r); display: grid; gap: var(--s5); }
.coord h2 { color: #fff; font-size: 1.6rem; margin-bottom: .2em; }
.coord a { color: #fff; }
.coord .lien { color: #fff; text-decoration-color: var(--or); }
.grand-tel { font-family: var(--f-titre); font-size: clamp(2rem, 3vw, 2.4rem); line-height: 1; text-decoration: none; display: inline-flex; gap: .3em; align-items: center; }

/* ---------- Pages légales ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-top: 1.3em; }
.prose li { margin-bottom: .4em; }
.plan { columns: 2 280px; column-gap: var(--s7); }
.plan li { break-inside: avoid; margin-bottom: .5em; }

/* ---------- Maillage « À voir aussi » ---------- */
.voir { padding: var(--s7) 0; border-top: 1px solid var(--ligne); }
.voir__h { font-family: var(--f-script); font-size: 2.5rem; color: var(--ocre); line-height: 1; margin: 0 0 var(--s4); }
.voir ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 var(--s6); border-top: 1px solid var(--ligne); }
.voir li { border-bottom: 1px solid var(--ligne); }
.voir a { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) 0; text-decoration: none; font-weight: 700; }
.voir a .ico { color: var(--azur); transition: transform .3s var(--ease); }
.voir a:hover .ico { transform: translateX(5px); }

/* ---------- Pied de page ---------- */
.foot { background: var(--pierre); color: var(--encre); padding: clamp(56px, 7vw, 88px) 0 var(--s6); }
.foot > .frise { margin: 0 auto var(--s7); width: min(420px, 80%); }
.foot__grid { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.foot__logo { display: inline-block; color: var(--encre); margin-bottom: var(--s4); }
.foot__logo .logo__svg { width: 240px; }
.foot__h { font-family: var(--f-titre); font-size: 1.35rem; color: var(--encre); margin-bottom: var(--s3); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.7; margin-bottom: var(--s4); }
.foot__bas { max-width: 1240px; margin: var(--s7) auto 0; padding: var(--s5) var(--pad) 0; border-top: 1px solid var(--ligne);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); font-size: .92rem; color: var(--encre-2); }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

.mbar, .rappel { display: none; }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-vu { opacity: 1; transform: none; }
.plaque { animation: pose .9s .1s var(--ease) both; }
@keyframes pose { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plaque { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Mobile (même logique qu'Autocars Côte Basque, Boast et Magnan) : hauts de page compacts,
   en-tête qui s'efface en descendant et revient en remontant, barre d'action du bas,
   pas de bouton en double avec la barre.
   ========================================================================== */
@media (max-width: 900px) {
  .head { background: var(--fond); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
  .head.is-cache { transform: translateY(-100%); }
  body.menu-open .head { transform: none !important; }

  .hero__img { height: 250px; }
  .hero__credit { display: none; }
  .plaque { margin-top: -56px; width: calc(100% - 24px); padding: 54px 20px 28px; border-radius: 24px; }
  .plaque::before { inset: 8px; border-radius: 18px; }
  .plaque__ecu { width: 60px; height: 70px; margin-left: -30px; top: -36px; }
  .h1__nom { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .h1__metier { font-size: 1.14rem; }
  .plaque .lead { font-size: 1.04rem; margin-bottom: var(--s4); }
  .hero__btns .btn:not(:first-child) { display: none; }
  .hero__note { margin-top: var(--s4); font-size: .92rem; }

  .phero { grid-template-columns: 1fr; }
  .phero__img { order: -1; min-height: 0; height: 230px; margin: 12px 12px 0; }
  .phero__txt { padding: 26px var(--pad) 30px; }
  .phero__txt h1 { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .phero .lead { font-size: 1.04rem; line-height: 1.55; margin-bottom: 0; }
  .phero__btns { margin-top: var(--s4); }
  .phero__btns .btn:not(:first-child) { display: none; }
  .phero .hero__note { display: none; }

  .rappel { display: grid; justify-items: center; gap: 10px; margin: var(--s6) var(--pad); padding: 22px 20px; text-align: center;
    background: var(--pierre); border-radius: 20px; }
  .rappel__t { font-family: var(--f-script); font-size: 2.2rem; line-height: 1; color: var(--ocre); margin: 0; }
  .rappel .btn { width: 100%; max-width: 320px; color: var(--azur); }
  .rappel__tel { font-size: .95rem; color: var(--encre-2); }

  .mbar { display: grid; grid-template-columns: 1fr 1.45fr; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 6px; gap: 6px; border-radius: 999px; background: rgba(252, 248, 241, .93);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 30px -8px rgba(22, 38, 63, .4), 0 0 0 1px rgba(22, 38, 63, .08);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; border-radius: 999px; font-weight: 700;
    font-size: .98rem; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .2s ease; }
  .mbar a:active { transform: scale(.96); }
  .mbar__tel { color: var(--nuit); background: var(--pierre); }
  .mbar__cta { background: var(--azur); color: #fff; box-shadow: 0 6px 16px -6px rgba(35, 76, 134, .7); }
  html.js .mbar:not(.is-visible) { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); opacity: 0; pointer-events: none; }
  body.menu-open .mbar { display: none; }
  .foot { padding-bottom: calc(var(--s6) + 76px + env(safe-area-inset-bottom)); }
  .bande-plein__img img { inset: 0; height: 100%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .mbar, .head { transition: opacity .2s ease; } }
@media (max-width: 600px) {
  h2, .h-sec { font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .script { font-size: 2.3rem; }
  .section { padding: 56px 0; }
  .titre-c { margin-bottom: var(--s6); }
  .temoin { padding: var(--s5); }
  .reperes dt { font-size: 2.5rem; }
}
@media (max-width: 359px) {
  .plaque { padding-left: 14px; padding-right: 14px; }
  .h1__nom { font-size: 2.3rem; }
}

/* ---------- 30/11/2026 : carrousel des avis sur mobile (retour de Pascal, comme la Ferme de Fouville) ---------- */
.avis__liste > li.avis--mobile-seul { display: none; }
.avis__points { display: none; }
@media (max-width: 900px) {
  .avis-zone .avis__liste, .avis-zone .avis__liste--1, .avis-zone .avis__liste--2, .avis-zone .avis__liste--4 {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad, 20px);
    margin-inline: calc(var(--pad, 20px) * -1); padding: 6px var(--pad, 20px) 22px; scrollbar-width: none;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; max-width: none; align-items: stretch; }
  .avis-zone .avis__liste::-webkit-scrollbar { display: none; }
  .avis-zone .avis__liste > li, .avis-zone .avis__liste > li:nth-child(n) { flex: 0 0 84%; max-width: 420px; scroll-snap-align: start;
    display: flex; margin-top: 0; }
  .avis-zone .avis__liste > li:only-child { flex-basis: 100%; }
  .avis-zone .avis__liste .temoin { width: 100%; }
  .avis-zone .avis__liste .temoin blockquote p { font-size: 1rem; line-height: 1.55; }
  .avis__points { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
  .avis__points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(40, 36, 32, .2);
    transition: width .3s ease, background-color .3s ease; cursor: pointer; }
  .avis__points button[aria-current="true"] { width: 22px; background: var(--point-actif, #a0522d); }
}
