/* ---------- POLICES ---------- */
@font-face {
    font-family: 'hoover-light';
    src: url('../font/hoover/hoover-light.woff2') format('woff2'),
         url('../font/hoover/hoover-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'hoover-regular';
    src: url('../font/hoover/hoover-regular.woff2') format('woff2'),
         url('../font/hoover/hoover-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* ---------- GLOBAL ---------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'hoover-light', sans-serif;
    background: #ffffff;
    color: #111111;
    line-height: 1.5;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- HEADER ---------- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-family: 'hoover-regular', sans-serif;
    font-size: 1rem;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    font-size: 1rem;
}

.main-nav a {
    font-family: 'hoover-regular', sans-serif;
    text-decoration: none;
    color: #111;
    position: relative;
    font-size: 1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.main-nav a:hover::after {
    opacity: 1;
}

/* ---------- MAIN ---------- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ---------- INFOS / 3 COLONNES ---------- */
.infos-container-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Barre horizontale en haut (même largeur que filets verticaux) */
.top-bar {
    width: 100%;
    height: 1px; /* largeur identique aux filets verticaux */
    background-color: #000;
    position: relative;
}

/* conteneur des colonnes */
.infos-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* colonne centrale plus large */
    gap: 0;
    max-width: 2400px; /* bloc très large */
    width: 100%;
    min-height: 100vh; /* hauteur pleine pour filets verticaux */
    position: relative;
}

/* Barre verticale gauche et droite (raccord avec barre horizontale) */
.infos-col {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Décalage colonne gauche pour aligner avec logo */
.infos-col-left {
    padding-left: 2rem; 
}

/* filets verticaux noirs */
.infos-col-middle::before,
.infos-col-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px; /* même que barre horizontale */
    background-color: #000;
}

.infos-col-middle::before {
    left: 0; /* côté gauche de la colonne centrale */
}

.infos-col-right::before {
    left: 0; /* côté gauche de la colonne droite */
}

/* texte colonnes */
.infos-col p {
    font-family: 'hoover-regular', sans-serif;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

/* liens */
.infos-col a {
    color: #111;
    text-decoration: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .infos-container {
        max-width: 100%;
        grid-template-columns: 1fr 2fr 1fr;
    }
}

@media (max-width: 900px) {
    .infos-container {
        grid-template-columns: 1fr;
    }

    .infos-col-middle::before,
    .infos-col-right::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .main-nav {
        gap: 1rem;
    }

    .infos-col-left {
        padding-left: 0;
    }
}
