/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'OpenDyslexic', sans-serif, "Trebuchet MS", Arial;
  background-image: url("arriereplan/nuage1.jpg");
  background-repeat: repeat-y;
  background-size: cover;
  background-color: #ddd;
  line-height: 1.6;
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px;
  background-color: rgba(204, 204, 255, 0.85);
  position: relative;
}

/* =========================
   HEADER & NAV
========================= */
header {
  background-color: #036;
  color: #fff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px;
}

#logo img {
  max-height: 100px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #fff;
  padding: 5px 10px;
}

nav ul li a.active {
  background-color: #369;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 10px;
  background-color: #036;
}

footer img {
  width: 44px;
  height: 33px;
  transition: all 0.3s ease;
  margin: 0 auto;
}

footer img:hover {
  width: 132px;
  height: 99px;
}

/* =========================
   TABLEAUX GENERIQUES
========================= */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #333;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #222;
  color: #fff;
}

tbody tr:nth-child(even) {
  background-color: rgba(255,255,255,0.5);
}

.seances-table, .stages-table {
  font-family: 'OpenDyslexic', sans-serif;
}

/* Pastilles état */
.etat-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.etat-ok .etat-circle { background-color: #28a745; }
.etat-bad .etat-circle { background-color: #dc3545; }
.etat-warning .etat-circle { background-color: #007bff; }
.etat-theorie .etat-circle { background-color: #0000ff; }

/* =========================
   MONITEURS
========================= */
.moniteurs, .moniteurs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.moniteur {
  text-align: center;
  max-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moniteur img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moniteur:hover img {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.moniteur:hover {
  transform: translateY(-5px);
}

.moniteur h3 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
  color: #003366;
}

.moniteur p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}

/* =========================
   CARDS GENERIQUES ( Agricult, Infos élèves)
========================= */
.card, .agri-card, .level-card, .meteo-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover, .agri-card:hover, .level-card:hover, .meteo-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}


.agri-card a, .card a {
  color: #004aad;
  font-weight: bold;
  text-decoration: none;
}

.agri-card a:hover, .stage-card a:hover, .card a:hover {
  text-decoration: underline;
}




/* =========================
   STAGES CARDS (stages.html)
========================= */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.stage-card {
  display: block;
  background: rgba(255,255,255,0.9);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  color: #036;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.stage-card:hover {
  background: #e6f0ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.stage-card.new::after {
  content: "Nouveau";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e63946;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Responsive stages */
@media (max-width: 768px) {
  .stages-grid { grid-template-columns: 1fr; gap: 15px; }
}



/* =========================
   ACCORDÉON INFO ÉLÈVES
========================= */
.accordion {
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.accordion-header {
  background-color: #d0e4ff;
  cursor: pointer;
  padding: 12px 20px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  border-bottom: 1px solid #cce0ff;
}

.accordion-header:hover {
  background-color: #b3d1ff;
}

.accordion-header.active {
  background-color: #99c2ff;
}

.accordion-header span {
  transition: transform 0.3s;
  font-size: 18px;
}

.accordion-header.active span {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #f9faff;
  transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.4s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 2000px;
  padding: 12px 20px;
  opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: #036;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .moniteurs, .moniteurs-grid {
    flex-direction: column;
    align-items: center;
  }

  .moniteur {
    max-width: 90%;
  }

  .table-container {
    display: none;
  }
  
  @media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: #036;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .moniteurs, .moniteurs-grid {
    flex-direction: column;
    align-items: center;
  }

  .moniteur {
    max-width: 90%;
  }

  .table-container {
    display: none;
  }

  /* Exception pour la page poids-voile */
  .table-container.table-poids-voile {
    display: block !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
  }

 /* Exception pour la page séances en photos */
  .table-container.table-seances-photos {
    display: block !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
  }

  .cards-container {
    display: block;
  }
}

  .cards-container {
    display: block;
  }
}

/* =========================
   PAGE POIDS VOILE / LOGIN
========================= */
.back-btn, .login-btn {
  margin: 10px 0;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #004aad;
  background:#004aad;
  color:white;
}
.back-btn:hover, .login-btn:hover { background:#003580; }

#login-container {
  margin: 20px auto;
  padding: 15px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#login-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-btn {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-top: 5px;
}

/* =========================
   METEO / BALISE FFVL
========================= */
.windy-grid, .meteo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin: 30px 0;
}

.balisemeteo-wrapper {
  width: 95%;
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #fff;
}

.balisemeteo-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .balisemeteo-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 0;
  }
}

/* =========================
   PAGE SPECIFIQUES : Titre et sections
========================= */
.stage-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #024;
  text-align: center;
  background: linear-gradient(to right, #cce0ff, #e6f0ff);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  margin-bottom: 15px;
  position: relative;
}

.stage-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #036;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

/* Liens utiles */
.liens-titre {
  text-align: center;
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: #024;
  background: linear-gradient(to right, #cce0ff, #e6f0ff);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.liens-utiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 15px;
  margin: 20px 0;
}

.lien-carte {
  display: block;
  padding: 12px 15px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  color: #036;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.lien-carte:hover {
  background-color: #e6f0ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* =========================
   PAGE MATERIEL
========================= */
.materiel-section {
  background-color: rgba(255,255,255,0.9);
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  line-height: 1.7;
  margin-bottom: 25px;
}

.materiel-section h2 {
  color: #024;
  margin-bottom: 10px;
  border-left: 6px solid #036;
  padding-left: 10px;
  font-size: 1.4rem;
}

.materiel-section ul {
  margin-left: 25px;
  list-style-type: "🪶 ";
}

.materiel-section li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.materiel-section p {
  margin-top: 10px;
  font-size: 1.05rem;
}

.materiel-section strong {
  color: #024;
}

/* =========================
   PAGE SITES
========================= */
.container h1, .container h2, .container p {
  line-height: 1.6;
}

.container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #024;
  text-align: center;
}

.container h2 {
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #036;
  border-bottom: 2px solid #036;
  padding-bottom: 5px;
}

.container p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.table-responsive {
  overflow-x: auto;
  margin-top: 15px;
}

/* =========================
   PAGE LES PHOTOS DES SÉANCES
========================= */
.page-photos .seances-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  font-family: 'OpenDyslexic', Arial, sans-serif;
  font-size: 15px;
}

/* Ligne d’en-tête */
.page-photos .seances-table thead th {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: 600;
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
}

/* Cellules et alternance */
.page-photos .seances-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}

.page-photos .seances-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Couleurs état */
.page-photos .etat-ok td:nth-child(2) { background-color: #86efac; }
.page-photos .etat-warning td:nth-child(2) { background-color: #60a5fa; }
.page-photos .etat-bad td:nth-child(2) { background-color: #f87171; }

/* Liens */
.page-photos .seances-table a {
  color: #1e3a8a;
  font-weight: 500;
}

.page-photos .seances-table a:hover {
  text-decoration: underline;
}


/* =========================
   PAGE TIRAGE AU SORT
========================= */
.tirage-container {
  max-width: 900px;
  margin: 0 auto;
}

.tirage-info-box {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  color: #1565c0;
  font-weight: 600;
  font-size: 16px;
}

.tirage-controls-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tirage-btn-control {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  background: #2196F3;
  color: white;
}

.tirage-btn-control:hover {
  background: #1976D2;
  transform: translateY(-2px);
}

.tirage-btn-control.secondary {
  background: #9E9E9E;
}

.tirage-btn-control.secondary:hover {
  background: #757575;
}

.tirage-table-responsive {
  overflow-x: auto;
  margin-bottom: 30px;
}

.tirage-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.tirage-table th {
  background: #1976D2;
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.tirage-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.tirage-table tr:hover {
  background: #f5f5f5;
}

.tirage-table tr:last-child td {
  border-bottom: 1px solid #e0e0e0;
}

.tirage-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #1976D2;
}

.tirage-draw-section {
  text-align: center;
  margin: 30px 0;
}

.tirage-btn-draw {
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  color: white;
  padding: 18px 50px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

.tirage-btn-draw:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.6);
}

.tirage-btn-draw:disabled {
  background: #BDBDBD;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tirage-result-box {
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  border-radius: 10px;
  display: none;
  animation: tirage-slideIn 0.5s ease-out;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.tirage-result-box.show {
  display: block;
}

.tirage-result-box h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

.tirage-winner-name {
  color: white;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: tirage-pulse 1s ease-in-out;
}

@keyframes tirage-slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tirage-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tirage-btn-back {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #757575;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.tirage-btn-back:hover {
  background: #616161;
  transform: translateX(-3px);
}

.tirage-btn-back::before {
  content: "← ";
}

/* Bouton flottant pour accès tirage */
.btn-tirage-float {
  position: fixed;
  top: 120px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(25, 118, 210, 0.4);
  transition: all 0.3s;
  z-index: 1000;
}

.btn-tirage-float:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.6);
}

/* =========================
   LIEN EXTERNE (SUAPS)
========================= */

a.lien-carte.lien-externe {
  display: block;
  position: relative;
  background: linear-gradient(135deg, #e0ecff, #f7faff);
  border: 2px solid #036;
  color: #024;
  font-weight: 700;
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  max-width: 500px;
  margin: 0 auto 20px;
}

a.lien-carte.lien-externe:hover {
  background: #d0e4ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  color: #002a5c;
}

.lien-contenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lien-contenu .emoji {
  font-size: 1.5rem;
}

.lien-contenu .texte-lien {
  line-height: 1.3;
}

.lien-contenu .sous-texte {
  font-weight: normal;
  font-size: 0.9rem;
  color: #024;
}

.icone-externe {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: #024;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-left: 8px;
}


a.lien-carte.lien-externe:hover .icone-externe {
  opacity: 1;
  transform: scale(1.2) rotate(8deg);
}


/* =========================
   NOTE IMPORTANTE (lemateriel.html)
========================= */

.important-note {
  background: #fff3f3;
  border-left: 6px solid #e00000;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  color: #700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.icon-important {
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff5c5c, #d40000);
  position: relative;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
  flex-shrink: 0;
}

/* Point d'exclamation stylisé */
.icon-important::before {
  content: "!";
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 800;
  font-size: 18px;
  font-family: Arial, sans-serif;
}

/* Animation légère */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
  }
}

.icon-important {
  animation: pulse 1.8s infinite ease-in-out;
}

/* lien FFVL dans lemateriel.html */


.lien-ffvl {
  color: #0056d6;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.lien-ffvl:hover {
  color: #003a9e;
  text-shadow: 0 0 4px rgba(0, 86, 214, 0.5);
}


/* =========================
   LIENS RIDARD – VERSION GRID RESPONSIVE
========================= */

.lien-ridard-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 25px;
  justify-items: center;
  margin: 25px 0;
}

.lien-carte.lien-ridard {
  background: linear-gradient(135deg, #dce9ff, #f5f8ff);
  border: 2px solid #004aad;
  color: #002a5c;
  font-weight: 700;
  border-radius: 14px;
  padding: 20px 25px;

  /* Layout interne */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;

  width: 100%;
  max-width: 450px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.lien-carte.lien-ridard:hover {
  background: #cfe2ff;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  color: #001f4d;
}

/* Emoji */
.lien-carte.lien-ridard .emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* Icône externe */
.lien-carte.lien-ridard .icone-externe {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: #004aad;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lien-carte.lien-ridard:hover .icone-externe {
  opacity: 1;
  transform: scale(1.15) rotate(8deg);
}

/* Texte */
.lien-carte.lien-ridard .texte-lien strong {
  font-size: 1.05rem;
}

.lien-carte.lien-ridard .sous-texte {
  font-size: 0.9rem;
  font-weight: normal;
  color: #024;
}


/* =========================
   PAGE SITES – STYLE MODERNE DES LIENS
========================= */

.sites-liens {
  animation: fadeInSites 1s ease-out;
}

@keyframes fadeInSites {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Harmonisation des cartes de site */
.lien-site {
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 2px solid #036;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
}

.lien-site:hover {
  background: linear-gradient(135deg, #dce8ff, #f2f7ff);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  color: #002a5c;
}

/* Émojis plus visibles */
.lien-site .emoji {
  font-size: 2rem;
}

/* Texte du lien */
.lien-site .texte-lien strong {
  font-size: 1.1rem;
}

.lien-site .sous-texte {
  font-size: 0.95rem;
  color: #024;
}

/* Animation subtile au survol */
.lien-site:hover .icone-externe {
  transform: scale(1.2) rotate(8deg);
  opacity: 1;
}

/* Responsive : alignement propre */
@media (max-width: 600px) {
  .liens-utiles {
    grid-template-columns: 1fr;
  }
  .lien-site {
    max-width: 100%;
  }
}


/* Logos des clubs dans les cartes de lien */
.logo-club {
  height: 45px;
  width: auto;
  border-radius: 6px;
  margin-right: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.lien-carte.lien-ridard:hover .logo-club {
  transform: scale(1.05);
}

/* Ajustement de la mise en page interne */
.lien-carte.lien-ridard .lien-contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}


/* =========================
   PAGE GESTION DES VÉHICULES
========================= */

.vehicules-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.vehicules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.vehicule-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vehicule-header {
  background: linear-gradient(135deg, #036, #369);
  color: white;
  padding: 15px;
  border-radius: 8px 8px 0 0;
  margin: -20px -20px 20px -20px;
  text-align: center;
}

.vehicule-header h2 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.place-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  background: #f5f8ff;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.place-item:hover {
  background: #e6f0ff;
  transform: translateX(3px);
}

.place-numero {
  background: #036;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.place-item input, .place-item select {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #cce0ff;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'OpenDyslexic', sans-serif;
  transition: border-color 0.3s ease;
}

.place-item input:focus, .place-item select:focus {
  outline: none;
  border-color: #036;
  background: white;
}

.place-item select {
  cursor: pointer;
}

.place-item.conducteur {
  background: #fff3cd;
  border-left: 4px solid #ff9800;
}

.place-item.conducteur:hover {
  background: #ffe69c;
}

.actions-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.btn-action {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.btn-envoyer {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-envoyer:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.6);
}

.btn-reinitialiser {
  background: linear-gradient(135deg, #757575, #424242);
  color: white;
}

.btn-reinitialiser:hover {
  background: linear-gradient(135deg, #616161, #212121);
  transform: translateY(-2px);
}

.btn-remplir {
  background: linear-gradient(135deg, #2196F3, #1565C0);
  color: white;
  padding: 12px 30px;
  font-size: 1rem;
}

.btn-remplir:hover {
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  transform: translateY(-2px);
}

.info-box {
  background: #e3f2fd;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #2196F3;
}

.info-box p {
  margin: 5px 0;
  color: #1565c0;
  font-weight: 600;
}

.compteur-places {
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background: #f0f4ff;
  border-radius: 6px;
  font-weight: bold;
  color: #036;
}

/* Responsive véhicules */
@media (max-width: 768px) {
  .vehicules-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-action {
    font-size: 1rem;
    padding: 12px 30px;
  }
}


/* =========================
   BOUTON VÉHICULES - PAGE MONITEURS
========================= */

.btn-vehicules-acces {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2196F3, #1565C0);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.btn-vehicules-acces:hover {
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(33, 150, 243, 0.6);
  animation: pulse-vehicules 0.6s ease-in-out;
}

@keyframes pulse-vehicules {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Version responsive */
@media (max-width: 768px) {
  .btn-vehicules-acces {
    position: static;
    display: inline-flex;
    margin: 10px auto 20px;
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}


/* =========================
   SECTIONS DÉPLIABLES (COLLAPSIBLES) espaces_aeriens.html
========================= */
.collapsible {
  background-color: #004aad;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.collapsible:hover {
  background-color: #0066d6;
}

.collapsible::after {
  content: "▼";
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.collapsible.active::after {
  transform: rotate(-180deg);
}

.content-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #f9f9f9;
  padding: 0 15px;
  border-left: 3px solid #004aad;
  border-radius: 0 0 6px 6px;
}

.content-collapsible.open {
  padding: 15px;
}


/* --- Styles pour les paragraphes repliables (accordéons)  Espaces aeriens--- */
.ea-section {
  margin: 1em 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ea-section summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.8em;
  background: #e0f2ff;
  border-radius: 8px 8px 0 0;
  transition: background 0.3s;
}

.ea-section summary:hover {
  background: #d0ecff;
}

.ea-section[open] summary {
  border-bottom: 1px solid #ccc;
  background: #c9eaff;
}

.ea-section p, .ea-section ul, .ea-section table, .ea-section div {
  padding: 0.8em 1em;
}


.ea-zsm-note {
  background: #f5fbf2;
  border-left: 4px solid #4caf50;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 8px;
  line-height: 1.5;
}




/* ----------- STYLE SECTION OPENAIR ----------- */
.openair-guide {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.openair-guide .header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.openair-guide .section {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.openair-guide h2 {
  color: #667eea;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
  margin-top: 0;
}

.openair-guide h3 {
  color: #764ba2;
  margin-top: 20px;
}

.openair-guide .command {
  background: #f8f9fa;
  padding: 15px;
  border-left: 4px solid #667eea;
  margin: 15px 0;
  border-radius: 5px;
}

.openair-guide .command-name {
  font-weight: bold;
  color: #667eea;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.openair-guide .required {
  background: #dc3545;
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-left: 10px;
}

.openair-guide .optional {
  background: #28a745;
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-left: 10px;
}

.openair-guide .code-block {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  margin: 15px 0;
  overflow-x: auto;
}

.openair-guide .code-inline {
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: #c7254e;
}

.openair-guide table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.openair-guide th, 
.openair-guide td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.openair-guide th {
  background: #667eea;
  color: white;
}

.openair-guide tr:nth-child(even) {
  background: #f8f9fa;
}


/* RESPONSIVE OPENAIR - MOBILE */
@media (max-width: 768px) {
  .openair-guide {
    padding: 10px;
    margin: 10px 0;
  }

  .openair-guide .header {
    padding: 20px 10px;
  }

  .openair-guide .section {
    padding: 10px;
    margin-bottom: 15px;
  }

  /* Force le scroll horizontal sur les tableaux */
  .openair-guide .command {
    padding: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .openair-guide table {
    display: table;
    width: 100%;
    font-size: 0.8em;
    table-layout: auto;
  }

  .openair-guide th,
  .openair-guide td {
    padding: 6px 4px;
    font-size: 0.85em;
    min-width: 80px;
  }

  .openair-guide .code-block {
    padding: 10px;
    font-size: 0.75em;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  .openair-guide h2 {
    font-size: 1.1em;
  }

  .openair-guide h3 {
    font-size: 1em;
  }
}

/* =========================
   SECTION RTBA – ESPACES AÉRIENS
========================= */
.rtba-section {
  background-color: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  margin: 25px 0;
  line-height: 1.7;
}

.rtba-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #036;
  border-bottom: 2px solid #036;
  padding-bottom: 6px;
}

.rtba-section p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.rtba-section strong {
  color: #024;
}

/* Petit encadré pour "Démonstration AZBA" */
.rtba-demo {
  margin: 15px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e3f2fd;
  border-left: 4px solid #004aad;
  font-weight: 600;
  text-align: center;
}

/* Remarque en bas de section */
.rtba-note {
  margin-top: 10px;
  font-style: italic;
  background: #fffbea;
  border-left: 4px solid #f0ad4e;
  padding: 8px 12px;
  border-radius: 6px;
}


/* =============================
   VIDÉO YOUTUBE RESPONSIVE RTBA
================================ */
.rtba-section .video-container {
  margin: 30px 0;
  padding: 0 !important; /* Force pour surcharger la règle .ea-section div */
}

.rtba-section .video-title {
  font-size: 1.1rem;
  color: #036;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0 !important;
}

.rtba-section .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25% !important; /* Ratio 16:9 - force override */
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rtba-section .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive vidéo */
@media (max-width: 768px) {
  .rtba-section .video-title {
    font-size: 0.95rem;
    padding: 0 5px !important;
    line-height: 1.3;
  }
  
  .rtba-section .video-wrapper {
    border-radius: 6px;
  }
  
  .rtba-section .video-container {
    margin: 20px 0;
  }
}


/* =========================
   GLOSSAIRE FLOTTANT
========================= */
.btn-glossaire-float {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
  z-index: 999;
  border: none;
  cursor: pointer;
}

.btn-glossaire-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Modal Glossaire */
.glossaire-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glossaire-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.glossaire-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.glossaire-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glossaire-header h2 {
  margin: 0;
  font-size: 1.5rem;
  border: none;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.2) rotate(90deg);
}

.glossaire-search {
  padding: 20px 25px 10px;
  border-bottom: 1px solid #e0e0e0;
}

.glossaire-search input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'OpenDyslexic', sans-serif;
  transition: all 0.3s;
}

.glossaire-search input:focus {
  outline: none;
  border-color: #764ba2;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-count {
  display: none;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
}

.glossaire-body {
  padding: 15px 25px 25px;
  overflow-y: auto;
  max-height: calc(80vh - 200px);
}

.glossaire-item {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.2s;
}

.glossaire-item:hover {
  background: #e3f2fd;
  transform: translateX(5px);
}

.glossaire-item.highlight {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
}

.glossaire-item .sigle {
  color: #667eea;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.glossaire-item .definition {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .glossaire-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .glossaire-header h2 {
    font-size: 1.2rem;
  }
  
  .glossaire-search input {
    font-size: 0.9rem;
  }
  
  .btn-glossaire-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}

/* =========================
   ASTUCE CONVERSION FT / FL → M
========================= */

/* Bloc principal */
.tip-note {
  border-left: 5px solid #ffa500;
  background: #fff8e5;
  padding: 10px 12px;
  margin: 12px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Icône */
.tip-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* Conteneur global de l’astuce */
.tip-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Zone des deux colonnes (par défaut : en colonne = mobile) */
.tip-columns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Chaque “bloc texte” (ft / FL) */
.tip-text {
  padding: 4px 0;
}

/* Liste compacte */
.tip-text ul {
  margin-left: 18px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Phrase de sécurité, sur toute la largeur */
.tip-safe-note {
  margin-top: 6px;
  font-size: 0.95em;
  font-style: italic;
}

/* Séparateur */
.sep-article {
  margin: 18px 0 10px;
  border: 0;
  border-top: 2px solid #004aad33;
}

/* Bloc info FL65 */
.fl65-info {
  background: #eef5ff;
  border-left: 4px solid #004aad;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Version mobile : cadre pleine largeur du container, texte mieux exploité */
@media (max-width: 768px) {
  .tip-note {
    padding: 12px 14px;   /* un peu plus d'air partout */
    font-size: 1rem;
    line-height: 1.6;
  }

  .tip-text ul {
    margin-left: 20px;    /* liste bien alignée mais pas trop en retrait */
  }

  .tip-safe-note {
    margin-top: 8px;
  }

  .fl65-info {
    padding: 12px 14px;
    border-radius: 6px;
    border-left-width: 4px;
    font-size: 1rem;
    line-height: 1.6;
    margin-left: 0;
    margin-right: 0;      /* on ne touche pas à la largeur du cadre */
  }
}





/* --- Version PC / écrans larges --- */
@media (min-width: 700px) {
  .tip-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .tip-icon {
    margin-right: 4px;
    margin-bottom: 0;
  }

  .tip-main {
    flex: 1;
  }

  .tip-columns {
    flex-direction: row;   /* 2 colonnes côte à côte */
    gap: 16px;
  }

  .tip-text {
    width: 50%;           /* chaque astuce prend la moitié */
  }

  .tip-safe-note {
    width: 100%;          /* phrase sécurité = toute la largeur sous les 2 colonnes */
  }
}




/* =========================
   DÉCODAGE NOTAM - SCHÉMA INTERACTIF (espaces_aeriens.html (Notam))
========================= */

.notam-decryptage-schema {
  margin: 30px 0;
}

.notam-ligne-decode {
  margin: 25px 0;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ligne-numero {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.ligne-content {
  margin-top: 15px;
}

.notam-code {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 5px solid #667eea;
  margin-bottom: 20px;
  overflow-x: auto;
  white-space: nowrap;
}

.code-part {
  display: inline-block;
  padding: 2px 6px;
}

.code-highlight {
  background: #fff3cd;
  border-radius: 4px;
  font-weight: bold;
  color: #856404;
}

.code-separator {
  color: #999;
  margin: 0 4px;
}

.explications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.explication-box {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.explication-box:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.explication-titre {
  font-weight: bold;
  color: #667eea;
  margin-bottom: 8px;
  font-size: 0.95rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 5px;
}

.explication-texte {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive NOTAM */
@media (max-width: 768px) {
  .notam-code {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .explications-grid {
    grid-template-columns: 1fr;
  }
  
  /* Force toutes les boîtes sur 1 colonne en mobile */
  .explication-box {
    grid-column: span 1 !important;
  }
  
  .notam-ligne-decode {
    padding: 15px;
  }
  
  .ligne-numero {
    font-size: 0.85rem;
    padding: 6px 15px;
  }
}














/* =========================
   PROTECTION IMPRESSION - PAGE ESPACES AÉRIENS
   Objectif : Encourager la consultation en ligne pour avoir toujours la dernière version
========================= */

/* Masquer tout le contenu à l'impression */
@media print {
  body * {
    display: none !important;
  }
  
  /* Afficher uniquement un message pédagogique */
  body::before {
    content: "";
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 99999;
  }
  
  body::after {
    content: "⚠️ IMPRESSION DÉSACTIVÉE\A\A🛠️ Ce document est en construction\A\A✅ Consultez toujours la version en ligne pour avoir les informations les plus récentes :\A\A🌐 https://parapentesuapscaen.fr/EA/espaces_aeriens.html\A\A\A© PARAPENTESUAPS - A.M.";
    display: block !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
    padding: 40px;
    background: #fff3cd;
    border: 3px solid #ffc107;
    border-radius: 15px;
    white-space: pre-line;
    line-height: 1.8;
    z-index: 999999;
  }
}

/* =========================
   GRILLE NOTAM - HARMONISATION
========================= */
@media (max-width: 768px) {
  /* En mobile : empile les cartes NOTAM sur 1 colonne */
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}