/*
Theme Name: Escale en Corse
Theme URI: https://escaleencorse.fr
Author: MAN GEST
Description: Thème sur mesure pour Escale en Corse — cinq locations entre Corse et Alpes du Sud.
Version: 1.64.5
Requires PHP: 7.4
Text Domain: escale
*/

/* ============ Tokens — pastel Mediterranean ============ */
:root {
  --bg: #FBF6EC;
  --bg-raised: #FFFFFF;
  --bg-sunken: #F2EADA;
  --text: #3E362C;
  --text-muted: #8C8175;
  /* Encre foncee fixe, pour le texte pose sur une pastille blanche : celle-ci
     reste blanche en mode sombre, donc --text (qui devient creme) y est illisible. */
  --ink-on-light: #3E362C;
  --border: #E9DFCC;
  --accent: #7FB3AC;
  --accent-strong: #5D948C;
  --accent-2: #E8A98C;
  --accent-3: #E3C88A;
  --focus-ring: #5D948C;
  --shadow-color: 62 54 40;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #202E2B;
    --bg-raised: #293835;
    --bg-sunken: #182422;
    --text: #F3ECDD;
    --text-muted: #B2C0BA;
    --border: #3C4C48;
    --accent: #8FC4BC;
    --accent-strong: #A8D6CF;
    --accent-2: #EFB999;
    --accent-3: #E9D49E;
    --focus-ring: #8FC4BC;
    --shadow-color: 0 0 0;
  }
}
:root[data-theme="dark"] {
  --bg: #202E2B; --bg-raised: #293835; --bg-sunken: #182422; --text: #F3ECDD; --text-muted: #B2C0BA;
  --border: #3C4C48; --accent: #8FC4BC; --accent-strong: #A8D6CF; --accent-2: #EFB999; --accent-3: #E9D49E;
  --focus-ring: #8FC4BC; --shadow-color: 0 0 0;
}

/* ============ Reset ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-variation-settings: 'SOFT' 60; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 48px); }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); }

/* ============ Header ============ */
header.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; text-decoration: none; }
.wordmark .brand-logo { width: 32px; height: 32px; flex-shrink: 0; }
nav.primary-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.primary-nav a { font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; text-decoration: none; color: var(--text-muted); padding: 8px 14px; border-radius: 999px; transition: color .15s ease, background .15s ease; }
nav.primary-nav a:hover { color: var(--text); background: var(--bg-sunken); }
nav.primary-nav a.is-current { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 16%, transparent); }

.lang-banner { background: var(--bg-sunken); border-bottom: 1px solid var(--border); }
.lang-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.lang-banner-label { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; color: var(--text-muted); }
.lang-banner-options { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-pill { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; background: var(--bg-raised); border: 1px solid var(--border); color: var(--text-muted); padding: 7px 16px; border-radius: 999px; text-decoration: none; display: inline-block; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.lang-pill.is-current { border-color: var(--accent-strong); color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 18%, var(--bg-raised)); }
.lang-pill:hover { color: var(--text); }
.header-lang { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.header-lang .lang-pill { padding: 4px 9px; font-size: 0.72rem; letter-spacing: 0.04em; }
@media (max-width: 860px) { .header-lang { gap: 4px; } .header-lang .lang-pill { padding: 3px 7px; font-size: 0.68rem; } }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--accent-strong); color: #FFFDF8; box-shadow: 0 4px 14px rgb(var(--shadow-color) / 0.18); }
.btn-primary:hover { transform: translateY(-1px); background: var(--accent); box-shadow: 0 6px 18px rgb(var(--shadow-color) / 0.22); }
.btn-ghost { background: var(--bg-raised); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

/* ============ Hero ============ */
.hero { padding-block: clamp(40px, 8vw, 88px) clamp(32px, 6vw, 56px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw + 1rem, 4.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--accent-strong); }
.hero .lede { margin-top: 20px; max-width: 46ch; font-size: 1.1rem; color: var(--text-muted); }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.stamp-figure { position: relative; justify-self: center; }
.stamp-figure svg { width: min(340px, 100%); height: auto; }

/* ============ Defilement des photos sur place ============ */
.photo-slider { position: relative; }
.photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; padding: 0; border-radius: 999px; border: none; background: rgb(255 255 255 / 0.85); color: var(--ink-on-light); font-size: 1.25rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.photo-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.photo-arrow-prev { left: 12px; } .photo-arrow-next { right: 12px; }
.ticket-media-wrap { position: relative; }
.ticket-media-wrap .photo-arrow { width: 30px; height: 30px; font-size: 1.05rem; }
.ticket-media-wrap .photo-arrow-prev { left: 8px; } .ticket-media-wrap .photo-arrow-next { right: 8px; }
@media (prefers-reduced-motion: reduce) { .photo-arrow:hover { transform: translateY(-50%); } }

/* ============ Carousel ============ */
.carousel { position: relative; aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; margin-top: clamp(8px, 2vw, 20px); margin-bottom: clamp(40px, 7vw, 72px); box-shadow: 0 18px 40px rgb(var(--shadow-color) / 0.16); background: var(--bg-sunken); }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .9s ease; text-decoration: none; color: #fff; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,24,16,.65), rgba(30,24,16,0) 55%); }
.carousel-slide-info { position: relative; z-index: 1; padding: clamp(20px, 4vw, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; flex-wrap: wrap; }
.carousel-slide-info h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; }
.carousel-slide-info p { font-size: 0.95rem; opacity: 0.92; margin-top: 4px; }
.carousel-slide-cta { font-family: var(--font-body); font-weight: 700; font-size: 0.86rem; background: rgb(255 255 255 / 0.92); color: var(--ink-on-light); padding: 10px 20px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 999px; border: none; background: rgb(255 255 255 / 0.85); color: var(--ink-on-light); font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-arrow-prev { left: 16px; } .carousel-arrow-next { right: 16px; }
.carousel-dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: none; background: rgb(255 255 255 / 0.55); cursor: pointer; transition: width .25s ease, background .25s ease; }
.carousel-dot.is-active { width: 24px; background: #fff; }
@media (max-width: 640px) { .carousel { aspect-ratio: 4 / 5; } .carousel-slide-info { flex-direction: column; align-items: flex-start; } }

/* ============ Availability checker ============ */
.availability-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 28px; padding: clamp(24px, 4vw, 40px); margin-bottom: clamp(40px, 7vw, 72px); }
.availability-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 16px; align-items: end; }
.availability-form .field { margin-bottom: 0; }
.availability-form select, .availability-form input[type="date"] { font: inherit; font-size: 0.95rem; background: var(--bg-sunken); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; color: var(--text); width: 100%; }
.availability-form .btn { height: fit-content; }
.field label { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.availability-result { margin-top: 6px; }
.avail-status-card { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 24px; border-radius: 20px; }
.avail-status-card strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.avail-status-card p { margin-top: 4px; color: var(--text-muted); }
.avail-status-card.is-available { background: color-mix(in srgb, var(--accent) 16%, var(--bg-raised)); border: 1px solid var(--accent); }
.avail-status-card.is-unavailable { background: color-mix(in srgb, var(--accent-2) 18%, var(--bg-raised)); border: 1px solid var(--accent-2); }
.avail-alt-intro { margin-top: 22px; font-weight: 700; font-size: 0.92rem; }
.avail-error { margin-top: 16px; color: var(--accent-2); font-weight: 600; }
.avail-alt-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.avail-alt-card { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; text-decoration: none; }
.avail-alt-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.avail-alt-card-label { position: relative; z-index: 1; color: #fff; font-weight: 700; font-size: 0.86rem; padding: 12px; }
.availability-demo-note { margin-top: 20px; font-size: 0.82rem; color: var(--text-muted); background: var(--bg-sunken); border-radius: 12px; padding: 10px 16px; }
@media (max-width: 760px) { .availability-form { grid-template-columns: 1fr; } }

/* ============ Section headings ============ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); font-weight: 600; }
.section-head p { color: var(--text-muted); max-width: 42ch; margin-top: 8px; }

/* ============ Escale cards ============ */
.escale-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-bottom: clamp(48px, 7vw, 80px); }
.ticket { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); box-shadow: 0 2px 8px rgb(var(--shadow-color) / 0.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ticket:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 28px rgb(var(--shadow-color) / 0.14); }
.ticket a { text-decoration: none; }
.ticket-media { display: block; color: inherit; }
.ticket-swatch { height: 200px; position: relative; background-size: cover; background-position: center; }
.ticket-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ticket-body h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.rating-line { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; color: var(--accent-3); margin-top: 2px; text-decoration: none; }
a.rating-link { cursor: pointer; } a.rating-link:hover { text-decoration: underline; color: var(--accent-strong); }
.ticket-loc { font-size: 0.92rem; color: var(--text-muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.tag { font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 14%, var(--bg-raised)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); padding: 4px 12px; border-radius: 999px; }
.ticket-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; }
.ticket-foot .cta { font-family: var(--font-body); font-weight: 700; font-size: 0.86rem; color: var(--accent-strong); }

/* ============ Detail view ============ */
.detail-head { padding-block: clamp(28px, 5vw, 48px) 8px; }
.breadcrumb { font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; color: var(--text-muted); text-decoration: none; display: inline-flex; gap: 6px; }
.breadcrumb:hover { color: var(--accent-strong); }
.detail-title-row { margin-top: 18px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.detail-title-row h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 600; }
.detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: 28px clamp(48px, 7vw, 80px); align-items: start; }
.photo-hero { aspect-ratio: 5 / 4; border-radius: 20px; background-size: cover; background-position: center; border: 1px solid var(--border); }
.detail-gallery { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.detail-gallery-item { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--border); cursor: pointer; transition: transform .15s ease; }
.detail-gallery-item:hover { transform: scale(1.04); }
.detail-desc { margin-top: 24px; font-size: 1.02rem; color: var(--text-muted); max-width: 58ch; }
.detail-desc p + p { margin-top: 12px; }
.facts-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.facts-list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.facts-list li span:first-child { color: var(--text-muted); font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; align-self: center; }
.facts-list li span:last-child { text-align: right; font-weight: 500; }
.sidebar-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.sidebar-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.widget-placeholder { margin-top: 14px; border: 1px solid var(--border); border-radius: 16px; padding: 4px; text-align: center; background: var(--bg-sunken); }

/* ============ Gallery page ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: clamp(48px, 7vw, 80px); }
.gallery-tile { aspect-ratio: 4 / 3; border-radius: 18px; position: relative; display: flex; align-items: flex-end; padding: 14px; color: rgb(255 255 255 / 0.95); overflow: hidden; background-size: cover; background-position: center; text-decoration: none; }
.gallery-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); }
.gallery-tile .gt-label { position: relative; z-index: 1; font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; }

/* ============ Contact ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field input, .field textarea, .field select { font: inherit; font-size: 0.95rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; color: var(--text); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--accent-strong); }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin-top: 18px; }
.contact-info dt { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; color: var(--text-muted); align-self: center; }
.contact-info dd { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.contact-info dd a { color: var(--accent-strong); text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }

/* ============ Contact Form 7 — reskin to match the theme ============ */
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.wpcf7-form-control { font: inherit; font-size: 0.95rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; color: var(--text); width: 100%; }
.wpcf7-form-control:focus { border-color: var(--accent-strong); outline: none; }
textarea.wpcf7-form-control { resize: vertical; min-height: 110px; }
.wpcf7-submit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; background: var(--accent-strong); color: #FFFDF8; }
.wpcf7-submit:hover { background: var(--accent); }
.wpcf7-spinner { margin-left: 10px; }
.wpcf7-not-valid-tip { color: var(--accent-2); font-size: 0.82rem; margin-top: 4px; }
.wpcf7-response-output { border-radius: 14px !important; margin-top: 16px !important; font-size: 0.9rem; }

/* ============ Footer ============ */
footer.site-footer { border-top: 1px solid var(--border); padding-block: 40px; margin-top: 20px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-row p { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; text-decoration: none; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-strong); }

.legal-page { max-width: 68ch; padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.legal-page h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); font-weight: 600; margin-bottom: 8px; }
.legal-page h3 { font-size: 1.05rem; font-weight: 600; margin-top: 32px; margin-bottom: 8px; }
.legal-page p { color: var(--text-muted); line-height: 1.7; margin-top: 8px; }
.legal-page p strong { color: var(--text); }
.legal-page a { color: var(--accent-strong); }
.legal-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }
.legal-list li { color: var(--text-muted); line-height: 1.6; list-style: disc; }
.legal-lang-note { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; background: var(--bg-sunken); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }

/* ============ Cookie banner ============ */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--bg-raised); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgb(var(--shadow-color) / 0.14); transform: translateY(110%); transition: transform .3s ease; }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 1180px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner-inner p { font-size: 0.88rem; color: var(--text-muted); max-width: 62ch; margin: 0; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============ Lightbox ============ */
.photo-hero, .detail-gallery-item { cursor: pointer; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 10, 0.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-image { max-width: min(88vw, 1100px); max-height: 84vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 20px 60px rgb(0 0 0 / 0.4); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 999px; border: none; background: rgb(255 255 255 / 0.12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lightbox-close:hover { background: rgb(255 255 255 / 0.22); }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: none; background: rgb(255 255 255 / 0.85); color: var(--ink-on-light); font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lightbox-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.lightbox-arrow-prev { left: clamp(10px, 3vw, 32px); } .lightbox-arrow-next { right: clamp(10px, 3vw, 32px); }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: rgb(255 255 255 / 0.85); background: rgb(255 255 255 / 0.12); padding: 6px 16px; border-radius: 999px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px); background: var(--text); color: var(--bg); font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 100; max-width: 90vw; text-align: center; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stamp-figure { order: -1; width: 200px; margin-inline: auto; }
  .detail-layout, .contact-layout { grid-template-columns: 1fr; }
}

/* Photos indexables : les visuels sont desormais de vraies balises <img>
   (referencement Google Images) et non plus des fonds CSS. Ces regles leur
   redonnent le rendu « cover » des anciens arriere-plans. */
.photo-hero img,
.detail-gallery-item img,
.gallery-tile img,
.carousel-slide-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-hero, .detail-gallery-item, .gallery-tile { overflow: hidden; }
.gallery-tile { position: relative; display: block; }
.gallery-tile .gt-label { position: absolute; z-index: 1; }
.carousel-slide-photo { position: absolute; inset: 0; z-index: 0; }
.carousel-slide-info { position: relative; z-index: 2; }

/* ---------- Calendrier de reservation (dispo + prix) ---------- */
.cal-box { background: #293835; border: 1px solid var(--border, #3C4C48); border-radius: 22px; padding: clamp(16px, 2vw, 24px); margin: 0 0 clamp(30px, 5vw, 56px); }
.sidebar-card .cal-box { background: none; border: 0; padding: 0; margin: 0; }
.cal-titre { margin: 0 0 14px; font-size: 1.08rem; }
.cal-nav-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.cal-nav { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border, #3C4C48); background: transparent; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.cal-nav:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cal-m-t { text-align: center; font-weight: 600; text-transform: capitalize; margin-bottom: 8px; font-size: .95rem; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .68rem; color: var(--text-muted, #B2C0BA); padding-bottom: 3px; }
.cal-d { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; aspect-ratio: 1 / 1; min-height: 32px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: default; padding: 0; overflow: hidden; }
.cal-d em { font-style: normal; font-size: .82rem; line-height: 1.05; }
.cal-d i { font-style: normal; font-size: .55rem; line-height: 1.05; opacity: .85; white-space: nowrap; }
.cal-d.is-past { opacity: .22; }
.cal-d.is-busy { color: var(--text-muted, #B2C0BA); opacity: .4; text-decoration: line-through; }
.cal-d.is-free { background: rgba(93,175,116,.16); border-color: rgba(93,175,116,.42); color: #D8F0DC; cursor: pointer; }
.cal-d.is-free:hover { background: rgba(93,175,116,.32); }
.cal-d.is-mid { background: rgba(143,196,188,.42); border-color: rgba(143,196,188,.6); color: #16211F; }
.cal-d.is-a, .cal-d.is-b { background: #8FC4BC; border-color: #8FC4BC; color: #16211F; font-weight: 700; }
.cal-legend { display: flex; gap: 14px; justify-content: center; margin-top: 14px; font-size: .72rem; color: var(--text-muted, #B2C0BA); }
.cal-legend i.sw { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }
.sw-free { background: rgba(93,175,116,.35); border: 1px solid rgba(93,175,116,.6); }
.sw-busy { background: rgba(255,255,255,.06); border: 1px solid var(--border, #3C4C48); }
.cal-foot { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border, #3C4C48); }
.cal-fields { display: flex; flex-wrap: wrap; gap: 14px; }
.cal-f { display: flex; flex-direction: column; gap: 2px; min-width: 84px; }
.cal-f span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted, #B2C0BA); }
.cal-f b { font-size: .92rem; }
.cal-f select { background: transparent; color: inherit; border: 1px solid var(--border, #3C4C48); border-radius: 10px; padding: 4px 8px; font: inherit; font-size: .9rem; }
.cal-right { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.cal-total { line-height: 1.25; }
.cal-total b { display: block; font-size: 1.35rem; }
.cal-total span { font-size: .78rem; color: var(--text-muted, #B2C0BA); }
.cal-total small { display: block; font-size: .66rem; color: var(--text-muted, #B2C0BA); margin-top: 4px; }
.cal-book { width: 100%; justify-content: center; }
.cal-book[hidden] { display: none !important; }
.cal-box .cal-book.btn-primary { color: #16211F; font-weight: 600; }
.cal-menage { margin: 12px 0 0; text-align: center; font-size: .74rem; line-height: 1.45; color: var(--text-muted, #B2C0BA); }
.cal-msg { margin: 12px 0 0; font-size: .78rem; color: var(--text-muted, #B2C0BA); min-height: 1.15em; }

/* ============ Calendrier : lisibilite en theme clair ============ */
:root { --cal-ink: #1B5233; --cal-ink-mid: #16211F; --cal-sw-busy: rgba(62,54,40,.08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --cal-ink: #D8F0DC; --cal-ink-mid: #16211F; --cal-sw-busy: rgba(255,255,255,.06); }
}
:root[data-theme="dark"] { --cal-ink: #D8F0DC; --cal-ink-mid: #16211F; --cal-sw-busy: rgba(255,255,255,.06); }

.cal-d.is-free { color: var(--cal-ink); }
.cal-d.is-free em { font-weight: 600; }
.cal-d i { font-size: .58rem; opacity: 1; }
.cal-d.is-busy { color: var(--text-muted, #8C8175); opacity: .55; }
.cal-d.is-mid { color: var(--cal-ink-mid); }
.cal-d.is-a, .cal-d.is-b { color: var(--cal-ink-mid); }
.sw-busy { background: var(--cal-sw-busy); }

.cal-paiement { margin: 8px 0 0; text-align: center; font-size: .7rem; line-height: 1.5; color: var(--text-muted, #8C8175); }
.cal-menage + .cal-paiement { padding-top: 8px; border-top: 1px solid var(--border, #E9DFCC); }

/* ============ Page Conciergerie ============ */
.cg-page .hero h1 { text-wrap: balance; }
.cg-hero-photo { aspect-ratio: 5 / 4; border-radius: 20px; background-size: cover; background-position: center; border: 1px solid var(--border); }
.cg-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 26px; margin-bottom: clamp(40px, 6vw, 64px); background: var(--bg-raised); border: 1px solid var(--border); border-radius: 22px; }
.cg-proof div { display: flex; flex-direction: column; gap: 4px; }
.cg-proof strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cg-proof span { color: var(--text-muted); font-size: 0.86rem; }
.cg-section { padding-bottom: clamp(44px, 6vw, 72px); }
.cg-section .section-head h2 { text-wrap: balance; }
.cg-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cg-group { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 22px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.cg-group-head { display: flex; align-items: center; gap: 12px; }
.cg-group-head svg { width: 38px; height: 38px; flex: none; }
.cg-group h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.25; }
.cg-list { display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; list-style: none; }
.cg-list li { position: relative; padding-left: 26px; font-size: 0.95rem; line-height: 1.55; }
.cg-list li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 16px; height: 16px; background: var(--accent-strong); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5l3.6 3.6L13.5 4.2' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2.5 8.5l3.6 3.6L13.5 4.2' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.cg-list li small { display: block; color: var(--text-muted); font-size: 0.86rem; margin-top: 2px; }
.cg-options { background: var(--bg-sunken); border-radius: 22px; padding: 26px 28px 28px; }
.cg-options-head { margin-bottom: 6px; }
.cg-options-head h2 { font-size: 1.5rem; }
.cg-options .cg-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 32px; margin-top: 14px; }
.cg-options .cg-list li::before { background: var(--accent-2); }
.cg-amivac { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--bg-raised); border: 1px solid color-mix(in srgb, var(--accent-3) 60%, var(--border)); border-radius: 22px; padding: 26px 28px; margin-top: 22px; }
.cg-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cg-price small { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.cg-amivac p { color: var(--text-muted); line-height: 1.65; max-width: 62ch; }
.cg-amivac p strong { color: var(--text); }
.cg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.cg-step { position: relative; padding: 24px 24px 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--bg-raised); }
.cg-step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-strong); color: #FFFDF8; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.cg-step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.cg-step p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.cg-tarif { text-align: center; max-width: 60ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.cg-tarif h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); font-weight: 600; text-wrap: balance; }
.cg-tarif p { color: var(--text-muted); margin-top: 10px; line-height: 1.65; }
.cg-contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.cg-form-head { margin-bottom: 22px; }
.cg-form-head h2 { font-size: 1.6rem; }
.cg-form form.wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cg-form form.wpcf7-form > p:nth-of-type(3), .cg-form form.wpcf7-form > p:nth-of-type(8), .cg-form form.wpcf7-form > p:nth-of-type(9), .cg-form form.wpcf7-form > .hidden-fields-container, .cg-form form.wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
.cg-form form.wpcf7-form > .hidden-fields-container { display: none; }
.cg-form form.wpcf7-form > p:nth-of-type(9) { margin-bottom: 8px; }
.cg-aside { display: flex; flex-direction: column; gap: 18px; }
.cg-aside .sidebar-card p { color: var(--text-muted); line-height: 1.65; font-size: 0.95rem; }
.cg-aside .sidebar-card p + p { margin-top: 8px; }
@media (max-width: 900px) {
  .cg-groups, .cg-steps, .cg-proof, .cg-amivac, .cg-contact, .cg-form form.wpcf7-form { grid-template-columns: 1fr; }
  .cg-options .cg-list { grid-template-columns: 1fr; }
}

/* Intertitres des fiches logement passes en h2 (referencement) sans changer leur aspect. */
.desc-more h2 { font: inherit; font-family: inherit; font-variation-settings: normal; text-wrap: normal; }
.carte-logement { margin: 1.4rem 0 .4rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--border, #E9DFCC); }
.carte-logement iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ============ Blocs complémentaires des fiches logement (1.1.4) ============ */
.plus-bloc { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border, #E9DFCC); }
.plus-bloc h2 { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.7rem); font-weight: 600; margin-bottom: 14px; }
.plus-direct ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plus-direct li { position: relative; padding-left: 28px; line-height: 1.6; }
.plus-direct li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cal-ink, #1B5233); font-weight: 700; }
.plus-avis-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plus-cite { margin: 0; background: var(--bg-sunken, #F2EADA); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.plus-cite p { margin: 0; font-size: .95rem; line-height: 1.6; }
.plus-cite footer { font-size: .8rem; color: var(--text-muted, #6B6257); }
.plus-q { border-bottom: 1px solid var(--border, #E9DFCC); padding: 10px 0; }
.plus-q summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; line-height: 1.4; }
.plus-q summary::-webkit-details-marker { display: none; }
.plus-q summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--cal-ink, #1B5233); font-weight: 600; }
.plus-q[open] summary::after { content: "–"; }
.plus-q p { margin: 10px 0 4px; line-height: 1.65; color: var(--text, #3E362C); }
.plus-venir dl { margin: 0; display: grid; gap: 12px; }
.plus-venir dt { font-weight: 700; margin-bottom: 2px; }
.plus-venir dd { margin: 0; line-height: 1.6; }
.plus-carte .carte-logement { margin: 0; }

/* ---------- Les autres escales (bas de fiche, volontairement sobre) ---------- */
.autres-escales { border-top: 1px solid var(--border); margin-top: clamp(28px, 4vw, 48px); padding-block: 18px clamp(40px, 6vw, 72px); }
.autres-escales-titre { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.autres-escales ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2px 32px; }
@media (min-width: 700px) { .autres-escales ul { grid-template-columns: 1fr 1fr; } }
.autres-escales li { padding-block: 7px; }
.autres-escales a { font-size: 0.97rem; color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.autres-escales a:hover { border-bottom-color: var(--accent-strong); }
.autres-escales a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ---------- Lien sous la carte du logement ---------- */
.carte-lien { margin: 10px 0 0; font-size: 0.9rem; }
.carte-lien a { color: var(--accent-strong); text-decoration: none; border-bottom: 1px solid transparent; }
.carte-lien a:hover { border-bottom-color: var(--accent-strong); }

/* ---------- Pages de texte (découverte de la région) ---------- */
.page-texte { padding-block: clamp(34px, 5vw, 60px) clamp(20px, 3vw, 32px); }
.page-texte > h1 { max-width: 20ch; margin: 0 0 clamp(20px, 3vw, 30px); }
.page-texte-corps { max-width: 68ch; }
.page-texte-corps > p, .page-texte-corps > ul, .page-texte-corps > ol { color: var(--text-muted); font-size: 1.02rem; }
.page-texte-corps > p { margin: 0 0 1em; }
.page-texte-corps h2 { margin: clamp(30px, 4vw, 44px) 0 12px; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.page-texte-corps h3 { margin: 24px 0 6px; font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; }
.page-texte-corps ul, .page-texte-corps ol { padding-left: 20px; margin: 0 0 1.1em; }
.page-texte-corps li { margin-bottom: .4em; }
.page-texte-corps a { color: var(--accent-strong); text-decoration: none; border-bottom: 1px solid var(--border); }
.page-texte-corps a:hover { border-bottom-color: var(--accent-strong); }
.page-texte-corps .chapeau { font-size: clamp(1.06rem, 2vw, 1.16rem); color: var(--text); border-left: 3px solid var(--accent, #8FB3AC); padding-left: 18px; margin-bottom: 1.4em; }
.page-texte-corps .liens-logements { background: var(--bg-sunken, #F1E9D9); border-radius: 14px; padding: 14px 18px; font-size: 0.97rem; color: var(--text); }
.page-texte-corps .liens-logements a { border-bottom-color: var(--accent-strong); font-weight: 600; }
.page-texte-corps table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 0.95rem; }
.page-texte-corps th, .page-texte-corps td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.page-texte-corps th { font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.page-texte-corps .liste-plages li, .page-texte-corps .liste-semaine li, .page-texte-corps .liste-logements li { margin-bottom: .55em; }
.page-texte .autres-escales { max-width: 68ch; }
@media (max-width: 640px) { .page-texte-corps table { display: block; overflow-x: auto; } }

/* ---------- Menu de navigation sur telephone ---------- */
/* Au-dessus de 860 px, rien ne change : le bouton est masque et le panneau
   se comporte comme la simple rangee liens + langues d'avant. En dessous, la
   rangee disparait derriere un bouton, car elle ne tenait pas sur la largeur. */
.header-panneau { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	.header-row { flex-wrap: wrap; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-raised); color: var(--text); cursor: pointer; }
	.nav-toggle:hover { background: var(--bg-sunken); }
	.nav-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
	.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
	.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
	.nav-toggle-bars span:nth-child(1) { top: 0; }
	.nav-toggle-bars span:nth-child(2) { top: 6px; }
	.nav-toggle-bars span:nth-child(3) { top: 12px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

	.header-panneau { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding-block: 4px 14px; }
	.header-panneau.is-open { display: flex; }
	nav.primary-nav { flex-direction: column; align-items: stretch; gap: 2px; }
	nav.primary-nav a { padding: 13px 16px; font-size: 0.95rem; border-radius: 12px; }
	.header-lang { justify-content: flex-start; gap: 6px; }
	.header-lang .lang-pill { padding: 9px 15px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nav-toggle-bars span { transition: none; }
}

/* Cases du calendrier : cibles tactiles confortables sur telephone. */
@media (max-width: 640px) {
	.cal-d { aspect-ratio: auto; min-height: 44px; }
}

/* Photos de paysage dans les pages de découverte de la région. */
.region-photo {
	margin: 2.2rem 0;
}
.region-photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	border-radius: 10px;
}
.region-photo figcaption {
	margin-top: .6rem;
	font-size: .88rem;
	line-height: 1.5;
	color: var(--text-muted);
}
.region-photo-portrait img {
	max-width: 420px;
	max-height: none;
	object-fit: contain;
	margin: 0 auto;
}
.region-photo-portrait figcaption { text-align: center; }
@media (max-width: 640px) {
	.region-photo { margin: 1.6rem 0; }
	.region-photo img { max-height: 340px; }
	.region-photo-portrait img { max-height: none; max-width: 100%; }
}

/* ============ Page « Votre séjour » ============ */
.page-sejour {
	max-width: 640px;
	padding-top: 2.4rem;
	padding-bottom: 3.4rem;
}
.page-sejour h1 { margin-bottom: .6rem; }
.sejour-intro {
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 2rem;
}
/* L'attribut hidden doit l'emporter : sans cela, une regle display
   laisserait le formulaire visible sous le remerciement. */
.page-sejour [hidden] { display: none !important; }
.sejour-notes {
	border: 0;
	padding: 0;
	margin: 0 0 1.8rem;
}
.sejour-notes legend {
	padding: 0;
	font-weight: 600;
	font-size: .95rem;
	margin-bottom: .6rem;
}
.sejour-etoiles {
	display: flex;
	gap: .3rem;
}
.sejour-etoile {
	background: none;
	border: 0;
	padding: .2rem .25rem;
	font-size: 2.1rem;
	line-height: 1;
	cursor: pointer;
	color: var(--border, #E9DFCC);
	transition: color .12s ease, transform .12s ease;
	min-width: 44px;
	min-height: 44px;
}
.sejour-etoile.is-pleine { color: #E0A93B; }
.sejour-etoile:hover { transform: translateY(-1px); }
.sejour-etoile:focus-visible {
	outline: 2px solid var(--accent-strong);
	outline-offset: 2px;
	border-radius: 6px;
}
.sejour-aide {
	margin: .5rem 0 0;
	font-size: .88rem;
	color: var(--text-muted);
	min-height: 1.2em;
}
/* Case du consentement : la coche et le texte alignes sur la premiere ligne. */
.sejour-consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 10px;
	align-items: start;
	margin: -0.6rem 0 1.4rem;
	font-size: .93rem;
	cursor: pointer;
}
.sejour-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--accent-strong);
	cursor: pointer;
}
.sejour-consent em {
	display: block;
	font-style: normal;
	color: var(--text-muted);
	font-size: .86rem;
	margin-top: 3px;
}

.sejour-champ {
	display: block;
	margin-bottom: 1.4rem;
}
.sejour-champ > span {
	display: block;
	font-weight: 600;
	font-size: .95rem;
	margin-bottom: .45rem;
}
.sejour-champ em {
	font-style: normal;
	font-weight: 400;
	color: var(--text-muted);
	font-size: .88rem;
}
.sejour-champ textarea,
.sejour-champ input[type="text"],
.sejour-champ input[type="email"] {
	width: 100%;
	padding: .8rem .9rem;
	border: 1px solid var(--border, #E9DFCC);
	border-radius: 10px;
	font: inherit;
	color: inherit;
	background: var(--surface, #fff);
	resize: vertical;
}
.sejour-champ textarea:focus,
.sejour-champ input[type="text"]:focus,
.sejour-champ input[type="email"]:focus {
	outline: 2px solid var(--accent-strong);
	outline-offset: 1px;
	border-color: transparent;
}
.sejour-erreur {
	margin: 0 0 1rem;
	color: #B9452F;
	font-size: .92rem;
}
.sejour-envoyer { min-width: 190px; justify-content: center; }
.sejour-mention {
	margin: 1.2rem 0 0;
	font-size: .84rem;
	line-height: 1.55;
	color: var(--text-muted);
}
.sejour-merci {
	padding: 1.8rem 0 0;
	border-top: 1px solid var(--border, #E9DFCC);
	margin-top: .4rem;
}
.sejour-merci h2 { margin: 0 0 .7rem; }
.sejour-merci p { line-height: 1.75; color: var(--text, #3E362C); }
.sejour-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-top: 1.4rem;
}
.sejour-actions .btn { justify-content: center; }
.sejour-retour {
	margin: 1.6rem 0 0;
	padding-top: 1.2rem;
	border-top: 1px solid var(--border, #E9DFCC);
	font-size: .95rem;
	color: var(--text-muted);
}
.sejour-retour a {
	color: var(--accent, #2F5D50);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 560px) {
	.sejour-etoile { font-size: 1.9rem; }
	.sejour-actions .btn { width: 100%; }
}

/* ============ Pages introuvable et recherche ============ */
.page-vide { max-width: 68ch; padding-block: clamp(48px, 8vw, 96px) clamp(64px, 10vw, 120px); }
.page-vide h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 600; margin-top: 8px; text-wrap: balance; }
.page-vide > p { color: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.page-vide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.recherche-form { display: flex; gap: 10px; margin-top: 24px; }
.recherche-form input[type="search"] { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-raised); color: var(--text); font: inherit; }
.recherche-form input[type="search"]:focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.recherche-nb { margin-top: 28px; font-size: 0.9rem; color: var(--text-muted); }
.recherche-liste { display: grid; gap: 14px; margin-top: 12px; }
.recherche-item { padding: 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-raised); }
.recherche-item h2 { font-size: 1.15rem; font-weight: 600; }
.recherche-item h2 a { color: var(--text); text-decoration: none; }
.recherche-item h2 a:hover { color: var(--accent-strong); }
.recherche-item p { margin-top: 6px; color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.recherche .pagination { margin-top: 28px; }
.recherche .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.recherche .page-numbers { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 0.9rem; }
.recherche .page-numbers.current { background: var(--accent); color: var(--ink-on-light); border-color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
