/* ═══════════════════════════════════════════════════════════════════════════
   style.css — Design system Aude · Retraite Féminine
   Ambiance : éditorial bien-être · luxe doux · féminin · solaire
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Skip link (accessibilité clavier) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--gold, #C2A14D);
  color: #3E3A35;
  padding: .6rem 1.2rem;
  border-radius: 0 0 .4rem .4rem;
  font-size: .85rem;
  font-family: 'Jost', system-ui, sans-serif;
  letter-spacing: .1em;
  font-weight: 500;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ─── Honeypot (invisible pour les humains) ─────────────────────────────── */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: -9999px !important;
}

/* ─── 1. Variables ──────────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --cream:       #FAF7F2;
  --ink:         #3E3A35;
  --sage:        #9CAF88;
  --gold:        #C2A14D;
  --gold-hover:  #B89B5E;
  --gold-faint:  #C2A14D22;
  --gold-light:  #C2A14D55;
  --ink-light:   #7A7268;
  --white:       #FFFFFF;
  --hero-veil-start: rgba(40,35,28,.62);
  --hero-veil-end:   rgba(40,35,28,.12);

  /* Typo */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  /* Tailles */
  --title-xl:   clamp(2.2rem, 6vw, 4.5rem);
  --title-lg:   clamp(1.6rem, 3.5vw, 2.8rem);
  --title-md:   clamp(1.3rem, 2.5vw, 2rem);
  --subtitle:   clamp(1.05rem, 2vw, 1.4rem);
  --body:       1rem;
  --small:      .875rem;
  --label:      .72rem;

  /* Espacements */
  --section-py: clamp(4rem, 8vw, 8rem);
  --container:  1160px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(.25,.46,.45,.94);
  --ease-in-out: cubic-bezier(.4,0,.2,1);
}

/* ─── 2. Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--body);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── 3. Typography helpers ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: var(--title-xl); }
h2 { font-size: var(--title-lg); }
h3 { font-size: var(--title-md); }

em {
  font-style: italic;
  font-family: var(--font-serif);
}

p { line-height: 1.75; }

/* ─── 4. Layout helpers ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--narrow {
  max-width: 760px;
}

.hide-mobile { display: inline; }

/* ─── 5. Reveal animation ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── 6. HEADER ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s;
}

.site-header.scrolled {
  background: rgba(250,247,242,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .75rem 0;
  box-shadow: 0 1px 24px rgba(62,58,53,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  transition: color .3s;
  letter-spacing: .03em;
}

.site-header.scrolled .header-brand { color: var(--ink); }

.brand-mark { color: var(--gold); font-size: 1rem; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav .nav-link {
  font-family: var(--font-sans);
  font-size: var(--small);
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .25s;
}

.site-header.scrolled .header-nav .nav-link {
  color: var(--ink-light);
}

.header-nav .nav-link:hover,
.site-header.scrolled .header-nav .nav-link:hover {
  color: var(--gold);
}

.header-nav .nav-link--cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .45rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: background .25s, color .25s;
}

.header-nav .nav-link--cta:hover {
  background: var(--gold);
  color: var(--white);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}

/* ─── Menu Mobile Premium ─────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  background: none;
  border: 1.5px solid rgba(62,58,53,.2);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.35s ease, color 0.25s, border-color 0.25s;
}
.mobile-nav-close:hover {
  transform: rotate(90deg);
  color: var(--gold);
  border-color: var(--gold);
}

.mobile-nav-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.mobile-nav.open .mobile-nav-brand {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-brand::after {
  content: '';
  display: block;
  width: 30px;
  height: 1.5px;
  background: var(--gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 7.5vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.6rem 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.25s ease, transform 0.25s ease;
}
.mobile-nav.open .mobile-nav-link { opacity: 1; transform: translateY(0); }

.mobile-nav-link:nth-child(1) { transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s, color 0.25s; }
.mobile-nav-link:nth-child(2) { transition: opacity 0.4s ease 0.28s, transform 0.4s ease 0.28s, color 0.25s; }
.mobile-nav-link:nth-child(3) { transition: opacity 0.4s ease 0.36s, transform 0.4s ease 0.36s, color 0.25s; }

.mobile-nav-link:hover { color: var(--gold); }

.mobile-nav-link--cta {
  margin-top: 2rem;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: 100px;
  padding: 0.9rem 2.5rem;
  width: auto;
  box-shadow: 0 4px 20px rgba(194,161,77,.3);
  opacity: 0;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.4s ease 0.48s;
}
.mobile-nav.open .mobile-nav-link--cta { opacity: 1; transform: translateY(0); }
.mobile-nav-link--cta:hover {
  background: var(--gold-hover);
  box-shadow: 0 6px 28px rgba(194,161,77,.45);
  transform: translateY(-2px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40,35,28,.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 150;
}
.mobile-nav-overlay.show { display: block; }

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: background .3s, transform .3s, opacity .3s;
  transform-origin: center;
}

.site-header.scrolled .nav-burger span { background: var(--ink); }



/* ─── 7. HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Carrousel */
.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s var(--ease-out);
  will-change: opacity, transform;
}

.hero-slide--active {
  opacity: 1;
}

/* Ken Burns — uniquement si pas de reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide--active {
    animation: kenburns 12s var(--ease-out) forwards;
  }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Fallback fond dégradé si images absentes */
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4C9B0 0%, #9CAF88 100%);
  z-index: -1;
}

/* Images du carrousel hero (en CSS pour respecter la CSP) */
.hero-slide--1 {
  background-image: url('/assets/img/carousel/villa-terrasse.jpg');
  background-position: center 40%;
}

.hero-slide--2 {
  background-image: url('/assets/img/carousel/villa-piscine.jpg');
  background-position: center 35%;
}

.hero-slide--3 {
  background-image: url('/assets/img/carousel/villa-cuisine.jpg');
  background-position: center 30%;
}

/* Voile */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--hero-veil-start) 0%,
    var(--hero-veil-end) 70%,
    rgba(250,247,242,.3) 100%
  );
  z-index: 1;
}

/* Contenu hero */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-inline: 1.5rem;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--title-xl);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(40,35,28,.35);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: var(--subtitle);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* CTA pill */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1rem 2.75rem;
  border-radius: var(--radius-pill);
  transition: background .25s, box-shadow .25s, transform .2s;
  box-shadow: 0 4px 24px rgba(194,161,77,.35);
  min-height: 52px;
}

.btn-cta em {
  color: var(--ink);
  font-style: italic;
}

.btn-cta:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 32px rgba(194,161,77,.45);
  transform: translateY(-2px);
}

/* Indicateurs */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .6rem;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  transition: background .3s, width .3s;
  cursor: pointer;
  padding: 0;
  min-height: 20px;
  display: flex;
  align-items: center;
}

.hero-dot::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: inherit;
  border-radius: 2px;
}

.hero-dot--active {
  background: var(--gold);
  width: 48px;
}

/* Flèche scroll */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 3;
  color: rgba(255,255,255,.7);
  transition: color .25s, transform .25s;
}

.hero-scroll:hover { color: var(--gold); transform: translateY(3px); }

.scroll-dot {
  animation: scrollBounce 2s var(--ease-in-out) infinite;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
  }
}

/* ─── 8. SECTION COMMUNE ─────────────────────────────────────────────────── */
section {
  padding-block: var(--section-py);
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-top: .75rem;
  line-height: 1.7;
}

/* ─── 9. L'EXPÉRIENCE ────────────────────────────────────────────────────── */
.section-experience {
  background: var(--cream);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
}

.exp-item {
  position: relative;
  padding-top: 3rem;
}

.exp-number {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: .05em;
  user-select: none;
}

.exp-item h3 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  color: var(--ink);
}

.exp-item p {
  font-size: .95rem;
  color: var(--ink-light);
}

/* ─── 10. LE LIEU ────────────────────────────────────────────────────────── */
.section-lieu {
  background: #F5F0E8;
}

.lieu-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.gallery-item--large {
  grid-column: 1 / -1;
}

.gallery-item {
  overflow: hidden;
  border-radius: .5rem;
  background: #E8E0D0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s var(--ease-out);
  display: block;
  aspect-ratio: 16/9;
}

.gallery-item--large img {
  aspect-ratio: 21/9;
  object-position: center 40%;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  padding: .75rem 1rem;
  font-size: var(--small);
  color: var(--ink-light);
  letter-spacing: .05em;
  border-top: 1px solid rgba(194,161,77,.2);
  background: var(--white);
}

/* Galerie : photos supplémentaires masquées + bouton « Afficher plus » */
.gallery-item--extra {
  display: none;
}

.lieu-gallery.is-expanded .gallery-item--extra {
  display: block;
}

.gallery-more {
  text-align: center;
  margin-top: 2rem;
}

.gallery-more .btn-cta {
  border: none;
  cursor: pointer;
}

/* Vidéo de la villa (galerie) — mêmes codes visuels que les photos */
.gallery-item--video {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.gallery-item--video video {
  width: 100%;
  display: block;
  aspect-ratio: 1024 / 1820;
  object-fit: cover;
  background: #E8E0D0;
}

/* ─── 11. AUDE ───────────────────────────────────────────────────────────── */
.section-aude {
  background: var(--cream);
}

.aude-inner {
  text-align: left;
}

.aude-inner h2 {
  margin-bottom: 2rem;
}

.aude-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.85;
}

.aude-text p:last-child { margin-bottom: 0; }

.aude-signature {
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
}

/* ═══ 12. FAQ ═════════════════════════════════════════════════════ */
.section-faq {
  background: var(--cream);
  border-top: 1px solid rgba(194,161,77,.15);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(194,161,77,.2);
}

.faq-item:first-child {
  border-top: 1px solid rgba(194,161,77,.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover { color: var(--gold); }

/* Icône + / × */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .25s, border-color .25s, transform .3s var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .25s;
}

.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

details[open] .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}

details[open] .faq-icon::before,
details[open] .faq-icon::after { background: var(--white); }

.faq-answer {
  padding-bottom: 1.35rem;
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.75;
  animation: fadeSlide .3s var(--ease-out) both;
}

.faq-answer strong { color: var(--ink); font-weight: 500; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer { animation: none; }
}

/* ─── 12. QUESTIONNAIRE ──────────────────────────────────────────────────── */
.section-questionnaire {
  background: linear-gradient(180deg, #F5F0E8 0%, var(--cream) 100%);
}

.form-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.form-subtitle {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-top: .75rem;
}

/* Formulaire */
.retreat-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  position: relative;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-label {
  font-family: var(--font-sans);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.field-optional {
  font-size: .65rem;
  text-transform: none;
  letter-spacing: .05em;
  color: var(--ink-light);
  margin-left: .25em;
}

.field-input {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold-light);
  padding: .6rem 0 .5rem;
  outline: none;
  width: 100%;
  transition: border-color .25s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.field-input::placeholder {
  color: #B0A898;
  font-style: italic;
  font-family: var(--font-serif);
}

.field-input:focus {
  border-bottom-color: var(--gold);
  border-bottom-width: 1.5px;
}

.field-input.has-error {
  border-bottom-color: #C0392B;
}

.field-textarea {
  resize: vertical;
  min-height: 130px;
}

/* Captcha */
.captcha-group {
  grid-column: 1 / -1;
}

.captcha-question {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--ink-light);
  margin-bottom: .25rem;
  font-style: normal;
}

.captcha-input {
  max-width: 120px;
  -moz-appearance: textfield;
}

.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Checkbox RGPD */
.field-group--checkbox {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  cursor: pointer;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  margin-top: 2px;
  transition: background .2s, border-color .2s;
  display: grid;
  place-items: center;
}

.checkbox-input:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(42deg) translate(-1px, -1px);
}

.checkbox-input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.checkbox-text {
  font-size: .9rem;
  color: var(--ink-light);
  line-height: 1.5;
  font-style: normal;
  font-family: var(--font-sans);
}

/* Erreurs champ */
.field-error {
  font-size: .78rem;
  color: #A0392B;
  font-family: var(--font-sans);
  font-style: normal;
  min-height: 1rem;
  letter-spacing: .02em;
}

.field-error--global {
  grid-column: 1 / -1;
  text-align: center;
  font-size: .88rem;
}

/* Bouton submit formulaire */
.btn-form-submit {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .2s;
  box-shadow: 0 4px 24px rgba(194,161,77,.3);
  min-height: 52px;
}

.btn-form-submit:hover:not(:disabled) {
  background: var(--gold-hover);
  box-shadow: 0 8px 32px rgba(194,161,77,.4);
  transform: translateY(-2px);
}

.btn-form-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

/* Message succès */
.form-success {
  text-align: center;
  padding: 4rem 2rem;
}

.form-success[hidden] { display: none; }

.form-success-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success-heart {
  font-size: 3rem;
  line-height: 1;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

.form-success p {
  font-size: 1.05rem;
  color: var(--ink-light);
}

/* ─── 13. FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding-block: 3rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}

.footer-rgpd {
  font-size: var(--small);
  margin-bottom: .75rem;
  line-height: 1.6;
}

.footer-credits {
  font-size: .78rem;
  letter-spacing: .05em;
}

.footer-credits a {
  color: var(--gold);
  transition: color .2s;
}

.footer-credits a:hover { color: var(--gold-hover); }

.footer-update {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
  margin-top: .5rem;
  letter-spacing: .04em;
}

/* Lien admin discret mais visible */
.footer-admin-link {
  display: inline-block;
  color: rgba(255,255,255,.35);
  margin-left: .75rem;
  font-size: .7rem;
  font-family: var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── 14. RESPONSIVE ──────────────────────────────────────────────────────── */

/* Tablette */
@media (max-width: 900px) {
  .exp-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lieu-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item--large {
    grid-column: 1;
  }

  .gallery-item img,
  .gallery-item--large img {
    aspect-ratio: 4/3;
  }

  .header-nav { display: none; }
  .nav-burger  { display: flex; }

  .retreat-form {
    grid-template-columns: 1fr;
  }

  .field-group--full,
  .captcha-group,
  .field-group--checkbox,
  .btn-form-submit {
    grid-column: 1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hide-mobile { display: none; }

  .hero-content { padding-inline: 1rem; }

  .hero-scroll { right: 1rem; bottom: 1rem; }

  .gallery-item img,
  .gallery-item--large img {
    aspect-ratio: 3/2;
    object-position: center 30%;
  }

  .lieu-gallery { gap: .75rem; }

  .aude-text p { font-size: 1rem; }
}

/* Mobile portrait extra-petit */
@media (max-width: 400px) {
  :root { --title-xl: clamp(1.9rem, 9vw, 2.5rem); }

  .btn-cta {
    padding: .85rem 1.75rem;
    font-size: .75rem;
  }
}

/* ─── 15. Print / prefers-reduced-motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-slide--active { animation: none; }
  .scroll-dot         { animation: none; }
  html                { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- EXP PROGRAM RESPONSIVE STYLES --- */
.exp-program {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}
.exp-program p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.program-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.program-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.program-list li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.9rem;
    top: 0.2rem;
}
.program-list li.list-heading {
    padding-left: 0;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--text);
    font-style: italic;
}
.program-list li.list-heading::before {
    display: none;
}
@media (max-width: 768px) {
    .exp-program {
        font-size: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
}



/* --- LIGHTBOX --- */
.lightbox-trigger {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.lightbox-trigger:hover {
  transform: scale(1.02);
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox-overlay.show .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox-close:hover {
  color: var(--gold);
}



/* --- MODERN GLASSMORPHISM EFFECTS --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 4rem auto;
    max-width: 850px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
    .glass-panel {
        padding: 1.5rem;
        margin: 2rem 1rem;
        border-radius: 12px;
    }
}

