/* ============================================================
   Poles Section
   ============================================================ */

.poles-section {
    background-color: #080c16;
    padding: 96px 0;
    font-family: var(--primary-font);
}

.poles-section__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── En-tête ── */
.poles-section__header {
    text-align: center;
    margin-bottom: 64px;
}

.poles-section__eyebrow {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--color-primary, #00a1d6);
    margin: 0 0 16px;
}

.poles-section__title {
    font-size: 36px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -0.72px;
    color: #f1f5f9;
    margin: 0;
}

/* ── Grille ── */
.poles-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* ── Carte ── */
.poles-section__card {
    position: relative;
    border-radius: 4px;
    border: 1px solid #252b37;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.5s ease;
    text-decoration: none;
    color: inherit;
}

.poles-section__card:hover {
    border-color: rgba(0, 161, 214, 0.4);
}

/* ── Zone image ── */
.poles-section__card-image {
    position: relative;
    height: 384px;
    overflow: hidden;
    flex-shrink: 0;
}

.poles-section__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.poles-section__card:hover .poles-section__card-img {
    transform: scale(1.04);
}

.poles-section__card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.poles-section__card-video.is-visible {
    opacity: 1;
}

/* Gradient bas → transparent, masque le bas de l'image */
.poles-section__card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #080c16 0%, rgba(8, 12, 22, 0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Label + nom sur l'image */
.poles-section__card-heading {
    position: absolute;
    bottom: 16px;
    left: 24px;
    z-index: 3;
}

.poles-section__card-label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #25c0f4;
    margin: 0 0 4px;
    line-height: 1;
}

.poles-section__card-name {
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    color: #f1f5f9;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ── Body ── */
.poles-section__card-body {
    padding: 24px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #080c16;
}

.poles-section__card-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    color: #8596ad;
    margin: 0 0 28px;
}

/* Bullets */
.poles-section__card-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 26px;
}

.poles-section__card-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.poles-section__card-bullet-dot {
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background-color: var(--color-primary, #00a1d6);
}

/* Bouton */
.poles-section__card-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--color-primary, #00a1d6), var(--color-secondary, #223c81));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.3s ease;
    align-self: flex-start;
    border: none;
}

.poles-section__card-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .poles-section {
        padding: 64px 0;
    }

    .poles-section__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .poles-section__card-image {
        height: 300px;
    }

    .poles-section__card-name {
        font-size: 36px;
    }

    .poles-section__card-bullets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .poles-section__container {
        padding: 0 16px;
    }

    .poles-section__title {
        font-size: 28px;
        line-height: 34px;
    }

    .poles-section__card-body {
        padding: 20px 24px 28px;
    }
}
