/* ================================
   RESET + BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================================
   FOND GLOBAL
   (plus d'image ici, seulement une couleur)
================================ */
body {
  min-height: 100vh;
  color: #fff;
  background-color: #020611; /* fond sombre neutre */
}

/* ================================
   SECTION HERO (ACCUEIL)
================================ */
.hero {
  padding-top: 120px; /* espace pour le header */
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;

  /* 🔥 image uniquement sur le hero */
  background-image: url("/assets/images/unnamed.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* overlay sombre pour lisibilité du texte */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.15)
  );
  z-index: 0;
}

.left {
  max-width: 520px;
  position: relative;
  z-index: 1; /* au-dessus de l’overlay */
}

.subtitle {
  opacity: 0.9;
  text-transform: uppercase;
  font-size: 14px;
}

.title-yellow {
  color: #FDD835;
  font-size: 60px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.title-white {
  font-size: 32px;
  font-weight: 600;
  margin-top: -8px;
}

.features {
  margin-top: 35px;
  font-size: 17px;
  line-height: 30px;
}

.features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.check {
  background: #FDD835;
  color: #000;
  margin-right: 15px;
  padding: 5px 9px;
  border-radius: 50%;
  font-weight: bold;
}

.diplome {
  margin: 25px 0 10px;
  font-size: 18px;
}

/* ================================
   FLAGS PAYS
================================ */
.flags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.flag {
  background: rgba(0,0,0,0.25);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.flag:hover {
  transform: translateY(-6px);
  background: rgba(0,0,0,0.45);
}

.flag span {
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}

/* ================================
   BARRE DU BAS
================================ */
.bottom-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.crotale-btn {
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
}

.mail-btn {
  color: #fff;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ================================
   HEADER / MENU
================================ */
.site-header {
  width: 100%;
  padding: 12px 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #FDD835;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.main-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav .nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
  opacity: 1;
  border-bottom: 2px solid #FDD835;
  padding-bottom: 3px;
}

/* ================================
   RESPONSIVE MOBILE (ACCUEIL)
================================ */
@media (max-width: 900px) {

  .hero {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .left {
    max-width: 100%;
  }

  .flags {
    grid-template-columns: repeat(2, 1fr);
  }

  .title-yellow {
    font-size: 42px;
  }

  .title-white {
    font-size: 26px;
  }

  .main-nav .nav-links {
    gap: 12px;
  }
}

/* =========================================
   PAGES INTERNES (NOS SERVICES, ETC.)
========================================= */

/* Page services : fond + overlay pour lisibilité */
.page-services {
  min-height: 100vh;
  padding-top: 120px;   /* espace pour le header */
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 60px;

  background-image: url("/assets/images/bg-services.png");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay sombre léger pour reposer les yeux */
.page-services::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* blocs de section généraux (version "verre fumé" pour pages internes) */
.section {
  max-width: 1100px;
  margin: 0 auto 30px auto;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px 28px;
  border-radius: 14px;
  text-align: left;
  backdrop-filter: blur(3px);
}

.section h1,
.section h2,
.section h3 {
  margin-bottom: 10px;
  font-weight: 700;
  color: #FDD835;
}

.section p {
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.95;
}

/* 👉 Variante sections sur la page d'accueil UNIQUEMENT (pas services, pas about, pas contact, pas pages pays) */
body:not(.page-services):not(.page-about):not(.page-contact):not(.page-country) .section {
  background: #ffffff;
  color: #0b2930;
  backdrop-filter: none;
}

body:not(.page-services):not(.page-about):not(.page-contact):not(.page-country) .section h1,
body:not(.page-services):not(.page-about):not(.page-contact):not(.page-country) .section h2,
body:not(.page-services):not(.page-about):not(.page-contact):not(.page-country) .section h3 {
  color: #0b2930;
}

body:not(.page-services):not(.page-about):not(.page-contact):not(.page-country) .section p {
  color: #243743;
  opacity: 0.95;
}

/* grille de services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.service-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  transition: .25s;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #FDD835;
}

.service-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

/* CTA bouton */
.btn-primary {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #FDD835;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: .25s;
}

.btn-primary:hover {
  background: #ffe066;
}

/* =========================
   PAGE À PROPOS
   ========================= */

body.page-about {
  min-height: 100vh;
  padding-top: 120px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 60px;

  background-image: url("/assets/images/image-apropos.png") !important;
  background-size: cover ;
  background-position: 1% center ;
  background-repeat: no-repeat ;
  position: relative;
}

/* Overlay sombre pour lisibilité */
.page-about::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: -1;
}

/* Grille à deux colonnes pour la mission/vision */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Liste stylée */
.about-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.about-list li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Grille des étapes */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.step-card h3 {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Numéro en badge circulaire */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Légère variante pour la dernière section */
.section-cta-about {
  text-align: left;
}

.section-cta-about .btn-primary {
  margin-top: 14px;
}

/* =========================
   ANIMATIONS (PAGES INTERNES)
   ========================= */

:root {
  --reveal-duration: 0.8s;
  --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* état initial : invisible + décalé */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal-up {
  transform: translateY(32px);
}

/* état final quand visible */
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* petite anim globale de la page À propos */
body.page-about {
  animation: page-fade-in 0.6s ease-out;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   HOVER EFFECTS (PAGE ABOUT)
   ========================= */

.section:hover,
.about-grid div:hover,
.step-card:hover {
  transform: translateY(-6px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.about-list li:hover {
  transform: translateX(6px);
  transition: transform 0.35s ease;
}

/* =========================
   HOVER EFFECTS (NOS SERVICES)
   ========================= */

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  transition: 0.35s ease;
}

.country-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  transition: 0.35s ease;
}

.section-cta:hover {
  transform: translateY(-6px);
  transition: 0.35s ease;
}

/* =========================
   PAGE CONTACT
   ========================= */

body.page-contact {
  min-height: 100vh;
  padding-top: 120px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 60px;

  background-image: url("/assets/images/page-contact.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.page-contact::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* GRID CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info p,
.contact-info a {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}

.contact-link {
  color: #FDD835;
  text-decoration: none;
}

.contact-link:hover {
  opacity: 0.8;
}

/* FORMULAIRE */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #FDD835;
}

.contact-form h2,
.contact-info h2 {
  color: #FDD835;
  margin-bottom: 12px;
}

/* ==============================
   MENU DÉROULANT DESTINATIONS
   ============================== */

.nav-links li {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Flèche ▼ */
.has-dropdown > a::after {
  content: "▾";
  font-size: 0.7em;
  opacity: 0.8;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);

  display: none;          /* ⬅️ caché par défaut */
  z-index: 20;
}

.dropdown li {
  list-style: none;       /* ⬅️ enlève les petits ronds */
}

.dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

.dropdown li a:hover {
  background: rgba(253, 216, 53, 0.12);
  color: #FDD835;
}

/* Affichage du menu quand .open est présent */
.has-dropdown.open .dropdown {
  display: block;
}

/* =========================
   SECTION FOOTER ACCUEIL
   ========================= */

.home-footer {
  margin-top: 60px;
  padding: 40px 30px 24px 30px;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(6px);
}

.home-footer-inner {
  max-width: 1100px;
  margin: 0 auto 24px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}

.home-footer-block {
  flex: 1 1 260px;
}

.home-footer-title {
  font-size: 20px;
  font-weight: 700;
  color: #FDD835;
  margin-bottom: 8px;
}

.home-footer-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #FDD835;
  margin-bottom: 6px;
}

.home-footer-text,
.home-footer-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.9;
}

.home-footer-text a {
  color: #FDD835;
  text-decoration: none;
}

.home-footer-text a:hover {
  text-decoration: underline;
}

.home-footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.home-footer-list li::before {
  content: "•";
  margin-right: 6px;
  color: #FDD835;
}

.home-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* petite barre horizontale type "horizon" */
.home-footer-line {
  display: inline-block;
  height: 2px;
  width: 80px;
  background: #FDD835;
  border-radius: 999px;
}

/* Version mobile */
@media (max-width: 768px) {
  .home-footer {
    padding: 30px 20px 20px 20px;
  }

  .home-footer-inner {
    gap: 18px;
  }

  .home-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   SECTIONS STATS ACCUEIL
   ========================= */

/* Petit texte au-dessus du titre */
.section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #FDD835;
  margin-bottom: 6px;
}

/* Titre principal des sections */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* --------- Marché international --------- */

.section-global-stats {
  margin-top: 40px;
}

.global-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.global-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.global-stat-card .stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: 0.8;
}

.global-stat-card .stat-value {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0;
}

.global-stat-card .stat-note {
  font-size: 13px;
  opacity: 0.9;
}

.section-footnote {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.7;
}

/* --------- Chiffres Crotale Travelling --------- */

.section-crotale-stats {
  margin-top: 24px;
}

.crotale-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.crotale-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 22px 45px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.crotale-stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 8px;
  background: rgba(253, 216, 53, 0.12);
  border: 1px solid rgba(253, 216, 53, 0.7);
}

.crotale-stat-card .stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.crotale-stat-card .stat-label {
  font-size: 13px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 20px;
  }
}

/* =========================
   SECTION TRANSPARENCE
   ========================= */

.transparency-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.transparency-toggle {
  width: 100%;
  background: rgba(253, 216, 53, 0.14);
  border: 1px solid #FDD835;
  color: #FDD835;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.transparency-toggle:hover {
  background: rgba(253, 216, 53, 0.22);
}

.transparency-content {
  margin-top: 16px;
  display: none; /* caché au début */
  background: rgba(0,0,0,0.55);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.transparency-card {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 3px solid #FDD835;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
}

.transparency-card h3 {
  color: #FDD835;
  margin-bottom: 6px;
}

.transparency-card p {
  opacity: 0.95;
  font-size: 14px;
}

.small-btn {
  margin-top: 8px;
  display: inline-block;
  font-size: 14px;
  padding: 8px 14px;
}

.flag-icon {
  width: 28px;
  height: 20px;
  object-fit: cover;
  margin-right: 8px;
  border-radius: 3px;
  display: inline-block;
}

/* =========================
   PAGES PAYS (FRANCE, ETC.)
   ========================= */

body.page-country {
  background-color: #020611; /* reste cohérent avec ton fond global */
}

/* Partie haute : image seule */
.country-main {
  padding-top: 90px; /* pour ne pas coller au header fixe */
}

/* Wrapper de l'image hero */
.country-hero {
  width: 100%;
}

.country-hero-image-wrapper {
  width: 100%;
  height: 500px;           /* ajuste : 280, 350, 400 selon ce que tu veux */
  overflow: hidden;        /* coupe ce qui dépasse */
}

/* Image du hero France */
.country-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* remplie le bloc, sans déformation */
  object-position: center; /* tu peux mettre: center top, center bottom etc. */
  display: block;
}

/* Partie basse : contenu */
.country-content {
  max-width: 1100px;
  margin: 30px auto 60px auto;
  padding: 0 20px;
}

/* Grilles des cartes (frais, coût de la vie, etc.) */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

/* Style de base des cartes pays */
.country-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.country-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #FDD835;
}

.country-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Texte mis en avant dans les cartes (fourchettes de prix) */
.country-card .card-highlight {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Style des sections sur les pages pays */
body.page-country .section {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-country .section h1,
body.page-country .section h2,
body.page-country .section h3 {
  color: #FDD835;
}

body.page-country .section p {
  color: #f5f5f5;
  opacity: 0.95;
}
/* =========================
   MENU MOBILE FULLSCREEN (OVERLAY) - CROTALE
   (à coller tout en bas du fichier)
   ========================= */

/* bouton burger (par défaut caché sur desktop) */
.burger{
  display: none;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px){

  /* header propre */
  .site-header{
    padding: 14px 16px;
    z-index: 9999;
  }

  .header-inner{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* burger visible sur mobile */
  .burger{ display: block; z-index: 10000; }

  /* ✅ nav cachée par défaut en mobile */
  .main-nav{ display: none; }

  /* ✅ overlay fullscreen quand ouvert */
  .main-nav.open{
    display: flex;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    z-index: 9998;

    align-items: center;
    justify-content: center;
    padding: 80px 20px 30px;
  }

  /* liens centrés (comme ta capture) */
  .main-nav.open .nav-links{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    list-style: none;
    text-align: center;
  }

  .main-nav.open .nav-links a{
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    opacity: 0.92;
  }

  .main-nav.open .nav-links a:hover{ opacity: 1; }

  /* dropdown dans l’overlay */
  .main-nav.open .dropdown{
    position: static;
    display: none;
    margin-top: 10px;
    padding: 8px 0;
    min-width: auto;
    background: transparent;
    box-shadow: none;
  }

  .main-nav.open .has-dropdown.open .dropdown{ display: block; }

  .main-nav.open .dropdown li a{
    font-size: 18px;
    opacity: 0.85;
    padding: 6px 0;
  }
}
@media (max-width: 768px){

  /* hauteur du header (ajuste si besoin) */
  .site-header{ height: 64px; }

  /* overlay commence SOUS le header (donc le contenu "n'est pas perdu") */
  .main-nav.open{
    top: 64px;
    height: calc(100vh - 64px);
    padding: 30px 20px;
    overflow-y: auto;     /* ✅ scroll dans le menu si long */
    -webkit-overflow-scrolling: touch;
  }
}
/* ===== MENU MOBILE FULLSCREEN (OVERLAY) ===== */
.burger{
  display:none;
  border:0;
  background:transparent;
  font-size:34px;
  line-height:1;
  color:#fff;
  cursor:pointer;
}

@media (max-width: 768px){

  .burger{ display:block; z-index:10000; }

  /* nav cachée par défaut */
  .main-nav{ display:none; }

  /* overlay visible quand open */
  .main-nav.open{
    display:flex;
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    z-index:9998;
    align-items:center;
    justify-content:center;
    padding: 80px 20px 30px;
  }

  .main-nav.open .nav-links{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:26px;
    list-style:none;
    text-align:center;
  }

  .main-nav.open .nav-links a{
    color:#fff;
    font-size:22px;
    font-weight:600;
    text-decoration:none;
    border-bottom:none !important;
    padding-bottom:0 !important;
  }

  .main-nav.open .dropdown{
    position:static;
    display:none;
    margin-top:10px;
    background:transparent;
    box-shadow:none;
  }
  .main-nav.open .has-dropdown.open .dropdown{ display:block; }
}
