/* En-tête commun à toutes les pages de monkiwanis.com (même menu partout). Chargé après le style de la page. */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(15, 43, 91, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.entete .conteneur { width: min(1160px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.entete .marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.entete .marque img { width: 36px; height: 36px; }
.entete nav { display: flex; align-items: center; gap: 24px; }
.entete nav a { color: #DCE3F0; text-decoration: none; font-weight: 600; font-size: 15px; }
.entete nav a:hover, .entete nav a[aria-current="page"] { color: #fff; }
.entete nav .cta { color: #0F2B5B; background: #F5A800; padding: 9px 18px; border-radius: 999px; }
.entete nav .cta:hover { color: #0F2B5B; filter: brightness(1.06); }
.entete .menu-bouton { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.entete .menu-bouton svg { width: 26px; height: 26px; }
.entete .menu-bouton .fermer { display: none; }
@media (max-width: 960px) {
  .entete .menu-bouton { display: inline-flex; }
  .entete nav { gap: 12px; }
  .entete nav a:not(.cta) { display: none; }
  .entete.ouvert nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #0F2B5B; border-bottom: 4px solid #F5A800; box-shadow: 0 12px 24px rgba(10, 31, 68, .25); }
  .entete.ouvert nav a:not(.cta) { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .entete.ouvert nav .cta { margin-top: 16px; text-align: center; padding: 13px 18px; font-size: 16px; }
  .entete.ouvert .menu-bouton .ouvrir { display: none; }
  .entete.ouvert .menu-bouton .fermer { display: block; }
}
@media (max-width: 600px) {
  .entete .conteneur { width: calc(100% - 32px); }
}

/* Ancres : le contenu ne passe pas sous l'en-tête collant. */
[id] { scroll-margin-top: 84px; }

/* Méga-menu (ordinateur seulement, rempli par menu.js) */
.entete nav a.a-mega { position: relative; }
.entete nav a.a-mega::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; transition: transform .2s; }
.entete nav a.a-mega.actif { color: #fff; }
.entete nav a.a-mega.actif::after { transform: translateY(0) rotate(225deg); }
.entete nav a.a-mega.actif::before { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 3px; background: #F5A800; border-radius: 3px; }
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; color: #1B2438; border-bottom: 4px solid #F5A800; box-shadow: 0 24px 48px rgba(10, 31, 68, .18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.mega.visible { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.mega-contenu { width: min(1160px, 100% - 40px); margin-inline: auto; padding: 32px 0 36px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.mega-contenu:has(.mega-cote) { grid-template-columns: 280px 1fr 260px; }
.mega a { color: inherit; text-decoration: none; }
.mega p { margin: 0; }
.mega-surtitre { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7A5200; }
.mega-titre { margin: 6px 0 10px !important; font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #0F2B5B; }
.mega-intro > p:not(.mega-surtitre):not(.mega-titre) { font-size: 15px; line-height: 1.55; color: #5C6477; }
.mega-lien { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 15px; color: #0F2B5B !important; }
.mega-lien:hover { text-decoration: underline !important; }
.mega-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mega-carte { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .15s; }
.mega-carte:hover { background: #FBF8F1; }
.mega-carte strong { display: block; font-size: 15px; color: #0F2B5B; }
.mega-carte span span { display: block; font-size: 13px; line-height: 1.4; color: #5C6477; }
.mega-vignette { flex: none; width: 48px; height: 64px; border-radius: 9px; overflow: hidden; background: #0F2B5B; box-shadow: 0 2px 8px rgba(15, 43, 91, .18); }
.mega-vignette img { width: 100%; height: auto; display: block; }
.mega-etapes { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid; gap: 14px; }
.mega-etapes li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.mega-etapes li::before { content: counter(e); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #F5A800; color: #0F2B5B; font-weight: 800; display: grid; place-items: center; }
.mega-etapes strong, .mega-liste strong { font-size: 15px; color: #0F2B5B; }
.mega-etapes span, .mega-liste span { font-size: 14px; line-height: 1.5; color: #5C6477; }
.mega-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.mega-liste li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid #F5A800; }
.mega-cote { background: #0F2B5B; color: #DCE3F0; border-radius: 18px; padding: 20px; font-size: 14px; line-height: 1.55; }
.mega-cote-titre { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px !important; }
.mega-bouton { display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: #F5A800; color: #0F2B5B !important; font-weight: 800; font-size: 14px; }
.mega-bouton:hover { filter: brightness(1.06); }
.mega-magasins { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.mega-magasins a { padding: 8px 14px; border-radius: 10px; background: #0F2B5B; color: #fff !important; font-weight: 700; font-size: 14px; }
.mega-magasins small { font-weight: 500; opacity: .75; margin-left: 4px; }
@media (max-width: 1100px) { .mega-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .mega.visible { transition: none; } }

/* Sélecteur de langue FR · EN · ES (dernier élément du menu) */
.entete nav .langues { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.entete nav .langues a { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #DCE3F0; }
.entete nav .langues a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.entete nav .langues a[aria-current="true"] { background: #fff; color: #0F2B5B; }
@media (max-width: 960px) {
  .entete nav .langues { display: none; }
  .entete.ouvert nav .langues { display: flex; align-self: center; margin-top: 14px; }
  .entete.ouvert nav .langues a { display: block; padding: 8px 16px; font-size: 14px; border: 0; }
}
@media (max-width: 960px) { .entete nav a.a-mega::after, .entete nav a.a-mega::before { display: none; } }
