/* ==========================================================================
   Les Gîtes de Viserny · design system et pages terminées
   Ordre : polices, tokens, base, composants, en-tête et pied, sections de l'accueil
   Desktop (référence 1440, contenu 1260) ; tablette et mobile en fin de fichier
   ========================================================================== */

/* ---------- Polices (auto-hébergées, licences dans assets/fonts/licences) ---------- */
@font-face { font-family: "Poltawski Nowy"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/poltawski-nowy-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poltawski Nowy"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/poltawski-nowy-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poltawski Nowy"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/poltawski-nowy-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poltawski Nowy"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/poltawski-nowy-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url(../fonts/sofia-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url(../fonts/sofia-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: italic; font-weight: 1 1000; font-display: swap; src: url(../fonts/sofia-sans-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tangerine"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/tangerine-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Tangerine"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/tangerine-latin-700-normal.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Couleurs (palette Figma 28:2286) : bleu et taupe, de 50 (clair) à 900 (foncé) */
  --blue-50: #E9F5FD; --blue-100: #B7E3F9; --blue-200: #77C5F2; --blue-300: #4AA1E9; --blue-400: #327ED7; --blue-500: #265DB5; --blue-600: #1D4591; --blue-700: #163171; --blue-800: #0F1F4F; --blue-900: #09132D;
  --taupe-50: #F2E9E4; --taupe-100: #E4D2C8; --taupe-200: #D0B6A9; --taupe-300: #BC9A8A; --taupe-400: #A67E6C; --taupe-500: #8D5D4E; --taupe-600: #744C40; --taupe-700: #5A3B31; --taupe-800: #412A23; --taupe-900: #291913;
  --bg: #FBF7F6;
  --white: #FFFFFF;
  --sky-tint: color-mix(in srgb, var(--blue-300) 15%, transparent);   /* fond des pastilles */
  /* Rouges (alerte, à confirmer) */
  --red-700: #842727;
  --red-400: #BF6F6F;

  --grad-primary: linear-gradient(73deg, var(--blue-700), var(--blue-400));
  --grad-logo: linear-gradient(90deg, var(--blue-800), var(--blue-500));
  --grad-script: linear-gradient(180deg, var(--taupe-400), var(--taupe-500));

  /* Espacements */
  --s-2: 2px; --s-4: 4px; --s-6: 6px; --s-8: 8px; --s-12: 12px; --s-16: 16px;
  --s-20: 20px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-60: 60px;
  --section: 120px;      /* espace vertical entre sections (2 × 60) */

  /* Rayons */
  --r-6: 6px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-24: 24px; --r-pill: 999px;

  /* Ombres */
  --shadow-card: 0 16px 24px -16px color-mix(in srgb, var(--blue-900) 30%, transparent), inset 0 0 1px 1px rgba(255, 255, 255, .25);
  --shadow-float: 0 24px 48px -24px color-mix(in srgb, var(--blue-900) 35%, transparent);

  /* Typographie */
  --f-serif: "Poltawski Nowy", Georgia, serif;
  --f-sans: "Sofia Sans", system-ui, sans-serif;
  --f-script: "Tangerine", cursive;

  --wrap: 1260px;
  --gutter: 40px;        /* marge latérale minimale du contenu */
  --frame: 20px;         /* marge des bandes et du héros autour de l'écran */
  --wrap-narrow: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--taupe-700); font: 400 20px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-16); top: -60px; z-index: 100; padding: var(--s-8) var(--s-16); background: var(--blue-700); color: var(--white); border-radius: var(--r-8); }
.skip:focus { top: var(--s-16); }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Contenu à faire confirmer par les propriétaires */
.tbc { display: inline-block; padding: 0 var(--s-6); border-radius: var(--r-6); background: var(--red-700); color: var(--white); font: 700 13px/1.6 var(--f-sans); letter-spacing: .02em; vertical-align: middle; }

/* ---------- Composants ---------- */

/* Surtitre : barres de part et d'autre (centré) ou avant seulement (--start) */
.eyebrow { display: flex; align-items: center; justify-content: center; gap: var(--s-20); color: var(--blue-500); font: 700 16px/1.2 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { opacity: .9; }
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--taupe-300); opacity: .6; }
.eyebrow--start { justify-content: flex-start; }
.eyebrow--start::after { display: none; }
.eyebrow__dot { display: inline-block; width: 6px; height: 6px; margin: 0 var(--s-12); border-radius: 50%; background: var(--taupe-300); vertical-align: middle; opacity: .8; }
.eyebrow--light { color: var(--white); }

/* Titre de section */
.title { color: var(--blue-700); font: 600 45px/60px var(--f-serif); }
.title em { color: var(--taupe-400); font-weight: 700; font-style: italic; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-12); height: 60px; padding: 0 var(--s-24); border: 1px solid transparent; border-radius: var(--r-12); font: 600 20px/1 var(--f-serif); text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn .icon { width: 20px; height: 20px; }
/* Relief : lumière bleu clair en haut à droite, ombre bleu foncé en bas à gauche (ombres intérieures) */
.btn--primary { --btn-relief: inset -1px 1px 1px color-mix(in srgb, var(--blue-200) 75%, transparent), inset 1px -1px 1px color-mix(in srgb, var(--blue-800) 60%, transparent); position: relative; border: 0; outline: 0; isolation: isolate; overflow: hidden; background: var(--grad-primary); color: var(--white); box-shadow: var(--btn-relief); }
/* Survol : un fond brun doré glisse de gauche à droite, sans ombre */
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(73deg, var(--taupe-500), var(--taupe-300)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn--primary:hover::before, .btn--primary:focus-visible::before { transform: scaleX(1); }
.btn--primary:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }   /* contour clavier seulement, pour l'accessibilité */
.btn--secondary { background: rgba(255, 255, 255, .3); border-color: color-mix(in srgb, var(--taupe-500) 50%, transparent); color: var(--blue-700); }
.btn--secondary { transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s; }
.btn--secondary:hover { background: var(--white); border-color: color-mix(in srgb, var(--blue-500) 45%, transparent); color: var(--blue-500); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 8%, transparent), 0 10px 22px -10px color-mix(in srgb, var(--blue-800) 35%, transparent); }
.btn--secondary .icon { transition: transform .2s var(--ease); }
.btn--secondary:hover .icon { transform: translateX(4px); }
.btn--outline { background: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: color-mix(in srgb, var(--taupe-500) 50%, transparent); color: var(--blue-800); font: 800 15px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; padding: 0 var(--s-32); }
.btn--outline { transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s; }
.btn--outline:hover { background: var(--white); border-color: color-mix(in srgb, var(--blue-500) 45%, transparent); color: var(--blue-500); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 8%, transparent), 0 10px 22px -10px color-mix(in srgb, var(--blue-800) 35%, transparent); }
.btn--light { background: var(--white); color: var(--blue-700); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* Pastille d'information */
.pill { display: inline-flex; align-items: center; gap: var(--s-6); height: 34px; padding: 0 var(--s-12); border-radius: var(--r-6); background: var(--sky-tint); color: var(--blue-700); font: 600 16px/1 var(--f-sans); }
.pill .icon { width: 16px; height: 16px; color: var(--blue-500); }
.pill--sm { height: 32px; font-size: 15px; }

/* Puce « N photos » sur une image */
.chip-photos { display: inline-flex; align-items: center; gap: var(--s-6); height: 36px; padding: 0 var(--s-12); border: 0; border-radius: var(--r-8); background: rgba(255, 255, 255, .35); color: var(--white); font: 700 16px/1 var(--f-sans); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background-color .2s; }
.chip-photos:hover { background: rgba(255, 255, 255, .55); color: var(--blue-800); }
.chip-photos--light { background: var(--white); color: var(--taupe-700); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 10%, transparent), 0 4px 12px -4px color-mix(in srgb, var(--blue-900) 20%, transparent); }
.chip-photos .icon { width: 16px; height: 16px; }

/* Carte blanche */
.card { background: var(--white); border-radius: var(--r-20); box-shadow: var(--shadow-card); }

/* Apparition au défilement (activée par site.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Bandes pleine largeur ----------
   Même cadre que le héros : 1800 px maximum, 20 px de marge sur les côtés, coins arrondis.
   « Autour de Viserny » : c'est le cadre de fond collant qui porte cette forme (voir plus bas). */
.reviews, .journal, .cta-band { width: min(1800px, 100% - 40px); margin-inline: auto; border-radius: var(--r-24); overflow: clip; }
.cta-band { padding: 90px 0; background: var(--taupe-50); }
.site-footer { margin-top: var(--section); }

/* ---------- En-tête ----------
   Placé dans .masthead avec le héros : largeur maximale 1800 px (+ 2 × 20 de marge) */
.masthead { position: relative; display: flow-root; max-width: 1840px; margin-inline: auto; }
.site-header { position: absolute; z-index: 50; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--s-40) 0; }
/* En-tête collant : dès qu'on fait défiler, il se fixe en haut, dans le même cadre de 1800 px que les bandes */
.site-header.is-stuck { position: fixed; top: 0; left: max(20px, calc(50% - 900px)); right: max(20px, calc(50% - 900px)); padding: var(--s-4) var(--s-40); background: rgba(251, 247, 246, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); animation: header-stick .35s var(--ease) both; }
.site-header.is-stuck .logo__img { width: 221px; }   /* 76 px de haut : même hauteur d'en-tête qu'avant (84 px), le logo contient déjà ses marges */
.logo__img { transition: width .3s var(--ease); }
@keyframes header-stick { from { transform: translateY(-100%); } to { transform: none; } }
.logo { display: block; }
.logo__img { width: 280px; height: auto; }
.nav-toggle { display: none; }
.mbook { display: none; }
.bookbar__open { display: none; }
/* Tiroir mobile */
.drawer { top: auto; bottom: 0; width: 100%; max-width: none; max-height: 92dvh; margin: 0; padding: 0; border: 0; border-radius: var(--r-20) var(--r-20) 0 0; background: var(--white); color: inherit; overflow-y: auto; overscroll-behavior: contain; }
.drawer::backdrop { background: color-mix(in srgb, var(--blue-900) 40%, transparent); }
.drawer[open] { animation: tour-up .45s cubic-bezier(.22, .61, .36, 1); }
.drawer.is-closing { animation: tour-down .4s cubic-bezier(.55, 0, .78, .39) forwards; }
.has-drawer { overflow: hidden; }
.drawer__head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); padding: var(--s-16) var(--s-20); background: var(--white); border-bottom: 1px solid var(--taupe-50); }
.drawer__title { color: var(--blue-700); font: 600 24px/1.2 var(--f-serif); }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--taupe-50); color: var(--blue-700); }
.drawer__close .icon { width: 20px; height: 20px; }
.drawer__body { padding: var(--s-16) var(--s-16) var(--s-24); }
.drawer .bookbar__form { display: flex; flex-direction: column; align-items: stretch; height: auto; padding: 0; box-shadow: none; }
.drawer .bookbar__fields { order: 1; }
.drawer .bk-panel { order: 2; }
.drawer .bookbar__form > .btn { order: 3; }
.drawer .bk-panel__head, .drawer .book__panel .bk-panel__head { flex-direction: column; gap: var(--s-8); margin-bottom: var(--s-20); }
.drawer .bk-panel { position: relative; top: auto; margin: var(--s-8) 0 var(--s-12); padding: var(--s-16) 0 0; box-shadow: none; animation: none; }
.drawer .bk-panel__foot { justify-content: space-between; }
.drawer .stay__aside { display: block; position: static; max-width: none; }
.drawer .book { padding: 0; border: 0; box-shadow: none; background: none; }
.drawer .book__panel { width: 100%; padding: 0; border-radius: 0; box-shadow: none; }
/* Recherche mobile de l'accueil (3 étapes) ; bouton Retour des tiroirs */
.msearch { display: none; }
.cta-band__mobile { display: none; }
.nav__cta { display: none; }
.cal-book { display: none !important; }
.br-mobile { display: none; }
.drawer .msearch { display: block; }
.ms-step[hidden], .book__back { display: none; }
.ms-back, .drawer .book__back { display: inline-flex; align-items: center; gap: var(--s-6); margin: 0 0 var(--s-12) calc(-1 * var(--s-6)); padding: var(--s-8) var(--s-6); border: 0; background: none; color: var(--taupe-600); font: 600 16px/1 var(--f-sans); }
.ms-back .icon { width: 18px; height: 18px; }
.ms-gites { display: grid; gap: var(--s-12); }
.ms-gite { display: flex; flex-direction: column; gap: var(--s-8); width: 100%; padding: var(--s-20); border: 1px solid var(--taupe-100); border-radius: var(--r-12); background: var(--bg); text-align: left; transition: border-color .2s, background-color .2s; }
.ms-gite.is-selected { border-color: var(--blue-400); background: var(--sky-tint); box-shadow: inset 0 0 0 1px var(--blue-400); }
.ms-gite__nom { margin-bottom: var(--s-4); color: var(--blue-700); font: 600 24px/1.1 var(--f-serif); }
.ms-gite__nom small { display: block; color: var(--taupe-400); font: 700 26px/1 var(--f-script); }
.ms-gite__prix { display: flex; justify-content: space-between; gap: var(--s-16); color: var(--taupe-700); font: 500 16px/1.2 var(--f-sans); }
.ms-gite__prix b { color: var(--blue-700); font: 700 18px/1 var(--f-serif); }
.ms-note { display: flex; align-items: center; justify-content: center; gap: var(--s-12); margin-top: var(--s-16); color: var(--taupe-500); font-size: 15px; }
.ms-note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--taupe-300); }
.ms-head { margin-bottom: var(--s-16); }
.ms-head__nom { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4) var(--s-12); color: var(--blue-700); font: 600 22px/1.2 var(--f-serif); }
.ms-change { flex: none; padding: var(--s-4) 0; border: 0; background: none; color: var(--taupe-600); font: 600 15px/1 var(--f-sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--taupe-500) 40%, transparent); text-underline-offset: 4px; opacity: .8; transition: opacity .2s, color .2s; }
.ms-change:hover { color: var(--blue-700); opacity: 1; }
.ms-head__prix { margin-top: var(--s-8); color: var(--taupe-600); font-size: 16px; }
.ms-head__prix strong { color: var(--blue-700); font: 700 32px/1 var(--f-serif); }
.ms-submit { width: 100%; margin-top: var(--s-16); }
.drawer .btn--primary[type="submit"] { height: 64px; }   /* bouton Réserver des tiroirs : +10 px */
.ms-sub { margin-bottom: var(--s-20); color: var(--taupe-500); font-size: 15px; }
.msearch .cal--flat { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.msearch .cal__nav { top: -2px; }
.msearch .cal__nav--prev { left: 0; }
.msearch .cal__nav--next { right: 0; }
.msearch .bk-panel__foot { justify-content: space-between; }
.drawer .stay__aside:has(.book__panel:not([hidden])) .book__reassure { visibility: hidden; }
.drawer .book__reassure { gap: var(--s-8); margin-top: var(--s-24); }   /* tiroir : garanties plus près de Nous contacter */
.nav { position: relative; display: flex; align-items: center; gap: var(--s-24); }
/* Même voile que derrière le texte du héros, à plus petite échelle ; inutile une fois l'en-tête collé (il a son fond) */
.nav::before { content: ""; position: absolute; z-index: -1; inset: -16px -24px; border-radius: 24px; background: rgba(255, 255, 255, .5); filter: blur(16px); pointer-events: none; transition: opacity .3s; }
.site-header.is-stuck .nav::before { opacity: 0; }
.home .site-header:not(.is-stuck) .nav::before { background: rgba(255, 255, 255, .25); }   /* accueil : moins utile, plus léger */
.nav__list { display: flex; gap: var(--s-8); }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; height: 50px; padding: 0 var(--s-16); border-radius: var(--r-12); color: color-mix(in srgb, var(--taupe-700) 70%, transparent); font: 700 15px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.nav__link { position: relative; transition: background-color .2s, color .2s; }
.nav__link:hover, .nav__item--sub:hover > .nav__link, .nav__item--sub:focus-within > .nav__link { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); color: var(--blue-700); }
/* Page en cours : pas de fond, un petit trait de 30 px sous le libellé */
.nav__link.is-active { color: var(--blue-700); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 30px; height: 2px; border-radius: 2px; background: var(--blue-500); transform: translateX(-50%); }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: var(--s-8); background: var(--white); border-radius: var(--r-12); box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; justify-content: space-between; gap: var(--s-16); padding: var(--s-12); border-radius: var(--r-8); color: var(--blue-700); font: 600 17px/1.2 var(--f-sans); text-decoration: none; }
.nav__sub a:hover { background: var(--bg); }
.nav__sub small { color: var(--taupe-500); font: 600 13px/1.4 var(--f-sans); }

/* Sous-menu « Nos gîtes » : deux cartes, de « Nos gîtes » à « Contact » */
.nav__list { position: relative; }
.nav__item--mega { position: static; }
.mega { position: absolute; top: 100%; left: 0; right: 0; padding-top: var(--s-8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid--3 { grid-template-columns: repeat(3, 1fr) !important; }
.mega__grid--3 .mega-card__body { padding: var(--s-12) var(--s-16) var(--s-16); }
.mega__grid--3 .mega-card__name { font-size: 22px; }
.mega__grid--3 .mega-card__meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.2em; }   /* 3 lignes maximum, même hauteur pour les 3 cartes */
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); padding: var(--s-12); background: var(--white); border: 1px solid color-mix(in srgb, var(--taupe-500) 15%, transparent); border-radius: var(--r-20); box-shadow: var(--shadow-float); }
.mega-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-12); text-decoration: none; transition: background-color .25s; }
.mega-card:hover, .mega-card:focus-visible { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.mega-card__img { position: relative; display: block; overflow: hidden; border-radius: var(--r-12); aspect-ratio: 16 / 10; }
.mega-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-card:hover .mega-card__img img { transform: scale(1.05); }
/* Survol : la version gravée recouvre la photo, avec une pastille « Découvrir » */
.mega-card__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease) !important; }
.mega-card:hover .mega-card__filtre, .mega-card:focus-visible .mega-card__filtre { opacity: 1; }
.mega-card__chip { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: var(--s-8); height: 36px; padding: 0 var(--s-16); border-radius: var(--r-pill); background: rgba(255, 255, 255, .85); color: var(--blue-700); font: 700 13px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--blue-900) 30%, transparent); opacity: 0; transform: translate(-50%, -40%); transition: opacity .35s ease .1s, transform .45s var(--ease) .1s; }
.mega-card__chip .icon { width: 14px; height: 14px; }
.mega-card:hover .mega-card__chip, .mega-card:focus-visible .mega-card__chip { opacity: 1; transform: translate(-50%, -50%); }
.mega-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-12) var(--s-20); }
.mega-card__name { display: flex; flex-direction: column; color: var(--blue-600); font: 600 24px/1.1 var(--f-serif); }
.mega-card__name small { color: var(--taupe-400); font: 700 26px/1 var(--f-script); }
.mega-card__meta { margin-top: var(--s-6); color: var(--taupe-600); font: 500 14px/1.4 var(--f-sans); }
.mega-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-12); padding-top: var(--s-12); border-top: 1px solid var(--taupe-50); }
.mega-card__price { color: var(--taupe-500); font: 500 14px/1 var(--f-sans); }
.mega-card__price strong { color: var(--blue-700); font: 700 20px/1 var(--f-serif); }
.mega-card__arrow { width: 18px; height: 18px; color: var(--blue-500); transition: transform .25s var(--ease); }
.mega-card:hover .mega-card__arrow { transform: translateX(4px); }

/* ---------- Héros de l'accueil ----------
   Directement la gravure ; l'en-tête puis le texte montent, la barre de réservation arrive après (0,9 s). */
.hero { position: relative; height: 760px; margin: 20px; border-radius: var(--r-24); overflow: hidden; background: var(--taupe-100); isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__img--engraved { animation: hero-fade 1s ease-in-out 1s both; }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-24); padding-top: 228px; text-align: center; }
.hero__text { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-24); }
/* Voile blanc derrière le texte : un bloc un peu plus grand que le texte, blanc à 80 %, très flouté (comme le calque de Judi dans Figma) : débord 50 / 60 px, blanc 50 % */
.hero__text::before { content: ""; position: absolute; z-index: -1; inset: -50px -60px; border-radius: 40px; background: rgba(255, 255, 255, .5); filter: blur(40px); animation: hero-fade 1s ease-out .1s both; }
.hero__text > * { animation: hero-rise .9s var(--ease) both; }
/* Logo et menu, puis le texte */
.has-intro .site-header { animation: header-in .8s var(--ease) .1s backwards; }
.hero__text > :nth-child(1) { animation-delay: .2s; }
.hero__text > :nth-child(2) { animation-delay: .35s; }
.hero__text > :nth-child(3) { animation-delay: .5s; }
.hero h1 { display: flex; flex-direction: column; align-items: center; color: var(--blue-700); font: 700 60px/1.1 var(--f-serif); }
/* « au cœur de l'Auxois » : remonte légèrement sur la ligne du dessus (le l et le A la chevauchent). Fin liseré blanc en haut des lettres */
.hero h1 em { position: relative; z-index: 1; margin: -34px 0 -17px; padding: 0 var(--s-8); font: 700 110px/1.3 var(--f-script); color: var(--taupe-400); text-shadow: 0 -1px 1px rgba(255, 255, 255, .9); }
.hero__lead { max-width: 600px; color: var(--taupe-800); font: 500 22px/1.5 var(--f-sans); }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes header-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Barre de réservation ---------- */
.bookbar { position: relative; z-index: 5; width: 1100px; margin: calc(-45px - 20px) auto 0; animation: hero-rise .9s var(--ease) .9s both; }  /* à cheval sur le bas du héros : moitié de sa hauteur (90 / 2) + la marge basse du héros (20) */
.masthead .hero:not(.hero--gite):not(.hero--plain):not(.hero--page) { display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 120px); min-height: 640px; }
.masthead .hero:not(.hero--gite):not(.hero--plain):not(.hero--page) .hero__content { padding: 100px 0 65px; }   /* centré entre l'en-tête (120) et la barre de réservation (45), remonté de 20 px */   /* accueil : héros à la hauteur de l'écran, moins 120 px pour voir la barre de réservation */
.bookbar__form { position: relative; display: flex; align-items: center; gap: var(--s-12); height: 90px; padding: var(--s-12); background: var(--white); border-radius: var(--r-20); box-shadow: var(--shadow-card); }
.bookbar__fields { flex: 1; display: flex; align-items: center; gap: var(--s-6); height: 100%; }
/* Champs : survol beige, focus bleu clair avec liseré (maquette Figma 62:7157) */
.bk-field { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s-6); height: 66px; padding: 0 var(--s-20); border: 0; border-radius: var(--r-12); background: none; text-align: left; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.bk-field:hover { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.bk-field.is-active { background: color-mix(in srgb, var(--blue-200) 15%, transparent); box-shadow: inset 0 0 0 1px var(--blue-400); }
.bk-field:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--blue-400); }
.bk-field__label { color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.bk-field__value { display: flex; align-items: center; gap: var(--s-12); color: color-mix(in srgb, var(--blue-700) 70%, transparent); font: 400 22px/1.4 var(--f-serif); white-space: nowrap; }
.bk-field__value.is-set { color: var(--blue-700); font-weight: 500; }
.bk-field__chev { width: 20px; height: 20px; color: var(--taupe-300); transition: transform .25s var(--ease); }
.bk-field[aria-expanded="true"] .bk-field__chev { transform: rotate(180deg); }
.bk-divider { flex: none; width: 2px; height: 50px; border-radius: 999px; background: var(--taupe-300); opacity: .6; transition: opacity .2s; }
.bk-field:hover + .bk-divider, .bk-divider:has(+ .bk-field:hover), .bk-field.is-active + .bk-divider, .bk-divider:has(+ .bk-field.is-active) { opacity: 0; }

/* Panneaux (calendrier, voyageurs) : s'ouvrent sous la barre */
.bk-panel { position: absolute; top: calc(100% + var(--s-12)); z-index: 20; padding: var(--s-32) var(--s-40); background: var(--white); border-radius: var(--r-20); box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in srgb, var(--taupe-500) 10%, transparent); animation: bk-in .3s var(--ease) both; }
.bk-panel[hidden] { display: none; }
@keyframes bk-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bk-panel--dates { left: 0; right: 0; }
.bk-panel--guests { left: 0; width: 440px; padding: var(--s-24) var(--s-32); }
.bk-panel__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s-24); }
.bk-panel__title { color: var(--blue-700); font: 600 32px/1.2 var(--f-serif); }
.bk-panel__sub { color: var(--taupe-500); font-size: 16px; }
.bk-panel .cal--flat { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.bk-panel .cal--flat .cal__nav { top: -2px; }
.bk-panel .cal--flat .cal__nav--prev { left: 0; }
.bk-panel .cal--flat .cal__nav--next { right: 0; }
.bk-panel .cal--flat .cal__months { gap: 80px; }
.bk-panel__foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-24); margin-top: var(--s-24); padding-top: var(--s-20); border-top: 1px solid var(--taupe-50); }
.bk-link { padding: var(--s-8) 0; border: 0; background: none; color: var(--taupe-600); font: 600 16px/1 var(--f-sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--taupe-500) 40%, transparent); text-underline-offset: 5px; }
.bk-link:hover { color: var(--blue-700); }
.bk-close { height: 44px; padding: 0 var(--s-24); border: 0; border-radius: var(--r-12); background: var(--blue-700); color: var(--white); font: 700 15px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; transition: background-color .2s; }
.bk-close:hover { background: var(--taupe-500); }

.bk-guests { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); }
.bk-guests__title { color: var(--blue-700); font: 600 22px/1.2 var(--f-serif); }
.bk-guests__sub { margin-top: var(--s-4); color: var(--taupe-500); font-size: 15px; }
.bk-guests__note { margin-top: var(--s-20); padding-top: var(--s-16); border-top: 1px solid var(--taupe-50); color: var(--taupe-600); font-size: 15px; line-height: 1.5; }
.bk-stepper { display: flex; align-items: center; gap: var(--s-16); }
.bk-stepper button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--taupe-500) 40%, transparent); border-radius: 50%; background: none; color: var(--blue-700); transition: border-color .2s, background-color .2s; }
.bk-stepper button:hover:not(:disabled) { border-color: var(--blue-700); background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.bk-stepper button:disabled { opacity: .3; cursor: default; }
.bk-stepper .icon { width: 16px; height: 16px; }
.bk-stepper output { min-width: 20px; color: var(--blue-700); font: 600 22px/1 var(--f-serif); text-align: center; }
.bookbar .btn { flex: none; width: 285px; height: 66px; gap: 14px; padding: 0 var(--s-32); font: 700 18px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }

.reassure { display: flex; justify-content: center; gap: var(--s-40); margin-top: var(--s-24); color: var(--taupe-600); font: 500 16px/1 var(--f-sans); }
.reassure li { display: flex; align-items: center; gap: var(--s-8); }
.reassure .icon { color: var(--taupe-400); width: 16px; height: 16px; }

/* ---------- Mot d'accueil ---------- */
.intro { width: 860px; margin: var(--section) auto 0; text-align: center; }
.intro__text { margin-top: var(--s-32); color: var(--blue-700); font: 400 32px/1.6 var(--f-serif); }
.intro__text em { color: var(--taupe-500); font-weight: 700; font-style: italic; }
.intro__sign { margin-top: var(--s-24); color: var(--taupe-400); font-size: 20px; }

/* ---------- Cartes des deux gîtes ---------- */
.gites { display: grid; grid-template-columns: repeat(2, 600px); gap: var(--s-60); justify-content: center; margin-top: var(--section); }   /* même espace au-dessus et au-dessous du mot d'accueil */
.gite-card { display: flex; flex-direction: column; padding: var(--s-12); transition: box-shadow .4s var(--ease); }
.gite-card:hover { box-shadow: 0 32px 48px -24px color-mix(in srgb, var(--blue-900) 35%, transparent), inset 0 0 1px 1px rgba(255, 255, 255, .25); }
.gite-card__img { position: relative; overflow: hidden; border-radius: var(--r-12); }
.gite-card__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gite-card__img img { width: 100%; height: 330px; object-fit: cover; transition: transform 1.2s var(--ease); }
.gite-card:hover .gite-card__img img { transform: scale(1.04); }
/* Survol de la carte : la version gravée recouvre la photo, la pastille « Voir les photos » apparaît en haut à droite */
.gite-card__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease) !important; }
.gite-card:hover .gite-card__filtre, .gite-card:focus-within .gite-card__filtre { opacity: 1; }
.chip-photos--card { position: absolute; top: var(--s-16); right: var(--s-16); z-index: 1; background: rgba(255, 255, 255, .85); color: var(--blue-700); opacity: 0; transform: translateY(-6px); transition: opacity .3s ease .1s, transform .4s var(--ease) .1s, background-color .2s; }
.chip-photos--card:hover { background: var(--white); color: var(--blue-500); }
.gite-card:hover .chip-photos--card, .chip-photos--card:focus-visible { opacity: 1; transform: none; }
.gite-card__body { display: flex; flex: 1; flex-direction: column; padding: var(--s-24) var(--s-24) var(--s-24); }
.gite-card__name { display: flex; flex-direction: column; color: var(--blue-600); font: 600 54px/1 var(--f-serif); }
.gite-card__name small { position: relative; z-index: 1; margin-bottom: -10px; color: var(--taupe-400); font: 700 42px/1 var(--f-script); }   /* rapproché du nom de 10 px */
.gite-card__pills { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-24); }
.gite-card__text { margin-top: var(--s-24); font-size: 19px; }
.gite-card__price { display: flex; align-items: baseline; gap: var(--s-12); margin-top: auto; padding-top: var(--s-32); color: var(--blue-700); font: 700 36px/1 var(--f-serif); }
.gite-card__price small { color: var(--taupe-400); font: 700 16px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.gite-card__actions { display: flex; gap: var(--s-12); margin-top: var(--s-32); }
.gite-card__actions .btn--primary { flex: 1; }

/* ---------- 4 engagements ---------- */
.points { display: flex; justify-content: space-between; margin-top: var(--s-60); padding: 0 var(--s-40); }
.points li { display: flex; flex: 1; align-items: center; justify-content: center; gap: var(--s-12); border-left: 1px solid var(--taupe-100); }
.points li:first-child { border-left: 0; }
.points .icon { width: 24px; height: 24px; color: var(--taupe-400); stroke-width: 1.5; }
.points strong { display: block; color: var(--blue-600); font: 700 18px/1.3 var(--f-serif); }
.points div > span { display: block; color: var(--taupe-600); font-size: 15px; line-height: 1.3; opacity: .7; }

/* ---------- Avis ---------- */
.reviews { margin-top: var(--section); padding: 90px 0; background: var(--taupe-50); }
.reviews__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-20); }
.reviews__score { display: flex; align-items: center; gap: var(--s-12); color: var(--blue-700); font: 600 80px/1 var(--f-serif); }
.laurel { width: 40px; height: 80px; }
.laurel--right { transform: scaleX(-1); }
.reviews__slider { position: relative; margin-top: var(--s-40); }
/* Défilement horizontal : 3 avis visibles, aimantés ; flèches sur les bords */
.reviews__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s-32)) / 3); gap: var(--s-32); align-items: start; margin: -24px -16px; padding: 24px 16px 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews__list::-webkit-scrollbar { display: none; }
.reviews__list > * { scroll-snap-align: start; }
.slider-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--taupe-100); border-radius: 50%; background: var(--white); color: var(--blue-700); box-shadow: var(--shadow-card); transform: translateY(-50%); transition: opacity .2s, border-color .2s; }
.slider-nav:hover:not(:disabled) { border-color: var(--blue-500); color: var(--blue-500); }
.slider-nav:disabled { opacity: 0; pointer-events: none; }
.slider-nav .icon { width: 22px; height: 22px; }
.slider-nav--prev { left: -24px; }
.slider-nav--next { right: -24px; }
.review { padding: var(--s-24); }
.review__who { display: flex; align-items: center; gap: var(--s-16); }
.review__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--taupe-500); color: var(--white); font: 600 15px/1 var(--f-sans); }
.review__avatar--2 { background: var(--blue-600); }
.review__avatar--3 { background: var(--taupe-400); }
.review__name { color: var(--blue-600); font: 500 22px/1.15 var(--f-serif); }
.review__when { color: var(--taupe-600); font-size: 14px; line-height: 1.4; opacity: .8; }
.review__stars { display: block; width: 116px; height: auto; margin-top: var(--s-20); }
.review__text { margin-top: var(--s-12); font-size: 17px; line-height: 1.55; }
.review__src { display: flex; align-items: center; gap: var(--s-6); margin-top: var(--s-20); color: var(--taupe-600); font-size: 14px; }
.review__src a { color: var(--taupe-500); font-weight: 700; text-underline-offset: 3px; }
.review__src a:hover { color: var(--blue-600); }
.review__src .icon { width: 14px; height: 14px; opacity: .6; }
.reviews__all { display: flex; justify-content: center; align-items: center; gap: var(--s-24); margin-top: var(--s-60); color: var(--taupe-600); font-size: 16px; }
.reviews__all a { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--blue-600); font-weight: 700; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--blue-600) 40%, transparent); }
.reviews__all .icon { color: var(--taupe-400); }
.reviews__all a { transition: color .2s; }
.reviews__all a:hover { color: var(--blue-500); text-decoration-color: currentColor; }
.reviews__all a:hover .icon { color: var(--blue-500); }

/* ---------- Notre histoire ---------- */
.story { position: relative; display: grid; grid-template-columns: 700px 1fr; gap: 100px; margin-top: var(--section); }
.story__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
.story__photo { position: relative; display: block; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.story__photo--main { grid-column: 1 / -1; }
.story__photo img { width: 100%; height: 200px; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__photo--main img { height: 540px; }
.story__photo .story__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease); }
.story__photo:hover img, .story__photo:focus-visible img { transform: scale(1.04); }
.story__photo:hover .story__filtre, .story__photo:focus-visible .story__filtre { opacity: 1; }
.story__photo:hover .chip-photos--card, .story__photo:focus-visible .chip-photos--card { opacity: 1; transform: none; }
.story__text { padding-top: 40px; }
.story__text .title { margin-top: var(--s-24); }
.story__text p:not(.eyebrow):not(.title) { margin-top: var(--s-24); }
.story__quote { position: absolute; left: 650px; top: 462px; right: 0; padding: var(--s-32); color: var(--blue-700); font: italic 600 26px/1.5 var(--f-serif); }
.story__quote::after { content: ""; position: absolute; right: -44px; top: 24px; width: 72px; height: 72px; background: url(../img/ui/guillemet.svg) no-repeat center / contain; }

/* ---------- Autour de Viserny ----------
   Fond collant qui change selon le lieu affiché ; colonne de gauche collante. */
.around { position: relative; width: min(1800px, 100% - 40px); margin: var(--section) auto 0; padding: 80px 0 var(--section); overflow-x: clip; }   /* le voile flouté de l'intro débordait et élargissait la page sur mobile */
.around__bgs { position: absolute; inset: 0; z-index: -1; }
/* Cadre du fond : collé à 20 px du haut et du bas de l'écran, arrondi ; les cartes défilent dedans */
.around__sticky { position: sticky; top: 20px; height: calc(100vh - 40px); border-radius: var(--r-24); overflow: hidden; }
.around__bg { position: absolute; inset: -5%; width: 110%; max-width: none; height: 110%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.around__bg.is-on { opacity: 1; }
.around__bg--css { filter: grayscale(1) sepia(1) hue-rotate(175deg) saturate(.9) brightness(1.2) contrast(.7) blur(1px); }
.around__bg--css.is-on { opacity: .55; }
.around__sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(255, 255, 255, .7), rgba(255, 255, 255, .4) 66%, rgba(255, 255, 255, 0)); }
.around__in { display: grid; grid-template-columns: 400px 700px; gap: 100px; width: var(--wrap-narrow); margin-inline: auto; }
.around__intro { position: sticky; top: 120px; align-self: start; padding-top: 80px; }
.around__intro > div { position: relative; }
.around__intro > div::before { content: ""; position: absolute; z-index: -1; inset: -50px -60px; border-radius: 40px; background: rgba(255, 255, 255, .6); filter: blur(40px); }   /* même voile que derrière le texte du héros */
.around__intro .title { margin-top: var(--s-24); }
.around__intro p:not(.eyebrow):not(.title) { margin-top: var(--s-24); }
.around__intro .btn { margin-top: var(--s-32); }
.around__list { display: flex; flex-direction: column; gap: var(--s-40); }
.place { overflow: hidden; border-radius: var(--r-16); background: var(--bg); }
.place__media { position: relative; height: 432px; }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 92%); }
.place__media .chip-photos { position: absolute; top: var(--s-12); right: var(--s-12); z-index: 1; }
.place__body { position: relative; margin-top: -116px; padding: 0 var(--s-40) var(--s-32); }
.place__title { color: var(--blue-700); font: 600 46px/1.2 var(--f-serif); }
.place__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-32); }
.place__text { max-width: 470px; margin-top: var(--s-12); color: var(--taupe-700); font: 500 18px/1.5 var(--f-sans); opacity: .8; }
.place__info { margin-top: var(--s-16); }
.place__km { flex: none; color: var(--blue-700); font: 700 60px/1 var(--f-serif); text-align: right; }
.place__km small { font: 600 30px/1 var(--f-serif); }
.place__km span { display: block; margin-top: var(--s-6); color: var(--taupe-500); font: 600 14px/1 var(--f-sans); letter-spacing: .05em; }

/* ---------- Journal ---------- */
.journal { padding: var(--section) 0; }   /* sans fond : alternance vide / bloc (avis = bloc, histoire = vide, autour = bloc, journal = vide) */
.journal__head { display: flex; align-items: flex-end; justify-content: space-between; }
.journal__head .title { margin-top: var(--s-24); }
.journal__grid { display: grid; grid-template-columns: 780px 420px; align-items: start; gap: var(--s-60); margin-top: var(--s-40); }
.post { display: block; border-radius: var(--r-20); text-decoration: none; transition: background-color .25s; }
.post:hover, .post:focus-visible { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.post__body { padding: var(--s-20) var(--s-24) var(--s-24); }
.post__img { position: relative; overflow: hidden; border-radius: var(--r-20); background: var(--taupe-100); }
.post__img img { width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.03); }
.post__img .post__filtre { position: absolute; inset: 0; height: 100% !important; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease); }
.post:hover .post__filtre, .post:focus-visible .post__filtre { opacity: 1; }
.post:hover .chip-photos--card, .post:focus-visible .chip-photos--card { opacity: 1; transform: none; }
.post--big .post__img img { height: 500px; }
.post--small .post__img img { height: 250px; }
.post__date { color: var(--taupe-500); font: 700 13px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.post__title { margin-top: var(--s-12); color: var(--blue-700); font: 600 32px/1.3 var(--f-serif); }
.post--small .post__title { font-size: 20px; }
.post__title { transition: color .2s; }
.post:hover .post__title { color: var(--blue-500); }
.post__text { margin-top: var(--s-12); font: 500 18px/1.5 var(--f-sans); opacity: .85; }


/* ==========================================================================
   Page gîte (L'Ancien Lavoir ; Le Four à Pain reprendra la même structure)
   ========================================================================== */
.title--xl { font-size: 60px; line-height: 1.15; }
.title--xl em { display: block; }
h1, h2, .title, .hero__title, .cta-band__big { text-wrap: balance; }   /* lignes équilibrées : pas de mot seul sur une ligne */
.h3 { color: var(--blue-600); font: 600 28px/1.2 var(--f-serif); }

/* Héros réduit : titre sur une ligne, la mosaïque photo vient chevaucher le bas */
/* Héros des pages gîtes : directement la gravure, à la hauteur de l'écran (moins 120 px) ; le texte est centré
   entre l'en-tête (120) et le haut de la mosaïque, qui chevauche le bas sur 419 px et arrive après le texte */
.masthead .hero--gite { display: flex; flex-direction: column; height: calc(100vh - 120px); min-height: 820px; }
.hero--gite .hero__content { flex: 1; justify-content: center; padding: 120px 0 419px; }
.hero--gite .hero__text { gap: var(--s-16); }
.hero--gite .hero__text::before { background: rgba(255, 255, 255, .7); animation-delay: .1s; }   /* pages gîtes : gravure plus claire derrière, voile plus fort */
.hero--gite .hero__lead { max-width: 640px; font-size: 20px; }
.gite.has-intro .site-header { animation-delay: .1s; }
.hero--gite .hero__text > :nth-child(1) { animation-delay: .2s; }
.hero--gite .hero__text > :nth-child(2) { animation-delay: .35s; }
.hero--gite .hero__text > :nth-child(3) { animation-delay: .5s; }
.gite .mosaic { animation: hero-rise .9s var(--ease) .9s both; }
.hero h1.hero__title { display: block; color: var(--blue-700); font: 700 60px/1.1 var(--f-serif); }
.hero h1.hero__title em { margin: 0; padding: 0; background: none; color: var(--taupe-400); font: italic 700 60px/1.1 var(--f-serif); }

/* Mosaïque photo */
.mosaic { position: relative; z-index: 5; display: grid; grid-template-columns: 624px 306px 306px; grid-template-rows: 284px 284px; gap: 12px; margin-top: -419px; }
.mosaic__item { position: relative; padding: 0; border: 0; border-radius: var(--r-16); overflow: hidden; background: var(--taupe-100); cursor: zoom-in; box-shadow: var(--shadow-card); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease) !important; }   /* gravure « survol » au survol, comme sur l'accueil */
.mosaic__item:hover .mosaic__filtre, .mosaic__item:focus-visible .mosaic__filtre { opacity: .6; }
.mosaic__item--main { grid-row: 1 / 3; }
.mosaic__item--more img { filter: blur(6px) brightness(.8); transform: scale(1.08); }
.mosaic__item--more:hover img { filter: blur(4px) brightness(.7); transform: scale(1.1); }
.mosaic__more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-8); color: var(--white); font: 700 18px/1.2 var(--f-sans); }
.mosaic__more .icon { width: 28px; height: 28px; stroke-width: 1.5; }

/* Deux colonnes : contenu 780 + réservation collante 400 */
.stay { display: grid; grid-template-columns: 780px 400px; gap: 80px; margin-top: 107px; }
.stay__main { display: flex; flex-direction: column; gap: 80px; min-width: 0; }
.stay__block .h3 + * { margin-top: var(--s-24); }
.stay__pills { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-24); }
.tag { display: inline-flex; align-items: center; gap: var(--s-8); height: 43px; padding: 0 var(--s-16); border: 1px solid; border-radius: var(--r-12); font: 600 18px/1 var(--f-sans); }
.tag .icon { width: 20px; height: 20px; }
.tag { transition: background-color .2s; }
.tag:hover { background: var(--white); }   /* simple respiration au survol, pas cliquable */
.tag--info { border-color: var(--blue-300); color: var(--blue-600); }
.tag--info .icon { color: var(--blue-300); }
.tag--ok { border-color: #8FB04E; color: var(--taupe-700); }
.tag--ok .icon { color: #7A9B3C; }
.tag--no { border-color: var(--red-400); color: var(--taupe-700); }
.tag--no .icon { color: var(--red-400); }
.prose p + p { margin-top: var(--s-16); }
.stay__tags { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-24); }
.chip { padding: var(--s-6) var(--s-12); border-radius: var(--r-6); background: color-mix(in srgb, var(--taupe-300) 22%, transparent); color: var(--taupe-700); font: 600 16px/1.2 var(--f-sans); }

.equip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.equip__item { display: flex; align-items: center; gap: var(--s-16); height: 54px; padding: 0 var(--s-20); border: 1px solid color-mix(in srgb, var(--taupe-500) 30%, transparent); border-radius: var(--r-8); background: rgba(255, 255, 255, .6); font: 600 20px/1 var(--f-sans); }
.equip__item .icon { width: 22px; height: 22px; color: var(--blue-500); stroke-width: 1.5; }
.link-more { display: inline-flex; align-items: center; gap: var(--s-12); margin-top: var(--s-24); padding: 0; border: 0; background: none; color: var(--taupe-500); font: 600 20px/1 var(--f-sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--taupe-500) 40%, transparent); text-underline-offset: 6px; }
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover { color: var(--blue-600); }
.link-more:hover .icon { transform: translateX(4px); }

.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-card { padding: var(--s-32); border: 1px solid var(--taupe-100); border-radius: var(--r-12); background: rgba(255, 255, 255, .6); }
.info-card--wide { grid-column: 1 / -1; }
.info-card__title { display: flex; align-items: center; gap: var(--s-12); padding-bottom: var(--s-20); margin-bottom: var(--s-24); border-bottom: 1px solid var(--taupe-100); color: var(--blue-700); font: 600 22px/1 var(--f-serif); }
.info-card__title .icon { width: 20px; height: 20px; color: var(--taupe-400); }
.hours dt { margin-top: var(--s-24); color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.hours dt:first-child { margin-top: 0; }
.hours dd { margin: var(--s-6) 0 0; color: var(--blue-700); font: 600 32px/1.2 var(--f-serif); }
.hours small { display: block; margin-top: var(--s-6); color: var(--taupe-600); font: 400 16px/1.5 var(--f-sans); }
.prices { margin: 0; }
.prices div { display: flex; align-items: baseline; justify-content: space-between; padding: var(--s-12) 0; }
.prices div:first-child { padding-top: 0; }
.prices dt { color: var(--taupe-600); font-size: 18px; }
.prices dd { margin: 0; color: var(--blue-700); font: 600 24px/1 var(--f-serif); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-20) var(--s-40); }
.rules li { display: flex; gap: var(--s-16); font: 600 20px/1.4 var(--f-sans); }
.rules .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--blue-500); stroke-width: 1.5; }

/* Calendrier (2 mois, sélection d'une période) */
.cal-head { margin-bottom: var(--s-12); }
/* Récapitulatif de la période : bandeau sous le titre */
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 40px; margin-bottom: var(--s-16); padding: var(--s-8) var(--s-20); border-radius: var(--r-8); background: color-mix(in srgb, var(--taupe-100) 50%, transparent); }
.cal-bar__sum { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-12); margin: 0 !important; font: 500 16px/1.2 var(--f-sans); }
.cal-bar__sum strong { color: var(--blue-700); font-weight: 700; }
.cal-bar__sum span { color: var(--taupe-700); opacity: .8; }
.cal-bar__sum .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--taupe-300); opacity: .8; }
.cal-bar__clear { flex: none; display: inline-flex; align-items: center; gap: var(--s-6); padding: var(--s-8) 0; border: 0; background: none; color: var(--blue-600); font: 700 13px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; opacity: .9; transition: color .2s, opacity .2s; }
.cal-bar__clear .icon { width: 12px; height: 12px; }
.cal-bar__clear:hover { color: var(--blue-700); opacity: 1; }
.cal-bar__clear[hidden] { display: none; }
.cal { position: relative; padding: var(--s-32) var(--s-32) var(--s-24); border: 1px solid var(--taupe-100); border-radius: var(--r-20); background: var(--white); box-shadow: var(--shadow-card); }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-40); }
.cal__month-title { margin-bottom: var(--s-16); color: var(--blue-700); font: 600 20px/36px var(--f-serif); text-align: center; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal__dow { padding-bottom: var(--s-8); color: var(--taupe-400); font: 700 12px/1 var(--f-sans); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.cal__day { position: relative; height: 46px; padding: 0; border: 0; background: none; color: var(--blue-700); font: 600 16px/1 var(--f-sans); }
.cal__day span { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: auto; border-radius: 50%; border: 1px solid transparent; transition: border-color .15s, background-color .15s; }
.cal__day:not(:disabled):hover span { border-color: var(--blue-700); }
.cal__day:disabled { color: color-mix(in srgb, var(--taupe-700) 30%, transparent); cursor: default; text-decoration: line-through; }
.cal__day.is-today span { box-shadow: inset 0 0 0 1px var(--taupe-300); }
.cal__day.is-range::before, .cal__day.is-start::before, .cal__day.is-end::before { content: ""; position: absolute; inset: 1px 0; background: var(--sky-tint); }
.cal__day.is-start::before { left: 50%; }
.cal__day.is-end::before { right: 50%; }
.cal__day.is-start.is-end::before { display: none; }
.cal__day.is-start span, .cal__day.is-end span { background: var(--grad-primary); color: var(--white); }
.cal__nav { position: absolute; top: 30px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--taupe-100); border-radius: 50%; background: var(--white); color: var(--blue-700); }
.cal__nav:hover:not(:disabled) { border-color: var(--blue-700); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__nav--prev { left: 28px; }
.cal__nav--next { right: 28px; }
.cal-note { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-12); color: var(--taupe-600); font-size: 15px; }

/* Avis du gîte */
.stay__avis-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--s-24); }
.score-sm { display: flex; align-items: center; gap: var(--s-8); color: var(--blue-700); font: 600 45px/1 var(--f-serif); }
.score-sm .laurel { width: 20px; height: 40px; }
.stay__avis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-32); align-items: start; }
.stay__slider { margin-top: 0; }
.stay__slider .reviews__list { grid-auto-columns: calc((100% - var(--s-32)) / 2); }
.stay__avis-empty { padding: var(--s-32); color: var(--taupe-600); font-size: 18px; line-height: 1.6; }
.stay__avis-all { display: flex; align-items: center; justify-content: center; gap: var(--s-12); margin-top: var(--s-20); }
.stay__avis-all .link-more { margin-top: 0; font-size: 17px; }

/* Carte de réservation */
.book { position: relative; display: flex; flex-direction: column; gap: var(--s-12); padding: var(--s-12); }
/* Arrivée / Départ : la carte s'élargit vers la gauche en calendrier de deux mois */
.book__panel { position: absolute; top: 0; right: 0; z-index: 10; width: min(820px, 100vw - 2 * var(--gutter)); min-height: 100%; padding: var(--s-32) var(--s-40); border-radius: var(--r-20); background: var(--white); box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in srgb, var(--taupe-500) 10%, transparent); animation: book-grow .45s var(--ease) backwards; }
.book__panel[hidden] { display: none; }
.book__panel > * { animation: book-fade .3s .15s var(--ease) both; }
@keyframes book-grow { from { clip-path: inset(0 0 0 calc(100% - var(--card-w, 400px)) round var(--r-20)); } to { clip-path: inset(0 round var(--r-20)); } }
@keyframes book-fade { from { opacity: 0; } to { opacity: 1; } }
.book__panel .cal--flat { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.book__panel .cal__nav { top: -2px; }
.book__panel .cal__nav--prev { left: 0; }
.book__panel .cal__nav--next { right: 0; }
.book__panel .cal__months { gap: var(--s-60); }
.stay__aside { align-self: start; position: sticky; top: var(--s-24); }
.book__badge { padding: var(--s-12) var(--s-16); border-radius: 10px; background: color-mix(in srgb, var(--blue-300) 12%, transparent); color: var(--blue-500); font: 700 13px/1 var(--f-sans); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.book__price { margin-top: var(--s-20); color: var(--blue-700); font: 700 36px/1 var(--f-serif); text-align: center; }
.book__price strong { font-size: 56px; }
.book__price small { margin-left: var(--s-4); color: var(--blue-500); font: 700 16px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; opacity: .8; }
.book__for { margin-top: calc(-1 * var(--s-8)); color: var(--taupe-500); font-weight: 600; text-align: center; margin-bottom: var(--s-20); }   /* 8 px plus près du prix */
.book__fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--taupe-100); border-radius: var(--r-12); background: var(--bg); overflow: hidden; }   /* clair au repos, plus foncé au survol */
.book__field { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-8); padding: var(--s-20) var(--s-24); border: 0; background: none; text-align: left; cursor: pointer; }
.book__field + .book__field { border-left: 1px solid var(--taupe-100); }
.book__field--wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--taupe-100); }
.book__field { transition: background-color .2s; }
.book__field:hover { background: var(--taupe-50); }
.book__label { color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.book__value { color: var(--blue-700); font: 400 22px/1.2 var(--f-serif); }
.book__value.is-empty, [data-book-in-label], [data-book-out-label] { opacity: .7; }
.book__value.is-set { opacity: 1; font-weight: 500; }
select.book__value { width: 100%; padding: 0; border: 0; background: none; font-weight: 500; opacity: 1; appearance: none; -webkit-appearance: none; cursor: pointer; }
.book__chev { position: absolute; right: var(--s-24); bottom: 26px; color: var(--taupe-300); pointer-events: none; }
.book__total { margin: var(--s-8) var(--s-8) 0; font-size: 17px; }
.book__total div { display: flex; justify-content: space-between; padding: var(--s-6) 0; }
.book__total dd { margin: 0; color: var(--blue-700); font-weight: 700; }   /* une seule ligne (nuits) : le montant prend le style d'un total */
.book__total-line { margin-top: var(--s-4); padding-top: var(--s-12) !important; border-top: 1px solid var(--taupe-100); color: var(--blue-700); font-weight: 700; }
.btn--caps { width: 100%; font: 700 18px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.book .btn--primary { margin-top: var(--s-12); }
.book .btn--secondary { border-color: color-mix(in srgb, var(--taupe-500) 50%, transparent); }
.book .btn--secondary .icon { color: var(--taupe-500); }
.book__reassure { display: flex; flex-direction: column; align-items: center; gap: var(--s-12); margin-top: var(--s-32); color: var(--taupe-600); font: 500 16px/1.2 var(--f-sans); }
.book__reassure li { display: flex; align-items: center; gap: var(--s-8); }
.book__reassure .icon { width: 16px; height: 16px; color: var(--blue-500); }

/* Localisation */
.map { margin-top: 80px; }
.map__head { display: flex; align-items: baseline; gap: var(--s-16); }
.map__adresse { color: var(--taupe-500); font-size: 18px; }
.map__adresse .dot { display: inline-block; width: 5px; height: 5px; margin-right: var(--s-16); border-radius: 50%; background: var(--taupe-300); vertical-align: middle; }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }
.map__body { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-32); align-items: center; margin-top: var(--s-24); }
.map__card img { display: block; width: 100%; height: auto; }
.map__card { position: relative; overflow: hidden; }
.map__card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 40px 30px var(--bg); pointer-events: none; }   /* fond de l'image fondu dans le fond du site */
.map__svg { display: block; width: 100%; height: auto; font-family: var(--f-serif); }
.map__ring { fill: none; stroke: var(--taupe-300); stroke-width: 1; stroke-dasharray: 3 6; opacity: .55; }
.map__ring-label { fill: var(--taupe-400); font: 700 11px var(--f-sans); letter-spacing: .1em; opacity: .8; }
.map__dot { fill: var(--taupe-500); }
.map__dot-halo { fill: var(--white); opacity: .8; }
.map__label { fill: var(--blue-700); font: 600 17px var(--f-serif); paint-order: stroke; stroke: var(--taupe-50); stroke-width: 5px; stroke-linejoin: round; }
.map__km { fill: var(--taupe-500); font: 700 13px var(--f-sans); }
.map__home-halo { fill: color-mix(in srgb, var(--blue-500) 18%, transparent); }
.map__home-dot { fill: var(--blue-600); }
.map__home-ico { color: var(--white); fill: none; stroke: currentColor; stroke-width: 2; }
.map__home-label { fill: var(--blue-700); font: 700 italic 24px var(--f-serif); paint-order: stroke; stroke: var(--taupe-50); stroke-width: 6px; }
.map__north path { fill: var(--taupe-400); }
.map__north text, .map__scale text { fill: var(--taupe-500); font: 700 12px var(--f-sans); letter-spacing: .1em; }
.map__scale path { fill: none; stroke: var(--taupe-500); stroke-width: 1.5; }
.map__chips { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-12); }
.pill--map { justify-content: flex-start; height: 44px; padding: 0 var(--s-16); background: color-mix(in srgb, var(--taupe-300) 20%, transparent); color: var(--taupe-700); font-size: 17px; }
.pill--map .icon { width: 18px; height: 18px; color: var(--taupe-500); }
.map__note { margin-top: var(--s-12); color: var(--taupe-600); font-size: 14px; opacity: .8; }

/* L'autre gîte */
.other { margin-top: 80px; margin-bottom: var(--section); }
.other__card { display: grid; grid-template-columns: 600px 1fr; gap: var(--s-12); padding: var(--s-12); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.other__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.other__img { position: relative; overflow: hidden; border-radius: var(--r-12); }
.other__img img { width: 100%; height: 100%; min-height: 376px; object-fit: cover; transition: transform 1.2s var(--ease); }
.other__card:hover .other__img img { transform: scale(1.03); }
.other__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease) !important; }   /* gravure « survol » + pastille, comme les cartes de l'accueil */
.other__card:hover .other__filtre, .other__card:focus-visible .other__filtre { opacity: 1; }
.other__card:hover .chip-photos--card, .other__card:focus-visible .chip-photos--card { opacity: 1; transform: none; }
.other__body { display: flex; flex-direction: column; padding: var(--s-32) var(--s-40); }
.other__body .gite-card__name { margin-top: var(--s-16); }
.other__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s-24); }
.other__foot .gite-card__price { padding: 0; margin: 0; }

/* Visite photo (plein écran) */
.tour { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 var(--s-60); border: 0; background: var(--bg); color: inherit; overflow-y: auto; overscroll-behavior: contain; }
.tour::backdrop { background: color-mix(in srgb, var(--blue-900) 40%, transparent); }
.tour[open] { animation: tour-up .5s cubic-bezier(.22, .61, .36, 1); }
.tour.is-closing { animation: tour-down .45s cubic-bezier(.55, 0, .78, .39) forwards; }
@keyframes tour-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes tour-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes tour-down { from { transform: none; } to { transform: translateY(100%); } }
.tour__bar { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-24); height: 72px; padding: 0 var(--s-40); background: rgba(251, 247, 246, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--taupe-50); }
.tour__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--taupe-100); border-radius: 50%; background: var(--white); color: var(--blue-700); transition: background-color .2s, border-color .2s; }
.tour__close:hover { background: var(--taupe-50); border-color: var(--taupe-200); }
.tour__close .icon { width: 22px; height: 22px; }
.tour__title { color: var(--taupe-600); font: 600 17px/1 var(--f-sans); white-space: nowrap; }
.tour__links { display: flex; gap: var(--s-4); }
.tour__room { position: relative; display: flex; align-items: center; height: 44px; padding: 0 var(--s-16); border-radius: var(--r-12); color: color-mix(in srgb, var(--taupe-700) 70%, transparent); font: 700 14px/1 var(--f-sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.tour__room:hover { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); color: var(--blue-700); }
.tour__room.is-active { color: var(--blue-700); }
.tour__room .icon { display: none; width: 22px; height: 22px; }
.mosaic__count { display: none; }
.tour__room.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 30px; height: 2px; border-radius: 2px; background: var(--blue-500); transform: translateX(-50%); }   /* même repère que le menu du site */
.tour__close { justify-self: end; }
.tour__section { width: 1000px; margin: var(--s-60) auto 0; scroll-margin-top: 112px; }
.tour__h { margin-bottom: var(--s-20); color: var(--blue-700); font: 600 32px/1.2 var(--f-serif); }
.tour__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.tour__photo { padding: 0; border: 0; overflow: hidden; background: var(--taupe-100); cursor: zoom-in; }
.tour__photo:nth-child(3n + 1) { grid-column: 1 / -1; }
.tour__photo img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour__photo:not(:nth-child(3n + 1)) img { aspect-ratio: 4 / 3; }
.tour__photo:hover img { transform: scale(1.02); }

/* Fenêtre (tous les équipements) */
.modal { width: 680px; max-width: calc(100vw - 40px); max-height: 82vh; padding: 0; border: 0; border-radius: var(--r-20); background: var(--white); color: inherit; box-shadow: var(--shadow-float); }
.modal::backdrop { background: color-mix(in srgb, var(--blue-900) 45%, transparent); }
.modal[open] { display: flex; flex-direction: column; animation: tour-in .3s var(--ease); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-24) var(--s-32); border-bottom: 1px solid var(--taupe-50); }
.modal__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--blue-700); }
.modal__close:hover { background: var(--taupe-50); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__body { padding: 0 var(--s-32) var(--s-32); overflow-y: auto; }
.modal__h { margin-top: var(--s-32); color: var(--blue-700); font: 600 22px/1.2 var(--f-serif); }
.modal__list li { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-16) 0; border-bottom: 1px solid var(--taupe-50); font-size: 18px; }
.modal__list .icon { width: 24px; height: 24px; color: var(--blue-500); stroke-width: 1.5; }
.modal__list .is-off { color: color-mix(in srgb, var(--taupe-700) 55%, transparent); }
.modal__list .is-off span:last-child { text-decoration: line-through; }
.modal__list .is-off .icon { color: inherit; }
body.has-dialog { overflow: hidden; }

/* ---------- Pied de page (provisoire, repris du prototype premium) ---------- */
.site-footer { padding: 90px 0 var(--s-40); background: radial-gradient(circle at 100% 0, var(--blue-800), var(--blue-900) 60%); color: rgba(255, 255, 255, .8); font-size: 16px; }   /* pleine largeur, collé en bas ; lumière du coin haut droit */
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.cta-band__in { display: flex; flex-direction: column; align-items: center; gap: var(--s-24); text-align: center; }
.cta-band__big { color: var(--blue-700); font: 600 45px/1.3 var(--f-serif); }
.cta-band__big em { color: var(--taupe-400); font-weight: 700; }
.cta-band__btns { display: flex; gap: var(--s-12); }
/* Comparaison des 4 pistes (provisoire) */
.cta-band__big--start { text-align: left; }
/* Fond gravure plein cadre, voile clair au centre */

/* Disponibilités (4 pistes) */
.av__grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-60); align-items: center; }
.av__card { display: flex; flex-direction: column; gap: var(--s-20); text-align: left; }   /* conteneur ; la carte blanche, c'est le .cal (le même que sur les pages gîtes) */
.av__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); margin-top: var(--s-20); padding-top: var(--s-20); border-top: 1px solid var(--taupe-50); }
.av__sum { color: var(--blue-700); font: 600 18px/1.4 var(--f-serif); }
.av__foot .btn { flex: none; gap: var(--s-12); }
.av__foot .btn .icon { width: 18px; height: 18px; }
.btn.is-off { opacity: .45; cursor: not-allowed; }
.btn.is-off::before { display: none; }
.av__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-24); margin-bottom: var(--s-40); text-align: center; }
.av__grid--3 { grid-template-columns: 2fr 1fr; align-items: stretch; gap: var(--s-24); }
/* Bloc réservation avant le footer : une seule carte, calendrier + réservation */
.resa { padding: var(--s-24); }
.resa__top { margin-bottom: var(--s-24); }
.resa__top .seg--gite { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.resa__top .seg--gite .seg__opt > span { min-width: 0; }
.resa__body { position: relative; display: grid; grid-template-columns: 1fr 380px; }
.resa__cal { padding: 0 var(--s-32) 0 0; }
.resa__cal .cal { padding: var(--s-8) 0 0; border: 0; border-radius: 0; box-shadow: none; }
.resa__cal .cal__nav { top: 6px; }
.resa__cal .cal__nav--prev { left: 0; }
.resa__cal .cal__nav--next { right: 0; }
.resa__book { display: flex; flex-direction: column; padding: 0 0 0 var(--s-32); }
.resa__book .btn--primary { margin-top: auto; }
.resa__book .book__price { margin-top: var(--s-24); }
.resa__below { display: flex; align-items: center; justify-content: center; gap: var(--s-24); margin-top: var(--s-24); padding: 0 var(--s-24); }
.resa__reassure { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-32); margin: 0; padding: 0; list-style: none; color: var(--taupe-600); font: 500 16px/1.2 var(--f-sans); }
.resa__reassure li { display: flex; align-items: center; gap: var(--s-8); }
.resa__reassure .icon { width: 16px; height: 16px; color: var(--blue-500); }
/* Choix du gîte : boutons segmentés */
.seg { display: inline-flex; gap: 2px; margin: 0; padding: 4px; border: 0; border-radius: var(--r-12); background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.seg--col { display: flex; flex-direction: column; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt > span { display: block; padding: var(--s-8) var(--s-16); border-radius: var(--r-8); color: var(--taupe-600); font: 700 14px/1.2 var(--f-sans); transition: background-color .2s, color .2s; }
.seg__opt:hover span { color: var(--blue-700); }
.seg__opt input:checked + span { background: var(--white); color: var(--blue-700); box-shadow: 0 1px 3px color-mix(in srgb, var(--blue-900) 15%, transparent); }
.seg--gite { gap: 4px; }
.av__grid--3 > div:last-child { align-self: start; }
.seg--gite { gap: var(--s-6); padding: var(--s-6); border-radius: var(--r-12); }
.seg--gite .seg__opt > span { min-width: 300px; padding: var(--s-12) var(--s-24); border-radius: var(--r-8); text-align: left; }
.seg__opt:hover input:not(:checked) + span { background: var(--sky-tint); }   /* bleu 300 à 15 %, celui des pastilles */
.seg__opt:has(input:checked) { cursor: default; }   /* l'option déjà choisie n'est pas cliquable */
.seg--gite strong { color: inherit; font: 600 20px/1.2 var(--f-serif); }
.seg--gite em { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-8); margin-top: var(--s-4); color: var(--taupe-500); font: 500 14px/1.2 var(--f-sans); }
.seg--gite .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.seg--gite .seg__opt input:checked + span strong { color: var(--blue-700); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
/* Légende et états des jours */
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-40); padding-bottom: var(--s-60); }
.site-footer__cols > div { display: flex; flex-direction: column; gap: var(--s-8); }
.site-footer__cols p { margin-bottom: var(--s-8); }
.site-footer__brand { color: var(--white); font: 700 40px/1 var(--f-script); }
.site-footer__h { color: var(--white); font: 700 13px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.site-footer__small { font-size: 14px; opacity: .7; }
.site-footer__bottom { display: flex; justify-content: space-between; padding-top: var(--s-24); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; opacity: .7; }

/* ---------- Visionneuse photos ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; display: none; align-items: center; justify-content: center; gap: var(--s-24); background: color-mix(in srgb, var(--blue-900) 94%, transparent); }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: var(--s-12); }
.lightbox__img { max-width: calc(100vw - 200px); max-height: calc(100vh - 120px); border-radius: var(--r-8); }
.lightbox__cap { display: flex; gap: var(--s-16); color: rgba(255, 255, 255, .75); font-size: 14px; }
.lightbox__close, .lightbox__nav { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: absolute; top: var(--s-24); right: var(--s-24); }
/* Précédent / suivant fixés aux bords de l'écran : ils ne bougent jamais, quelle que soit la taille de la photo */
.lightbox__nav { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--s-24); }
.lightbox__nav--next { right: var(--s-24); }
.lightbox .icon { width: 24px; height: 24px; }
body.has-lightbox { overflow: hidden; }

/* ---------- Pages de texte (mentions légales…) ---------- */
.hero--plain { height: 400px; background: linear-gradient(160deg, var(--taupe-50), var(--taupe-100)); }
.hero--plain .hero__content { padding-top: 190px; gap: var(--s-16); }
.hero--plain .hero__content::before { display: none; }
.hero--plain .hero__content > * { animation: none; }
.doc { display: grid; grid-template-columns: 260px 780px; gap: 100px; justify-content: center; margin: 100px auto var(--section); }
.doc__toc { position: sticky; top: var(--s-32); align-self: start; display: flex; flex-direction: column; gap: var(--s-4); padding-left: var(--s-20); border-left: 1px solid var(--taupe-100); }
.doc__toc p { margin-bottom: var(--s-12); color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.doc__toc a { padding: var(--s-6) 0; color: var(--taupe-600); font-size: 16px; text-decoration: none; }
.doc__toc a:hover { color: var(--blue-600); }
.doc__body section { margin-top: var(--s-60); }
.doc__body .h3 { scroll-margin-top: var(--s-32); }
.doc__body .h3 + * { margin-top: var(--s-20); }
.doc__body p + p, .doc__body p + ul, .doc__body ul + p { margin-top: var(--s-16); }
.doc__body ul { padding-left: var(--s-20); list-style: disc; }
.doc__body li + li { margin-top: var(--s-6); }
.doc__body a { color: var(--blue-600); text-underline-offset: 3px; }
.doc__updated { margin-top: var(--s-40); color: var(--taupe-400); font-size: 15px; }
.facts { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid var(--taupe-100); }
.facts dt, .facts dd { margin: 0; padding: var(--s-12) 0; border-bottom: 1px solid var(--taupe-100); }
.facts dt { color: var(--taupe-500); font: 700 13px/1.9 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.facts dd { color: var(--taupe-700); }
.credits { width: 100%; border-collapse: collapse; font-size: 16px; }
.credits caption { padding-bottom: var(--s-12); color: var(--taupe-600); text-align: left; }
.credits th { padding: var(--s-8) var(--s-12) var(--s-8) 0; border-bottom: 1px solid var(--taupe-300); color: var(--taupe-500); font: 700 12px/1.4 var(--f-sans); letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.credits td { padding: var(--s-8) var(--s-12) var(--s-8) 0; border-bottom: 1px solid var(--taupe-100); vertical-align: top; }
.credits td { padding-top: var(--s-12); padding-bottom: var(--s-12); line-height: 1.7; }
.credits td:first-child { width: 200px; color: var(--blue-700); font-weight: 600; }
.credits a { color: var(--taupe-700); text-decoration-color: color-mix(in srgb, var(--taupe-500) 35%, transparent); }
.credits a:hover { color: var(--blue-600); }
.facts + .credits { margin-top: var(--s-32); }

/* ==========================================================================
   Tablette et mobile
   1240 : grilles qui se resserrent · 1100 : menu en plein écran, une colonne pour les blocs larges
   900 : tablette portrait · 600 : mobile
   ========================================================================== */
@media (max-width: 1300px) {
  :root { --gutter: 32px; }
  .story { grid-template-columns: 1fr 1fr; gap: var(--s-60); }
  .story__quote { left: calc(50% - 50px); }
  .story__quote::after { right: -24px; }   /* le guillemet ne dépasse plus de l'écran entre 1100 et 1300 px */
  .around__in { width: min(var(--wrap-narrow), 100% - 2 * var(--gutter)); grid-template-columns: 1fr 1.6fr; gap: var(--s-60); }
  .journal__grid { grid-template-columns: 1.8fr 1fr; }
  .gites { grid-template-columns: repeat(2, minmax(0, 600px)); gap: var(--s-32); padding-inline: var(--gutter); }
  .bookbar { width: min(1100px, 100% - 2 * var(--gutter)); }
  .stay { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-60); }
  .other__card { grid-template-columns: 1fr 1fr; }
  .tour__section { width: min(1000px, 100% - 2 * var(--gutter)); }
  .doc { grid-template-columns: 220px minmax(0, 780px); gap: var(--s-60); padding-inline: var(--gutter); }
  /* Mosaïque des pages gîtes : à l'échelle de l'écran ; elle chevauche toujours le bas du héros */
  .mosaic { --mh: calc((min(1260px, 100vw - 2 * var(--gutter))) * 580 / 1260); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, calc((var(--mh) - 12px) / 2)); margin-top: calc(var(--mh) * -.72); }
  .hero--gite .hero__content { padding-bottom: calc((min(1260px, 100vw - 2 * var(--gutter))) * 580 / 1260 * .72); }
}

@media (max-width: 1100px) {
  :root { --section: 90px; }
  /* Menu plein écran */
  .site-header { padding: var(--s-16) var(--s-24) 0; }
  .site-header.is-stuck { left: 0; right: 0; padding: var(--s-4) var(--s-24); }
  .logo { position: relative; z-index: 2; }
  .logo__img { width: 220px; }
  .site-header.is-stuck .logo__img { width: 170px; }
  .nav-toggle { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; background: none; color: var(--blue-700); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-open .nav-toggle__bars { background: transparent; }
  .nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: var(--s-24); padding: 110px var(--gutter) var(--s-40); background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .nav::before { display: none; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header::after { content: ""; position: fixed; top: 0; left: 0; right: 0; z-index: 1; height: var(--header-bas, 100px); background: var(--bg); border-bottom: 1px solid var(--taupe-50); }   /* bande sous le logo : la liste défile dessous sans le chevaucher */
  .nav-open body { overflow: hidden; }
  .nav-open .site-header, .nav-open .site-header.is-stuck { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; transform: none; }   /* un filtre ou une transformation enfermerait le menu fixe dans l'en-tête */
  .nav__list { flex-direction: column; gap: var(--s-4); }
  .nav__link { height: auto; padding: var(--s-16) 0; border-radius: 0; border-bottom: 2px solid color-mix(in srgb, var(--taupe-300) 30%, transparent); color: var(--blue-700); font: 600 26px/1.2 var(--f-serif); letter-spacing: 0; text-transform: none; }
  .nav__link:hover, .nav__item--sub:hover > .nav__link, .nav__item--sub:focus-within > .nav__link { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__link.is-active::after { content: none; }   /* pas de soulignement de page active dans le menu mobile */
  /* Sous-menus : toujours visibles sous leur titre, en petites cartes */
  .mega { position: static; padding: var(--s-12) 0 var(--s-16); opacity: 1; visibility: inherit; transform: none; }   /* inherit : menu fermé, les cartes restent cachées et non cliquables */
  .mega__grid, .mega__grid--3 { grid-template-columns: 1fr 1fr !important; gap: var(--s-8); padding: 0; border: 0; background: none; box-shadow: none; }
  .mega-card { flex-direction: row; align-items: center; gap: var(--s-12); padding: var(--s-6); background: var(--white); }
  .mega-card__img { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: var(--r-8); }
  .mega-card__filtre, .mega-card__chip, .mega-card__meta, .mega-card__foot { display: none; }
  .mega-card__body { padding: 0; }
  .mega-card__name, .mega__grid--3 .mega-card__name { font-size: 18px; }
  .mega-card__name small { font-size: 20px; }
  .nav > * { flex-shrink: 0; }   /* le panneau déborde : sans ça, le bouton Réserver était écrasé à 20 px */
  .nav > .btn, .nav__item--contact { display: none; }
  .nav__item:has(+ .nav__item--contact) > .nav__link { border-bottom: 0; }   /* Journal est le dernier lien : pas de trait dessous */
  .nav { padding-bottom: 180px; }
  /* Séparateur après chaque groupe (titre + cartes), pas sous le titre */
  .nav__item--sub > .nav__link { padding-bottom: var(--s-8); border-bottom: 0; }
  .nav__item--sub { padding-bottom: var(--s-20); border-bottom: 2px solid color-mix(in srgb, var(--taupe-300) 30%, transparent); }   /* même trait que les séparateurs du site */
  .mega { padding: var(--s-8) 0 0; }
  /* Cartes : collées au contenu, photo sur toute la hauteur, textes alignés entre les deux groupes */
  .mega-card { align-items: stretch; gap: var(--s-16); padding: var(--s-6); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 6%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--blue-900) 22%, transparent); }
  .mega-card__img { align-self: stretch; aspect-ratio: auto; min-height: 72px; }
  .mega-card__img img { position: absolute; inset: 0; }
  .mega-card__body { justify-content: center; padding: var(--s-6) var(--s-12) var(--s-6) 0; }
  .mega__grid--3 .mega-card__body { padding: var(--s-8) var(--s-12) var(--s-8) 0; }
  .mega__grid--3 .mega-card__meta { display: block; min-height: 0; margin-top: var(--s-4); }
  /* Réserver et Nous contacter fixés en bas du menu */
  .nav__cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: var(--s-8); padding: var(--s-12) var(--gutter) calc(var(--s-12) + env(safe-area-inset-bottom)); background: rgba(251, 247, 246, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); }
  .nav__cta .btn { flex: none; height: 56px; }
  .nav__cta .btn--secondary { background: var(--white); }

  .hero h1 { font-size: 52px; }
  .hero h1 em { margin: -28px 0 -12px; font-size: 92px; }
  .points { flex-wrap: wrap; row-gap: var(--s-24); padding: 0 var(--gutter); }
  .points li { flex: 1 1 50%; }
  .points li:nth-child(3) { border-left: 0; }
  .story { grid-template-columns: 1fr; gap: var(--s-40); }
  .story__quote { position: relative; inset: auto; margin: 0 var(--s-24) 0 auto; max-width: 560px; }   /* relative : le guillemet reste accroché à l'encadré */
  .story__quote::after { right: 16px; top: -36px; }
  .around__in { grid-template-columns: 1fr; gap: var(--s-40); }
  .around__intro { position: static; padding-top: 0; }
  .reviews__list { grid-auto-columns: calc((100% - var(--s-32)) / 2); }
  .journal__grid { grid-template-columns: 1fr 1fr; gap: var(--s-32); }
  .post--big .post__img img, .post--small .post__img img { height: 300px; }
  .post--big .post__title { font-size: 26px; }
  .resa__body { grid-template-columns: 1fr; }
  .resa__cal { padding: 0; }
  .resa__book { padding: var(--s-32) 0 0; }
  .resa__book .btn--primary { margin-top: var(--s-12); }
  .seg--gite .seg__opt > span { min-width: 0; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  /* Page gîte : une colonne ; la carte de réservation passe sous le contenu, une barre fixe en bas y mène */
  .stay { grid-template-columns: 1fr; gap: var(--s-60); }
  .stay__aside { position: static; max-width: 560px; width: 100%; margin-inline: auto; }
  .mbook { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); padding: var(--s-16) var(--gutter) calc(var(--s-16) + env(safe-area-inset-bottom)); background: rgba(251, 247, 246, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); }
  .mbook__price { color: var(--taupe-600); font-size: 17px; line-height: 1.3; }
  .mbook__price strong { color: var(--blue-700); font: 700 30px/1 var(--f-serif); }
  .mbook__price small { display: block; margin-top: var(--s-4); color: var(--taupe-500); font-size: 15px; }
  .mbook .btn { height: 58px; padding: 0 var(--s-40); font: 700 17px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
  .gite .site-footer { padding-bottom: 110px; }
  .tour__bar { grid-template-columns: 1fr auto; grid-template-areas: "titre fermer" "pieces pieces"; height: auto; row-gap: var(--s-8); padding: var(--s-12) var(--gutter) 0; }
  .tour__title { grid-area: titre; }
  .tour__close { grid-area: fermer; }
  .tour__links { grid-area: pieces; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .tour__links::-webkit-scrollbar { display: none; }
  .tour__section { scroll-margin-top: 140px; }
  .doc { grid-template-columns: 1fr; }
  .doc__toc { position: static; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 72px; }
  .title { font-size: 36px; line-height: 1.25; }
  .title--xl { font-size: 44px; }
  .intro { width: auto; padding-inline: var(--gutter); }
  .intro__text { font-size: 26px; }
  .gites { grid-template-columns: minmax(0, 600px); }
  .bookbar { margin-top: -40px; }
  .bookbar > .bookbar__form { display: none; }
  .cta-band .resa { display: none; }
  .cta-band__mobile { display: flex; flex-direction: column; gap: var(--s-12); max-width: 480px; margin: var(--s-24) auto 0; }
  .cta-band__mobile .btn { flex: none; }
  .cta-band__mobile .btn { height: 60px; }   /* Réserver et Nous contacter : même hauteur */
  .cta-band__mobile .btn--secondary { background: var(--white); }
  .bookbar__open { display: flex; width: 100%; height: 60px; box-shadow: var(--shadow-card); }
  .stay > .stay__aside { display: none; }
  .cal-book:not([hidden]) { display: flex !important; width: 100%; height: 60px; margin-top: var(--s-16); background: var(--white); }
  .bookbar__form { flex-direction: column; align-items: stretch; height: auto; }
  .bookbar__fields { flex-direction: column; align-items: stretch; gap: 0; }
  .bk-field { height: 64px; flex: none; }
  .bk-divider { width: auto; height: 1px; margin: 0 var(--s-20); }
  .bookbar .btn { width: 100%; }
  .bk-panel { top: auto; bottom: auto; position: relative; margin-top: var(--s-12); padding: var(--s-24); }
  .bk-panel--guests { width: auto; }
  .bk-panel .cal--flat .cal__months { gap: var(--s-32); }
  .reassure { flex-wrap: wrap; gap: var(--s-12) var(--s-24); padding: 0 var(--gutter); }
  .reviews { padding: 64px 0; }
  .reviews__score { font-size: 64px; }
  .reviews__list { grid-auto-columns: 85%; gap: var(--s-16); }
  .slider-nav--prev { left: -8px; }
  .slider-nav--next { right: -8px; }
  .reviews__all { flex-wrap: wrap; gap: var(--s-12) var(--s-24); margin-top: var(--s-16); }   /* 32 px sous les cartes */
  .reviews__list { align-items: stretch; }   /* cartes de même hauteur : l'écart avec le lien ne dépend plus de l'avis le plus long */
  .place__media { height: 340px; }
  .place__body { padding: 0 var(--s-24) var(--s-24); }
  .place__title { font-size: 34px; }
  .place__km { font-size: 46px; }
  .journal__head { flex-direction: column; align-items: flex-start; gap: var(--s-24); }
  .journal__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 0; }
  .cta-band__big { font-size: 34px; }
  .resa__below { padding: 0; }
  .resa__reassure { justify-content: center; }
  .equip, .infos, .rules, .stay__avis { grid-template-columns: 1fr; }
  .map__body { grid-template-columns: 1fr; }
  .map__chips { flex-direction: row; flex-wrap: wrap; }
  .other__card { grid-template-columns: 1fr; }
  .other__img img { min-height: 0; height: 320px; }
  .other__body { padding: var(--s-24); }
  .other__foot { flex-wrap: wrap; gap: var(--s-16); }
  .lightbox__img { max-width: calc(100vw - 32px); max-height: calc(100vh - 160px); }
  .lightbox__nav { top: auto; bottom: var(--s-24); transform: none; }
  .tour__grid { gap: var(--s-6); }
  .tour__h { font-size: 26px; }
}

@media (max-width: 600px) {
  /* Deux marges seulement : --frame (10) pour les fonds (héros, bandes), --gutter (28) pour le contenu, mesurées depuis le bord de l'écran */
  :root { --gutter: 28px; --frame: 10px; --section: 60px; }
  .reviews .wrap, .journal .wrap, .cta-band .wrap, .around__in { width: calc(100% - 2 * (var(--gutter) - var(--frame))); }
  .gites { padding-inline: 0; }
  body { font-size: 18px; }
  .reviews, .journal, .cta-band, .around { width: calc(100% - 2 * var(--frame)); }
  .cta-band { padding: var(--s-40) 0; }
  .br-mobile { display: inline; }   /* retour à la ligne voulu sur mobile seulement */
  .br-desktop { display: none; }
  .title--xl em { display: inline; }   /* mobile : le titre coule sans retour forcé avant l'italique */
  .site-header.is-stuck { left: 0; right: 0; }
  .masthead .hero, .hero { margin: var(--frame); border-radius: var(--r-16); }
  .site-header { top: var(--frame); left: var(--frame); right: var(--frame); padding: var(--s-12) calc(var(--gutter) - var(--frame)) 0; }
  .logo__img { width: 210px; }
  .site-header.is-stuck .logo__img { width: 180px; }
  .nav-toggle { width: 48px; height: 48px; margin-right: 1px; }   /* icône : autant d'air à droite qu'en haut du cadre */
  .site-header:not(.is-stuck) .logo, .site-header:not(.is-stuck) .nav-toggle { top: -10px; }   /* haut de page : logo et icône remontés de 10 px */
  .site-header:not(.is-stuck) .logo { margin-left: -10px; }   /* haut de page : logo à 18 px du bord de l'écran */
  .site-header.is-stuck .nav-toggle { margin-right: 5px; }   /* même position horizontale que l'en-tête du haut : logo à 18 px, icône à 40 px des bords */
  .site-header.is-stuck .logo { margin-left: -6px; }
  .nav { padding-top: 96px; }
  .mega__grid, .mega__grid--3 { grid-template-columns: 1fr !important; }
  .eyebrow { gap: var(--s-12); font-size: 13px; letter-spacing: .14em; }
  .eyebrow::before, .eyebrow::after { width: 16px; }
  .eyebrow__dot { margin: 0 var(--s-6); }
  .title { font-size: 30px; }
  .title--xl { font-size: 36px; }
  .btn { height: 54px; font-size: 18px; }
  /* Héros */
  .masthead .hero:not(.hero--gite):not(.hero--plain):not(.hero--page) { height: auto; min-height: 560px; }
  .masthead .hero:not(.hero--gite):not(.hero--plain):not(.hero--page) .hero__content { padding: 110px calc(var(--gutter) - var(--frame)) 70px; }
  .hero h1 { font-size: 36px; }
  .hero h1 em { margin: -14px 0 -6px; font-size: 54px; white-space: nowrap; }
  .hero__lead, .hero--gite .hero__lead { padding-inline: var(--s-8); font-size: 17px; }
  .hero__text::before { inset: -30px -20px; filter: blur(28px); }
  .hero h1.hero__title, .hero h1.hero__title em { font-size: 36px; }
  .bookbar { width: calc(100% - 2 * var(--gutter)); }
  .bk-panel { padding: var(--s-20) var(--s-16); }
  .bk-panel__title { font-size: 24px; }
  .reassure { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; padding: 0; }
  .intro__text { font-size: 22px; }
  .gite-card { padding: var(--s-8); }   /* photo plus près du bord blanc */
  .gite-card__body { padding: var(--s-20) var(--s-16) var(--s-16); }   /* texte toujours à 24 px du bord de la carte */
  .gite-card__name { font-size: 40px; }
  .gite-card__name small { font-size: 34px; }
  .gite-card__img img { height: 240px; }
  .gite-card__text { font-size: 17px; }
  .gite-card__actions { flex-direction: column; }
  .gite-card__actions .btn { flex: none; }   /* flex: 1 en colonne écrasait le bouton à 20 px de haut */
  .gite-card .chip-photos--card { opacity: 1; transform: none; }   /* pas de survol au doigt : la pastille reste visible */
  .points li { flex-basis: 100%; justify-content: flex-start; border-left: 0; }
  .story__media { gap: var(--s-6); }
  .story__photo--main img { height: 320px; }
  .story__photo img { height: 110px; }
  .story__photo--main img { height: auto; aspect-ratio: 4 / 3; }   /* la grande photo n'est plus écrasée à 110 px */
  .story { gap: var(--s-24); }
  .story__text { padding-top: var(--s-8); }
  .story__text .title { margin-top: var(--s-12); }
  .story__text p:not(.eyebrow):not(.title) { margin-top: var(--s-16); }
  .story__photo .chip-photos--card { opacity: 1; transform: none; }
  .story__quote { margin: 0; padding: var(--s-24); font-size: 21px; }
  .story__quote::after { width: 52px; height: 52px; top: -28px; }
  .around { padding-top: var(--s-60); }
  .place__media { height: 260px; }
  .place__body { margin-top: -90px; padding: 0 var(--s-16) var(--s-20); }
  .place__row { flex-direction: column; align-items: flex-start; gap: var(--s-12); }
  .place__title { font-size: 28px; }
  .place__km { font-size: 38px; text-align: left; }
  .post--big .post__img img, .post--small .post__img img { height: 220px; }
  .post__body { padding: var(--s-16) var(--s-12) var(--s-20); }
  .resa { padding: var(--s-12); }
  .seg--gite { display: grid !important; grid-template-columns: 1fr !important; }
  .seg--gite .seg__opt > span { padding: var(--s-12) var(--s-16); }
  .seg--gite strong { font-size: 18px; }
  .cta-band__big { font-size: 28px; }
  .resa__reassure { flex-direction: column; align-items: flex-start; }
  /* Calendriers : un seul mois à la fois sur mobile */
  .cal { padding: var(--s-20) var(--s-12) var(--s-12); }
  .cal__months { grid-template-columns: 1fr; }
  .book__panel { padding: var(--s-24) var(--s-20); }
  .book__panel .bk-panel__head { flex-direction: column; gap: var(--s-8); }
  .cal__months > .cal__month + .cal__month { display: none; }
  .cal__nav { top: 16px; }
  .cal__nav--prev { left: 8px; }
  .cal__nav--next { right: 8px; }
  .resa__cal .cal__nav { top: 6px; }
  .cal__day { height: 44px; }
  .cal__day span { width: 40px; height: 40px; }
  .cal-bar { align-items: flex-start; padding: var(--s-12) var(--s-16); }
  .site-footer { padding-top: 64px; }
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--s-32); }
  .site-footer__bottom { flex-direction: column; gap: var(--s-8); }
  /* Page gîte */
  .masthead .hero--gite { height: auto; min-height: 0; }
  .hero--gite .hero__content { padding: 120px calc(var(--gutter) - var(--frame)) calc((100vw - 2 * var(--gutter)) * .75 * .55 + var(--s-40)); }
  /* Mobile : grande photo + 3 vignettes en dessous */
  .mosaic { --mh: calc((100vw - 2 * var(--gutter)) * .75); grid-template-columns: repeat(3, 1fr); grid-template-rows: var(--mh) calc((100vw - 2 * var(--gutter) - 16px) / 3 * .75); gap: 8px; margin-top: calc(var(--mh) * -.55); }
  .mosaic__item { border-radius: var(--r-12); }
  .mosaic__item--main { grid-row: auto; grid-column: 1 / -1; }
  .mosaic__item--more { display: none; }
  .mosaic__count { position: absolute; right: var(--s-12); bottom: var(--s-12); display: inline-flex; }
  .mosaic__count .icon { width: 18px; height: 18px; }
  .stay { gap: var(--s-40); }
  .tag { height: 38px; font-size: 16px; }
  .equip__item { font-size: 17px; }
  /* Espaces resserrés sur mobile */
  .stay { margin-top: var(--s-40); }
  .stay__main { gap: 48px; }
  .stay__block .h3 + * { margin-top: var(--s-16); }
  .stay__pills, .stay__tags { margin-top: var(--s-16); }
  .equip { gap: var(--s-8); }
  .equip__item { height: 48px; padding: 0 var(--s-16); }
  .link-more { gap: var(--s-8); margin-top: var(--s-16); font-size: 16px; }
  .link-more .icon { width: 16px; height: 16px; }
  .stay__avis-all .link-more { font-size: 16px; }
  .stay__slider .reviews__list { grid-auto-columns: 85%; }
  .info-card { padding: var(--s-20); }
  .hours dd { font-size: 26px; }
  .rules li { font-size: 17px; }
  .book__price strong { font-size: 46px; }
  .book__field { padding: var(--s-16); }
  .map__head { flex-wrap: wrap; row-gap: var(--s-4); }
  .map__card::after { box-shadow: inset 0 0 24px 16px var(--bg); }
  .other__img img { height: 240px; }
  .other__img .chip-photos--card { opacity: 1; transform: none; }
  .tour__bar { padding: var(--s-8) var(--gutter) var(--s-8); }
  .tour__title { color: var(--blue-700); font: 600 21px/1.2 var(--f-serif); }
  .tour__close { width: 40px; height: 40px; border: 0; background: transparent; }
  .tour__close:hover { background: var(--taupe-50); }
  .tour__close .icon { width: 20px; height: 20px; }
  /* Pièces en icônes : tout tient sur une ligne */
  .tour__links { display: flex; justify-content: space-between; padding-block: var(--s-4) var(--s-8); }   /* l'ombre de la pastille active n'est plus coupée */
  .tour__room { justify-content: center; width: 48px; height: 48px; padding: 0; color: color-mix(in srgb, var(--taupe-700) 60%, transparent); }
  .tour__room .icon { display: block; }
  /* Pas de survol au doigt ; la pièce active = pastille blanche avec une ombre légère */
  .tour__room:hover { background: none; color: color-mix(in srgb, var(--taupe-700) 60%, transparent); }
  .tour__room.is-active, .tour__room.is-active:hover { background: var(--white); color: var(--blue-700); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 10%, transparent), 0 4px 12px -4px color-mix(in srgb, var(--blue-900) 20%, transparent); }
  .tour__room.is-active::after { content: none; }
  .tour__room-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tour__section { width: 100%; margin-top: var(--s-40); }
  .tour__h { padding-inline: var(--gutter); }
  .tour__grid { grid-template-columns: 1fr; gap: var(--s-8); padding-inline: var(--frame); }   /* photos : marge des fonds (10 px) */
  .tour__photo { border-radius: var(--r-12); }
  .tour__photo:not(:nth-child(3n + 1)) img { aspect-ratio: auto; }
  .lightbox__close { top: var(--s-12); right: var(--s-12); }
  .lightbox__nav { width: 46px; height: 46px; }
  .lightbox__nav--prev { left: var(--s-16); }
  .lightbox__nav--next { right: var(--s-16); }
  /* Fenêtres (équipements…) en tiroir qui monte du bas */
  .modal { top: auto; bottom: 0; width: 100%; max-width: none; max-height: 92dvh; margin: 0; border-radius: var(--r-20) var(--r-20) 0 0; box-shadow: none; }
  .modal[open] { animation: tour-up .45s cubic-bezier(.22, .61, .36, 1); }
  .modal.is-closing { animation: tour-down .4s cubic-bezier(.55, 0, .78, .39) forwards; }
  .modal__head { padding: var(--s-16) var(--s-20); }
  .modal__body { padding: 0 var(--s-20) var(--s-24); }
  .doc { margin-top: var(--s-60); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
}

/* ==========================================================================
   Pages intérieures : À découvrir, Journal, Tarifs, Contact, Réserver
   Deux marges seulement : --frame pour les fonds, --gutter pour le contenu.
   ========================================================================== */

/* Héros de page : gravure « fond », texte sur voile blanc (comme les pages gîtes, sans mosaïque) */
.hero--page { display: flex; flex-direction: column; height: 600px; }
.hero--page .hero__content { flex: 1; justify-content: center; padding: 110px 0 40px; }
.hero--page .hero__text { gap: var(--s-16); max-width: 880px; padding-inline: var(--gutter); }
.hero--page .hero__text::before { background: rgba(255, 255, 255, .7); }
.hero--page .hero__lead { max-width: 640px; font-size: 20px; }
.hero--page-plain { height: 480px; background: linear-gradient(160deg, var(--taupe-50), var(--taupe-100)); }
.hero--page-plain .hero__text::before { display: none; }
.hero--short { height: 480px; }

/* Sous-navigation À découvrir, à cheval sur le bas du héros */
.subnav { position: relative; z-index: 5; display: flex; justify-content: center; gap: var(--s-6); width: fit-content; margin: -50px auto 0; padding: var(--s-6); border-radius: var(--r-16); background: var(--white); box-shadow: var(--shadow-card); }
.subnav__link { display: inline-flex; align-items: center; gap: var(--s-8); height: 48px; padding: 0 var(--s-20); border-radius: var(--r-12); color: var(--taupe-600); font: 700 15px/1 var(--f-sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background-color .2s, color .2s; }
.subnav__link .icon { width: 18px; height: 18px; color: var(--taupe-400); }
.subnav__link:hover { background: var(--sky-tint); color: var(--blue-700); }
.subnav__link.is-active { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); color: var(--blue-700); }
.subnav__link.is-active .icon { color: var(--blue-500); }

/* Sections */
.sect { margin-top: var(--section); }
.sect--tight { margin-top: 80px; }
.sec-head { max-width: 760px; }
.sec-head .title { margin-top: var(--s-16); }
.sec-head__lead { margin-top: var(--s-16); color: var(--taupe-700); font: 500 19px/1.6 var(--f-sans); opacity: .85; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.lead-text { color: var(--taupe-700); font: 500 19px/1.65 var(--f-sans); }
.lead-text + .lead-text { margin-top: var(--s-16); }
.band { width: min(1800px, 100% - 40px); margin: var(--section) auto 0; padding: 90px 0; border-radius: var(--r-24); background: var(--taupe-50); }

/* Photo cliquable (visionneuse) avec gravure au survol */
.ph { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-16); overflow: hidden; background: var(--taupe-100); cursor: zoom-in; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease) !important; }
.ph:hover img { transform: scale(1.04); }
.ph:hover .ph__filtre, .ph:focus-visible .ph__filtre { opacity: .6; }
.ph .chip-photos { position: absolute; right: var(--s-12); bottom: var(--s-12); z-index: 1; }

/* Viserny, le village : texte + trois photos */
.village { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.village__photos { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: var(--s-12); height: 520px; }
.village__photos .ph:first-child { grid-row: 1 / 3; }
.village__facts { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-24); }

/* Carte des alentours */
.map-card { margin-top: var(--s-40); padding: var(--s-24) var(--s-32); border-radius: var(--r-24); background: var(--white); box-shadow: var(--shadow-card); }
.map-card .map__place { cursor: pointer; }
.map-card .map__place:hover .map__dot { fill: var(--blue-500); }
.map-card .map__place:hover .map__label { fill: var(--blue-500); }
.map-card__hint { display: none; }
.map-card__note { margin-top: var(--s-8); color: var(--taupe-500); font-size: 15px; text-align: center; }

/* Lieux à visiter, regroupés par temps de route */
.lieux-group { margin-top: 100px; }
.lieux-group__head { display: flex; align-items: baseline; gap: var(--s-16); padding-bottom: var(--s-16); border-bottom: 2px solid color-mix(in srgb, var(--taupe-300) 30%, transparent); }
.lieux-group__head .h3 { font-size: 34px; }
.lieux-group__head span { color: var(--taupe-500); font: 600 17px/1 var(--f-sans); }
.lieu { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: center; margin-top: 60px; scroll-margin-top: 40px; }
.lieu:nth-child(even of .lieu) .lieu__media { order: 2; }
.lieu__media .ph { aspect-ratio: 3 / 2; box-shadow: var(--shadow-card); }
.lieu__km { display: flex; align-items: baseline; gap: var(--s-12); color: var(--blue-700); font: 700 44px/1 var(--f-serif); }
.lieu__km small { font-size: 22px; }
.lieu__km span { color: var(--taupe-500); font: 600 16px/1 var(--f-sans); letter-spacing: .04em; }
.lieu__title { margin-top: var(--s-16); color: var(--blue-700); font: 600 38px/1.15 var(--f-serif); }
.lieu__text { margin-top: var(--s-16); color: var(--taupe-700); font: 500 18px/1.6 var(--f-sans); opacity: .85; }
.lieu__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12) var(--s-20); margin-top: var(--s-20); }
.lieu__link { display: inline-flex; align-items: center; gap: var(--s-6); color: var(--blue-600); font: 600 16px/1 var(--f-sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue-500) 35%, transparent); text-underline-offset: 4px; }
.lieu__link .icon { width: 16px; height: 16px; }
.lieu__link:hover { color: var(--blue-500); }

/* Mise en avant (photo + texte), utilisée par Activités et Gastronomie */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s-12); height: 500px; }
.feature__media .ph:first-child { grid-row: 1 / 3; }
.feature__media--one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.feature__media--two { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr; }
.feature__media--two .ph:first-child { grid-row: auto; }
.feature__media--two .ph:last-child { align-self: end; height: 70%; }
.feature__media .ph { height: 100%; box-shadow: var(--shadow-card); }
.feature__body .title { margin-top: var(--s-16); }
.feature__body .lead-text { margin-top: var(--s-20); }
.checks { display: flex; flex-direction: column; gap: var(--s-12); margin-top: var(--s-24); }
.checks li { display: flex; gap: var(--s-12); color: var(--taupe-700); font: 500 17px/1.5 var(--f-sans); }
.checks .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue-500); }
.checks strong { color: var(--blue-700); }

/* Cartes « idée » (sans photo) et cartes photo */
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); margin-top: var(--s-40); }
.ideas--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ideas.ideas--stack { grid-template-columns: 1fr; margin-top: 0; }
.ideas--stack .idea { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-20); }
.ideas--stack .idea__ico { grid-row: 1 / 4; }
.ideas--stack .idea__title { margin-top: 0; }
.ideas--stack .idea__meta { padding-top: var(--s-12); }
.idea { display: flex; flex-direction: column; padding: var(--s-32); }
.idea__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-16); background: var(--sky-tint); color: var(--blue-500); }
.idea__ico .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.idea__title { margin-top: var(--s-20); color: var(--blue-700); font: 600 26px/1.2 var(--f-serif); }
.idea__text { margin-top: var(--s-12); color: var(--taupe-700); font: 500 17px/1.6 var(--f-sans); opacity: .85; }
.idea__meta { display: flex; align-items: center; gap: var(--s-6); margin-top: auto; padding-top: var(--s-20); color: var(--taupe-500); font: 600 15px/1.3 var(--f-sans); }
.idea__meta .icon { width: 16px; height: 16px; }
.idea__link { display: inline-flex; align-items: center; gap: var(--s-6); margin-top: var(--s-12); color: var(--blue-600); font: 600 15px/1 var(--f-sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--blue-500) 35%, transparent); }
.idea__link .icon { width: 15px; height: 15px; }
.idea--photo { padding: 0; overflow: hidden; }
.idea--photo .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.idea--photo .idea__in { display: flex; flex: 1; flex-direction: column; padding: var(--s-24) var(--s-32) var(--s-32); }
.idea--photo .idea__title { margin-top: 0; }

/* Liens vers les deux autres pages À découvrir */
.next-pages { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-24); margin-top: var(--s-40); }
.next-page { position: relative; display: flex; align-items: flex-end; min-height: 300px; padding: var(--s-32); border-radius: var(--r-20); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; box-shadow: var(--shadow-card); }
.next-page img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--blue-900) 72%, transparent), transparent 70%); }
.next-page:hover img { transform: scale(1.04); }
.next-page small { display: block; font: 700 14px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.next-page strong { display: flex; align-items: center; gap: var(--s-12); margin-top: var(--s-8); font: 600 36px/1.1 var(--f-serif); }
.next-page .icon { width: 26px; height: 26px; transition: transform .25s var(--ease); }
.next-page:hover .icon { transform: translateX(6px); }

/* Marchés et horaires : petites cartes d'info */
.infos-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-24); margin-top: var(--s-40); }
.infos-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-tile { display: flex; gap: var(--s-20); padding: var(--s-24) var(--s-32); border: 1px solid var(--taupe-100); border-radius: var(--r-16); background: rgba(255, 255, 255, .6); }
.info-tile .idea__ico { flex: none; }
.info-tile h3 { color: var(--blue-700); font: 600 24px/1.2 var(--f-serif); }
.info-tile p { margin-top: var(--s-6); color: var(--taupe-700); font: 500 17px/1.5 var(--f-sans); opacity: .85; }

/* Journal : liste */
.jfeat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-32); margin-top: var(--s-40); }
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-40) var(--s-32); margin-top: var(--s-40); }
.jcard { display: flex; flex-direction: column; border-radius: var(--r-20); color: inherit; text-decoration: none; }
.jcard__img { position: relative; overflow: hidden; border-radius: var(--r-16); aspect-ratio: 4 / 3; background: var(--taupe-100); }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.04); }
.jcard__img--none { display: grid; place-items: center; color: var(--taupe-400); }
.jcard__img--none img { position: absolute; inset: 0; opacity: .9; }
.jcard__count { position: absolute; right: var(--s-12); bottom: var(--s-12); }
.jcard__date { margin-top: var(--s-16); color: var(--taupe-500); font: 700 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.jcard__title { display: -webkit-box; margin-top: var(--s-8); overflow: hidden; color: var(--blue-700); font: 600 22px/1.3 var(--f-serif); -webkit-line-clamp: 3; -webkit-box-orient: vertical; transition: color .2s; }
.jcard:hover .jcard__title { color: var(--blue-500); }
.jcard__text { margin-top: var(--s-8); color: var(--taupe-700); font: 500 16px/1.55 var(--f-sans); opacity: .85; }
.jcard--big .jcard__img { aspect-ratio: 16 / 10; }
.jcard--big .jcard__title { font-size: 32px; -webkit-line-clamp: 4; }
.jcard[hidden] { display: none; }
.jmore { display: flex; flex-direction: column; align-items: center; gap: var(--s-12); margin-top: var(--s-60); }
.jmore p { color: var(--taupe-500); font-size: 15px; }
.jyear { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-16); color: var(--taupe-400); font: 700 italic 30px/1 var(--f-serif); }
.jyear::after { content: ""; flex: 1; height: 2px; background: color-mix(in srgb, var(--taupe-300) 30%, transparent); }

/* Journal : article */
.hero--article h1.hero__title, .hero--article h1.hero__title em { font-size: 44px; line-height: 1.2; }
.art { width: min(820px, 100% - 2 * var(--gutter)); margin: 80px auto 0; }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-8) var(--s-16); color: var(--taupe-500); font: 600 15px/1 var(--f-sans); }
.art__body { color: var(--taupe-800); font: 500 19px/1.7 var(--f-sans); }
.art__body p + p { margin-top: var(--s-20); }
.art__body h2 { margin: var(--s-40) 0 var(--s-16); color: var(--blue-700); font: 600 30px/1.25 var(--f-serif); }
.art__body a { color: var(--blue-600); text-underline-offset: 4px; }
.art__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); width: min(1060px, 100% - 2 * var(--gutter)); margin: var(--s-40) auto 0; }
.art__gallery .ph { aspect-ratio: 4 / 3; }
.art__gallery .ph:only-child, .art__gallery .ph:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: auto; max-height: 720px; }
.art__gallery .ph:only-child img, .art__gallery .ph:first-child:nth-last-child(odd) img { height: auto; max-height: 720px; object-fit: contain; background: var(--taupe-50); }
.art__body + .art__gallery { margin-top: var(--s-60); }
.art__stay { display: grid; grid-template-columns: 1fr auto; gap: var(--s-24); align-items: center; width: min(1060px, 100% - 2 * var(--gutter)); margin: 80px auto 0; padding: var(--s-32) var(--s-40); border-radius: var(--r-20); background: var(--taupe-50); }
.art__stay h2 { color: var(--blue-700); font: 600 28px/1.2 var(--f-serif); }
.art__stay p { margin-top: var(--s-8); color: var(--taupe-700); font-size: 17px; }
.art__stay-btns { display: flex; gap: var(--s-12); }
.jhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-24); }
.art__back { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--taupe-600); font: 600 16px/1 var(--f-sans); text-decoration: none; }
.art__back:hover { color: var(--blue-600); }
.art__back .icon { width: 18px; height: 18px; }
.art__empty { color: var(--taupe-600); font-style: italic; text-align: center; }

/* Tarifs */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-32); margin-top: var(--s-40); }
.price-card { display: flex; flex-direction: column; padding: var(--s-12); }
.price-card__img { position: relative; overflow: hidden; border-radius: var(--r-12); aspect-ratio: 16 / 9; }
.price-card__img img { width: 100%; height: 100%; object-fit: cover; }
.price-card__body { display: flex; flex: 1; flex-direction: column; padding: var(--s-24) var(--s-20) var(--s-12); }
.price-card__name { color: var(--blue-700); font: 600 32px/1.1 var(--f-serif); }
.price-card__name small { display: block; color: var(--taupe-400); font: 700 30px/1 var(--f-script); }
.price-card__cap { margin-top: var(--s-8); color: var(--taupe-500); font: 600 16px/1.3 var(--f-sans); }
.price-table { width: 100%; margin-top: var(--s-20); border-collapse: collapse; }
.price-table th, .price-table td { padding: var(--s-12) 0; border-bottom: 1px solid var(--taupe-100); text-align: left; }
.price-table th { color: var(--taupe-700); font: 500 17px/1.3 var(--f-sans); }
.price-table td { color: var(--blue-700); font: 700 24px/1 var(--f-serif); text-align: right; white-space: nowrap; }
.price-table td small { color: var(--taupe-500); font: 600 14px/1 var(--f-sans); }
.price-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); margin-top: auto; padding-top: var(--s-24); }
.price-card__btns .btn { height: 54px; font-size: 18px; }
.opt-table { width: 100%; margin-top: var(--s-32); border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--taupe-100); border-radius: var(--r-16); background: var(--white); }
.opt-table th, .opt-table td { padding: var(--s-16) var(--s-24); border-bottom: 1px solid var(--taupe-100); text-align: left; }
.opt-table tr:last-child td, .opt-table tr:last-child th { border-bottom: 0; }
.opt-table thead th { background: var(--taupe-50); color: var(--taupe-500); font: 700 13px/1.3 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.opt-table tbody th { color: var(--taupe-800); font: 500 17px/1.4 var(--f-sans); }
.opt-table tbody th .icon { width: 18px; height: 18px; margin-right: var(--s-12); color: var(--taupe-400); vertical-align: -3px; }
.opt-table td { color: var(--blue-700); font: 700 20px/1 var(--f-serif); white-space: nowrap; }
.opt-table td.is-na { color: var(--taupe-300); font-family: var(--f-sans); font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); margin-top: var(--s-40); counter-reset: step; }
.step { position: relative; padding: var(--s-32); border-radius: var(--r-20); background: var(--white); box-shadow: var(--shadow-card); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-700); color: var(--white); font: 700 22px/1 var(--f-serif); }
.step h3 { margin-top: var(--s-20); color: var(--blue-700); font: 600 24px/1.2 var(--f-serif); }
.step p { margin-top: var(--s-8); color: var(--taupe-700); font: 500 17px/1.55 var(--f-sans); opacity: .85; }
.faq { max-width: 860px; margin: var(--s-40) auto 0; }
.faq details { border-bottom: 2px solid color-mix(in srgb, var(--taupe-300) 30%, transparent); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); padding: var(--s-24) 0; color: var(--blue-700); font: 600 22px/1.3 var(--f-serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 22px; height: 22px; color: var(--taupe-400); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 var(--s-24); color: var(--taupe-700); font: 500 17px/1.65 var(--f-sans); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: start; margin-top: 80px; }
.form-card { padding: var(--s-40); }
.form-card .h3 { margin-bottom: var(--s-8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-20); margin-top: var(--s-24); }
.field { display: flex; flex-direction: column; gap: var(--s-8); }
.field--wide { grid-column: 1 / -1; }
.field label, .field .field__label { color: var(--taupe-600); font: 700 13px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.field label small { color: var(--taupe-400); font-weight: 600; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; height: 54px; padding: 0 var(--s-16); border: 1px solid var(--taupe-100); border-radius: var(--r-12); background: var(--bg); color: var(--blue-800); font: 500 17px/1.4 var(--f-sans); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { height: 150px; padding: var(--s-12) var(--s-16); resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--taupe-50); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-400); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-300) 25%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin-top: var(--s-16); color: var(--taupe-500); font-size: 14px; line-height: 1.5; }
.form-legal a { color: inherit; }
.form-card .btn { margin-top: var(--s-24); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-12); padding: var(--s-24) 0 0; }
.form-done .idea__ico { background: color-mix(in srgb, #8FB04E 18%, transparent); color: #6E8E33; }
.form-done h3 { color: var(--blue-700); font: 600 28px/1.2 var(--f-serif); }
.form-done p { color: var(--taupe-700); font: 500 17px/1.6 var(--f-sans); }
.hosts { padding: var(--s-32); }
.hosts__line { overflow-wrap: anywhere; display: flex; align-items: center; gap: var(--s-16); padding: var(--s-16) 0; border-bottom: 1px solid var(--taupe-100); color: var(--blue-700); font: 600 20px/1.2 var(--f-serif); text-decoration: none; }
.hosts__line:last-of-type { border-bottom: 0; }
.hosts__line .idea__ico { width: 48px; height: 48px; }
.hosts__line .idea__ico .icon { width: 22px; height: 22px; }
.hosts__line small { display: block; margin-bottom: var(--s-4); color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
a.hosts__line:hover { color: var(--blue-500); }
.hosts__quote { margin-top: var(--s-20); padding: var(--s-20) var(--s-24); border-radius: var(--r-12); background: var(--taupe-50); color: var(--taupe-700); font: italic 500 18px/1.55 var(--f-serif); }
.access { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: center; }
.access__map { position: relative; overflow: hidden; }
.access__map img { display: block; width: 100%; height: auto; }
.access__map::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 40px 30px var(--taupe-50); pointer-events: none; }

/* Réserver */
.cal-bar.is-alert { box-shadow: inset 0 0 0 2px var(--red-400); }
.rbar { display: none; }

@media (max-width: 1300px) {
  .village, .feature { gap: var(--s-60); }
}
@media (max-width: 1100px) {
  .ideas { grid-template-columns: 1fr 1fr; }
  .jgrid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact, .access { grid-template-columns: minmax(0, 1fr); }
  .lieu { gap: var(--s-40); }
  .lieu__title { font-size: 32px; }
}
@media (max-width: 900px) {
  .village, .feature, .lieu, .jfeat { grid-template-columns: 1fr; }
  .village__photos, .feature__media { height: 420px; }
  .feature--rev .feature__media, .lieu:nth-child(even of .lieu) .lieu__media { order: 0; }
  .lieu { gap: var(--s-24); margin-top: var(--s-60); }
  .price-cards, .next-pages, .infos-row, .infos-row--3 { grid-template-columns: 1fr; }
  .art__stay { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero--page { height: auto; min-height: 460px; }
  .hero--page .hero__content { padding: 120px calc(var(--gutter) - var(--frame)) 70px; }
  .hero--page .hero__text { padding-inline: 0; }
  .hero--page h1.hero__title, .hero--page h1.hero__title em { font-size: 38px; }
  .hero--page .hero__lead { font-size: 17px; }
  .hero--page-plain, .hero--short { min-height: 380px; }
  .hero--article h1.hero__title, .hero--article h1.hero__title em { font-size: 28px; }
  .subnav { width: calc(100% - 2 * var(--gutter)); margin-top: -46px; gap: var(--s-4); padding: var(--s-4); }
  .subnav__link { flex: 1; flex-direction: column; justify-content: center; gap: var(--s-4); height: 64px; padding: 0 var(--s-4); font-size: 12px; letter-spacing: .04em; }
  .subnav__link .icon { width: 20px; height: 20px; }
  .sect { margin-top: 64px; }
  .sect--tight { margin-top: 48px; }
  .sec-head .title { margin-top: var(--s-12); }
  .sec-head__lead, .lead-text { font-size: 17px; }
  .band { width: calc(100% - 2 * var(--frame)); padding: 56px 0; }
  .village__photos, .feature__media { height: 300px; gap: var(--s-8); }
  .village { gap: var(--s-32); }
  .feature { gap: var(--s-32); }
  .map-card { padding: var(--s-8); border-radius: var(--r-16); overflow-x: auto; }
  .map-card .map__svg { min-width: 760px; }
  .lieu__meta .pill, .idea .pill { height: auto; min-height: 32px; padding: var(--s-6) var(--s-12); line-height: 1.3; }
  .map-card__hint { display: block; margin-top: var(--s-8); color: var(--taupe-500); font-size: 14px; text-align: center; }
  .lieux-group { margin-top: 64px; }
  .lieux-group__head { flex-direction: column; gap: var(--s-6); }
  .lieux-group__head .h3 { font-size: 28px; }
  .lieu { margin-top: 40px; gap: var(--s-20); }
  .lieu__km { font-size: 34px; }
  .lieu__title { margin-top: var(--s-12); font-size: 28px; }
  .lieu__text { font-size: 17px; }
  .ideas, .ideas--2, .jgrid { grid-template-columns: 1fr; gap: var(--s-16); }
  .jgrid { gap: var(--s-32); }
  .idea { padding: var(--s-24); }
  .idea--photo { padding: 0; }
  .idea--photo .idea__in { padding: var(--s-20) var(--s-24) var(--s-24); }
  .idea__title { font-size: 23px; }
  .next-page { min-height: 200px; padding: var(--s-24); }
  .next-page strong { font-size: 28px; }
  .info-tile { padding: var(--s-20); gap: var(--s-16); }
  .jcard--big .jcard__title { font-size: 26px; }
  .art { margin-top: 48px; }
  .jhead { flex-direction: column; align-items: flex-start; gap: var(--s-16); }
  .art__body { font-size: 17px; }
  .art__body h2 { font-size: 25px; }
  .art__gallery { grid-template-columns: 1fr; width: calc(100% - 2 * var(--frame)); gap: var(--s-8); }
  .art__gallery .ph { border-radius: var(--r-12); }
  .art__stay { width: calc(100% - 2 * var(--frame)); padding: var(--s-24) calc(var(--gutter) - var(--frame)); }
  .art__stay-btns { flex-direction: column; }
  .art__stay-btns .btn { flex: none; }
  .price-card__name { font-size: 28px; }
  .price-card__body { padding: var(--s-20) var(--s-12) var(--s-8); }
  .price-card__btns { grid-template-columns: 1fr; }
  .opt-table th, .opt-table td { padding: var(--s-12) var(--s-12); }
  .opt-table tbody th { font-size: 15px; }
  .opt-table tbody th .icon { display: none; }
  .opt-table td { font-size: 17px; }
  .step { padding: var(--s-24); }
  .faq summary { font-size: 19px; padding: var(--s-20) 0; }
  .contact { margin-top: 48px; gap: var(--s-32); }
  .form-card { padding: var(--s-24); }
  .form-grid { grid-template-columns: 1fr; }
  .hosts { padding: var(--s-24); }
  .access { gap: var(--s-32); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tarifs : deux tableaux en cartes, qui chevauchent le héros */
.hero--overlap .hero__content { padding-bottom: 120px; }
.tarifs { position: relative; z-index: 5; display: grid; gap: var(--s-32); margin-top: -80px; }
.tarifs__card { padding: var(--s-32) var(--s-40) var(--s-40); }
.ttable { width: 100%; margin-top: var(--s-20); border-collapse: collapse; table-layout: fixed; }
.ttable__lib { width: 40%; }
.ttable th, .ttable td { padding: var(--s-20) var(--s-16); border-bottom: 1px solid var(--taupe-100); text-align: left; vertical-align: middle; }
.ttable th:first-child, .ttable td:first-child { padding-left: 0; }
.ttable thead th, .ttable thead td { padding-top: 0; border-bottom: 2px solid var(--taupe-200); }
.ttable__gite { color: var(--blue-700); font: 600 28px/1.15 var(--f-serif); text-decoration: none; }
a.ttable__gite:hover { color: var(--blue-500); }
.ttable tbody th { color: var(--taupe-800); font: 500 18px/1.35 var(--f-sans); }
.ttable tbody td { color: var(--blue-700); font: 700 26px/1 var(--f-serif); }
.ttable tbody td.is-txt { font: 600 17px/1.35 var(--f-sans); }
.ttable tbody td.is-na { color: var(--taupe-300); font: 500 18px/1 var(--f-sans); }
.ttable tfoot td { padding-top: var(--s-24); padding-bottom: 0; border-bottom: 0; }
.ttable tfoot .btn { height: 54px; font-size: 18px; }
.tarifs__note { margin-top: var(--s-16); color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); }
@media (max-width: 600px) {
  .tarifs { gap: var(--s-20); margin-top: -40px; }
  .hero--overlap .hero__content { padding-bottom: 80px; }
  .tarifs__card { padding: var(--s-20) var(--s-16) var(--s-24); }
  .ttable__lib { width: 34%; }
  .ttable th, .ttable td { padding: var(--s-12) var(--s-6); }
  .ttable__gite { font-size: 19px; }
  .ttable tbody th { font-size: 14px; }
  .ttable tbody td { font-size: 20px; }
  .ttable tbody td.is-txt { font-size: 13px; }
  .ttable tbody td.is-na { font-size: 15px; }
  .ttable tfoot .btn { width: 100%; height: 46px; padding: 0 var(--s-8); font-size: 16px; }
  .tarifs__note { font-size: 14px; }
}
.ttable thead th, .ttable tbody td, .ttable tfoot td { text-align: right; }
.ttable th:last-child, .ttable td:last-child { padding-right: 0; }
.ttable__cap { display: block; margin-top: var(--s-6); color: var(--taupe-500); font: 500 15px/1.3 var(--f-sans); }
@media (max-width: 600px) { .ttable__cap { font-size: 12px; } }
.ttable tbody td { font: 600 18px/1.3 var(--f-sans); font-variant-numeric: tabular-nums; }
.ttable tbody td.is-txt { font-size: 16px; }
@media (max-width: 600px) { .ttable tbody td { font-size: 15px; } .ttable tbody td.is-txt { font-size: 13px; } }
.tarifs { width: min(900px, 100% - 2 * var(--gutter)); }
.ttable__cap { margin-top: var(--s-2); }

/* Tarifs v2 : navigation interne qui chevauche le héros, titres hors des cartes */
.page-tarifs .sect[id] { scroll-margin-top: 110px; }
.tarifs { position: static; display: block; width: min(900px, 100% - 2 * var(--gutter)); margin-top: 80px; }
.tarifs__title { margin-bottom: var(--s-20); text-align: center; }
.tarifs__title--next { margin-top: var(--s-60); }
.tarifs .ttable { margin-top: 0; }
@media (max-width: 600px) {
  .tarifs { margin-top: 60px; }
  .tarifs__title { margin-bottom: var(--s-16); }
  .tarifs__title--next { margin-top: var(--s-40); }
  .page-tarifs .sect[id] { scroll-margin-top: 90px; }
}
.ttable__gite { font-size: 24px; line-height: 1.05; }
.ttable__cap { margin-top: 0; }
.ttable th, .ttable td { border-bottom-width: 2px; }
.ttable thead th, .ttable thead td { padding-bottom: var(--s-16); border-bottom: 2px solid var(--taupe-100); }
@media (max-width: 600px) { .ttable__gite { font-size: 18px; } .ttable thead th, .ttable thead td { padding-bottom: var(--s-8); } }
.ttable th, .ttable td, .ttable thead th, .ttable thead td { border-bottom-color: color-mix(in srgb, var(--taupe-300) 25%, transparent); }
.ttable tfoot td { border-bottom: 0; }
.ttable { border-collapse: separate; border-spacing: 0; }
.tarifs__card + .tarifs__card { margin-top: var(--s-32); }
.ttable thead th:first-child { text-align: left; }
.ttable__title { color: var(--blue-700); font: 600 34px/1.1 var(--f-serif); }
.tarifs__cta { margin-top: var(--s-40); text-align: center; }
@media (max-width: 600px) { .ttable__title { font-size: 24px; } .tarifs__card + .tarifs__card { margin-top: var(--s-20); } .tarifs__cta { margin-top: var(--s-24); } }
.ttable__title { font-size: 28px; }
.ttable--options { margin-top: var(--s-60); }
.tarifs .ttable--options { margin-top: var(--s-60); }
.ttable__sub { color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); }
@media (max-width: 600px) { .ttable__title { font-size: 22px; } .tarifs .ttable--options { margin-top: var(--s-40); } .ttable__sub { font-size: 13px; } }
.tarifs { position: relative; z-index: 5; width: min(1000px, 100% - 2 * var(--gutter)); margin-top: -80px; }
@media (max-width: 600px) { .tarifs { margin-top: -40px; } }

/* Le premier trait du tableau s'aligne sur le bas du héros (valeur affinée en JS selon la hauteur de l'en-tête du tableau) */
.tarifs { margin-top: var(--tarifs-mt, -120px); }
.hero--overlap .hero__content { padding-bottom: 160px; }
@media (max-width: 600px) { .tarifs { margin-top: var(--tarifs-mt, -128px); } .hero--overlap .hero__content { padding-bottom: 140px; } }
/* Tarifs : caution, une ligne */
.caution { display: flex; justify-content: center; gap: var(--s-8); align-items: flex-start; margin-top: 28px; padding: 0; color: var(--taupe-700); font: 500 16px/1.5 var(--f-sans); }
.caution .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue-500); }
.caution strong { color: var(--taupe-800); font-weight: 600; }
@media (max-width: 600px) { .caution { justify-content: flex-start; font-size: 14px; } }
.page-tarifs #questions { margin-bottom: var(--section); }

/* Réservation : 3 étapes + carte « C'est réservé » (design Figma 81:964) */
.resa1 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-32); align-items: start; margin-top: var(--s-40); padding-left: 0; list-style: none; }
.resa1__item { position: relative; display: flex; flex-direction: column; gap: var(--s-24); overflow: clip; padding: 54px var(--s-24) var(--s-20); border-radius: var(--r-20); background: var(--white); box-shadow: var(--shadow-card); }
.resa1__num { position: absolute; top: -5px; left: 17px; color: var(--taupe-200); font: 700 80px/1.5 var(--f-serif); letter-spacing: .01em; opacity: .3; pointer-events: none; }
.resa1 h3 { position: relative; color: var(--blue-600); font: 500 24px/1.15 var(--f-serif); }
.resa1 p { position: relative; margin: 0; color: var(--taupe-700); font: 400 16px/1.5 var(--f-sans); letter-spacing: .01em; }
.resa1 strong { font-weight: 700; }
.resa1__item--ok { align-self: stretch; align-items: center; justify-content: flex-end; gap: var(--s-12); padding-bottom: var(--s-24); box-shadow: var(--shadow-card), inset 0 0 20px 10px var(--white); }
.resa1__item--ok::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, #fff 100%), linear-gradient(0deg, rgba(254, 254, 254, .1), rgba(138, 196, 117, .1)); }
.resa1__item--ok::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 20px 10px var(--white); pointer-events: none; }
.resa1__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resa1__check { position: absolute; top: 62px; left: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid color-mix(in srgb, var(--taupe-600) 50%, transparent); border-radius: 999px; background: rgba(255, 255, 255, .2); color: var(--taupe-600); transform: translateX(-50%); }
.resa1__check .icon { width: 24px; height: 24px; }
.resa1__item--ok h3 { z-index: 3; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: .96px; text-align: center; text-transform: uppercase; }   /* Figma : 24 px en petites capitales forcées = capitales à 22 px */
@media (max-width: 900px) { .resa1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-20); } }
@media (max-width: 600px) {
  .resa1 { grid-template-columns: 1fr; gap: var(--s-16); margin-top: var(--s-24); }
  .resa1__num { font-size: 64px; }
  .resa1__item { gap: var(--s-12); padding-top: 44px; }
  .resa1__item--ok { min-height: 200px; }
}

/* Conditions : règles en pastilles, puis 6 cartes */
.cond-rules { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8); margin-top: var(--s-32); padding: 0; list-style: none; }
.cond-rules li { display: inline-flex; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-16); border: 1px solid color-mix(in srgb, var(--taupe-300) 40%, transparent); border-radius: 999px; background: var(--white); color: var(--taupe-700); font: 600 15px/1 var(--f-sans); }
.cond-rules .icon { width: 16px; height: 16px; color: var(--taupe-500); }
.cond-rules .is-ok { border-color: #8FB04E; }
.cond-rules .is-ok .icon { color: #7A9B3C; }
.cond-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); margin-top: var(--s-40); }
.cond-card { padding: var(--s-32); }
.cond-card h3 { color: var(--blue-600); font: 500 24px/1.15 var(--f-serif); }
.cond-card p { margin-top: var(--s-12); color: var(--taupe-700); font: 400 16px/1.5 var(--f-sans); }
@media (max-width: 900px) { .cond-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cond-cards { grid-template-columns: 1fr; gap: var(--s-12); margin-top: var(--s-24); } .cond-card { padding: var(--s-20); } .cond-rules { margin-top: var(--s-24); } .cond-rules li { font-size: 14px; } }
.cond-card { border-radius: var(--r-20); background: var(--taupe-50); }
.cond-card strong { color: var(--taupe-800); font-size: 18px; font-weight: 700; }
.cond-card__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-16); border-radius: var(--r-12); background: var(--white); color: var(--blue-500); }
.cond-card__ico .icon { width: 20px; height: 20px; }
.tarifs-contact { margin-top: 60px; margin-bottom: var(--section); color: var(--taupe-700); font: 500 18px/1.5 var(--f-sans); text-align: center; }
.tarifs-contact a { color: var(--blue-600); font-weight: 600; }
.cond-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-16); align-items: center; align-content: start; }
.cond-card__ico { margin-bottom: 0; }
.cond-card p { grid-column: 1 / -1; }
.cond-card__ico { border-radius: var(--r-8); }
.cond-card__ico { position: relative; top: -8px; right: -8px; }
.cond-card__ico { border: 1px solid color-mix(in srgb, var(--taupe-300) 45%, transparent); background: rgba(255, 255, 255, .45); }
.cond-card { padding: var(--s-24) var(--s-32) 28px; }
.cond-card p { margin-top: var(--s-8); }
@media (max-width: 600px) { .cond-card { padding: var(--s-12) var(--s-20) var(--s-16); } }
.cond-card__ico { top: 0; right: 0; }
.cond-card p { margin-top: var(--s-12); }
.cond-card__ico { right: -8px; }
.cond-card { transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .cond-card:hover { background: var(--white); box-shadow: var(--shadow-card); } }
.tarifs-contact a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--blue-600) 40%, transparent); transition: color .2s, text-decoration-color .2s, text-underline-offset .2s; }
.tarifs-contact a:hover { color: var(--blue-500); text-decoration-color: currentColor; text-underline-offset: 5px; }
/* Héros des pages intérieures : le voile blanc suit la largeur réelle du texte, sans mot orphelin */
.hero--page .hero__text { width: fit-content; padding-inline: 0; }
.hero--page .hero__title, .hero--page .hero__lead { text-wrap: balance; }
.hero--page .hero__lead { max-width: 680px; }
@media (max-width: 900px) { .hero--page .hero__text { max-width: 100%; } }


/* À visiter : la carte illustrée de la page gîte, avec la liste des lieux en liens */
.map__body--visiter { margin-top: var(--s-40); }
.map__chips--links { gap: var(--s-8); padding: 0; list-style: none; }
.map__chips--links .pill--map { height: 38px; font-size: 16px; text-decoration: none; transition: background-color .2s, color .2s; }
.map__chips--links .pill--map:hover { background: var(--white); color: var(--blue-600); }
.map__chips--links .pill--map:hover .icon { color: var(--blue-500); }
.lieux { margin-top: 40px; }
.lieu__km + .lieu__title { margin-top: var(--s-16); }
.lieu__title:first-child { margin-top: 0; }
.lieu__text + .lieu__text { margin-top: var(--s-12); }
.lieu--sans-photo { grid-template-columns: minmax(0, 1fr); }
.lieu--sans-photo .lieu__body { max-width: 760px; margin-inline: auto; }
.sect--suite { margin-bottom: var(--section); }
@media (max-width: 900px) { .map__body--visiter { grid-template-columns: 1fr; } .map__chips--links { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 600px) { .map__chips--links .pill--map { height: 34px; font-size: 14px; } }
/* À visiter : héros plus haut qui porte le titre et l'introduction ; liste des lieux sur deux colonnes */
.hero--page.hero--tall { height: 760px; }
.hero--tall .hero__lead { max-width: 760px; font-size: 19px; }
.map__body--visiter { grid-template-columns: minmax(0, 1fr) auto; }
.map__chips--links { display: grid; grid-template-columns: repeat(2, auto); align-content: center; }
.map__chips--links .pill--map { width: 100%; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s; }
.map__chips--links .pill--map:hover { background: var(--white); border-color: color-mix(in srgb, var(--blue-500) 45%, transparent); color: var(--blue-500); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 8%, transparent), 0 10px 22px -10px color-mix(in srgb, var(--blue-800) 35%, transparent); }
@media (max-width: 1100px) { .map__body--visiter { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero--page.hero--tall { height: auto; min-height: 620px; } .hero--tall .hero__lead { font-size: 16px; } .map__chips--links { grid-template-columns: 1fr; } }
.hero--page.hero--tall { height: calc(100vh - 80px); min-height: 680px; }
.hero--tall .hero__lead { max-width: 820px; font-size: 21px; line-height: 1.6; }
.hero--tall .hero__lead + .hero__lead { margin-top: 4px; }   /* 16 px d'écart de la pile + 4 = 20 px entre les paragraphes */
@media (max-width: 600px) { .hero--page.hero--tall { height: auto; min-height: 620px; } .hero--tall .hero__lead { font-size: 17px; } }
.hero--tall .hero__lead + .hero__lead { margin-top: -1px; }   /* 16 px d'écart de la pile - 1 = 15 px entre les paragraphes */
.hero--tall .hero__title { margin-bottom: 10px; }               /* 16 + 10 = 26 px entre le titre et le premier paragraphe */
.hero--page.hero--tall { max-height: 840px; }
/* Liste des lieux à côté de la carte : nom à gauche, distance à droite (secondaire) */
.map__chips--links .pill--map { justify-content: space-between; gap: var(--s-16); }
.map__chips--links .pill__km { display: inline-flex; align-items: center; gap: var(--s-4); color: var(--taupe-500); font: 600 13px/1 var(--f-sans); white-space: nowrap; }
.map__chips--links .pill__km .icon { width: 13px; height: 13px; }
.map__chips--links .pill__name { color: var(--taupe-800); font: 600 16px/1 var(--f-sans); white-space: nowrap; }
.map__chips--links .pill--map:hover .pill__name, .map__chips--links .pill--map:hover .pill__km { color: var(--blue-500); }
@media (max-width: 600px) { .map__chips--links .pill__name { font-size: 14px; } }
/* À visiter : plus d'air entre les lieux, distance en petite pastille, photo : gravure pleine et « N photos » au centre au survol */
.lieux .lieu { margin-top: 120px; }
.lieux .lieu:first-child { margin-top: 0; }
.lieu__dist { width: fit-content; margin-bottom: var(--s-16); }
.lieu__dist + .lieu__title { margin-top: 0; }
.lieux .ph .chip-photos { top: 50%; right: auto; bottom: auto; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lieux .ph:hover .ph__filtre, .lieux .ph:focus-visible .ph__filtre { opacity: 1; }
.lieux .ph:hover .chip-photos, .lieux .ph:focus-visible .chip-photos { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .lieux .ph .chip-photos { top: auto; left: auto; right: var(--s-12); bottom: var(--s-12); opacity: 1; transform: none; } }
@media (max-width: 600px) { .lieux .lieu { margin-top: 72px; } }
.lieux { margin-top: 100px; }
/* À visiter : texte justifié, 40 px de marge de chaque côté du texte */
.lieux .lieu__text { text-align: justify; hyphens: auto; }
@media (min-width: 901px) {
  .lieux .lieu__body { padding-inline: 40px; }
}
/* À visiter : la photo occupe toujours la grande colonne (7/12), qu'elle soit à gauche ou à droite */
@media (min-width: 901px) {
  .lieux .lieu:nth-child(even of .lieu) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .lieux .lieu--haut .lieu__media .ph { aspect-ratio: 4 / 3; }
  .lieux .lieu--portrait .lieu__media .ph { aspect-ratio: 1 / 1; }
}
@media (min-width: 901px) { .lieux .lieu--plus .lieu__media .ph { aspect-ratio: 5 / 4; } }
/* Blocs « Profiter du pays » : même survol que les photos du site, gravure à mi-opacité pour laisser passer la couleur */
.next-page .next-page__filtre { z-index: -2; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease); }
.next-page:hover .next-page__filtre, .next-page:focus-visible .next-page__filtre { opacity: .8; }

/* Activités : même proportion que les lieux d'À visiter (photos 7/12, texte 5/12) */
@media (min-width: 901px) {
  .feature--large { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; }
  .feature--large.feature--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--large .feature__body { padding-inline: 40px; }
}
/* Cartes photo : même survol que les lieux d'À visiter (gravure pleine, « N photos » au centre) */
.idea--photo .ph .chip-photos { top: 50%; right: auto; bottom: auto; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.idea--photo .ph:hover .ph__filtre, .idea--photo .ph:focus-visible .ph__filtre { opacity: 1; }
.idea--photo .ph:hover .chip-photos, .idea--photo .ph:focus-visible .chip-photos { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .idea--photo .ph .chip-photos { top: auto; left: auto; right: var(--s-12); bottom: var(--s-12); opacity: 1; transform: none; } }

/* Lacs : 4 cartes photo sur une ligne */
.lacs__km { width: fit-content; margin-bottom: var(--s-12); }
.lacs2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-20); }
.lacs2 .idea--photo .ph { aspect-ratio: 4 / 3; }
.lacs2 .idea--photo .idea__in { padding: var(--s-20) var(--s-24) var(--s-24); }
.lacs2 .idea__title { font-size: 24px; }
.lacs2 .idea__text { font-size: 16px; }

/* En-tête de section sur une ligne : surtitre et titre à gauche, chapeau à droite */
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; max-width: none; }
.sec-head--split > div { flex-shrink: 0; }
.sec-head--split .sec-head__lead { max-width: 560px; margin-top: 0; }
@media (max-width: 900px) { .sec-head--split { display: block; } .sec-head--split .sec-head__lead { margin-top: var(--s-16); } }

/* Héros à plusieurs paragraphes : un seul bloc, qui apparaît après le titre (3e temps de l'animation) */
.hero__leads { display: flex; flex-direction: column; align-items: inherit; gap: 15px; }
.hero__leads .hero__lead + .hero__lead { margin-top: 0; }

/* Courses : liste façon agenda, 900 px max */
.courses3 { display: grid; max-width: 900px; margin: var(--s-40) auto 0; padding: 0; list-style: none; border-top: 2px solid color-mix(in srgb, var(--taupe-300) 25%, transparent); }
.courses3__item { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; column-gap: 120px; align-items: center; padding: var(--s-24) 0; border-bottom: 2px solid color-mix(in srgb, var(--taupe-300) 25%, transparent); }
.courses3__name { color: var(--blue-700); font: 600 26px/1.2 var(--f-serif); }
.courses3__when { color: var(--taupe-700); font: 600 20px/1.3 var(--f-sans); }
.courses3 .pill { white-space: nowrap; }
.hero__leads { width: min(760px, 100%); }
.hero__leads .hero__lead { width: 100%; max-width: none; text-wrap: pretty; }   /* paragraphes de même largeur */

/* Journal : héros un peu plus grand, les deux articles de l'accueil en chevauchement */
.page-journal .hero--page { height: 720px; }
.page-journal .hero--page .hero__content { padding-bottom: 240px; }
.page-journal .hero__text::before { background: rgba(255, 255, 255, .5); }
.page-journal .site-header:not(.is-stuck) .nav::before { background: rgba(255, 255, 255, .4); }
.june { position: relative; z-index: 5; margin-top: -240px; }
.june .journal__grid { margin-top: 0; }
/* Cartes d'articles : même survol que l'accueil (fond léger, petit retrait du texte, « Lire l'article ») */
.jcard { transition: background-color .25s; }
.jcard:hover, .jcard:focus-visible { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); }
.jcard__body { padding: var(--s-20) var(--s-24) var(--s-24); }
.jcard__body .jcard__date { margin-top: 0; }
.jcard__img .jcard__filtre { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform 1.2s var(--ease); }
.jcard:hover .jcard__filtre, .jcard:focus-visible .jcard__filtre { opacity: 1; }
.jcard:hover .chip-photos--card, .jcard:focus-visible .chip-photos--card { opacity: 1; transform: none; }
.jmore { margin-top: var(--s-40); }
/* Article : pas de fond au héros (fond papier), plus d'air au-dessus du surtitre, titre près de la ligne « Par Chantal et Philippe » */
.hero--article { height: auto; background: none; }
.hero--article .hero__content { padding: 200px 0 0; }
.page-article .site-header:not(.is-stuck) .nav::before { display: none; }
.page-article .art { margin-top: 40px; }
/* Article : surtitre, puis les photos, puis le titre et la ligne « Par Chantal et Philippe » */
.page-article .art__gallery { margin-top: var(--s-32); }
.art__title { margin-bottom: var(--s-20); color: var(--blue-700); font: 700 44px/1.2 var(--f-serif); text-align: center; text-wrap: balance; }
@media (max-width: 600px) { .art__title { font-size: 28px; } }
@media (max-width: 900px) { .hero--article.hero--short { min-height: 0; } .hero--article .hero__content { padding: 150px calc(var(--gutter) - var(--frame)) 0; } }

/* Article : photos placées dans le texte, à leur place d'origine */
.art__fig { margin: var(--s-32) 0; }
.art__fig .ph { width: 100%; max-height: 720px; border-radius: var(--r-16); background: var(--taupe-50); }
.art__fig .ph img { width: 100%; height: auto; max-height: 720px; object-fit: contain; }
.art__fig figcaption { margin-top: var(--s-8); color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); text-align: center; }
/* Contact : carte blanche des coordonnées en chevauchement sur le héros, puis accès (carte + texte) à gauche et formulaire à droite */
.hero--contact .hero__content { padding-bottom: 100px; }
.reach-card { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-32); width: min(1100px, 100% - 2 * var(--gutter)); margin-top: -85px; padding: var(--s-32) var(--s-40); }   /* carte de 130 px (+ 20 px de marge du héros) : moitié sur le héros, moitié dessous */
.reach-card__item { display: flex; align-items: center; gap: var(--s-16); min-width: 0; }
.reach-card__item + .reach-card__item { padding-left: var(--s-32); border-left: 2px solid color-mix(in srgb, var(--taupe-300) 25%, transparent); }
.reach-card__item .idea__ico { flex: none; width: 48px; height: 48px; }
.reach-card__item .idea__ico .icon { width: 22px; height: 22px; }
.reach-card__item > div { min-width: 0; }
.reach-card small { display: block; margin-bottom: var(--s-6); color: var(--taupe-500); font: 700 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.reach-card p { color: var(--blue-700); font: 600 18px/1.3 var(--f-serif); }
/* Bouton « Afficher » : le libellé laisse place à la valeur, révélée au clic */
.reach__btn { position: relative; display: inline-grid; overflow: hidden; color: var(--blue-600); font: 600 18px/1.3 var(--f-serif); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--blue-500) 35%, transparent); cursor: pointer; }
.reach__face { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.reach__face--value { opacity: 0; transform: translateY(100%); color: var(--blue-700); }
.reach__btn.is-on { text-decoration: none; cursor: auto; }
.reach__btn.is-on .reach__face--label { opacity: 0; transform: translateY(-100%); }
.reach__btn.is-on .reach__face--value { opacity: 1; transform: none; }
.reach__btn:hover { color: var(--blue-500); }
.reach__mob { display: none; }
@media (hover: none) and (pointer: coarse) { .reach__btn[data-reach-k="tel"] .reach__face--label { font-size: 0; } .reach__btn[data-reach-k="tel"] .reach__mob { display: inline; font-size: 18px; } }
.contact2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.contact2__acces .access__map::after { box-shadow: inset 0 0 40px 30px var(--bg); }   /* bords fondus dans le fond papier, comme sur les pages gîtes */
.contact2__txt { margin-top: var(--s-32); padding-inline: 50px; }
@media (max-width: 900px) { .contact2__txt { padding-inline: 0; } }
@media (max-width: 900px) {
  .reach-card { grid-template-columns: 1fr; gap: var(--s-16); padding: var(--s-24); }
  .reach-card__item + .reach-card__item { padding: var(--s-16) 0 0; border-left: 0; border-top: 2px solid color-mix(in srgb, var(--taupe-300) 25%, transparent); }
  .contact2 { grid-template-columns: 1fr; gap: var(--s-40); }
}

/* Article (v2) : héros comme les autres pages (surtitre, titre, extrait), une photo centrée qui chevauche le bas du héros, puis l'auteur et la date */
.hero--art .hero__content { padding-bottom: 60px; }
.hero--art.hero--art-photo .hero__content { padding-bottom: 150px; }
.hero--art h1.hero__title, .hero--art h1.hero__title em { font-size: 48px; line-height: 1.15; }
.hero--art .hero__text { max-width: 820px; }
.art__photo { position: relative; z-index: 5; width: min(1000px, 100% - 2 * var(--gutter)); margin: -110px auto 0; }
.art__photo .ph { display: block; width: fit-content; max-width: 100%; margin: 0 auto; border-radius: var(--r-20); box-shadow: var(--shadow-card); }
.art__photo .ph img { display: block; width: auto; max-width: 100%; height: auto; max-height: 600px; }
.page-article .art { margin-top: var(--s-32); }
.page-article .art__body { margin-top: var(--s-32); }
.art__body h3 { margin: var(--s-32) 0 var(--s-12); color: var(--blue-700); font: 600 23px/1.3 var(--f-serif); }
.art__stay { grid-template-columns: 1fr auto; align-items: end; }
.art__stay p { max-width: 640px; }
.art__stay-links { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); margin-top: var(--s-16) !important; }
.art__stay-links a { display: inline-flex; align-items: center; gap: var(--s-6); color: var(--blue-600); font: 600 16px/1.3 var(--f-sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--blue-500) 35%, transparent); }
.art__stay-links a:hover { color: var(--blue-500); }
.art__stay-links .icon { width: 15px; height: 15px; }
@media (max-width: 600px) {
  .hero--art h1.hero__title, .hero--art h1.hero__title em { font-size: 30px; }
  .hero--art.hero--art-photo .hero__content { padding-bottom: 110px; }
  .art__photo { width: calc(100% - 2 * var(--frame)); margin-top: -80px; }
}
/* Bloc « Séjourner à Viserny » : grand bouton blanc (style du bouton Réserver de l'en-tête) sur toute la hauteur du bloc */
.art__stay { align-items: stretch; }
.art__stay-cta { flex-direction: column; justify-content: center; gap: var(--s-8); height: auto; min-width: 220px; padding: var(--s-24); }
.art__stay-cta .icon { width: 24px; height: 24px; }
@media (max-width: 900px) { .art__stay-cta { flex-direction: row; min-width: 0; padding: var(--s-16); } }
/* Article : auteur et date dans le héros, sous l'extrait ; photos du texte en grille de 2 colonnes */
.hero--art .hero__leads { gap: var(--s-16); }
.hero--art .art__meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8) var(--s-16); color: var(--taupe-600); font: 600 15px/1 var(--f-sans); }
.art__figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); margin: var(--s-32) 0; }
.art__figs .art__fig { margin: 0; }
.art__figs .art__fig .ph { aspect-ratio: 4 / 3; background: var(--taupe-50); }
.art__figs .art__fig .ph img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
@media (max-width: 600px) { .art__figs { gap: var(--s-8); } }
.hero--page.hero--art { height: auto; min-height: 600px; }
.hero--art .hero__content { padding-top: 190px; }
/* Bouton carré : même hauteur que le bloc, largeur égale à la hauteur ; padding du bloc identique sur les 4 côtés */
.art__stay { padding: var(--s-32); }
.art__stay-cta { aspect-ratio: 1 / 1; height: 100%; min-width: 0; padding: var(--s-16); gap: var(--s-16); line-height: 1.4; text-align: center; }
@media (max-width: 900px) { .art__stay-cta { aspect-ratio: auto; height: auto; } .art__stay-cta br { display: none; } }
/* Bouton « Voir les disponibilités » : mêmes couleurs que « Nous contacter » du bloc de réservation (texte bleu, icône taupe), 200 × 160 */
.art__stay-cta { width: 200px; aspect-ratio: auto; height: 160px; align-self: center; }
.art__stay-cta .icon { color: var(--taupe-500); }
.art__stay-cta:hover .icon { transform: none; }
.art__stay { align-items: center; }
@media (max-width: 900px) { .art__stay-cta { width: 100%; height: auto; } }
.art__stay-cta { font: 700 15px/1.4 var(--f-sans); letter-spacing: .1em; }   /* texte plus petit pour laisser de la marge dans le bouton */
/* Article, mobile : héros à la hauteur de son contenu, photo dans la marge intérieure, bloc « Séjourner » sur une colonne */
@media (max-width: 900px) {
  .art__stay { grid-template-columns: 1fr; align-items: stretch; gap: var(--s-20); }
  .art__stay-cta { flex-direction: row; width: 100%; height: 56px; aspect-ratio: auto; white-space: nowrap; }
  .art__stay-cta br { display: none; }
  .art__stay-links { flex-direction: column; align-items: flex-start; }
  .art__stay-links a { white-space: nowrap; }
}
@media (max-width: 600px) {
  .hero--page.hero--art { height: auto; min-height: 0; }
  .hero--art .hero__content { flex: none; padding: 124px calc(var(--gutter) - var(--frame)) 40px; }
  .hero--art.hero--art-photo .hero__content { padding-bottom: 105px; }
  .art__photo { width: calc(100% - 2 * var(--gutter)); margin-top: -80px; }
  .art__stay { padding: var(--s-24) calc(var(--gutter) - var(--frame)); }
}
/* Journal, mobile : héros à la hauteur de son contenu, 1re photo en chevauchement, articles à la suite sans l'en-tête « Au fil des saisons » */
@media (max-width: 600px) {
  .page-journal .hero--page { height: auto; min-height: 0; }
  .page-journal .hero--page .hero__content { flex: none; padding: 124px calc(var(--gutter) - var(--frame)) 120px; }
  .june { margin-top: -90px; }
  .june .journal__grid { gap: var(--s-32); }
  .page-journal [aria-labelledby="tous-titre"] { margin-top: var(--s-32); }
  .page-journal [aria-labelledby="tous-titre"] .sec-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-journal .jgrid { margin-top: 0; }
}
/* Bloc « Séjourner à Viserny », mobile : même marge sur les 4 côtés ; texte et liens en retrait de 12 px (côtés et bas) */
@media (max-width: 900px) {
  .art__stay { padding: var(--s-24); }
  .art__stay > div { padding: 0 var(--s-12) var(--s-12); }
}
/* À visiter, mobile : lieux sous la carte en 2 colonnes, nom sur une ligne et distance dessous */
@media (max-width: 600px) {
  .map__chips--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map__chips--links .pill--map { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-4); height: auto; padding: var(--s-8) var(--s-12); }
  .map__chips--links .pill__name { white-space: normal; line-height: 1.2; }
}
/* Visionneuse : numéro de la photo sur une ligne, légende en dessous, le tout centré */
.lightbox__cap { flex-direction: column; align-items: center; gap: var(--s-4); max-width: min(640px, 100vw - 32px); text-align: center; }
.lightbox__cap > * { white-space: normal; }
.lightbox__cap > :first-child { white-space: nowrap; }
/* Visionneuse, mobile : le numéro de la photo en bas, centré entre les flèches et à leur hauteur */
@media (max-width: 900px) {
  .lightbox [data-lb-count] { position: absolute; bottom: var(--s-24); left: 50%; display: flex; align-items: center; height: 52px; transform: translateX(-50%); }
}
@media (max-width: 600px) { .lightbox [data-lb-count] { height: 46px; } }
/* Visionneuse : le glissement horizontal sert à changer de photo, pas à revenir à la page précédente */
.lightbox { touch-action: pan-y; overscroll-behavior: contain; }
html:has(body.has-lightbox), body.has-lightbox { overscroll-behavior-x: none; }
/* Activités, mobile : lacs l'un sous l'autre ; bandes taupe (En famille…) avec la même marge intérieure que le bloc de réservation */
@media (max-width: 900px) { .lacs2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .lacs2 { grid-template-columns: 1fr; }
  .band .wrap { width: calc(100% - 2 * (var(--gutter) - var(--frame))); }
}
/* Courses, mobile et tablette : nom à gauche et distance à droite sur la 1re ligne, jour et horaires dessous */
@media (max-width: 900px) {
  .courses3__item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom km" "quand quand"; column-gap: var(--s-16); row-gap: var(--s-6); padding: var(--s-20) 0; }
  .courses3__name { grid-area: nom; font-size: 22px; }
  .courses3__when { grid-area: quand; font-size: 17px; }
  .courses3 .pill { grid-area: km; }
}
/* Tarifs, mobile : la carte « C'est réservé » a la même hauteur que les 3 étapes */
@media (max-width: 600px) {
  .resa1 { grid-auto-rows: 1fr; }
  .resa1__item--ok { min-height: 0; }
  .resa1__check { top: 28px; }
}

/* Tablettes : 901-1023 px, et tablettes horizontales tactiles jusqu'à 1179 px (ni le mobile ni le bureau ne sont touchés) */
@media (min-width: 901px) and (max-width: 1023px), (min-width: 1024px) and (max-width: 1179px) and (hover: none) and (pointer: coarse) {
  .gite-card__actions { flex-direction: column; }
  .gite-card__actions .btn { flex: none; }
  .feature--large { gap: var(--s-32); }
  .feature--large .feature__body { padding-inline: 0; }
  .lieu { gap: var(--s-32); }
  .lieux .lieu__body { padding-inline: 0; }
  .reach-card { gap: var(--s-20); padding: var(--s-24); }
  .reach-card__item { gap: var(--s-12); }
  .reach-card__item + .reach-card__item { padding-left: var(--s-20); }
  .reach-card__item .idea__ico { width: 40px; height: 40px; }
  .contact2 { grid-template-columns: 1fr; gap: var(--s-40); }
  .contact2__txt { padding-inline: 0; }
}

/* Tablettes en mode paysage : sous-menu ouvert au toucher (voir site.js) */
@media (min-width: 1101px) {
  .nav__item--sub.is-open > .nav__link { background: color-mix(in srgb, var(--taupe-300) 15%, transparent); color: var(--blue-700); }
  .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1101px) and (hover: none) {
  .nav__item--mega:not(.is-open):hover .mega, .nav__item--mega:not(.is-open):focus-within .mega { opacity: 0; visibility: hidden; transform: translateY(8px); }
}

/* Menu ouvert sur tablette : titres centrés comme les boutons ; « À découvrir » sur 3 colonnes à partir de 901 px */
@media (min-width: 601px) and (max-width: 1100px) {
  .nav__link { justify-content: center; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .mega__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Accueil, « Notre histoire » sur tablette paysage (901-1100 px) : photos à gauche, texte et citation à droite */
@media (min-width: 901px) and (max-width: 1100px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media text" "media quote"; gap: var(--s-24) var(--s-40); align-items: start; }
  .story__media { grid-area: media; }
  .story__text { grid-area: text; padding-top: 0; }
  .story__quote { grid-area: quote; margin: 0; max-width: none; padding: var(--s-24); font-size: 21px; }
  .story__quote::after { width: 52px; height: 52px; top: -28px; right: 16px; }
  .story__photo img { height: 120px; }
  .story__photo--main img { height: 400px; }
}

/* Tablette paysage (901-1100 px) : textes un cran plus petits partout, et « Autour de Viserny » sur 2 colonnes */
@media (min-width: 901px) and (max-width: 1100px) {
  body { font-size: 18px; }
  .btn { font-size: 18px; }
  .title { font-size: 36px; line-height: 1.25; }
  .title--xl { font-size: 44px; }
  .hero h1, .hero h1.hero__title, .hero h1.hero__title em { font-size: 48px; }
  .hero h1 em { margin: -24px 0 -10px; font-size: 84px; }
  .hero__lead { font-size: 19px; }
  .intro__text { font-size: 26px; }
  .sec-head__lead, .lead-text, .art__body { font-size: 18px; }
  .gite-card__name { font-size: 44px; }
  .gite-card__name small { font-size: 34px; }
  .gite-card__price { font-size: 30px; }
  .reviews__score { font-size: 64px; }
  .review__name { font-size: 20px; }
  .lieu__title { font-size: 30px; }
  .lieu__km { font-size: 36px; }
  .lieu__text { font-size: 17px; }
  .idea__title { font-size: 22px; }
  .next-page strong { font-size: 30px; }
  .cta-band__big { font-size: 34px; }
  .post__title { font-size: 26px; }
  .art__body h2 { font-size: 26px; }
  .art__body h3 { font-size: 21px; }
  .h3, .art__stay h2 { font-size: 24px; }
  .ttable__gite { font-size: 24px; }
  .ttable tbody td { font-size: 22px; }
  .cond-card h3, .step h3, .info-tile h3 { font-size: 21px; }
  .hours dd { font-size: 28px; }
  .equip__item, .link-more, .rules li { font-size: 18px; }

  .around__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--s-40); }
  .around__intro { position: sticky; top: 120px; padding-top: var(--s-40); }
  .place__media { height: 300px; }
  .place__body { margin-top: -100px; padding: 0 var(--s-24) var(--s-24); }
  .place__title { font-size: 30px; }
  .place__km { font-size: 40px; }
  .place__km small { font-size: 22px; }
  .place__text { font-size: 16px; }

  .bookbar .btn { width: auto; padding: 0 var(--s-24); }
  .bk-field { padding: 0 var(--s-16); }
  .bk-field__value { font-size: 19px; }
  .reach-card { gap: var(--s-20); padding: var(--s-24); }
  .reach-card__item { gap: var(--s-12); }
  .reach-card__item + .reach-card__item { padding-left: var(--s-20); }
  .reach-card__item .idea__ico { width: 40px; height: 40px; }
  .reach-card p, .reach__btn { font-size: 16px; }
}

/* Menu ouvert sur tablette : Nous contacter à gauche, Réserver à droite */
@media (min-width: 601px) and (max-width: 1100px) {
  .nav__cta { flex-direction: row-reverse; }
  .nav__cta .btn { flex: 1; }
}

/* Tablettes (601-1100 px) : 60 px d'air entre le contenu et le bord de l'écran (les héros gardent leur cadre de 20 px) */
@media (min-width: 601px) and (max-width: 1100px) {
  :root { --gutter: 60px; }
  .gites { padding-inline: 0; }
  .reviews .wrap, .journal .wrap, .cta-band .wrap, .band .wrap, .around__in { width: calc(100% - 2 * (var(--gutter) - var(--frame))); }
}

/* Tablettes (601-1100 px) : carte de réservation du gîte, Nous contacter à gauche et Réserver à droite */
@media (min-width: 601px) and (max-width: 1100px) {
  .book { flex-flow: row wrap; }
  .book > * { flex: 0 0 100%; }
  .book > .btn { flex: 1 1 0; min-width: 0; margin-top: var(--s-12); }
  .book > .btn--secondary { order: 1; }
  .book > .btn--primary { order: 2; }
  .book > .book__total { flex-basis: auto; width: 100%; margin: var(--s-8) 0 0; padding-inline: var(--s-20); }
}

/* Photo verticale de L'Ancien Lavoir : seulement dans les cartes en ligne de la tablette paysage */
.gite-card__vert { display: none; }

/* Accueil, tablette paysage (901-1100 px) : cartes des gîtes en ligne, contenu à gauche, photo verticale à droite */
@media (min-width: 901px) and (max-width: 1100px) {
  .gites { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); }
  .gite-card { flex-direction: row-reverse; }
  .gite-card:nth-child(2) { flex-direction: row; }
  .gite-card__img { flex: 0 0 36%; }
  .gite-card__photo { height: 100%; }
  .gite-card__img img { height: 100%; }
  .gite-card__body { flex: 1; min-width: 0; padding: var(--s-24) var(--s-32); }
  .gite-card__actions { flex-direction: row; }
  .gite-card__actions .btn--primary { flex: 1; }
  .gite-card__img:has(.gite-card__vert) img:not(.gite-card__vert) { display: none; }
  .gite-card__vert { display: block; }
}

/* Pages gîtes, tablettes (601-1100 px) : le cadre du héros s'arrête au-dessus de la barre fixe « 70 € / nuit · Réserver » (91 px) */
@media (min-width: 601px) and (max-width: 1100px) {
  .masthead .hero--gite { height: auto; min-height: calc(100vh - 120px - 91px - 20px); min-height: calc(100svh - 120px - 91px - 20px); }
}
/* Tablette paysage (901-1100 px) : mosaïque à la hauteur de l'écran, 32 px entre le texte et les photos */
@media (min-width: 901px) and (max-width: 1100px) {
  :root { --gmh: min((100vw - 2 * var(--gutter)) * 580 / 1260, max(100svh - 482px, 340px)); }
  .mosaic { --mh: var(--gmh); }
  .hero--gite .hero__content { padding-bottom: calc(var(--gmh) * .72 + var(--s-32)); }
  .masthead .hero--gite { min-height: min(100svh - 231px, 680px); }
}
/* Tablette portrait (601-900 px) : héros à la hauteur de son contenu, photos remontées */
@media (min-width: 601px) and (max-width: 900px) {
  .masthead .hero--gite { min-height: 0; }
  .hero--gite .hero__content { padding-top: 150px; padding-bottom: calc((100vw - 2 * var(--gutter)) * 580 / 1260 * .72 + var(--s-60)); }
}

/* Pages gîtes, tablettes (601-1100 px) : calendrier de la carte en fenêtre centrée sur l'écran ; la barre fixe du bas descend hors de l'écran quand la carte de réservation est visible ou que le calendrier est ouvert */
@media (min-width: 901px) and (max-width: 1100px) {
  .book__panel { position: fixed; top: 50%; left: 50%; right: auto; z-index: 60; width: min(820px, 100vw - 2 * var(--gutter)); min-height: 0; max-height: calc(100svh - 40px); overflow-y: auto; transform: translate(-50%, -50%); box-shadow: var(--shadow-float), 0 0 0 100vmax color-mix(in srgb, var(--blue-900) 35%, transparent); animation: book-fade .3s var(--ease) backwards; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .mbook { transition: transform .35s var(--ease); }
  .mbook.is-away, body:has(.book__panel:not([hidden])) .mbook { transform: translateY(100%); }
}

/* Pages gîtes, tablette paysage (901-1100 px) : « L'autre gîte » plus compact, surtitre centré au-dessus de la carte, prix (sur une ligne) et bouton */
@media (min-width: 901px) and (max-width: 1100px) {
  .other { margin-top: 160px; }
  .other__card { position: relative; grid-template-columns: 34% 1fr; }
  .other__img img { min-height: 0; }
  .other__body { padding: var(--s-24) var(--s-32); }
  .other__body .eyebrow { position: absolute; left: 0; right: 0; top: -52px; justify-content: center; }
  .other__body .eyebrow--start::after { display: block; }
  .other__body .gite-card__name { margin-top: 0; }
  .other__foot { gap: var(--s-16); padding-top: var(--s-24); }
  .other__foot .gite-card__price { white-space: nowrap; }
  .other__card[href$="four-a-pain/"] .pill:nth-child(3) { display: none; }   /* « Chambre en mezzanine » : pastilles sur une ligne */
}

/* Barre fixe des pages gîtes : une fois les dates choisies (mobile et tablette), total, calcul et nombre de nuits */
.mbook__tot, .mbook__n { display: none; }
@media (min-width: 601px) and (max-width: 1100px) {
  .mbook__price small { display: inline; margin: 0 0 0 var(--s-4); color: inherit; font-size: inherit; text-transform: lowercase; }
}
@media (max-width: 1100px) {
  .mbook { transition: transform .35s var(--ease), background-color .4s; }
  .mbook.is-ready { background: color-mix(in srgb, var(--blue-50) 92%, transparent); }
  .mbook.is-ready .mbook__std { display: none; }
  .mbook.is-ready .mbook__tot { display: flex; align-items: baseline; gap: var(--s-12); }
  .mbook.is-ready .mbook__n { display: inline; }
  .mbook.is-ready .btn { animation: mbook-call 1.6s var(--ease) .2s 2; }
}
@keyframes mbook-call { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue-500) 45%, transparent); } 60% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--blue-500) 0%, transparent); } }

/* À visiter, tablette paysage (901-1100 px) : carte plus petite, centrée */
@media (min-width: 901px) and (max-width: 1100px) {
  .map__body--visiter .map__card { width: 100%; max-width: 680px; margin-inline: auto; }
}

/* Tarifs, tablette paysage (901-1100 px) : étapes plus serrées, « C'est réservé ! » sur une ligne */
@media (min-width: 901px) and (max-width: 1100px) {
  .resa1 { gap: var(--s-16); }
  .resa1__item--ok { padding-inline: var(--s-12); }
  .resa1__item--ok h3 { font-size: 18px; letter-spacing: .04em; white-space: nowrap; }
}

/* Bloc « Et si vous veniez ? », tablettes (601-1100 px) : plus de calendrier dans la page ; Arrivée / Départ l'ouvrent en fenêtre centrée */
.av__pop-x { display: none; }
@media (min-width: 601px) and (max-width: 1100px) {
  .av__pop { display: none; }
  .av.is-pop .av__pop { position: fixed; top: 50%; left: 50%; z-index: 60; display: block; width: min(820px, 100vw - 2 * var(--gutter)); max-height: calc(100svh - 40px); overflow-y: auto; padding: var(--s-32) var(--s-40); border-radius: var(--r-20); background: var(--white); transform: translate(-50%, -50%); box-shadow: var(--shadow-float), 0 0 0 100vmax color-mix(in srgb, var(--blue-900) 35%, transparent); animation: book-fade .3s var(--ease) backwards; text-align: left; }
  .av.is-pop .av__pop-x { display: flex; }
  .av__pop .cal { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .av__pop .cal__nav { top: -2px; }
  .av__pop .cal__nav--prev { left: 0; }
  .av__pop .cal__nav--next { right: 0; }
  .av .resa__top { margin-bottom: var(--s-24); }
}

/* Barre fixe « Réserver » du bloc « Et si vous veniez ? » : seulement sur tablette paysage, une fois des dates choisies */
.mbook[hidden] { display: none !important; }
@media (max-width: 900px), (min-width: 1101px) { .mbook--av { display: none !important; } }

/* Contact, tablette paysage (901-1100 px) : formulaire en premier sur toute la largeur, puis la carte et « Venir à Viserny » côte à côte */
@media (min-width: 901px) and (max-width: 1100px) {
  .contact2 { grid-template-columns: minmax(0, 1fr); gap: var(--s-60); }
  .contact2 .form-card { order: -1; }
  .contact2__acces { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-40); align-items: center; }
  .contact2__txt { margin-top: 0; padding-inline: 0; }
  .contact2 [data-contact] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-20); align-items: center; grid-auto-flow: row dense; }
  .contact2 [data-contact] > * { grid-column: 1 / -1; }
  .contact2 [data-contact] > .btn { grid-column: 2; }   /* Envoyer : moitié droite */
  .contact2 [data-contact] > .btn + .form-legal { grid-column: 1; margin: var(--s-24) 0 0; }   /* mention à gauche, sur la même ligne */
}

/* Contact, tablette portrait (601-900 px), une seule colonne : le formulaire avant la carte et l'accès */
@media (min-width: 601px) and (max-width: 900px) {
  .contact2 .form-card { order: -1; }
}

/* Article, « À lire aussi » sur tablette (601-1100 px, 2 colonnes) : deux articles seulement, sur une ligne */
@media (min-width: 601px) and (max-width: 1100px) {
  [aria-labelledby="suite-titre"] .jgrid > :nth-child(n+3) { display: none; }
}

/* Accueil, tablette portrait (601-900 px) : citation sur toute la largeur du texte */
@media (min-width: 601px) and (max-width: 900px) {
  .story__quote { margin: 0; max-width: none; }
}

/* Activités, Gastronomie, À visiter, tablette portrait (601-900 px) : les deux liens de fin côte à côte, plus bas */
@media (min-width: 601px) and (max-width: 900px) {
  .next-pages { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
  .next-page { min-height: 200px; padding: var(--s-24); }
  .next-page strong { font-size: 26px; }
  .next-page .icon { width: 22px; height: 22px; }
}

/* Visite photo des gîtes, tablettes (601-1100 px) : pièces en icônes, comme sur mobile, pour tenir sur une ligne */
@media (min-width: 601px) and (max-width: 1100px) {
  .tour__links { justify-content: center; gap: var(--s-24); overflow: visible; padding-block: var(--s-4) var(--s-8); }
  .tour__links:focus, .tour__links:focus-visible { outline: 0; }
  .tour__room { justify-content: center; width: 48px; height: 48px; padding: 0; color: color-mix(in srgb, var(--taupe-700) 60%, transparent); }
  .tour__room .icon { display: block; }
  .tour__room:hover { background: none; color: color-mix(in srgb, var(--taupe-700) 60%, transparent); }
  .tour__room.is-active, .tour__room.is-active:hover { background: var(--white); color: var(--blue-700); box-shadow: 0 1px 2px color-mix(in srgb, var(--blue-900) 10%, transparent), 0 4px 12px -4px color-mix(in srgb, var(--blue-900) 20%, transparent); }
  .tour__room.is-active::after { content: none; }
  .tour__room-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Tiroir « Votre séjour », tablettes (601-1100 px) : gîte à gauche, prix à droite, sur une ligne */
@media (min-width: 601px) and (max-width: 1100px) {
  .ms-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-16); padding: var(--s-12) var(--s-20); }
  .ms-head__prix { margin-top: 0; white-space: nowrap; }
}

/* Mobile : barre remplie sur deux lignes (total, puis calcul) */
@media (max-width: 600px) {
  .mbook.is-ready .mbook__tot { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .mbook__tot span { font-size: 13px; line-height: 1.3; }
  .mbook.is-ready .btn { padding: 0 var(--s-24); }
  .mbook.is-ready .mbook__n { display: none; }   /* le nombre de nuits est déjà dans le calcul */
}

/* Tablettes (601-1100 px) : un seul mois à la fois, centré, comme sur mobile (tous les calendriers) */
@media (min-width: 601px) and (max-width: 1100px) {
  .cal__months { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .cal__months > .cal__month + .cal__month { display: none; }
  .cal { position: relative; }
  .cal .cal__nav--prev { left: max(0px, calc(50% - 220px - 52px)); }
  .cal .cal__nav--next { right: max(0px, calc(50% - 220px - 52px)); }
}

/* Tablette paysage (901-1100 px) : fenêtres de calendrier à la largeur d'un mois */
@media (min-width: 901px) and (max-width: 1100px) {
  .book__panel, .av.is-pop .av__pop { width: min(560px, 100vw - 2 * var(--gutter)); }
  .book__panel .bk-panel__head, .av__pop .bk-panel__head { flex-direction: column; align-items: flex-start; gap: var(--s-8); }
}

/* Tiroir : le retour est un rond avec une flèche avant le titre ; le bouton « Retour » en toutes lettres seulement sous 400 px */
.drawer__title { margin-right: auto; }
.drawer__back { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: calc(-1 * var(--s-4)); padding: 0; border: 0; border-radius: 50%; background: var(--taupe-50); color: var(--blue-700); }
.drawer__back[hidden] { display: none; }
.drawer__back .icon { width: 20px; height: 20px; }
@media (min-width: 401px) { .drawer .ms-back { display: none; } }
@media (max-width: 400px) { .drawer__back { display: none !important; } }

/* Bas des calendriers : Fermer en bouton secondaire (l'action principale, c'est de choisir les dates) ; « Effacer les dates » seulement quand une date est choisie, sinon une indication */
.bk-close { border: 1px solid color-mix(in srgb, var(--taupe-500) 50%, transparent); background: var(--white); color: var(--blue-700); transition: border-color .2s, color .2s; }
.bk-close:hover { background: var(--white); border-color: color-mix(in srgb, var(--blue-500) 45%, transparent); color: var(--blue-500); }
.bk-panel__foot::before { content: none; }
:has(> .bk-panel__foot):not(:has(.cal__day.is-start)) > .bk-panel__foot .bk-link { display: none; }
:has(> .bk-panel__foot):not(:has(.cal__day.is-start)) > .bk-panel__foot::before { content: "Sélectionnez vos dates"; margin-right: auto; color: var(--taupe-500); font: 500 16px/1.3 var(--f-sans); }
.bk-panel__foot .bk-link { margin-right: auto; }

/* Mentions légales, mobile : crédits photos sur une colonne (lieu, puis auteurs dessous) */
@media (max-width: 600px) {
  .credits thead { display: none; }
  .credits tr, .credits td { display: block; }
  .credits td:first-child { width: auto; padding-bottom: 0; border-bottom: 0; }
  .credits td + td { padding-top: var(--s-4); }
}

/* Footer, tablettes (601-1100 px) : le texte sur la première ligne (600 px maxi), les trois colonnes de liens sur la deuxième */
@media (min-width: 601px) and (max-width: 1100px) {
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-40); }
  .site-footer__cols > div:first-child { grid-column: 1 / -1; max-width: 600px; }
}

/* Contact, mobile : héros à la hauteur de son contenu, la carte des coordonnées ne recouvre plus le texte ; titre plus petit */
@media (max-width: 600px) {
  .hero--contact { min-height: 0; }
  .hero--contact .hero__content { padding-bottom: calc(var(--reach-half, 140px) + var(--s-24)); }
  .hero--contact h1.hero__title, .hero--contact h1.hero__title em { font-size: 32px; }
}

/* Page gîte : « Dès » devant le prix de base */
.book__des { margin-right: var(--s-8); color: var(--blue-500); font: 700 16px/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; opacity: .8; }


/* ==========================================================================
   Page Réserver (reserver/index.php) · maquette Figma « Test » 94:2676
   Page sans menu, comme Airbnb : héros court, 4 étapes à gauche (780), récapitulatif collant à droite (400).
   Étape ouverte ou faite : blanche ; étape à venir : taupe.
   ========================================================================== */
.page-reserver { background: var(--bg); }
.resa-page { display: flow-root; }

/* Héros : celui des autres pages (masthead + .hero.hero--page : 20 px de marge, 1800 px au plus), plus court, sans menu.
   En haut : Retour (rond, secondaire) à gauche, logo au centre, Contactez-nous à droite. */
.hero--resa { height: 420px; }
.hero--resa .hero__content { padding: 110px 0 70px; }
.rhero__bar { position: absolute; top: 32px; left: 40px; right: 40px; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.rhero__logo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.rhero__logo img { width: 280px; height: auto; }
.rhero__back { width: 60px; height: 60px; padding: 0; border-radius: 50%; }
.rhero__back .icon { width: 22px; height: 22px; }
.rhero__back:hover .icon { transform: translateX(-3px); }
.rhero__contact { height: 60px; padding: 0 25px; }
/* Grille : étapes 780 + 80 + récapitulatif 400 */
.rpage { display: grid; grid-template-columns: minmax(0, 780px) 400px; justify-content: space-between; gap: 80px; margin-top: var(--s-60); align-items: start; }
.rsteps { display: flex; flex-direction: column; gap: var(--s-24); }

/* Étape */
.rstep { position: relative; padding: var(--s-24) var(--s-32); border-radius: var(--r-20); background: var(--taupe-50); transition: background-color .3s, box-shadow .3s; }
.rstep.is-open, .rstep.is-done { background: var(--white); box-shadow: var(--shadow-card); }
.rstep__head { position: relative; display: flex; align-items: center; min-height: 29px; padding-right: 80px; }
.rstep__title { flex: 1; color: var(--taupe-600); font: 600 24px/1.2 var(--f-serif); letter-spacing: .01em; opacity: .8; scroll-margin-top: 120px; }
.rstep__title:focus { outline: 0; }
.rstep.is-open .rstep__title, .rstep.is-done .rstep__title { color: var(--blue-600); opacity: 1; }
.rstep__num { position: absolute; right: 0; top: -10px; color: var(--blue-400); font: 700 46px/1.2 var(--f-serif); letter-spacing: .3px; opacity: .3; pointer-events: none; }
.rstep__num small { margin-right: 5px; font: 700 35px/1.2 var(--f-sans); }
.rstep.is-open .rstep__num, .rstep.is-done .rstep__num { color: var(--taupe-400); }
.rstep__body, .rstep__recap { display: none; }
.rstep.is-open .rstep__body { display: block; animation: rstep-in .4s var(--ease); }
.rstep.is-done .rstep__recap { display: flex; }
@keyframes rstep-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rstep__recap { align-items: center; justify-content: space-between; gap: var(--s-20); margin-top: var(--s-8); }
.rstep__recap p { min-width: 0; color: var(--taupe-700); font: 400 18px/1.5 var(--f-sans); }
.rstep__foot { display: flex; justify-content: flex-end; margin-top: var(--s-20); }
.rnext.btn { height: 50px; padding: 0 var(--s-32); font-size: 20px; letter-spacing: .02em; }

/* Bouton « Modifier » (récapitulatif et étapes faites) */
.rmod { flex: none; height: 34px; padding: 0 var(--s-12); border: 1px solid color-mix(in srgb, var(--taupe-500) 50%, transparent); border-radius: var(--r-8); background: rgba(255, 255, 255, .3); color: var(--blue-700); font: 600 14px/1 var(--f-sans); letter-spacing: .02em; transition: background-color .2s, border-color .2s, color .2s; }
.rmod:hover { background: var(--white); border-color: color-mix(in srgb, var(--blue-500) 45%, transparent); color: var(--blue-500); }

/* Groupes et lignes (voyageurs, options) */
.rgroup { min-width: 0; margin: var(--s-24) 0 0; padding: 0; border: 0; }
.rgroup + .rgroup { margin-top: var(--s-32); }
.rgroup__title { padding: 0; margin-bottom: var(--s-4); color: var(--blue-700); font: 600 20px/1.3 var(--f-serif); }
.rrow--sub { padding-top: 0; }
.rrow--sub .rrow__label { color: var(--taupe-700); font-size: 16px; }
.rrow--sub .rrow__sub { font-size: 14px; }
.bk-stepper--sm { gap: var(--s-12); }
.bk-stepper--sm button { width: 32px; height: 32px; }
.bk-stepper--sm output { font-size: 18px; }
.rdot { display: inline-block; width: 4px; height: 4px; margin: 0 var(--s-12); border-radius: 50%; background: var(--taupe-300); vertical-align: middle; }
.rrow__inline { color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); }
.rlink { padding: 0; border: 0; background: none; color: var(--blue-500); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rlink:hover { color: var(--blue-700); }
.rdlg--tarifs { width: 560px; }
.rtarifs__h { margin-top: var(--s-24); color: var(--blue-700); font: 600 18px/1.3 var(--f-serif); }
.rdlg--tarifs .modal__body > :first-child .rtarifs__h:first-child { margin-top: 0; }
.rtarifs { margin-top: var(--s-8); }
.rtarifs > div { display: flex; justify-content: space-between; gap: var(--s-16); padding: var(--s-8) 0; border-bottom: 1px solid var(--taupe-50); font: 500 17px/1.4 var(--f-sans); }
.rtarifs dt { color: var(--taupe-700); }
.rtarifs dd { margin: 0; color: var(--blue-700); font-weight: 700; white-space: nowrap; }
.rdlg--tarifs .rnote { margin-top: var(--s-20); }
.rrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s-20); padding: var(--s-16) 0; border-bottom: 2px solid color-mix(in srgb, var(--taupe-500) 12%, transparent); }
.rrow:last-child { border-bottom: 0; }
.rrow__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.rrow__label { color: var(--blue-800); font: 600 18px/1.4 var(--f-sans); }
.rrow__sub { color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); }
.rrow__prix { color: var(--blue-700); font: 700 18px/1 var(--f-sans); white-space: nowrap; }
.rrow--check { cursor: pointer; }
.rrow .bk-stepper output { min-width: 24px; }
.rnote { margin-top: var(--s-12); color: var(--taupe-500); font: 500 15px/1.5 var(--f-sans); }
.rnote a { color: var(--blue-500); font-weight: 700; }
/* Case à cocher */
.rcheckbox { -webkit-appearance: none; appearance: none; display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin: 0; border: 1.5px solid var(--taupe-300); border-radius: var(--r-8); background: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s; }
.rcheckbox::after { content: ""; width: 7px; height: 13px; margin-top: -3px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.rcheckbox:checked { border-color: var(--blue-600); background: var(--blue-600); }
.rcheckbox:checked::after { transform: rotate(45deg) scale(1); }
.rrow--check:hover .rcheckbox:not(:checked) { border-color: var(--blue-500); }

/* Coordonnées */
.rfields { margin-top: var(--s-24); }
.field__hint { color: var(--taupe-500); font: 500 14px/1.4 var(--f-sans); }
.field__err { color: var(--red-700); font: 600 14px/1.4 var(--f-sans); }
.field [aria-invalid="true"] { border-color: var(--red-400); }

/* Paiement */
.rpay { display: flex; align-items: center; gap: var(--s-16); margin-top: var(--s-24); padding: var(--s-16) var(--s-20); border: 2px solid var(--blue-400); border-radius: var(--r-12); background: color-mix(in srgb, var(--blue-50) 50%, var(--white)); cursor: pointer; }
.rpay > .icon { width: 26px; height: 26px; color: var(--blue-600); }
.rpay__txt { display: flex; flex-direction: column; flex: 1; }
.rpay__txt strong { color: var(--blue-800); font: 600 18px/1.4 var(--f-sans); }
.rpay__txt small { color: var(--taupe-500); font: 500 15px/1.4 var(--f-sans); }
.rpay input { order: 9; width: 22px; height: 22px; margin: 0; accent-color: var(--blue-600); }
.rtime { position: relative; display: flex; flex-direction: column; gap: var(--s-20); margin: var(--s-24) 0 0; padding: 0 0 0 var(--s-32); list-style: none; }
.rtime::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--taupe-500) 20%, transparent); }
.rtime li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.rtime li::before { content: ""; position: absolute; left: calc(-1 * var(--s-32)); top: 6px; width: 16px; height: 16px; border: 3px solid var(--white); border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue-400) 40%, transparent); }
.rtime strong { color: var(--blue-700); font: 600 18px/1.4 var(--f-serif); }
.rtime span { color: var(--taupe-700); font: 400 17px/1.55 var(--f-sans); }
.rtime b { color: var(--blue-800); font-weight: 700; }

/* Vérification */
.rcheck { margin-top: var(--s-16); }
.rcheck > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: start; gap: var(--s-16); padding: var(--s-12) 0; border-bottom: 2px solid color-mix(in srgb, var(--taupe-500) 12%, transparent); }
.rcheck dt { padding-top: 4px; color: var(--taupe-500); font: 700 12px/1.5 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.rcheck dd { margin: 0; color: var(--blue-800); font: 500 17px/1.55 var(--f-sans); }
.rmod--link { height: auto; padding: 2px 0; border: 0; background: none; color: var(--blue-500); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue-500) 40%, transparent); text-underline-offset: 3px; }
.rmod--link:hover { background: none; color: var(--blue-700); }
.rcgv { display: flex; align-items: flex-start; gap: var(--s-12); margin-top: var(--s-24); color: var(--taupe-800); font: 500 17px/1.5 var(--f-sans); cursor: pointer; }
.rcgv .rcheckbox { margin: -2px 0 0; }
.rcgv a { color: var(--blue-500); font-weight: 700; }
.rerror { margin-top: var(--s-16); padding: var(--s-12) var(--s-16); border-radius: var(--r-12); background: color-mix(in srgb, var(--red-400) 12%, var(--white)); color: var(--red-700); font: 600 16px/1.5 var(--f-sans); }
.rstep__foot--send { align-items: center; justify-content: space-between; gap: var(--s-24); }
.rsend__note { max-width: 360px; color: var(--taupe-500); font: 500 14px/1.45 var(--f-sans); }
.rsend .icon { width: 18px; height: 18px; }
.rsend.is-busy { cursor: progress; opacity: .8; }

/* Récapitulatif */
.rsum { position: sticky; top: var(--s-24); display: flex; flex-direction: column; gap: var(--s-20); }
.rsum__card { display: flex; flex-direction: column; padding: var(--s-12); border-radius: var(--r-20); background: var(--white); box-shadow: var(--shadow-card); }
/* 4 blocs (gîte, dates, voyageurs, options) : sans trait entre eux, fond léger au survol, tout le bloc est cliquable */
.rsum__bloc { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); padding: var(--s-12); border-radius: var(--r-12); cursor: pointer; transition: background-color .2s; }
.rsum__bloc + .rsum__bloc { margin-top: var(--s-4); }
.rsum__bloc:hover { background: color-mix(in srgb, var(--taupe-50) 65%, var(--white)); }   /* couleur pleine : identique au fond du bouton crayon */
.rsum__bloc > div { min-width: 0; }
.rsum__gite { justify-content: flex-start; align-items: center; gap: var(--s-20); }   /* nom centré verticalement sur la photo ; photo à la même marge que le texte des autres blocs */
.rsum__switch { position: absolute; top: var(--s-12); right: var(--s-12); }
/* Bouton d'édition : icône seule (Lucide pen, ou plus quand c'est vide), discret ; au survol du bloc il devient net, son fond se confond avec celui du bloc */
.rmod--ico { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: color-mix(in srgb, var(--taupe-50) 65%, var(--white)); opacity: .6; transition: opacity .2s; }   /* pas de bordure : fond crème (celui du bloc au survol) */
.rmod--ico .icon { width: 14px; height: 14px; }
.rmod--ico:hover, .rsum__bloc:hover .rmod--ico { background: color-mix(in srgb, var(--taupe-50) 65%, var(--white)); color: var(--blue-700); opacity: 1; }
.rsum__img { flex: none; width: 110px; height: 110px; border-radius: 10px; object-fit: cover; object-position: center 70%; }
.rsum__pre { color: var(--taupe-400); font: 700 20px/.7 var(--f-script); letter-spacing: .01em; }
.rsum__name { margin-top: var(--s-6); color: var(--blue-600); font: 600 30px/1.15 var(--f-serif); white-space: nowrap; }
.rsum__lines, .rsum__total { margin-inline: var(--s-12); }
.rsum__k { color: var(--taupe-500); font: 700 12px/1.5 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; }
.rsum__v { color: var(--blue-700); font: 600 18px/1.6 var(--f-sans); letter-spacing: .01em; }
.rsum__v.is-empty { color: var(--taupe-400); }
.rsum__lines { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-12); padding: var(--s-16) 0; border-top: 2px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); border-bottom: 2px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); }
.rsum__lines > div { display: flex; justify-content: space-between; gap: var(--s-12); font: 18px/1.6 var(--f-sans); letter-spacing: .01em; }
.rsum__lines dt { color: var(--taupe-500); }
.rsum__lines dd { margin: 0; color: var(--blue-700); font-weight: 700; white-space: nowrap; }
.rsum__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: var(--s-16); padding-bottom: 6px; font: 700 15px/1.5 var(--f-serif); text-transform: uppercase; }
.rsum__total span { color: var(--taupe-500); letter-spacing: .12em; }
.rsum__total strong { color: var(--blue-800); font-size: 24px; letter-spacing: .03em; }
/* Garanties sous le récapitulatif (Figma 94:4249) */
.rsum__reassure { align-items: stretch; gap: var(--s-12); margin-top: 0; padding: 0 var(--s-12); }
.rsum__reassure li { align-items: flex-start; gap: var(--s-8); }
.rsum__reassure li.is-solo { align-items: center; }
.rsum__reassure .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--blue-700); opacity: .7; }
.rsum__reassure li.is-solo .icon { margin-top: 0; }
.rsum__reassure div { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.rsum__reassure strong { color: var(--blue-800); font: 600 16px/1.15 var(--f-sans); letter-spacing: .01em; opacity: .8; }
.rsum__reassure p { color: var(--taupe-500); font: 500 14px/1.15 var(--f-sans); letter-spacing: .005em; opacity: .8; }
.rsum__reassure a { color: var(--blue-500); font-weight: 700; text-decoration-color: color-mix(in srgb, var(--taupe-600) 50%, transparent); }

/* Fenêtres : dates et choix du gîte */
.rdlg { width: 860px; }
.rdlg .modal__head { align-items: flex-start; }
.modal__title { color: var(--blue-700); font: 600 24px/1.2 var(--f-serif); }
.rdlg__sub { margin-top: var(--s-4); color: var(--taupe-500); font: 500 16px/1.4 var(--f-sans); }
.rdlg__sub.is-warn { color: var(--red-700); font-weight: 700; }
.rdlg .modal__body { padding-top: var(--s-24); }
.rdlg .cal--flat { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.rdlg .cal--flat .cal__nav { top: -2px; }
.rdlg .cal--flat .cal__nav--prev { left: 0; }
.rdlg .cal--flat .cal__nav--next { right: 0; }
.rdlg .cal__months { gap: 60px; }
.rdlg__foot { display: flex; align-items: center; justify-content: space-between; padding: var(--s-16) var(--s-32); border-top: 1px solid var(--taupe-50); }
.rdlg__foot .btn:disabled { opacity: .4; cursor: default; }
/* Choix du gîte : les cartes gîtes de l'accueil, en plus compact, sur 2 colonnes */
.rdlg--gite { width: 1000px; }
.rgites { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-20); }
.rgcard__img img { height: 260px; }
.rgcard__body { padding: var(--s-20) var(--s-12) var(--s-12); }
.rgcard .gite-card__name { font-size: 38px; }
.rgcard .gite-card__name small { margin-bottom: -6px; font-size: 30px; }
.rgcard .gite-card__pills { margin-top: var(--s-16); }
@media (max-width: 900px) { .rgites { grid-template-columns: 1fr; } }

.rfoot { margin: 100px auto var(--s-40); color: var(--taupe-400); font: 500 14px/1.5 var(--f-sans); text-align: center; }
.rfoot a { color: inherit; }

/* Tablette et mobile : provisoire, à revoir ensemble (récapitulatif en haut, comme Airbnb) */
@media (max-width: 1100px) {
  .rpage { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); max-width: 780px; }
  .rsum { position: static; order: -1; }
}
@media (max-width: 700px) {
  .hero--resa { height: auto; min-height: 0; }
  .hero--resa .hero__content { padding: 110px calc(var(--gutter) - var(--frame)) 50px; }
  .rhero__bar { top: 16px; left: 16px; right: 16px; align-items: center; }
  .rhero__back { width: 44px; height: 44px; }
  .rhero__contact { height: 44px; padding: 0 var(--s-12); font-size: 13px; }
  .rhero__logo img { width: 150px; }
  .rstep { padding: var(--s-20); }
  .rstep__num { font-size: 36px; } .rstep__num small { font-size: 26px; }
  .rcheck > div { grid-template-columns: 1fr auto; }
  .rcheck dd { grid-column: 1 / -1; grid-row: 2; }
  .rstep__foot--send { flex-direction: column-reverse; align-items: stretch; }
  .rdlg .cal__months { grid-template-columns: 1fr; }
}

/* ---------- Choix des voyageurs (inc/voyageurs.php) : le même popover partout ----------
   Adultes, Enfants, puis Bébé (case à cocher) ; style du popover de la barre de l'accueil. */
.vpick-ancre { position: relative; }
.vpick-ancre > .bk-panel--guests { top: calc(100% + var(--s-8)); left: 0; right: 0; width: auto; min-width: 320px; }
.vpick .bk-guests + .bk-guests { margin-top: var(--s-16); padding-top: var(--s-16); border-top: 1px solid var(--taupe-50); }
.bk-guests--check { cursor: pointer; }
.bk-guests--check > span { display: flex; flex-direction: column; }   /* Bébé sur deux lignes, comme Adultes et Enfants */
.vpick .bk-guests__note[hidden] { display: none; }
.vpick__btn .book__chev { transition: transform .2s var(--ease); }
.vpick__btn.is-active .book__chev { transform: rotate(180deg); }
/* Bloc Disponibilités : le popover part du bas du bloc des champs et s'ouvre vers le haut, en débordant de 4 px de chaque côté et en bas */
.av .vpick-ancre > .bk-panel--guests { top: auto; bottom: -4px; left: -4px; right: -4px; }

/* Titre et « Fermer » du choix des voyageurs : seulement quand il remplace la carte */
.vpick__head, .vpick__foot { display: none; }
/* Carte de réservation des pages gîtes : comme pour le calendrier, le choix des voyageurs remplace toute la carte (Fermer pour revenir).
   Dans le tiroir mobile, la carte n'est plus dans .stay : le choix s'y déplie normalement. */
.stay > .stay__aside .vpick-ancre { position: static; }
.stay > .stay__aside .vpick-ancre > .bk-panel--guests { inset: 0; width: auto; min-width: 0; min-height: 100%; padding: var(--s-32); border-radius: var(--r-20); box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in srgb, var(--taupe-500) 10%, transparent); animation: book-fade .3s var(--ease) both; }
.stay > .stay__aside .vpick__head, .stay > .stay__aside .vpick__foot { display: flex; }
.vpick > .bk-panel__foot::before { content: none !important; }   /* « Sélectionnez vos dates » : réservé aux calendriers */
.rdlg--opts { width: 620px; }
/* Choix du gîte : cartes à plat (la fenêtre a déjà son ombre), sélection par une bordure bleue, « Enregistrer » en bas */
.rgcard { position: relative; padding: var(--s-8); border: 2px solid var(--taupe-50); border-radius: var(--r-20); background: var(--white); box-shadow: none !important; cursor: pointer; transition: border-color .2s, background-color .2s; }
.rgcard:hover { border-color: color-mix(in srgb, var(--blue-400) 45%, transparent); }
.rgcard.is-on { border-color: var(--blue-400); background: color-mix(in srgb, var(--blue-50) 45%, var(--white)); }
.rgcard:has(input:focus-visible) { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.rgcard__img img { height: 220px; }
.rgcard .gite-card__name { font-size: 34px; }
.rgcard .gite-card__name small { font-size: 28px; }
.rgcard .gite-card__price { padding-top: var(--s-20); font-size: 26px; }
.rdlg--gite .rdlg__foot .btn:disabled { opacity: .4; cursor: default; }/* Fenêtres d'options : la petite note sur fond léger, centrée ; soulignement des liens plus discret */
.rdlg--opts .rnote, .rdlg--tarifs .rnote { margin-top: var(--s-20); padding: var(--s-12) var(--s-16); border-radius: var(--r-12); background: color-mix(in srgb, var(--taupe-50) 70%, transparent); text-align: center; }
.rnote a, .rlink { text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--blue-500) 35%, transparent); text-underline-offset: 3px; }

/* Champs à libellé intégré (page Réserver) : le libellé est dans le champ et remonte en petit quand on écrit */
.ffield { position: relative; }
.ffield--wide { grid-column: 1 / -1; }
.ffield input, .ffield textarea { width: 100%; height: 60px; padding: 26px var(--s-16) 8px; border: 1px solid var(--taupe-100); border-radius: var(--r-12); background: var(--bg); color: var(--blue-800); font: 500 17px/1.3 var(--f-sans); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ffield textarea { height: 104px; padding-top: 28px; resize: vertical; }
.ffield label { position: absolute; left: 17px; top: 19px; color: var(--taupe-500); font: 500 17px/1.3 var(--f-sans); pointer-events: none; transform-origin: left top; transition: transform .15s var(--ease), color .15s; }
.ffield input:focus + label, .ffield input:not(:placeholder-shown) + label,
.ffield textarea:focus + label, .ffield textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); }
.ffield input:hover, .ffield textarea:hover { background: var(--taupe-50); }
.ffield input:focus, .ffield textarea:focus { outline: 0; border-color: var(--blue-400); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-300) 25%, transparent); }
.ffield [aria-invalid="true"], .ffield [aria-invalid="true"]:focus { border-color: var(--red-400); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-400) 30%, transparent); }   /* même halo que le focus, en rouge */
.ffield .field__err { margin-top: var(--s-6); }
.rsend__note a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--taupe-500) 40%, transparent); text-underline-offset: 3px; }
/* Fenêtres voyageurs / options : pas de marge en plus au-dessus de la première ligne (la fenêtre a déjà la sienne) */
.rdlg .rgroup { margin-top: 0; }
.rdlg .rgroup > .rrow:first-child, .rdlg [data-r-options] > .rrow:first-child, .rdlg [data-opts-gite] > .rrow:first-child { padding-top: 0; }
/* Paiement : trois lignes courtes sous la carte bancaire */
.rcarte { margin-top: var(--s-24); min-height: 140px; }
.rpay__points { display: flex; flex-direction: column; gap: var(--s-8); margin-top: var(--s-20); }
.rpay__points li { display: flex; align-items: flex-start; gap: var(--s-8); color: var(--taupe-700); font: 500 16px/1.4 var(--f-sans); }
.rpay__points .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue-700); opacity: .7; }
.rpay__points strong { color: var(--blue-800); font-weight: 700; }
.rrow__sub:empty { display: none; }
/* Draps de 90 : « 1 lit » et « 2 lits » forment un seul bloc (pas de trait entre les deux, une seule case cochée) */
.rrow:has(input[data-n="1"]) { padding-bottom: var(--s-4); border-bottom: 0; }
.rrow:has(input[data-n="2"]) { padding-top: var(--s-4); }
/* « Appelez-nous » (page Réserver) : bouton du site, le numéro arrive par le bas au clic (composant reach de la page Contact) */
.rhero__reach { display: inline-grid; place-items: center; overflow: hidden; color: var(--blue-800); font: 800 15px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.rhero__reach .reach__face--value { color: var(--blue-700); }
.rhero__reach.is-on { cursor: pointer; }
.modal__title:focus { outline: 0; }   /* le focus va sur le titre à l'ouverture d'une fenêtre (pas de cercle autour de la croix) */
.rgroup > .rrow:has(+ .rnote) { border-bottom: 0; }   /* pas de trait sous la dernière ligne */
/* Choix du gîte : un gîte qui ne convient pas (trop de voyageurs, pas libre à ces dates) est grisé et ne se sélectionne pas */
.rgcard.is-off { border-color: transparent; background: var(--taupe-50); cursor: default; }
.rgcard.is-off:hover { border-color: transparent; }
.rgcard.is-off > :not(input) > :not(.rgcard__off) { opacity: .5; }   /* photo, nom, chips, prix à 50 % ; la raison reste lisible */
.rgcard.is-off .gite-card__filtre { display: none; }
.rgcard.is-off .gite-card__img img { transform: none !important; }
.rgcard.is-off .chip-photos--card { display: none; }
.rgcard__off { margin-top: var(--s-12); color: var(--taupe-700); font: 600 15px/1.3 var(--f-sans); }
.rgcard__off:empty { display: none; }

/* ---------- Tiroir de réservation (inc/tiroir.php) : à droite, voile flou derrière ----------
   Étapes empilées comme sur Airbnb : celle en cours ouverte, les autres repliées en une ligne (libellé à gauche, choix à droite). */
.tiroir { position: fixed; inset: 0 0 0 auto; width: min(620px, 100vw); height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--white); color: inherit; box-shadow: var(--shadow-float); }
.tiroir[open] { display: flex; flex-direction: column; animation: tiroir-in .35s var(--ease); }
.tiroir::backdrop { background: color-mix(in srgb, var(--blue-900) 30%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes tiroir-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.tiroir__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-24) var(--s-32); border-bottom: 1px solid var(--taupe-100); }
.tiroir__title { color: var(--blue-700); font: 600 28px/1.2 var(--f-serif); }
.tiroir__title:focus { outline: 0; }
.tiroir__body { flex: 1; overflow-y: auto; }
.tiroir__foot { display: flex; align-items: center; justify-content: space-between; padding: var(--s-16) var(--s-32); border-top: 1px solid var(--taupe-50); background: var(--white); }
.tiroir__foot .btn:disabled { opacity: .4; cursor: default; }
/* Une étape */
/* Étapes pleine largeur, séparées par un trait ; fond crème pour celles qui restent à faire */
.tsec { border-bottom: 1px solid var(--taupe-100); background: color-mix(in srgb, var(--taupe-50) 65%, var(--white)); }
.tsec.is-fait, .tsec.is-open { background: var(--white); }
.tsec__resume { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); width: 100%; padding: var(--s-20) var(--s-32); border: 0; background: none; text-align: left; }
.tsec__resume span { color: var(--taupe-500); font: 600 16px/1.3 var(--f-sans); }
.tsec__resume strong { color: var(--blue-700); font: 600 16px/1.3 var(--f-sans); }
.tsec__resume strong.is-vide { color: var(--taupe-400); font-weight: 500; }
.tsec.is-fait .tsec__resume:hover { background: color-mix(in srgb, var(--taupe-50) 40%, var(--white)); }
.tsec__contenu { display: none; padding: var(--s-24) var(--s-32) var(--s-32); }
.tsec.is-open .tsec__resume { display: none; }
.tsec.is-open .tsec__contenu { display: block; animation: rstep-in .3s var(--ease); }
.tsec__titre { margin-bottom: var(--s-16); color: var(--blue-700); font: 600 20px/1.3 var(--f-serif); }
.tiroir .rgroup { margin: 0; }
.tiroir .rgroup > .rrow:first-child { padding-top: 0; }
.tiroir .rgroup > .rrow:last-child { border-bottom: 0; padding-bottom: 0; }
.tiroir .cal--flat { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.tiroir .cal--flat .cal__nav { top: -2px; }
.tiroir .cal--flat .cal__nav--prev { left: 0; }
.tiroir .cal--flat .cal__nav--next { right: 0; }
.tiroir .cal__months { gap: var(--s-40); }
.tiroir .rgites { gap: var(--s-16); }
.tiroir .rgcard__img img { height: 180px; }
.tiroir .rgcard .gite-card__name { font-size: 28px; }
.tiroir .rgcard .gite-card__name small { font-size: 24px; }
.tiroir .rgcard .gite-card__price { padding-top: var(--s-16); font-size: 22px; }
.tiroir .rnote { margin-top: var(--s-20); padding: var(--s-12) var(--s-16); border-radius: var(--r-12); background: color-mix(in srgb, var(--taupe-50) 70%, transparent); text-align: center; }
@media (max-width: 700px) {
  .tiroir { width: 100vw; }
  .tiroir__head, .tiroir__foot { padding-inline: var(--s-16); }
  .tiroir__body { padding: 0 var(--s-12) var(--s-24); }
  .tiroir .cal__months { grid-template-columns: 1fr; }
  .tiroir .rgites { grid-template-columns: 1fr; }
}
/* Tiroir à 620 px : deux mois côte à côte, jours un peu plus petits pour tenir dans la largeur */
.tiroir .cal__months { gap: var(--s-24); }
.tiroir .cal__months > * { min-width: 0; }
.tiroir .cal__day { height: 38px; font-size: 15px; }
.tiroir .cal__day span { width: 36px; height: 36px; }
.tiroir .cal__dow { letter-spacing: .04em; }

/* Bouton « Réserver » / « Disponibilités » tant que les dates ne sont pas choisies : pâle, mais cliquable (il ouvre le calendrier) */
.btn--primary.is-pale { opacity: .45; }
.btn--primary.is-pale:hover::before { transform: scaleX(0); }
/* Fenêtre « Disponibilités » : prix du séjour et Réserver en bas de chaque carte ; aucun gîte libre */
.rgcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); margin-top: auto; padding-top: var(--s-20); }
.rgcard__foot .gite-card__price { padding: 0; }
.rgcard__foot[hidden] { display: none; }
[data-dp-carte] { cursor: default; }
.rdlg__aucun { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); margin: 0 var(--s-32) var(--s-32); padding: var(--s-16) var(--s-20); border-radius: var(--r-12); background: color-mix(in srgb, var(--taupe-50) 70%, transparent); color: var(--taupe-700); font: 600 16px/1.4 var(--f-sans); }
.rdlg__aucun[hidden] { display: none; }

/* Page Réserver : le tiroir devient une fenêtre centrée, une seule étape à la fois (titre de l'étape en tête, total sous les options) */
.tiroir.is-popup { inset: 0; width: min(680px, 100vw - 40px); height: fit-content; max-height: 90dvh; margin: auto; border-radius: var(--r-20); }
.tiroir.is-popup[open] { animation: tour-in .3s var(--ease); }
.tiroir.is-popup .tsec:not(.is-open), .tiroir.is-popup .tsec__titre, .tiroir.is-popup [data-t-reset] { display: none; }
.tiroir.is-popup .tsec { border-bottom: 0; }
.tiroir.is-popup .tiroir__foot { border-radius: 0 0 var(--r-20) var(--r-20); }
.tiroir__total { color: var(--taupe-500); font: 600 16px/1.3 var(--f-sans); }
.tiroir__total strong { margin-left: var(--s-8); color: var(--blue-800); font: 700 22px/1 var(--f-serif); }
.tiroir__total[hidden] { display: none; }
/* Fond flou derrière toutes les fenêtres */
.modal::backdrop { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }.tiroir__foot [data-t-next] { margin-left: auto; }   /* bouton toujours à droite, même seul */
/* Gîte non disponible : pas de prix, la raison prend sa place */
.rgcard.is-off .gite-card__price { display: none; }
.rgcard.is-off .rgcard__off { margin-top: auto; padding-top: var(--s-16); }

/* ---------- Page Réserver : mobile ---------- */
.rhero__reach .icon { display: none; }
/* Téléphone : « Appelez-nous » devient un rond avec l'icône (le clic appelle directement), comme le rond Retour en face */
@media (hover: none) and (pointer: coarse) {
  .rhero__reach { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .rhero__reach .reach__face--label { font-size: 0; }
  .rhero__reach .icon { display: block; width: 18px; height: 18px; }
  /* le toucher appelle directement : pas de numéro qui défile, l'icône reste */
  .rhero__reach .reach__face--value { display: none; }
  .rhero__reach.is-on .reach__face--label { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .rsum__name { font-size: 24px; white-space: normal; }   /* le nom du gîte passe à la ligne : plus de débordement */
  .rsum__gite { padding-right: 48px; }   /* place du crayon */
  .rstep__head { padding-right: 56px; }
  .rstep__title { font-size: 21px; }
  /* Fenêtres (dates, voyageurs, gîte, options) : elles montent du bas, sur toute la largeur */
  .tiroir.is-popup { inset: auto 0 0 0; width: 100vw; max-height: 92dvh; margin: 0; border-radius: var(--r-20) var(--r-20) 0 0; }
  .tiroir.is-popup[open] { animation: tour-in .3s var(--ease); }
  .tiroir.is-popup .tiroir__foot { border-radius: 0; }
  .tiroir__head { padding: var(--s-16) var(--s-20); }
  .tsec__contenu { padding: var(--s-20); }
  .tiroir__foot { padding: var(--s-12) var(--s-20); }
}
/* Total du séjour dans le bouton « Réserver » : « Réserver · 646,20 € » */
.btn__total:not(:empty)::before { content: "·"; margin: 0 var(--s-12) 0 var(--s-4); opacity: .7; }

/* iPhone : deux touches rapides sur un bouton (+ / − des voyageurs, jours du calendrier) ne zooment plus la page */
button, a, label, input, select, textarea, .cal__day { touch-action: manipulation; }
/* Mobile : héros plus haut, le récapitulatif remonte et le chevauche (comme la page Tarifs) : presque tout le séjour visible d'emblée */
@media (max-width: 700px) {
  .hero--resa .hero__content { padding-bottom: 150px; }
  .rpage { position: relative; z-index: 2; margin-top: -120px; gap: var(--s-60); }   /* plus d'espace entre le récapitulatif et « Vos coordonnées » */
}
/* Tiroir mobile : écran Voyageurs (pas de « Sélectionnez vos dates » à côté de Fermer, popover à plat) */
.ms-step[data-ms-step="voyageurs"] > .bk-panel__foot::before { content: none !important; }
.ms-step[data-ms-step="voyageurs"] .bk-panel { position: static; width: auto; padding: 0; box-shadow: none; border: 0; animation: none; }
.ms-step[data-ms-step="voyageurs"] { justify-content: space-between; }
.ms-step[data-ms-step="voyageurs"] .bk-close { margin-left: auto; }

/* Étape 3 « Vérifiez votre réservation » : un résumé à lire (phrase, pastilles, carte, prix), pas de champs ni de boutons */
.rverif { margin-top: var(--s-12); }
.rverif__phrase { color: var(--blue-800); font: 600 20px/1.45 var(--f-sans); }
.rverif__pills { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-12); }
.rverif__carte { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-16); color: var(--taupe-700); font: 500 17px/1.4 var(--f-sans); }
.rverif__carte .icon { width: 18px; height: 18px; color: var(--blue-500); }
.rverif__lignes { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-20); padding-top: var(--s-16); border-top: 1px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); }
.rverif__lignes > div { display: flex; justify-content: space-between; gap: var(--s-12); font: 500 17px/1.5 var(--f-sans); }
.rverif__lignes dt { color: var(--taupe-700); }
.rverif__lignes dd { margin: 0; color: var(--blue-700); white-space: nowrap; }
.rverif__total { display: flex; align-items: baseline; justify-content: space-between; margin: var(--s-12) 0 var(--s-8); color: var(--blue-800); font: 700 18px/1.4 var(--f-sans); }
.rverif__total strong { font: 700 22px/1.2 var(--f-serif); }
[data-r-carte-err] { margin-top: var(--s-12); }

/* Étapes remplies : pastilles (coordonnées, carte) et petite phrase sous la carte */
.rrecap { min-width: 0; }
.rrecap__pills { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.rrecap__pills .pill { max-width: 100%; }
.rrecap__pills .pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rstep__recap { align-items: flex-start; }
/* « Vos données » : une phrase à gauche du bouton Suivant de l'étape 1 */
.rstep__foot--info { align-items: center; justify-content: space-between; gap: var(--s-24); }
.rinfo { color: var(--taupe-500); font: 500 14px/1.45 var(--f-sans); }
.rinfo a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--taupe-500) 40%, transparent); text-underline-offset: 3px; }
/* Envoi : conditions et bouton « Réserver » (le plus important du parcours) sur une ligne, bien détachés du total */
.rsend__ligne { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); margin-top: var(--s-32); padding-top: var(--s-24); border-top: 1px solid color-mix(in srgb, var(--taupe-500) 20%, transparent); }
.rsend__ligne .rcgv { margin-top: 0; align-items: center; }
.rsend__ligne .rcgv .rcheckbox { margin: 0; }
.rsend.btn { height: 60px; padding: 0 var(--s-40); font-size: 22px; letter-spacing: .02em; }
@media (max-width: 700px) {
  .rstep__foot--info { flex-direction: column-reverse; align-items: stretch; gap: var(--s-16); }
  .rsend__ligne { flex-direction: column; align-items: stretch; gap: var(--s-20); }
}

/* Étapes remplies : un peu d'air sous le titre ; phrase du paiement sur la ligne du titre (après un petit point) */
.rstep.is-done .rstep__recap { margin-top: var(--s-16); }
.rstep__note { display: none; align-items: center; gap: var(--s-8); margin-left: var(--s-12); color: var(--taupe-500); font: 500 14px/1.45 var(--f-sans); }
.rstep__note .dot { display: inline-block; width: 4px; height: 4px; margin-right: var(--s-8); border-radius: 50%; background: var(--taupe-300); vertical-align: middle; }
.rstep.is-done .rstep__note { display: block; }
.rstep.is-done .rstep__title { flex: none; }
.rstep.is-done .rstep__head { flex-wrap: wrap; align-items: baseline; }   /* titre et phrase alignés sur la ligne de base du texte */
/* Toute l'étape remplie se clique pour la rouvrir. Au survol : fond bleu clair (celui des pastilles, qui s'y fondent),
   le numéro s'efface et le crayon apparaît à droite, centré en hauteur. */
.rstep.is-done { cursor: pointer; }
.rstep.is-done:hover { background: color-mix(in srgb, var(--blue-300) 15%, var(--white)); }
.rstep.is-done:hover .pill { background: none; }
.rstep__num { transition: opacity .2s; }
.rstep.is-done:hover .rstep__num { opacity: 0; }
.rstep__recap .rmod--ico { position: absolute; top: 50%; right: var(--s-32); width: 36px; height: 36px; background: none; color: var(--taupe-500); opacity: 0; transform: translateY(-50%); }
.rstep__recap .rmod--ico .icon { width: 18px; height: 18px; }
.rstep.is-done:hover .rstep__recap .rmod--ico, .rstep__recap .rmod--ico:focus-visible { background: none; color: var(--taupe-500); opacity: 1; }
@media (max-width: 700px) {
  .rstep__note { flex-basis: 100%; margin: var(--s-4) 0 0; }   /* sous le titre, alignée à gauche */
}

/* Erreur d'envoi : sous la ligne « conditions + Réserver » ; elle clignote si l'on reclique ; case des conditions en rouge si c'est elle */
.rsend__ligne + .rerror { margin-top: var(--s-16); }
.rerror.is-flash { animation: rerror-flash .9s var(--ease); }
@keyframes rerror-flash {
  0%, 100% { transform: none; box-shadow: 0 0 0 0 transparent; }
  15% { transform: translateX(-6px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-400) 35%, transparent); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(2px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-400) 35%, transparent); }
}
.rcheckbox.is-invalid { border-color: var(--red-400); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-400) 30%, transparent); }
@media (prefers-reduced-motion: reduce) { .rerror.is-flash { animation: none; } }

/* Page « Demande envoyée » (reserver/demande/) : une carte centrée, même largeur que les étapes de la page Réserver */
.rmerci { max-width: 780px; margin: var(--s-60) auto 0; }
.rmerci__card { padding: var(--s-32) var(--s-40); }
.rmerci__texte { color: var(--taupe-700); font: 500 19px/1.5 var(--f-sans); }
.rmerci__resume { margin-top: var(--s-24); }
.rmerci__sejour { display: flex; align-items: center; gap: var(--s-20); }
.rmerci__img { flex: none; width: 96px; height: 96px; border-radius: var(--r-12); object-fit: cover; }
.rmerci__ref { color: var(--taupe-500); font: 500 14px/1.5 var(--f-sans); }
.rmerci__ref strong { color: var(--blue-700); letter-spacing: .04em; }
.rmerci__actions { display: flex; justify-content: flex-end; gap: var(--s-12); margin-top: var(--s-32); }
@media (max-width: 700px) {
  .rmerci { position: relative; z-index: 2; margin-top: -120px; }
  .rmerci__card { padding: var(--s-24); }
  .rmerci__sejour { flex-direction: column; align-items: flex-start; gap: var(--s-16); }   /* photo au-dessus : la phrase garde toute la largeur */
  .rmerci__img { width: 100%; height: 140px; }
  .rmerci__actions { flex-direction: column-reverse; }
}
