:root {
    --black: #000000;
    --dark-grey: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #b3b3cc;
    --accent-purple: #8a3ffc;
    --accent-pink: #d93697;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.center, .hero { text-align: center; }
.section-padding { padding: 100px 0; }

/* --- EFFETS DE FOND --- */
.global-glow {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(138, 63, 252, 0.12) 0%, transparent 55%),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(217, 54, 151, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000; /* Augmenté pour rester au-dessus de tout */
}

.scroll-progress {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.scroll-progress-fill {
    display: block;
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    box-shadow: 0 0 10px rgba(138, 63, 252, 0.5);
    transition: width 0.1s ease-out;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img { height: 32px; }

.nav-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-desktop a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--text-main); }

/* --- BURGER MENU --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px; height: 2px;
    background: currentColor;
    transition: 0.3s;
}

/* Animation Burger vers X */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- NAVIGATION MOBILE : FOND ET HAUTEUR OPTIMISÉS --- */
.nav-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid rgba(138, 63, 252, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    color: var(--text-main);
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: var(--accent-purple);
}

.nav-mobile .btn-nav {
    margin-top: 20px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    padding: 16px 30px;
    width: auto;
}

body.menu-open { overflow: hidden; }

/* --- HERO SECTION --- */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-neural-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; opacity: 0.5;
}

.hero-content { position: relative; z-index: 2; }

h1 {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* --- BENTO GRID & CARDS --- */
.grid-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.bento-card {
    background: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: 0.3s;
}

.bento-card:hover {
    border-color: rgba(138, 63, 252, 0.3);
    transform: translateY(-5px);
}

.tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-pink);
    margin-bottom: 16px;
}

.card-glow-purple .tag { color: var(--accent-purple); }
.card-glow-pink .tag { color: var(--accent-pink); }

.bento-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.bento-card h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 14px;
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

/* --- POLES CONTENT --- */
.pole-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pole-card {
    background: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pole-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    border-radius: 16px 16px 0 0;
}

.pole-card-num {
    font-size: 40px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.pole-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pole-card > p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pole-card {
    display: flex;
    flex-direction: column;
}

.pole-outcome {
    margin-top: auto;
    padding: 14px 18px;
    /* hauteur égalisée par JS */
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(138, 63, 252, 0.15);
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--accent-purple), var(--accent-pink)) 1;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.outcome-label {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-pink);
    background: rgba(217, 54, 151, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 1px;
}

.pole-outcome span:last-child {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.5;
}

.pole-intro {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 800px;
}

/* --- BOUTONS --- */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: #fff;
    color: #000;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.15);
}

.btn-nav {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
}

/* --- ANIMATIONS REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .pole-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .burger { display: flex; }
    
    .grid-bento { grid-template-columns: 1fr; }
    
    h1 { font-size: 40px; }
    
    .section-padding { padding: 60px 0; }

    .drone-why-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .drone-why-wrapper .drone-why-visual {
        order: 1;
    }

    .drone-why-wrapper .drone-why {
        order: 2;
    }

    .drone-why-visual {
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
        max-width: 100vw;
        margin-bottom: 24px;
        border-radius: 0;
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .drone-grid {
        grid-template-columns: 1fr;
    }

    .secteurs-list {
        flex-direction: column;
        gap: 4px;
    }

    .drone-why {
        padding: 24px;
    }
}

/* --- À PROPOS --- */
.about {
    border-top: 1px solid var(--border-color);
}

.about .container {
    max-width: 900px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

.about-photo {
    flex: 0 0 180px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
}

.about-content {
    flex: 1;
}

.about-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.about-title {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-main);
}

.about-content p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
    text-align: justify;
    margin-bottom: 14px;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-photo {
        max-width: 180px;
        width: 100%;
        margin: 0 auto 20px;
    }
}

/* --- SECTION ACTIVITÉ DRONE --- */
.pole-drone {
    border-top: 1px solid var(--border-color);
}

.pole-drone .container {
    max-width: 1200px;
}

.pole-header,
.pole-drone-header {
    margin-bottom: 48px;
}

.pole-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.pole-conseil .pole-tag { color: var(--accent-purple); }
.pole-drone .pole-tag { color: var(--accent-pink); }

.pole-title {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.drone-why-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 36px;
    align-items: stretch;
}

.drone-why-wrapper .drone-why-visual {
    grid-column: 2;
}

.drone-why-wrapper .drone-why {
    grid-column: 1;
    grid-row: 1;
}

.drone-why {
    padding: 36px 40px;
    background: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.drone-why h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-pink);
    margin-bottom: 20px;
}

.drone-why ul {
    list-style: none;
}

.drone-why li {
    padding: 10px 0 10px 24px;
    position: relative;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

.drone-why li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border-radius: 50%;
}

.drone-why-visual {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 320px;
}

.drone-why-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.secteurs-banner {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.secteurs-in-drone {
    margin-top: 56px;
    padding: 40px 0 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

.secteurs-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.secteurs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    list-style: none;
    font-size: 14px;
}

.secteurs-list li {
    color: var(--text-dim);
}

.drone-services {
    margin-top: 56px;
}

.drone-services-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.drone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.drone-card {
    background: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 36px;
}

.drone-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.drone-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.65;
}

/* ── TAG COULEURS ─────────────────────────────────────────────── */
.tag-purple { color: var(--accent-purple); }
.tag-pink   { color: var(--accent-pink); }

/* ── CARD CTA LINK ─────────────────────────────────────────────── */
.card-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s;
}
.card-cta:hover { color: var(--accent-pink); }
.card-glow-pink  .card-cta { color: var(--accent-pink); }
.card-glow-pink  .card-cta:hover { color: var(--accent-purple); }

/* ── SECTION DOULEURS → SOLUTIONS ─────────────────────────────── */
.pain-section {
    border-top: 1px solid var(--border-color);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.pain-pair {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.pain-card {
    background: #0d0d0d;
    padding: 28px 28px 24px;
    border-bottom: 1px solid rgba(217, 54, 151, 0.18);
    position: relative;
}

.pain-icon {
    font-size: 26px;
    display: block;
    margin-bottom: 12px;
}

.pain-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.45;
}

.pain-card p {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.65;
}

.solution-card {
    background: rgba(138, 63, 252, 0.06);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--accent-purple), var(--accent-pink)) 1;
    padding: 24px 28px 28px;
    flex: 1;
}

.solution-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-purple);
    background: rgba(138, 63, 252, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.solution-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.45;
}

.solution-card p {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .pain-grid { grid-template-columns: 1fr; }
}

/* ── PROCESS 4 ÉTAPES ─────────────────────────────────────────── */
.process-wrapper {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.process-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    margin-bottom: 36px;
    text-align: center;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 16px;
}

.process-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    margin-top: 22px;
    opacity: 0.35;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .process-connector {
        width: 2px;
        height: 24px;
        flex: 0 0 24px;
        margin: 0;
    }
    .process-step { padding: 0; max-width: 300px; }
}

/* ── ABOUT LINK ───────────────────────────────────────────────── */
.about-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s;
}
.about-link:hover { color: var(--accent-pink); }

/* ── CONTACT FORM ─────────────────────────────────────────────── */
.final-cta {
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-intro .pole-intro {
    margin-bottom: 32px;
}

.chatbot-sep {
    padding: 18px 20px;
    background: rgba(138, 63, 252, 0.07);
    border: 1px solid rgba(138, 63, 252, 0.18);
    border-radius: 12px;
}

.chatbot-sep-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.btn-chatbot {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s;
}
.btn-chatbot:hover { color: var(--accent-pink); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.form-group input,
.form-group textarea {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font: 14px/1.5 var(--font-main);
    color: var(--text-main);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(138, 63, 252, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-privacy {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.6;
}

.form-privacy a {
    color: var(--accent-purple);
    text-decoration: none;
}

.btn-submit {
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-label  { display: none; }
.btn-submit.loading .btn-loading { display: inline; }
.btn-submit.loading { opacity: 0.7; cursor: wait; }

.form-success {
    font-size: 14px;
    color: #7af3a5;
    min-height: 20px;
    text-align: center;
}

.form-success.error { color: var(--accent-pink); }

@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

/* ── COOKIE BANNER ─────────────────────────────────────────────── */
#xzit-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 8888;
    background: #111;
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-dim);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

#xzit-cookie-banner.hidden {
    transform: translateY(110%);
    pointer-events: none;
}

.cookie-text { flex: 1; min-width: 220px; line-height: 1.5; }
.cookie-text a { color: var(--accent-purple); text-decoration: none; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-accept, .cookie-refuse {
    padding: 9px 20px;
    border-radius: 8px;
    font: 600 13px/1 var(--font-main);
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}
.cookie-accept {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    color: #fff;
}
.cookie-refuse {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
}
.cookie-accept:hover, .cookie-refuse:hover { opacity: 0.82; }

/* ── FOOTER LEGAL LINKS ─────────────────────────────────────────── */
.footer-legal {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
}
.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-main); }

/* ── PAGES LÉGALES ─────────────────────────────────────────────── */
.legal-page {
    padding: 80px 0 100px;
    max-width: 780px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: clamp(24px, 4vw, 38px);
    margin-bottom: 8px;
}

.legal-page .legal-updated {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 48px;
    display: block;
}

.legal-page h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 36px 0 12px;
}

.legal-page p, .legal-page li {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 10px;
}

.legal-page ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-page a {
    color: var(--accent-purple);
    text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }

.legal-back {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.legal-back:hover { color: var(--text-main); }

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.socials a { color: var(--text-dim); text-decoration: none; }


.name-origin {
    border-top: 1px solid var(--border-color);
}

.name-origin .container {
    max-width: 900px;
}

.name-origin .pole-tag {
    color: var(--accent-purple);
}

.about-spacer {
    flex: 0 0 180px;
}

.origin-content {
    flex: 1;
}

.origin-logo {
    height: 0.85em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.origin-text {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-spacer {
        display: none;
    }
}

.spark-content .pole-intro {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 24px;
}

.spark-wrapper {
    text-align: center;
    padding: 60px 40px;
    background: radial-gradient(circle at center, rgba(138, 63, 252, 0.05) 0%, transparent 70%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.spark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.spark-item {
    padding: 20px;
}

.spark-icon {
    font-size: 32px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--accent-purple));
}

.spark-item h4 {
    color: var(--text-main);
    margin-bottom: 12px;
    font-size: 18px;
}

.spark-item p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

@media (max-width: 768px) {
    
    /* Force l'affichage en colonne pour la section drone */
    .drone-why-wrapper {
        display: flex !important; /* Le !important force la priorité si nécessaire */
        flex-direction: column;
        gap: 24px;
    }

    /* L'image passe en premier */
    .drone-why-wrapper .drone-why-visual {
        order: 1;
        width: 100%;
        margin: 0 0 24px 0; /* Remise à zéro des marges négatives */
        max-width: 100%;
    }

    /* Le texte passe en dessous */
    .drone-why-wrapper .drone-why {
        order: 2;
        width: 100%;
    }
}