@font-face {
  font-family: "Poppins";

  src: url("../font/Poppins/Poppins-Bold.ttf") format("truetype");

  font-weight: normal;

  font-style: normal;
}

@font-face {
  font-family: "Avenir";

  src: url("../font/Avenir.ttc") format("truetype");

  font-weight: normal;

  font-style: normal;
}

body {
  background-color: #f1f8ff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

span {
  color: #ff7f00;
}

main {
  justify-content: center;
  margin-top: 100px;
  color: var(--blue);
  align-items: center;
  text-align: center;
}
h1 {
  font-size: 50px;
}
.label {
  text-align: start;
  margin-left: 10px;
  font-size: 20px;
  width: 60%;
  justify-content: center;
  display: flex;
}

:root {
  --blue: #002798;
  --orange: #ff7f00;
  --bg-light: #f1f8ff;
}

.faq {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  height: auto;
}
.item-media iframe {
  width: 100%; /* S'adapte à la largeur du parent */
  height: 100%; /* S'adapte à la hauteur du parent */
  border-radius: 8px; /* Optionnel : arrondit les angles pour le design */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute une ombre */
}

.accordion-card {
  margin-top: 10px;
  max-width: 800px;
  border: 3px solid var(--blue);
  border-radius: 16px;
  background: #f1f8ff;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 15px;
}

.icon-box {
  background: var(--orange);
  color: #f1f8ff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
}

.accordion-title {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.2rem;
  flex-grow: 1;
  text-align: left;
}
a {
  background: var(--orange);
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
}

/* --- LA FLECHE QUI DEVIENT CROIX --- */
.toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--orange);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Position Flèche (Chevron vers le bas) */
.bar-1 {
  transform: translateX(-2px) rotate(45deg) scaleX(0.6);
}
.bar-2 {
  transform: translateX(5px) rotate(-45deg) scaleX(0.6);
}

/* État Ouvert (La Croix) */
.accordion-header.active .bar-1 {
  transform: rotate(45deg) scaleX(1);
}
.accordion-header.active .bar-2 {
  transform: rotate(-45deg) scaleX(1);
}

/* --- ANIMATION DE CONTENU FLUIDE --- */
.content-wrapper {
  display: grid;
  grid-template-rows: 0fr; /* Fermé par défaut */
  transition: 0.3s;
}

.accordion-header.active + .content-wrapper {
  grid-template-rows: 1fr; /* S'ouvre selon la taille du texte */
}

.content-inner {
  overflow: hidden; /* Obligatoire pour la grid */
  padding: 0 20px;
  color: #444;
  line-height: 1.5;
}

.accordion-header.active + .content-wrapper .content-inner {
  padding-bottom: 20px;
}

/* ... (Gardez le style eeif-portal et header-scout précédent) ... */

/* LE CONTENEUR PRINCIPAL FLEX */
.documents-flex-container {
  display: flex;
  flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
  justify-content: center; /* Centre les documents horizontalement */
  gap: 30px; /* Espace uniforme entre chaque bloc */
  padding: 60px;
  margin-top: 30px;
}

/* CHAQUE BLOC INDIVIDUEL EST AUSSI UN MINI-FLEX VERTICAL */
.doc-block {
  display: flex;
  flex-direction: column; /* Aligne l'icône, le titre et le bouton verticalement */
  align-items: center; /* Centre les éléments à l'intérieur */
  width: 150px; /* Largeur fixe pour l'uniformité */
  text-align: center;
  background: var(--bg-light);
  padding: 15px;
  border-radius: 10px;
  border: 3px solid var(--blue);
}

.doc-block .icon-circle {
  /* (Style précédent pour le cercle bleu) */
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 25px; /* Version plus petite */
}

.doc-block .doc-title {
  color: #004a99;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
  min-height: 40px; /* Force la même hauteur pour tous les titres */
  display: flex;
  align-items: center; /* Centre le texte verticalement */
}

.doc-block .btn-eeif {
  /* ... (Gardez le style du bouton rouge) ... */
  margin-top: auto; /* Pousse le bouton vers le bas du bloc si le titre est court */
  font-size: 0.8rem;
  padding: 8px 15px;
}
