/* =============================================
   POLE PAGE LAYOUT — inspired by /contact
   ============================================= */
:root {
    --pole-accent: #1a56db;
    --pole-accent-light: #e8f0fe;
}

.pole-page {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.pole-left-pane {
    position: sticky;
    top: 0;
    width: 45%;
    height: 100vh;
    height: 100dvh;
    flex-shrink: 0;
    overflow: hidden;
}

.pole-left-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.pole-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 18, 40, .75) 0%, rgba(10, 18, 40, .22) 50%, rgba(10, 18, 40, .04) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px;
    color: #fff;
}

.pole-left-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffffff !important;
    opacity: 0.9;
    margin-bottom: 12px;
}

.pole-left-overlay h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff !important;
    text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.pole-left-overlay p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    margin: 0 0 32px;
    max-width: 340px;
    line-height: 1.6;
}

.pole-left-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pole-tag {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

.pole-right-pane {
    flex: 1;
    overflow-y: auto;
    padding: 56px 56px 80px;
    background: #F9F8F7;
}

.pole-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

.pole-service-num {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--pole-accent);
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.pole-service-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    border: 1px solid #E5E5E5;
    border-top: 3px solid var(--pole-accent);
    transition: box-shadow .2s, transform .2s;
}

.pole-service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #121111;
}

.pole-service-card p {
    font-size: .87rem;
    color: #6B6866;
    margin: 0;
    line-height: 1.5;
}

.pole-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #121111;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E5E5;
}

.pole-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 56px;
}

.pole-accordion-item {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
}

.pole-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
    color: #121111;
    transition: background .15s;
    font-family: inherit;
}

.pole-accordion-trigger:hover {
    background: #F5F4F3;
}

.pole-accordion-chevron {
    transition: transform .3s;
    color: #8D8A88;
    flex-shrink: 0;
}

.pole-accordion-item.open .pole-accordion-chevron {
    transform: rotate(180deg);
}

.pole-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.pole-accordion-body-inner {
    padding: 0 20px 18px;
    font-size: .9rem;
    color: #6B6866;
    line-height: 1.6;
}

.pole-etudes-section {
    margin-bottom: 56px;
}

.pole-full-width-wrapper {
    width: 100%;
    background: #F9F8F7;
    position: relative;
    z-index: 10;
}

.pole-full-width-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 56px 80px;
}

.pole-full-width-section .pole-faq-section,
.pole-full-width-section .pole-cta {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .pole-full-width-section {
        padding: 40px 24px 60px;
    }
}

.pole-cta {
    background: #121111;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pole-cta h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.2rem;
}

.pole-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
}

.pole-cta-btn {
    background: #fff;
    color: #121111;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}

.pole-cta-btn:hover {
    background: #F9F8F7;
    transform: scale(1.02);
}

.pole-breadcrumb {
    font-size: 13px;
    color: #8D8A88;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pole-breadcrumb a {
    color: #8D8A88;
    text-decoration: none;
}

.pole-breadcrumb a:hover {
    color: #121111;
}

@media (max-width: 900px) {
    .pole-page {
        flex-direction: column;
        min-height: auto;
        overflow: visible;
    }

    .pole-left-pane {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 480px;
    }

    .pole-left-pane img {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .pole-left-overlay {
        position: relative;
        z-index: 1;
        padding: 120px 24px 48px;
        min-height: 480px;
        justify-content: flex-start;
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.75) 0%, 
            rgba(0, 0, 0, 0.3) 40%, 
            rgba(0, 0, 0, 0.6) 100%) !important;
    }

    .pole-right-pane {
        padding: 32px 24px 60px;
    }
}

.pole-page-digital {
    --pole-accent: #0d42b8;
    --pole-accent-light: #e8f0fe;
}

.pole-page-environnemental {
    --pole-accent: #059669;
    --pole-accent-light: #d1fae5;
}

.pole-page-environnemental .pole-left-overlay {
    background: linear-gradient(to top, rgba(5, 78, 49, .78) 0%, rgba(5, 78, 49, .20) 50%, rgba(5, 78, 49, .03) 100%);
}

.pole-page-ingenierie {
    --pole-accent: #9333ea;
    --pole-accent-light: #f3e8ff;
}

.pole-page-ingenierie .pole-left-overlay {
    background: linear-gradient(to top, rgba(30, 10, 55, .80) 0%, rgba(30, 10, 55, .22) 50%, rgba(30, 10, 55, .03) 100%);
}