:root{
  --primary:#0f7a56;
  --accent: #f4b300;
  --dark: #0f1e16;
  --light: #f7faf8;
  --text: #1b2a22;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

img, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -40px; z-index: 100;
  background: #fff; border: 2px solid var(--primary); padding: 8px 12px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header / Nav */

header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #e5e7eb;
}

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }
.logo img { width: 40px; height: 40px; border-radius: 6px; }

/* 🔧 Ajout important : aligner verticalement tous les enfants (y compris le <div class="dropdown">) */
.nav-links {
  display: flex; gap: 0px; flex-wrap: wrap;
  align-items: center; /* NEW */
}

/* Style uni pour tous les liens de nav (y compris le .dropdown-toggle) */
.nav-links a {
  padding: 10px 12px; border-radius: 10px; font-weight: 600; color: #0f172a; text-decoration: none;
}
.nav-links a.active,
.nav-links a:hover { 
  background: transparent; /* Enlève l'ombre verte */
}

/* (Optionnel) S’assure que le wrapper dropdown s’aligne correctement */
.nav-links .dropdown { display: flex; align-items: center; }

/* Bouton burger */
.nav-toggle {
  display: none; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer;
}


/* Conteneur pour rendre l'iframe responsive */
.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
}

/* L'iframe s'ajuste à la taille du conteneur */
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Media Queries pour différents écrans */
@media (max-width: 768px) {
    .iframe-container {
        padding-bottom: 75%; /* Adaptation pour tablettes */
    }
}

@media (max-width: 480px) {
    .iframe-container {
        padding-bottom: 100%; /* Adaptation pour petits écrans */
    }
}



/* Footer */

footer.site-footer { background: var(--dark); color: #cbd5e1; padding: 30px 0; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
footer h4 { color: #fff; margin-top: 0; }
footer a { color: #cbd5e1; }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; background: rgba(244,179,0,.12); color: #6b4a00; font-weight: 700; }
.small { font-size: 14px; }
hr.sep { border: 0; border-top: 1px solid #e5e7eb; margin: 20px 0; }


/* Réactif */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding: 10px 0; }
  .nav-links.open { display: flex; }
footer .cols { grid-template-columns: 1fr; }
}

/* Nav : jamais de soulignement */
.site-header .nav-links a,
.site-header .nav-links a:visited,
.site-header .nav-links a:hover,
.site-header .nav-links a:focus {
  text-decoration: none;
}

/* (optionnel) garder l'effet de survol sans souligner */
.site-header .nav-links a.active,
.site-header .nav-links a:hover {
  background: rgba(10,107,74,.1);
}

.social-icons {
  margin-top: 20px;
}

.social-icon {
  margin-right: 15px;
  font-size: 24px;
  
}

.social-icon:hover {
  color: #007BFF;
}
