/********** Template CSS **********/

/*** Reset / no horizontal overflow ***/
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body > .container-fluid,
body > .container-xxl.bg-white,
.container-fluid.bg-white {
    padding-bottom: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Tous les blocs sections directs du wrapper principal → pleine largeur */
.container-fluid.bg-white > .container-xxl,
.container-fluid.bg-white > div > .container-xxl {
    max-width: 100% !important;
    width: 100% !important;
}
body > .container-xxl > div:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/*** Désactivation totale des animations d'entrée gauche/droite (wow.js + animate.css)
     -> on garde uniquement l'opacité, plus aucun glissement latéral ***/
.wow,
.animated {
    visibility: visible !important;
    animation-name: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transform: none !important;
    opacity: 1 !important;
}

:root {
    --primary: #B01E2C;       /* rouge logo "Africa" */
    --secondary: #1F2C4E;     /* bleu navy logo */
    --light: #F1F4FA;
    --dark: #1F2C4E;

    /* Overrides Bootstrap */
    --bs-primary: #B01E2C;
    --bs-dark: #1F2C4E;
    --bs-light: #F1F4FA;
}

/*** Bootstrap color overrides (le bootstrap.min.css est pre-compile en orange) ***/
.text-primary { color: #B01E2C !important; }
.bg-primary   { background-color: #B01E2C !important; }
.border-primary { border-color: #B01E2C !important; }

.text-dark { color: #1F2C4E !important; }
.bg-dark   { background-color: #1F2C4E !important; }

a { color: #B01E2C; }
a:hover { color: #841622; }

.btn-primary {
    color: #fff !important;
    background-color: #B01E2C !important;
    border-color: #B01E2C !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #841622 !important;
    border-color: #841622 !important;
    box-shadow: 0 0 0 .25rem rgba(176, 30, 44, .25) !important;
}

.btn-outline-primary {
    color: #B01E2C !important;
    border-color: #B01E2C !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #fff !important;
    background-color: #B01E2C !important;
    border-color: #B01E2C !important;
}

.btn-link { color: #B01E2C; }
.btn-link:hover { color: #841622; }

.dropdown-item.active,
.dropdown-item:active { background-color: #B01E2C !important; }

.btn-dark {
    background-color: #1F2C4E !important;
    border-color: #1F2C4E !important;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background-color: #16203a !important;
    border-color: #16203a !important;
}

.form-check-input:checked {
    background-color: #B01E2C !important;
    border-color: #B01E2C !important;
}
.form-control:focus,
.form-select:focus {
    border-color: #d97a85 !important;
    box-shadow: 0 0 0 .25rem rgba(176, 30, 44, .25) !important;
}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Drone Loader */
.drone-loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.drone-loader-img {
    position: absolute;
    top: 35%;
    left: 30%;
    transform: translate(-50%, -50%) translate(-45px, -30px);
    width: 90px;
    height: 90px;
    object-fit: contain;
    object-position: center center;
    animation: droneFloat 3s ease-in-out infinite;
}

@keyframes droneFloat {
    0%, 100% { transform: translate(-50%, -50%) translate(-45px, -30px) translateY(0px); }
    50% { transform: translate(-50%, -50%) translate(-45px, -30px) translateY(-8px); }
}

.drone-loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(176, 30, 44, 0.1);
    border-top: 4px solid #B01E2C;
    border-radius: 50%;
    animation: droneRingSpin 1.2s linear infinite;
}

@keyframes droneRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.drone-loader-ring-outer {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px solid rgba(31, 44, 78, 0.1);
    border-bottom: 2px solid #1F2C4E;
    border-radius: 50%;
    animation: droneRingSpinReverse 2s linear infinite;
}

@keyframes droneRingSpinReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.drone-loader-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #1F2C4E;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.drone-loader-dots::after {
    content: '';
    animation: dotAnimation 1.5s steps(4, end) infinite;
}

@keyframes dotAnimation {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 18px;
    padding: 32px 4px !important;
    font-size: 14px;
    color: rgba(255, 255, 255, .85) !important;
    text-transform: none;
    font-weight: 500;
    letter-spacing: .2px;
    outline: none;
    transition: color .3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-dark .navbar-nav .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    content: "";
    border-top: 5px solid var(--primary);
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
    transition: transform .3s ease;
}

.navbar-dark .navbar-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar-dark .navbar-nav .dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    margin-top: 0 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
    background: #ffffff;
    min-width: 220px;
    animation: navDropFade .25s ease;
}

@media (min-width: 992px) {
    /* Ouverture du dropdown au hover (desktop) */
    .navbar-dark .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    /* Bridge invisible pour eviter le gap entre le lien et le menu */
    .navbar-dark .navbar-nav .dropdown-menu {
        margin-top: -8px !important;
    }
    .navbar-dark .navbar-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
    }
}

@keyframes navDropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.navbar-dark .navbar-nav .dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    transition: background .25s ease, color .25s ease, padding-left .25s ease;
}

.navbar-dark .navbar-nav .dropdown-item:hover,
.navbar-dark .navbar-nav .dropdown-item:focus {
    background: rgba(176, 30, 44, .10);
    color: var(--primary);
    padding-left: 18px;
}

/* CTA button refined */
.navbar-dark .btn.btn-primary {
    border-radius: 999px;
    padding: 10px 22px !important;
    font-size: 13px;
    letter-spacing: .4px;
    box-shadow: 0 6px 18px rgba(176, 30, 44, .35);
    transition: transform .3s ease, box-shadow .3s ease;
}

.navbar-dark .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(176, 30, 44, .45);
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 22px 4px !important;
}

.sticky-top.navbar-dark .navbar-nav .nav-link::after {
    bottom: 14px;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0 !important;
        margin-left: 0;
    }

    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-dark .navbar-nav .dropdown-menu {
        box-shadow: none;
        background: rgba(255, 255, 255, .05);
        margin-top: 6px !important;
    }

    .navbar-dark .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, .85);
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Logo ***/
.logo-img {
    height: 52px;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 10px;
    transition: opacity .3s ease;
}

.logo-img:hover {
    opacity: .85;
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(31, 44, 78, .75), rgba(31, 44, 78, .75)), url(../files/Cartographie-agricole_1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991.98px) {
    .hero-header.py-5 { padding-top: 2rem !important; padding-bottom: 2.5rem !important; }
    .hero-header > .container.my-5 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
    .hero-header > .container.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .hero-title { margin-bottom: 1rem; }
    .hero-lead  { margin-bottom: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem) !important; }
    .hero-lead  { font-size: .95rem !important; }
    .hero-stat i { font-size: 1.1rem !important; }
    .hero-stat-label { font-size: .7rem; }
    .hero-stat-sep { display: none !important; }
}

.hero-header img {
    display: block;
    /* rotation gérée nativement par le GIF */
}

.drone-hero-img {
    max-width: 90%;
    animation: droneFloat 4s ease-in-out infinite;
}

/*** Hero personnalisations ***/
.hero-header {
    position: relative;
    overflow: hidden;
}

/* Pattern radar léger en fond */
.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(176, 30, 44, .15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(176, 30, 44, .18);
    border: 1px solid rgba(176, 30, 44, .55);
    color: #fff;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .3px;
    backdrop-filter: blur(6px);
    margin-bottom: 1.25rem;
}

/* Titre fluide responsive */
.hero-title {
    font-size: clamp(2rem, 5.2vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -.5px;
}

.hero-lead {
    font-size: clamp(.95rem, 1.15vw, 1.1rem);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 2rem;
    opacity: .9;
}

.btn-hero {
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 13.5px;
    letter-spacing: .5px;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .btn-hero { padding: 12px 22px; font-size: 12.5px; width: 100%; }
}

.hero-header .text-accent {
    color: var(--primary);
    background: linear-gradient(120deg, #B01E2C 0%, #ff5566 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rotating-word {
    color: var(--primary);
    display: inline-block;
    min-width: 10ch; /* accommode "cartographie" / "surveillance" — évite le reflow du titre */
    text-align: left;
    border-right: 3px solid var(--primary);
    animation: caretBlink 1s step-end infinite;
    white-space: nowrap;
}

@keyframes caretBlink {
    50% { border-color: transparent; }
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Hero stats */
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero-stat-num {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
.hero-stat-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.hero-stat-sep {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,.18);
    align-self: center;
}

.btn-ghost {
    border-radius: 999px;
    border-width: 2px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, .04);
    transition: background .3s ease, transform .3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s .8s forwards;
    z-index: 5;
}
.scroll-indicator:hover { color: #fff; }

.scroll-indicator .mouse {
    display: block;
    width: 22px;
    height: 36px;
    margin: 0 auto 8px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator .wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: wheelDown 1.6s ease-in-out infinite;
}

@keyframes wheelDown {
    0%   { opacity: 0; transform: translate(-50%, -4px); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 991.98px) {
    .scroll-indicator { display: none; }
}

@media (min-width: 992px) {
    .drone-hero-img {
        transform: translate(40px, 30px);
        animation: droneFloatDesktop 4s ease-in-out infinite;
    }
}

@keyframes droneFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@keyframes droneFloatDesktop {
    0%, 100% { transform: translate(40px, 30px); }
    50%       { transform: translate(40px, 16px); }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 8px 30px rgba(31, 44, 78, .08);
    transition: transform .45s ease, box-shadow .45s ease, background .45s ease;
    border: 1px solid rgba(31, 44, 78, .06);
    position: relative;
    overflow: hidden;
}
.service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff5566);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}
.service-item:hover { background: var(--primary); transform: translateY(-8px); box-shadow: 0 22px 45px rgba(176, 30, 44, .25); }
.service-item:hover::before { transform: scaleX(1); }
.service-item * { transition: .45s; }
.service-item:hover * { color: var(--light) !important; }
.service-item:hover i { transform: scale(1.15) rotate(-6deg); }

/* ── Service cards premium ── */
.svc-card {
    background: #fff;
    border: 1px solid rgba(31,44,78,.07);
    border-radius: 18px;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: transform .4s ease, box-shadow .4s ease;
    box-shadow: 0 6px 28px rgba(31,44,78,.07);
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(176,30,44,.04) 0%, transparent 60%);
    pointer-events: none;
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(176,30,44,.16);
}
.svc-card--featured {
    border-color: rgba(176,30,44,.25);
    background: linear-gradient(160deg, #fff 60%, rgba(176,30,44,.04) 100%);
}

.svc-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(176,30,44,.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: background .35s, transform .35s;
    flex-shrink: 0;
}
.svc-card:hover .svc-card-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-6deg) scale(1.08);
}
.svc-card-tag {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: .75;
}
.svc-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2C4E;
    margin: 0;
    line-height: 1.3;
}
.svc-card-text {
    font-size: .92rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.svc-card-text strong { color: #1F2C4E; }
.svc-card-list {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1;
}
.svc-card-list li {
    font-size: .85rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.svc-card-list li i {
    color: var(--primary);
    font-size: .8rem;
    flex-shrink: 0;
}
.svc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .5rem;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    align-self: flex-start;
    transition: background .3s, color .3s, transform .3s;
}
.svc-card-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(3px);
}
.svc-card--featured .svc-card-btn {
    background: var(--primary);
    color: #fff;
}
.svc-card--featured .svc-card-btn:hover {
    background: #8f1522;
    border-color: #8f1522;
}


/*** Drone specs (onglets flotte) — conservé pour autres pages ***/
.drone-spec {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(31, 44, 78, .08);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(31, 44, 78, .05);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    height: 100%;
}
.drone-spec:hover { transform: translateY(-4px); border-color: rgba(176,30,44,.35); box-shadow: 0 16px 32px rgba(176,30,44,.15); }
.drone-spec .spec-ico { flex-shrink:0; width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,rgba(176,30,44,.12),rgba(31,44,78,.08)); color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:18px; transition:transform .4s,background .4s; }
.drone-spec:hover .spec-ico { transform:rotate(-8deg) scale(1.05); background:var(--primary); color:#fff; }
.drone-spec .spec-body { flex:1; padding-left:16px; text-align:left; }
.drone-spec h5 { display:flex; justify-content:space-between; align-items:baseline; gap:12px; border-bottom:1px dashed rgba(31,44,78,.15); padding-bottom:8px; margin-bottom:6px; font-size:16px; }
.drone-spec h5 .text-primary { font-size:14px; font-weight:700; white-space:nowrap; }
.drone-spec small { color:#6c757d; font-style:normal; line-height:1.5; }

/*** Fleet cards (section flotte accueil) ***/
.fleet-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(31,44,78,.07);
    box-shadow: 0 6px 28px rgba(31,44,78,.07);
    transition: transform .4s ease, box-shadow .4s ease;
    display: flex;
    flex-direction: column;
}
.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(176,30,44,.14);
}
.fleet-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.fleet-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.fleet-card:hover .fleet-card-img img {
    transform: scale(1.05);
}
.fleet-card-type {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}
.fleet-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.fleet-card--primary {
    border-color: rgba(176,30,44,.2);
}
.fleet-card--primary .fleet-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(176,30,44,.18), transparent 60%);
    pointer-events: none;
}
.fleet-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2C4E;
    margin: 0;
}
.fleet-card-desc {
    font-size: .88rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.fleet-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: .25rem;
    transition: gap .25s, color .25s;
}
.fleet-card-link:hover {
    gap: .6rem;
    color: #8f1522;
}


/*** Food Menu (onglets) ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.nav-pills .nav-item a {
    transition: transform .3s ease;
}

.nav-pills .nav-item a:hover {
    transform: translateY(-2px);
}


/*** Team ***/
.team-item {
    background: #fff;
    box-shadow: 0 6px 20px rgba(31, 44, 78, .07);
    transition: transform .4s ease, box-shadow .4s ease;
}

.team-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(31, 44, 78, .14);
}

.team-item .rounded-circle {
    transition: transform .5s ease;
}

.team-item:hover .rounded-circle {
    transform: scale(1.04);
}


/*** Testimonials ***/
.testimonial-item {
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary) !important;
    box-shadow: 0 14px 30px rgba(176, 30, 44, .12);
}


/*** Back to top button ***/
.back-to-top {
    box-shadow: 0 8px 22px rgba(176, 30, 44, .35);
    border-radius: 50% !important;
    transition: transform .3s ease;
}
.back-to-top:hover {
    transform: translateY(-4px);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(31, 44, 78, .1), rgba(31, 44, 78, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

/* ================================================================
   SITE FOOTER — refonte complète (hors container-xxl)
   ================================================================ */
.site-footer {
    background: #0e1728;
    color: rgba(255,255,255,.75);
    font-family: 'Heebo', sans-serif;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* --- top band --- */
.footer-top {
    background: #1F2C4E;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 22px 5vw;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .92;
}
.footer-tagline {
    color: rgba(255,255,255,.6);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.footer-divider-v {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.15);
    margin: 0 10px;
}
.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-nav a {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: color .25s;
}
.footer-nav a:hover { color: var(--primary); }

/* --- main columns --- */
.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 40px;
    padding: 56px 5vw 48px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-col-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,.62);
    text-decoration: none;
    font-size: 14px;
    transition: color .25s, padding-left .25s;
}
.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* contact list */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.65);
    margin-bottom: 10px;
}
.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

/* social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: background .25s, color .25s, border-color .25s;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* hours */
.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,.65);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-hours li:last-child { border-bottom: none; }
.footer-hours li strong { color: #fff; }

/* newsletter */
.footer-newsletter-text {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
    line-height: 1.6;
}
.footer-newsletter-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
}
.footer-newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form button {
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 18px;
    cursor: pointer;
    transition: background .25s;
    white-space: nowrap;
}
.footer-newsletter-form button:hover { background: #8e151f; }
.footer-newsletter-hint {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    margin-top: 8px;
    margin-bottom: 0;
}

/* ================================================================
   ABOUT — galerie images améliorée
   ================================================================ */

.about-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    /* bordure fine accent */
    border: 2px solid rgba(176, 30, 44, .18);
    box-shadow: 0 8px 28px rgba(31, 44, 78, .13);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    line-height: 0; /* supprime l'espace sous l'image */
}

.about-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform .5s ease, filter .5s ease;
    filter: brightness(.97) saturate(1.05);
}

/* Hover global */
.about-img-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(176, 30, 44, .22);
    border-color: var(--primary);
}

.about-img-wrap:hover img {
    transform: scale(1.06);
    filter: brightness(1.04) saturate(1.12);
}

/* Overlay gradient subtil */
.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(
        160deg,
        rgba(31, 44, 78, .0) 50%,
        rgba(31, 44, 78, .42) 100%
    );
    pointer-events: none;
    transition: opacity .4s ease;
}

/* Badge flottant */
.about-img-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(176, 30, 44, .92);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(176, 30, 44, .4);
    transition: transform .35s ease, background .35s ease;
    line-height: 1.6;
}

.about-img-wrap:hover .about-img-badge {
    transform: translateY(-3px);
    background: rgba(176, 30, 44, 1);
}

/* Coin déco en haut à droite */
.about-img-wrap::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-top: 3px solid rgba(176, 30, 44, .7);
    border-right: 3px solid rgba(176, 30, 44, .7);
    border-radius: 0 4px 0 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity .35s ease;
}

/* Responsive : ajuster la hauteur des images sur mobile */
@media (max-width: 767.98px) {
    .about-img-wrap img { height: 140px; }
}
@media (max-width: 575.98px) {
    .about-img-wrap img { height: 120px; }
}

/* =============================================
   PAGE CARTO-ULM — composants spécifiques
   ============================================= */

/* Cartes stats ULM (présentation) */
.ulm-stat-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.ulm-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(176, 30, 44, .15);
}

/* Séparateur VS (ULM vs Drone) */
.vs-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(176, 30, 44, .35);
}

/* Bloc visuel Intellipod */
.intellipod-visual {
    background: linear-gradient(135deg, #1F2C4E 0%, #0d1727 100%) !important;
    min-height: 360px;
}
.intellipod-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(176, 30, 44, .25) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================
   CARTES PRODUITS & RÉALISATIONS
   ============================================= */

/* Effet hover sur toutes les cartes */
.card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15) !important;
}

/* Images dans les cartes */
.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Badges sur les cartes */
.card .badge {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Tableaux de comparaison */
.table-hover tbody tr {
    transition: background-color .2s ease;
}
.table-hover tbody tr:hover {
    background-color: rgba(176, 30, 44, .05);
}

/* =============================================
   STAT BADGES (Nos performances) - Design moderne
   ============================================= */

.stat-badge {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 249, 250, 0.92) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1.5px solid rgba(176, 30, 44, 0.08);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(31, 44, 78, 0.06),
        0 2px 8px rgba(176, 30, 44, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Effet glow animé en arrière-plan */
.stat-badge-glow {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(
        circle at center,
        rgba(176, 30, 44, 0.12) 0%,
        rgba(176, 30, 44, 0.04) 40%,
        transparent 70%
    );
    animation: statGlowPulse 8s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(20px);
}

@keyframes statGlowPulse {
    0%, 100% {
        transform: translate(0, 0) scale(0.95) rotate(0deg);
        opacity: 0.2;
    }
    33% {
        transform: translate(-10%, -10%) scale(1.1) rotate(120deg);
        opacity: 0.5;
    }
    66% {
        transform: translate(10%, -15%) scale(1.05) rotate(240deg);
        opacity: 0.4;
    }
}

.stat-badge:hover .stat-badge-glow {
    opacity: 1;
    animation-duration: 4s;
}

/* Badge hover effect */
.stat-badge:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(176, 30, 44, 0.25);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 252, 253, 0.98) 100%
    );
    box-shadow: 
        0 24px 64px rgba(176, 30, 44, 0.12),
        0 8px 24px rgba(31, 44, 78, 0.08),
        0 0 0 1px rgba(176, 30, 44, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 0 20px rgba(176, 30, 44, 0.02);
}

/* Icon container - Style moderne minimaliste */
.stat-badge-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    background: linear-gradient(145deg, 
        rgba(176, 30, 44, 0.06) 0%, 
        rgba(176, 30, 44, 0.02) 50%,
        rgba(31, 44, 78, 0.04) 100%
    );
    border: 1px solid rgba(176, 30, 44, 0.1);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--primary);
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 4px 12px rgba(176, 30, 44, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Effet de brillance sur l'icône */
.stat-badge-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, 
        rgba(176, 30, 44, 1) 0%, 
        rgba(255, 85, 102, 1) 50%,
        rgba(176, 30, 44, 1) 100%
    );
    border-radius: 23px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
    filter: blur(0px);
}

/* Animation d'icône au hover */
.stat-badge:hover .stat-badge-icon {
    transform: scale(1.15) rotate(-8deg);
    color: #fff;
    border-color: transparent;
    box-shadow: 
        0 8px 24px rgba(176, 30, 44, 0.25),
        0 0 0 4px rgba(176, 30, 44, 0.05);
}

.stat-badge:hover .stat-badge-icon::before {
    opacity: 1;
}

/* Number - Design plus moderne et lisible */
.stat-badge-number {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        #c41425 40%,
        #ff5566 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -2px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 8px rgba(176, 30, 44, 0.1);
}

.stat-badge:hover .stat-badge-number {
    transform: scale(1.12);
    letter-spacing: -2.5px;
    filter: brightness(1.1);
}

/* Label - Plus moderne et espacé */
.stat-badge-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #2c3e50;
    margin-bottom: 6px;
    transition: all 0.4s ease;
    position: relative;
}

.stat-badge:hover .stat-badge-label {
    color: var(--primary);
    letter-spacing: 2.2px;
    transform: translateY(-2px);
}

/* Sublabel - Plus subtil */
.stat-badge-sublabel {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 10px;
    opacity: 0.75;
    transition: all 0.4s ease;
    letter-spacing: 0.3px;
}

.stat-badge:hover .stat-badge-sublabel {
    opacity: 1;
    color: #495057;
    transform: translateY(2px);
}

/* Responsive - Adaptations modernes */
@media (max-width: 991.98px) {
    .stat-badge {
        padding: 36px 24px;
    }
    
    .stat-badge-icon {
        width: 76px;
        height: 76px;
        font-size: 34px;
        margin-bottom: 20px;
    }
    
    .stat-badge-number {
        font-size: 46px;
        letter-spacing: -1.5px;
    }
    
    .stat-badge-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 575.98px) {
    .stat-badge {
        padding: 32px 20px;
    }
    
    .stat-badge-icon {
        width: 68px;
        height: 68px;
        font-size: 30px;
        margin-bottom: 18px;
    }
    
    .stat-badge-number {
        font-size: 40px;
        letter-spacing: -1.2px;
    }
    
    .stat-badge-label {
        font-size: 10px;
        letter-spacing: 1.4px;
    }
    
    .stat-badge-sublabel {
        font-size: 10px;
        margin-top: 8px;
    }
    
    /* Réduction des effets hover sur mobile */
    .stat-badge:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .stat-badge:hover .stat-badge-icon {
        transform: scale(1.08) rotate(-5deg);
    }
    
    .stat-badge:hover .stat-badge-number {
        transform: scale(1.05);
    }
}

/* =============================================
   DRONE LIVE SHOWCASE - Professional GIF Display
   ============================================= */

.drone-live-showcase {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(176, 30, 44, 0.05) 0%, rgba(31, 44, 78, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drone-live-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(176, 30, 44, 0.08) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(31, 44, 78, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.drone-live-showcase:hover::before {
    opacity: 1;
}

.drone-live-showcase:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(176, 30, 44, 0.15);
    border-color: rgba(176, 30, 44, 0.3);
}

/* Badge "EN VOL RÉEL" */
.drone-live-showcase .live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #B01E2C 0%, #d62839 100%);
    color: white;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 
        0 4px 16px rgba(176, 30, 44, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: live-pulse 2s ease-in-out infinite;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.drone-live-showcase .live-badge::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: live-blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes live-pulse {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(176, 30, 44, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 4px 24px rgba(176, 30, 44, 0.6),
            0 2px 8px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 20px rgba(176, 30, 44, 0.4);
    }
}

@keyframes live-blink {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }
}

/* Image container */
.drone-live-showcase .showcase-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drone-live-showcase .showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1.02) saturate(1.05);
}

.drone-live-showcase:hover .showcase-image img {
    filter: brightness(1.08) contrast(1.05) saturate(1.1);
    transform: scale(1.03);
}

/* Caption */
.drone-live-showcase .showcase-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 5;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drone-live-showcase:hover .showcase-caption {
    transform: translateY(0);
    opacity: 1;
}

.drone-live-showcase .showcase-caption h6 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1F2C4E;
    letter-spacing: -0.3px;
}

.drone-live-showcase .showcase-caption p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.drone-live-showcase .showcase-caption .caption-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #B01E2C 0%, #d62839 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-top: 8px;
}

/* Glow effect on hover */
.drone-live-showcase .showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(176, 30, 44, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.drone-live-showcase:hover .showcase-glow {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .drone-live-showcase .live-badge {
        top: 12px;
        right: 12px;
        padding: 8px 16px;
        font-size: 10px;
    }
    
    .drone-live-showcase .showcase-caption {
        padding: 12px 16px;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
    
    .drone-live-showcase .showcase-caption h6 {
        font-size: 14px;
    }
    
    .drone-live-showcase .showcase-caption p {
        font-size: 12px;
    }
    
    .drone-live-showcase:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

/* =============================================
   TRUST BADGES CAROUSEL (Ils nous font confiance)
   ============================================= */

.trust-badges-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(241, 244, 250, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 16px;
}

/* Gradient fade sur les bords */
.trust-badges-container::before,
.trust-badges-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.trust-badges-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(241, 244, 250, 1) 0%, rgba(241, 244, 250, 0) 100%);
}

.trust-badges-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(241, 244, 250, 1) 0%, rgba(241, 244, 250, 0) 100%);
}

.trust-badges-track {
    display: flex;
    gap: 20px;
    animation: trustBadgesScroll 30s linear infinite;
    width: fit-content;
}

/* Pause au hover */
.trust-badges-container:hover .trust-badges-track {
    animation-play-state: paused;
}

@keyframes trustBadgesScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Badge individuel */
.trust-badge {
    flex-shrink: 0;
    width: 280px;
    height: 96px;
    padding: 20px 24px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(176, 30, 44, 0.15);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(31, 44, 78, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet glow animé */
.trust-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(176, 30, 44, 0.08) 0%,
        transparent 70%
    );
    animation: trustBadgeGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes trustBadgeGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-10%, -10%) scale(1.1);
    }
}

/* ══════════════════════════════
   PAGE DRONE-VTOL
══════════════════════════════ */

/* Hero */
.vtol-hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.vtol-hero-bg {
    position: absolute;
    inset: 0;
}
.vtol-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.vtol-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10,14,26,.85) 40%, rgba(31,44,78,.65) 100%);
}
.vtol-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(176,30,44,.12);
    border: 1px solid rgba(176,30,44,.35);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 1.1rem;
}
.vtol-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.1rem;
    letter-spacing: -.02em;
}
.vtol-hero-sub {
    font-size: clamp(.95rem, 1.1vw, 1.1rem);
    color: rgba(255,255,255,.75);
    max-width: 500px;
    line-height: 1.7;
}
.vtol-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    width: fit-content;
}
.vtol-hero-stat { text-align: center; }
.vtol-hero-stat span {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.vtol-hero-stat small {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.5);
}

/* Model cards */
.vtol-model-card {
    background: #fff;
    border: 1px solid rgba(31,44,78,.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 6px 28px rgba(31,44,78,.07);
    transition: transform .35s ease, box-shadow .35s ease;
}
.vtol-model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(176,30,44,.12);
}
.vtol-model-card--dark {
    background: #0e1728;
    border-color: rgba(255,255,255,.08);
    color: #fff;
}
.vtol-model-card--dark .vtol-model-desc { color: rgba(255,255,255,.7); }
.vtol-model-card--dark .vtol-model-use span { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.vtol-model-card--dark .vtol-model-btn { border-color: rgba(255,255,255,.3); color: #fff; }
.vtol-model-card--dark .vtol-model-btn:hover { background: #fff; color: #0e1728; }

.vtol-model-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.vtol-model-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(176,30,44,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}
.vtol-model-card--dark .vtol-model-icon { background: rgba(176,30,44,.25); }
.vtol-model-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: inherit;
}
.vtol-model-tag {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: .8;
}
.vtol-model-desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.vtol-model-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
}
.vtol-model-spec {
    text-align: center;
    background: rgba(176,30,44,.06);
    border-radius: 10px;
    padding: .65rem .4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}
.vtol-model-card--dark .vtol-model-spec { background: rgba(255,255,255,.06); }
.vtol-model-spec i { font-size: .85rem; color: var(--primary); }
.vtol-model-spec span { font-size: .88rem; font-weight: 700; color: inherit; line-height: 1.1; }
.vtol-model-spec small { font-size: .6rem; text-transform: uppercase; letter-spacing: .07em; color: #888; }
.vtol-model-card--dark .vtol-model-spec small { color: rgba(255,255,255,.4); }
.vtol-model-use {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.vtol-model-use span {
    font-size: .72rem;
    background: rgba(31,44,78,.06);
    border-radius: 999px;
    padding: 3px 10px;
    color: #444;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.vtol-model-use span i { font-size: .6rem; color: var(--primary); }
.vtol-model-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .83rem;
    font-weight: 600;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    padding: 8px 22px;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: background .3s, color .3s, transform .3s;
}
.vtol-model-btn:hover { background: var(--primary); color: #fff; transform: translateX(3px); }

/* Spec blocks */
.vtol-spec-block {
    background: #fff;
    border: 1px solid rgba(31,44,78,.07);
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 4px 18px rgba(31,44,78,.05);
}
.vtol-spec-block-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    margin-bottom: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.vtol-spec-block ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.vtol-spec-block li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(31,44,78,.06);
}
.vtol-spec-block li:last-child { border-bottom: none; }
.vtol-spec-block li span { color: #666; }
.vtol-spec-block li strong { color: #1F2C4E; font-weight: 700; }

/* Comparatif */
.vtol-compare {
    border: 1px solid rgba(31,44,78,.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31,44,78,.06);
}
.vtol-compare-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(31,44,78,.06);
}
.vtol-compare-row:last-child { border-bottom: none; }
.vtol-compare-header {
    background: #1F2C4E;
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.vtol-compare-col--a { color: var(--primary); }
.vtol-compare-col--b { color: #a0a8b8; }
.vtol-compare-label {
    padding: .85rem 1.5rem;
    font-size: .88rem;
    font-weight: 600;
    color: #444;
}
.vtol-compare-row:nth-child(even) { background: rgba(31,44,78,.025); }
.vtol-compare-col {
    padding: .85rem 1.25rem;
    text-align: center;
    font-size: .88rem;
    color: #555;
}
.vtol-compare-header .vtol-compare-col { color: inherit; }
.vtol-compare-highlight { font-weight: 700; color: #1F2C4E; }
.vtol-compare-row--cta { background: rgba(176,30,44,.03) !important; padding: .5rem 0; }
.vtol-compare-row--cta .vtol-compare-label { border: none; }

@media (max-width: 575.98px) {
    .vtol-model-specs { grid-template-columns: repeat(2, 1fr); }
    .vtol-compare-label { padding: .65rem .75rem; font-size: .78rem; }
    .vtol-compare-col { padding: .65rem .5rem; font-size: .78rem; }
    .vtol-hero-title { font-size: 2rem; }
}

/* --- Partners logo ticker --- */
.partners-ticker {
    position: relative;
    overflow: hidden;
    padding: 16px 0;
}
.partners-ticker::before,
.partners-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.partners-ticker::before { left: 0;  background: linear-gradient(90deg, #fff, transparent); }
.partners-ticker::after  { right: 0; background: linear-gradient(270deg, #fff, transparent); }

.partners-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: fit-content;
    animation: partnerScroll 28s linear infinite;
}
.partners-ticker:hover .partners-track { animation-play-state: paused; }

@keyframes partnerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partners-track img {
    height: 90px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    transition: transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fff;
    padding: 8px 14px;
    box-shadow: 0 2px 10px rgba(31,44,78,.08);
    border: 1px solid rgba(31,44,78,.07);
}
.partners-track img:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(176,30,44,.18);
    border-color: rgba(176,30,44,.25);
}

@media (max-width: 575.98px) {
    .partners-track img { height: 64px; max-width: 120px; padding: 5px 10px; }
    .partners-track { gap: 20px; }
}

/* --- bottom bar --- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 5vw;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}
.footer-bottom-links {
    display: flex;
    gap: 0;
}
.footer-bottom-links a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: 13px;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: color .2s;
}
.footer-bottom-links a:last-child { border-right: none; padding-right: 0; }
.footer-bottom-links a:hover { color: var(--primary); }

/* --- responsive --- */
@media (max-width: 991.98px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
        padding: 40px 5vw 36px;
    }
    .footer-divider-v { display: none; }
}
@media (max-width: 575.98px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- crédit développeur --- */
.footer-credit {
    text-align: center;
    padding: 10px 5vw 14px;
    font-size: 12px;
    color: rgba(255,255,255,.25);
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-credit a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .2s;
}
.footer-credit a:hover { color: var(--primary); }