/* --- Styles généraux --- */
html, body {
    height: 100%;                 /* page = 100% de la hauteur écran */
    margin: 0;
    display: flex;
    flex-direction: column;       /* empile header, main, footer */
    font-family: 'Century Gothic', Calibri, serif;
    font-size: 14px;
    background-color: #f8f8f8;    /* fond gris clair */
    color: #333;
}

/* Le contenu principal prend l’espace restant */
main {
    flex: 1;
    text-align: justify;
}

/* --- Titres --- */
h1, h2 {
    text-align: center;
    margin: 20px 0;
    ;
}

/* --- Liens généraux --- */
a {
    text-decoration: none;
    color: #141010;
}

/* --- Header et navigation --- */
header {
    height: 120px;
    background: #002147;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}
header h1 {
            margin: 0;
            font-size: 18px;
            line-height: 1.2;
        }

        header img {
            vertical-align: middle;
            border-radius: 50%;
        }


nav {
    width: 100%;
    background-color: #00254e;
}

nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    display: inline-block;
    padding: 15px 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    transition: background 0.3s, color 0.3s;
}

nav li:hover a {
    background-color: #f1dc4f;
    color: #000;
}

/* --- Sections principales --- */
section {
    width: 100%;
    padding: 40px 0;
    background-color: #fcf8e3d8; /* couleur orange pâle */
    margin-bottom: 20px;
}

.sec {
    width: 80%;
    margin: 0 auto;
    display: flex;           /* Flexbox horizontal */
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

/* --- Conteneurs gauche/droite --- */
.left {
    flex: 1 1 30%; /* image à gauche */
    text-align: center;
}

.right {
    flex: 2 1 65%; /* texte à droite */
    text-align: justify;
}
/* --- Images --- */
.left img, .right img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- Footer --- */
footer {
    text-align: center;
    background-color: #C5C5C5;
    padding: 20px 10px;
    border-top: 2px solid #AAA;
}

footer p {
    margin: 10px 0;
    color: #333;
    font-size: 14px;
    text-align: justify;
}

/* Liens des réseaux */
footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    margin: 0 10px;
    font-size: 24px;
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

/* Couleurs spécifiques pour chaque réseau */
footer .social-links a .fa-instagram { color: #E1306C; }
footer .social-links a .fa-linkedin  { color: #0077B5; }
footer .social-links a .fa-whatsapp  { color: #25D366; }
footer .social-links a .fa-envelope  { color: #D44638; }

/* Effet au survol */
footer .social-links a:hover {
    transform: scale(1.2);
}

/* --- Boîtes et effets --- */
.boboo {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.bobaa {
    background: #807f7d;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.bobaa:hover {
    background: #d0d0d0;
}

/* --- Barre de recherche --- */
#searchBar {
    display: block;
    margin: 0 auto 20px;
    padding: 10px;
    width: 60%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.search-container {
    text-align: center;
    margin-bottom: 30px;
}

.search-container input,
.search-container select {
    padding: 10px;
    margin-right: 10px;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.search-container button {
    padding: 10px 15px;
    border: none;
    background-color: #2c3e50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #1a252f;
}

select {
    text-align: justify;
    align-items: center;
}

/* --- Documents et cartes --- */
.documents-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: auto;
}

.documents-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.document-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 10px;
    width: 200px;
    text-align: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.document-card:hover {
    transform: scale(1.05);
}

.document-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.document-card p {
    margin-top: 10px;
    font-weight: bold;
    color: #000000;
}

.auteur {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #888;
}

/* --- Flèches navigation --- */
.arrow {
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 50%;
}

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

.arrow:hover {
    background-color: rgba(0,0,0,0.8);
}
.h4 {
    text-align: justify;
}
p{
    text-align: justify;
}
.btn {
            display: inline-block;
            margin-top: 20px;
            background: #ff4b2b;
            color: #fff;
            padding: 12px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            
        }

        .btn:hover  {background: #00c853; }
