/*** Template CSS ***/
:root {
    /* Cores principais */
    --primary: #1B3563;
    /* Azul escuro */
    --secondary: #F3CC1F;
    /* Amarelo */

    /* Cores base */
    --light: #F8F2F0;
    --dark: #060315;
    --white: #ffffff;

    /* Novas cores auxiliares */
    --blue-medium: #145A9C;
    /* Azul médio */
    --blue-light: #2A9BD3;
    /* Azul claro */
    --orange-line: #f38034;
    /* Laranja */
    --cizento: #9ca3af;
    /* Cizento */

    /* fallback */
    --bex-blue: #1B3563;
    --bex-yellow: #f5c400;
    --yellow-light: #FCED9B;
    --green-highlight: #3CB371;
    --green-ctt: #b8d400;

    /* Tipografia */
    --font-primary: 'Quicksand', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* border etapa */
    --track-line: #b8c7dd;
    --track-muted: #6c757d;
    --track-title: #0f2447;
    --track-bg: #f8f9fa;
}

.track-item {
    --stage-color: transparent;
    /* fallback */
}

/* Tipografia global */
body {
    background-color: #f7f9fc;

    background-image:
        linear-gradient(rgba(27, 53, 99, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 53, 99, 0.025) 1px, transparent 1px);

    background-size: 48px 48px;

    font-family: var(--font-primary);
    font-weight: 700;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    filter: blur(40px);

    background:
        radial-gradient(circle at 20% 20%,
            rgba(42, 155, 211, 0.06),
            transparent 40%),
        radial-gradient(circle at 80% 0%,
            rgba(27, 53, 99, 0.06),
            transparent 40%);

    z-index: 0;
    /* 🔥 FICA ATRÁS DE TUDO */
}

main,
.container {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

p,
span,
li,
a,
button,
input,
textarea {
    font-family: var(--font-secondary);
}

.fw-small {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700;
}

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

/****************************************************
 * BOTÕES — BASE BOOTSTRAP (INFRAESTRUTURA)
 * Usado em navbar, footer, cookies, utilitários
 ****************************************************/
.btn {
    font-weight: 600;
    transition: .3s ease;
}

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

/* Botões quadrados (ícones, back-to-top, social) */
.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: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Cores Bootstrap sobrescritas para Box Express */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--blue-medium) !important;
    border-color: var(--blue-medium) !important;
}

.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #000000;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--yellow-light) !important;
    border-color: var(--yellow-light) !important;
}

/****************************************************
 * SISTEMA DE BOTÕES — BOX EXPRESS (DESIGN SYSTEM)
 * NÃO usa .btn do Bootstrap
 ****************************************************/

/* =================================
   CTA — BASE COMUM (MESMO TAMANHO)
================================= */
.btn-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 16px 42px;
    font-size: 17px;

    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.2;

    border-radius: 6px;
    border: 2px solid transparent;
    text-decoration: none;

    transition: all .25s ease;
}

/* =================================
   PRIMARY CTA — ORÇAMENTO
================================= */
.btn-box-primary {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-box-primary:hover {
    background-color: var(--blue-medium);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(27, 53, 99, 0.45);
}

/* =================================
   SECONDARY CTA — SERVIÇOS
================================= */
.btn-box-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-box-secondary:hover {
    background-color: var(--yellow-light);
    color: var(--primary);
    box-shadow: 0 8px 22px rgba(244, 180, 0, 0.35);
}

/* INLINE / CARD CTA — produtos, listas */
.btn-box-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 600;

    background-color: var(--primary);
    color: #ffffff;

    border-radius: 5px;
    text-decoration: none;

    transition: all .25s ease;
}

.btn-box-action:hover {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(244, 180, 0, .35);
}

.btn-box-action i {
    font-size: 14px;
    transition: transform .25s ease;
}

.btn-box-action:hover i {
    transform: translateX(4px);
}

/****************************************************
 * BOTÕES DE FORMULÁRIO — CONTACT & QUOTE
 * Uso exclusivo em forms
 ****************************************************/
.btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 32px;
    font-size: 15.5px;

    font-family: var(--font-secondary);
    /* Open Sans */
    font-weight: 600;
    letter-spacing: .2px;

    background-color: var(--primary);
    color: #ffffff;

    border: none;
    border-radius: 6px;
    text-decoration: none;

    transition: all .25s ease;
}

/* Hover — sólido e confiante */
.btn-form:hover {
    background-color: var(--blue-medium);
    box-shadow: 0 8px 20px rgba(27, 53, 99, 0.35);
}

/* Estado loading / disabled */
.btn-form:disabled,
.btn-form.loading {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

/* Mobile: botão full width */
@media (max-width: 576px) {
    .btn-form {
        width: 100%;
    }
}


/****************************************************
 * MOBILE — CTAs IMPORTANTES A 100% LARGURA
 ****************************************************/
@media (max-width: 576px) {

    .btn-box-primary,
    .btn-box-secondary {
        width: 100%;
        justify-content: center;
    }
}

/*** 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;
}

/* Spinner exclusivo para submit de formulários */
.form-spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    pointer-events: none; /* 🔥 ISTO É O MAIS IMPORTANTE */
}

.form-spinner-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.form-spinner-box {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    max-width: 420px;
}

/*** Icons ***/
.services-benefits span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.services-benefits i {
    font-size: 0.95rem;
    opacity: 0.9;
}

/*** Navbar ***/
.navbar-border-bottom {
    border-bottom: 4px solid var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 24px 0;

    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    color: var(--dark);
    outline: none;
    display: flex;
    align-items: center;
}

/*** HOVER → amarelo ***/
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary);
}

/*** ACTIVE → azul ***/
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

/*** Brand em texto ***/
.navbar-brand {
    background-color: var(--primary);
    height: 75px;
    display: flex;
    align-items: center;
}

.brand-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: .5px;
}

.brand-accent {
    color: var(--secondary);
}

/*** Mobile ***/
@media (max-width: 575.98px) {
    .brand-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        margin: 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 3px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .4s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::before {
        width: 100%;
        left: 0;
        background: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
        background: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Seguir Envio ***/
.navbar-light .navbar-nav .nav-link.nav-track {
    color: var(--dark);
    font-weight: 700;
}

/* Hover */
.navbar-light .navbar-nav .nav-link.nav-track:hover {
    color: var(--secondary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link.nav-track::before {
        width: 100%;
        left: 0;
        background: var(--primary);
        /* linha azul */
    }
}

/*** Idioma do site ***/
.navbar .dropdown-toggle::after {
    margin-left: 6px;
}

.navbar .dropdown-menu {
    font-size: 15px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(244, 180, 0, 0.12);
}

.dropdown-menu img {
    border-radius: 2px;
}

/* Estado normal */
.navbar .nav-item.dropdown>.nav-link {
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    padding: 24px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Seta igual ao texto */
.navbar .nav-item.dropdown>.nav-link::after {
    color: inherit;
}

/* Hover — texto amarelo */
.navbar .nav-item.dropdown>.nav-link:hover {
    color: var(--secondary);
}


.navbar .nav-item.dropdown:last-child .dropdown-menu {
    right: 0;
    left: auto;
}

@media (max-width: 991.98px) {
    .navbar .nav-item .nav-link img {
        border-radius: 2px;
    }

    .navbar .nav-item .nav-link.disabled {
        opacity: .6;
        cursor: default;
    }
}

/* =========================
   CTA SEGUIR ENVIO — BASE
========================= */
.navbar .nav-track-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: var(--secondary);
    color: var(--primary) !important;

    padding: 12px 18px !important;
    margin: 0 0 0 10px;
    height: auto;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;

    transition: all .25s ease;

    animation: pulseTrack 2.5s infinite;
}

/* hover */
.navbar .nav-track-btn:hover {
    background: var(--yellow-light);
    color: var(--primary) !important;

    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 180, 0, 0.35);
}

/* remover underline */
.navbar .nav-track-btn::before {
    display: none !important;
}

/* garantir alinhamento vertical perfeito */
@media (min-width: 992px) {
    .navbar .navbar-nav {
        align-items: center;
    }
}

/* animação */
@keyframes pulseTrack {
    0% { box-shadow: 0 0 0 0 rgba(244,180,0,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(244,180,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(244,180,0,0); }
}

/* =========================
   NAV SUB LABEL — BASE (mobile first)
========================= */
.nav-with-sub {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1;
}

.nav-with-sub .nav-sub {
    display: block;
    font-size: 11px;
    margin-top: 2px;

    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;

    color: var(--cizento);
    opacity: 0.75;
}

/* hover */
.nav-with-sub:hover .nav-sub {
    color: var(--secondary);
}

/* =========================
   FIX MOBILE NAV ALIGN
========================= */
@media (max-width: 991.98px) {

    .navbar-nav {
        align-items: flex-start !important; /* 🔥 força esquerda */
    }

    .nav-with-sub {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .nav-with-sub .nav-sub {
        text-align: left !important;
    }
}

/* =========================
   DESKTOP — SUBLABEL EM VEZ DA LINHA ACTIVE
========================= */
@media (min-width: 992px) {

    /* garantir alinhamento base igual para todos */
    .navbar .navbar-nav {
        align-items: center !important;
    }

    .navbar-light .navbar-nav .nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 24px 0;
    }

    /* 🔥 RESET do comportamento anterior */
    .nav-with-sub {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: row !important; /* 🔥 importante */
    }

    /* 🔥 SUBLABEL POSICIONADO ABSOLUTO */
    .nav-with-sub .nav-sub {
        position: absolute;
        bottom: 2px; /* 🔥 encosta à linha amarela */
        left: 50%;
        transform: translateX(-50%);

        font-size: 9px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;

        color: var(--cizento);
        opacity: 0.85;
        white-space: nowrap;
    }

    /* hover */
    .nav-with-sub:hover .nav-sub {
        color: var(--secondary);
    }

    /* active */
    .nav-with-sub.active .nav-sub {
        color: var(--primary);
        opacity: 1;
    }

    /* 🔥 remover linha azul destes links */
    .nav-with-sub::before {
        display: none !important;
    }
}

/*** Header ***/
@media (max-width: 768px) {
    .carousel-title span {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: heroZoom 18s ease-in-out infinite alternate;
    }

    @keyframes heroZoom {
        from {
            transform: scale(1);
        }

        to {
            transform: scale(1.06);
        }
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

/*** Carousel Heading Colors ***/
.header-carousel .container {
    position: relative;
    z-index: 3;
}

.header-carousel .owl-carousel-item img {
    filter: brightness(0.8);
    animation: heroZoom 18s ease-in-out infinite alternate;
}


@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

/* Overlay azul padrão do carousel */
.carousel-overlay {
    background: linear-gradient(110deg,
            rgba(6, 3, 21, 0.75) 0%,
            rgba(27, 53, 99, 0.65) 40%,
            rgba(27, 53, 99, 0.55) 60%,
            rgba(6, 3, 21, 0.75) 100%);
    z-index: 2;
}

.video-slide .carousel-overlay {
    background: linear-gradient(110deg,
            rgba(6, 3, 21, 0.75) 0%,
            rgba(27, 53, 99, 0.65) 40%,
            rgba(27, 53, 99, 0.55) 60%,
            rgba(6, 3, 21, 0.75) 100%);
}

.carousel-title {
    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.55);
    line-height: 1.2;
}

.carousel-title::after {
    content: "";
    display: block;

    width: 80px;
    height: 4px;

    background: var(--secondary);
    margin-top: 14px;
}

.carousel-title .text-green {
    color: var(--green-highlight);
}

.carousel-title .text-yellow {
    color: var(--secondary);
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 1.5px solid #ffffff;
    border-radius: 50%;

    /* SETA AMARELA */
    color: var(--secondary);
    font-size: 22px;

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .2s ease;
}

/* Hover */
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    /* amarelo */
    border-color: var(--secondary);
    color: var(--primary);
    /* azul Box */
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(244, 180, 0, 0.45);
}

.header-carousel .owl-nav .owl-prev:active,
.header-carousel .owl-nav .owl-next:active {
    transform: scale(0.96);
}

.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5));
}

.page-header-quote {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-quote.jpg');
}

.page-header-service {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-services.jpg');
}

.page-header-track {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-track.jpg');
}

.page-header-price {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-boxes.jpg');
}

.page-header-contact {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-contact.jpg');
}

.page-header-about {
    background-image:
        linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)),
        url('../img/headers/header-about.jpg');
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);

    border-radius: 14px;

    border: 1px solid rgba(27, 53, 99, 0.08);

    box-shadow:
        0 8px 24px rgba(27, 53, 99, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);

    transition: all .3s ease;
    will-change: transform;
    overflow: hidden;
    /* 🔥 isto resolve 100% o problema do radius */
}

/* 🔥 HOVER GLOBAL */
.service-item:hover,
.price-item:hover,
.team-item:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(27, 53, 99, 0.18),
        0 6px 12px rgba(0, 0, 0, 0.06);

    border-color: rgba(27, 53, 99, 0.15);
}

/* 🔥 LINHA TOPO — BRANDING CORRETO */
.service-item::before,
.price-item::before,
.team-item::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background: linear-gradient(90deg,
            var(--primary) 0%,
            var(--primary) 40%,
            #ffffff 65%,
            var(--secondary) 100%);

    border-top-left-radius: 14px;
    border-top-right-radius: 14px;

    z-index: 2;
}

/* 🔥 IMAGEM — CORTE LIMPO */
.service-item .overflow-hidden,
.price-item .overflow-hidden,
.team-item .overflow-hidden {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

/* 🔥 ZOOM UNIFICADO (ANTES TINHAS DUPLICADO) */
.service-item img,
.price-item img,
.team-item img {
    transition: transform .4s ease;
}

.service-item:hover img,
.price-item:hover img,
.team-item:hover img {
    transform: scale(1.05);
}

/* 🔥 BOTÃO SLIDE (mantido mas otimizado) */
.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}

/* =========================================
   SERVICE PAGE — CARD HORIZONTAL
========================================= */

.service-detail-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);

    border-radius: 14px;
    border: 1px solid rgba(27, 53, 99, 0.08);

    box-shadow:
        0 10px 30px rgba(27, 53, 99, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);

    transition: all .3s ease;
    overflow: hidden;
}

/* hover igual aos outros */
.service-detail-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 50px rgba(27, 53, 99, 0.18),
        0 6px 12px rgba(0, 0, 0, 0.06);
}

/* topo igual (🔥 consistente) */
.service-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background: linear-gradient(90deg,
            var(--primary),
            #eaf2ff,
            var(--secondary));

    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

/* imagem */
.service-detail-img {
    height: 100%;
    object-fit: cover;
    border-radius: 0 14px 14px 0;
}

/* quando invertido */
.service-detail-reverse .service-detail-img {
    border-radius: 14px 0 0 14px;
}

/* conteúdo */
.service-detail-content {
    padding: 40px;
}

.service-detail-content i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-detail-content h3 {
    font-weight: 700;
    color: var(--primary);
}

.service-detail-content h3 i {
    background: rgba(243, 204, 31, 0.15);
    padding: 6px;
    border-radius: 6px;
}

.service-detail-content p {
    color: #4b5563;
}


/* =========================================
   PRICE PAGE — BLOCK PREMIUM
========================================= */

.price-block {
    position: relative;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);

    border-radius: 16px;

    border: 1px solid rgba(27, 53, 99, 0.08);

    box-shadow:
        0 12px 35px rgba(27, 53, 99, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.04);

    padding: 40px;

    transition: all .3s ease;
    overflow: hidden;
}

/* HOVER */
.price-block:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 55px rgba(27, 53, 99, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.06);
}

/* 🔥 TOPO BRAND (igual services mas melhorado) */
.price-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background: linear-gradient(90deg,
            var(--primary) 0%,
            #ffffff 60%,
            var(--secondary) 100%);

    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* =========================================
   TÍTULOS MAIS PREMIUM
========================================= */

.price-block h1 {
    color: var(--primary);
    font-size: 2rem;
    position: relative;
}

/* linha decorativa */
.price-block h1::after {
    content: "";
    display: block;

    width: 60px;
    height: 4px;

    background: var(--secondary);
    margin-top: 10px;
}

/* =========================================
   TEXTO
========================================= */

.price-block p {
    color: #4b5563;
}

/* =========================================
   LISTA (mais limpa)
========================================= */

.price-block ul li {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 10px;
    font-weight: 500;
}

.price-block ul li i {
    font-size: 0.95rem;
}

/* =========================================
   IMAGEM
========================================= */

.price-block img {
    border-radius: 14px;
    transition: transform .4s ease;
}

/* zoom */
.price-block:hover img {
    transform: scale(1.04);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .price-block {
        padding: 22px;
    }

    .price-block h1 {
        font-size: 400;
    }

    .price-block h6 {
        font-size: 400;
    }
}

/*** FAQ ***/

/*** Botão base ***/
.accordion-button {
    background-color: #F8F2F0;
    /*#F8F2F0*/
    font-weight: 500;
    color: #1B3563;
}

/*** Estado aberto ***/
.accordion-button:not(.collapsed) {
    background-color: #1B3563;
    color: #ffffff;
    /*border-left: 4px solid #F4B400;*/
}

/*** Seta AMARELA ***/
.accordion-button:not(.collapsed)::after {
    background-image: none;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-right: 3px solid #F4B400;
    border-bottom: 3px solid #F4B400;
    transform: rotate(45deg);
    margin-left: auto;
}

/*** Estado fechado (opcional – seta azul) ***/
.accordion-button.collapsed::after {
    background-image: none;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-right: 3px solid #1B3563;
    border-bottom: 3px solid #1B3563;
    transform: rotate(-45deg);
    margin-left: auto;
}

/*** Corpo ***/
.accordion-body {
    background-color: #1B3563;
    color: #fff;
    border-bottom: 4px solid #F4B400;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background-color: var(--primary) !important;
    border-top: 4px solid #F4B400;

    font-family: var(--font-secondary);
    /* Open Sans */
    font-size: 14px;
    /* TAMANHO BASE */
    font-weight: 400;
    color: var(--light);
}

/****************************************************
 * TÍTULOS DO FOOTER
 ****************************************************/
.footer h4 {
    font-family: var(--font-primary);
    /* Quicksand */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    color: #fff;
}

/****************************************************
 * TEXTO NORMAL (contactos, endereço, newsletter)
 ****************************************************/
.footer p,
.footer span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: .5rem;
}

/* Ícones */
.footer i {
    font-size: 13px;
    opacity: .85;
}

/*** email protected ***/
#email-protected a {
    color: #ffffff;
    text-decoration: none;
}

#email-protected a:hover {
    color: var(--secondary);
}

/*** suporte box express ***/
.footer-support-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
}

.footer-support-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/****************************************************
 * LINKS RÁPIDOS (mantém hover atual)
 ****************************************************/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;

    font-size: 14px;
    /* IGUAL AO TEXTO */
    font-weight: 400;
    text-transform: capitalize;

    color: #FFFFFF;
    transition: all .3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #F4B400;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: #F4B400;
}

/*** Redes Sociais ***/
.footer .btn.btn-social {
    margin-right: 6px;
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 50%;

    line-height: 1;
    font-size: 15px;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer .btn.btn-social i {
    line-height: 1;
}

.footer .btn.btn-social:hover {
    background-color: #F4B400;
    color: var(--primary);
    border-color: #F4B400;
}

/* =========================================
   FOOTER — BOTÃO NEWSLETTER INLINE
========================================= */
.btn-box-primary-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;
    height: 42px;

    background-color: var(--primary);
    color: #ffffff;

    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;

    border: none;
    border-radius: 4px;

    cursor: pointer;
    white-space: nowrap;

    transition: background-color .25s ease, box-shadow .25s ease;
}

/* Hover */
.btn-box-primary-inline:hover {
    background-color: var(--blue-medium);
    box-shadow: 0 6px 16px rgba(27, 53, 99, 0.35);
}

/* Active */
.btn-box-primary-inline:active {
    transform: translateY(1px);
}

.footer input.form-control {
    font-size: 14px;
    border-radius: 4px;
}

/*** Copyright ***/
.footer .copyright {
    padding: 25px 0;
    font-size: 13.5px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer .copyright a {
    color: var(--light);
    transition: color .3s ease;
}

.footer .copyright a:hover {
    color: #F4B400;
}

/*** Override Bootstrap Colors !!! Important ***/

/*** Backgrounds ***/
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-tree {
    background-color: var(--track-muted) !important;
}

/*** Text colors ***/
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/*** Borders ***/
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/* =====================================================
   HERO CAROUSEL — FULL SCREEN (DESKTOP + MOBILE)
===================================================== */

.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item {
    height: 100vh;
}

.header-carousel .owl-carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;

    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ===============================
   IMAGENS DOS SLIDES
=============================== */

.header-carousel .owl-carousel-item>img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 1;

    filter: brightness(.80);
}

/* ===============================
   VÍDEO DO HERO
=============================== */

.carousel-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 1;

    pointer-events: none;

    filter: brightness(.70) contrast(1.05);

    transform: translateZ(0);
}

/* ===============================
   OVERLAY GLOBAL
=============================== */

.carousel-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(110deg,
            rgba(6, 3, 21, 0.60) 0%,
            rgba(27, 53, 99, 0.55) 40%,
            rgba(27, 53, 99, 0.45) 60%,
            rgba(6, 3, 21, 0.60) 100%);

    z-index: 2;
}

/* garantir overlay também no slide vídeo */

.video-slide .carousel-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(110deg,
            rgba(6, 3, 21, 0.60) 0%,
            rgba(27, 53, 99, 0.55) 40%,
            rgba(27, 53, 99, 0.45) 60%,
            rgba(6, 3, 21, 0.60) 100%);

    z-index: 2;
}

/* ===============================
   CONTEÚDO DO HERO
=============================== */

.header-carousel .container {
    position: relative;
    z-index: 3;
}

/* ===============================
   OWL FADE ANIMATION
=============================== */

.owl-carousel .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.owl-carousel .fadeOut {
    animation-name: fadeOut;
}

.owl-carousel .fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =====================================================
   MOBILE — ajustes de texto
===================================================== */

@media (max-width:768px) {

    body {
        background-size: 32px 32px;
        font-weight: 400;
    }

    body::before {

        /* remover blur pesado */
        filter: blur(20px);

        /* trazer o glow mais para o centro */
        background:
            radial-gradient(circle at 30% 30%,
                rgba(42, 155, 211, 0.08),
                transparent 50%),
            radial-gradient(circle at 70% 10%,
                rgba(27, 53, 99, 0.08),
                transparent 50%);
    }

    .carousel-title span {
        display: block;
    }

    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .header-carousel .owl-carousel-item h5 {
        font-size: 13px;
        letter-spacing: .5px;
    }

    .header-carousel .owl-carousel-item .container {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    /* reduzir padding do card */
    .service-detail-content {
        padding: 22px;
    }

    /* título */
    .service-detail-content h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    /* ícone */
    .service-detail-content h3 i {
        font-size: 0.95rem;
        padding: 5px;
    }

    /* texto */
    .service-detail-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* imagem mais equilibrada */
    .service-detail-img {
        height: 220px;
        border-radius: 0 0 14px 14px !important;
    }

    /* quando invertido */
    .service-detail-reverse .service-detail-img {
        border-radius: 0 0 14px 14px !important;
    }

    /* espaçamento geral entre blocos */
    .service-detail-card {
        margin-bottom: 20px;
    }
}

/*** FAQ / ACCORDION — REMOVER BORDA DE FOCO ***/
/* Remove outline e sombra ao clicar */
.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

/* Remove efeito "ativo" estranho */
.accordion-button:not(.collapsed) {
    background-color: rgba(27, 53, 99, 0.05);
    /* azul suave */
    color: var(--primary);
}

/* Garante que não aparece borda colorida */
.accordion-item {
    border: none;
}

/* Linha fina entre itens */
.accordion-item+.accordion-item {
    border-top: 1px solid rgba(27, 53, 99, 0.15);
}

/* Opcional: um pouco de respiro */
.accordion-item {
    padding-top: 2px;
}

/*** VIDEO ABOUT US ***/
.video-cover-wrapper {
    position: relative;
    width: 100%;
    min-height: 420px;

    padding: 40px;
    border-radius: 14px;
    overflow: hidden;

    background: #0f2447;
}

/* Fundo blur (desktop only) */
.video-cover-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/video/vidBex.jpg");
    background-size: cover;
    background-position: center;

    filter: blur(22px) brightness(0.6);
    transform: scale(1.15);

    z-index: 0;
}

/* Imagem de capa */
.video-cover {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 10px;
    background: transparent;
}

@media (max-width: 768px) {
    .video-cover-wrapper {
        min-height: 320px;
        padding: 24px;
    }

    .video-cover-wrapper::before {
        filter: none;
        transform: none;
        background: none;
    }

    .video-cover {
        object-fit: cover;
    }
}

/* Botão Play */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;
    border-radius: 50%;

    background: #1B3563;
    /* Azul Box Express */
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 15px 35px rgba(27, 53, 99, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 5;
}

.video-play-btn i {
    color: #F2C94C;
    /* Amarelo Box Express */
    font-size: 32px;
    margin-left: 4px;
    /* ajuste visual do play */
}

/* Hover / Active */
.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 20px 45px rgba(242, 201, 76, 0.55);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.96);
}

/* Pulso animado */
.video-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(242, 201, 76, 0.35);
    animation: pulse 2.2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/*** VIDEO MODAL ***/

/* Modal base */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 71, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity .35s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

/* Conteúdo com zoom suave */
.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    transform: scale(.94);
    transition: transform .35s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

/* Vídeo */
.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 12px;
}

/* Botão fechar */
.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 42px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.video-close:hover {
    color: #F2C94C;
}

/* === TRACKING — TIMELINE === */

/* Card */
.track-card {
    background: var(--track-bg);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 14px 40px rgba(15, 36, 71, 0.14);
}

/* Wrapper timeline */
.track-timeline {
    position: relative;
    --timeline-x: 90px;
}

/* linha única contínua */
.track-timeline::before {
    content: "";
    position: absolute;
    left: var(--timeline-x);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1B3563 0%, #3f5f9a 50%, #9fb4d9 100%);
    border-radius: 99px;
}

/* Item */
.track-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    padding: 0px 0 28px 0;
}

/* Coluna data/hora */
.track-meta {
    margin-top: -7px;
    width: 74px;
    text-align: right;
    flex: 0 0 55px;
    line-height: 1.05;
    padding-top: 2px;
}

.track-meta .track-date {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
}

.track-meta .track-time {
    font-size: 0.75rem;
    color: var(--track-muted);
}

/* Datas de etapas já passadas */
.track-item.completed .track-meta .track-date {
    color: var(--cizento);
    font-weight: 600;
}

.track-item.completed .track-meta .track-time {
    color: #c0c4cc;
}

/* no último item, não desenhar linha para baixo */
.track-item:last-child .track-node::before {
    display: none;
}

/* Bolinha (centro branco + rebordo de cor) */
.track-dot {
    position: absolute;
    top: 0px;
    left: calc(var(--timeline-x) - 7px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-ctt);
    border: 2px solid var(--bex-blue);
    z-index: 3;
    box-shadow: 0 2px 10px rgba(15, 36, 71, .10);
    transition: background .25s ease, border-color .25s ease;
}

/* Ativo (mais recente) */
.track-item.active .track-dot {
    background: var(--white);
    border: 2px solid var(--bex-blue);
    animation: trackPulseYellow 2.6s ease-out infinite;
}

/* Seta no topo da timeline (continuação futura) */
.track-item.active::before {
    content: "";
    position: absolute;

    /* mesmo eixo da linha */
    left: var(--timeline-x);
    top: -15px;

    transform: translateX(-50%);

    width: 0;
    height: 0;

    /* seta a apontar PARA CIMA */
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 9px solid var(--orange-line);

    z-index: 4;
}

/* Pulse amarelo (igual ao teu) */
@keyframes trackPulseYellow {
    0% {
        box-shadow:
            0 0 0 6px rgba(245, 196, 0, 0.45),
            0 0 14px rgba(245, 196, 0, 0.45);
    }

    50% {
        box-shadow:
            0 0 0 14px rgba(245, 196, 0, 0.18),
            0 0 28px rgba(245, 196, 0, 0.65);
    }

    100% {
        box-shadow:
            0 0 0 6px rgba(245, 196, 0, 0.45),
            0 0 14px rgba(245, 196, 0, 0.45);
    }
}

/* Conteúdo */
.track-content {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 12px 12px;
    margin-top: -6px;
    box-shadow: 0 10px 22px rgba(15, 36, 71, 0.08);
    border-bottom: 3px solid var(--stage-color, transparent);
    transition: .2s ease;
    transform: translateY(-6px);
}

.track-item:hover .track-content {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 36, 71, 0.12);
    border-bottom-color: transparent !important;
}

.track-item.active .track-content {
    position: relative;
    background: linear-gradient(135deg, #f4f8ff, #dbe8ff);
    border-left: 3px solid var(--bex-yellow);
    border-bottom: none;
}

.track-content h6 {
    font-weight: 600;
    letter-spacing: 0.1px;
    color: var(--track-title);
    font-size: 0.95rem;
}

.track-content p {
    color: #4b5563;
    line-height: 0.88;
    font-size: .80rem;
}

.track-content .track-loc {
    display: block;
    margin-top: 6px;
    font-size: .82rem;
    color: var(--track-muted);
}

.track-meta {
    width: 74px;
    text-align: right;
}

.track-node {
    width: 34px;
    display: flex;
    justify-content: center;
}

/* Cores por etapa (define a variável --stage-color) */
.track-item.stage-pickup {
    --stage-color: #4dabf7;
}

.track-item.stage-warehouse {
    --stage-color: #5c7cfa;
}

.track-item.stage-transport {
    --stage-color: #1B3563;
}

.track-item.stage-sea {
    --stage-color: #0b7285;
}

.track-item.stage-customs {
    --stage-color: #f08c00;
}

.track-item.stage-internal {
    --stage-color: #6f42c1;
}

.track-item.stage-delivery {
    --stage-color: #2f9e44;
}

/* =========================================================
   MOBILE — AJUSTE DE ESPAÇOS (<= 576px)
   ========================================================= */
@media (max-width: 576px) {

    .track-card {
        padding: 22px;
    }

    /* aproxima tudo da esquerda */
    .track-timeline {
        --timeline-x: 56px;
    }

    /* nada empurra a linha */
    .track-timeline::before {
        left: var(--timeline-x);
    }

    /* item mais compacto */
    .track-item {
        gap: 12px;
        padding-bottom: 22px;
    }

    /* coluna da data mais estreita */
    .track-meta {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        text-align: right;
        flex-shrink: 0;
        font-variant-numeric: tabular-nums;
    }

    /*.track-meta {
        width: 4px;
        flex: 0 0 44px;
        padding-top: 0;
    }*/

    .track-meta .track-date {
        font-size: 0.85rem;
    }

    .track-meta .track-time {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    /* bola ligeiramente menor */
    .track-dot {
        width: 14px;
        height: 14px;
        left: calc(var(--timeline-x) - 6px);
        border-width: 2px;
        transform: none;
    }

    /* conteúdo ocupa mais espaço horizontal */
    .track-content {
        padding: 12px 12px;
        margin-left: 0;
    }

    .track-content h6 {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .track-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* =========================================================
   TRACKING — VER MAIS DETALHES
   ========================================================= */

.track-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height .35s ease,
        opacity .25s ease;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.track-extra.open {
    max-height: 260px;
    opacity: 1;
}

.track-more {
    background: none;
    border: 0;
    padding: 6px 0 0;
    color: var(--bex-blue);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* =========================
   LINK SUPORT
========================= */
.link-suporte {
    color: #F4B400; /* amarelo Box Express */
    font-weight: 600;
    text-decoration: underline;
}

.link-suporte:hover {
    color: #d39e00;
}

/* =========================
   COOKIE BANNER PRO (GLASS)
========================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);

    width: 95%;
    max-width: 1100px;

    z-index: 99999 !important;

    opacity: 0;
    pointer-events: none;

    transition: all 0.4s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* container */
.cookie-container {
    background: linear-gradient(135deg, rgba(27, 53, 99, 0.85), rgba(27, 53, 99, 0.65));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;

    padding: 18px 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    color: #fff;
}

/* texto */
.cookie-text strong {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

/* links */
.cookie-text a {
    color: #F4B400;
    font-weight: 500;
}

/* botões */
.btn-cookie {
    border: none;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;

    transition: all 0.25s ease;
}

.btn-cookie:active {
    transform: scale(0.96);
}

/* rejeitar */
.btn-reject {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* aceitar */
.btn-accept {
    background: linear-gradient(135deg, #F4B400, #ffd54f);
    color: #000;
    font-weight: 600;
}

.btn-accept:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 14px rgba(244, 180, 0, 0.4);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   COOKIE MODAL PRO
========================= */

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;

    transition: all 0.3s ease;
    z-index: 999999;
}

.cookie-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* caixa */
.cookie-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);

    border-radius: 16px;
    padding: 25px;

    width: 90%;
    max-width: 420px;

    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.cookie-modal.active .cookie-modal-content {
    transform: translateY(0) scale(1);
}

/* opções */
.cookie-option {
    margin: 18px 0;
    font-size: 14px;
}

/* toggle bonito */
.cookie-option input {
    margin-right: 8px;
}

/* botão */
.cookie-modal-actions {
    margin-top: 20px;
    text-align: right;
}

/* =========================================
   BACK TO TOP — BOX EXPRESS
========================================= */
.back-to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 999;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--secondary);
    /* amarelo */
    color: var(--primary);
    /* azul */

    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);

    font-size: 22px;
    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
    animation: floatUp 3.5s ease-in-out infinite;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hover */
.back-to-top-btn:hover {
    background-color: var(--yellow-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(244, 180, 0, 0.45);
    color: var(--primary);
}

/* Active (click) */
.back-to-top-btn:active {
    transform: translateY(-1px);
}

/* Mobile tweak */
@media (max-width: 576px) {
    .back-to-top-btn {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ================================
   TELEFONE — IGUAL AO FLOATING
================================ */
.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid rgba(27, 53, 99, 0.15);
    transition: all .2s ease;
    font-family: var(--font-secondary);
}

/* FOCUS */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.15rem rgba(27, 53, 99, 0.15);
}

/* ESPAÇAMENTO */
.contact-form .row.g-3>* {
    margin-bottom: 8px;
}

/* TEXTAREA */
textarea.form-control {
    border-radius: 8px;
}

/* CARD FORM */
/*.bg-light.p-4.rounded {
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(27, 53, 99, 0.08);
    border: 1px solid rgba(27, 53, 99, 0.08);
}*/

/* ================================
   TELEFONE (CORRIGIDO PROFISSIONAL)
================================ */

.form-group-phone {
    position: relative;
}

/* LABEL */
.form-label-phone {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cizento);
    margin-bottom: 6px;
    display: block;
    font-family: var(--font-secondary);
}

/* INPUT */
.phone-input {
    height: calc(3.5rem + 2px);
    padding-left: 100px !important;
    /* MAIS ESPAÇO = alinhamento perfeito */
    border-radius: 6px;
    font-family: var(--font-secondary);
}

/* INTL INPUT WRAPPER */
.iti {
    width: 100%;
}

/* INPUT INTERNO */
.iti input {
    height: calc(3.5rem + 2px);
    padding-left: 100px !important;
    font-family: var(--font-secondary);
}

/* FLAG AREA */
.iti__flag-container {
    padding-left: 5px;
}

/* FLAG + DIAL */
.iti__selected-flag {
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* ================================
   DROPDOWN PAÍSES (AJUSTADO)
================================ */

.iti__country-list {
    font-family: var(--font-secondary);
    font-size: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ITEM */
.iti__country {
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

/* DIAL CODE (+351 etc) */
.iti__dial-code {
    font-size: 12px;
    color: var(--cizento);
}

/* HOVER */
.iti__country:hover {
    background-color: rgba(27, 53, 99, 0.05);
}

/* MODAL BACKDROP */
.modal-backdrop {
    pointer-events: none !important;
}

/* icon ao lado do texto BEXC*/
@media (max-width: 576px) {
    #bexc-wrapper small {
        font-size: 12px;
    }

    #bexc-wrapper small i {
        font-size: 16px;
    }
}