/* ========================================
   Pôles d'activités WASSA (Agrobusiness, Environnement)
   ======================================== */

/* En-tête avec photo */
.pole-hero {
    position: relative;
    min-height: 520px;
    height: 72vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.pole-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 59, 31, 0.35) 0%, rgba(11, 59, 31, 0.75) 55%, rgba(8, 35, 19, 0.95) 100%);
}
.pole-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--ws-wrap);
    margin: 0 auto;
    padding: 0 20px 70px;
    color: #fff;
}
.pole-hero-content h1 {
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    color: #fff;
    margin: 16px 0 14px;
    line-height: 1.1;
}
.pole-hero-content h1 .hl { color: var(--ws-yellow); }
.pole-hero-content > p {
    font-size: clamp(1.02rem, 2vw, 1.25rem);
    max-width: 680px;
    opacity: 0.95;
    margin-bottom: 26px;
}
.pole-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}
.pole-kicker i { color: var(--ws-yellow); }
.pole-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.pole-crumb a { color: var(--ws-yellow); text-decoration: none; }
.pole-crumb a:hover { color: #fff; }
.pole-crumb .sep { color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; }
.pole-crumb .cur { color: #fff; font-weight: 600; }

/* Introduction */
.pole-intro-band {
    padding: 80px 0 30px;
}
.pole-wrap {
    max-width: var(--ws-wrap);
    margin: 0 auto;
    padding: 0 20px;
}
.pole-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
}
.pole-eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ws-green-600);
    margin-bottom: 10px;
}
.pole-intro-grid h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: var(--ws-ink);
    line-height: 1.2;
}
.pole-intro-grid h2 .hl { color: var(--ws-green-600); }
.pole-intro-grid p {
    color: var(--ws-muted);
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0;
}
.pole-stats {
    display: flex;
    gap: 30px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.pole-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--ws-green-600);
    line-height: 1;
}
.pole-stat span { color: var(--ws-muted); font-size: 0.9rem; }

/* Grille des activités */
.pole-activities { padding: 40px 0 90px; }
.pole-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.pole-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pole-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}
.pole-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ws-green-50);
}
.pole-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.pole-card:hover .pole-card-media img { transform: scale(1.07); }
.pole-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 59, 31, 0.45) 100%);
}
.pole-card-num {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ws-green-700);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 5px 11px;
    border-radius: 30px;
}
.pole-card-body {
    position: relative;
    padding: 40px 26px 28px;
    flex: 1;
}
.pole-card-icon {
    position: absolute;
    top: -30px;
    left: 26px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-green-600);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.35);
    z-index: 2;
}
.pole-card h3 {
    font-size: 1.2rem;
    color: var(--ws-ink);
    margin-bottom: 10px;
    line-height: 1.4;
}
.pole-card p {
    color: var(--ws-muted);
    line-height: 1.7;
    font-size: 0.97rem;
    margin: 0;
}
.pole-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.pole-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 20px;
    background: var(--ws-green-50);
    color: var(--ws-green-700);
    border: 1px solid var(--ws-green-100);
}

/* En-têtes de section */
.pole-section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.pole-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ws-ink); margin-bottom: 12px; }
.pole-section-head p { color: var(--ws-muted); font-size: 1.05rem; line-height: 1.8; margin: 0; }
.pole-section-head.is-light h2 { color: #fff; }
.pole-section-head.is-light .pole-eyebrow { color: var(--ws-yellow); }

/* Produits */
.pole-products { padding: 90px 0; background: var(--ws-green-50); }
.pole-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}
.pole-product {
    position: relative;
    aspect-ratio: 4 / 3.4;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.pole-product img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.pole-product:hover img { transform: scale(1.08); }
.pole-product::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 35, 19, 0.88) 100%);
    pointer-events: none;
}
.pole-product-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    padding: 16px 18px;
    color: #fff;
}
.pole-product-label strong { display: block; font-size: 1.12rem; }
.pole-product-label span { font-size: 0.85rem; opacity: 0.88; }
.pole-product.is-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ws-green-700), #3f8f2f);
}
.pole-product.is-icon::after { background: linear-gradient(180deg, transparent 50%, rgba(8, 35, 19, 0.55) 100%); }
.pole-product-ico { font-size: 3.2rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; }

/* Démarche */
.pole-process {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--ws-green-900) 0%, #0f3d22 100%);
}
.pole-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.pole-step {
    position: relative;
    padding: 34px 26px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}
.pole-step:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-6px); }
.pole-step-num {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(251, 182, 20, 0.25);
    line-height: 1;
}
.pole-step > i { font-size: 1.8rem; color: var(--ws-yellow); margin-bottom: 18px; display: block; }
.pole-step h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.pole-step p { color: rgba(255, 255, 255, 0.78); line-height: 1.7; margin: 0; font-size: 0.96rem; }

/* Pour qui + engagements */
.pole-split { padding: 90px 0; }
.pole-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pole-split h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: var(--ws-ink); margin-bottom: 26px; }
.pole-audience { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pole-audience li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid var(--ws-line);
    border-radius: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pole-audience li:hover { border-color: rgba(21, 128, 61, 0.35); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07); }
.pole-audience-ico {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ws-green-50);
    color: var(--ws-green-600);
    font-size: 1.2rem;
}
.pole-audience strong { display: block; color: var(--ws-ink); margin-bottom: 3px; }
.pole-audience span { color: var(--ws-muted); font-size: 0.95rem; line-height: 1.6; }
.pole-commit { position: relative; }
.pole-commit img { width: 100%; height: 560px; object-fit: cover; border-radius: 24px; display: block; }
.pole-commit-box {
    position: absolute;
    left: -30px; right: 30px; bottom: -30px;
    background: #fff;
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}
.pole-commit-box h3 { color: var(--ws-ink); font-size: 1.3rem; margin-bottom: 14px; }
.pole-commit-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pole-commit-box li { display: flex; gap: 10px; color: var(--ws-muted); line-height: 1.5; }
.pole-commit-box li i { color: var(--ws-green-600); margin-top: 3px; }

/* Bandeau CTA */
.pole-cta-band {
    position: relative;
    margin: 0 20px 90px;
    border-radius: 26px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.pole-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 59, 31, 0.95) 0%, rgba(21, 128, 61, 0.82) 100%);
}
.pole-cta-inner {
    position: relative;
    z-index: 1;
    max-width: var(--ws-wrap);
    margin: 0 auto;
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
}
.pole-cta-inner h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.pole-cta-inner p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 560px; }
.pole-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pole-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pole-btn-yellow { background: var(--ws-yellow); color: var(--ws-green-900); }
.pole-btn-yellow:hover { background: #fff; color: var(--ws-green-900); transform: translateY(-2px); }
.pole-btn-outline { border: 2px solid rgba(255, 255, 255, 0.7); color: #fff; }
.pole-btn-outline:hover { background: #fff; color: var(--ws-green-800); }

/* Autre pôle */
.pole-other { padding: 0 0 80px; }
.pole-other-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    background: var(--ws-green-50);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}
.pole-other-card:hover { box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12); }
.pole-other-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.pole-other-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.pole-other-body h3 { font-size: 1.7rem; color: var(--ws-ink); margin: 4px 0 10px; }
.pole-other-body p { color: var(--ws-muted); margin: 0 0 18px; }
.pole-other-link { color: var(--ws-green-600); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.pole-other-card:hover .pole-other-link i { transform: translateX(5px); }
.pole-other-link i { transition: transform 0.3s ease; }

/* Crédits photos */
.pole-credits {
    padding: 0 0 50px;
    font-size: 0.78rem;
    color: #94a3b8;
}
.pole-credits summary { cursor: pointer; }
.pole-credits ul { list-style: none; padding: 8px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pole-credits a { color: #64748b; }

/* Page d'ensemble /poles/ */
.poles-overview { padding: 80px 0 90px; }
.poles-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.pole-feature {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
}
.pole-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s ease;
}
.pole-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 59, 31, 0.1) 20%, rgba(8, 35, 19, 0.92) 100%);
}
.pole-feature:hover img { transform: scale(1.06); }
.pole-feature-body { padding: 36px; }
.pole-feature-body h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 14px 0 10px; }
.pole-feature-body p { color: rgba(255, 255, 255, 0.92); margin: 0 0 16px; }
.pole-feature-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pole-feature-list li {
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.pole-feature .pole-btn { background: var(--ws-yellow); color: var(--ws-green-900); }

@media (max-width: 991px) {
    .pole-intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .pole-other-card { grid-template-columns: 1fr; }
    .pole-other-card img { min-height: 200px; max-height: 240px; }
    .pole-split-grid { grid-template-columns: 1fr; gap: 40px; }
    .pole-commit img { height: 380px; }
    .pole-commit-box { position: relative; left: 0; right: 0; bottom: 0; margin: -60px 16px 0; }
    .pole-split { padding-bottom: 60px; }
}
@media (max-width: 575px) {
    .pole-hero { min-height: 480px; height: auto; padding-top: 140px; }
    .pole-hero-content { padding-bottom: 50px; }
    .pole-intro-band { padding: 56px 0 20px; }
    .pole-grid { grid-template-columns: 1fr; }
    .pole-products, .pole-process, .pole-split { padding: 60px 0; }
    .pole-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pole-product-label { padding: 10px 12px; }
    .pole-product-label strong { font-size: 0.98rem; }
    .pole-product-label span { display: none; }
    .pole-commit img { height: 280px; }
    .pole-cta-band { margin: 0 16px 60px; }
    .pole-cta-inner { padding: 44px 24px; }
    .pole-other-body { padding: 26px 22px; }
    .poles-overview-grid { grid-template-columns: 1fr; }
    .pole-feature { min-height: 460px; }
    .pole-feature-body { padding: 26px 22px; }
}
