/* =========================================
   Human First Europe – Page Investigation
   Fichier : assets/css/investigation.css
   Inspiré de : nos-actions.css
   ========================================= */

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

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333333;
    background-color: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 1em;
    color: inherit;
}

.titre_section {
    color: #0A2745;
    font-size: 1.3rem;
    margin: 0 0 8px;
    line-height: 1.2;
}

.text_section {
    color: #555555;
}

/* ============================= */
/* HERO / HEADER                 */
/* (même logique que nos-actions)*/
/* ============================= */

.hero {
    position: relative;
    width: 100%;

    /* on écrase le 100vh, l’animation, etc. de style.css */
    height: auto !important;
    min-height: 70vh;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    overflow: visible;

    background-image: url("/assets/images/header_enfants.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 8vw;
}

/* Overlay dégradé comme sur nos-actions */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.7)
    );
}

/* on coupe les étoiles / animations éventuelles */
.hero::after {
    content: none !important;
    background: none !important;
    animation: none !important;
}

/* si un .hero-overlay est dans le HTML, on le neutralise */
.hero-overlay {
    display: none !important;
}

/* Contenu du hero */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;

    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    height: auto !important;
    display: block;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 0 0 0.8rem;
}

.hero-content p {
    margin: 0 0 1.4rem;
}

/* ============================= */
/* TICKER (bandeau des valeurs)  */
/* ============================= */

.ticker {
    background-color: #0A2745;
    color: #ffffff;
    font-size: 0.8rem;
}

/* ============================= */
/* CONTENU PRINCIPAL             */
/* (adapté aux classes           */
/* main-home / intro-home )      */
/* ============================= */

.main-home {
    width: 100%;
    padding: 40px 0 60px;
    margin-top: 0; /* on annule le margin-top potentiel de style.css */
    background-color: #ffffff;
}

.intro-home {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

/* ============================= */
/* ONGLET INVESTIGATION          */
/* (mêmes styles que nos-actions */
/* pour les tabs)                */
/* ============================= */

.tabs-container {
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 0 20px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #eeeeee;
    background-color: #f7f7f7;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 12px 16px;
    cursor: pointer;
    border: none;
    background-color: #f1f1f1;
    color: #0A2745;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

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

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

.tabs-content {
    padding: 40px 0 0;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
}

.tab-panel {
    display: none;
}

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

/* Titre & paragraphe d’intro éventuels dans un tab */
.tab-panel > .titre_section,
.tab-panel > .text_section {
    max-width: 900px;
    margin: 0 auto 1em;
    padding: 0 20px;
}

/* ============================= */
/* BLOCS INVESTIGATION           */
/* (équivalent des .section_main */
/* dans nos-actions.css)         */
/* ============================= */

.investigation-section {
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 0 20px 20px;
}

/* Carte principale “page légale” */
.investigation-block {
    background-color: #f7f9fc;          /* fond doux identique au site */
    border-radius: 12px;
    border: 1px solid #e1e5ee;
    box-shadow: 0 4px 10px rgba(10, 39, 69, 0.03);
    padding: 24px 20px 20px;
    margin-bottom: 20px;
}

.investigation-block h2 {
    color: #0A2745;
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.3;
}

.investigation-block p,
.investigation-block li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555555;
}

.investigation-block ul {
    margin: 0;
    padding-left: 20px;
}

/* Cartes dans les onglets 2 et 3
   (Réseaux / Hype connexion)    */

.tab-card {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 24px 20px 20px;
    background-color: #f7f9fc;
    border-radius: 12px;
    border: 1px solid #e1e5ee;
    box-shadow: 0 4px 10px rgba(10, 39, 69, 0.03);
}

.tab-card-title {
    color: #0A2745;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.tab-card p,
.tab-card li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555555;
}

.tab-card ul {
    margin: 0;
    padding-left: 20px;
}

/* ============================= */
/* FOOTER (identique esprit)     */
/* ============================= */

.main-footer {
    margin-top: 60px;
    padding: 30px 0;
    background-color: #0A2745;
    color: #ffffff;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.footer-copy {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.7;
}

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

@media (max-width: 1024px) {
    /* rien de spécifique pour l’instant */
}

@media (max-width: 768px) {

    .hero {
        padding: 0 1.5rem;
        background-image: url("/assets/images/header_responsive.png");
        min-height: 60vh;
    }

    .intro-home {
        padding: 0 16px;
    }

    .tabs-container {
        padding: 0 16px;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
    }

    .investigation-section {
        padding: 0 16px 20px;
    }

    .investigation-block,
    .tab-card {
        padding: 20px 16px 18px;
    }
}
