/* =========================
   VISION PAGE
========================= */

:root {
    --vision-green: #c7f000;
    --vision-green-dark: #95a80f;
    --vision-bg: #0a0a0a;
    --vision-card-bg: rgba(255, 255, 255, 0.035);
    --vision-card-border: rgba(255, 255, 255, 0.07);
    --vision-text: #ffffff;
    --vision-text-muted: #9a9a9a;
    --vision-text-soft: rgba(255, 255, 255, 0.75);
}

/* =========================
   TOP WRAPPER (bg image for hero + cards)
========================= */
.vision-top-wrapper {
    position: relative;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.85) 100%),
        url('/front/images/vision-bg.png') center top / cover no-repeat;
    background-color: var(--vision-bg);
}

/* =========================
   HERO SECTION
========================= */
.vision-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 160px 0 80px;
}

.vision-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.vision-hero-title {
    margin: 0 0 28px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(52px, 8.5vw, 120px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--vision-text);
    text-align: center;
    white-space: nowrap;
}

.vision-hero-title-green {
    color: var(--vision-green);
}

.vision-hero-subtitle {
    color: var(--vision-text-soft);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.8;
    text-transform: uppercase;
    max-width: 520px;
    margin: 0 auto;
}

/* =========================
   PILIERS (4 CARDS)
========================= */
.vision-piliers {
    position: relative;
    padding: 20px 0 100px;
    overflow: hidden;
}


.piliers-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pilier-card {
    background: var(--vision-card-bg);
    border: 1px solid var(--vision-card-border);
    border-radius: 16px;
    padding: 32px 30px 36px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.pilier-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.pilier-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pilier-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.pilier-number {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
    letter-spacing: 1px;
}

.pilier-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--vision-text);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.pilier-divider {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
}

.pilier-intro {
    color: var(--vision-text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.pilier-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pilier-list li {
    position: relative;
    padding-left: 16px;
    color: var(--vision-text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.pilier-list li:last-child {
    margin-bottom: 0;
}

.pilier-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
}

.pilier-list-valeurs li strong {
    color: var(--vision-text);
    font-weight: 700;
}

/* Scroll to top button */
.vision-scroll-top {
    position: fixed;
    bottom: 50px;
    right: 40px;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vision-green);
    font-size: 36px;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.vision-scroll-top.is-shown {
    opacity: 1;
    pointer-events: auto;
}

.vision-scroll-top:hover {
    transform: translateY(-4px);
    color: var(--vision-green);
}

/* =========================
   HISTOIRE SECTION
========================= */
.vision-history {
    position: relative;
    background: #000;
    padding: 100px 0 110px;
    overflow: hidden;
}

/* Scroll animation: separated -> together */
.vision-history-image-wrapper {
    transform: translateX(-160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
}

.vision-history-content {
    transform: translateX(160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1.4s ease 0.1s;
}

.vision-history.is-visible .vision-history-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.vision-history.is-visible .vision-history-content {
    transform: translateX(0);
    opacity: 1;
}

.vision-history-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.vision-history-image-wrapper {
    position: relative;
}

.vision-history-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.vision-history-content {
    padding-left: 20px;
}

.vision-history-title {
    font-size: clamp(52px, 7vw, 82px);
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
    margin: 0 0 30px;
    line-height: 1;
}

.vision-history-quote {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.vision-history-quote-icon {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    margin-top: -4px;
    flex-shrink: 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.vision-history-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 8px;
}

.vision-history-text p:last-child {
    margin-bottom: 0;
}

.vision-history-authors {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.vision-history-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vision-history-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.vision-history-author h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--vision-text);
}

.vision-history-author span {
    font-size: 11px;
    color: #8b8b8b;
}

/* =========================
   RESPONSIVE - TABLET
========================= */
@media (max-width: 991.98px) {
    .vision-hero {
        padding: 140px 0 60px;
        min-height: 40vh;
    }

    .vision-hero-title {
        font-size: 64px;
        letter-spacing: 8px;
    }

    .vision-piliers {
        padding: 30px 0 80px;
    }

    .piliers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pilier-card {
        padding: 26px 22px 30px;
    }

    .pilier-title {
        font-size: 19px;
    }

    .pilier-list li {
        font-size: 13px;
    }

    .vision-history {
        padding: 80px 0 90px;
    }

    .vision-history-image {
        height: 420px;
        margin-bottom: 30px;
    }

    .vision-history-content {
        padding-left: 0;
    }

    .vision-history-title {
        font-size: 56px;
    }

    .vision-scroll-top {
        right: 20px;
        bottom: 40px;
    }
}

/* =========================
   RESPONSIVE - MOBILE
========================= */
@media (max-width: 767.98px) {
    .vision-hero {
        padding: 120px 0 50px;
        min-height: auto;
    }

    .vision-hero-title {
        font-size: 44px;
        letter-spacing: 5px;
        white-space: normal;
    }

    .vision-hero-subtitle {
        font-size: 10px;
        letter-spacing: 1.8px;
        line-height: 1.7;
        max-width: 340px;
    }

    .vision-hero-subtitle br {
        display: none;
    }

    .piliers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pilier-card {
        padding: 24px 20px 28px;
    }

    .pilier-title {
        font-size: 18px;
    }

    .vision-history-image {
        height: 340px;
    }

    .vision-history-title {
        font-size: 42px;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    }

    .vision-history-text p {
        font-size: 13px;
    }

    .vision-scroll-top {
        display: none;
    }
}

/* =========================
   RESPONSIVE - SMALL MOBILE
========================= */
@media (max-width: 575.98px) {
    .vision-hero {
        padding: 110px 0 40px;
    }

    .vision-hero-title {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .vision-hero-subtitle {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .vision-piliers {
        padding: 20px 0 60px;
    }

    .pilier-list li {
        font-size: 13px;
        line-height: 1.7;
    }

    .vision-history {
        padding: 60px 0 70px;
    }

    .vision-history-image {
        height: 280px;
    }

    .vision-history-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .vision-history-quote-icon {
        font-size: 32px;
    }

    .vision-history-authors {
        gap: 20px;
        margin-top: 24px;
    }
}
