/* =========================
   FONTS
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

/* =========================
   VARIABLES
   ========================= */

:root {
    --zois-bg: #050713;
    --zois-bg-soft: #0b0f1f;
    --zois-bg-alt: #f5f7fb;
    --zois-text: #f9fafb;
    --zois-text-soft: #cbd5f5;
    --zois-accent: #a6ff00;
    --zois-accent-soft: rgba(166, 255, 0, 0.18);
    --zois-border: rgba(255, 255, 255, 0.06);
    --zois-radius-xl: 22px;
    --zois-radius-lg: 18px;
    --zois-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);

    --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-accent: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #050713;
}

/* Base typographique */
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: var(--zois-text-soft);
}

strong {
    font-weight: 600;
}

/* =========================
   PAGE WRAPPER
   ========================= */

.zois-page {
    background: radial-gradient(circle at top left, #101530 0, #050713 45%, #050713 100%);
    color: var(--zois-text);
    padding-bottom: 6rem;
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    padding: 9rem 0vw 0rem 0vw;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(166, 255, 0, 0.18), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(90, 252, 255, 0.2), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 620px;
}

/* Sur-titre */
.hero-overline {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--zois-text-soft);
    margin-bottom: 0.9rem;
    font-weight: 500;
}

/* H1 principal */
.hero h1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.7rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero h1 span {
    background: linear-gradient(120deg, #ffffff, #a6ff00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Sous-titre hero */
.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    color: var(--zois-text-soft);
    max-width: 34rem;
}

/* Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.7rem 0 2.2rem 0;
}

.hero-badges span {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.45rem 0.9rem;
    background: rgba(7, 10, 24, 0.9);
    backdrop-filter: blur(10px);
}

/* =========================
   BOUTONS
   ========================= */

.btn-primary,
.btn-ghost,
.btn-outline {
    font-family: var(--font-accent);
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;

    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(120deg, #a6ff00, #5cffb5);
    color: #000;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.btn-primary.secondary {
    margin-top: 1.2rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.btn-ghost {
    background: rgba(8, 10, 24, 0.9);
    color: var(--zois-text-soft);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
    background: rgba(16, 20, 50, 0.95);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* =========================
   HERO MEDIA
   ========================= */

.hero-media {
    position: relative;
}

.video-frame {
    border-radius: var(--zois-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.35rem;
    background: radial-gradient(circle at top left, rgba(166, 255, 0, 0.2), transparent 60%);
    box-shadow: var(--zois-shadow-soft);
    overflow: hidden;
}

.video-frame video {
    display: block;
    width: 100%;
    border-radius: calc(var(--zois-radius-xl) - 4px);
    background: #000;
}

.video-caption {
    margin-top: 0.8rem;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--zois-text-soft);
}

/* =========================
   NAV DES SECTIONS
   ========================= */

/* état normal */
.section-nav {
    position: relative;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.95),
        rgba(0, 0, 0, 0.86),
        transparent
    );
    padding: 1.1rem 5vw 1.2rem 5vw;
    border-bottom: 1px solid rgba(129, 139, 153, 0.35);
    margin-top: 8.3rem;
}

/* état sticky : collée sous la navbar principale */
.section-nav.is-sticky {
    position: fixed;
    top: 0;     /* adapte à la hauteur de ta navbar principale */
    left: 0;
    right: 0;
    margin-top: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}


.section-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.section-nav a {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    color: var(--zois-text-soft);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.18s ease-out;
}

.section-nav a:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #d3d3d3;
}

.section-nav a.active {
    background: var(--zois-accent-soft);
    color: #ffffff;
    border-color: var(--zois-accent);
}

/* =========================
   SECTIONS GÉNÉRIQUES
   ========================= */

.section {
    padding: 4.5rem 5vw 4.5rem 5vw;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-split {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: flex-start;
}

.section-dark {
    background: radial-gradient(circle at top, #14182f 0, #050713 55%, #050713 100%);
}

.section-gradient {
    position: relative;
}

.section-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(166, 255, 0, 0.2), transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.section-gradient .section-content,
.section-gradient .section-aside {
    position: relative;
    z-index: 1;
}

/* Titres H2 */
.section h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}

/* Lead / sous-titre de section */
.section-lead {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    color: var(--zois-text-soft);
    max-width: 32rem;
    margin-bottom: 2.2rem;
}

/* Texte de base des sections */
.section p {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--zois-text-soft);
    line-height: 1.65;
}

/* =========================
   CARTES / BLOCS
   ========================= */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.pillar-card,
.value-card,
.prestation-card,
.method-block,
.testimonial-card,
.counter-card {
    border-radius: var(--zois-radius-lg);
    border: 1px solid var(--zois-border);
    background: rgba(6, 8, 22, 0.9);
    padding: 1rem 1.15rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

/* Titres de cartes */
.pillar-card h3,
.value-card h3,
.prestation-card h3,
.method-block h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

/* Texte dans les cartes */
.pillar-card p,
.value-card p,
.prestation-card p,
.method-block p {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 400;
}

/* valeurs */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

/* =========================
   ZONES D’INTERVENTION
   ========================= */

.zones-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.zone-column h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.zone-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--zois-text-soft);
    font-family: var(--font-main);
    font-size: 0.93rem;
    font-weight: 400;
}

.zone-column li + li {
    margin-top: 0.2rem;
}

.zone-highlight {
    border-radius: var(--zois-radius-xl);
    padding: 1.6rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(166, 255, 0, 0.22), #050713);
    border: 1px solid rgba(166, 255, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.zone-highlight span {
    font-family: var(--font-heading);
    font-weight: 500;
}

.zone-highlight .btn-outline {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

/* =========================
   PRESTATIONS
   ========================= */

.bullet-list {
    margin-top: 1.5rem;
    padding-left: 1.1rem;
    color: var(--zois-text-soft);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.bullet-list li {
    margin-bottom: 0.35rem;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* =========================
   MÉTHODES
   ========================= */

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

/* =========================
   PREUVES / CHIFFRES
   ========================= */

.proofs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.counter-card {
    text-align: left;
}

.counter-card .counter {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.counter-card p {
    font-family: var(--font-main);
    font-size: 0.9rem;
}

/* Témoignages */

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card {
    background: rgba(9, 12, 30, 0.95);
}

.testimonial-text {
    font-family: var(--font-main);
    font-style: italic;
    font-size: 0.9rem;
}

.testimonial-author {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--zois-text-soft);
    font-family: var(--font-accent);
    font-weight: 500;
}

/* =========================
   CTA FINAL
   ========================= */

.section-final {
    padding-top: 3.5rem;
}

.section-final .section-inner {
    text-align: center;
    max-width: 650px;
}

.section-final p {
    margin: 0 auto 1.8rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* =========================
   ANIMATIONS / REVEAL
   ========================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */

/* 💻 Large écrans / laptops */
@media (max-width: 1200px) {
    .hero {
        padding: 8rem 3vw 2rem 3vw;
    }

    .hero-inner {
        max-width: 1000px;
        gap: 3rem;
    }

    .section-inner,
    .section-split {
        max-width: 1000px;
    }
}

/* 📘 Tablettes paysage et petits laptops */
@media (max-width: 1024px) {
    .hero {
        padding: 0rem 5vw 2.5rem 5vw;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.8rem;
    }

    /* Vidéo au-dessus, texte en dessous sur tablette */
    .hero-media {
        order: -1;
        max-width: 540px;
        margin: 0 auto;
    }

    .hero-text {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .section-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

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

    .zones-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.8rem;
    }

    .proofs-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

/* 📱 Mobile / tablettes portrait */
@media (max-width: 768px) {
    /* --- HERO --- */
    .hero {
        padding: 0rem 0rem 0rem 0rem;
    }

    .hero-text {
        padding: 1rem 1.5rem 0rem 1.5rem;
        text-align: left;
    }

    .hero-inner {
        padding: 2rem 1.5rem 0rem 1.5rem;
    }

    .hero-overline {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-badges {
        gap: 0.5rem;
        margin: 1.4rem 0 1.8rem 0;
    }

    .hero-badges span {
        font-size: 0.72rem;
        padding: 0.4rem 0.8rem;
    }

    /* Boutons hero en colonne, full width */
    .hero .btn-primary,
    .hero .btn-ghost {
        padding: 0.5rem 0rem;
        width: 100%;
        justify-content: center;
    }

    .hero .btn-primary + .btn-ghost {
        margin-top: 0.8rem;
    }

    .hero-media {
        max-width: 100%;
    }

    /* --- NAV SECTIONS --- */
    .section-nav {
        padding: 0.7rem 1rem 0.8rem 1rem;
        margin-top: 6rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.8)
        );
    }

    .section-nav ul {
        justify-content: flex-start;
        white-space: nowrap;
        gap: 0.4rem;
    }

    .section-nav a {
        font-size: 0.72rem;
        padding: 0.45rem 0.85rem;
    }

    /* --- SECTIONS GÉNÉRIQUES --- */
    .section {
        padding: 3.2rem 1.5rem 3.5rem 1.5rem;
    }

    .section-inner,
    .section-split {
        max-width: 100%;
    }

    .section-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .section-lead {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .section p {
        font-size: 0.92rem;
    }

    /* --- GRILLES / CARTES --- */
    .pillars-grid,
    .values-grid,
    .prestations-grid,
    .methods-grid,
    .counter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .zones-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .zone-highlight {
        order: -1;
    }

    .pillar-card,
    .value-card,
    .prestation-card,
    .method-block,
    .testimonial-card,
    .counter-card {
        padding: 1rem 1rem;
    }


    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* 📲 Très petits écrans (iPhone SE, anciens Android) */
@media (max-width: 480px) {
    .hero {
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 1.45rem;
    }

    .section-lead {
        font-size: 0.9rem;
    }

    .section p {
        font-size: 0.88rem;
    }

    .btn-primary,
    .btn-ghost,
    .btn-outline {
        font-size: 0.8rem;
        padding: 0.75rem 1.4rem;
    }

    .zone-highlight {
        padding: 1.3rem 1.1rem;
    }
}
