:root {
    --bg: #131317;
    --bg-2: #0f0f12;
    --bg-3: #1a1a20;
    --surface: #1c1c23;
    --surface-2: #24242d;
    --border: rgba(255, 255, 255, 0.07);
    --border-2: rgba(255, 255, 255, 0.14);
    --text: #f5f5f7;
    --text-2: #b8b8c0;
    --text-3: #78788a;
    --yellow: #facc15;
    --yellow-2: #fde047;
    --yellow-3: #fef08a;
    --yellow-dark: #eab308;
    --yellow-glow: rgba(250, 204, 21, 0.38);
    --green: #10b981;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ========== BACKGROUND ========== */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--bg);
}
.bg-glow { display: none; }

/* ========== HEADER ========== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 16px 24px 0;
    transition: padding .3s var(--ease);
}
.main-header.scrolled { padding-top: 10px; }
.header-card {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(17, 17, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(250, 204, 21, 0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 22px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo-text { color: var(--text); }
.logo-accent { color: var(--yellow); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 11px;
    font-size: 0.91rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color .2s var(--ease), background .2s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-link.active { color: var(--yellow); background: rgba(250, 204, 21, 0.1); }
.nav-arrow { transition: transform .25s var(--ease); opacity: 0.6; }
.nav-link.active .nav-arrow, .nav-link:hover .nav-arrow { opacity: 1; }
.nav-link-trigger.active .nav-arrow { transform: rotate(180deg); }

.nav-cta {
    background: var(--yellow);
    color: #0a0a0b !important;
    font-weight: 700;
    padding: 9px 18px;
    margin-left: 4px;
}
.nav-cta:hover { background: var(--yellow-2); box-shadow: 0 0 24px var(--yellow-glow); }

/* ===== Mega overlay + dropdown ===== */
.mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.mega-overlay.active { opacity: 1; pointer-events: auto; }

.mega-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(20, 20, 26, 0.98);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--border-2);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(250, 204, 21, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all .25s var(--ease);
    z-index: 210;
}
/* Pont invisible pour ne pas perdre le hover dans le gap trigger → dropdown */
.mega-dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 20px;
}
.mega-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.015);
    transition: all .22s var(--ease);
}
.mega-item:hover {
    background: rgba(250, 204, 21, 0.06);
    border-color: rgba(250, 204, 21, 0.25);
    transform: translateY(-2px);
}
.mega-item-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(253, 224, 71, 0.06));
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: var(--yellow);
}
.mega-item-text h4 { font-size: 1.02rem; color: var(--text); margin-bottom: 5px; }
.mega-item-text p { font-size: 0.86rem; color: var(--text-3); line-height: 1.5; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s var(--ease);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all .22s var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--yellow);
    color: #0a0a0b;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.2);
}
.btn-primary:hover {
    background: var(--yellow-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-2);
}
.btn-ghost:hover {
    background: rgba(250, 204, 21, 0.06);
    border-color: var(--yellow);
    color: var(--yellow);
}
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ========== SECTIONS ========== */
.main-content { padding-top: 10px; }
.section { position: relative; padding: 110px 24px; }
.section-container { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.08);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(250, 204, 21, 0.22);
}
.section-title {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 800;
}
.section-title .accent { color: var(--yellow); }
.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-2);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.hero-beam {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Glow GPU-accéléré */
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.55))
            drop-shadow(0 0 28px rgba(255, 255, 255, 0.3));
    transform: translateZ(0);
}
.hero-beam svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.beam-path {
    animation: beam-draw 5s ease-in-out infinite;
}
@keyframes beam-draw {
    0%, 3%   { stroke-dashoffset: 1000; }   /* caché, avant l'entrée */
    45%      { stroke-dashoffset: 0; }      /* entièrement tracé en haut */
    52%      { stroke-dashoffset: 0; }      /* pause brève au sommet */
    70%      { stroke-dashoffset: -1000; }  /* effacé depuis l'arrière (~0.9s) */
    100%     { stroke-dashoffset: -1000; }  /* caché, avant de reboucler */
}
.beam-tip-wrap {
    position: absolute;
    top: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}
.beam-tip-wrap svg { width: 100%; height: 100%; }
.beam-tip {
    opacity: 0;
    animation: beam-tip-flash 5s ease-in-out infinite;
}
@keyframes beam-tip-flash {
    0%, 34%   { opacity: 0; }
    42%, 48%  { opacity: 1; }
    56%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .beam-tip { animation: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .beam-path, .beam-tip { animation: none; opacity: 0; }
}

.hero-title-wrap {
    position: relative;
    display: inline-block;
    padding: 20px 30px;
    margin-bottom: 22px;
}
.hero-corner {
    position: absolute;
    width: 110px;
    height: 55px;
    pointer-events: none;
    z-index: 2;
}
.hero-corner svg { width: 100%; height: 100%; }
.hero-corner.corner-bl { left: -28px; bottom: -12px; }
.hero-corner.corner-tr { right: -28px; top: -12px; }

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    padding: 20px 10px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-title {
    font-size: clamp(2rem, 4.8vw, 4rem);
    color: var(--text);
    margin: 0;
    font-weight: 800;
    white-space: nowrap;
}
.hero-title .block { display: block; }
.hero-title .accent { color: var(--yellow); }
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-2);
    max-width: 700px;
    margin: 0 auto 38px;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CARDS ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.1), transparent 55%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(253, 224, 71, 0.06));
    border: 1px solid rgba(250, 204, 21, 0.28);
    color: var(--yellow);
    transition: transform .3s var(--ease);
}
.service-card:hover .card-icon { transform: scale(1.05) rotate(-3deg); }
.service-card h3 { font-size: 1.35rem; color: var(--text); }
.service-card p { color: var(--text-2); font-size: 0.94rem; line-height: 1.6; flex-grow: 1; }
.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 4px;
    transition: gap .22s var(--ease);
}
.service-card:hover .card-link { gap: 10px; }

.service-card.card-yellow .card-icon {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
    color: #3a2605;
    border-color: var(--yellow);
}

.section-cta { text-align: center; margin-top: 50px; }

/* ========== ANIMATIONS ========== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }
.delay-4 { transition-delay: .24s; }

/* ========== INTRO LIST V ========== */
.intro-list {
    max-width: 860px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.intro-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.intro-item:hover { border-color: rgba(250, 204, 21, 0.3); transform: translateX(4px); }
.intro-check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--yellow);
    color: #0a0a0b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-item p { color: var(--text-2); font-size: 1rem; line-height: 1.5; }

/* ========== MISSION CARDS ========== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}
.mission-card {
    position: relative;
    padding: 38px 34px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-2) 100%);
    border-radius: var(--radius-lg);
    color: #1a1105;
    overflow: hidden;
    min-height: 220px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(250, 204, 21, 0.3);
}
.mission-card h3 {
    font-size: 2rem;
    color: #1a1105;
    position: relative;
    z-index: 2;
    max-width: 58%;
    font-weight: 800;
}
.mission-card .mission-placeholder {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 130px;
    height: 130px;
    color: rgba(26, 17, 5, 0.75);
    transition: transform .35s var(--ease);
}
.mission-card:hover .mission-placeholder { transform: scale(1.08) rotate(3deg); }

/* ========== STATS ========== */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}
.stat-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.stat-row:hover { transform: translateX(4px); border-color: rgba(250, 204, 21, 0.3); }
.stat-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid rgba(250, 204, 21, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
}
.stat-check {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px var(--bg);
}
.stat-text { font-size: 1.08rem; color: var(--text-2); }
.stat-text strong {
    color: var(--yellow);
    font-weight: 800;
    font-size: 1.5rem;
    margin-right: 4px;
    font-family: 'Outfit', sans-serif;
}

/* ========== ENGAGEMENTS ========== */
.engage-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.engage-center {
    width: 180px;
    height: 180px;
    margin: 0 auto 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--yellow-2), var(--yellow) 55%, var(--yellow-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.08), 0 0 60px var(--yellow-glow);
}
.engage-center::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px dashed rgba(26, 17, 5, 0.25);
}
.engage-center span {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1a1105;
    padding: 0 18px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.engage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.engage-card {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.engage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.3);
}
.engage-card .engage-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(253, 224, 71, 0.06));
    border: 1px solid rgba(250, 204, 21, 0.28);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.engage-card h4 { font-size: 1.15rem; color: var(--yellow); margin-bottom: 8px; }
.engage-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.55; }

/* ========== PROCESSUS TRIANGLE ========== */
.triangle-wrap {
    max-width: 820px;
    margin: 10px auto 60px;
    position: relative;
    aspect-ratio: 1.1 / 1;
}
.triangle-wrap svg.triangle-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.triangle-node {
    position: absolute;
    width: 180px;
    padding: 22px 18px;
    background: var(--surface);
    border: 1.5px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.triangle-node.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--yellow);
    background: linear-gradient(145deg, rgba(250, 204, 21, 0.15), var(--surface));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 204, 21, 0.15);
}
.triangle-node.bl { bottom: 0; left: 0; }
.triangle-node.br { bottom: 0; right: 0; }
.triangle-node .tn-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 11px;
    background: rgba(250, 204, 21, 0.15);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.triangle-node h4 { font-size: 1rem; color: var(--text); margin-bottom: 2px; }
.triangle-node p { font-size: 0.78rem; color: var(--text-3); }

.triangle-legend {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.legend-item {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s var(--ease);
}
.legend-item:hover { border-color: rgba(250, 204, 21, 0.25); }
.legend-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--yellow);
    color: #0a0a0b;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}
.legend-item p { color: var(--text-2); font-size: 0.96rem; line-height: 1.5; }

/* ========== MARQUE BLANCHE ========== */
.mb-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 36px;
    background: var(--surface);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius-lg);
}
.mb-box h4 {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mb-list { display: flex; flex-direction: column; gap: 14px; }
.mb-item { display: flex; gap: 14px; color: var(--text-2); line-height: 1.55; }
.mb-item svg { flex-shrink: 0; color: var(--yellow); margin-top: 2px; }

/* ========== TIMELINE ========== */
.timeline { max-width: 900px; margin: 40px auto 0; position: relative; }
.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
}
.timeline-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow-dark), var(--yellow) 50%, var(--yellow-2));
    border-radius: 2px;
    z-index: 0;
}
.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.timeline-ring { width: 100px; height: 100px; position: relative; }
.timeline-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timeline-ring .ring-bg { stroke: rgba(255, 255, 255, 0.08); fill: var(--bg); }
.timeline-ring .ring-fg { stroke: var(--yellow); fill: none; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.timeline-ring .ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--yellow);
}
.timeline-step .step-label { color: var(--text-2); font-size: 0.88rem; text-align: center; font-weight: 500; }
.timeline-caption {
    margin-top: 42px;
    text-align: center;
    color: var(--text-2);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.65;
}

/* ========== AVANTAGES ========== */
.advantage-list {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.advantage-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    padding: 34px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    overflow: hidden;
}
.advantage-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--yellow);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}
.advantage-item:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
}
.advantage-item:hover::before { transform: scaleY(1); }
.advantage-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 4.2rem;
    line-height: 1;
    color: var(--yellow);
    align-self: start;
}
.advantage-body h3 { font-size: 1.35rem; color: var(--text); margin-bottom: 10px; }
.advantage-body p { color: var(--text-2); line-height: 1.65; }

/* ========== DEVENIR OPERATEUR ========== */
.op-hero { text-align: center; padding: 40px 20px; }
.op-count {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: var(--yellow);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.op-lead { font-size: 1.2rem; color: var(--text-2); max-width: 720px; margin: 0 auto 40px; }
.op-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.op-note {
    max-width: 720px;
    margin: 0 auto;
    padding: 22px 26px;
    background: var(--surface);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: var(--radius);
    color: var(--text-2);
    font-size: 0.96rem;
    line-height: 1.6;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
}
.op-note svg { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }

/* ========== FORMS ========== */
.form-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-2);
    margin-bottom: 6px;
    font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 11px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-actions { text-align: center; margin-top: 24px; }
.form-status { text-align: center; margin-top: 14px; font-size: 0.88rem; min-height: 22px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #ef4444; }

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 38px;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 38px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.contact-info-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item h5 { color: var(--text); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }

/* ========== SOUS-TRAITER ========== */
.subtract-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.subtract-wrap .subtract-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(253, 224, 71, 0.06));
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.subtract-wrap h2 { font-size: 1.75rem; color: var(--text); margin-bottom: 14px; }
.subtract-wrap p { color: var(--text-2); margin-bottom: 26px; }
.login-form { text-align: left; margin-bottom: 18px; }
.login-form .form-field { margin-bottom: 14px; }
.login-form .form-actions { text-align: center; margin-top: 20px; }
.subtract-soon {
    margin-top: 22px;
    padding: 16px 18px;
    background: rgba(250, 204, 21, 0.06);
    border: 1px dashed rgba(250, 204, 21, 0.3);
    border-radius: 11px;
    color: var(--yellow);
    font-size: 0.9rem;
    line-height: 1.5;
}
.subtract-soon a { color: var(--yellow); text-decoration: underline; }
.subtract-soon a:hover { color: var(--yellow-2); }

/* ========== MENTIONS ========== */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 0 10px; }
.legal-wrap h3 { color: var(--yellow); margin: 28px 0 12px; font-size: 1.1rem; }
.legal-wrap p { color: var(--text-2); margin-bottom: 10px; line-height: 1.65; }

/* ========== FOOTER ========== */
.main-footer {
    position: relative;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 24px 30px;
    margin-top: 120px;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
}
.footer-desc { color: var(--text-3); font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-title { color: var(--text); font-size: 0.98rem; margin-bottom: 18px; font-weight: 700; }
.footer-link {
    display: block;
    color: var(--text-3);
    font-size: 0.88rem;
    padding: 5px 0;
    transition: color .2s var(--ease);
}
.footer-link:hover { color: var(--yellow); }
.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-3);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.footer-contact-item svg { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.86rem;
    margin-bottom: 10px;
}
.footer-form input:focus, .footer-form textarea:focus { outline: none; border-color: var(--yellow); }
.footer-form textarea { resize: vertical; }
.footer-form-status { font-size: 0.78rem; color: var(--text-3); margin-top: 8px; min-height: 14px; }
.footer-form-status.ok { color: var(--green); }
.footer-form-status.err { color: #ef4444; }
.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-3);
    font-size: 0.82rem;
}
.footer-legal-link { color: var(--text-2); }
.footer-legal-link:hover { color: var(--yellow); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .hero-corner { display: none; }
}
@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 6px;
        padding: 20px;
        background: rgba(18, 18, 22, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-2);
        border-radius: 22px;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: all .3s var(--ease);
        margin-left: 0;
    }
    .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav .nav-link { width: 100%; justify-content: flex-start; }
    .nav-cta { margin-left: 0; justify-content: center; }
    .burger { display: flex; margin-left: auto; }
    .mega-dropdown {
        position: static;
        width: 100%;
        transform: none;
        padding: 8px;
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid var(--border);
        display: none;
        opacity: 1;
        pointer-events: auto;
    }
    .mega-dropdown.active { display: block; }
    .mega-grid { grid-template-columns: 1fr; gap: 6px; }
    .mega-item { padding: 16px; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .section { padding: 80px 20px; }
    .advantage-item { grid-template-columns: 1fr; gap: 10px; padding: 28px; }
    .advantage-num { font-size: 3.5rem; }
    .mission-card h3 { max-width: 70%; font-size: 1.5rem; }
    .mission-card .mission-placeholder { width: 100px; height: 100px; right: 18px; bottom: 18px; }

    .triangle-wrap { aspect-ratio: auto; height: auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
    .triangle-wrap svg.triangle-svg { display: none; }
    .triangle-node { position: static !important; width: 100%; max-width: 300px; transform: none !important; }

    .timeline-ring { width: 72px; height: 72px; }
    .timeline-ring .ring-label { font-size: 0.95rem; }
    .timeline-steps::before { top: 36px; }

    .engage-center { width: 150px; height: 150px; }
    .engage-center span { font-size: 0.95rem; }
}
@media (max-width: 820px) {
    /* Sur mobile : garde le beam mais allège le glow pour rester fluide */
    .hero-beam {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
    }
    .beam-path { stroke-width: 18; }
}
@media (max-width: 720px) {
    .hero-title { white-space: normal; font-size: 2rem; }
    .hero-title-wrap { padding: 16px 20px; }
    .hero-corner { width: 90px; height: 46px; }
    .hero-corner.corner-bl { left: -16px; bottom: -10px; }
    .hero-corner.corner-tr { right: -16px; top: -10px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 72vh; padding: 60px 18px; }
    .hero-buttons .btn { width: 100%; }
    .section { padding: 70px 18px; }
    .form-wrap { padding: 28px 22px; }
}
