/* ==========================================================================
   Ma poule — Feuille de styles principale
   Style : Pro / Classique + glassmorphism, animations fluides,
           cartes de services avec hover 3D
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* --------------------------------------------------------------------------
   1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --cream:        #FAF7F0;
  --cream-2:      #F2EBDC;
  --cream-3:      #E8DFCB;
  --ink:          #14180F;
  --ink-soft:     #3D4437;
  --green:        #2E5B3C;
  --green-deep:   #18311F;
  --green-light:  #5C9070;
  --amber:        #D9902E;
  --amber-light:  #F3C877;
  --white:        #FFFFFF;
  --gray:         #7C8377;
  --border:       rgba(20, 24, 15, .10);
  --border-strong:rgba(20, 24, 15, .18);

  --glass:        rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-dark:   rgba(255, 255, 255, .10);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 6px 18px rgba(20, 24, 15, .06);
  --shadow:    0 18px 48px rgba(20, 24, 15, .12);
  --shadow-lg: 0 30px 70px rgba(20, 24, 15, .18);

  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

::selection { background: var(--amber-light); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. UTILITAIRES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--cream { background: var(--cream-2); }
.section--dark {
  background: var(--green-deep);
  color: var(--cream);
}
.section--dark h2,
.section--dark h3 { color: var(--cream); }
.section--dark p  { color: rgba(250, 247, 240, .74); }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--amber);
}
.section--dark .eyebrow { color: var(--amber-light); }

.lead { font-size: 1.06rem; color: var(--ink-soft); }
.text-center { text-align: center; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(217, 144, 46, .32);
}
.btn--primary:hover {
  background: var(--amber-light);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(217, 144, 46, .42);
}

.btn--dark {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 12px 30px rgba(46, 91, 60, .28);
}
.btn--dark:hover {
  background: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(46, 91, 60, .36);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
}

.btn--light {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--light:hover {
  background: rgba(255, 255, 255, .26);
  transform: translateY(-3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   4. HEADER / NAVIGATION (transparente, fond visible)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Doit rester AU-DESSUS du voile du menu mobile (.nav-overlay 940),
     sinon le voile recouvre le bouton et les liens : le menu semble mort. */
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(250, 247, 240, .82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--border), 0 10px 34px rgba(20, 24, 15, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--white);
  transition: color .4s var(--ease);
}
.site-header.scrolled .logo { color: var(--ink); }

.logo__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green-light), var(--green-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(24, 49, 31, .28);
}
.logo__mark svg { width: 22px; height: 22px; }

.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: .72;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  position: relative;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width .35s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: var(--white); }
.site-header.scrolled .nav__links a:hover { color: var(--green); }

.nav__cta { flex: 0 0 auto; }

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.site-header.scrolled .burger {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, .7);
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease),
              background .4s var(--ease);
}
.site-header.scrolled .burger span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
  background: var(--green-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 26, 16, .88) 0%, rgba(12, 26, 16, .62) 48%, rgba(12, 26, 16, .42) 100%),
    radial-gradient(120% 90% at 82% 18%, rgba(217, 144, 46, .30), transparent 58%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  margin-bottom: 26px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__badge svg { width: 15px; height: 15px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber-light);
}

.hero__text {
  font-size: 1.1rem;
  max-width: 610px;
  color: rgba(250, 247, 240, .84);
  margin-bottom: 40px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat span {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, .62);
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, .58);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* Hero des pages intérieures */
.page-hero {
  position: relative;
  padding: 210px 0 110px;
  background: var(--green-deep);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 26, 16, .82), rgba(12, 26, 16, .92));
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p {
  color: rgba(250, 247, 240, .8);
  font-size: 1.06rem;
  max-width: 620px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, .58);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { opacity: .5; }

/* --------------------------------------------------------------------------
   6. DÉCOR GLASSMORPHISM (blobs derrière les cartes)
   -------------------------------------------------------------------------- */
.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: blobFloat 16s ease-in-out infinite;
}
.blob--1 {
  width: 420px; height: 420px;
  top: -90px;   left: -110px;
  background: rgba(92, 144, 112, .55);
}
.blob--2 {
  width: 380px; height: 380px;
  bottom: -110px; right: -90px;
  background: rgba(243, 200, 119, .55);
  animation-delay: -5s;
}
.blob--3 {
  width: 300px; height: 300px;
  top: 42%;     right: 22%;
  background: rgba(217, 144, 46, .28);
  animation-delay: -9s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(38px, -34px) scale(1.09); }
  66%      { transform: translate(-28px, 26px) scale(.95); }
}

/* --------------------------------------------------------------------------
   7. CARTES GLASS + HOVER 3D
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: 42px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .6);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.card:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-3deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 144, 46, .5);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  box-shadow: 0 12px 26px rgba(24, 49, 31, .24);
  transition: transform .5s var(--ease);
}
.card:hover .card__icon { transform: translateZ(30px) scale(1.06); }
.card__icon svg { width: 28px; height: 28px; stroke: var(--amber-light); }

.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

.card__price {
  display: inline-block;
  margin-top: 18px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

.card--solid {
  background: var(--white);
  border-color: var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* --------------------------------------------------------------------------
   8. GRILLES
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; position: relative; z-index: 1; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Chiffres clés */
.stats-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat-item:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.stat-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 8px;
}
.stat-item span {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   9. SECTION IMAGE + TEXTE
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.split__media:hover img { transform: scale(1.05); }
.split__media--tall img { height: 600px; }
.split__media--small img { height: 400px; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: inherit;
  pointer-events: none;
}

.split__tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  padding: 12px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}

.checklist { margin: 26px 0 34px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(46, 91, 60, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E5B3C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.section--dark .checklist li { color: rgba(250, 247, 240, .78); }
.section--dark .checklist li::before {
  background-color: rgba(243, 200, 119, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F3C877' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   10. TIMELINE (cycle de l'œuf)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 14px 0;
  z-index: 1;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border-strong) 8%, var(--border-strong) 92%, transparent);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 52px 56px 0;
  text-align: right;
}
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 56px 52px;
  text-align: left;
}
.tl-item::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 5px rgba(217, 144, 46, .16);
}
.tl-item:nth-child(even)::after { right: auto; left: -9px; }
.tl-item__day {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.tl-item h3 { margin-bottom: 8px; }
.tl-item p:last-child { margin-bottom: 0; }
.tl-item .card { text-align: left; padding: 30px 28px; }

/* --------------------------------------------------------------------------
   11. GALERIE
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-3);
  box-shadow: var(--shadow-sm);
}
.gallery__item img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.gallery__item:nth-child(1) img,
.gallery__item:nth-child(6) img { height: 290px; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 26, 16, .62), transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 12, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.lightbox.active { opacity: 1; }
.lightbox img {
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.94);
  transition: transform .4s var(--ease);
}
.lightbox.active img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }

/* --------------------------------------------------------------------------
   12. TÉMOIGNAGES
   -------------------------------------------------------------------------- */
.quote {
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.quote:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .16); }
.quote__mark {
  font-family: var(--font-title);
  font-size: 3.4rem;
  line-height: .7;
  color: var(--amber-light);
  opacity: .6;
  margin-bottom: 16px;
}
.quote p { color: rgba(250, 247, 240, .88); font-style: italic; }
.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.quote__author strong {
  display: block;
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
}
.quote__author span { font-size: .76rem; color: rgba(250, 247, 240, .6); }
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid rgba(243, 200, 119, .5);
}

/* --------------------------------------------------------------------------
   13. CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: var(--cream);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 88% 20%, rgba(217, 144, 46, .32), transparent 60%);
}
.cta-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); margin-bottom: 10px; }
.cta-band p { color: rgba(250, 247, 240, .78); margin: 0; max-width: 520px; }

/* --------------------------------------------------------------------------
   14. CONTACT
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.form-card {
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .6);
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-light);
  box-shadow: 0 0 0 4px rgba(92, 144, 112, .16);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-note {
  margin-top: 18px;
  font-size: .78rem;
  color: var(--gray);
}

.form-feedback {
  display: none;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  border: 1px solid transparent;
}
.form-feedback.show { display: block; }
.form-feedback.ok {
  background: rgba(46, 91, 60, .1);
  border-color: rgba(46, 91, 60, .28);
  color: var(--green-deep);
}
.form-feedback.err {
  background: rgba(176, 58, 46, .09);
  border-color: rgba(176, 58, 46, .28);
  color: #8E2B22;
}

.info-list { margin: 0 0 26px; }
.info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-item__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 91, 60, .1);
}
.info-item__icon svg { width: 20px; height: 20px; stroke: var(--green); }
.info-item strong {
  display: block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 4px;
}
.info-item a,
.info-item span { color: var(--ink); font-size: .98rem; }
.info-item a:hover { color: var(--green); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-frame iframe {
  width: 100%;
  height: 330px;
  border: 0;
  display: block;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--gray); }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(250, 247, 240, .72);
  padding: 78px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.site-footer p { color: rgba(250, 247, 240, .66); font-size: .94rem; }
.site-footer .logo { color: var(--white); margin-bottom: 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  font-size: .94rem;
  color: rgba(250, 247, 240, .72);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-links a:hover { color: var(--amber-light); padding-left: 5px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(250, 247, 240, .54);
}

/* --------------------------------------------------------------------------
   16. ANIMATIONS AU SCROLL
   -------------------------------------------------------------------------- */
/* L'apparition utilise la propriété `translate` (distincte de `transform`)
   pour ne JAMAIS écraser le hover 3D des cartes. Sans JavaScript, aucun
   masquage n'est appliqué : le contenu reste visible. */
.reveal {
  transition: opacity .9s var(--ease), translate .9s var(--ease),
              transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s var(--ease), background .45s var(--ease);
}
html.js .reveal {
  opacity: 0;
  translate: 0 28px;
}
html.js .reveal.visible {
  opacity: 1;
  translate: 0 0;
}
.reveal--d1 { transition-delay: .10s; }
.reveal--d2 { transition-delay: .20s; }
.reveal--d3 { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__bg img,
  .blob,
  .hero__scroll i { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; translate: 0; }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */

/* -------- ≤ 1024px -------- */
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .section--tight { padding: 64px 0; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .split__media img,
  .split__media--tall img { height: 400px; }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .hero__scroll { display: none; }
}

/* -------- ≤ 900px : menu mobile -------- */
@media (max-width: 900px) {
  .burger {
    display: flex;
    position: relative;
    z-index: 960;              /* au-dessus du panneau, pour pouvoir le refermer */
  }
  /* Menu ouvert : le bouton passe sur fond sombre */
  .burger.open,
  .site-header.scrolled .burger.open {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .12);
  }
  .burger.open span,
  .site-header.scrolled .burger.open span { background: var(--white); }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px;
    background: rgba(12, 26, 16, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(102%);
    transition: transform .5s var(--ease);
    z-index: 950;
    overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a,
  .site-header.scrolled .nav__links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    letter-spacing: .14em;
    color: rgba(250, 247, 240, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav__links a::after { display: none; }
  .nav__links a:hover,
  .site-header.scrolled .nav__links a:hover { color: var(--amber-light); }

  .nav__cta { display: none; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 12, 8, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
    z-index: 940;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }
}

/* -------- ≤ 768px : tout passe en une colonne -------- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item { padding: 24px 12px; }
  .stat-item strong { font-size: 1.7rem; }

  .hero { min-height: auto; padding: 130px 0 74px; }
  .hero__text { font-size: 1rem; }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
    padding-top: 26px;
  }
  .hero__btn-row .btn,
  .btn-row .btn { width: 100%; }

  .page-hero { padding: 150px 0 72px; }

  .split__media img,
  .split__media--tall img,
  .split__media--small img { height: 300px; }

  .card { padding: 32px 24px; }
  .card:hover { transform: translateY(-6px); }

  .timeline::before { left: 8px; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 40px 34px;
    text-align: left;
  }
  .tl-item::after,
  .tl-item:nth-child(even)::after { left: -1px; right: auto; }
  .tl-item .card { padding: 24px 20px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery__item img,
  .gallery__item:nth-child(1) img,
  .gallery__item:nth-child(6) img { height: 165px; }

  .field--row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 30px 22px; }

  .cta-band { padding: 64px 0; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .map-frame iframe { height: 260px; }

  .hero__bg img { animation: none; }
}

/* -------- ≤ 480px -------- */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .stat-item strong { font-size: 1.5rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img,
  .gallery__item:nth-child(1) img,
  .gallery__item:nth-child(6) img { height: 230px; }
  .btn { padding: 14px 24px; font-size: .76rem; }
  .logo { font-size: 1.15rem; }
  .logo__mark { width: 34px; height: 34px; }
  .timeline { padding-left: 0; }
}
