/* =========================================
   Human First Europe – Page Investigation
   Fichier : /assets/css/investigation.css
   ========================================= */

/* ============================= */
/* BASE                          */
/* ============================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* ============================= */
/* HEADER + MENU                 */
/* ============================= */

.site-header {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1;
}

/* barre de menu blanche, centrée */
.top-menu {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    border-bottom: none; /* retiré */
}

.top-menu .menu-links {
    list-style: none;
    margin: 0;
    padding: 14px 10%;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.top-menu .menu-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0A2745;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.top-menu .menu-links a:hover {
    color: #0059b3;
    opacity: 0.85;
}

/* ============================= */
/* HERO INVESTIGATION            */
/* ============================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url("/assets/images/header_enfants.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.35));
}

.hero-content {
    position: relative;
    max-width: 720px;
    padding: 0 10%;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================= */
/* BOUTON RETOUR                 */
/* ============================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    margin-top: 1.8rem;
    border-radius: 999px;

    border: none !important;
    outline: none !important;

    background-color: #0A2745;
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;

    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: #08325f;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-retour {
    gap: 0.4rem;
}

/* ============================= */
/* MAIN & INTRO                  */
/* ============================= */

.main-home {
    max-width: 1080px;
    margin: 0 auto 80px;
    padding: 0 20px 80px;
}

.intro-home .titre_section {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #0A2745;
}

.intro-home .text_section {
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================= */
/* ONGLETs                       */
/* ============================= */

.tabs-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* SUPPRESSION TOTALE DES BORDURES */
.tabs-header {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    border: none !important;
    border-radius: 8px 8px 0 0;
}

.tab-button {
    flex: 1 1 0;
    padding: 14px 18px;
    border: none !important;
    background-color: #f5f5f5;
    color: #0A2745;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.tab-button:hover {
    background-color: #e5e5e5;
}

.tab-button.active {
    background-color: #0A2745;
    color: #ffffff;
}

.tabs-content {
    padding: 36px 26px 28px;
    background-color: #ffffff;

    /* suppression absolue de la bordure parasite */
    border: none !important;

    border-radius: 0 0 8px 8px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ============================= */
/* SECTIONS                      */
/* ============================= */

.investigation-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.investigation-block {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 22px 20px 18px;

    /* plus aucune bordure bleue */
    border: none !important;
}

.investigation-block h2 {
    font-size: 1.3rem;
    color: #0A2745;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */

.main-footer {
    background-color: #0A2745;
    color: #ffffff;
    padding: 30px 20px;
}

.footer-content {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 900px) {
    .hero {
        min-height: 60vh;
        padding: 60px 0;
    }

    .hero-content {
        padding: 0 7%;
    }
}

@media (max-width: 640px) {
    .top-menu .menu-links {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .tab-button {
        flex: 1 1 100%;
        text-align: left;
    }

    .investigation-block {
        padding: 18px 16px 16px;
    }
}
