/* ==========================================================================
   La Bulle des Enfants — Feuille de styles principale
   Agence événementielle spécialisée pour enfants • Occitanie
   ========================================================================== */

/* -------------------------------------------------------------
   1. Design tokens (charte graphique)
   ------------------------------------------------------------- */
:root {
  /* Couleurs charte officielle */
  --c-teal-900: #1e4f5a;
  --c-teal-700: #2f6f7e;        /* Couleur principale */
  --c-teal-500: #69c4ca;        /* Sarcelle clair / accent */
  --c-teal-100: #d7edef;
  --c-teal-50:  #eaf5f6;

  --c-gold:     #ffb000;        /* Jaune d'or / contours */
  --c-peach:    #ffb38a;        /* Pêche / chiffres étapes */
  --c-peach-100:#ffe3d1;

  --c-cream:    #faf7f2;        /* Fond principal */
  --c-cream-dk: #f2ece1;        /* Fond alterné */
  --c-white:    #ffffff;

  --c-ink:      #1a3b42;        /* Texte principal sur fond clair */
  --c-ink-soft: #4a6a72;        /* Texte secondaire */
  --c-line:     #e3dccf;        /* Séparateurs */

  /* Typographies (Google Fonts) */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-serif:   'Lora', Georgia, serif;
  --font-sans:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Échelle typographique (clamp = adaptatif sans breakpoint) */
  --fs-xs:   clamp(0.78rem, 0.77rem + 0.05vw, 0.82rem);
  --fs-sm:   clamp(0.88rem, 0.86rem + 0.1vw,  0.95rem);
  --fs-base: clamp(1rem,    0.98rem + 0.15vw, 1.08rem);
  --fs-md:   clamp(1.12rem, 1.08rem + 0.2vw,  1.2rem);
  --fs-lg:   clamp(1.3rem,  1.22rem + 0.35vw, 1.5rem);
  --fs-xl:   clamp(1.6rem,  1.4rem + 0.9vw,   2.1rem);
  --fs-2xl:  clamp(2rem,    1.65rem + 1.5vw,  2.85rem);
  --fs-3xl:  clamp(2.5rem,  2rem + 2.3vw,     3.75rem);

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Conteneur */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 2px 6px rgba(47, 111, 126, 0.08);
  --sh-md: 0 8px 24px rgba(47, 111, 126, 0.12);
  --sh-lg: 0 20px 50px rgba(47, 111, 126, 0.18);
  --sh-focus: 0 0 0 3px rgba(105, 196, 202, 0.5);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms cubic-bezier(.4, 0, .2, 1);
  --t-slow: 500ms cubic-bezier(.4, 0, .2, 1);

  /* Header */
  --header-h: 88px;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  border-radius: var(--r-md);
  object-fit: cover;
}

a {
  color: var(--c-teal-700);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-teal-500); }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-teal-700);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-family: var(--font-serif); }

p { margin: 0 0 var(--sp-4); }

:focus-visible {
  outline: none;
  box-shadow: var(--sh-focus);
  border-radius: 4px;
}

::selection {
  background: var(--c-teal-500);
  color: var(--c-white);
}

/* -------------------------------------------------------------
   3. Conteneurs & utilitaires
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-narrow {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
}

.section--cream  { background: var(--c-cream); }
.section--white  { background: var(--c-white); }
.section--tinted { background: var(--c-cream-dk); }
.section--teal   {
  background: linear-gradient(135deg, var(--c-teal-700) 0%, var(--c-teal-900) 100%);
  color: var(--c-white);
}
.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--teal h4 { color: var(--c-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-teal-500);
  margin-bottom: var(--sp-3);
}

.lead {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  line-height: 1.7;
  max-width: 60ch;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-7);
}
.section-header .lead { margin-inline: auto; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* -------------------------------------------------------------
   4. Boutons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--c-teal-700);
  color: var(--c-white);
  border-color: var(--c-teal-700);
}
.btn--primary:hover {
  background: var(--c-teal-900);
  border-color: var(--c-teal-900);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn--ghost {
  background: transparent;
  color: var(--c-teal-700);
  border-color: var(--c-teal-700);
}
.btn--ghost:hover {
  background: var(--c-teal-700);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--c-white);
  color: var(--c-teal-700);
  border-color: var(--c-gold);
  box-shadow: 0 4px 14px rgba(255, 176, 0, 0.2);
}
.btn--gold:hover {
  background: var(--c-gold);
  color: var(--c-teal-900);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--c-white);
  color: var(--c-teal-700);
  border-color: var(--c-white);
}
.btn--light:hover {
  background: var(--c-teal-50);
  border-color: var(--c-teal-50);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 36px; font-size: var(--fs-md); }
.btn--sm { padding: 10px 20px; font-size: var(--fs-sm); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* -------------------------------------------------------------
   5. Header & navigation
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* IMPORTANT : pas de backdrop-filter ici — il crée un "containing block" qui empêche
     le menu mobile (position: fixed) de s'étendre sur toute la hauteur de l'écran. */
  background: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.97);
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: var(--sp-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-teal-700);
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--c-teal-700);
}

.brand__tag {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--c-ink-soft);
  line-height: 1.2;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0; padding: 0;
}

.nav__link {
  position: relative;
  font-weight: 600;
  color: var(--c-teal-700);
  font-size: var(--fs-base);
  padding: 8px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 0; height: 2px;
  background: var(--c-teal-500);
  transition: width var(--t-base);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--c-teal-900); }

.nav__cta { margin-left: var(--sp-3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--c-teal-700);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* -------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(90vh, 780px);
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: var(--sp-9);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 79, 90, 0.25) 0%, rgba(30, 79, 90, 0.55) 100%);
}

.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(105, 196, 202, 0.3) 40%,
    rgba(105, 196, 202, 0) 70%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: bubbleFloat linear infinite;
}
@keyframes bubbleFloat {
  0%   { transform: translateY(20vh) scale(0.8); opacity: 0; }
  15%  { opacity: 0.9; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

.hero__inner {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: calc(90vh - var(--header-h) - var(--sp-9));
  color: var(--c-white);
}

.hero__content {
  max-width: 820px;
}

.hero__title {
  color: var(--c-white);
  font-size: clamp(2.3rem, 1.6rem + 3.5vw, 4.5rem);
  text-shadow: 0 2px 20px rgba(30, 79, 90, 0.3);
  margin-bottom: var(--sp-5);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--sp-4);
  font-style: italic;
}

.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--sp-7);
  line-height: 1.7;
}

.hero__cta { justify-content: center; }

.hero--compact {
  min-height: auto;
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: var(--sp-9);
}
.hero--compact .hero__inner {
  min-height: auto;
  padding-block: var(--sp-5);
}
.hero--compact .hero__title { margin-bottom: var(--sp-4); }
.hero--compact .hero__desc { margin-bottom: var(--sp-6); }
.hero--compact .hero__cta { margin-top: var(--sp-2); }

/* -------------------------------------------------------------
   7. Cartes & grilles
   ------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card--media .card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--t-slow);
}
.card--media:hover .card__img img { transform: scale(1.05); }

.card--media .card__body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--c-teal-700);
  margin-bottom: var(--sp-3);
  text-wrap: balance;           /* coupures de lignes équilibrées */
  min-height: 2.6em;            /* hauteur minimale = 2 lignes : alignement visuel des cartes */
  line-height: 1.3;
}

/* Sur mobile, on relâche la contrainte (les cartes sont en colonne, pas besoin d'aligner) */
@media (max-width: 700px) {
  .feature__title,
  .card__title { min-height: 0; }
}

.card__text {
  color: var(--c-ink-soft);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-5);
  flex-grow: 1;
}

.card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.card__icon {
  width: 64px; height: 64px;
  margin-bottom: var(--sp-4);
  color: var(--c-teal-700);
}
.card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------
   8. Features (icône + texte)
   ------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-6) var(--sp-7);
}

.feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.feature__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  color: var(--c-teal-700);
}
.feature__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.feature__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--c-teal-700);
  margin: 4px 0 var(--sp-2);
  font-weight: 600;
  text-wrap: balance;            /* coupures de lignes équilibrées (pas de mot orphelin) */
  min-height: 2.6em;             /* réserve la hauteur de 2 lignes : tous les titres alignés visuellement */
  line-height: 1.3;
}
.feature__text {
  color: var(--c-ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------
   9. Valeurs / pills
   ------------------------------------------------------------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.pill {
  padding: 10px 24px;
  border: 1.5px solid var(--c-gold);
  border-radius: var(--r-pill);
  color: var(--c-teal-700);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-base);
  background: var(--c-white);
  transition: all var(--t-base);
}
.pill:hover {
  background: var(--c-gold);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   10. Étapes du processus
   ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
  position: relative;
}
/* Pointillés de liaison entre les étapes : SUPPRIMÉS sur demande */

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-peach);
  color: var(--c-white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto var(--sp-4);
  box-shadow: 0 6px 16px rgba(255, 179, 138, 0.45);
  transition: transform var(--t-base);
}
.step:hover .step__num { transform: scale(1.08); }

.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--c-teal-700);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}
.step__text {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  margin: 0;
}

/* -------------------------------------------------------------
   11. Témoignages
   ------------------------------------------------------------- */
/* Grille spécifique : cartes plus larges, hauteur libre (pas d'étirement) */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--sp-6);
  align-items: start;          /* chaque carte garde sa hauteur naturelle */
  max-width: 1100px;
  margin-inline: auto;
}
@media (min-width: 980px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonials > .testimonial:nth-child(3) {
    grid-column: 1 / -1;       /* le 3e témoignage prend toute la largeur */
    max-width: 720px;
    justify-self: center;
  }
}

.testimonial {
  background: var(--c-white);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}
.testimonial__stars {
  color: var(--c-gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial__body {
  font-family: var(--font-serif);
  color: var(--c-ink);
  font-size: var(--fs-base);
  line-height: 1.65;
  margin: 0;
  /* Pas de flex-grow : on laisse les cartes courtes rester courtes */
}
.testimonial__body::before { content: '« '; color: var(--c-teal-500); }
.testimonial__body::after  { content: ' »'; color: var(--c-teal-500); }
.testimonial__author {
  font-weight: 700;
  color: var(--c-teal-700);
  font-size: var(--fs-sm);
  margin: 0;
}
.testimonial__role {
  color: var(--c-ink-soft);
  font-size: var(--fs-xs);
  font-style: italic;
  margin: 2px 0 0;
}

/* -------------------------------------------------------------
   12. Logos clients
   ------------------------------------------------------------- */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  justify-items: center;
  gap: var(--sp-6) var(--sp-7);
  padding-block: var(--sp-5);
}
.logos__item {
  font-family: var(--font-display);
  color: var(--c-ink-soft);
  opacity: 0.7;
  font-size: var(--fs-base);
  font-weight: 700;
  transition: opacity var(--t-base);
  text-align: center;
  letter-spacing: 0.02em;
}
.logos__item:hover { opacity: 1; }

/* Vraie image logo (remplace le texte par un fichier .png/.svg/.jpg) */
.logos__img {
  max-width: 140px;
  max-height: 70px;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: opacity var(--t-base), filter var(--t-base), transform var(--t-base);
}
.logos__img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* -------------------------------------------------------------
   13. Split (texte + image)
   ------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--reverse { direction: ltr; }
}

.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;        /* PORTRAIT DOUX — recadrer les photos sources en 1200x1500 px (ratio 4/5) */
  box-shadow: var(--sh-md);
  background: var(--c-cream-dk);
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
}

/* -------------------------------------------------------------
   14. Deux portes (particuliers / pros)
   ------------------------------------------------------------- */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-6);
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--c-white);
  text-decoration: none;
  isolation: isolate;
  transition: transform var(--t-base);
}
.door:hover { transform: translateY(-6px); color: var(--c-white); }
.door::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform var(--t-slow);
}
.door:hover::before { transform: scale(1.06); }
.door::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 79, 90, 0.15) 0%, rgba(30, 79, 90, 0.85) 100%);
}

.door--particuliers::before {
  background-image: url('../img/hero-particuliers.jpg');
}
.door--pros::before {
  background-image: url('../img/hero-pros.jpg');
}

.door__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-2);
  font-weight: 700;
}
.door__title {
  font-family: var(--font-display);
  color: var(--c-white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}
.door__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-5);
  max-width: 40ch;
}
.door__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  color: var(--c-white);
}
.door__link svg {
  width: 20px; height: 20px;
  transition: transform var(--t-base);
}
.door:hover .door__link svg { transform: translateX(6px); }

/* -------------------------------------------------------------
   15. Chiffres clés
   ------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  color: var(--c-teal-700);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat__label {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-ink-soft);
  font-size: var(--fs-base);
}

/* -------------------------------------------------------------
   16. CTA banner
   ------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-teal-500) 0%, var(--c-teal-700) 100%);
  color: var(--c-white);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--container-pad);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.cta-banner__title {
  color: var(--c-white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
}
.cta-banner__text {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--sp-6);
  max-width: 560px;
  margin-inline: auto;
}
.cta-banner__note {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.cta-banner::before { width: 180px; height: 180px; top: -60px; left: -50px; }
.cta-banner::after  { width: 120px; height: 120px; bottom: -40px; right: 8%; }

/* -------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: var(--c-cream-dk);
  padding: var(--sp-8) 0 var(--sp-5);
  color: var(--c-ink-soft);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

.footer-brand__logo {
  width: 140px; height: 140px;
  margin-bottom: var(--sp-4);
}
.footer-brand__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  line-height: 1.6;
}
.footer-brand__tag strong {
  display: block;
  color: var(--c-teal-700);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  margin-top: var(--sp-3);
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--c-teal-700);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-4);
  font-weight: 700;
}

.footer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: var(--sp-2);
}
.footer-list a {
  color: var(--c-ink-soft);
  font-weight: 500;
}
.footer-list a:hover { color: var(--c-teal-700); }

.footer-contact p { margin: 0 0 var(--sp-2); }
.footer-contact a { font-weight: 600; color: var(--c-teal-700); }

.footer-socials {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-white);
  color: var(--c-teal-700);
  transition: all var(--t-base);
  border: 1px solid var(--c-line);
}
.footer-socials a:hover {
  background: var(--c-teal-700);
  color: var(--c-white);
  transform: translateY(-2px);
}
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-zone {
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
}
.footer-zone strong { color: var(--c-teal-700); display: block; font-family: var(--font-display); }

.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
}
.footer-legal {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--c-ink-soft);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--c-teal-700); }

/* -------------------------------------------------------------
   18. Formulaires
   ------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--sp-5);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: var(--sp-2); }

.field label {
  font-weight: 600;
  color: var(--c-teal-700);
  font-size: var(--fs-sm);
}
.field label .req { color: #c73030; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  padding: 14px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-sans);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-teal-500);
  outline: none;
  box-shadow: var(--sh-focus);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a9b5b8;
}

.form-consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.form-consent input {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--c-teal-700);
  flex-shrink: 0;
}

.form-submit { justify-self: start; }

.form-status {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  margin-top: var(--sp-4);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success {
  background: #e8f6e8;
  color: #2a6c2a;
  border: 1px solid #b8dcb8;
}
.form-status--error {
  background: #fbeaea;
  color: #a02828;
  border: 1px solid #e8b8b8;
}

/* -------------------------------------------------------------
   19. Page intro (pages internes)
   ------------------------------------------------------------- */
.page-intro {
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-7);
  background: var(--c-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-intro__inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-intro__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  overflow: hidden;
}
.page-intro__deco .bubble {
  background: radial-gradient(circle at 30% 30%,
    rgba(105, 196, 202, 0.45) 0%,
    rgba(105, 196, 202, 0.2) 40%,
    rgba(105, 196, 202, 0) 70%);
  border: 1px solid rgba(105, 196, 202, 0.35);
}

/* -------------------------------------------------------------
   20. Animations au scroll (révélation)
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bubble { display: none; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------
   21. Contenu long (pages légales)
   ------------------------------------------------------------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--c-ink);
}
.prose h2 {
  margin-top: var(--sp-7);
  font-size: var(--fs-xl);
}
.prose h3 {
  margin-top: var(--sp-6);
  font-size: var(--fs-lg);
}
.prose p, .prose li {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--c-ink);
}
.prose ul { padding-left: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose a { color: var(--c-teal-700); text-decoration: underline; }

/* -------------------------------------------------------------
   21bis. Bulles décoratives sur les sections (identité sobre)
   ------------------------------------------------------------- */
/* Bulles radiales très légères, placées en background des sections.
   Rend l'identité "bulle" présente sur tout le site, sans gêner la lecture. */
.section { position: relative; overflow: hidden; }

.section--cream::before,
.section--white::before,
.section--tinted::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
      rgba(105, 196, 202, 0.14) 0%,
      rgba(105, 196, 202, 0.05) 45%,
      rgba(105, 196, 202, 0) 72%);
  top: -110px; right: -90px;
  pointer-events: none;
  z-index: 0;
}
.section--cream::after,
.section--white::after,
.section--tinted::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%,
      rgba(255, 176, 0, 0.08) 0%,
      rgba(255, 176, 0, 0.03) 50%,
      rgba(255, 176, 0, 0) 75%);
  bottom: -70px; left: -60px;
  pointer-events: none;
  z-index: 0;
}
.section > .container,
.section > .container-narrow { position: relative; z-index: 1; }

/* Petites bulles à contour (ornement discret sous certains titres) */
.bubble-deco {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
  margin-left: 10px;
}
.bubble-deco span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-teal-500);
  opacity: 0.55;
}
.bubble-deco span:nth-child(2) { width: 6px; height: 6px; opacity: 0.4; background: var(--c-gold); }
.bubble-deco span:nth-child(3) { width: 5px; height: 5px; opacity: 0.35; background: var(--c-peach); }

/* Carte réservation d'appel (page contact) */
.callbook-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: flex-start;
  background: linear-gradient(135deg, var(--c-teal-50) 0%, var(--c-white) 100%);
  border: 1.5px solid var(--c-teal-500);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}
.callbook-card::before {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      rgba(105, 196, 202, 0.22) 0%,
      rgba(105, 196, 202, 0.06) 55%,
      rgba(105, 196, 202, 0) 80%);
  top: -50px; right: -40px;
  pointer-events: none;
}
.callbook-card > * { position: relative; z-index: 1; }
.callbook-card__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  color: var(--c-teal-700);
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: var(--sh-sm);
}
.callbook-card__icon svg { width: 100%; height: 100%; }
.callbook-card h3 { color: var(--c-teal-900); margin: 0 0 var(--sp-2); }
.callbook-card .btn svg { width: 14px; height: 14px; }

@media (max-width: 480px) {
  .callbook-card { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* Highlight anniversaire (particuliers) */
.highlight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  background: linear-gradient(135deg, var(--c-peach-100) 0%, var(--c-cream) 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 179, 138, 0.35);
}
.highlight-card::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
      rgba(255, 176, 0, 0.18) 0%,
      rgba(255, 176, 0, 0.06) 55%,
      rgba(255, 176, 0, 0) 80%);
  top: -80px; right: -60px;
  pointer-events: none;
}
.highlight-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-gold);
  color: var(--c-teal-900);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.highlight-card h2 { color: var(--c-teal-900); margin-bottom: var(--sp-3); }
.highlight-card__list {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 var(--sp-5);
  display: grid;
  gap: var(--sp-2);
}
.highlight-card__list li {
  padding-left: 28px;
  position: relative;
  color: var(--c-ink);
  font-size: var(--fs-base);
}
.highlight-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c-white) 0%, var(--c-gold) 60%);
  box-shadow: 0 2px 6px rgba(255,176,0,0.35);
}
.highlight-card__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;        /* PORTRAIT DOUX — recadrer les photos sources en 1200x1500 px (ratio 4/5) */
  box-shadow: var(--sh-md);
  background: var(--c-cream-dk);
}
.highlight-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
}
@media (max-width: 900px) {
  .highlight-card { grid-template-columns: 1fr; padding: var(--sp-6); }
}

/* -------------------------------------------------------------
   22. Placeholder image (à remplacer par vraies photos)
   ------------------------------------------------------------- */
.img-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-teal-100) 0%, var(--c-cream-dk) 100%);
  color: var(--c-teal-700);
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  padding: var(--sp-6);
  min-height: 300px;
  border-radius: var(--r-lg);
}

/* -------------------------------------------------------------
   23. Responsive : mobile nav
   ------------------------------------------------------------- */
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { display: none; }
  .brand__mark { width: 42px; height: 42px; }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 120;                        /* toujours au-dessus du menu pour rester cliquable */
  }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    height: 100vh;                       /* hauteur explicite pour garantir le plein écran */
    width: min(85vw, 360px);
    background: var(--c-cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    /* Padding-top compact : juste de quoi laisser passer le bouton X du header */
    padding: calc(var(--header-h) + 8px) var(--sp-4) var(--sp-4);
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(30, 79, 90, 0.15);
    transform: translateX(100%);
    transition: transform var(--t-base);
    z-index: 110;                        /* au-dessus du header (z-index 100) */
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;                            /* gap réduit pour faire tenir tous les items */
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav__list li { width: 100%; }

  /* Tous les liens du menu mobile : compacts, fond blanc, identique pour chaque item */
  .nav__link {
    display: block;
    width: 100%;
    font-size: 1rem;                     /* légèrement réduit */
    font-family: var(--font-display);
    font-weight: 600;
    padding: 10px 14px;                  /* padding compact (vs 14/18 avant) */
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    color: var(--c-teal-700);
    line-height: 1.2;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  }
  .nav__link::after { display: none; }
  .nav__link:hover,
  .nav__link.is-active {
    background: var(--c-teal-50);
    border-color: var(--c-teal-500);
    color: var(--c-teal-900);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 10px;                    /* petite séparation visuelle avant le CTA */
    width: 100%;
    justify-content: center;
    padding: 12px 16px;                  /* CTA aussi plus compact */
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 79, 90, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base);
    z-index: 99;
  }
  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: all;
  }

  body.nav-open { overflow: hidden; }
}

/* Empêche le hero d'être caché par le header fixed */
main { padding-top: 0; }

/* -------------------------------------------------------------
   17. Formules tarifées (3 niveaux : Essentiel / Expérience / Signature)
   ------------------------------------------------------------- */
.formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
@media (max-width: 900px) {
  .formules { grid-template-columns: 1fr; gap: var(--sp-4); }
}

.formule {
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 2px solid var(--c-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
}
.formule:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.formule--mid { border-color: var(--c-teal-700); }
.formule--top { border-color: var(--c-gold); }

.formule__header {
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  background: var(--c-teal-50);
  color: var(--c-teal-700);
}
.formule--mid .formule__header { background: var(--c-teal-700); color: var(--c-white); }
.formule--top .formule__header { background: var(--c-gold); color: var(--c-teal-700); }

/* Harmonisation : titre + tarif + accroche partagent la même couleur dans chaque variante */
.formule--low .formule__name,
.formule--low .formule__price,
.formule--low .formule__price-prefix,
.formule--low .formule__price-quote,
.formule--low .formule__per-extra { color: var(--c-teal-700); }

.formule--mid .formule__name,
.formule--mid .formule__price,
.formule--mid .formule__price-prefix,
.formule--mid .formule__price-quote,
.formule--mid .formule__per-extra { color: var(--c-white); }

.formule--top .formule__name,
.formule--top .formule__price,
.formule--top .formule__price-prefix,
.formule--top .formule__price-quote,
.formule--top .formule__per-extra { color: var(--c-teal-700); }

.formule__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  line-height: 1.2;
}
.formule__price-prefix {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  opacity: 0.85;
}
.formule__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}
.formule__price-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}
.formule__per-extra {
  font-size: 0.82rem;
  margin-top: var(--sp-3);
  opacity: 0.85;
  margin-bottom: 0;
}

.formule__body {
  padding: var(--sp-5);
  flex-grow: 1;
}
.formule__body-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-teal-700);
  margin: 0 0 var(--sp-3);
}
.formule__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.formule__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.92rem;
  color: var(--c-ink);
  line-height: 1.4;
}
.formule__list li:last-child { border-bottom: 0; }
.formule__list li::before {
  content: "✓";
  color: var(--c-teal-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.formule--mid .formule__list li::before { color: var(--c-teal-700); }
.formule--top .formule__list li::before { color: var(--c-gold); }

/* Bandeau commun "Inclus dans toutes nos formules" */
.formule-common {
  background: var(--c-cream-dk);
  border-left: 4px solid var(--c-peach);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-top: var(--sp-5);
}
.formule-common__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-teal-700);
  margin: 0 0 var(--sp-3);
}
.formule-common__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-2) var(--sp-5);
}
.formule-common__list li {
  display: flex;
  gap: var(--sp-2);
  font-size: 0.92rem;
  color: var(--c-ink);
}
.formule-common__list li::before {
  content: "✦";
  color: var(--c-peach);
  flex-shrink: 0;
}

/* Méta info au-dessus des formules : durée / groupe / thème */
.formule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-cream);
  border-radius: var(--r-md);
  margin-top: var(--sp-5);
}
.formule-meta__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.92rem;
}
.formule-meta__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--c-peach);
}
.formule-meta__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.formule-meta__label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-teal-700);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.formule-meta__value {
  color: var(--c-ink);
}
.formule-meta__value strong {
  color: var(--c-teal-700);
}

/* Notes en-dessous des formules */
.formule-notes {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-cream);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  font-style: italic;
}
.formule-notes strong {
  color: var(--c-teal-700);
  font-style: normal;
}

/* -------------------------------------------------------------
   18. Animations à la carte avec photo + texte
   ------------------------------------------------------------- */
.anim-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}
.anim-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.anim-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.anim-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-cream-dk);
}
.anim-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform var(--t-slow);
}
.anim-card:hover .anim-card__media img { transform: scale(1.05); }
.anim-card__body {
  padding: var(--sp-4) var(--sp-5);
  flex-grow: 1;
}
.anim-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-teal-700);
  margin: 0 0 var(--sp-2);
}
.anim-card__text {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* -------------------------------------------------------------
   19. Galerie photos événements (carrousel)
   ------------------------------------------------------------- */
.gallery {
  position: relative;
  margin-top: var(--sp-5);
}
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--sp-3) var(--sp-1) var(--sp-5);
  scrollbar-width: thin;
  scrollbar-color: var(--c-teal-500) var(--c-cream-dk);
}
.gallery__track::-webkit-scrollbar { height: 8px; }
.gallery__track::-webkit-scrollbar-track { background: var(--c-cream-dk); border-radius: 4px; }
.gallery__track::-webkit-scrollbar-thumb { background: var(--c-teal-500); border-radius: 4px; }

.gallery__item {
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-cream-dk);
  box-shadow: var(--sh-sm);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform var(--t-slow);
}
.gallery__item:hover img { transform: scale(1.04); }

.gallery__nav {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-3);
}
.gallery__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-teal-500);
  color: var(--c-teal-700);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.gallery__btn:hover { background: var(--c-teal-500); color: var(--c-white); }
.gallery__btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------
   20. Bouton "Retour en haut" flottant
   ------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-teal-700);
  color: var(--c-white);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(30, 79, 90, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 90;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--c-teal-900); }
.scroll-top svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------
   21. Bandeau cookies RGPD
   ------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-white);
  border-top: 3px solid var(--c-teal-500);
  box-shadow: 0 -8px 24px rgba(30, 79, 90, 0.15);
  padding: var(--sp-4) var(--sp-5);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--t-base);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 320px;
  font-size: 0.9rem;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--c-teal-700);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.cookie-banner__btn {
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: all var(--t-fast);
  font-family: var(--font-sans);
}
.cookie-banner__btn--accept {
  background: var(--c-teal-700);
  color: var(--c-white);
  border-color: var(--c-teal-700);
}
.cookie-banner__btn--accept:hover { background: var(--c-teal-900); border-color: var(--c-teal-900); }
.cookie-banner__btn--refuse {
  background: var(--c-white);
  color: var(--c-teal-700);
  border-color: var(--c-teal-500);
}
.cookie-banner__btn--refuse:hover { background: var(--c-teal-50); }

/* -------------------------------------------------------------
   22. Lien footer FAQ (différenciation visuelle légère)
   ------------------------------------------------------------- */
.footer-list a[href*="faq"] {
  color: var(--c-teal-500);
  font-weight: 600;
}

/* -------------------------------------------------------------
   23. FAQ — accordéon
   ------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 0;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq__item[open] {
  border-color: var(--c-teal-500);
  box-shadow: var(--sh-sm);
}
.faq__question {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-teal-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  position: relative;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--c-teal-500);
  border-bottom: 2px solid var(--c-teal-500);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  flex-shrink: 0;
  margin-top: -4px;
}
.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq__answer {
  padding: 0 var(--sp-5) var(--sp-4);
  color: var(--c-ink-soft);
  line-height: 1.65;
}
.faq__answer p { margin: 0 0 var(--sp-3); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ol,
.faq__answer ul {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-5);
}
.faq__answer ol li,
.faq__answer ul li { margin-bottom: var(--sp-2); }
.faq__answer a {
  color: var(--c-teal-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.faq__answer a:hover { color: var(--c-teal-900); }

@media (max-width: 700px) {
  .faq__question {
    padding: var(--sp-3) var(--sp-4);
    font-size: 1rem;
  }
  .faq__answer { padding: 0 var(--sp-4) var(--sp-3); }
}

/* -------------------------------------------------------------
   24. Cartes cliquables (accueil → ancres prestations)
   ------------------------------------------------------------- */
.card--link { transition: transform var(--t-fast), box-shadow var(--t-fast); }
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.card__cover-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card__cover-link .card__img { overflow: hidden; }
.card__cover-link img { transition: transform var(--t-base); }
.card--link:hover .card__cover-link img { transform: scale(1.04); }

.card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}
.card__title a:hover { color: var(--c-teal-700); }

.card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}
.card__more {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-teal-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.card__more:hover {
  color: var(--c-teal-900);
  gap: 8px;
}
@media (max-width: 540px) {
  .card__actions { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------
   25. Ancres avec offset pour le header sticky
   ------------------------------------------------------------- */
:target {
  scroll-margin-top: calc(var(--header-h, 80px) + 16px);
}

/* -------------------------------------------------------------
   26. Cartes animation cliquables (transformation en bouton)
   ------------------------------------------------------------- */
.anim-card__media {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  transition: filter var(--t-fast);
  background: var(--c-cream-dk);
}
.anim-card__media:hover { filter: brightness(0.92); }
.anim-card__media:focus-visible {
  outline: 3px solid var(--c-teal-500);
  outline-offset: -3px;
}
.anim-card__zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(47, 111, 126, 0.92);
  color: var(--c-white);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  pointer-events: none;
}
.anim-card:hover .anim-card__zoom,
.anim-card__media:focus-visible .anim-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------
   27. Lightbox / mini-galerie photos
   ------------------------------------------------------------- */
.lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  width: auto;
  max-width: min(85vw, 720px);
  max-height: 85vh;
  overflow: visible;
  color: var(--c-white);
}
.lightbox::backdrop {
  background: rgba(15, 25, 35, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: var(--c-white);
  border: 0;
  border-radius: 999px;
  color: var(--c-teal-900);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.lightbox__close:hover { background: var(--c-cream); transform: scale(1.08); }

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 0;
  position: relative;
  width: 100%;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(85vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  background: var(--c-cream-dk);
}
.lightbox__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 var(--sp-3);
  margin: 0;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
  backdrop-filter: blur(4px);
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.08);
}
.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.lightbox__nav--prev { left: -54px; }
.lightbox__nav--next { right: -54px; }

.lightbox__counter {
  font-size: 0.8rem;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  letter-spacing: 0.5px;
}

@media (max-width: 820px) {
  .lightbox {
    max-width: 92vw;
    max-height: 88vh;
  }
  .lightbox__img {
    max-height: calc(88vh - 80px);
  }
  .lightbox__nav--prev { left: 6px; background: rgba(0, 0, 0, 0.45); }
  .lightbox__nav--next { right: 6px; background: rgba(0, 0, 0, 0.45); }
  .lightbox__nav:hover { background: rgba(0, 0, 0, 0.65); }
  .lightbox__close {
    top: -10px;
    right: -10px;
  }
}
