/* ===== Alligator.fr – styles communs ===== */
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Trebuchet MS", Arial, sans-serif; color: #f4f1de;
  background: radial-gradient(circle at 30% 20%, #2a7a72, #123c3a) fixed;
}
main { flex: 1; }
a { color: #f9a825; }

/* ----- En-tête ----- */
.entete {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 12px 20px; background: rgba(0,0,0,.25);
}
.entete .logo { font-size: 1.6rem; font-weight: bold; color: #f4f1de; text-decoration: none; }
.entete .bloc-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.entete .sous-titre { font-style: italic; font-size: .8rem; opacity: .85; padding-left: 2.1rem; }
@media (max-width: 760px) {
  .entete .bloc-logo { align-items: center; justify-self: center; }
  .entete .sous-titre { padding-left: 0; }
}
.entete .centre {
  justify-self: center; font-size: 1.15rem; font-weight: bold; color: #f4f1de; text-decoration: none;
  padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,.08);
}
.entete .centre:hover { background: rgba(255,255,255,.18); }
.entete .droite {
  justify-self: end; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; justify-content: flex-end;
}
@media (max-width: 760px) {
  .entete { grid-template-columns: 1fr; text-align: center; }
  .entete .droite, .entete .centre, .entete .logo { justify-self: center; justify-content: center; }
}

/* ----- Menu des langues ----- */
.langue { position: relative; }
.langue summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.12); font-weight: bold; user-select: none;
}
.langue summary::-webkit-details-marker { display: none; }
.menu-langue {
  position: absolute; right: 0; top: calc(100% + 5px); z-index: 100; min-width: 150px;
  background: #f4f1de; border-radius: 10px; padding: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.menu-langue a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px;
  color: #222; text-decoration: none; font-weight: bold;
}
.menu-langue a:hover { background: #ddd8bf; }
.drapeau { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); flex-shrink: 0; }

/* ----- Pied de page ----- */
.pied { text-align: center; padding: 15px; font-size: .9rem; background: rgba(0,0,0,.25); line-height: 1.6; }

/* ----- Bandeaux publicitaires ----- */
.bandeau-pub {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 100%; max-width: 728px; margin: 0 auto;
}
.etiquette-pub { font-size: .7rem; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }
.bandeau-pub img { display: block; max-width: 100%; height: auto; border-radius: 6px; }

/* ----- Éléments communs ----- */
.carte { background: rgba(0,0,0,.3); border-radius: 18px; padding: 25px 30px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.bouton {
  display: inline-block; font-size: 1.05rem; padding: 10px 18px; border: none; border-radius: 10px;
  cursor: pointer; background: #f9a825; color: #222; font-weight: bold; text-decoration: none; font-family: inherit;
}
.bouton:hover { background: #fbc02d; }
.bouton:disabled { opacity: .6; cursor: wait; }
.bouton.clair { background: #f4f1de; }