/* ==========================================================================
   Manade A. Espelly, Mas San Miguel (Saint-Gilles, 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 au-dessus des titres, cartes par public, bloc histoire, avis,
   bande photo, chiffres sur fond sombre, FAQ, demande de date, mobile façon Autocars.
   Identité propre :
   - premier écran « en bandeau » : titre sur fond uni, photo panoramique de la cour du mas dessous,
     puis la bande des saisons de location (pas d'encart de date sur la photo) ;
   - palette tirée du mas et de la manade : chaux du mas, ocre pâle de ses murs jaunes, céladon de
     ses piliers, et la devise de la manade, azur (seul accent d'action), sang et or ;
     robe noire du taureau pour les fonds sombres ;
   - polices Eczar (titres, sérif à empattements taillés, chaude et franche), Rosario (texte,
     humaniste), Herr Von Muellerhoff (petites accroches manuscrites) ;
   - signature : la devise (ruban azur, sang et or) et le fer de la manade (E dans un ovale
     surmonté d'une croix) posé en cachet, les mots du lexique de la bouvine.
   ========================================================================== */

@font-face { font-family: "Eczar"; src: url("/fonts/eczar.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Rosario"; src: url("/fonts/rosario.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Rosario"; src: url("/fonts/rosario-italique.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Herr Von Muellerhoff"; src: url("/fonts/herr-von-muellerhoff.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Repli calé sur Georgia pour limiter le décalage au chargement */
@font-face { font-family: "Eczar Repli"; src: local("Georgia"), local("DejaVu Serif"); size-adjust: 96%; ascent-override: 98%; descent-override: 30%; }

:root {
  --encre: #262019;
  --encre-2: #5c5348;
  --fond: #fcf9f1;            /* chaux du mas */
  --ocre-pale: #f7ecd0;       /* murs jaunes du mas, pâlis */
  --pierre: #f2ede3;          /* bancs de pierre du parc */
  --celadon-pale: #e7eee5;    /* piliers et volets céladon */
  --celadon: #6f8f78;
  --ligne: #e4d9c3;
  --azur: #1d4a8a;            /* devise : azur, seul accent d'action, 8,6:1 sur la chaux */
  --azur-fonce: #153a6e;
  --azur-pale: #e3e9f3;
  --sang: #a3262b;            /* devise : sang (accroches) */
  --or: #e4b23b;              /* devise : or */
  --or-clair: #f3cb69;        /* or sur fond sombre */
  --taureau: #1e1915;         /* robe noire du taureau */
  --taureau-2: #2c241e;
  --creme: #f7f1e4;

  --f-titre: "Eczar", "Eczar Repli", Georgia, serif;
  --f-texte: "Rosario", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-script: "Herr Von Muellerhoff", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --pad: clamp(16px, 4.5vw, 64px);
  --r: 22px;
  --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;
  --ombre: 0 18px 44px -22px rgba(46, 32, 14, .38);
  --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='%23e4b23b' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M34 14c58-3 136-4 226-2' fill='none' stroke='%23a3262b' stroke-width='1.4' stroke-linecap='round' opacity='.7'/%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.09rem;
  line-height: 1.66; font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums; }
::selection { background: var(--or-clair); color: var(--taureau); }
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; border-radius: 4px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 560; line-height: 1.06; letter-spacing: -.012em; margin: 0 0 .45em;
  text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(2.6rem, 4.5vw, 4.1rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; }
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.12; }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.24rem); line-height: 1.58; 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: 650; }
.centre { text-align: center; }

/* Accroche manuscrite + mot souligné à la main */
.script { display: block; font-family: var(--f-script); font-size: clamp(2.5rem, 3.7vw, 3.3rem); line-height: .9; color: var(--sang);
  letter-spacing: 0; word-spacing: .12em; margin: 0 0 .12em; font-weight: 400; text-transform: none; }
.script--clair { color: var(--or-clair); }
.trait { white-space: nowrap; background: var(--trait) no-repeat 50% 1.12em / 100% .3em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1:has(.trait), h2:has(.trait) { line-height: 1.1; }
.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: #d99a22; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--azur); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 999px; }
.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 .88rem/1.4 var(--f-texte); padding: .25em .6em; border-radius: 6px; }

/* ---------- La devise : ruban azur, sang et or ---------- */
.devise { display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.devise i:nth-child(1) { background: var(--azur); }
.devise i:nth-child(2) { background: var(--sang); }
.devise i:nth-child(3) { background: var(--or); }
.devise--plein { height: 12px; width: 100%; }
.devise--court { width: 46px; height: 12px; clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%); }

/* ---------- Le fer en cachet ---------- */
.fer { width: 100%; height: 100%; display: block; }
.cachet { position: absolute; z-index: 4; width: 96px; height: 96px; border-radius: 50%; background: var(--fond); color: var(--azur);
  display: grid; place-items: center; padding: 16px 0; box-shadow: 0 14px 30px -14px rgba(30, 25, 21, .55), inset 0 0 0 2px var(--fond), inset 0 0 0 3.5px rgba(29, 74, 138, .35);
  transform: rotate(-9deg); }
.cachet .fer { width: auto; height: 100%; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 650 .98rem/1.1 var(--f-texte);
  letter-spacing: .01em; 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 -12px rgba(21, 58, 110, .8); }
.btn--azur:hover { background: var(--azur-fonce); }
.btn--trait { border-color: currentColor; color: inherit; background: transparent; }
.btn--trait:hover { background: rgba(29, 74, 138, .06); }
.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: 650; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-decoration-color: var(--or); color: var(--azur-fonce); }
.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: .96rem; 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(252, 249, 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: 246px; height: auto; display: block; }
.logo__fer { color: var(--azur); }
.logo__sous { opacity: .78; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.5vw, 26px); }
.nav ul a { text-decoration: none; font-weight: 650; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--or); }
.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: 650; font-size: .96rem; text-decoration: none; color: var(--azur-fonce); white-space: nowrap; }
.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: 1320px) { .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; }
  .head__tel span { display: none; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; height: calc(100dvh - var(--head-h)); background: var(--taureau); 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: 520; font-size: clamp(1.6rem, 6.4vw, 2.1rem); padding: 10px 0; border: 0; }
  .nav ul a[aria-current="page"] { color: var(--or-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--azur { background: var(--or); color: var(--taureau); 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(--taureau); border-color: var(--taureau); 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: 200px; }
}
@media (max-width: 359px) { .logo__svg { width: 172px; } .head__in { gap: var(--s3); } }

/* Indice « Voir la suite » en bas du menu mobile */
.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(30, 25, 21, 0), var(--taureau) 62%); color: #fff; font: 650 .9rem/1 var(--f-texte);
    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) 0; font-size: .88rem; }
.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-ocre { background: var(--ocre-pale); }
.bg-celadon { background: var(--celadon-pale); }
.bg-pierre { background: var(--pierre); }
.bg-taureau { background: var(--taureau); color: var(--creme); }
.bg-taureau h2, .bg-taureau h3 { color: #fff; }
.bg-taureau .script { color: var(--or-clair); }
.bg-taureau .lien { color: #fff; }

/* ==========================================================================
   Premier écran « en bandeau » : titre sur fond uni, photo panoramique, saisons
   ========================================================================== */
.hero { background: var(--fond); }
.hero__txt, .phero__txt { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 4.4vw, 60px) var(--pad) clamp(30px, 3.4vw, 46px);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s5) clamp(32px, 5vw, 80px); align-items: end; }
.hero__titre h1 { margin: 0; }
.hero__suite .lead { margin-bottom: var(--s5); }
.hero__btns, .phero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.hero__note { margin: var(--s5) 0 0; }
.hero__titre > *, .hero__suite > * { animation: monte .9s var(--ease) both; }
.hero__titre > :nth-child(2) { animation-delay: .08s; }
.hero__suite > :nth-child(1) { animation-delay: .16s; }
.hero__suite > :nth-child(2) { animation-delay: .24s; }
.hero__suite > :nth-child(3) { animation-delay: .32s; }
@keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.bandeau { position: relative; isolation: isolate; height: clamp(320px, 44vh, 540px); background: var(--taureau-2); }
.bandeau > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau--accueil > img { animation: pose 14s ease-out both; }
.bandeau .devise--plein { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.bandeau--page { height: clamp(250px, 31vw, 420px); }
.cachet--bandeau { top: -48px; right: max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); }
.credit { position: absolute; left: max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); bottom: 22px; z-index: 3; margin: 0;
  font-size: .8rem; color: #fff; background: rgba(30, 25, 21, .55); padding: .3em .8em; border-radius: 999px; max-width: 60ch; }
@keyframes pose { from { transform: scale(1.05); } to { transform: scale(1); } }

/* Les saisons de location, sous le bandeau */
.saisons { background: var(--ocre-pale); border-bottom: 1px solid var(--ligne); }
.saisons__in { max-width: 1400px; margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); flex-wrap: wrap; }
.saisons__item { margin: 0; display: grid; line-height: 1.3; padding-right: clamp(16px, 3vw, 44px); border-right: 1px solid rgba(94, 70, 20, .2); }
.saisons__item b { font-family: var(--f-titre); font-weight: 600; font-size: 1.08rem; color: var(--encre); }
.saisons__item span { color: var(--encre-2); font-size: .98rem; }
.saisons__item:nth-child(3) { border-right: 0; }
.saisons__lien { margin-left: auto; }

/* ---------- Haut des pages intérieures ---------- */
.phero { background: var(--fond); }
.phero__txt { padding-top: clamp(24px, 3vw, 40px); }
.phero__titre h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.phero__suite .lead { margin-bottom: var(--s4); }
.phero__suite .lead a { color: var(--azur-fonce); }
.phero__btns { margin-top: var(--s2); }
.phero--sans-img { border-bottom: 0; }
.phero--sans-img .phero__txt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

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

/* ---------- Cartes par public : photo arrondie, ruban de la devise ---------- */
.evts { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); max-width: 1180px; }
.evt { --c: var(--azur); --c-txt: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.evt--sang { --c: var(--sang); }
.evt--or { --c: var(--or); --c-txt: var(--taureau); }
.evt__photo { position: relative; display: block; width: 100%; }
.evt__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--ombre); transition: transform .6s var(--ease); }
.evt__photo:hover img { transform: translateY(-4px); }
.evt__ruban { position: absolute; top: -8px; left: 26px; width: 30px; height: 84px; background: var(--c);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); filter: drop-shadow(0 6px 8px rgba(30, 25, 21, .25)); }
.evt h3 { margin: var(--s5) 0 var(--s2); font-size: clamp(1.7rem, 2.2vw, 2rem); }
.evt h3 a { text-decoration: none; }
.evt p { color: var(--encre-2); margin: 0 0 var(--s4); }
.evt .lien { margin-top: auto; color: var(--encre); text-decoration-color: var(--c); }
@media (max-width: 900px) { .evts { grid-template-columns: 1fr; max-width: 460px; } .evt__photo img { aspect-ratio: 4 / 3; } }
@media (min-width: 600px) and (max-width: 900px) {
  .evts { max-width: 760px; gap: 48px; }
  .evt { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 40px; align-items: center; }
  .evt__photo { grid-column: 1; grid-row: 1 / -1; }
  .evt h3 { grid-column: 2; grid-row: 2; margin: 0 0 var(--s2); }
  .evt p { grid-column: 2; grid-row: 3; }
  .evt .lien { grid-column: 2; grid-row: 4; justify-self: start; }
}

/* ---------- 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); box-shadow: var(--ombre); }
.cadre--haut img { aspect-ratio: 4 / 5; }
.cadre--large img { aspect-ratio: 16 / 9; }
.cadre .cachet { top: -30px; right: 22px; width: 84px; height: 84px; padding: 14px 0; }

/* Mosaïque : grande photo, petite photo décalée qui chevauche */
.mosaique { padding-bottom: 56px; padding-right: 8%; }
.mosaique__a img { aspect-ratio: 5 / 4; }
.mosaique__b { position: absolute; right: 0; bottom: 0; width: 46%; }
.mosaique__b img { aspect-ratio: 4 / 3; border: 7px solid var(--ocre-pale); border-radius: calc(var(--r) + 4px); }
@media (max-width: 900px) { .mosaique { padding-right: 0; padding-bottom: 40px; } .mosaique__b { width: 50%; right: -4px; } }

.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: .28em; color: var(--azur); }
.bg-taureau .coches .ico { color: var(--or-clair); }

/* ---------- Bloc histoire ---------- */
.histoire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--pierre); }
.histoire__img { position: relative; min-height: 620px; }
.histoire__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cachet--histoire { right: -48px; top: 64px; }
.histoire__txt { padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 96px); align-self: center; max-width: 720px; }
.histoire__txt ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s5); display: grid; gap: var(--s3); }
.histoire__txt li { padding-left: 1.6em; position: relative; }
.histoire__txt li::before { content: ""; position: absolute; left: 0; top: .58em; width: .95em; height: .42em;
  background: linear-gradient(var(--azur) 0 33.3%, var(--sang) 33.3% 66.6%, var(--or) 66.6%); clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%); }
.liens-h { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
@media (max-width: 900px) {
  .histoire { grid-template-columns: 1fr; }
  .histoire__img { min-height: 0; aspect-ratio: 4 / 3; }
  .cachet--histoire { right: 20px; top: auto; bottom: -40px; }
}

/* Un mot du lexique de la bouvine */
.mot { position: relative; background: #fff; border-radius: 18px; padding: 22px 24px 18px; margin-top: var(--s6); box-shadow: 0 10px 30px -20px rgba(46, 32, 14, .45); max-width: 520px; }
.mot .devise--court { position: absolute; top: 22px; right: 24px; }
.mot__t { font-family: var(--f-titre); font-weight: 600; font-size: 1.4rem; line-height: 1.1; margin: 0 0 .3em; }
.mot__d { margin: 0 0 .6em; color: var(--encre-2); font-size: 1rem; line-height: 1.55; }
.mot__lien { display: inline-flex; gap: .4em; align-items: center; font-size: .92rem; font-weight: 650; color: var(--azur-fonce); text-decoration-color: var(--or); }

/* Texte replié « En savoir plus » */
.plus { margin-top: var(--s4); 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: 650; color: var(--azur-fonce); }
.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-taureau .plus { border-top-color: rgba(255, 255, 255, .2); }
.bg-taureau .plus summary { color: var(--or-clair); }

/* ---------- 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(3rem, 5vw, 4rem); font-weight: 500; line-height: .95; 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: .94rem; 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); align-items: start; }
.avis__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
.avis__liste--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.avis__liste--1 { grid-template-columns: minmax(0, 720px); }
.temoin { margin: 0; background: #fff; border-radius: var(--r); padding: var(--s6) var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s4);
  box-shadow: 0 14px 40px -26px rgba(46, 32, 14, .4); }
.temoin__etoiles { display: inline-flex; gap: 2px; }
.temoin__etoiles .ico { width: 1.05em; height: 1.05em; }
.temoin blockquote { margin: 0; }
.temoin blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.temoin figcaption { font-size: .94rem; 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-ocre .temoin, .bg-pierre .temoin, .bg-celadon .temoin { background: var(--fond); }
@media (max-width: 900px) {
  .avis__liste, .avis__liste--2, .avis__liste--4 { grid-template-columns: 1fr; }
  .avis__score { justify-items: start; }
}

/* ---------- Bande photo pleine largeur ---------- */
.bande-plein { position: relative; display: grid; min-height: clamp(300px, 44vh, 500px); 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; }
.bande-plein__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 25, 21, .28), rgba(30, 25, 21, .55)); }
.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(3.2rem, 6.6vw, 5.8rem); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.bande-plein__sous { margin: .4em auto 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 600; max-width: 40ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.bande-plein .credit { left: auto; right: max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); }

/* ---------- Repères chiffrés sur la robe du taureau ---------- */
.chiffres { background: var(--taureau); color: var(--creme); position: relative; }
.chiffres__in { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: var(--s7); align-items: center; }
.chiffres__tete { display: flex; align-items: center; gap: var(--s5); }
.chiffres__fer { flex: none; width: 54px; height: 84px; color: var(--or-clair); }
.chiffres__fer .fer { width: 100%; height: 100%; }
.chiffres h2 { color: #fff; margin: 0; font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.chiffres__liste { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.chiffres__liste > div { border-top: 1px solid rgba(243, 203, 105, .4); padding-top: var(--s4); }
.chiffres dt { font-family: var(--f-titre); font-size: clamp(2.2rem, 3.2vw, 2.9rem); font-weight: 520; line-height: 1; color: var(--or-clair); white-space: nowrap; }
.chiffres dt small { font-size: .5em; margin-left: .1em; }
.chiffres dd { margin: var(--s3) 0 0; color: #e3d9c8; line-height: 1.45; font-size: 1rem; }
@media (max-width: 1000px) { .chiffres__in { grid-template-columns: 1fr; } .chiffres__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); } }

/* ---------- 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 lining-nums; white-space: nowrap; }
.trajets__temps b { font-weight: 650; 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); }

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

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(30, 25, 21, .95); display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-height: 88vh; width: auto; border-radius: 12px; }
.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 { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: 0 8px 24px -20px rgba(46, 32, 14, .5); }
.bg-ocre .faq details, .bg-pierre .faq details { background: var(--fond); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 3.6rem var(--s5) var(--s5); position: relative; font-weight: 650;
  font-size: clamp(1.05rem, 1.4vw, 1.16rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; 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='%231d4a8a' 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 var(--s5) var(--s5); max-width: 68ch; color: var(--encre-2); }
.faq__rep a { color: var(--azur-fonce); }

/* ---------- Bandeau de demande ---------- */
.cta { background: var(--ocre-pale); text-align: center; }
.cta__in { max-width: 860px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) 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(--azur-fonce); }
.cta__rassure { font-size: .94rem; 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-radius: 24px; box-shadow: var(--ombre); 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: 650; font-size: .96rem; 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: .74em .9em; border: 1px solid #cdbf9f; border-radius: 12px; background: #fff; color: var(--encre); }
.form textarea { min-height: 130px; resize: vertical; }
.form ::placeholder { color: #776d60; }
.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 1em; border: 1px solid #cdbf9f; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; 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: 600; border-radius: 12px; }
.form__msg:empty { display: none; }
.form__msg--ok { background: var(--celadon-pale); border: 1px solid var(--celadon); }
.form__msg--err { background: #f8e3e1; border: 1px solid var(--sang); }
.coord { background: var(--taureau); color: var(--creme); padding: var(--s6); border-radius: 24px; display: grid; gap: var(--s5); }
.coord h2 { color: #fff; font-size: 1.5rem; margin-bottom: .2em; }
.coord a { color: #fff; }
.coord .lien { color: #fff; }
.grand-tel { font-family: var(--f-titre); font-size: clamp(2rem, 3vw, 2.4rem); font-weight: 560; line-height: 1; text-decoration: none; }

/* ---------- Pages légales, lexique ---------- */
.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; }
.lettres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s6); padding: 0; list-style: none; }
.lettres a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px; background: #fff; text-decoration: none;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.1rem; box-shadow: 0 4px 14px -10px rgba(46, 32, 14, .5); }
.lettres a:hover { background: var(--azur); color: #fff; }
.lexique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); margin: 0; }
.lexique__lettre { font-family: var(--f-titre); font-size: 2.6rem; font-weight: 600; color: var(--sang); margin: var(--s6) 0 0; line-height: 1;
  display: flex; align-items: center; gap: var(--s4); }
.lexique__lettre::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.lexique div { padding: var(--s4) 0; border-bottom: 1px solid var(--ligne); }
.lexique dt { font-family: var(--f-titre); font-weight: 600; font-size: 1.28rem; line-height: 1.2; }
.lexique dd { margin: .3em 0 0; color: var(--encre-2); }
@media (max-width: 800px) { .lexique { grid-template-columns: 1fr; } }

/* Traiteurs et partenaires */
.partenaires { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.partenaires li { display: flex; justify-content: space-between; gap: var(--s4); padding: .7em 0; border-bottom: 1px solid var(--ligne); }
.partenaires a { font-weight: 650; color: var(--azur-fonce); text-decoration-color: var(--or); }
.partenaires span { color: var(--encre-2); font-size: .96rem; }

/* Encadré de saison (page réservation) */
.saisons-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.saison { background: #fff; border-radius: var(--r); padding: var(--s6); box-shadow: 0 14px 40px -26px rgba(46, 32, 14, .4); position: relative; overflow: hidden; }
.saison .devise--plein { position: absolute; top: 0; left: 0; right: 0; height: 9px; }
.saison h3 { margin: var(--s3) 0 var(--s2); }
.saison p { margin: 0; color: var(--encre-2); }
@media (max-width: 700px) { .saisons-cartes { grid-template-columns: 1fr; } }

/* ---------- Maillage « À voir aussi » ---------- */
.voir { padding: var(--s7) 0; border-top: 1px solid var(--ligne); }
.voir__h { font-family: var(--f-script); font-size: 2.8rem; color: var(--sang); 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: 600; }
.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: 0 0 var(--s6); }
.foot__grid { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--pad) 0; 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: 250px; }
.foot__brand p { max-width: 42ch; }
.foot__h { font-family: var(--f-titre); font-size: 1.25rem; font-weight: 600; 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; text-decoration-color: var(--or); }
.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: .9rem; 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; } }

/* ---------- 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; }
  .bandeau--accueil > img, .hero__titre > *, .hero__suite > * { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Ordinateur moyen : le titre passe au-dessus, la suite dessous
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__txt, .phero__txt, .phero--sans-img .phero__txt { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__suite .lead, .phero__suite .lead { max-width: 60ch; }
  .saisons__lien { margin-left: 0; }
}

/* ==========================================================================
   Mobile (même logique qu'Autocars Côte Basque et Boast) : hauts de page compacts,
   en-tête et barre d'action qui s'effacent en descendant et reviennent en remontant,
   pas de bouton en double avec la barre du bas.
   ========================================================================== */
@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__txt, .phero__txt { padding: 22px var(--pad) 22px; gap: var(--s3); }
  .hero__titre .script, .phero__titre .script { font-size: 2.3rem; }
  .hero__suite .lead, .phero__suite .lead { font-size: 1.02rem; line-height: 1.55; 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: .92rem; }
  .bandeau { height: 230px; }
  .bandeau--page { height: 200px; }
  .cachet--bandeau { width: 72px; height: 72px; padding: 12px 0; top: -36px; }
  .credit { display: none; }
  .saisons__in { padding: 14px var(--pad) 16px; gap: 6px; display: grid; }
  .saisons__item { border-right: 0; padding: 0; display: flex; gap: .5em; flex-wrap: wrap; align-items: baseline; }
  .saisons__item b { font-size: 1rem; }
  .saisons__item span { font-size: .95rem; }
  .saisons__lien { margin-top: 4px; }

  /* Rappels d'action dans le fil de la page */
  .rappel { display: grid; justify-items: center; gap: 10px; margin: 0 var(--pad) var(--s6); padding: 22px 20px; text-align: center;
    background: var(--azur-pale); border-radius: 20px; }
  .rappel__t { font-family: var(--f-titre); font-weight: 600; font-size: 1.4rem; line-height: 1.1; color: var(--encre); margin: 0; }
  .rappel .btn { width: 100%; max-width: 320px; color: var(--azur-fonce); }
  .rappel__tel { font-size: .94rem; color: var(--encre-2); }

  /* Barre du bas flottante et arrondie */
  .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, 249, 241, .94);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 30px -8px rgba(30, 25, 21, .4), 0 0 0 1px rgba(30, 25, 21, .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: 650;
    font-size: .96rem; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .2s ease; }
  .mbar a:active { transform: scale(.96); }
  .mbar__tel { color: var(--azur-fonce); background: var(--azur-pale); }
  .mbar__cta { background: var(--azur); color: #fff; box-shadow: 0 6px 16px -6px rgba(21, 58, 110, .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%; }
  .histoire__txt { padding-top: 64px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .mbar, .head { transition: opacity .2s ease; } }
@media (max-width: 600px) {
  h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .phero__titre h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  h2, .h-sec { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .script { font-size: 2.4rem; }
  .section { padding: 56px 0; }
  .titre-c { margin-bottom: var(--s6); }
  .temoin { padding: var(--s5); }
  .chiffres__fer { width: 40px; height: 62px; }
}

/* ---------- Le jour J : trois photos et leur légende ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.etape { margin: 0; }
.etape h3 { margin: var(--s5) 0 var(--s2); }
.etape p { margin: 0; color: var(--encre-2); }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr; max-width: 480px; } .etape .cadre--haut img { aspect-ratio: 4 / 3; } }
.h-galerie { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: var(--s7) 0 var(--s4); }
.h-galerie:first-child { margin-top: 0; }

/* Petits écrans : le cachet ne touche plus la note Google, le H1 garde sa marge */
@media (max-width: 900px) {
  .hero__txt, .phero__txt { padding-bottom: 40px; }
  .cachet--bandeau { width: 64px; height: 64px; padding: 11px 0; top: -30px; }
}
@media (max-width: 360px) {
  h1 { font-size: 1.9rem; }
  .phero__titre h1 { font-size: 1.85rem; }
}
