/* =========================================================
   HERO – BASE COMMUNE
========================================================= */

.hero {
    position: relative;
    min-height: 60vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 3rem 2rem;
    overflow: hidden;
    background: none;
}

/* Image de fond */
.hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: heroImageZoom 1.8s ease-out forwards;
}

/* Contenu */
.hero .hero-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Titre */
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s;
}

/* Texte */
.hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0;
    transform: translateY(18px);
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.9s;
}

/* Forcer le blanc */
.hero h1,
.hero p,
.hero em {
    color: #ffffff;
}




/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroImageZoom {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroTextFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   SECTION RESEARCH
========================================================= */

.research-section {
    padding: 6rem 0;
    background: #ffffff;
}

.research-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

/* =========================================================
   RESEARCH CARD
========================================================= */

.research-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;

    opacity: 0;
    transform: translateX(-60px);

    transition:
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.8s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   IMAGE DANS RESEARCH CARD
========================================================= */

.research-image {
    flex: 0 0 280px;
    max-width: 280px;
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


@media (max-width: 768px) {

    .research-image {
        max-width: 100%;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .research-image img {
        height: 200px;
    }
}


.research-card.reverse {
    flex-direction: row-reverse;
    transform: translateX(60px);
}

.research-card.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.research-card:hover {
    transform: translateX(0) translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

/* Texte */
.research-text {
    max-width: 600px;
}

.research-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.research-text p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* =========================================================
   BOUTONS
========================================================= */

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-secondary.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Bouton générique */
.btn {
    background: #8d8d8d;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0088cc;
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   RESPONSIVE — TABLETTE
========================================================= */

@media (max-width: 1024px) {
    .hero {
        padding: 2.5rem 1.5rem;
        min-height: 55vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .research-section {
        padding: 5rem 0;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .research-card,
    .research-card.reverse {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        transform: translateY(40px);
    }

    .research-card.slide-in {
        transform: translateY(0);
    }

    .research-text {
        max-width: 100%;
    }
}

/* =========================================================
   RESPONSIVE — PETIT MOBILE
========================================================= */

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0.8rem;
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .research-section {
        padding: 3.5rem 0;
    }
}



