html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

main {
    flex: 1;
    margin-top: 130px;
}

:root {
    --primary: #00bcd4;
    --dark: #111;
    --light: #f5f5f5;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: #e6e6e5;

    /*padding-top: 90px;*/ /* IMPORTANT pour un header fixed */

    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: var(--dark);
    transition: transform 0.3s ease;
}

/* état caché */
header.hidden {
    transform: translateY(-100%);
}

/* optionnel : léger effet propre */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}


/* Centre parfaitement le bloc */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.header-right {
    position: relative;
    display: flex;
    align-items: center;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Menu admin PC---------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.hamburger {
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    right: 50px; /* ✅ remplace margin-right */
    z-index: 1000;
}


/* Menu caché */
.admin-menu {
    position: fixed;
    top: 60px;
    right: 15px;
    background: #222;
    padding: 15px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Texte pseudo */
.admin-menu span {
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Liens */
.admin-menu a {
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
}

.admin-menu a:hover {
    background: #444;
}

.admin-menu.active {
    display: flex !important;
    flex-direction: column;
    top: 100px;
}

.admin-mobile {
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.admin-mobile span {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.admin-mobile a {
    display: block;
    color: white;
    font-size: 1.4rem;
    margin: 5px 0;
}



/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Menu Mobile-----------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 40px;
    height: 40px;
    padding: 5px;
}


/* Menu desktop */
.menu {
    display: flex;
    gap: 10px;
    align-items: center;
}


.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* lien principal */
.nav-dropdown .nav-link {
    color: white;
    text-decoration: none;
    /*padding: 10px 15px;*/
    display: block;
}

/* dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 40%;
    transform: translateX(-50%) translateY(10px);

    background: #746f69;
    min-width: 100px;
    border-radius: 8px;
    border: 2px solid white; /* contour blanc */

    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;

    z-index: 1000;
}

/* Desktop hover */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    /*transform: translateX(-50%) translateY(0);*/
}

/* Mobile open */
.nav-dropdown.active .dropdown-menu a {
    font-size: 17px;
    font-style: italic;
    opacity: 0.85;
    letter-spacing: 0.5px;
    transition: 0.2s ease;
}

.nav-dropdown.active .dropdown-menu a:hover {
    opacity: 1;
    transform: translateX(3px);
}

/* liens */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
}

/* hover item */
.dropdown-menu a:hover {
    background: #222;
}

/* overlay mobile */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(84, 133, 165, 0.95); /* bleu semi-transparent */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* active state */
.mobile-menu-overlay.active {
    display: flex;
}

/* bouton fermer */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* liens mobile */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.mobile-nav .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: static; /* pour qu’il soit dans le flux mobile */
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: transparent;
}


/* Cacher hamburger quand menu mobile actif */
.mobile-menu-overlay.active ~ .header-container .menu-toggle,
.mobile-menu-overlay.active + .header-container .menu-toggle {
    display: none;
}

/* + devant Événements */
.nav-dropdown .dropdown-toggle {
    margin-right: 10px;
    font-weight: bold;
    display: inline-block;
}

.admin-menu {
    background-color: #2c3e50; /* bleu foncé propre */
    padding: 10px 15px;
    border-radius: 8px;
}

/* Conteneur des icônes */
.menu-social {
    display: flex;              /* active flexbox */
    justify-content: center;    /* centre horizontalement les icônes */
    align-items: center;        /* aligne verticalement si besoin */
    gap: 8px;               /* espace entre les icônes */
    /*margin-top: 20px;   */        /* optionnel : espace au-dessus */
}

/* Icônes individuelles */
.menu-social a img {
    width: 50px;                /* taille des icônes */
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.menu-social a img:hover {
    opacity: 1;
}






.logo img {
    height: 100px;
    transition: 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

/* CENTRE */
.header-center {
    text-align: center;
    text-decoration: none;
    color: white;
}

.header-center h1 {
    margin: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* effet au survol */
.header-center:hover h1 {
    color: #d46600;
    transform: scale(1.05);
}

.header-center p {
    margin: 5px 0 0;
    color: #ccc;
}

.header-center p {
    margin: 5px 0 0;
    color: #ccc;
}

.user-name {
    color: white;
}

.btn-outline {
    border: 1px solid #555;
    padding: 6px 12px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: white;
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    /*gap: 25px;*/
    background: #41484d;
    padding: 0px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
}

nav > a:not(:last-child)::after,
nav > .nav-dropdown:not(:last-child) > .nav-link::after {
    content: "|";
    color: white;
    margin: 0 10px;
}

/* HERO */
/*
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url("images/hero.jpg") center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}
*/
.hero {
    position: relative;
    height: 73vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
    max-width: 100%;
}

/* Vidéo en fond */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    margin-top: 50px;
}

/* Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    margin-top: 50px;
}

/* Contenu */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.hero h2 {
    font-size: 40px;
}

/* overlay sombre */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* contenu au-dessus */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 40px;
}


.hero-social {
    margin-top: 20px;
}

.hero-social a {
    margin: 0 8px;
    display: inline-block;
}

.hero-social img {
    width: 100px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-social img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.btn:hover {
    background: #0097a7;
}

/* SECTIONS */
section {
    padding: 60px 20px;
    max-width: 90%;
    margin: auto;
    scroll-margin-top: 170px;

    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* état visible */
section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* EVENTS */
.events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* centre horizontalement les éléments */
}

.contact-form input,
.contact-form textarea {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ================= RGPD CHECKBOX ================= */

.rgpd-consent {
    width: 80%;
    margin-top: 10px;
    text-align: left;
}

/* Label global */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    position: relative;
    line-height: 1.4;
}

/* Cache la vraie checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Case personnalisée */
.checkmark {
    min-width: 18px;
    height: 18px;
    margin-right: 10px;
    border-radius: 4px;
    border: 2px solid #ccc;
    transition: all 0.2s ease;
    position: relative;
}

/* Hover */
.custom-checkbox:hover .checkmark {
    border-color: var(--primary);
}

/* Quand coché */
.custom-checkbox input:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Check (✓) */
.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Affiche le check */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

/* Style du check */
.custom-checkbox .checkmark::after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* LOGIN */
.login-section {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    text-align: center;
}

.login-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-section input {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #ccc; /* optionnel */
    outline: none; /* 🔴 enlève le trait noir */
}

.login-section button {
    width: 80%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
    background: linear-gradient(135deg, #0097a7, #00bcd4);
}

.login-section button:active {
    transform: scale(0.97);
}



/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Pop UP Message--------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.toast {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e74c3c;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

/*affichage messsage effemere*/
.flash-message {
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-message {
  transition: opacity 0.5s ease-out;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------formulaire--------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* ===================== CONTAINER GLOBAL ===================== */
.user-management {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

/* ===================== FORMULAIRE ===================== */
.user-management .form-container {
    max-width: 300px;
    margin: 80px auto 40px auto;
    padding: 30px 25px;
    background-color: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-align: center;
}

/* Titre */
.user-management .form-container h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Inputs + select */
.user-management .form-container input,
.user-management .form-container select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: white;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.user-management .form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: white;
    outline: none;
    transition: 0.3s;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
}

/* Focus identique aux inputs */
.user-management .form-container input:focus,
.user-management .form-container select:focus,
.user-management .form-container textarea:focus {
    border-color: #007bff;
}

/* Bouton */
.user-management .form-container button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary), #0097a7);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.user-management .form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* ===================== TITRE TABLE ===================== */
.user-management .table-title-wrapper {
    text-align: center;
    margin: 30px auto 10px auto;
    background-color: var(--primary);
    max-width: 1400px;
    border-radius: 10px;
    padding: 10px;
}

.user-management .table-title {
    margin: 0;
    font-size: 1.5em;
    color: white;
}

/* ===================== TABLE ===================== */
.user-management .table-wrapper {
    margin: 20px auto;
    max-width: 1400px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* TABLE STRUCTURE */
.user-management table {
    width: 100%;
    border-collapse: collapse;
}

/* HEADER FIXE */
.user-management thead th {
    position: sticky;
    top: 0;
    background-color: var(--primary);
    color: white;
    z-index: 10;
    padding: 10px;
}

/* CELLULES */
.user-management th,
.user-management td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* HOVER LIGNE */
.user-management tr:hover {
    background-color: rgba(0, 188, 212, 0.08);
}

/* INPUTS DANS TABLE */
.user-management td input,
.user-management td select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

/* ===================== ACTIONS ===================== */
.actions-btns {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* MODIFIER */
.btn-modifier {
    background: var(--primary);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-modifier:hover {
    background: #0097a7;
}

/* SUPPRIMER */
.btn-supprimer {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-supprimer:hover {
    background: #c0392b;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------ABOUT-------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* ================= ABOUT SECTION ================= */

#about {
    position: relative;
    margin: 50px auto 0px;
    padding: 80px 20px;
    border-radius: 16px;

    /* IMAGE DE FOND */
    background: url("images/montblanc.PNG") center/cover no-repeat;

    color: white;
    overflow: hidden;
}

/* Overlay sombre pour lisibilité */
#about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Contenu au-dessus de l'overlay */
.about-overlay {
    position: relative;
    max-width: 900px;
    margin: auto;
    z-index: 1;
    text-align: center;
}

/* Texte */
.about-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.about-text h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #f1f1f1;
    margin-bottom: 18px;
}

.about-text strong {
    color: var(--primary);
}

/* Animation */
/*
#about {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInAbout 0.8s ease forwards;
}
*/

@keyframes fadeInAbout {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------CONTACT-----------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
#contact {
    max-width: 600px;   /* réduit la largeur */
    margin: 0 auto;     /* centre horizontalement */
    text-align: center; /* centre le texte */
    padding: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------FOOTER------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
footer {
    background: var(--dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* TOP */
.footer-top {
    margin-bottom: 20px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-top p {
    font-size: 14px;
    opacity: 0.7;
}

/* RESEAUX */
.footer-social {
    margin: 15px 0;
}

.footer-social a {
    margin: 0 8px;
    display: inline-block;
}

.footer-social img {
    width: 50px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-social img:hover {
    opacity: 1;
}

/* LINKS */
.footer-links {
    margin-top: 10px;
}

.footer-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 13px;
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* COPYRIGHT */
.copyright {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.5;
}


.connexion {
    opacity: 0;              /* invisible */
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Event dynamique-------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.event-page {
    /*position: relative;*/
    min-height: 100vh;
    padding: 60px 20px;
    max-width: 100%;
    z-index: 1; /* 👈 important */
}

.event-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Voile noir */
.event-page::before {
    content: "";
    position: fixed; /* 👈 couvre tout l'écran */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.35);
    z-index: -1; /* entre fond et contenu */
}

.event-overlay {
    max-width: 800px;
    margin: 0px auto;
    padding: 30px;

    background: rgba(255, 255, 255, 0.85); /* blanc légèrement transparent */
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.event-page h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.event-page p {
    font-size: 16px;
    margin-bottom: 10px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Conteneur de tous les parcours en grille responsive */
.parcours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.parcours-card {
    position: relative;
    /*height: 250px;*/
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

/* Overlay semi-transparent pour assombrir la photo */
.parcours-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35); /* noir semi-transparent */
    z-index: 1;
}

/* Overlay texte au-dessus */
.parcours-overlay {
    position: relative;
    width: 100%;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2; /* texte au-dessus de l'overlay */
}

/* Carte générique (type card) */
.card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    /*align-items: flex-end;*/
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* Overlay sombre pour la carte générique */
.card-overlay {
    position: relative;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
    border-radius: 12px;
    transform: translateY(-5px);
}

/* ================= infos-pratiques ================= */
/* CONTENEUR NOIR */
.infos-pratiques-box {
    background: rgba(0, 0, 0, 0.65); /* noir */
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 100px;
}

/* TITRE */
.infos-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

/* SECTIONS INTERNES */
.info-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6600; /* petit accent stylé */
}

/* TITRE SECTION */
.info-section h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

/* TEXTE */
.info-section p {
    margin: 0;
    line-height: 1.5;
}

/* BOUTON PDF */
.info-section .btn {
    display: inline-block;
    margin-top: 10px;
}

/* ================= GPX Tabs ================= */
/* Conteneur GPX */
.gpx-tabs {
    background: rgba(255, 255, 255, 0.85); /* fond semi-transparent */
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;   /* largeur max pour centrer */
    margin: 20px auto;  /* centre horizontalement */
    text-align: center;  /* centre le texte et boutons */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* petit relief */
}

/* Titre de la section */
.gpx-tabs h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #00bcd4; /* assorti au bouton actif */
}

/* Onglets */
.gpx-tabs .tabs {
    display: flex;
    justify-content: center; /* centre les boutons */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* Boutons */
.gpx-tabs .tab-btn {
    padding: 10px 16px;
    /*border: none;*/
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gpx-tabs .tab-btn:hover {
    background: #ddd;
    transform: translateY(-2px);
}

.gpx-tabs .tab-btn.active {
    background: #00bcd4;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Supprimer le bloc "Download" */
.elevation-summary {
    display: none !important;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Partenaire------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/

.partenaires-container {
    padding: 40px 20px;
    text-align: center;
}

/* Titre */
.partenaires-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
    position: relative;
    margin-top: 50px;
}

.partenaires-container h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #999;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Grid */
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 30px;
}

/* Carte partenaire */
.partenaire-card {
    position: relative;
}

/* Nom en bandeau */
.partenaire-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 5px 0px;

    background: rgba(43, 43, 43, 0.6);
    color: #fff;

    text-align: center;
    border-radius: 10px;
}

/* Boîte logo */
.logo-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 5px solid #41484d;
}

/* Image carrée responsive */
.logo-box img {
    width: 100%;
    aspect-ratio: 1 / 1;  /* force le carré */
    object-fit: cover;    /* remplissage sans déformation */
    display: block;
    transition: transform 0.3s ease;
}

/* Effet hover */
.partenaire-card:hover img {
    transform: scale(1.05);
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Resultats-------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* Container avec image de fond et voile semi-transparent */
.resultats-container {
    position: relative; 
    padding: 30px 20px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: #ffffff; 
    overflow: hidden; 
    min-height: calc(100vh - 450px); 
}

.resultats-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background-image: url('/horizon/images/plante.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

/* Voile noir semi-transparent */
.resultats-container::before {
    content: "";
    position: fixed; /* 👈 couvre tout l'écran */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; /* entre fond et contenu */
}

/* Faire passer le contenu au-dessus du voile */
.resultats-container > * {
    position: relative;
    z-index: 1;
}

/* Titre principal */
.resultats-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color:#ffffff;
    font-weight: bold;
    position: relative;
    margin-top: 70px;
}

.resultats-container h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #999;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Boutons années, événements et parcours */
.years-buttons,
.events-buttons,
.parcours-buttons,
#parcours-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.years-buttons button,
.events-buttons button,
.parcours-buttons button,
#parcours-buttons-container button {
    padding: 12px 25px;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover */
.years-buttons button:hover,
.events-buttons button:hover,
.parcours-buttons button:hover,
#parcours-buttons-container button:hover {
    background-color: #00bcd4;
    transform: translateY(-2px);
}

/* Bouton actif pour event et parcours */
button.active {
    background-color: #0097a7 !important;
    color: #fff;
    box-shadow: 0 4px 10px rgba(71,189,255,0.4);
    transform: translateY(-2px);
}

/* Container PDF */
#pdf-result-container {
    margin-top: 30px;
}

/* Titre PDF */
#pdf-result-container h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

/* PDF intégré avec transparence */
#pdf-result-container iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 2px solid rgba(0,0,0,0.5);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.85); /* rend le PDF un peu transparent */
}

/* Lien téléchargement */
#pdf-result-container a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

#pdf-result-container a:hover {
    background-color: #00bcd4;
    transform: translateY(-2px);
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Presentation----------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* ================= HORIZON SUMMIT SECTION ================= */

/* Container global */
.horizon-section {
    /*margin: 80px auto;*/
    max-width: 100%;
    padding: 30px 100px;
    background: rgba(0, 0, 0, 0.6);
    /*border-radius: 20px;*/
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
}

/* TITRE */
.horizon-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.horizon-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}

/* TEXTE INTRO */
.horizon-text {
    max-width: 800px;
    margin: auto;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

/* IMAGE ORGANISATEURS */
.horizon-img {
    width: 100%;
    max-width: 700px;
    margin: 50px auto 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: block;
}

/* GRID ORGANISATEURS */
.horizon-team {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* CARTES */
.horizon-card {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(145deg, #41484d, #2c3e50);
    color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.3s ease;
    position: relative;
}

/* Effet hover */
.horizon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* Nom */
.horizon-card strong {
    font-size: 18px;
    color: var(--primary);
}

/* HISTOIRE */
.horizon-story {
    margin-top: 50px;
    padding: 40px;
    border-radius: 16px;
    background: #31404f;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Titre histoire */
.horizon-story h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Texte histoire */
.horizon-story p {
    line-height: 1.7;
    color: #ffffff;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------Photos----------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* Container principal */
.galerie-container {
    position: relative;
    max-width: 90%;
    margin: 65px auto;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Titre */
.galerie-container h1 {
    font-size: 2,5rem;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: bold;
}

.galerie-container h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #999;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Background */
.photos-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background-image: url('/horizon/images/montjovet.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -2; /* 👈 derrière tout */
}

/* Voile noir */
.galerie-container::before {
    content: "";
    position: fixed; /* 👈 couvre tout l'écran */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; /* entre fond et contenu */
}

/* Contenu au-dessus du voile */
.galerie-container > * {
    position: relative;
    z-index: 2;
}
/* Boutons années, événements, parcours, pagination */
.years-buttons,
.events-buttons,
.parcours-buttons,
#pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 10px;
}

button {
    padding: 12px 25px;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

button.active {
    background-color: #0097a7 !important;
    color: #fff;
    box-shadow: 0 4px 10px rgba(71,189,255,0.4);
    transform: translateY(-2px);
}

/* Galerie d’images */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.thumb:hover {
    transform: scale(1.1);
}

/* Lightbox */
#lightbox {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.95);
    text-align:center;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre l'image verticalement */
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    margin-bottom: 100px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Contrôles (Précédent / Suivant / Télécharger) */
.controls {
    position: absolute;       /* fixe en bas */
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.controls button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background-color: #00bcd4;
    color: #fff;
    transition: background 0.3s ease;
}

.controls button:hover {
    background-color: #0097a7;
}

.download {
    position: absolute;
    bottom: 20px;           /* légèrement au-dessus des boutons */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    /*background-color: #00bcd4;*/
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.download:hover {
    background-color: #0097a7;
}

/* Description + lien */
.lien-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background-color: #00000047;
    margin: 0px auto;
    max-width: 50%;
}

.lien-block p {
    margin: 0;
    color: #ffffff;
    flex: 1;
}

.lien-block a {
    margin-left: 15px;
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
}

.lien-block a:hover {
    text-decoration: underline;
}


/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*------------------------------------NOUS REJOINDRE--------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* ================= NOUS REJOINDRE ================= */

/* CONTAINER PRINCIPAL */
#rejoindre {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px 30px;
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
}

/* SLIDER FIXE */
#rejoindre .slider {
    width: 100%;
    max-width: 400px;      /* largeur maximale du slider */
    height: 300px;         /* hauteur fixe */
    margin: 20px auto;
    position: relative;
    overflow: hidden;      /* cache les parties qui dépassent */
}

/* IMAGES DU SLIDER */
#rejoindre .slide {
    width: 100%;
    height: 100%;          /* prend toute la hauteur du slider */
    object-fit: cover;     /* remplit le cadre sans déformer l'image */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
}

/* IMAGE ACTIVE */
#rejoindre .slide.active {
    opacity: 1;
    position: relative;
}

/* HOVER SUR IMAGE ACTIVE */
#rejoindre .slide.active:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* TITRE */
#rejoindre h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

#rejoindre h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}

/* TEXTE */
#rejoindre p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* LISTE */
#rejoindre ul {
    background: #41484d;
    color: white;
    padding: 20px;
    border-radius: 12px;
    list-style: none;
}

#rejoindre ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#rejoindre ul li:last-child {
    border-bottom: none;
}

/* CONTACT SECTION (amélioration légère) */
#contact {
    margin-top: 0px;
}

/* TITRE CONTACT */
#contact h2 {
    font-size: 28px;
    color: var(--primary);
}

/* EMAIL */
#contact h3 {
    color: #555;
    margin-bottom: 20px;
}

/* FORMULAIRE BOOST */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* INPUT + TEXTAREA */
.contact-form input,
.contact-form textarea {
    border: 1px solid #ddd;
    transition: 0.2s;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(0,188,212,0.3);
}

/* BOUTON */
.contact-form .btn {
    background: linear-gradient(135deg, var(--primary), #0097a7);
    font-weight: bold;
    transition: 0.3s;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,188,212,0.4);
}





@media (max-width: 600px) {

    main {
        margin-top: 90px;
    }

/* ================= Event ================= */
    .event-page {
        padding: 30px 20px;
    }

    .galerie-container{
        margin: 10px auto 10px;
    }

    .lien-block{
        max-width: 900%;
    }

    .infos-pratiques-box{
        margin: 20px 10px;
    }
/* ================= Nous Rejoindre ================= */
    #rejoindre {
        padding: 30px 20px;
        margin: 20px 10px 0px;
    }

    #rejoindre img {
        max-width: 100%;
        margin: 15px 0;
    }

    #rejoindre h2 {
        font-size: 26px;
    }

    #rejoindre p {
        font-size: 14px;
    }

    .contact-form {
        padding: 20px;
    }

/* ================= Presentations ================= */
    .horizon-section {
        margin: 0px auto;
        padding: 10px 30px;
    }

    .horizon-team {
        flex-direction: column;
    }

    .horizon-title {
        font-size: 28px;
    }

    .horizon-text {
        font-size: 15px;
    }

    /* ================= Resultats ================= */
    .years-buttons button,
    .events-buttons button,
    .parcours-buttons button,
    #parcours-buttons-container button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* ================= Partenaire ================= */
    /* Remonter un peu le titre */
    .partenaires-container h1 {
        margin-top: 0px;
        font-size: 2rem;
    }

    .resultats-container h1 {
        margin-top: 20px;
    }
    /* Grid avec au moins 2 par ligne */
    .partenaires-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    /* Images carrées */
    .logo-box img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    /* ================= GPX ================= */
    .gpx-tabs .tab-btn {
        flex: 1 1 100%;
        text-align: center;
    }

    /* ================= HEADER ================= */
    .menu {
        display: none;
    }

    /* Hamburger visible */
    .menu-toggle {
        display: flex;                  /* visible sur mobile */
        position: absolute;             /* position par rapport à header-container */
        top: 50%;                       /* vertical centré par rapport à header */
        right: 20px;                    /* espacement depuis le bord droit */
        transform: translateY(-50%);    /* corrige le centrage vertical exact */
        background: none;
        border: none;
        font-size: 2rem;                /* taille du ☰ */
        color: white;
        cursor: pointer;
        z-index: 2500;
    }

    /* cacher nav desktop */
    nav:not(.mobile-nav) {
        display: none;
    }

    /* Menu overlay mobile */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(65 72 77);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 2000;
        padding: 0px;
        text-align: center;
        overflow-y: auto;
    }

    .mobile-menu-overlay.active {
        display: flex;
    }

    .mobile-menu-close {
        position: fixed;
        top: 10px;          /* distance depuis le haut */
        /*left: 50%;*/          /* centre horizontal */
        /*transform: translateX(-50%);*/  /* corrige le centrage exact */
        background: none;
        border: none;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        z-index: 3000;
    }

    /* liens mobile */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 40px;
        /*max-width: 300px;*/
        /*margin: 0 auto;*/
        /*height: 100%*/
    }

    .mobile-nav a, .mobile-nav span {
        color: white;
        font-size: 1.5rem;
        text-decoration: none;
        display: block;
        /*width: 100%;*/
    }

    /* dropdown mobile */
    .nav-dropdown .dropdown-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: static;
        background: transparent;
        border: none;
        padding-left: 0;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-toggle {
        margin-left: 10px;
        font-weight: bold;
    }

    /* enlever les séparateurs | sur mobile */
    nav > a:not(:last-child)::after,
    nav > .nav-dropdown:not(:last-child) > .nav-link::after {
        content: none;
    }

    .btn-outline {
        padding: 4px 8px;
        font-size: 12px;
	color: #000000;
    }

    .btn-outline:hover {
        border-color: #ffffff;
        color: #ffffff;
    }

    .header-container {
        padding: 20px 10px;
    }

    .logo img {
        height: 70px; /* logo plus petit */
    }

    .header-center h1 {
        font-size: 18px;
    }

    .header-center p {
        font-size: 15px;
    }

    .rgpd-consent {
        width: 100%;
    }

    .custom-checkbox {
        font-size: 12px;
    }

    /* ================= about ====================== */ 
    #about {
        padding: 50px 15px;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 15px;
    }

    /* ================= USER MANAGEMENT ================= */
    .user-management {
        padding: 10px;
    }

    /* FORMULAIRE */
    .user-management .form-container {
        max-width: 70%;
        padding: 20px;
    }

    .user-management .form-container h2 {
        font-size: 18px;
    }

    /* TITRE TABLE */
    .user-management .table-title-wrapper {
        padding: 8px;
        margin: 20px auto 10px auto;
    }

    .user-management .table-title {
        font-size: 16px;
    }

    /* TABLE WRAPPER */
    .user-management .table-wrapper {
        max-height: 400px;
        border-radius: 8px;
    }

    /* TABLE */
    .user-management table {
        font-size: 12px;
        min-width: 5px; /* permet le scroll horizontal */
    }

    .user-management th,
    .user-management td {
        padding: 5px;
    }

    /* INPUTS TABLE */
    .user-management td input,
    .user-management td select {
        padding: 4px;
        font-size: 12px;
    }

    /* BOUTONS ACTIONS */
    .actions-btns {
        flex-direction: column;
        gap: 5px;
    }

    .btn-modifier,
    .btn-supprimer {
        padding: 5px 8px;
        font-size: 12px;
    }

    nav {
        flex-wrap: wrap;
        /*gap: 10px;*/
    }

    section {
        padding: 20px;
    }

    .login-btn {
        margin-left: 0; /* enlève l’espace sur téléphone */
        margin-right: 0; /* espace à gauche */
    }

    .login-section {
        max-width: 250px;
    }

    .user-name {
        color: black;
    }

    .hero {
        height: 15%;
        margin-top: 18px;
        /*margin-bottom: 20px;*/
        position: relative;
    }

    .hero::after {
	margin-top: 0px;
    }
    .hero-video {
	margin-top: 0px;
    }
    .hero-content {
        margin-top: 0px;
    }

    .hero-social {
	margin-top: 0px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .hamburger {
        display: none;
    }
}
