/* =========================
   RESET
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #f4f7fb;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


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

:root {
    --bg: #07111f;
    --bg-soft: #0b1728;
    --bg-card: #0f2138;
    --bg-card-2: #122a46;

    --cyan: #26c6d3;
    --cyan-soft: #43d6df;
    --blue: #1598c5;

    --white: #ffffff;
    --text: #e8eef6;
    --muted: #9eb0c4;

    --border: rgba(255, 255, 255, 0.09);

    --shadow:
        0 22px 60px rgba(0, 0, 0, 0.28);

    --radius: 22px;
}


/* =========================
   LAYOUT
========================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section-label {
    margin: 0 0 16px;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.section-intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.15rem;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #dce4ec;
}

.header-container {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 260px;
    height: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a {
    position: relative;
    color: #0a1d3a;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #1598c5;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #26c6d3;
    transition: width 0.25s ease;
}

.navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #0a1d3a;
    font-size: 1.7rem;
    cursor: pointer;
}


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

.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(38, 198, 211, 0.2),
            transparent 28%
        ),
        radial-gradient(
            circle at 18% 80%,
            rgba(21, 152, 197, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050d18 0%,
            #07111f 44%,
            #0a1b2f 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -150px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(38, 198, 211, 0.11);
    box-shadow:
        0 0 0 70px rgba(38, 198, 211, 0.025),
        0 0 0 145px rgba(38, 198, 211, 0.018);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto auto -180px -100px;
    width: 420px;
    height: 420px;
    background: rgba(38, 198, 211, 0.05);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transform: rotate(-10deg);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding: 90px 0 60px;
}

.hero-label {
    margin: 0 0 18px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(3.3rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero h1 span {
    color: var(--cyan-soft);
}

.hero-description {
    max-width: 720px;
    margin: 28px 0 0;
    color: rgba(232, 238, 246, 0.78);
    font-size: 1.18rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-radar-card {
    position: absolute;
    top: 25px;
    right: 0;
    width: 92%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #020604;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-radar-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-control-card {
    position: absolute;
    left: 40px;
    bottom: 35px;
    width: 58%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.hero-control-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: left center;
}

.hero-control-label {
    padding: 10px 14px;
    background: #ffffff;
    color: #0a1d3a;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 12px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #041017;
    background: var(--cyan);
    box-shadow: 0 14px 34px rgba(38, 198, 211, 0.2);
}

.button-primary:hover {
    background: var(--cyan-soft);
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================
   KEY POINTS
========================= */

.key-points {
    padding: 35px 0 90px;
    background: var(--bg);
}

.key-points-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.key-point {
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.key-point h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.key-point p {
    margin: 0;
    color: var(--muted);
}


/* =========================
   SIMULATOR INTRO
========================= */

.simulator {
    padding: 110px 0;
    background:
        linear-gradient(
            180deg,
            #091827 0%,
            #0b1728 100%
        );
}

.simulator h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}


/* =========================
   SIMULATOR CYCLE
========================= */

.simulator-cycle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 55px;
}

.simulator-cycle::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 13%;
    right: 13%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(38, 198, 211, 0.45),
        rgba(38, 198, 211, 0.45),
        transparent
    );
}

.cycle-card {
    position: relative;
    z-index: 2;
    min-height: 300px;
    padding: 34px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(15, 33, 56, 0.88);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cycle-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(38, 198, 211, 0.12);
    border: 1px solid rgba(38, 198, 211, 0.28);
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.cycle-card h3 {
    margin: 28px 0 12px;
    font-size: 1.65rem;
}

.cycle-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

/* =========================
   LIGHT SIMULATOR
========================= */

.light-simulator {
    padding: 110px 0;
    background: #f3f7fa;
    color: #10233f;
}

.light-simulator h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.light-simulator > .container > p:not(.section-label) {
    max-width: 860px;
    color: #5d6c7f;
    font-size: 1.1rem;
}

.light-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.light-grid article {
    min-height: 280px;
    padding: 32px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #dbe5ed;
    box-shadow: 0 12px 32px rgba(10, 29, 58, 0.06);
}

.light-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #087f89;
    background: rgba(38, 198, 211, 0.12);
    font-size: 0.82rem;
    font-weight: 900;
}

.light-grid h3 {
    margin: 26px 0 12px;
    font-size: 1.45rem;
}

.light-grid p {
    margin: 0;
    color: #637187;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 110px 0;
    background: var(--bg);
}

.features h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}


.features .section-intro {
    margin-top: 22px;
}

.features-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 58px;
    align-items: stretch;
    margin-top: 58px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-item:last-child {
    border-bottom: 0;
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(38, 198, 211, 0.12);
    border: 1px solid rgba(38, 198, 211, 0.28);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.feature-item h3 {
    margin: 0 0 7px;
    font-size: 1.25rem;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
}

.features-visual {
    overflow: hidden;
    align-self: stretch;
    min-height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #0d1726;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.features-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}


/* =========================
   TRAINING
========================= */

.training {
    padding: 110px 0;
    background: var(--bg-soft);
}

.training-heading {
    max-width: 900px;
}

.training h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.training-heading .section-intro {
    margin-top: 22px;
    max-width: 820px;
}

.training-body {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 58px;
    align-items: stretch;
    margin-top: 58px;
}

.training-points {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.training-point {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-point:first-child {
    padding-top: 0;
}

.training-point:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.training-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(38, 198, 211, 0.12);
    border: 1px solid rgba(38, 198, 211, 0.28);
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.training-point h3 {
    margin: 0 0 7px;
    font-size: 1.2rem;
}

.training-point p {
    margin: 0;
    color: var(--muted);
}

.training-visual {
    overflow: hidden;
    min-height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #0a1422;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.30);
}

.training-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================
   VIDEO
========================= */

.video-section {
    padding: 110px 0;
    background: #091421;
}

.video-heading {
    max-width: 850px;
}

.video-section h2 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.video-heading .section-intro {
    margin-top: 22px;
}

.video-player {
    position: relative;
    max-width: 980px;
    margin: 55px auto 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #202c3c;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.30);
}

.video-cover {
    display: block;
    width: 100%;
    height: auto;
}

.video-player::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 9, 18, 0.08);
    pointer-events: none;
}

.video-play-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(7, 17, 31, 0.82);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.30);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.video-play-button span {
    margin-left: 5px;
    font-size: 1.55rem;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: var(--cyan);
    color: #041017;
    border-color: var(--cyan);
}

.video-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 34px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.video-steps span {
    position: relative;
}

.video-steps span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -20px;
    color: var(--cyan);
}


/* =========================
   PERSONNALISATION
========================= */

.custom-section {
    padding: 110px 0;
    background: #f3f7fa;
    color: #10233f;
}

.custom-section h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.custom-section .section-intro {
    margin-top: 22px;
    max-width: 860px;
    color: #5d6c7f;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 54px;
}

.custom-card {
    min-height: 250px;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dbe5ed;
    box-shadow: 0 12px 32px rgba(10, 29, 58, 0.06);
}

.custom-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #087f89;
    background: rgba(38, 198, 211, 0.12);
    font-size: 0.82rem;
    font-weight: 900;
}

.custom-card h3 {
    margin: 24px 0 10px;
    font-size: 1.35rem;
    color: #10233f;
}

.custom-card p {
    margin: 0;
    color: #637187;
}

.custom-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 42px;
}

.custom-cta .button-primary {
    width: auto;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 95px 0;
    background:
        linear-gradient(
            125deg,
            #0b1b2f 0%,
            #0b2b3b 100%
        );
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.contact p:not(.section-label) {
    max-width: 670px;
    color: rgba(232, 238, 246, 0.7);
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.contact-email {
    color: rgba(255, 255, 255, 0.76);
    white-space: nowrap;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 34px 0;
    background: #030912;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bds {
    margin-top: 4px !important;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.42) !important;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}


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

@media (max-width: 980px) {

    .header-container {
        position: relative;
    }

    .navigation {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: rgba(7, 17, 31, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }

    .navigation.navigation-open {
        display: flex;
    }

    .navigation a {
    padding: 14px 12px;
    border-radius: 8px;
    color: #ffffff;
}

    .navigation a::after {
        display: none;
    }

    .navigation a:hover {
        background: rgba(38, 198, 211, 0.07);
    }

    .menu-toggle {
        position: relative;
        z-index: 1001;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 500px;
        margin-bottom: 65px;
    }

    .hero-radar-card {
        width: 90%;
        right: 0;
    }

    .hero-control-card {
        width: 52%;
        left: 25px;
        bottom: 25px;
    }

    .key-points-container,
    .light-grid {
        grid-template-columns: 1fr;
    }


    .simulator-cycle {
        grid-template-columns: 1fr;
    }

    .simulator-cycle::before {
        display: none;
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .features-visual {
        max-width: 760px;
    }

    .training-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .training-visual {
        max-width: 820px;
        min-height: auto;
    }

    .training-visual img {
        height: auto;
        object-fit: contain;
    }

    .custom-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-action {
        flex-wrap: wrap;
    }
}


@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-container {
        min-height: 74px;
    }

    .logo {
        width: 190px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 88px 0 58px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .hero-description {
        font-size: 1.03rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 50px;
    }

    .hero-radar-card,
    .hero-control-card {
        position: static;
        width: 100%;
    }

    .hero-radar-card img {
        aspect-ratio: 16 / 10;
    }

    .hero-control-card img {
        aspect-ratio: 16 / 9;
    }

    .key-points {
        padding-bottom: 70px;
    }

    .simulator,
    .light-simulator,
    .features,
    .training,
    .video-section,
    .custom-section {
        padding: 78px 0;
    }

    .simulator h2,
    .light-simulator h2,
    .features h2,
    .training h2,
    .video-section h2,
    .contact h2 {
        font-size: 2.5rem;
    }

    .light-grid article {
        min-height: auto;
        padding: 28px;
    }

    .features-layout {
        margin-top: 42px;
    }

    .feature-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .feature-number {
        width: 40px;
        height: 40px;
    }

    .features-visual {
        border-radius: 16px;
    }

    .training-body {
        margin-top: 42px;
    }

    .training-points {
        margin-top: 0;
    }

    .training-point {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .training-number {
        width: 38px;
        height: 38px;
    }

    .training-visual {
        border-radius: 16px;
    }

    .training-visual img {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .video-player {
        margin-top: 38px;
        border-radius: 16px;
    }

    .video-play-button {
        width: 64px;
        height: 64px;
    }

    .video-play-button span {
        font-size: 1.25rem;
    }

    .video-steps {
        gap: 8px 20px;
        margin-top: 22px;
        font-size: 0.82rem;
    }

    .video-steps span:not(:last-child)::after {
        right: -13px;
    }

    .custom-grid {
        margin-top: 42px;
    }

    .custom-card {
        min-height: auto;
        padding: 26px;
    }

    .custom-cta {
        margin-top: 34px;
    }

    .contact {
        padding: 74px 0;
    }

    .contact-action {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .contact-email {
        white-space: normal;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
.header-signature {
    margin-right: auto;
    padding-left: 30px;
    border-left: 1px solid #d8e1e8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}

.header-signature span {
    color: #0a1d3a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.header-signature small {
    margin-top: 6px;
    color: #718096;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
@media (max-width: 1100px) {
    .header-signature {
        display: none;
    }
}

/* =========================
   MENTIONS LÉGALES
========================= */

.legal-navigation {
    margin-left: auto;
}

.legal-navigation a {
    color: #0a1d3a;
    font-size: 0.95rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

.legal-navigation a:hover {
    color: var(--blue);
}

.legal-page {
    background: var(--bg);
}

.legal-hero {
    padding: 95px 0 75px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(38, 198, 211, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #050d18 0%,
            #07111f 55%,
            #0a1b2f 100%
        );
}

.legal-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.legal-hero > .container > p:not(.section-label) {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.legal-content {
    padding: 80px 0 110px;
    background: #f3f7fa;
    color: #10233f;
}

.legal-container {
    max-width: 900px;
}

.legal-card {
    padding: 30px 0;
    border-bottom: 1px solid #d7e1e9;
}

.legal-card:first-child {
    padding-top: 0;
}

.legal-card h2 {
    margin: 0 0 16px;
    color: #10233f;
    font-size: 1.55rem;
    line-height: 1.25;
}

.legal-card p {
    margin: 0 0 14px;
    color: #5d6c7f;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card strong {
    color: #263c58;
}

.legal-card a {
    color: #087f89;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-back {
    margin-top: 42px;
}

@media (max-width: 700px) {

    .legal-navigation {
        margin-left: auto;
    }

    .legal-navigation a {
        font-size: 0.84rem;
    }

    .legal-hero {
        padding: 72px 0 58px;
    }

    .legal-hero h1 {
        font-size: 2.8rem;
    }

    .legal-content {
        padding: 58px 0 78px;
    }

    .legal-card {
        padding: 26px 0;
    }

    .legal-card h2 {
        font-size: 1.35rem;
    }
}

/* =========================
   LANGUAGE SWITCHER
========================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #718096;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.language-switcher a {
    color: #718096;
    transition: color 0.2s ease;
}

.language-switcher a:hover {
    color: #1598c5;
}

.language-switcher .language-active {
    color: #0a1d3a;
}

.language-separator {
    color: #c5ced7;
}

@media (max-width: 980px) {
    .language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 700px) {
    .language-switcher {
        gap: 5px;
        font-size: 0.72rem;
    }
}

/* =========================
   SCENARIO BUILDER
========================= */

.scenario-builder {
    padding: 110px 0;
    background: #f3f7fa;
    color: #10233f;
}

.scenario-builder h2 {
    margin: 0;
    max-width: 920px;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.scenario-builder h2 span {
    color: #087f89;
}

.scenario-builder .section-intro {
    margin-top: 22px;
    max-width: 880px;
    color: #5d6c7f;
}

.scenario-builder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.scenario-builder-card {
    min-height: 245px;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dbe5ed;
    box-shadow: 0 12px 32px rgba(10, 29, 58, 0.06);
}

.scenario-builder-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #087f89;
    background: rgba(38, 198, 211, 0.12);
    font-size: 0.82rem;
    font-weight: 900;
}

.scenario-builder-card h3 {
    margin: 24px 0 10px;
    color: #10233f;
    font-size: 1.35rem;
}

.scenario-builder-card p {
    margin: 0;
    color: #637187;
}

.scenario-builder-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 28px;
    padding: 32px;
    border-radius: 20px;
    background: #0b1728;
    color: #f4f7fb;
    box-shadow: 0 18px 42px rgba(10, 29, 58, 0.14);
}

.scenario-builder-highlight > div {
    max-width: 760px;
}

.scenario-builder-kicker {
    margin: 0 0 8px !important;
    color: var(--cyan) !important;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.scenario-builder-highlight h3 {
    margin: 0 0 9px;
    font-size: 1.45rem;
}

.scenario-builder-highlight p {
    margin: 0;
    color: var(--muted);
}

.scenario-builder-highlight .button {
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .scenario-builder-grid {
        grid-template-columns: 1fr;
    }

    .scenario-builder-highlight {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .scenario-builder {
        padding: 78px 0;
    }

    .scenario-builder h2 {
        font-size: 2.5rem;
    }

    .scenario-builder-grid {
        margin-top: 42px;
    }

    .scenario-builder-card,
    .scenario-builder-highlight {
        min-height: auto;
        padding: 26px;
    }

    .scenario-builder-highlight .button {
        width: 100%;
    }
}
