/* ========================================
   INFOS / CONTACT PAGE
   ======================================== */

/* Reset & base */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}

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

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-image: url('corrige_par_gpt/img/hero/headerbg.jpg');
    background-image: image-set(
        url('corrige_par_gpt/img/hero/headerbg.webp') type('image/webp'),
        url('corrige_par_gpt/img/hero/headerbg.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.header .container {
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.nav {
    margin-top: 20px;
    display: flex;
    gap: 24px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #ffbc47;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #ffbc47;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
    left: 0;
}

/* Main content */
.main-content {
    flex: 1;
    margin-top: 50px;
    margin-bottom: 50px;
}

.main-content .container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 280px;
    padding: 30px;
}

.left-column {
    border-right: 1px solid #eee;
}

.left-column h2,
.right-column h2 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 24px;
    font-weight: 700;
}

.left-column p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info > li {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #333;
}

.contact-info strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
    font-weight: 600;
}

.contact-info a {
    color: #ffbc47;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #e5a530;
    text-decoration: underline;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

.contact-info ul li {
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background-color: #fafafa;
    color: #333;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    color: #999;
}

.social-links {
    margin-top: 8px;
    display: inline-flex;
    gap: 20px;
}

.social-links a {
    font-family: 'DM Sans', sans-serif;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffbc47;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 70px 0;
    }

    .logo {
        font-size: 2.8rem;
    }

    .main-content .container {
        flex-direction: column;
    }

    .left-column {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 50px 0;
    }

    .logo {
        font-size: 2rem;
    }

    .left-column,
    .right-column {
        padding: 20px 16px;
    }
}
