/* ============================================================
   Créations Adélice — Design System
   Pâtisserie événementielle de luxe
   ============================================================ */

:root {
  /* ── Couleurs ──────────────────────────────────────────── */
  --ink:         #111111;
  --ink-light:   #333333;
  --ink-soft:    #4A4440;
  --ink-muted:   #8A8280;
  --cream:       #FDFCFA;
  --cream-2:     #F7F2EC;
  --cream-3:     #EFE8DE;
  --champagne:   #E0D0BA;
  --gold:        #C4973E;
  --gold-light:  #D9B46A;
  --gold-deep:   #9A7428;
  --white:       #FFFFFF;
  --line:        rgba(17, 17, 17, 0.09);
  --line-light:  rgba(253, 252, 250, 0.14);

  /* ── Typographie ───────────────────────────────────────── */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ── Mise en page ──────────────────────────────────────── */
  --maxw:  1200px;
  --gut:   clamp(20px, 5vw, 72px);
  --r:     6px;
  --r-lg:  14px;

  /* ── Ombres ────────────────────────────────────────────── */
  --shadow-sm:  0 2px 8px rgba(29, 24, 20, 0.07);
  --shadow-md:  0 6px 24px rgba(29, 24, 20, 0.11);
  --shadow-lg:  0 20px 56px rgba(29, 24, 20, 0.16);
  --shadow-xl:  0 32px 72px rgba(29, 24, 20, 0.22);

  /* ── Mouvement ─────────────────────────────────────────── */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.42s;

  --header-logo-h: clamp(78px, 9vw, 115px);
  --header-nav-h: calc(var(--header-logo-h) + 0.65rem);
  --header-topbar-h: 2.35rem;
  --header-h: calc(var(--header-topbar-h) + var(--header-nav-h) + 0.75rem);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; }
p    { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ── Typographic helpers ──────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

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

.section-intro {
  color: var(--ink-soft);
  margin-top: 1.1rem;
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-script-title {
  font-family: var(--script);
  font-size: clamp(3rem, 6.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--gold-deep);
  letter-spacing: 0.01em;
}

.section-script-title--light {
  color: var(--gold-light);
}

.section-head .section-script-title {
  margin-bottom: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  padding: 0.9rem 2.15rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink-light);
  border-color: var(--ink-light);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.25);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn-gold {
  background: var(--gold-deep);
  color: var(--white);
  border-color: var(--gold-deep);
}
.btn-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--gold-deep);
  color: var(--white);
  border-color: var(--gold-deep);
}

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: color var(--dur) var(--ease), gap 0.3s var(--ease);
}
.link-arrow span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover            { color: var(--ink); gap: 0.85em; }
.link-arrow:hover span       { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0;
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(17, 17, 17, 0.05);
  transition: box-shadow var(--dur) var(--ease);
}

.header-topbar {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-topbar-h);
  padding-block: 0.4rem;
}

.header-topbar-left,
.header-topbar-right {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin: 0;
}

.header-topbar-left {
  color: var(--cream);
}

.header-topbar-right {
  flex-shrink: 0;
  text-align: right;
  color: var(--cream);
  white-space: nowrap;
}

.site-header-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-topbar-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  z-index: -1;
}

.site-header-wrap.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 6px 28px rgba(17, 17, 17, 0.08);
}

.site-header {
  position: relative;
  background: none;
  padding: 0.35rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  min-height: var(--header-nav-h);
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  position: relative;
  z-index: 122;
  margin-right: clamp(0.5rem, 1.5vw, 1rem);
}

.header-logo-img {
  display: block;
  height: var(--header-logo-h);
  width: auto;
  max-width: min(180px, 25vw);
  object-fit: contain;
  object-position: left center;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.6rem);
}

@media (min-width: 1025px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: var(--header-nav-h);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .header-logo {
    margin-right: 0;
  }

  .main-nav {
    flex: unset;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
    min-width: 0;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 1.6vw, 1.75rem);
    flex: unset;
    min-width: 0;
    padding-left: 0;
  }

  .nav-social {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    margin-left: 0;
    padding-left: clamp(1.25rem, 2vw, 1.75rem);
    padding-right: 0;
    border-left: 1px solid var(--line);
  }

  .nav-social a {
    opacity: 0.85;
  }

  .nav-cta {
    flex-shrink: 0;
    margin-left: 0;
  }

  .nav-toggle { display: none; }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  :root {
    --header-logo-h: clamp(70px, 8.5vw, 96px);
  }

  .header-inner {
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .header-logo-img {
    max-width: min(150px, 20vw);
  }

  .main-nav {
    column-gap: clamp(1.25rem, 2vw, 2rem);
  }

  .nav-menu {
    gap: clamp(0.65rem, 1.2vw, 1.1rem);
  }

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.03em;
  }

  .nav-social {
    padding-left: clamp(1rem, 1.5vw, 1.35rem);
  }

  .nav-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--ink);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
  padding-bottom: 2px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover        { color: var(--gold-deep); }
.nav-cta               { color: var(--cream) !important; }
.nav-cta:hover {
  background: var(--ink-light) !important;
  border-color: var(--ink-light) !important;
  color: var(--white) !important;
}

/* Fermeture mobile (caché sur desktop) */
.nav-close {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 120;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 26px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Icônes sociales — header */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-social a:hover { opacity: 1; color: var(--gold-deep); }

/* Icônes sociales — footer */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-social-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1.6rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer-social a:hover { color: var(--gold-deep); }

/* Overlay mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 24, 20, 0.45);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(480px, 58vh, 620px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--header-h);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
}

#bienvenue {
  scroll-margin-top: 0;
}

section[id]:not(#bienvenue) {
  scroll-margin-top: var(--header-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("images/créations-adélice.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,1.00) 0%,
    rgba(255,255,255,0.98) 35%,
    rgba(255,255,255,0.88) 60%,
    rgba(255,255,255,0.65) 80%,
    rgba(255,255,255,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: clamp(1.25rem, 3vh, 2rem);
}

.hero-text {
  max-width: min(760px, 100%);
  margin-inline: auto;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.hero-text .eyebrow {
  font-size: clamp(0.78rem, 1.35vw, 0.88rem);
  letter-spacing: 0.28em;
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.hero-title {
  font-family: var(--script);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 300;
  max-width: 100%;
  color: var(--ink-soft);
  line-height: 1.80;
  margin-bottom: 2.6rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   VALUES
   ============================================================ */
.values {
  background: var(--cream-3);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.value {
  padding-left: 1.6rem;
  border-left: 2px solid var(--champagne);
}

.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.65rem;
}

.value h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.value p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ============================================================
   CRÉATIONS
   ============================================================ */
.creations {
  background: var(--cream);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.creations .section-head {
  max-width: 680px;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.creations .section-intro {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.82;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2rem);
}

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }

.card-body {
  padding: 1.75rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.01em;
}
.card-body p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
  flex: 1;
}

.creations-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

/* ============================================================
   ÉVÉNEMENTS
   ============================================================ */
.events {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.events-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.events-media {
  position: relative;
  width: 100%;
}

.events-slideshow {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

/* Réserve la hauteur (Safari mobile : enfants absolus seuls = 0 px) */
.events-slideshow::before {
  content: "";
  display: block;
  padding-top: 125%;
}

.events-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.events-slide.is-active { opacity: 1; z-index: 1; }

.events-media-accent {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1.5px solid rgba(180, 144, 80, 0.40);
  border-radius: var(--r-lg);
  z-index: -1;
}

.events-text .eyebrow { color: var(--gold-light); }
.events-text .section-title {
  color: var(--cream);
  margin-bottom: 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.events-text > p {
  color: rgba(250, 246, 241, 0.76);
  font-size: 1.04rem;
  line-height: 1.80;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 2rem;
  margin-bottom: 2.4rem;
}
.events-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.96rem;
  color: rgba(250, 246, 241, 0.86);
  letter-spacing: 0.01em;
}
.events-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============================================================
   PAGES DE CONTENU (légales, blog)
   ============================================================ */
.page-main {
  padding-top: var(--header-h);
  background: var(--cream);
}
.page-hero {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero .page-eyebrow {
  margin-top: 0.6rem;
  color: var(--gold-deep);
}
.page-hero .page-updated {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.page-content {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.page-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 2.4rem 0 0.8rem;
}
.page-content h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
}
.page-content p,
.page-content li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.page-content p { margin: 0 0 1rem; }
.page-content ul {
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.page-content li { margin-bottom: 0.4rem; }
.page-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--ink); }
.page-content a.btn { text-decoration: none; color: var(--cream); }
.page-content a.btn:hover { color: var(--cream); }
.page-content .lede {
  font-size: 1.08rem;
  color: var(--ink-light);
}

/* Blog — état « à venir » */
.blog-empty {
  max-width: 620px;
  margin: clamp(1rem, 3vw, 2rem) auto 0;
  text-align: center;
}
.blog-empty-icon {
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.blog-empty h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.8rem;
}
.blog-empty p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 auto 1.8rem;
  max-width: 500px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.faq-eyebrow {
  margin-top: 0.6rem;
  color: var(--gold-deep);
}
.faq-list {
  max-width: 820px;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  position: relative;
  background:
    linear-gradient(currentColor, currentColor) center/13px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 13px no-repeat;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer {
  overflow: hidden;
  padding: 0 0.25rem 1.4rem;
}
.faq-answer p {
  margin: 0;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}
.faq-answer a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.faq-answer a:hover { color: var(--ink); }
.faq-item[open] .faq-answer { animation: faqReveal 0.4s var(--ease); }
.faq-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .faq-item[open] .faq-answer { transition: none; animation: none; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--cream-2);
  border-top: 1px solid var(--champagne);
}

.contact-head {
  max-width: 560px;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.contact-eyebrow {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.contact-head .section-intro {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.72;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.contact-aside {
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
  border-right: 1px solid var(--champagne);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.contact-details a,
.contact-details span:not(.contact-label) {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.contact-details a { transition: color 0.3s; }
.contact-details a:hover { color: var(--gold-deep); }
.contact-details a .phone-vanity,
.phone-vanity { color: var(--gold-deep); font-size: 0.88rem; letter-spacing: 0.04em; }

/* Formulaire */
.contact-form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field label {
  font-size: 0.63rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(29, 24, 20, 0.14);
  border-radius: var(--r);
  padding: 0.88em 1em;
  width: 100%;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 151, 62, 0.14);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2352463c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-color: var(--white);
  padding-right: 2.5em;
  cursor: pointer;
}

/* Champ piège anti-spam — invisible pour les humains */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.2em;
}
.form-note.success { color: var(--gold-deep); }
.form-note.error   { color: #b0442f; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 2.75rem) 0 1.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand { max-width: 320px; }
.footer-logo {
  display: block;
  height: clamp(58px, 7vw, 82px);
  width: auto;
  margin-bottom: 0.65rem;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.85rem;
  padding-top: 1.5rem;
  padding-bottom: 0.25rem;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-deep); }
.footer-nav-sep {
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.footer-legal a {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  transition: color 0.3s var(--ease);
}

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

.footer-legal-sep {
  font-size: 0.72rem;
  color: var(--ink-muted);
  opacity: 0.55;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-final-inner {
  max-width: 640px;
}
.cta-final h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--cream);
}
.cta-final p {
  color: rgba(253, 252, 250, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto 2rem;
  max-width: 540px;
}

/* ============================================================
   BANNIÈRE DE CONSENTEMENT (Loi 25)
   ============================================================ */
.consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  z-index: 300;
  width: min(92vw, 680px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
  animation: consentIn 0.5s var(--ease);
}
@keyframes consentIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.consent-banner p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.consent-banner a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-banner a:hover { color: var(--ink); }
.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex: none;
}
.consent-actions .btn {
  padding: 0.7em 1.5em;
  font-size: 0.72rem;
  min-width: 0;
}
.consent-refuse {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}
.consent-refuse:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.consent-link {
  background: transparent;
  border-color: transparent;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: 0.6em;
}
.consent-link:hover { color: var(--ink); }

/* Panneau de préférences */
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(17, 17, 17, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: consentFade 0.3s var(--ease);
}
@keyframes consentFade { from { opacity: 0; } to { opacity: 1; } }
.consent-modal {
  position: relative;
  width: min(94vw, 520px);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  animation: consentModalIn 0.4s var(--ease);
}
@keyframes consentModalIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.consent-modal h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.consent-modal > p {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.consent-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.consent-close:hover { background: var(--champagne); color: var(--ink); }

.consent-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.consent-cat:last-of-type { border-bottom: 1px solid var(--line); }
.consent-cat strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.consent-cat span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}

/* Interrupteurs */
.consent-switch {
  position: relative;
  flex: none;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.consent-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent-slider {
  position: absolute;
  inset: 0;
  background: var(--cream-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: background 0.25s var(--ease);
}
.consent-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}
.consent-switch input:checked + .consent-slider {
  background: var(--gold);
  border-color: var(--gold);
}
.consent-switch input:checked + .consent-slider::before { transform: translateX(20px); }
.consent-switch input:disabled + .consent-slider {
  background: var(--champagne);
  border-color: var(--champagne);
  cursor: not-allowed;
}
.consent-switch input:focus-visible + .consent-slider {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.consent-modal-actions .btn {
  flex: 1 1 auto;
  padding: 0.85em 1.2em;
  font-size: 0.72rem;
}
.consent-more {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
}
.consent-more a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-more a:hover { color: var(--gold-deep); }

/* Icône flottante */
.consent-float {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 290;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-deep);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
}
.consent-float:hover {
  color: var(--white);
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner, .consent-overlay, .consent-modal { animation: none; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Le diaporama ne doit pas rester invisible si le reveal ne se déclenche pas */
.events-media.reveal {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --header-logo-h: clamp(62px, 14vw, 84px);
    --header-nav-h: calc(var(--header-logo-h) + 0.4rem);
    --header-h: calc(var(--header-topbar-h) + var(--header-nav-h) + 0.75rem);
  }

  .site-header-wrap { z-index: 115; }

  .header-logo-img {
    max-width: min(140px, 42vw);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(85vw, 320px);
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(3.5rem + env(safe-area-inset-top)) 0 env(safe-area-inset-bottom);
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
    box-shadow: -4px 0 32px rgba(17,17,17,0.12);
    z-index: 120;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    pointer-events: none;
    visibility: hidden;
  }

  .nav-menu {
    display: contents;
  }
  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav-link {
    font-family: var(--sans);
    font-size: 1.22rem;
    letter-spacing: 0.03em;
    font-weight: 400;
    color: var(--ink);
    padding: 1.1rem 1.6rem;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-link::after { display: none; }
  .nav-link:hover  { color: var(--gold-deep); }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 121;
    flex-shrink: 0;
  }

  .nav-close {
    display: none;
  }

  .nav-social {
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid var(--line);
    gap: 1.2rem;
  }
  .nav-social a { opacity: 1; color: var(--ink-soft); }

  .nav-cta {
    margin: 1.4rem 1.6rem;
    width: calc(100% - 3.2rem);
    text-align: center;
  }

  .values-grid { grid-template-columns: 1fr; gap: 0; }
  .value { border-left: none; border-top: 1px solid var(--line); padding: 1.6rem 0 0; }
  .value:first-child { border-top: none; padding-top: 0; }

  .events-inner   { grid-template-columns: 1fr; }
  .events-media  {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    order: -1;
  }
  .contact-inner { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 1.5rem; }
  .contact-aside {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--champagne);
  }
  .contact-details { gap: 1rem; }
  .field-row     { grid-template-columns: 1fr; }
  .events-list   { grid-template-columns: 1fr; }
  .footer-right  { align-items: flex-start; }
}

@media (max-width: 900px) {
  .header-topbar-left {
    display: none;
  }

  .header-topbar-inner {
    justify-content: center;
  }

  .header-topbar-right {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body        { font-size: 16px; }
  .hero-content { max-width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  :root {
    --header-logo-h: clamp(54px, 16vw, 74px);
    --header-topbar-h: 2.2rem;
    --header-h: calc(var(--header-topbar-h) + var(--header-nav-h) + 0.65rem);
  }

  .header-topbar-left,
  .header-topbar-right {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .header-logo-img {
    max-width: min(128px, 48vw);
  }

  .cards       { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

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