:root {
  --bg: #ffffff;
  --text: #1f2a2a;
  --muted: #5c6a6a;

  /* Couleurs existantes / proches de ton site */
  --green: #b8d1b8; /* fond vert doux */
  --green-dark: #64876e; /* texte vert */
  --pink: #c2337b; /* accent */
  --soft: #f7f6f7;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.08);

  --container: 1100px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn--primary {
  background: var(--green);
  color: #0f1a14;
  border-color: rgba(0, 0, 0, 0.08);
}
.btn--primary:hover {
  text-decoration: none;
}
.btn--ghost {
  background: rgba(184, 209, 184, 0.18);
  border-color: rgba(184, 209, 184, 0.55);
  color: var(--green-dark);
}
.btn--ghost:hover {
  text-decoration: none;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  width: 160px;
  height: auto;
}

/* Desktop nav */
.nav {
  display: none;
  gap: 16px;
  align-items: center;
  font-weight: 700;
  color: var(--green-dark);
}
.nav a {
  opacity: 0.9;
}
.nav a:hover {
  opacity: 1;
  text-decoration: none;
  color: var(--pink);
}
.nav__cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(194, 51, 123, 0.1);
  border: 1px solid rgba(194, 51, 123, 0.25);
}

/* Burger / mobile */
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 2px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

/* ===== MENU MOBILE OVERLAY (FIX FINAL) ===== */
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 10000;

  background-color: var(--green);
  padding: 96px 20px 24px;

  display: none;
  flex-direction: column;
  gap: 12px;
}

/* Visible quand menu-open est actif */
body.menu-open .mobilemenu {
  display: flex;
}

.mobilemenu a {
  padding: 10px 14px; /* AVANT : 14px 16px */
  border-radius: 12px; /* AVANT : 16px */
  background: #ffffff;
  color: var(--green-dark);
  font-weight: 600; /* AVANT : 700 */
  font-size: 0.95rem; /* AVANT : 1.05rem */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.mobilemenu__cta {
  background: rgba(194, 51, 123, 0.12);
  border: 1px solid rgba(194, 51, 123, 0.35);
  color: var(--pink);
}

/* Bloque le scroll derrière */
body.menu-open {
  overflow: hidden;
}

/* Desktop */
@media (min-width: 780px) {
  .mobilemenu {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: 34px 0 26px;
  background:
    radial-gradient(
      1200px 600px at 20% 10%,
      rgba(184, 209, 184, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 20%,
      rgba(194, 51, 123, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #fff, #fff);
}
.hero__grid {
  display: grid;
  gap: 22px;
}
.kicker {
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 0 0 6px;
}
h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}
.lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  background: rgba(184, 209, 184, 0.18);
  border: 1px solid rgba(184, 209, 184, 0.45);
  color: var(--green-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch; /* important */
}

.hero__card {
  height: 420px; /* 👈 hauteur FIXE desktop */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: white;
}

.hero__card {
  height: 100%;
}

.hero__card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4; /* plus vertical, plus impact */
  object-fit: cover;
}

.hero__card--alt {
  transform: translateY(10px);
  border: 1px solid rgba(184, 209, 184, 0.55);
}

/* Sections */
.section {
  padding: 48px 0;
}
.section--soft {
  background: var(--soft);
}
.section--accent {
  background: rgba(184, 209, 184, 0.55);
}
.section--image {
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    url("images/visuels/1.jpg") center/cover no-repeat;
  color: white;
}

.section__head {
  margin-bottom: 22px;
}
.section__head h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
}
.section__head p {
  margin: 0;
  color: var(--muted);
}
.section__head--light p {
  color: rgba(255, 255, 255, 0.88);
}
.section__head--light h2 {
  color: #fff;
}

.center {
  display: flex;
  justify-content: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}

/* Avant/Après */
.aa-grid {
  display: grid;
  gap: 16px;
}
.aa {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
}
.aa__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.aa__img {
  position: relative;
  margin: 0;
}
.aa__img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}
.tag--after {
  background: rgba(184, 209, 184, 0.85);
  color: #0f1a14;
}
.aa__caption {
  margin: 0;
  padding: 14px 16px;
  color: var(--green-dark);
  font-weight: 700;
}

/* Cards (nouveautés) */
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.card {
  background: rgba(184, 209, 184, 0.1);
  border: 1px solid rgba(184, 209, 184, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card__body {
  padding: 12px 14px;
}
.card__body p {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

/* Split section */
.split {
  display: grid;
  gap: 16px;
}
.list {
  margin: 12px 0 0;
  padding-left: 18px;
}
.list li {
  margin: 8px 0;
  color: #1b2b23;
  font-weight: 600;
}
.panel {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.panel__title {
  margin: 0 0 6px;
  color: #0f1a14;
  font-size: 1.2rem;
  font-family: "Dancing Script", cursive;
}
.panel__text {
  margin: 0 0 12px;
  color: #2c3b34;
}

/* Video */
.video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #000;
}
.video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

/* Contact */
.contact {
  display: grid;
  gap: 16px;
}
.contact__info {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.info {
  margin-bottom: 10px;
}
.info__label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
}
.info__value a {
  color: var(--pink);
  font-weight: 800;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social__btn {
  background: rgba(194, 51, 123, 0.1);
  border: 1px solid rgba(194, 51, 123, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  color: var(--pink);
}
.social__btn:hover {
  text-decoration: none;
}

.form {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--muted);
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font: inherit;
  outline: none;
}
.form input:focus,
.form textarea:focus {
  border-color: rgba(194, 51, 123, 0.45);
  box-shadow: 0 0 0 4px rgba(194, 51, 123, 0.1);
}
.form__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  margin-top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
    line-height: 1.15;
  }

  .lead {
    font-size: 0.95rem;
  }

  .hero__actions {
    gap: 8px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
}

@media (min-width: 780px) {
  .nav {
    display: flex;
  }
  .burger {
    display: none;
  }
  .mobilemenu {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .aa-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .contact {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .brand__logo {
    width: 190px;
  }
  .hero {
    padding: 46px 0 30px;
  }
}
/* Force le menu mobile au-dessus de tout */
.mobilemenu {
  z-index: 9999;
}
.hero,
.section {
  position: relative;
  z-index: 0;
}
/* ===========================
   FIX DEFINITIF MENU MOBILE
   =========================== */

/* Quand le menu est ouvert, on cache TOUT sauf le header et le menu */
body.menu-open main,
body.menu-open .hero,
body.menu-open .section {
  display: none !important;
}

/* Le header reste visible */
body.menu-open .topbar {
  background: var(--green);
  backdrop-filter: none;
}

/* Le menu devient le vrai écran */
body.menu-open .mobilemenu {
  display: flex !important;
  background: var(--green);
}
.menu-close {
  align-self: flex-end;
  margin-bottom: 16px;

  background: #ffffff;
  color: var(--green-dark);
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;

  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30000; /* PLUS HAUT que le header */
  background: rgba(0, 0, 0, 0.85);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  background: #000;
}

.lightbox-close {
  position: fixed; /* IMPORTANT */
  top: 16px;
  right: 16px;

  z-index: 21000; /* AU-DESSUS de la lightbox */

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;

  background: #ffffff;
  color: #000000;

  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
body.lightbox-open .topbar {
  display: none;
}
