/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-main: "Urbanist", "DM Sans", sans-serif;
    --color-black: #000000;
    --color-white: #ffffff;
    --overlay-dark-85: rgba(0, 0, 0, 0.85);
    --overlay-dark-75: rgba(0, 0, 0, 0.75);
    --overlay-dark-60: rgba(0, 0, 0, 0.60);
    --overlay-dark-40: rgba(0, 0, 0, 0.40);
    --overlay-dark-25: rgba(0, 0, 0, 0.25);
    --overlay-dark-20: rgba(0, 0, 0, 0.20);
    --text-dark-60: rgba(0, 0, 0, 0.60);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: #ffffff;
    color: var(--color-white);
    overflow-x: hidden;
}

/* ===== HERO BG (image fixe) ===== */
#hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

#hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== HERO OVERLAY (logos + titre + flèche) ===== */
#hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

#hero-overlay a,
#hero-overlay button {
    pointer-events: all;
}

/* Logos haut */
.hero-logos-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2.5rem;
}

.hero-logos-top img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Titre centré */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    flex: 1;
}

/* Logos bas */
.hero-logos-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 2.5rem;
}

.hero-logos-bottom img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Flèche scroll */
.hero-scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-white);
    animation: arrow-blink 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@keyframes arrow-blink {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

/* ===== MAIN CONTENT ===== */
#main-content {
    position: relative;
    z-index: 5;
}

.hero-spacer {
    height: 100vh;
}

/* ===== TYPOGRAPHIE ===== */
h1 {
    font-family: var(--font-main);
    font-weight: 20;
    font-size: 5rem;
    line-height: 0.7;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-main);
    font-weight: 20;
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 0.249em;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.sous-titre {
    font-family: var(--font-main);
    font-weight: 25;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-align: center;
}

.text {
    font-size: 1rem;
    font-weight: 20;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    line-height: 1.5;
    display: block;
    margin-bottom: 0.8em;
}

.text-bold {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    line-height: 1.5;
    display: block;
    margin-bottom: 0.8em;
}

.text-light-noir {
    font-size: 1rem;
    font-weight: 20;
    color: var(--color-black);
    line-height: 1.8;
    display: block;
    margin-bottom: 0.8em;
}

.text-light-noir strong {
    font-weight: 600;
}

/* ===== BLINK EFFECT ===== */
.blink {
    // animation: blink-effect 10s ease-in-out infinite;
}

.blink-dark {
    // animation: blink-effect 10s ease-in-out infinite;
    // color: rgba(0, 0, 0, 0.6);
}

@keyframes blink-effect {
    0%, 40%  { opacity: 1; }
    50%      { opacity: 0; }
    60%, 100% { opacity: 1; }
}

/* ===== SECTIONS DARK (sur image, fond semi-transparent) ===== */
.section-dark-overlay {
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
}

/* ===== SECTIONS LIGHT (fond blanc) ===== */
.section-light {
    background: #ffffff;
    color: var(--color-black);
}

/* ===== LAYOUT COLONNES ===== */
.column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ===== SECTION INTENTIONS ===== */
#intentions-1 h2,
#intentions-2 h2 {
    margin-bottom: 2rem;
}

/* ===== SECTION QUESTION ===== */
#question {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 7rem 15rem;
}

.question-wrapper {
    max-width: 1000px;
    text-align: center;
}

.sous-titre.dark {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 200;
    line-height: 1.25;
    text-align: center;
}

/* ===== SECTION CREDITS ===== */
#credits {
    background: #ffffff;
    padding: 6rem 4rem;
}

#credits h2 {
    color: #000000;
    line-height: 2.2;
    margin-bottom: 3rem;
    letter-spacing: 0.2em;
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== SECTION LOGOS ===== */
#logos {
    background: #ffffff;
    padding: 7rem 2rem;
    text-align: center;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.logos-row:last-child {
    margin-bottom: 0;
}

.logos-row img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.logos-row img:hover {
    opacity: 1;
}

.logos-row-1 img {
    height: 55px;
}

.logos-row-2 img {
    height: 45px;
}

.logos-row-3 img {
    height: 60px;
}

/* ===== FOOTER ===== */
#footer {
    background: #000000;
    padding: 1.5rem 2rem;
}

.footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
    font-weight: 20;
    color: var(--color-white);
    font-family: var(--font-main);
}

.button-pill {
    font-size: 0.9rem;
    font-weight: 20;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999rem;
    padding: 0.4rem 1.4rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.05em;
}

.button-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 1);
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-header {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-header a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contact-header a:hover {
    opacity: 1;
}

.contact-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.contact-wrapper {
    width: 100%;
    max-width: 600px;
}

.contact-wrapper h1 {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 300;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999rem;
    color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.6rem 2rem;
    letter-spacing: 0.05em;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-top: 0.5rem;
}

.contact-form button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.form-success {
    display: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
    padding: 1rem 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    #question {
        padding: 7rem 8rem;
    }

    .sous-titre.dark {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
        line-height: 1;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .sous-titre {
        font-size: 1.2rem;
    }

    .hero-logos-top img {
        height: 32px;
    }

    .hero-logos-bottom img {
        height: 28px;
    }

    .column-layout {
        grid-template-columns: 1fr;
    }

    .credits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #question {
        padding: 4rem 1.5rem;
    }

    .sous-titre.dark {
        font-size: 1.4rem;
    }

    .logos-row {
        gap: 2rem;
    }

    .logos-row img,
    .logos-row-1 img,
    .logos-row-2 img,
    .logos-row-3 img {
        height: 36px;
    }

    #credits {
        padding: 4rem 1.5rem;
    }

    .section-dark-overlay {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-logos-top,
    .hero-logos-bottom {
        padding: 1.2rem;
    }

    .hero-logos-top img {
        height: 24px;
    }

    .hero-logos-bottom img {
        height: 22px;
    }
}
