/* ==========================================================================
   Le Jardin de Beauvallon — feuille de style principale
   Direction artistique : luxe botanique discret
   Vert nuit, ivoire, champagne — typographie éditoriale Cormorant / Jost
   ========================================================================== */

:root {
  --vert-nuit: #0e2119;
  --vert-profond: #153327;
  --vert-mousse: #2c4a3b;
  --sauge: #8aa494;
  --ivoire: #f6f1e5;
  --ivoire-2: #efe7d5;
  --ivoire-3: #e7dcc4;
  --or: #b18f52;
  --or-clair: #d8bd85;
  --encre: #212a23;
  --gris-veg: #66705f;
  --blanc: #fffdf8;

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --largeur-max: 78rem;
  --sortie: cubic-bezier(0.19, 1, 0.22, 1);
  --transition: 0.45s var(--sortie);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--encre);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--or); color: var(--vert-nuit); }

a { color: var(--vert-profond); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--or); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  color: var(--vert-profond);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1.1rem; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0.6rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--or);
}

p + p { margin-top: 1em; }

.conteneur {
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 5vw, 3.5rem);
}

/* --------------------------------------------------------------------------
   Sur-titre — petit label lettré or, précédé d'un trait
   -------------------------------------------------------------------------- */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.surtitre::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--or);
  flex: none;
}

/* --------------------------------------------------------------------------
   En-tête / navigation — transparent sur les héros, ivoire au scroll
   -------------------------------------------------------------------------- */
.entete {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}
body:not(.avec-heros) { padding-top: 5.2rem; }
.entete.posee {
  background: rgba(246, 241, 229, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(21, 51, 39, 0.08), 0 12px 32px -18px rgba(14, 33, 25, 0.25);
}

.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.05rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--vert-profond);
  text-decoration: none;
  line-height: 1.05;
  letter-spacing: 0.01em;
  transition: color 0.5s ease;
}
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 0.25rem;
}

.nav-principale ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  align-items: center;
}
.nav-principale a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre);
  padding-block: 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-principale a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--sortie);
}
.nav-principale a:hover::after,
.nav-principale a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-principale a[aria-current="page"] { color: var(--or); }

/* Header posé sur une photo : textes ivoire */
.entete.sur-photo:not(.posee) .logo,
.entete.sur-photo:not(.posee) .nav-principale a {
  text-shadow: 0 1px 16px rgba(14, 33, 25, 0.55);
}
.entete.sur-photo:not(.posee) .logo { color: var(--ivoire); }
.entete.sur-photo:not(.posee) .nav-principale a { color: rgba(246, 241, 229, 0.88); }
.entete.sur-photo:not(.posee) .nav-principale a[aria-current="page"] { color: var(--or-clair); }
.entete.sur-photo:not(.posee) .burger span { background: var(--ivoire); }

/* Voile dégradé en haut : lisibilité du menu posé sur une photo */
.entete.sur-photo:not(.posee)::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 180%;
  background: linear-gradient(to bottom, rgba(14, 33, 25, 0.5), transparent);
  pointer-events: none;
  z-index: -1;
}

/* Bouton « Vérifier une date » dans le menu */
.nav-item-cta { margin-left: 0.4rem; }
.btn-cta {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.6rem 1.25rem !important;
  border: 1px solid var(--or);
  background: var(--or);
  color: var(--vert-nuit) !important;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-cta::after { display: none !important; }
.btn-cta:hover {
  background: transparent;
  color: var(--or) !important;
}
/* Sur photo : contour clair, se remplit d'or au survol */
.entete.sur-photo:not(.posee) .btn-cta {
  background: transparent;
  border-color: rgba(246, 241, 229, 0.7);
  color: var(--ivoire) !important;
}
.entete.sur-photo:not(.posee) .btn-cta:hover {
  background: var(--or);
  border-color: var(--or);
  color: var(--vert-nuit) !important;
}

/* --------------------------------------------------------------------------
   Boutons — rectangle couture, balayage au survol
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.6rem;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--sortie);
}
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }

.btn-plein { background: var(--vert-profond); color: var(--ivoire); border-color: var(--vert-profond); }
.btn-plein::before { background: var(--or); }
.btn-plein:hover { color: var(--vert-nuit); border-color: var(--or); }

.btn-contour { border-color: rgba(21, 51, 39, 0.45); color: var(--vert-profond); background: transparent; }
.btn-contour::before { background: var(--vert-profond); }
.btn-contour:hover { color: var(--ivoire); border-color: var(--vert-profond); }

.btn-clair { border-color: rgba(246, 241, 229, 0.55); color: var(--ivoire); background: transparent; }
.btn-clair::before { background: var(--ivoire); }
.btn-clair:hover { color: var(--vert-nuit); border-color: var(--ivoire); }

.btn-or { background: var(--or); color: var(--vert-nuit); border-color: var(--or); }
.btn-or::before { background: var(--ivoire); }
.btn-or:hover { border-color: var(--ivoire); }

/* Variante discrète (lien secondaire, ex. « Voir toute la galerie ») */
.btn-mini {
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  padding: 0.3rem 0.75rem;
}

/* Burger mobile */
.burger {
  display: none;
  background: none;
  border: none;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 60;
}
.burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--vert-profond);
  transition: transform var(--transition), opacity var(--transition), background 0.5s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.burger[aria-expanded="true"] span { background: var(--ivoire) !important; }

@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav-principale {
    position: fixed;
    inset: 0;
    background: var(--vert-nuit);
    display: grid;
    place-items: center;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--sortie);
  }
  .nav-principale.ouverte { clip-path: inset(0 0 0 0); }
  .nav-principale ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .nav-principale a {
    font-family: var(--serif);
    font-size: 1.7rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--ivoire) !important;
  }
  .nav-principale a::after { height: 1px; }
  /* CTA en bouton doré plein, bien détaché en bas du menu */
  .nav-item-cta { margin-top: 0.8rem; }
  .entete .nav-principale .btn-cta {
    font-family: var(--sans);
    font-size: 0.82rem !important;
    letter-spacing: 0.16em;
    padding: 0.95rem 2.2rem !important;
    background: var(--or) !important;
    border-color: var(--or) !important;
    color: var(--vert-nuit) !important;
  }
}

/* --------------------------------------------------------------------------
   Héros — cinématique, texte bas-gauche, fondu vers l'ivoire
   -------------------------------------------------------------------------- */
.heros {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivoire);
  isolation: isolate;
  overflow: hidden;
}
.heros picture { position: absolute; inset: 0; z-index: -2; }
.heros picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heros-zoom 12s var(--sortie) forwards;
}
@keyframes heros-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.heros::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--ivoire) 0, transparent 14%),
    linear-gradient(22deg, rgba(14, 33, 25, 0.88) 8%, rgba(14, 33, 25, 0.35) 52%, rgba(14, 33, 25, 0.12) 100%);
}
.heros-contenu {
  width: 100%;
  padding-block: clamp(4.5rem, 11vh, 8rem);
  max-width: none;
}
.heros-contenu > * { max-width: 44rem; }
.heros h1, .heros p, .heros .surtitre { text-shadow: 0 2px 22px rgba(14, 33, 25, 0.45); }
.heros h1 { color: var(--ivoire); margin-bottom: 1.4rem; text-wrap: balance; }
.heros .surtitre { color: var(--or-clair); }
.heros .surtitre::before { background: var(--or-clair); }
.heros p {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  max-width: 34rem;
  color: rgba(246, 241, 229, 0.88);
}
.heros-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.4rem; }

/* Cascade d'entrée du héros */
.heros-contenu > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heros-entree 1.1s var(--sortie) forwards;
}
.heros-contenu > *:nth-child(2) { animation-delay: 0.15s; }
.heros-contenu > *:nth-child(3) { animation-delay: 0.3s; }
.heros-contenu > *:nth-child(4) { animation-delay: 0.45s; }
@keyframes heros-entree { to { opacity: 1; transform: none; } }

/* Fil de descente */
.heros-cue {
  position: absolute;
  bottom: 0;
  right: clamp(1.4rem, 5vw, 3.5rem);
  width: 1px;
  height: clamp(4rem, 9vh, 7rem);
  background: linear-gradient(to bottom, transparent, var(--or));
  overflow: hidden;
}
.heros-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivoire);
  animation: cue-descend 2.6s ease-in-out infinite;
}
@keyframes cue-descend {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.heros-page { min-height: 72svh; }

/* --------------------------------------------------------------------------
   Héros à expansion au défilement (accueil)
   L'image centrale s'agrandit au fil de la molette / du geste tactile,
   le fond s'estompe et le titre se scinde. Piloté par assets/js/main.js.
   -------------------------------------------------------------------------- */
.heros-x {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--vert-nuit);
  isolation: isolate;
}
.heros-x-fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: opacity;
}
.heros-x-fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heros-x-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 33, 25, 0.38);
}
.heros-x-scene {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
}
.heros-x-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 420px;
  max-width: 95vw;
  max-height: 85vh;
  z-index: 1;
  box-shadow: 0 40px 90px -25px rgba(14, 33, 25, 0.65);
}
.heros-x-media > img,
.heros-x-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--vert-nuit);
}
.heros-x-media::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(246, 241, 229, 0.35);
  pointer-events: none;
  z-index: 2;
}
.heros-x-voile {
  position: absolute;
  inset: 0;
  background: var(--vert-nuit);
  opacity: 0.45;
  z-index: 1;
  will-change: opacity;
}
.heros-x-actions {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1.6rem, 5vh, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.7s var(--sortie), transform 0.7s var(--sortie);
}
.heros-x.deploye .heros-x-actions,
.heros-x.statique .heros-x-actions {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.heros-x-titres {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivoire);
  padding-inline: 1.2rem;
  pointer-events: none;
}
.heros-x-titres .surtitre {
  justify-content: center;
  color: var(--or-clair);
  text-shadow: 0 2px 22px rgba(14, 33, 25, 0.45);
  will-change: transform;
}
.heros-x-titres .surtitre::before { background: var(--or-clair); }
.heros-x-titres .surtitre::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--or-clair);
  flex: none;
}
.heros-x h1 {
  color: var(--ivoire);
  font-size: clamp(2.6rem, 7vw, 5rem);
  text-shadow: 0 2px 26px rgba(14, 33, 25, 0.5);
}
.heros-x h1 span {
  display: block;
  will-change: transform;
}
.heros-x-indice {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.85);
  text-shadow: 0 1px 14px rgba(14, 33, 25, 0.5);
  animation: indice-pulse 2.6s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes indice-pulse {
  0%, 100% { letter-spacing: 0.32em; }
  50% { letter-spacing: 0.42em; }
}

/* Entrée en scène */
.heros-x-titres > *,
.heros-x-media {
  animation: heros-entree 1.1s var(--sortie) backwards;
}
.heros-x-titres .surtitre { animation-delay: 0.15s; }
.heros-x-titres h1 { animation-delay: 0.3s; }
.heros-x-indice { animation: heros-entree 1.1s var(--sortie) 0.45s backwards, indice-pulse 2.6s ease-in-out 1.6s infinite; }

/* État statique : mouvement réduit ou JS indisponible sur ce bloc */
.heros-x.statique .heros-x-media {
  width: 95vw;
  height: 85vh;
  animation: none;
}
.heros-x.statique .heros-x-fond { opacity: 0; }
.heros-x.statique .heros-x-indice { display: none; }
@media (prefers-reduced-motion: reduce) {
  .heros-x-titres > *, .heros-x-media { animation: none; }
  .heros-x-indice { animation: none; }
}

/* --------------------------------------------------------------------------
   Ruban botanique — marquee serif italique
   -------------------------------------------------------------------------- */
.ruban {
  border-block: 1px solid rgba(177, 143, 82, 0.35);
  padding-block: 1.15rem;
  overflow: hidden;
  background: var(--ivoire);
}
.ruban-piste {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ruban-defile 46s linear infinite;
}
.ruban span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--vert-mousse);
  white-space: nowrap;
  padding-right: 1.4rem;
}
.ruban span i {
  font-style: normal;
  color: var(--or);
  padding-right: 1.4rem;
  font-size: 0.8em;
}
@keyframes ruban-defile {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Carrousel photo (accueil) — même palette et même esprit que le héros :
   vert nuit, cadre or, légendes serif italique.
   -------------------------------------------------------------------------- */
.carrousel-section .section-intro { margin-bottom: clamp(2rem, 5vw, 3rem); }

.carrousel { position: relative; }

.carrousel-piste {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding-block: 0.4rem;
  padding-inline: calc((100vw - min(78rem, 100vw)) / 2 + clamp(1.25rem, 4vw, 2.5rem));
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste:focus-visible { outline: 2px solid var(--or); outline-offset: 6px; }

.carrousel-slide {
  flex: 0 0 auto;
  width: min(640px, 78vw);
  scroll-snap-align: start;
}
.carrousel-slide figure { position: relative; }
.carrousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.carrousel-slide figure::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(246, 241, 229, 0.3);
  pointer-events: none;
  transition: border-color 0.6s ease;
}
.carrousel-slide:hover figure::after { border-color: rgba(216, 189, 133, 0.65); }
.carrousel-slide figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.6rem 1.4rem 1.1rem;
  background: linear-gradient(to top, rgba(14, 33, 25, 0.85), transparent);
  color: var(--ivoire);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.carrousel-fleche {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(14, 33, 25, 0.55);
  border: 1px solid rgba(246, 241, 229, 0.35);
  color: var(--ivoire);
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: border-color var(--transition), background var(--transition), opacity 0.4s ease, transform var(--transition);
}
.carrousel-fleche svg { width: 1.2rem; height: 1.2rem; }
.carrousel-fleche:hover { background: var(--or); border-color: var(--or); color: var(--vert-nuit); }
.carrousel-fleche:active { transform: translateY(-50%) scale(0.94); }
.carrousel-precedent { left: clamp(0.6rem, 3vw, 1.8rem); }
.carrousel-suivant { right: clamp(0.6rem, 3vw, 1.8rem); }
.carrousel-fleche-invisible { opacity: 0; pointer-events: none; }

.carrousel-compteur {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--or-clair);
}

@media (max-width: 700px) {
  .carrousel-fleche { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .carrousel-piste { scroll-behavior: auto; }
  .carrousel-slide figure::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(5rem, 11vw, 8.5rem); }
.section-verte {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(44, 74, 59, 0.55) 0%, transparent 55%),
    var(--vert-nuit);
  color: rgba(246, 241, 229, 0.82);
}
.section-verte h2, .section-verte h3 { color: var(--ivoire); }
.section-verte .surtitre { color: var(--or-clair); }
.section-verte .surtitre::before { background: var(--or-clair); }
.section-creme-fonce { background: var(--ivoire-2); }

.section-intro {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.centre { text-align: center; margin-inline: auto; }
.centre .surtitre { justify-content: center; }
.centre .surtitre::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--or);
  flex: none;
}

.filet {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--or), transparent);
  border: none;
  margin: 1.3rem 0 1.6rem;
}
.centre .filet { margin-inline: auto; background: var(--or); }

/* Grilles */
.grille-2 { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.grille-3 { display: grid; gap: clamp(2.2rem, 4vw, 3rem); }
@media (min-width: 760px) {
  .grille-2 { grid-template-columns: 1fr 1fr; }
  .grille-3 { grid-template-columns: repeat(3, 1fr); }
  /* décalage éditorial : la colonne centrale descend */
  .grille-3 > :nth-child(2) { transform: translateY(2.6rem); }
  .grille-3 > :nth-child(2).visible { transform: translateY(2.6rem); }
}

/* --------------------------------------------------------------------------
   Tuiles éditoriales (ex-cartes) — sans boîte blanche, gallery-style
   -------------------------------------------------------------------------- */
.carte {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
}
.carte-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.6rem;
  position: relative;
}
.carte-img::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 229, 0.14);
  pointer-events: none;
}
.carte-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--sortie), filter 1.2s var(--sortie);
}
.carte:hover .carte-img img { transform: scale(1.06); }
.carte-corps { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.carte-corps p { font-size: 0.97rem; flex: 1; color: var(--gris-veg); }
.carte-corps .lien-fleche { margin-top: 1.3rem; }

/* Tuiles texte seules : hairline dorée + numérotation */
.carte:not(:has(.carte-img)) {
  border-top: 1px solid rgba(177, 143, 82, 0.45);
  padding-top: 1.8rem;
  counter-increment: tuile;
}
.carte:not(:has(.carte-img)) h3::before {
  content: counter(tuile, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--or);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}
.grille-3 { counter-reset: tuile; }
.section-verte .carte:not(:has(.carte-img)) { border-top-color: rgba(216, 189, 133, 0.4); }
.section-verte .carte-corps p { color: rgba(246, 241, 229, 0.72); }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--vert-profond);
  font-weight: 400;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(177, 143, 82, 0.5);
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}
.lien-fleche::after { content: "→"; font-family: var(--serif); transition: transform 0.45s var(--sortie); }
.lien-fleche:hover { color: var(--or); border-bottom-color: var(--or); }
.lien-fleche:hover::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Image encadrée or (texte + image alternés)
   -------------------------------------------------------------------------- */
.media-cadre { position: relative; }
.media-cadre img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.media-cadre::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid rgba(177, 143, 82, 0.55);
  z-index: -1;
  transition: transform 0.7s var(--sortie);
}
.media-cadre:hover::before { transform: translate(0.4rem, 0.4rem); }
@media (max-width: 759px) {
  .media-cadre::before { inset: 0.9rem -0.9rem -0.9rem 0.9rem; }
  .media-cadre { margin-right: 0.9rem; }
}

/* --------------------------------------------------------------------------
   Listes botaniques
   -------------------------------------------------------------------------- */
.liste-botanique { list-style: none; display: grid; gap: 0.7rem; }
.liste-botanique li {
  padding-left: 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(33, 42, 35, 0.08);
  padding-bottom: 0.7rem;
}
.section-verte .liste-botanique li { border-bottom-color: rgba(246, 241, 229, 0.12); }
.liste-botanique li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.9rem;
  height: 1px;
  background: var(--or);
}
@media (min-width: 600px) { .liste-botanique.deux-colonnes { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

/* --------------------------------------------------------------------------
   Chiffres clés — colonnes hairline, chiffres serif
   -------------------------------------------------------------------------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  text-align: left;
}
.chiffres > * {
  padding: 0.4rem 2rem;
  border-left: 1px solid rgba(216, 189, 133, 0.28);
}
.chiffre-valeur {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: var(--or-clair);
  line-height: 1;
}
.chiffre-legende {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-top: 0.9rem;
  color: rgba(246, 241, 229, 0.65);
}
@media (max-width: 700px) {
  .chiffres { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

/* --------------------------------------------------------------------------
   Témoignage — grand guillemet serif
   -------------------------------------------------------------------------- */
.temoignage {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding-top: 3.2rem;
}
.temoignage::before {
  content: "“";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--or);
  opacity: 0.55;
}
.temoignage blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.45;
  color: var(--vert-profond);
  text-wrap: balance;
}
.section-verte .temoignage blockquote { color: var(--ivoire); }
.temoignage figcaption {
  margin-top: 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
}

/* --------------------------------------------------------------------------
   Galerie — grille éditoriale à hauteurs variées
   -------------------------------------------------------------------------- */
.galerie-grille {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr));
}
.galerie-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}
.galerie-item:nth-child(3n + 1) { aspect-ratio: 4 / 4.6; }
.galerie-item:nth-child(3n + 3) { aspect-ratio: 4 / 3.4; }
@media (min-width: 760px) {
  .galerie-item:nth-child(3n + 2) { transform: translateY(2.2rem); }
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--sortie);
}
.galerie-item:hover img { transform: scale(1.07); }
.galerie-item::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(246, 241, 229, 0.0);
  transition: border-color 0.6s ease;
  pointer-events: none;
}
.galerie-item:hover::after { border-color: rgba(246, 241, 229, 0.55); }
.galerie-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(14, 33, 25, 0.78), transparent);
  color: var(--ivoire);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */
.bandeau-cta {
  position: relative;
  isolation: isolate;
  color: var(--ivoire);
  text-align: center;
  padding-block: clamp(6rem, 14vw, 10rem);
  overflow: hidden;
}
.bandeau-cta .fond {
  position: absolute;
  inset: -6%;
  z-index: -2;
  width: 112%;
  height: 112%;
  object-fit: cover;
}
.bandeau-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(14, 33, 25, 0.92) 0%, rgba(14, 33, 25, 0.66) 100%);
}
.bandeau-cta .surtitre { color: var(--or-clair); justify-content: center; }
.bandeau-cta .surtitre::before { background: var(--or-clair); }
.bandeau-cta .surtitre::after { content: ""; width: 2.6rem; height: 1px; background: var(--or-clair); flex: none; }
.bandeau-cta h2 { color: var(--ivoire); text-wrap: balance; }
.bandeau-cta p { max-width: 34rem; margin-inline: auto; color: rgba(246, 241, 229, 0.85); }
.bandeau-cta .btn { margin-top: 2.4rem; }

/* --------------------------------------------------------------------------
   Formulaires — style couture : soulignés, labels lettrés
   -------------------------------------------------------------------------- */
.formulaire {
  display: grid;
  gap: 2.2rem 3rem;
  max-width: 50rem;
}
@media (min-width: 700px) {
  .formulaire { grid-template-columns: 1fr 1fr; }
  .formulaire .pleine-largeur { grid-column: 1 / -1; }
}
.champ label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vert-profond);
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(33, 42, 35, 0.28);
  border-radius: 0;
  padding: 0.55rem 0.1rem;
  transition: border-color var(--transition);
}
.champ input::placeholder, .champ textarea::placeholder { color: rgba(102, 112, 95, 0.55); }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: var(--or);
  box-shadow: 0 1px 0 var(--or);
}
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.champ textarea { min-height: 7.5rem; resize: vertical; }
.note-formulaire { font-size: 0.85rem; color: var(--gris-veg); }

/* --------------------------------------------------------------------------
   Formules tarifaires — colonnes hairline, centrale distinguée
   -------------------------------------------------------------------------- */
.formules { display: grid; gap: 3.5rem; }
@media (min-width: 860px) {
  .formules { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .formule + .formule { border-left: 1px solid rgba(33, 42, 35, 0.12); }
}
.formule {
  padding: 2.8rem clamp(1.6rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}
.formule::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.6rem, 3vw, 2.8rem);
  right: clamp(1.6rem, 3vw, 2.8rem);
  height: 1px;
  background: rgba(33, 42, 35, 0.18);
}
.formule.mise-en-avant::before { background: var(--or); height: 2px; }
.formule.mise-en-avant { background: linear-gradient(to bottom, rgba(177, 143, 82, 0.07), transparent 65%); }
.formule h3 { font-size: 1.75rem; font-style: italic; font-weight: 400; }
.formule .formule-usage {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.1rem;
  color: var(--vert-profond);
  margin-block: 1.1rem 0.2rem;
  line-height: 1.15;
}
.formule .formule-usage small {
  font-size: 0.72rem;
  font-family: var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-top: 0.5rem;
}
.formule ul {
  list-style: none;
  text-align: left;
  margin-block: 1.6rem 2.2rem;
  flex: 1;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--gris-veg);
}
.formule ul li { padding-left: 1.7rem; position: relative; }
.formule ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.8rem;
  height: 1px;
  background: var(--or);
}

/* --------------------------------------------------------------------------
   Infos pratiques / contact
   -------------------------------------------------------------------------- */
.coordonnees { list-style: none; display: grid; gap: 1.4rem; }
.coordonnees li {
  border-bottom: 1px solid rgba(33, 42, 35, 0.1);
  padding-bottom: 1.1rem;
}
.coordonnees li strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.carte-embed {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  filter: sepia(14%) saturate(0.85) contrast(0.98);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--vert-nuit);
  color: rgba(246, 241, 229, 0.66);
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
  font-size: 0.95rem;
}
.pied .pied-titre {
  color: var(--or-clair);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1.3rem;
}
.pied a { color: rgba(246, 241, 229, 0.8); text-decoration: none; transition: color var(--transition); }
.pied a:hover { color: var(--or-clair); }
.pied-grille {
  display: grid;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(246, 241, 229, 0.1);
}
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.pied ul { list-style: none; display: grid; gap: 0.6rem; }
.pied .logo { color: var(--ivoire); font-size: 1.7rem; }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 229, 0.4);
}
.reseaux { display: flex; gap: 0.9rem; }
.reseaux a {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 241, 229, 0.22);
  border-radius: 50%;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.reseaux a:hover { border-color: var(--or); background: rgba(177, 143, 82, 0.14); transform: translateY(-2px); }
.reseaux svg { width: 1rem; height: 1rem; fill: currentColor; }

/* --------------------------------------------------------------------------
   Boutons flottants mobile (appel / WhatsApp)
   -------------------------------------------------------------------------- */
.flottants {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
}
.flottants a {
  display: flex;
  width: 3.3rem;
  height: 3.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 26px -8px rgba(14, 33, 25, 0.5);
  text-decoration: none;
  transition: transform var(--transition);
}
.flottants a:active { transform: scale(0.94); }
.flottants svg { width: 1.4rem; height: 1.4rem; fill: var(--ivoire); }
.flottant-tel { background: var(--vert-profond); }
.flottant-wa { background: #1fa855; }
@media (max-width: 900px) { .flottants { display: flex; } }

/* --------------------------------------------------------------------------
   Animations au scroll
   -------------------------------------------------------------------------- */
.reveler {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--sortie), transform 1.1s var(--sortie);
}
.reveler.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 760px) {
  .grille-3 > .reveler:nth-child(2).visible { transform: translateY(2.6rem); }
}
.reveler:nth-child(2) { transition-delay: 0.12s; }
.reveler:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveler { opacity: 1; transform: none; transition: none; }
  .heros-contenu > * { animation: none; opacity: 1; transform: none; }
  .heros picture img { animation: none; }
  .ruban-piste { animation: none; }
  .heros-cue { display: none; }
  .carte-img img, .galerie-item img { transition: none; }
}

/* --------------------------------------------------------------------------
   Pages de contenu (mentions légales…)
   -------------------------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.8rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.4rem; margin-block: 0.8rem; }

/* --------------------------------------------------------------------------
   Fil d'Ariane (pages intérieures)
   -------------------------------------------------------------------------- */
.fil-ariane {
  padding-top: 1.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-veg);
}
.fil-ariane ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.fil-ariane li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--or);
}
.fil-ariane a { color: var(--gris-veg); text-decoration: none; transition: color var(--transition); }
.fil-ariane a:hover { color: var(--or); }
.fil-ariane [aria-current] { color: var(--vert-profond); }

/* --------------------------------------------------------------------------
   FAQ — accordéon natif <details>, sans JS
   -------------------------------------------------------------------------- */
.faq-liste {
  max-width: 52rem;
  border-top: 1px solid rgba(33, 42, 35, 0.12);
}
.faq-liste details { border-bottom: 1px solid rgba(33, 42, 35, 0.12); }
.faq-liste summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  color: var(--vert-profond);
  transition: color var(--transition);
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--or);
  transition: transform 0.45s var(--sortie);
}
.faq-liste details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-liste summary:hover { color: var(--or); }
.faq-liste summary:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }
.faq-liste details p {
  padding: 0 3rem 1.6rem 0;
  color: var(--gris-veg);
  max-width: 44rem;
}

/* --------------------------------------------------------------------------
   Maillage interne — « À découvrir aussi »
   -------------------------------------------------------------------------- */
.liens-lies { border-top: 1px solid rgba(177, 143, 82, 0.3); }
.liens-lies h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--or), var(--or));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--sortie), color var(--transition);
}
.liens-lies h3 a:hover { color: var(--or); background-size: 100% 1px; }
.liens-lies .carte-corps p { flex: 0; }

/* --------------------------------------------------------------------------
   Envoi des formulaires : WhatsApp (principal) + e-mail (secondaire)
   -------------------------------------------------------------------------- */
.envoi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.envoi .note-formulaire { flex-basis: 100%; margin-top: 0.2rem; }
.btn svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  vertical-align: -0.22em;
  margin-right: 0.7rem;
}
@media (max-width: 520px) {
  .envoi .btn { width: 100%; text-align: center; }
}
