/* ==========================================================================
   Le Prieuré Saint-Pierre de Signan (Caissargues, Gard) : aperçu du 28/11/2026
   sur le modèle des domaines de réception Polink (Château de Boast, Cabane de Magnan) :
   accroches manuscrites, cartes par public, bloc histoire, avis, bande photo,
   repères sur fond sombre, FAQ, demande de date, barre d'action mobile.
   Identité propre : la pierre blonde de la salle voûtée et les volets bleus patinés
   de la façade. Palette : chaux, pierre blonde, bleu des volets à l'ombre (seul accent
   d'action), patine des volets (persiennes), lavande du logo (accroches), nuit bleue
   (fond sombre). Polices : Forum (titres, capitales romaines évasées proches du logo),
   Merriweather Sans (texte), Imperial Script (accroches).
   Signature : « les volets » : chaque photo-clé s'ouvre comme une fenêtre du prieuré,
   entre deux volets à persiennes entrouverts ; linteau de persiennes en tête des
   blocs de demande et du pied de page ; lettrine sur l'histoire.
   ========================================================================== */

@font-face { font-family: "Forum"; src: url("/fonts/forum.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather Sans"; src: url("/fonts/merriweather-sans.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather Sans"; src: url("/fonts/merriweather-sans-italique.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Imperial Script"; src: url("/fonts/imperial-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Forum Repli"; src: local("Georgia"), local("DejaVu Serif"); size-adjust: 92%; ascent-override: 98%; descent-override: 26%; }

:root {
  --encre: #2a2620;
  --encre-2: #5e574c;
  --fond: #fbf8f2;            /* chaux */
  --pierre: #f2e9da;          /* pierre blonde de la voûte */
  --pierre-2: #e9ddc8;
  --ligne: #e2d6c1;
  --bleu: #2f5d6a;            /* bleu des volets à l'ombre : seul accent d'action, 7,2:1 sur blanc */
  --bleu-2: #224a55;
  --volet: #88a9b3;           /* patine des volets */
  --volet-clair: #a9c3ca;
  --volet-sombre: #5f8692;
  --bleu-pale: #e6eeee;
  --lavande: #6b5a8c;         /* lavande du logo : accroches */
  --lavande-claire: #cfc3e3;
  --nuit: #1d3239;            /* fond sombre, menu mobile */
  --nuit-2: #27424a;

  --f-titre: "Forum", "Forum Repli", Georgia, serif;
  --f-texte: "Merriweather Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-script: "Imperial Script", "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;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 84px;
  --r: 14px;
  /* persienne : lames horizontales du volet, dessinées en CSS */
  --lames: repeating-linear-gradient(180deg, #93b2bb 0 5px, #6f95a0 5px 6px, #b4ccd2 6px 7px, #93b2bb 7px 8px);
  --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 10c46-5 98-7 152-5 52 2 96 4 142-1' fill='none' stroke='%2388a9b3' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M40 14c58-3 130-4 220-2' fill='none' stroke='%2388a9b3' stroke-width='1.4' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%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.02rem;
  line-height: 1.72; font-weight: 340; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--bleu-pale); color: var(--bleu-2); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { text-decoration-color: var(--volet-sombre); }
:focus-visible { outline: 2px solid var(--bleu); 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: .004em; margin: 0 0 .45em;
  text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(2.5rem, 3.9vw, 3.6rem); line-height: 1.04; }
h2, .h-sec { font-size: clamp(2.15rem, 3.5vw, 3.15rem); }
h3 { font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.12; }
sup { font-size: .55em; line-height: 0; vertical-align: .75em; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.16rem); line-height: 1.66; max-width: 46ch; }
.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: .84rem; color: var(--encre-2); margin-top: var(--s3); }
strong, b { font-weight: 640; }
.centre { text-align: center; }

/* Accroche manuscrite + mot souligné à la main */
.script { display: block; font-family: var(--f-script); font-size: clamp(2.1rem, 3.3vw, 2.8rem); line-height: 1; color: var(--lavande);
  letter-spacing: 0; margin: 0 0 .12em; font-weight: 400; text-transform: none; }
.script--clair { color: var(--lavande-claire); }
.trait { color: var(--bleu); padding-bottom: .1em; 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: #c98f2a; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--nuit); color: #fff; padding: 10px 16px; z-index: 100; }
.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: 500 .86rem/1.4 var(--f-texte); padding: .25em .6em; text-transform: none; letter-spacing: 0; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 640 .93rem/1.1 var(--f-texte);
  letter-spacing: .01em; padding: 1em 1.5em; 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 var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { font-size: .98rem; padding: 1.05em 1.7em; }
.btn--bleu { background: var(--bleu); color: #fff; box-shadow: 0 8px 18px -10px rgba(34, 74, 85, .8); }
.btn--bleu:hover { background: var(--bleu-2); }
.btn--trait { border-color: currentColor; color: inherit; background: transparent; }
.btn--trait:hover { background: rgba(47, 93, 106, .07); }
.btn--clair { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

.lien { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-decoration-color: var(--volet); color: var(--bleu); }
.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: .92rem; line-height: 1.3; }
.note__etoiles { display: inline-flex; gap: 1px; }
.note__etoiles .ico { width: 1em; height: 1em; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 242, .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; flex: none; }
.logo img { width: 176px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.7vw, 28px); }
.nav ul a { text-decoration: none; font-weight: 560; font-size: .9rem; padding: 8px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--volet); }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: var(--s4); }
.head__tel { display: inline-flex; align-items: center; gap: .45em; font-weight: 640; font-size: .9rem; text-decoration: none; color: var(--bleu); white-space: nowrap; }
.head__cta { padding: .85em 1.3em; font-size: .88rem; }
.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: 1280px) { .head__tel span { display: none; } }

@media (max-width: 1180px) {
  :root { --head-h: 68px; }
  .burger { display: block; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; }
  .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.6vw, 2.1rem); letter-spacing: .01em;
    padding: 9px 0; border: 0; }
  .nav ul a[aria-current="page"] { color: var(--volet-clair); }
  .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--bleu { background: var(--volet-clair); 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 img { width: 146px; }
}
@media (max-width: 359px) { .logo img { width: 128px; } .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(29, 50, 57, 0), var(--nuit) 62%); color: #fff; font: 600 .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: .84rem; }
.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; }
.section--serre { padding: clamp(40px, 6vw, 72px) 0; }
.bg-pierre { background: var(--pierre); background-image: var(--grain); }
.bg-bleu { background: var(--bleu-pale); }

/* ==========================================================================
   Signature : la fenêtre et ses volets à persiennes
   Chaque volet est un trapèze (volet entrouvert vu de face), lames horizontales,
   montants plus sombres ; il dépasse un peu en haut et en bas de la baie.
   ========================================================================== */
.fenetre { --v: clamp(26px, 9%, 64px); --deb-px: 14px; position: relative; margin: 0; display: grid;
  grid-template-columns: var(--v) minmax(0, 1fr) var(--v); align-items: stretch; }
.fenetre__vue { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--pierre-2); margin: var(--deb-px) 0;
  box-shadow: 0 22px 40px -28px rgba(42, 38, 32, .55); }
.fenetre__vue::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(42, 38, 32, .1); border-radius: inherit; pointer-events: none; }
.fenetre__vue img { width: 100%; height: 100%; object-fit: cover; }
.hero .fenetre__vue img, .phero .fenetre__vue img { position: absolute; inset: 0; }
.volet { --deb: var(--deb-px); position: relative; display: block; background: var(--lames); }
.volet::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(36, 70, 80, .55) 0 3px, transparent 3px calc(100% - 3px), rgba(36, 70, 80, .55) calc(100% - 3px)),
    linear-gradient(180deg, rgba(36, 70, 80, .5) 0 5px, transparent 5px calc(50% - 2px), rgba(36, 70, 80, .42) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px) calc(100% - 5px), rgba(36, 70, 80, .5) calc(100% - 5px)),
    var(--grain); }
.volet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .1)); }
.volet--g { clip-path: polygon(0 0, 100% var(--deb), 100% calc(100% - var(--deb)), 0 100%); margin-right: 3px; }
.volet--d { clip-path: polygon(0 var(--deb), 100% 0, 100% 100%, 0 calc(100% - var(--deb))); margin-left: 3px; }
.volet--d::after { background: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(255, 255, 255, .16)); }

/* ---------- Héros de l'accueil : la pierre à gauche, la fenêtre ouverte sur la salle voûtée à droite ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); align-items: stretch;
  min-height: min(calc(100svh - var(--head-h)), 760px); background: var(--pierre); background-image: var(--grain); overflow: hidden; }
.hero__txt { align-self: center; padding: clamp(36px, 5vh, 64px) clamp(24px, 3.4vw, 56px) clamp(36px, 5vh, 64px) max(var(--pad), calc((100vw - 1400px) / 2 + var(--pad)));
  max-width: 640px; justify-self: end; width: 100%; }
.hero__txt h1 { margin-bottom: .38em; }
.hero__txt .lead { margin-bottom: var(--s6); }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.hero__note { margin: var(--s5) 0 0; font-size: .9rem; color: var(--encre-2); display: flex; flex-wrap: wrap; gap: .4em 1em; align-items: center; }
.hero__note .sep { color: var(--volet-sombre); }
.hero__vue { position: relative; display: grid; padding: clamp(22px, 4vh, 40px) clamp(10px, 2vw, 32px) clamp(22px, 4vh, 40px) 0; }
.hero__vue .fenetre { --deb-px: clamp(10px, 2vh, 18px); --v: clamp(40px, 7.5%, 70px); height: 100%; }
.hero__vue .fenetre__vue { min-height: 0; }
.legende { margin: 0; font-size: .78rem; color: var(--encre-2); }
.hero__vue .legende { position: absolute; right: calc(clamp(10px, 2vw, 32px) + clamp(40px, 7.5%, 70px) + 2px); bottom: clamp(4px, 1vh, 12px); }
.hero__txt > * { animation: monte .9s var(--ease) both; }
.hero__txt > :nth-child(2) { animation-delay: .08s; }
.hero__txt > :nth-child(3) { animation-delay: .16s; }
.hero__txt > :nth-child(4) { animation-delay: .24s; }
.hero__txt > :nth-child(5) { animation-delay: .32s; }
@keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* le moment signature : les volets s'ouvrent au chargement */
.hero .volet--g { transform-origin: 100% 50%; animation: ouvre-g 1.3s .25s var(--ease) both; }
.hero .volet--d { transform-origin: 0 50%; animation: ouvre-d 1.3s .25s var(--ease) both; }
@keyframes ouvre-g { from { transform: scaleX(2.6); } to { transform: none; } }
@keyframes ouvre-d { from { transform: scaleX(2.6); } to { transform: none; } }
.hero .fenetre__vue img { animation: pose 12s ease-out both; }
@keyframes pose { from { transform: scale(1.05); } to { transform: scale(1); } }

/* ---------- Héros des pages intérieures ---------- */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--pierre); background-image: var(--grain); }
.phero__txt { align-self: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 3.4vw, 56px) clamp(40px, 5vw, 72px) max(var(--pad), calc((100vw - 1400px) / 2 + var(--pad)));
  max-width: 680px; justify-self: end; width: 100%; }
.phero__txt h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.phero__txt .lead { max-width: 50ch; }
.phero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.phero__vue { position: relative; padding: 32px clamp(10px, 2vw, 32px) 32px 0; display: grid; }
.phero__vue .fenetre { --deb-px: 12px; --v: clamp(34px, 7%, 60px); height: clamp(380px, 52vh, 520px); }
.phero__vue .legende { margin-top: 6px; text-align: right; padding-right: clamp(36px, 7%, 62px); }
.phero--sans-img { display: block; border-bottom: 1px solid var(--ligne); }
.phero--sans-img .phero__txt { max-width: 1400px; justify-self: auto; margin: 0 auto; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); padding-left: var(--pad); }
.phero .hero__note { margin-top: var(--s5); }

/* 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: 600; font-size: .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
.ssmenu a:hover { border-bottom-color: var(--volet); }

/* ---------- Cartes par public : trois fenêtres ---------- */
.evts { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px);
  max-width: 1180px; text-align: center; }
.evt { --c: var(--bleu); display: flex; flex-direction: column; align-items: center; }
.evt--lavande { --c: #5c4b7d; }
.evt--nuit { --c: var(--nuit-2); }
.evt__vue { display: block; width: 100%; max-width: 380px; text-decoration: none; }
.fenetre--carte { --v: 26px; --deb-px: 9px; }
.fenetre--carte .fenetre__vue img { aspect-ratio: 4 / 5; }
.evt__vue .fenetre__vue img { transition: transform .8s var(--ease); }
.evt__vue:hover .fenetre__vue img { transform: scale(1.04); }
.evt__vue .volet { transition: transform .6s var(--ease); }
.evt__vue:hover .volet--g { transform: translateX(-4px); }
.evt__vue:hover .volet--d { transform: translateX(4px); }
.evt h3 { color: var(--c); margin: var(--s5) 0 var(--s3); font-size: clamp(1.7rem, 2.2vw, 2rem); }
.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: 2rem; color: var(--lavande); margin-right: var(--s2); line-height: 1; }
.et-aussi a { font-size: .9rem; font-weight: 560; text-decoration: none; padding: .5em 1em; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; }
.et-aussi a:hover { border-color: var(--volet); }
@media (max-width: 900px) { .evts { grid-template-columns: minmax(0, 1fr); max-width: 400px; } }
@media (min-width: 600px) and (max-width: 900px) {
  .evts { max-width: 720px; gap: 56px; }
  .evt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 40px; align-items: center; text-align: left; }
  .evt__vue { grid-column: 1; grid-row: 1 / -1; }
  .evt h3 { grid-column: 2; grid-row: 2; margin: 0 0 var(--s3); }
  .evt p { grid-column: 2; grid-row: 3; margin: 0 0 var(--s4); align-self: start; }
  .evt .btn { grid-column: 2; grid-row: 4; justify-self: start; align-self: start; margin-top: 0; }
}

/* ---------- Le jour J : quatre moments, photos décalées ---------- */
.moments { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px); }
.moment:nth-child(even) { margin-top: clamp(28px, 4vw, 64px); }
.moment__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.moment:hover .moment__img img { transform: scale(1.04); }
.moment h3 { margin: var(--s4) 0 var(--s2); font-size: 1.55rem; }
.moment p { margin: 0; color: var(--encre-2); font-size: .98rem; max-width: 32ch; }
.jour__cta { text-align: center; margin: var(--s7) 0 0; }
@media (max-width: 900px) { .moments { grid-template-columns: 1fr 1fr; row-gap: var(--s6); } }
@media (max-width: 520px) { .moments { grid-template-columns: minmax(0, 1fr); max-width: 420px; } .moment:nth-child(even) { margin-top: 0; } .moment__img { aspect-ratio: 4 / 3; } }

/* ---------- Bloc histoire ---------- */
.histoire { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.histoire__vue .fenetre { --v: clamp(30px, 10%, 54px); --deb-px: 14px; }
.histoire__vue .fenetre__vue img { aspect-ratio: 3 / 4; }
.histoire__vue .legende { text-align: center; margin-top: 8px; }
.histoire__txt { max-width: 600px; }
.lettrine::first-letter { font-family: var(--f-titre); float: left; font-size: 4.4em; line-height: .82; margin: .06em .1em 0 0; color: var(--bleu); }
.histoire__txt ul, .atouts { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: var(--s3); }
.histoire__txt li, .atouts li { padding-left: 1.6em; position: relative; }
.histoire__txt li::before, .atouts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .85em; height: .55em;
  background: repeating-linear-gradient(180deg, var(--volet) 0 2px, transparent 2px 4px); border-radius: 1px; }
@media (max-width: 900px) {
  .histoire { grid-template-columns: minmax(0, 1fr); }
  .histoire__vue { max-width: 420px; width: 100%; margin: 0 auto; }
}

.atouts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; gap: var(--s4) var(--s6); }
@media (max-width: 700px) { .atouts--3 { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }

/* 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: 640; color: var(--bleu); }
.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.35rem; margin-top: var(--s4); }

/* ---------- 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: .4em; color: var(--encre-2); }
.avis__etoiles .ico { width: 1.25em; height: 1.25em; }
.avis__nb { font-size: .9rem; 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: 960px; }
.avis__liste--1 { grid-template-columns: minmax(0, 720px); }
.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: 8px; font-family: var(--f-titre); font-size: 4.2rem; line-height: 1; color: var(--bleu-pale); }
.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: .98rem; line-height: 1.66; }
.temoin figcaption { font-size: .88rem; 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: minmax(0, 1fr); }
  .avis__score { justify-items: start; }
}

/* ---------- Bande photo pleine largeur ---------- */
.bande-plein { position: relative; display: grid; min-height: clamp(320px, 52vh, 560px); 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(20, 32, 36, .22), rgba(20, 32, 36, .5)); }
.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(2.8rem, 6.2vw, 5.4rem); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.bande-plein__sous { margin: .5em 0 0; font-family: var(--f-titre); font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: .04em; 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: .74rem; color: rgba(255, 255, 255, .85); max-width: 60ch; text-align: right; }

/* ---------- Repères : sur le bleu des volets à l'ombre, sous un linteau de persiennes ---------- */
.reperes { position: relative; background: var(--nuit); color: #fff; padding: clamp(64px, 8vw, 104px) var(--pad) clamp(56px, 7vw, 96px); }
.reperes::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--lames); opacity: .9; }
.reperes__in { max-width: 1180px; margin: 0 auto; }
.reperes__tete { text-align: center; margin-bottom: var(--s7); }
.reperes h2 { color: #fff; margin: 0; }
.reperes dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reperes dl > div { padding: 0 var(--s5); text-align: center; }
.reperes dl > div + div { border-left: 1px solid rgba(169, 195, 202, .3); }
.reperes dt { font-family: var(--f-titre); font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1; color: var(--volet-clair); font-variant-numeric: lining-nums; }
.reperes dd { margin: var(--s3) auto 0; max-width: 22ch; color: rgba(255, 255, 255, .86); line-height: 1.5; font-size: .95rem; }
@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; }
  .reperes dl > div { padding: 0 var(--s3); }
}

/* ---------- 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; }
}
.photo { margin: 0; position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.photo--haut img { aspect-ratio: 4 / 5; }
.photo--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: .65em; align-items: start; }
.coches .ico { margin-top: .3em; color: var(--bleu); }
.coches--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s6); }
@media (max-width: 700px) { .coches--2 { grid-template-columns: minmax(0, 1fr); } }
.pastilles { list-style: none; padding: 0; margin: var(--s4) 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.pastilles li { padding: .4em .9em; border-radius: 999px; background: var(--bleu-pale); color: var(--encre); font-size: .9rem; font-weight: 560; }

/* Traiteurs partenaires */
.traiteurs { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.traiteurs li { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: var(--s5); display: grid; gap: 4px; }
.traiteurs strong { font-family: var(--f-titre); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--bleu); }
.traiteurs span { color: var(--encre-2); font-size: .95rem; line-height: 1.5; }
.bg-pierre .traiteurs li { background: var(--fond); }
@media (max-width: 560px) { .traiteurs { grid-template-columns: minmax(0, 1fr); } }

/* Encadré « compris » */
.compris { background: var(--fond); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--ligne); position: relative; overflow: hidden; }
.compris::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--lames); }
.compris h2, .compris h3 { margin-top: var(--s3); }

/* Tête de section */
.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: .62em 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-weight: 640; font-size: 1.08rem; }
.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); }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; grid-auto-flow: dense; }
.galerie__item { grid-column: span 4; overflow: hidden; display: block; border-radius: 8px; }
.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: 8px; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.bande-photos a { display: block; overflow: hidden; border-radius: 8px; }
.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)); } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(18, 30, 34, .95); display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-height: 88vh; width: auto; }
.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: 600;
  font-size: clamp(1.02rem, 1.35vw, 1.12rem); line-height: 1.4; }
.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='%232f5d6a' 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(--bleu); }
.faq__rep { padding: 0 0 var(--s5); max-width: 66ch; color: var(--encre-2); }

/* ---------- Bandeau de demande ---------- */
.cta { position: relative; background: var(--bleu-pale); padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.cta__linteau, .foot__linteau { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--lames); }
.cta__in { max-width: 860px; margin: 0 auto; padding: 0 var(--pad); }
.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(--bleu); }
.cta__rassure { font-size: .9rem; 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: 600; font-size: .93rem; margin-bottom: 6px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.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 #c3b8a4; border-radius: 8px; background: #fff; color: var(--encre); }
.form textarea { min-height: 130px; resize: vertical; }
.form ::placeholder { color: #77706a; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px var(--bleu-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 1em; border: 1px solid #c3b8a4; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 560; transition: background-color .2s; }
.choix input:checked + span { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.choix input:focus-visible + span { outline: 2px solid var(--bleu); 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(--bleu); flex: none; }
.pot { position: absolute; left: -9999px; }
.form__msg { margin: 0; padding: var(--s4); font-weight: 560; border-radius: 8px; }
.form__msg:empty { display: none; }
.form__msg--ok { background: var(--bleu-pale); border: 1px solid var(--bleu); }
.form__msg--err { background: #fbecea; border: 1px solid #a3433a; }
.coord { background: var(--nuit); color: #fff; padding: var(--s6); border-radius: var(--r); display: grid; gap: var(--s5); position: relative; overflow: hidden; }
.coord::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--lames); }
.coord h2 { color: #fff; font-size: 1.6rem; margin: var(--s2) 0 .2em; }
.coord a { color: #fff; }
.coord .lien { color: var(--volet-clair); text-decoration-color: var(--volet); }
.grand-tel { font-family: var(--f-titre); font-size: clamp(2rem, 3vw, 2.4rem); line-height: 1; text-decoration: none; letter-spacing: .02em; display: inline-flex; gap: .3em; align-items: center; }

/* ---------- Pages légales ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); 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.3rem; color: var(--lavande); 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: 560; }
.voir a .ico { color: var(--bleu); transition: transform .3s var(--ease); }
.voir a:hover .ico { transform: translateX(5px); }

/* ---------- Pied de page ---------- */
.foot { position: relative; background: var(--pierre); background-image: var(--grain); color: var(--encre); padding: clamp(64px, 7vw, 96px) 0 var(--s6); }
.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; margin-bottom: var(--s4); }
.foot__logo img { width: 210px; }
.foot__brand p { max-width: 40ch; }
.foot__h { font-family: var(--f-texte); font-size: .82rem; letter-spacing: .02em; font-weight: 700; color: var(--bleu); margin-bottom: var(--s4); }
.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); overflow-wrap: anywhere; }
.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: .86rem; 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: minmax(0, 1fr); } }

/* ---------- Barre mobile ---------- */
.mbar, .rappel { display: none; }

/* ---------- Apparition au défilement (seulement si JS actif) ---------- */
.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; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__txt > *, .hero .volet, .hero .fenetre__vue img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Mobile (même logique qu'Autocars Côte Basque et Boast) : hauts de page compacts,
   texte d'abord sur la pierre, photo ensuite (300 px au plus), en-tête et barre
   d'action qui s'effacent en descendant et reviennent en remontant.
   ========================================================================== */
@media (max-width: 900px) {
  .head { background: var(--fond); transition: transform .5s cubic-bezier(.22, 1, .36, 1), background-color .3s; }
  .head.is-cache { transform: translateY(-100%); }
  body.menu-open .head { transform: none !important; }

  .hero, .phero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__txt, .phero__txt { padding: 26px var(--pad) 8px; max-width: none; justify-self: stretch; }
  .hero__txt .script, .phero__txt .script { font-size: 1.9rem; }
  .hero__txt .lead, .phero .lead { font-size: 1rem; line-height: 1.6; margin-bottom: 0; }
  .hero__btns, .phero__btns { margin-top: var(--s4); }
  .hero__btns .btn:not(:first-child), .phero__btns .btn:not(:first-child) { display: none; }
  .hero__note { margin-top: var(--s4); font-size: .86rem; }
  .phero .hero__note { display: none; }
  .hero__vue, .phero__vue { padding: 14px var(--pad) 22px; }
  .hero__vue .fenetre, .phero__vue .fenetre { --v: 30px; --deb-px: 8px; height: min(62vw, 300px); }
  .hero__vue .legende { position: static; text-align: right; margin-top: 4px; padding-right: 32px; font-size: .74rem; }
  .phero__vue .legende { padding-right: 32px; font-size: .74rem; }
  .phero--sans-img .phero__txt { padding: 28px var(--pad) 28px; }
  .credit { display: none; }

  .rappel { display: grid; justify-items: center; gap: 10px; margin: var(--s6) var(--pad); padding: 22px 20px; text-align: center;
    background: var(--bleu-pale); border-radius: 16px; }
  .rappel__t { font-family: var(--f-script); font-size: 2rem; line-height: 1; color: var(--lavande); margin: 0; }
  .rappel .btn { width: 100%; max-width: 320px; color: var(--bleu); }
  .rappel__tel { font-size: .9rem; 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(251, 248, 242, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 30px -8px rgba(29, 50, 57, .4), 0 0 0 1px rgba(29, 50, 57, .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: 640;
    font-size: .95rem; 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(--bleu-pale); }
  .mbar__cta { background: var(--bleu); color: #fff; box-shadow: 0 6px 16px -6px rgba(34, 74, 85, .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: 700px) {
  .ssmenu ul { flex-wrap: nowrap; overflow-x: auto; gap: 0 22px; scrollbar-width: none; }
  .ssmenu ul::-webkit-scrollbar { display: none; }
  .ssmenu a { white-space: nowrap; }
}
@media (max-width: 360px) { .hero__txt .script, .phero__txt .script { font-size: 1.65rem; } }
@media (max-width: 600px) {
  h1 { font-size: clamp(2.15rem, 9.6vw, 2.7rem); }
  .phero__txt h1 { font-size: clamp(2.05rem, 9vw, 2.5rem); }
  h2, .h-sec { font-size: clamp(1.95rem, 8.2vw, 2.4rem); }
  .script { font-size: 2rem; }
  .section { padding: 56px 0; }
  .titre-c { margin-bottom: var(--s6); }
  .temoin { padding: var(--s5); }
  .reperes dt { font-size: 2.5rem; }
}

/* ---------- 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); }
}
