/*
 * Page Secteurs
 * Shortcode : [lpl_secteurs]
 */

.lpl-secteurs-page {
    width: 100%;
}

.lpl-secteurs-intro {
    max-width: 860px;
    margin-bottom: 52px;
}

.lpl-secteurs-intro h1,
.lpl-secteurs-section-heading h2 {
    color: #0d1b35;
}

.lpl-secteurs-intro h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lpl-secteurs-intro p,
.lpl-secteurs-section-heading p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.lpl-secteurs-intro p {
    max-width: 820px;
    margin: 0;
}

/*
 * Petits libellés de section :
 * Nos secteurs, Disponibilités, Nos propriétés.
 */
.lpl-secteurs-page .lpl-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: #1f5fbf;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lpl-secteurs-page .lpl-section-kicker::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    flex: 0 0 42px;
    border-radius: 999px;
    background: #1f5fbf;
}

.lpl-secteurs-section {
    margin-top: 56px;
}

.lpl-secteurs-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.lpl-secteurs-section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lpl-secteurs-section-heading p {
    margin: 0;
}

.lpl-secteurs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lpl-secteur-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.lpl-secteur-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 95, 191, 0.28);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.13);
}

.lpl-secteur-card-featured {
    border-color: rgba(31, 95, 191, 0.24);
}

.lpl-secteur-card-media {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    background: #eaf0fa;
}

.lpl-secteur-card-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lpl-secteur-card:hover .lpl-secteur-card-image {
    transform: scale(1.035);
}

.lpl-secteur-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 20px;
    color: #1f5fbf;
    font-weight: 700;
    text-align: center;
}

.lpl-secteur-card-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #1f5fbf;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.lpl-secteur-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.lpl-secteur-card-content h3 {
    margin: 0 0 12px;
    color: #0d1b35;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.lpl-secteur-card-stats {
    margin: 0 0 14px;
    color: #475569;
    font-weight: 700;
}

.lpl-secteur-card-status {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.55;
}

.lpl-secteur-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.lpl-secteur-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.lpl-btn-primary {
    border: 1px solid #1f5fbf;
    background: #1f5fbf;
    color: #fff !important;
}

.lpl-btn-primary:hover {
    border-color: #12376f;
    background: #12376f;
    color: #fff !important;
}

.lpl-btn-secondary {
    border: 1px solid #1f5fbf;
    background: #fff;
    color: #1f5fbf !important;
}

.lpl-btn-secondary:hover {
    background: #eef4ff;
    color: #12376f !important;
}

.lpl-secteurs-section-all {
    margin-top: 72px;
    padding-top: 52px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 1050px) {

    .lpl-secteurs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lpl-secteurs-intro {
        margin-bottom: 44px;
    }
}

@media (max-width: 680px) {

    .lpl-secteurs-intro {
        margin-bottom: 36px;
    }

    .lpl-secteurs-intro h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .lpl-secteurs-intro p,
    .lpl-secteurs-section-heading p {
        font-size: 16px;
        line-height: 1.65;
    }

    .lpl-secteurs-page .lpl-section-kicker {
        gap: 9px;
        margin-bottom: 12px;
        font-size: 14px;
        letter-spacing: 0.07em;
    }

    .lpl-secteurs-page .lpl-section-kicker::before {
        width: 32px;
        flex-basis: 32px;
    }

    .lpl-secteurs-section {
        margin-top: 40px;
    }

    .lpl-secteurs-section-heading {
        margin-bottom: 22px;
    }

    .lpl-secteurs-section-heading h2 {
        font-size: 32px;
    }

    .lpl-secteurs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lpl-secteur-card-media,
    .lpl-secteur-card-image,
    .lpl-secteur-card-placeholder {
        min-height: 200px;
        height: 200px;
    }

    .lpl-secteur-card-content {
        padding: 20px;
    }

    .lpl-secteur-card-content h3 {
        font-size: 24px;
    }

    .lpl-secteur-card-actions {
        flex-direction: column;
    }

    .lpl-secteur-card-actions a {
        width: 100%;
    }

    .lpl-secteurs-section-all {
        margin-top: 54px;
        padding-top: 40px;
    }
}




