/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== LOGO & TAGLINE (sur hero) ===== */
.logo {
    font-family: 'Climate Crisis', sans-serif;
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 400;
    text-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 8vh 20px;
    text-align: center;
    background: transparent;
}

/* ===== CONTENT SECTIONS ===== */
.content-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.info-row.reverse {
    flex-direction: row-reverse;
}

.row-image {
    flex: 0.8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.row-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.info-row:hover .row-image img {
    transform: scale(1.05);
}

.row-text {
    flex: 1.2;
}

.block-title {
    font-family: 'Climate Crisis', sans-serif;
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
}

.block-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

/* ===== BOUTONS ===== */
.interest-btn {
    background-color: #1a1a1a;
    color: white;
    font-size: 1.1rem;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.interest-btn:hover {
    background-color: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* ===== OVERLAY & BLUR ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay.active .overlay-content {
    transform: translateY(0);
}

.overlay-title {
    font-family: 'Climate Crisis', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 2px;
}

.profiles-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 40px;
}

.profile-card {
    text-decoration: none;
    color: #1a1a1a;
    transition: transform 0.3s ease;
    width: 240px;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid transparent;
    transition: border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-card:hover .profile-image-wrapper {
    border-color: #ff6b6b;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-label {
    font-weight: 500;
    font-size: 1rem;
}

.close-btn {
    background: none;
    border: 2px solid #1a1a1a;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #1a1a1a;
    color: white;
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .logo {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .block-title {
        font-size: 2rem;
    }

    .profiles-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-overlay {
        padding: 6vh 20px;
    }

    .info-row,
    .info-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    /* Force l'image en premier pour tous les blocs */
    .info-row .row-image,
    .info-row.reverse .row-image {
        order: 1;
    }

    .info-row .row-text,
    .info-row.reverse .row-text {
        order: 2;
    }

    .row-text {
        text-align: center;
    }

    .hero {
        height: 60vh;
    }

    .profiles-container {
        flex-direction: column;
        align-items: center;
    }

    .overlay-content {
        padding: 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}