/* Importation de la police */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap');

/* Variables CSS */
:root {
        --primary-color: #eaeaea;
        --secondary-color: #000000;
        --tertiary-color: #ffffff;
        --accent-color: #D0FF03;
        --background-color: #f4f4f4;
        --text-color: #000000;
        --error-color: #D32F2F;
        --success-color: #388E3C;
}

/* Styles de base */
body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 20px;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
}

/* Styles pour les titres et paragraphes */
h1, h2, h3, h4, h5, h6, p {
    color: #333;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 500; }
h6 { font-size: 0.75rem; font-weight: 400; }
p { font-size: 0.9375rem; font-weight: 400; text-align: justify; }

/* Responsive pour les petites résolutions (téléphones) */
@media (max-width: 600px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    p { font-size: 0.875rem; }
}

/* Responsive pour les tablettes */
@media (min-width: 601px) and (max-width: 900px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    p { font-size: 0.875rem; }
}

/* Layout des boîtes */
.divbase {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.box {
    padding: 10px;
    text-align: left;
}

.box1, .box2 { width: 50%; }
.box3 { width: 60%; }
.box4 { width: 40%; }
.box5 { width: 70%; }
.box6 { width: 30%; }
.box7 { width: 90%; }
.box8 { width: 10%; }
.box10 { width: 100%; }
.box20 { width: 20%; }
.box25 { width: 25%; }

/* Responsive pour les boîtes */
@media (max-width: 768px) {
    .divbase {
        flex-direction: column;
    }
    .box1, .box2, .box3, .box4, .box5, .box6, .box7, .box8, .box10, .box20, .box25 {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .box1, .box2 { width: 50%; }
    .box3 { width: 60%; }
    .box4 { width: 40%; }
    .box5 { width: 70%; }
    .box6 { width: 30%; }
    .box8 { width: 100%; }
}

 

/* Alignement et icônes */
.divicon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
}

.divcentre {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.divleft {
    text-align: left;
    margin: 0 2rem;
}

/* Ligne de séparation */
.divline {
    height: 1px;
    background-color: rgba(2, 2, 2, 0.952);
    margin: 15px 0;
}
 

/* Visibilité */
.hidden { display: none; }
.active { display: block; }


 
 /*----------------------------------------------------------------------------*/
/*                          Footer Simple Styles                             */
/*----------------------------------------------------------------------------*/
.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px; 
    border-top: 1px solid #e5e5e5;
    color: #2f2f2f;
    width: 100%; /* Correction: largeur 100% sur tous les écrans */
    box-sizing: border-box; /* S'assurer que le padding est inclus dans la largeur */
}

.social-icons-simple {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.social-link:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-svg {
    width: 24px;
    height: 24px;
}

.legal-simple {
    text-align: center;
}

.copyright-simple {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/*----------------------------------------------------------------------------*/
/*                          Footer Complete Styles                           */
/*----------------------------------------------------------------------------*/
.footer-complete {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 30px; 
    border-top: 1px solid #e5e5e5;
    color: #2f2f2f;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap; /* pour mobile */
}

/* Bloc gauche logo + email */
.footer-addr-complete {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 20px;
    min-width: 220px;
}

.footer-logo-complete {
    width: 120px;  /* taille du logo, ajustable */
    height: auto;
    margin-top: 10px;
}
.footer-title-complete {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

 

/* Bloc droit navigation */
.footer-nav-complete {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 30px;
    flex: 1;
}

.nav-item-complete {
    flex: 1 1 200px;
    min-width: 200px;
}

.nav-title-complete {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.nav-ul-complete {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-ul-complete li {
    line-height: 2.2em;
}

.nav-link-complete {
    color: #9c9a9a;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link-complete:hover {
    color: #2f2f2f;
    text-decoration: underline;
}

/* Bas du footer */
.legal-complete {
    text-align: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    margin-top: 30px;
}

.social-icons-complete {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 0 0;
    width: 100%;
}

.social-link-complete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.social-link-complete:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.1);
}

.social-svg-complete {
    width: 22px;
    height: 22px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-complete {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-addr-complete {
        align-items: center;
    }

    .footer-nav-complete {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .social-icons-complete {
        flex-wrap: wrap;
    }
}

  /* Formulaire newsletter */
    .newsletter {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 360px;
        margin-top: 1rem;
        font-family: 'Manrope', sans-serif;
        color: var(--text-color);
    }

    /* Champ email */
    .newsletter input[type="email"] {
        width: 100%;
        padding: 12px 15px;
        border-radius: 6px;
        border: 2px solid var(--primary-color);
        font-size: 1rem;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        font-weight: 500;
        color: var(--secondary-color);
    }

    .newsletter input[type="email"]:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 5px var(--accent-color);
        background-color: var(--tertiary-color);
    }

    /* Bouton d'inscription */
    .newsletter button {
        padding: 12px 24px;
        background-color: var(--accent-color);
        border: none;
        border-radius: 6px;
        font-weight: 700;
        font-size: 1.1rem;
        cursor: pointer;
        color: var(--secondary-color);
        transition: opacity 0.3s ease, transform 0.15s ease;
        align-self: flex-start;
        box-shadow: 0 2px 8px rgba(208, 255, 3, 0.5);
    }

    .newsletter button:hover,
    .newsletter button:focus {
        opacity: 0.9;
        transform: scale(1.05);
        outline: none;
    }

    /* Message de retour (erreur/succès) */
    .newsletter-message {
        font-weight: 600;
        font-size: 0.95rem;
        min-height: 1.2em;
        margin-top: 4px;
        transition: color 0.3s ease;
        color: var(--error-color);
        /* défaut rouge pour erreur */
    }

    .newsletter-message.success {
        color: var(--success-color);
        /* vert clair */
    }

    /* Responsive adaptation */
    @media (max-width: 480px) {
        .newsletter {
            max-width: 100%;
        }

        .newsletter button {
            width: 100%;
            align-self: stretch;
            font-size: 1rem;
        }
    }
    

     /* Personnalisation bannière cookies ADrard */
    #tarteaucitronRoot { font-family: 'Fira Sans', sans-serif !important; }
    #tarteaucitronAlertBig { 
      background: rgba(0, 0, 0, 0.95) !important; 
      border: 2px solid #D0FF03 !important; 
      border-radius: 12px !important; 
      max-width: 600px !important; 
      padding: 30px !important; 
    }
    #tarteaucitronDisclaimerAlert { 
      color: #ffffff !important; 
      font-size: 16px !important; 
      line-height: 1.6 !important; 
      margin-bottom: 20px !important; 
    }
    #tarteaucitronPersonalize, #tarteaucitronAllDenied, #tarteaucitronCloseAlert { 
      background: #ffffff !important; 
      color: #000000 !important; 
      border: none !important; 
      border-radius: 8px !important; 
      padding: 12px 24px !important; 
      font-weight: 600 !important; 
      cursor: pointer !important; 
      transition: all 0.3s ease !important; 
      margin: 5px !important; 
    }
    #tarteaucitronCloseAlert { 
      background: #D0FF03 !important; 
      color: #000000 !important; 
      font-weight: 700 !important; 
    }
    #tarteaucitronCloseAlert:hover { 
      background: #c4eb00 !important; 
      transform: translateY(-2px) !important; 
      box-shadow: 0 4px 12px rgba(208, 255, 3, 0.4) !important; 
    }
    #tarteaucitronIcon { 
      background: #D0FF03 !important; 
      border-radius: 50% !important; 
      width: 50px !important; 
      height: 50px !important; 
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; 
    }
    #tarteaucitronIcon:hover { 
      transform: scale(1.1) !important; 
      box-shadow: 0 6px 16px rgba(208, 255, 3, 0.4) !important; 
    }
    @media (max-width: 768px) { 
      #tarteaucitronAlertBig { 
        max-width: 90% !important; 
        padding: 20px !important; 
      } 
      #tarteaucitronDisclaimerAlert { 
        font-size: 14px !important; 
      } 
    }
 