/* ========================================
   INFOS / CONTACT PAGE
   (couleurs & typo : voir theme.css)
   ======================================== */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--paper);
}

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

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

/* ---- Header ---- */
.header {
    position: relative;
    padding: 110px 0 96px;
    background-color: #16181d;   /* fallback sombre derrière la photo, quel que soit le mode */
    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;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.40) 0%,
        rgba(0, 0, 0, 0.64) 100%
    );
}

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

.header-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 18px;
}

.logo {
    font-family: var(--font-title);
    font-optical-sizing: auto;
    font-variation-settings: "YEAR" 1979;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.04;
    color: #fff;
    margin: 0;
}

.header .stripe { margin: 22px 0 0; }

.nav {
    margin-top: 26px;
    display: flex;
    gap: 28px;
}

.nav a {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--t);
}

.nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--orange);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width var(--t);
}

.nav a:hover,
.nav a.active { color: var(--orange-amber); }

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

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

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

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

.left-column { border-right: 1px solid var(--line); }

.left-column h2,
.right-column h2 {
    font-family: var(--font-title);
    font-optical-sizing: auto;
    font-variation-settings: "YEAR" 1979;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 8px;
    font-weight: 400;
}

/* petit liseré sous chaque titre de section */
.left-column h2::after,
.right-column h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 3px;
    margin: 12px 0 24px;
    background: var(--orange-grad);
}

.left-column p {
    font-size: 1.02rem;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 56ch;
}

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

.contact-info > li {
    margin-bottom: 22px;
    font-size: 1rem;
    color: var(--ink);
}

.contact-info strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

.contact-info a {
    color: var(--blue-bright);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast);
}

.contact-info a:hover {
    color: var(--orange);
    text-decoration: underline;
}

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

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

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

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

    .left-column {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-bottom: 32px;
        margin-bottom: 8px;
    }
}

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

    .left-column,
    .right-column { padding: 10px 4px; }
}
