/* ============================================================
   HISTOIRE INTERVIEWS - Grille des podcasts et interviews
   ============================================================ */

/* ============================================================
   SECTION PRINCIPALE
   ============================================================ */

.histoire-interviews-section {
    position: relative;
    width: 100%;
    padding: 6rem 0;
    background-color: #FAFAFA;
    overflow: hidden;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.histoire-interviews-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   EN-TETE AVEC TITRE DECORATIF
   ============================================================ */

.histoire-interviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.histoire-interviews-title-wrapper {
    position: relative;
    display: inline-block;
}

.histoire-interviews-title-decorative {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Birthstone Bounce', cursive;
    font-size: 128px;
    color: var(--color-primary);
    opacity: 0.3;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.histoire-interviews-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading, 'Lexend Deca', sans-serif);
    font-size: 42px;
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
    text-shadow: 0 0 5px #FAFAFA, 0 0 10px #FAFAFA, 0 0 15px #FAFAFA, 0 0 20px #FAFAFA, 0 0 25px #FAFAFA, 0 0 30px #FAFAFA, 0 0 35px #FAFAFA, 0 0 40px #FAFAFA;
}

/* ============================================================
   GRILLE DES INTERVIEWS
   ============================================================ */

.histoire-interviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ============================================================
   CARTE INTERVIEW
   ============================================================ */

.histoire-interview-card {
    display: block;
    background: var(--site-white, #FFFFFF);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.histoire-interview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Image wrapper */
.histoire-interview-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f0f0f0;
}

.histoire-interview-image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.histoire-interview-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s ease;
}

.histoire-interview-card:hover .histoire-interview-image {
    transform: scale(1.05);
}

/* Overlay avec icone play */
.histoire-interview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.histoire-interview-card:hover .histoire-interview-overlay {
    opacity: 1;
}

.histoire-interview-play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.histoire-interview-play-icon svg {
    width: 32px;
    height: 32px;
    margin-left: 4px; /* Centrage optique du triangle */
}

.histoire-interview-card:hover .histoire-interview-play-icon {
    transform: scale(1.1);
    background: var(--site-white, #FFFFFF);
}

/* Contenu de la carte */
.histoire-interview-content {
    padding: 1.25rem;
}

.histoire-interview-platform {
    display: inline-block;
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.histoire-interview-title {
    font-family: var(--font-heading, 'Lexend Deca', sans-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.histoire-cta-wrapper {
    background: linear-gradient(135deg, var(--color-primary) 0%, #008888 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.histoire-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.histoire-cta-title {
    font-family: var(--font-heading, 'Lexend Deca', sans-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 1rem 0;
}

.histoire-cta-text {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
}

.histoire-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--site-white, #FFFFFF);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.histoire-cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   RESPONSIVE - TABLETTE
   ============================================================ */

@media (max-width: 1024px) {
    .histoire-interviews-section {
        padding: 4rem 0;
    }

    .histoire-interviews-title-decorative {
        font-size: 96px;
    }

    .histoire-interviews-title {
        font-size: 32px;
    }

    .histoire-interviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .histoire-cta-wrapper {
        padding: 2.5rem;
    }

    .histoire-cta-title {
        font-size: 1.75rem;
    }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .histoire-interviews-section {
        padding: 3rem 0;
    }

    .histoire-interviews-container {
        padding: 0 1rem;
    }

    .histoire-interviews-title-decorative {
        font-size: 64px;
    }

    .histoire-interviews-title {
        font-size: 26px;
    }

    .histoire-interviews-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 3rem;
    }

    .histoire-interview-card {
        display: grid;
        grid-template-columns: 120px 1fr;
    }

    .histoire-interview-image-wrapper {
        aspect-ratio: 1;
        border-radius: 12px 0 0 12px;
    }

    .histoire-interview-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem;
    }

    .histoire-interview-play-icon {
        width: 40px;
        height: 40px;
    }

    .histoire-interview-play-icon svg {
        width: 20px;
        height: 20px;
        margin-left: 2px;
    }

    .histoire-cta-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .histoire-cta-title {
        font-size: 1.5rem;
    }

    .histoire-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .histoire-cta-button {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================================
   RESPONSIVE - PETIT MOBILE
   ============================================================ */

@media (max-width: 480px) {
    .histoire-interviews-section {
        padding: 2rem 0;
    }

    .histoire-interviews-title-decorative {
        font-size: 48px;
    }

    .histoire-interviews-title {
        font-size: 22px;
    }

    .histoire-interview-card {
        grid-template-columns: 100px 1fr;
    }

    .histoire-interview-content {
        padding: 0.75rem;
    }

    .histoire-interview-platform {
        font-size: 0.6875rem;
    }

    .histoire-interview-title {
        font-size: 0.875rem;
    }

    .histoire-cta-title {
        font-size: 1.25rem;
    }

    .histoire-cta-text {
        font-size: 0.9375rem;
    }
}
