/* ============================================================
   DOMAINE DE PAGAYRAC — Toscane Française
   Palette : terracotta · ocre · olive · rose poudré · cream
   Formes : arches, courbes, blobs, pilules, border-radius généreux
============================================================ */

:root {
  /* COULEURS — Toscane française */
  --terracotta:     #c87952;
  --terracotta-dk:  #9c4d2f;
  --brick:          #b86a4a;
  --brick-dk:       #7d3a23;
  --ochre:          #d4a15a;
  --ochre-dk:       #b07e3a;
  --sun:            #e8b976;
  --rose:           #d9a89a;
  --rose-dk:        #b67e6e;
  --olive:          #7a8c5f;
  --olive-dk:       #56683e;
  --cream:          #faf3e7;
  --cream-warm:     #f2e5cf;
  --cream-sand:     #ede1c7;
  --ivory:          #fffaed;
  --text:           #3d2f25;
  --text-warm:      #5a4635;
  --text-light:     #8a7463;
  --rule:           #d9c9ad;
  --shadow-soft:    0 20px 50px -20px rgba(156, 77, 47, 0.22);
  --shadow-strong:  0 40px 100px -35px rgba(61, 47, 37, 0.45);
  --shadow-glow:    0 20px 60px -15px rgba(200, 121, 82, 0.35);

  /* TYPO */
  --display:  'DM Serif Display', 'Playfair Display', Georgia, serif;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ESPACE */
  --container: 1280px;
  --narrow:    860px;
  --gutter:    24px;
  --section-y: clamp(80px, 10vw, 150px);

  /* TRANSITIONS */
  --t-fast: 200ms cubic-bezier(.2,.7,.2,1);
  --t-med:  400ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 700ms cubic-bezier(.2,.7,.2,1);

  /* RAYONS — formes arrondies */
  --r-pill:  999px;
  --r-xl:    40px;
  --r-lg:    28px;
  --r-md:    18px;
  --r-sm:    12px;
  --r-arch:  50% 50% 0 0 / 60% 60% 0 0;   /* arche plein cintre */
  --r-blob:  62% 38% 55% 45% / 58% 48% 52% 42%;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--sun); color: var(--brick-dk); }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.container--narrow { max-width: var(--narrow); }
.center { text-align: center; }

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--cream  { background: var(--cream); }
.section--sand   { background: var(--cream-sand); }
.section--warm   { background: var(--cream-warm); }
.section--dark   { background: var(--brick-dk); color: var(--cream); }
.section--terracotta {
  background: linear-gradient(160deg, var(--terracotta) 0%, var(--brick) 60%, var(--terracotta-dk) 100%);
  color: var(--cream);
}
.section__head { margin-bottom: 64px; }

/* ============================================================
   SVG — Séparateurs courbes entre sections
============================================================ */
.wave-divider {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: 80px;
  display: block;
  line-height: 0;
  z-index: 1;
}
.wave-divider--top    { top: -1px; transform: rotate(180deg); }
.wave-divider--bottom { bottom: -1px; }
.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Décos — blobs organiques en fond */
.blob {
  position: absolute;
  border-radius: var(--r-blob);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.5;
}

/* ============================================================
   TYPO
============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1.5px;
  background: var(--terracotta);
  border-radius: var(--r-pill);
}
.eyebrow--light { color: var(--sun); }
.eyebrow--light::before { background: var(--sun); }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1;
  color: var(--brick-dk);
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.h2--light { color: var(--cream); }
.h2--light em { color: var(--sun); }
.h2__sub {
  display: block;
  font-family: var(--serif);
  font-size: 0.42em;
  font-style: italic;
  color: var(--ochre);
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  color: var(--brick-dk);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.45;
  color: var(--text-warm);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.prose p, .prose__body { margin-bottom: 18px; line-height: 1.75; max-width: 62ch; }
.prose__light { color: rgba(250, 243, 231, 0.88); line-height: 1.8; margin-bottom: 18px; max-width: 60ch; }
.center .prose__light,
.center .lead { margin-left: auto; margin-right: auto; }

.muted { color: var(--text-light); font-size: 0.92em; }

.rule {
  width: 72px;
  height: 2.5px;
  background: var(--terracotta);
  margin: 0 0 32px 0;
  border-radius: var(--r-pill);
  position: relative;
}
.rule::after {
  content: '';
  position: absolute;
  left: 78px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--ochre);
  border-radius: 50%;
}
.rule.center { margin-left: auto; margin-right: auto; }
.rule.center::after { left: calc(50% + 42px); }
.rule--gold { background: var(--sun); }
.rule--gold::after { background: var(--cream); }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t-med), box-shadow var(--t-med), padding var(--t-med);
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(250, 243, 231, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px -10px rgba(156, 77, 47, 0.2);
  padding: 8px 0;
}
.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  transition: color var(--t-med);
}
.nav.scrolled .nav__brand { color: var(--brick-dk); }

.nav__brand-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--terracotta) 0%, var(--brick) 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(156, 77, 47, 0.5);
}
.nav__brand-mark::after {
  content: 'P';
  font-family: var(--display);
  font-size: 22px;
  color: var(--cream);
  transform: rotate(45deg);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.nav__brand-loc {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--sun);
  border-radius: var(--r-pill);
  transition: width var(--t-med);
}
.nav__link:hover::after { width: 100%; }
.nav.scrolled .nav__link { color: var(--text); }
.nav.scrolled .nav__link::after { background: var(--terracotta); }

.nav__cta {
  background: var(--terracotta);
  color: var(--cream) !important;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 6px 18px -8px rgba(156, 77, 47, 0.5);
}
.nav__cta:hover {
  background: var(--brick);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(156, 77, 47, 0.7);
}

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  background: rgba(250, 243, 231, 0.15);
  border: none;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}
.nav__burger span {
  width: 20px; height: 2px;
  background: var(--cream);
  border-radius: var(--r-pill);
  transition: background var(--t-med), transform var(--t-med), opacity var(--t-med);
}
.nav.scrolled .nav__burger { background: var(--cream-warm); }
.nav.scrolled .nav__burger span { background: var(--brick-dk); }

/* ============================================================
   HERO — avec arche Toscane
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--brick-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  overflow: hidden;
  padding-bottom: 120px;
}

/* SLIDER — fond carrousel automatique */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1400ms ease-in-out, transform 9000ms ease-out;
  will-change: opacity, transform;
}
.hero__slide::after {
  /* Voile sombre pour lisibilité du texte */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(61, 47, 37, 0.35), rgba(61, 47, 37, 0.7));
}
.hero__slide--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, transparent 20%, rgba(61, 47, 37, 0.4) 100%);
  z-index: 2;
}
/* Blobs décoratifs dans le hero */
.hero__blob {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: var(--r-blob);
  opacity: 0.3;
  filter: blur(50px);
  animation: blobFloat 20s ease-in-out infinite;
}
.hero__blob--1 {
  top: 15%; left: -10%;
  width: 40%; height: 40%;
  background: var(--sun);
}
.hero__blob--2 {
  bottom: 20%; right: -5%;
  width: 35%; height: 35%;
  background: var(--rose);
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -20px) rotate(5deg); }
  66% { transform: translate(-20px, 30px) rotate(-3deg); }
}

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 100px 24px 40px;
  max-width: 960px;
}
.hero__eyebrow {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 156px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 32px;
}
.hero__title span { display: block; }
.hero__title span:first-child {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sun);
  font-weight: 500;
  font-size: 0.5em;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: rgba(250, 243, 231, 0.92);
  max-width: 620px;
  margin: 0 auto 44px;
  font-style: italic;
}
.hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}
.hero__badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(250, 243, 231, 0.08);
  border: 1px solid rgba(232, 185, 118, 0.35);
  border-radius: var(--r-pill);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
}
.badge strong {
  font-family: var(--display);
  font-size: 24px;
  color: var(--sun);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}
.badge span {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 243, 231, 0.75);
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 30px;
  height: 52px;
  border: 1.5px solid var(--sun);
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--sun);
  border-radius: var(--r-pill);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 20% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  80%, 100% { transform: translateY(8px); opacity: 0; }
}

/* ============================================================
   BOUTONS — pilules Toscane
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  transition: background var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
}
.btn--primary {
  background: var(--sun);
  color: var(--brick-dk);
  box-shadow: 0 10px 24px -10px rgba(232, 185, 118, 0.6);
}
.btn--primary:hover {
  background: var(--ochre);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -12px rgba(212, 161, 90, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 243, 231, 0.5);
}
.btn--ghost:hover {
  background: var(--cream);
  color: var(--brick-dk);
  border-color: var(--cream);
}
.section--cream .btn--ghost,
.section--sand .btn--ghost,
.section--warm .btn--ghost {
  color: var(--brick-dk);
  border-color: var(--terracotta);
}
.section--cream .btn--ghost:hover,
.section--sand .btn--ghost:hover,
.section--warm .btn--ghost:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.btn--small { padding: 11px 24px; font-size: 11px; }
.btn--large { padding: 19px 44px; font-size: 14px; }

/* ============================================================
   META ROW — chiffres clés
============================================================ */
.meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 70px;
  padding: 50px 0;
  border-top: 1.5px dashed var(--rule);
  border-bottom: 1.5px dashed var(--rule);
}
.meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.meta__num {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.meta__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   SPLIT
============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__text  { order: 1; }
.split--center { align-items: center; }

/* ============================================================
   MEDIA — galerie avec arches et formes arrondies
============================================================ */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 260px;
  gap: 16px;
  position: relative;
}
.media-grid__item {
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}
.media-grid__item--large {
  grid-row: 1 / 3;
  border-radius: 48% 48% var(--r-lg) var(--r-lg) / 28% 28% var(--r-lg) var(--r-lg);
}
.media-grid__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

/* Photos — chemins locaux */
.media-grid__item[data-img="grange-interieur.jpg"]  { background-image: url('../img/domaine/20210828-204028-convertimage_3_173067-163614191117519.jpeg'); background-position: center center; }
.media-grid__item[data-img="grange-charpente.jpg"]  { background-image: url('../img/domaine/20210806-222805-convertimage_3_173067-163614175473394.jpeg'); }
.media-grid__item[data-img="detail-vintage.jpg"]    { background-image: url('../img/domaine/1000008236_3_173067-169497008695248.jpeg'); }
.media-grid__item[data-img="parc-fontaine.jpg"]     { background-image: url('../img/domaine/le-bassin_3_173067.jpeg'); background-position: center 60%; }
.media-grid__item[data-img="jardin-fleuri.jpg"]     { background-image: url('../img/domaine/1000008766_3_173067-169497053929904.jpeg'); }
.media-grid__item[data-img="vue-pyrenees.jpg"]      { background-image: url('../img/domaine/le-parc-2_3_173067.jpeg'); }

/* Media tall — arche plein cintre */
.media-tall {
  background: var(--cream-warm);
  border-radius: var(--r-arch);
  height: 560px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--cream);
  outline: 1px solid var(--terracotta);
  outline-offset: 6px;
}
.media-tall[data-img="ceremonie-laique.jpg"] {
  background-image: url('../img/domaine/le-parc_3_173067.jpeg');
}

/* Portrait — arche plein cintre aussi */
.media-portrait {
  background: var(--cream-warm);
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-strong);
  border: 3px solid var(--cream);
  outline: 1px solid var(--terracotta);
  outline-offset: 6px;
}
.media-portrait[data-img="mme-loo.jpg"] {
  background-image: url('../img/domaine/1000009456_3_173067-169497043025431.jpeg');
  background-position: center 30%;
}

/* Placeholder */
.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 12px,
      rgba(200, 121, 82, 0.1) 12px,
      rgba(200, 121, 82, 0.1) 24px
    ),
    linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-sand) 100%);
  border: 1.5px dashed var(--terracotta);
  border-radius: inherit;
  pointer-events: none;
}
/* MINI-SLIDERS — sections Le Lieu / Le Parc
   Chaque .mini-slider contient des .mini-slide empilés en fondu */
.mini-slider {
  background-image: none !important;
}
.mini-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1100ms ease-in-out;
  border-radius: inherit;
  pointer-events: none;
}
.mini-slide--active {
  opacity: 1;
  z-index: 1;
}

/* Sécurité : tout élément avec data-img DOIT cacher son placeholder
   (les backgrounds sont définis en CSS, pas en inline style) */
.media-grid__item[data-img] .placeholder,
.media-tall[data-img] .placeholder,
.media-portrait[data-img] .placeholder,
.media-grid__item[style*="background-image"] .placeholder,
.media-tall[style*="background-image"] .placeholder,
.media-portrait[style*="background-image"] .placeholder { display: none; }

/* FEATURES — liste avec puces terracotta */
.features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
}
.features li span {
  color: var(--terracotta);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}
.section--dark .features li,
.section--terracotta .features li { color: rgba(250, 243, 231, 0.92); }
.section--dark .features li span,
.section--terracotta .features li span { color: var(--sun); }

/* ============================================================
   MATTERPORT — cadre arrondi avec bordure ocre
============================================================ */
.matterport {
  margin-top: 60px;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(61, 47, 37, 0.6);
  border: 4px solid var(--cream);
  outline: 2px solid var(--sun);
  outline-offset: 10px;
  aspect-ratio: 16 / 9;
  background: var(--brick-dk);
}
.matterport iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.matterport__caption {
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(250, 243, 231, 0.7);
  margin-top: 30px;
  letter-spacing: 0.02em;
}

/* ============================================================
   CARDS — Mariages (pilules arrondies)
============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.card {
  background: var(--ivory);
  padding: 40px 28px;
  border-radius: var(--r-xl);
  text-align: center;
  border: 1px solid var(--rule);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(200, 121, 82, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--t-slow);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--terracotta);
}
.card:hover::before { transform: scale(1.5); }
.card__icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--sun) 0%, var(--terracotta) 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -8px rgba(200, 121, 82, 0.5);
  position: relative;
  z-index: 1;
}
.card__icon::after {
  content: '⊕';
  font-size: 26px;
  color: var(--cream);
  transform: rotate(45deg);
  font-weight: 300;
}
.card p { color: var(--text-warm); font-size: 15px; line-height: 1.65; position: relative; z-index: 1; }
.card strong { color: var(--brick-dk); font-weight: 600; }

/* ============================================================
   WEDDINGS (cartes couples) — arches en haut
============================================================ */
.weddings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.wedding-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-warm);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med), box-shadow var(--t-med);
  border: 3px solid var(--cream);
  outline: 1.5px solid var(--terracotta);
  outline-offset: 6px;
}
.wedding-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  outline-color: var(--sun);
}
.wedding-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1400ms cubic-bezier(.2,.7,.2,1), filter var(--t-med);
  filter: saturate(1) brightness(0.98);
}
.wedding-card:hover .wedding-card__img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.03);
}
.wedding-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(61, 47, 37, 0) 40%,
    rgba(61, 47, 37, 0.9) 100%);
  z-index: 1;
}
.wedding-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 26px;
  z-index: 2;
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.wedding-card__couple {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--cream);
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0.005em;
}
.wedding-card__count {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--sun);
  white-space: nowrap;
  padding-bottom: 4px;
}
.wedding-card::before {
  content: '';
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(250, 243, 231, 0.7);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, var(--cream) 45%, var(--cream) 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--cream) 45%, var(--cream) 55%, transparent 55%),
    rgba(61, 47, 37, 0.35);
  backdrop-filter: blur(6px);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.wedding-card:hover::before {
  background:
    linear-gradient(90deg, transparent 45%, var(--brick-dk) 45%, var(--brick-dk) 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--brick-dk) 45%, var(--brick-dk) 55%, transparent 55%),
    var(--sun);
  border-color: var(--sun);
  transform: rotate(90deg);
}

/* ============================================================
   GALERIE MASONRY — grande galerie
============================================================ */
.gallery {
  column-count: 4;
  column-gap: 14px;
  margin-top: 60px;
}
.gallery__item {
  margin: 0 0 14px 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cream-warm);
  cursor: zoom-in;
  position: relative;
  break-inside: avoid;
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), filter var(--t-med);
  filter: saturate(0.95);
}
.gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.12);
}
/* Variantes de radius pour créer du rythme */
.gallery__item:nth-child(5n+1) { border-radius: var(--r-arch); }
.gallery__item:nth-child(7n+3) { border-radius: var(--r-xl); }
.gallery__item:nth-child(11n+6) { border-radius: 50%; aspect-ratio: 1; }
.gallery__item:nth-child(11n+6) img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(61, 47, 37, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity var(--t-med);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 30px;
  width: 48px; height: 48px;
  background: rgba(232, 185, 118, 0.2);
  border: 1.5px solid var(--sun);
  border-radius: 50%;
  color: var(--sun);
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast);
  z-index: 10;
}
.lightbox__close:hover { background: var(--sun); color: var(--brick-dk); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px; height: 60px;
  background: rgba(232, 185, 118, 0.15);
  border: 1.5px solid var(--sun);
  border-radius: 50%;
  color: var(--sun);
  font-size: 34px;
  font-family: var(--serif);
  display: none;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  z-index: 10;
  line-height: 1;
  padding-bottom: 6px;
}
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
.lightbox__nav:hover {
  background: var(--sun);
  color: var(--brick-dk);
}
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox.lightbox--album .lightbox__nav { display: grid; }

.lightbox__caption {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}
.lightbox.lightbox--album .lightbox__caption { display: flex; }
.lightbox__title {
  font-family: var(--display);
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.lightbox__counter {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--sun);
}

/* ============================================================
   TESTIMONIALS — fiches à coins arrondis
============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.testimonial {
  background: rgba(250, 243, 231, 0.06);
  border: 1px solid rgba(232, 185, 118, 0.3);
  padding: 38px 32px;
  border-radius: var(--r-xl);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 22px;
  font-family: var(--display);
  font-size: 90px;
  color: var(--sun);
  line-height: 1;
  opacity: 0.5;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(250, 243, 231, 0.92);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.testimonial__author {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  font-weight: 600;
}

.awards {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  flex-wrap: wrap;
  padding-top: 50px;
  border-top: 1.5px dashed rgba(232, 185, 118, 0.3);
}
.award {
  display: flex;
  align-items: center;
  gap: 16px;
}
.award__icon {
  width: 54px; height: 54px;
  border: 1.5px solid var(--sun);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--sun);
  background: rgba(232, 185, 118, 0.1);
}
.award__icon > * { transform: rotate(45deg); }
.award__txt { display: flex; flex-direction: column; }
.award__txt strong {
  color: var(--cream);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
}
.award__txt span {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(250, 243, 231, 0.7);
  margin-top: 3px;
}

/* ============================================================
   BLOCKQUOTE (Mme Loo)
============================================================ */
.bquote {
  margin: 32px 0 0 0;
  padding: 28px 30px;
  background: var(--cream-warm);
  border-radius: var(--r-xl);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--terracotta-dk);
  position: relative;
  border-left: 4px solid var(--terracotta);
}
.bquote::before {
  content: '\201C';
  position: absolute;
  top: 6px; left: 14px;
  font-family: var(--display);
  font-size: 60px;
  color: var(--ochre);
  opacity: 0.5;
  line-height: 1;
}
.bquote span {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================================
   FAQ — accordéon arrondi
============================================================ */
.faq {
  max-width: var(--narrow);
  margin: 50px auto 0;
}
.faq__item {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 4px 28px;
  margin-bottom: 12px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item[open] {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-soft);
}
.faq__item summary {
  list-style: none;
  font-family: var(--display);
  font-size: 19px;
  color: var(--brick-dk);
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 400;
  transition: color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--cream-warm);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform var(--t-med), background var(--t-fast);
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--terracotta);
  color: var(--cream);
}
.faq__item[open] summary { color: var(--terracotta); }
.faq__item p {
  padding: 0 0 20px 0;
  color: var(--text-warm);
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__info li {
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(250, 243, 231, 0.9);
  line-height: 1.5;
  padding-left: 20px;
  border-left: 2px solid var(--sun);
}
.contact__info strong {
  color: var(--sun);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
  display: block;
  margin-bottom: 6px;
}
.contact__info a:hover { color: var(--sun); }

.contact__form {
  background: var(--cream);
  padding: 48px 44px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-strong);
  color: var(--text);
  position: relative;
}
.contact__form::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 80px; height: 80px;
  background: var(--sun);
  border-radius: var(--r-blob);
  opacity: 0.4;
  z-index: -1;
  filter: blur(30px);
}
.field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brick-dk);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text);
  background: var(--ivory);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200, 121, 82, 0.15);
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.field--check input { width: auto; margin-top: 4px; }
.field--check label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; color: var(--text-light); }

/* ============================================================
   PRESTATIONS ADDITIONNELLES — cartes à cocher
============================================================ */
.field--services { margin-top: 8px; }
.services__title {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px !important;
}
.services__title span {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-light);
  font-weight: 400;
  font-family: var(--serif);
}
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast),
              background var(--t-fast),
              transform var(--t-fast),
              box-shadow var(--t-fast);
  position: relative;
}
.service:hover {
  border-color: var(--ochre);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.service input { display: none; }
.service__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--rule);
  border-radius: 7px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-top: 2px;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.service__check::after {
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.service__body { flex: 1; min-width: 0; }
.service__title {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--brick-dk);
  margin: 0 0 2px 0;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.service__desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-warm);
  margin: 0 0 4px 0;
}
.service__price {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}

/* État coché — terracotta */
.service input:checked + .service__check {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.service input:checked + .service__check::after {
  opacity: 1;
  transform: scale(1);
}
.service:has(input:checked) {
  border-color: var(--terracotta);
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream-warm) 100%);
  box-shadow: 0 6px 18px -8px rgba(200, 121, 82, 0.4);
}
.service:has(input:checked) .service__title { color: var(--terracotta-dk); }
.service:has(input:checked) .service__price { color: var(--brick-dk); font-weight: 600; }

@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
}
.form__note {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--brick-dk);
  color: rgba(250, 243, 231, 0.75);
  padding: 90px 0 30px;
  font-size: 13.5px;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 55px;
  border-bottom: 1.5px dashed rgba(232, 185, 118, 0.2);
}
.footer__brand {
  font-family: var(--display);
  font-size: 30px;
  color: var(--sun);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 243, 231, 0.78);
  margin-bottom: 18px;
  font-size: 15px;
}
.footer__loc { color: rgba(250, 243, 231, 0.55); font-size: 13px; line-height: 1.65; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a:hover { color: var(--sun); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter) 0;
  max-width: var(--container);
  margin: 0 auto;
  font-size: 12.5px;
  color: rgba(250, 243, 231, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1),
              transform 900ms cubic-bezier(.2,.7,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .gallery { column-count: 3; }
}

@media (max-width: 980px) {
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 85%;
    max-width: 380px;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 50px;
    transform: translateX(100%);
    transition: transform var(--t-med);
    box-shadow: -30px 0 60px -30px rgba(61, 47, 37, 0.4);
    border-top-left-radius: var(--r-xl);
    border-bottom-left-radius: var(--r-xl);
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu .nav__link { color: var(--brick-dk); font-size: 20px; font-family: var(--display); }
  .nav__menu .nav__cta { width: 100%; text-align: center; margin-top: 16px; }
  .nav__burger { display: flex; }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split { grid-template-columns: 1fr; gap: 60px; }
  .split--reverse .split__media { order: 1; }
  .split--reverse .split__text  { order: 2; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .gallery { column-count: 2; }
  .weddings { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .contact { grid-template-columns: 1fr; gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__badges { flex-direction: column; align-items: stretch; }
  .badge { width: 100%; justify-content: center; padding: 14px 22px; }

  .cards { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .weddings { grid-template-columns: 1fr; }
  .wedding-card { aspect-ratio: 5 / 4; }

  .gallery { column-count: 1; }

  .contact__form { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .lightbox__nav { width: 46px; height: 46px; font-size: 26px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}
