@charset "UTF-8";
/* ==========================================================================
   FICHIER SCSS PRINCIPAL (main.scss)
   ========================================================================== */
/**
 * Ce fichier sert de point d'entrée pour tous les styles du site.
 * Il combine la structure moderne avec vos choix de design personnalisés.
 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");
/* -------------------------------------------------------------------------- */
/* 1. VARIABLES GLOBALES                                                      */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* 2. RESET ET STYLES DE BASE                                                 */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  outline: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f5f5;
  color: #333333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #e4334f;
  transition: color 0.3s ease;
}

/* -------------------------------------------------------------------------- */
/* 3. STYLES DE LA STRUCTURE (LAYOUT)                                         */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #ba3184, #e4334f, #ed8414, #cfb73d, #91c173, #24a49d);
  color: #ffffff;
  padding: 0.5em 1em;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.site-header .headNav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5em;
}

main {
  flex-grow: 1;
  width: 100%;
  padding: 1.5rem 0;
}

footer {
  background: linear-gradient(90deg, #ba3184, #e4334f, #ed8414, #cfb73d, #91c173, #24a49d);
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* 4. STYLES DES COMPOSANTS SPÉCIFIQUES                                       */
/* -------------------------------------------------------------------------- */
.container {
  position: relative;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  margin: 1.5rem auto;
  padding: 2em;
  width: 90% auto;
  max-width: 1200px;
  background: #fff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}
.container .presentation {
  text-align: center;
  margin-bottom: 2em;
}
.container .presentation h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #e4334f;
}
.container .presentation p {
  font-size: 1.1em;
  color: rgb(25.5, 25.5, 25.5);
}
.container .presentation .containerMember {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}
.container .presentation .containerMember .cardMember {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  height: 250px;
}
.container .presentation .containerMember .cardMember .photoMember {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #e4334f;
}
.container .presentation .containerMember .cardMember .infoMember {
  text-align: center;
  margin-top: 1rem;
}
.container .presentation .containerMember .cardMember .infoMember h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #e4334f;
}
.container .presentation .containerMember .cardMember .infoMember h4 {
  margin: 0;
  font-size: 1rem;
  color: rgb(25.5, 25.5, 25.5);
}
.container .hint {
  border-left: 4px solid black;
  padding-left: 1em;
  margin-bottom: 1em;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 1em;
  border-radius: 10px;
  font-style: italic;
}
.container .hred {
  border-left: 4px solid #e4334f;
  color: #e4334f;
  font-weight: 600;
  background-color: rgba(228, 51, 79, 0.1);
}
.container .hgreen {
  border-left: 4px solid #91c173;
  color: #91c173;
  font-weight: 600;
  background-color: rgba(145, 193, 115, 0.1);
}
.container .horange {
  border-left: 4px solid #ed8414;
  color: #ed8414;
  font-weight: 600;
  background-color: rgba(237, 132, 20, 0.1);
}
.container .hblue {
  border-left: 4px solid #2980b9;
  color: #2980b9;
  font-weight: 600;
  background-color: rgba(36, 164, 157, 0.1);
}
.container .hrose {
  border-left: 4px solid #ba3184;
  color: #ba3184;
  font-weight: 600;
  background-color: rgba(255, 192, 203, 0.1);
}

.headerMain {
  background-image: url("../img/ag.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 650px;
  color: #ffffff;
  box-shadow: inset 0 0 0 100vw rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.headerMain h1 {
  font-size: 3em;
  text-shadow: 0px 0px 20px #ba3184;
  text-align: center;
}

.icon_menu {
  display: none;
}

/* ==========================================================================
   STYLES SPÉCIFIQUES POUR LA PAGE ADMINISTRATIF (BENTO DESIGN)
   ========================================================================== */
.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }
}

.info-box {
  background-color: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.info-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  color: #333;
  flex-shrink: 0;
}
.info-box h2 i {
  margin-right: 12px;
  color: #e4334f;
  font-size: 1.3rem;
}
@media (min-width: 768px) {
  .info-box.span-col-2 {
    grid-column: span 2;
  }
  .info-box.span-col-3 {
    grid-column: span 3;
  }
  .info-box.span-col-4 {
    grid-column: span 4;
  }
  .info-box.span-row-2 {
    grid-row: span 2;
  }
  .info-box.span-row-3 {
    grid-row: span 3;
  }
}

.document-list {
  flex-grow: 1;
  overflow-y: auto;
}
.document-list li {
  margin-bottom: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-list a {
  color: #555;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.document-list a:hover {
  color: #e4334f;
  text-decoration: underline;
}

.info-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
  overflow-y: auto;
}

form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inputGroup label {
  display: block;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 500;
  color: rgb(25.5, 25.5, 25.5);
}
.inputGroup input[type=text],
.inputGroup input[type=email],
.inputGroup input[type=password], .inputGroup input[type=date], .inputGroup input[type=file], .inputGroup input, .inputGroup select,
.inputGroup textarea {
  width: 97%;
  padding: 0.75rem 1rem;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.inputGroup input[type=text]::-moz-placeholder, .inputGroup input[type=email]::-moz-placeholder, .inputGroup input[type=password]::-moz-placeholder, .inputGroup input[type=date]::-moz-placeholder, .inputGroup input[type=file]::-moz-placeholder, .inputGroup input::-moz-placeholder, .inputGroup select::-moz-placeholder, .inputGroup textarea::-moz-placeholder {
  color: rgb(178.5, 178.5, 178.5);
}
.inputGroup input[type=text]::placeholder,
.inputGroup input[type=email]::placeholder,
.inputGroup input[type=password]::placeholder, .inputGroup input[type=date]::placeholder, .inputGroup input[type=file]::placeholder, .inputGroup input::placeholder, .inputGroup select::placeholder,
.inputGroup textarea::placeholder {
  color: rgb(178.5, 178.5, 178.5);
}
.inputGroup input[type=text]:focus,
.inputGroup input[type=email]:focus,
.inputGroup input[type=password]:focus, .inputGroup input[type=date]:focus, .inputGroup input[type=file]:focus, .inputGroup input:focus, .inputGroup select:focus,
.inputGroup textarea:focus {
  outline: none;
  border-color: #e4334f;
  box-shadow: 0 0 0 3px rgba(228, 51, 79, 0.2);
}
.inputGroup textarea {
  min-height: 150px;
  resize: vertical;
}

form button {
  align-self: flex-start;
  padding: 0.8rem 2rem;
  background-color: #e4334f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
form button:hover {
  background-color: rgb(201.3506493506, 26.6493506494, 54.2857142857);
  transform: translateY(-2px);
}

/* ==========================================================================
   STYLES POUR LA PAGE DE CONFIRMATION D'ENVOI
   ========================================================================== */
.form-confirmation {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px solid #91c173;
  background-color: rgb(250.5346534653, 252.4831683168, 249.3168316832);
  border-radius: 16px;
  margin-top: 2rem;
}
.form-confirmation i {
  font-size: 4rem;
  color: #91c173;
  margin-bottom: 1.5rem;
}
.form-confirmation h2 {
  font-size: 1.75rem;
  color: rgb(93.8217821782, 142.7722772277, 63.2277227723);
  margin-bottom: 0.75rem;
}
.form-confirmation p {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-confirmation .btn-back {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #e4334f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.form-confirmation .btn-back:hover {
  background-color: rgb(201.3506493506, 26.6493506494, 54.2857142857);
  transform: translateY(-2px);
}

/* ==========================================================================
   STYLES POUR LES TABLEAUX
   ========================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

thead tr {
  background-color: #f9f9f9;
}

th, td {
  padding: 14px 18px;
  text-align: left;
}

th {
  font-weight: 700;
  color: #333333;
  border-bottom: 2px solid #eeeeee;
}

tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}
tbody tr:hover {
  background-color: #f5f5f5;
}

tbody tr:last-child {
  border-bottom: none;
}

td a {
  color: #e4334f;
  font-weight: 500;
  text-decoration: none;
}
td a:hover {
  text-decoration: underline;
}

.boxLink {
  padding-top: 35px;
}
.boxLink ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.boxLink ul li {
  padding: 10px;
}
.boxLink ul li:hover a {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* 5. IMPORTS DES FICHIERS PARTIELS                                           */
/* -------------------------------------------------------------------------- */
/* ============================================= */
/* STYLES POUR LA NAVIGATION (SCSS)      */
/* ============================================= */
/* --- 2. Barre de navigation principale --- */
nav {
  background: linear-gradient(90deg, #ba3184, #e4334f, #ed8414, #cfb73d, #91c173, #24a49d);
  width: 100%;
}

.contBtnNav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contBtnNav > li {
  position: relative;
}
.contBtnNav > li > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  border-radius: 18px;
  font-weight: 700;
  transition: color 0.3s, background-color 0.3s;
}
.contBtnNav > li > a:hover {
  background-color: rgba(247.35, 247.35, 247.35, 0.5725490196);
  color: #ba3184;
}

/* --- 4. Styles communs à tous les sous-menus --- */
.sous-menu, .sous-menu-niveau2 {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  background-color: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  z-index: 1000;
}

.sous-menu {
  top: 100%;
  left: 0;
}

.sous-menu-niveau2 {
  top: -10px;
  left: 100%;
}

.sous-menu a, .sous-menu-niveau2 a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.sous-menu a:hover, .sous-menu-niveau2 a:hover {
  background-color: #ba3184;
  color: white;
}

/* --- 6. Classe de contrôle (gérée par JavaScript) --- */
.is-active > .sous-menu,
.is-active > .sous-menu-niveau2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

/* ==========================================================================
   STYLES RESPONSIVE (POUR TÉLÉPHONE)
   ========================================================================== */
/**
 * Ce fichier contient les media queries pour adapter le site aux petits écrans.
 * Il est destiné à être importé à la fin de `main.scss`.
 */
@media (max-width: 1110px) {
  /* ---------------------------------------------------------------------- */
  /* 1. Ajustement du Header                                                */
  /* ---------------------------------------------------------------------- */
  nav.site-header {
    flex-direction: row;
    justify-content: space-between;
  }
  nav.site-header .headNav {
    margin-bottom: 0;
  }
  /* ---------------------------------------------------------------------- */
  /* 2. Affichage de l'icône du menu (Burger)                               */
  /* ---------------------------------------------------------------------- */
  .icon_menu {
    display: block;
    cursor: pointer;
    padding: 10px;
  }
  .icon_menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
  }
  .icon_menu.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .icon_menu.is-open span:nth-child(2) {
    opacity: 0;
  }
  .icon_menu.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  /* ---------------------------------------------------------------------- */
  /* 3. Transformation du menu de navigation                              */
  /* ---------------------------------------------------------------------- */
  .contBtnNav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(44, 62, 80, 0.95);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.4s ease-in-out;
  }
  .contBtnNav.is-open {
    left: 0;
  }
  .contBtnNav > li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .contBtnNav > li > a {
    padding: 1.2rem;
    font-size: 1.2rem;
    color: white;
  }
  /* ---------------------------------------------------------------------- */
  /* 4. Adaptation des sous-menus pour le tactile                         */
  /* ---------------------------------------------------------------------- */
  .sous-menu, .sous-menu-niveau2 {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    transform: none;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    padding-left: 1rem;
  }
  .sous-menu a, .sous-menu-niveau2 a {
    color: #ddd;
    font-weight: normal;
  }
  .is-active > .sous-menu, .is-active > .sous-menu-niveau2 {
    display: block;
  }
  /* --- Transformation du tableau en structure de blocs --- */
  table {
    border-collapse: separate; /* Permet un espacement plus facile entre les "cartes" */
    border: none; /* On gère la bordure au niveau des lignes (tr) */
    box-shadow: none; /* L'ombre sera gérée au niveau des lignes */
  }
  /* 1. Cacher l'en-tête (les titres de colonnes classiques) */
  thead {
    display: none;
  }
  /* 2. Les rangées (lignes) deviennent des blocs indépendants (les "cartes") */
  tbody tr {
    display: block;
    margin-bottom: 1.5rem; /* Ajoute un espace visible entre les fiches de match */
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* Coins arrondis pour le look carte */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: none; /* Désactive la transition de survol qui ne s'applique pas bien en mode tactile */
    background-color: #ffffff;
  }
  /* 3. Ajustement de l'effet de survol pour ne pas déranger le look carte */
  tbody tr:hover {
    background-color: #ffffff;
  }
  /* 4. Les cellules (données) deviennent des blocs et occupent toute la largeur */
  td {
    display: block;
    text-align: right; /* Aligne la donnée à droite */
    padding: 10px 18px;
    border-bottom: 1px dashed #f0f0f0; /* Ligne de séparation fine entre les champs de la carte */
    position: relative; /* Nécessaire pour le pseudo-élément ::before */
  }
  /* Supprimer la bordure du bas pour la dernière donnée de chaque fiche */
  tbody tr td:last-child {
    border-bottom: none;
    padding-bottom: 14px; /* Ajustement du padding pour la dernière ligne */
  }
  /* --- Ajout des libellés (les en-têtes de colonnes) via ::before --- */
  td::before {
    content: ""; /* Initialisation */
    float: left; /* Le libellé à gauche, la donnée à droite */
    font-weight: 700;
    color: #555; /* Une couleur de texte légèrement plus foncée */
    text-align: left;
    margin-right: 10px;
  }
  /* Spécification des libellés pour chaque colonne */
  td:nth-child(1)::before {
    content: "Dates :";
  }
  td:nth-child(2)::before {
    content: "Lieu :";
  }
  td:nth-child(3)::before {
    content: "Type :";
  }
  td:nth-child(4)::before {
    content: "Organigramme :";
  }
  /* --- Ajustements spécifiques aux liens --- */
  td a {
    display: inline-block; /* Assure que le lien reste bien aligné à droite */
    font-weight: 700;
  }
}/*# sourceMappingURL=main.css.map */