/*** 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 PRO
================================= */
.btn-box-primary {
    position: relative;
    overflow: hidden;

    background-color: var(--primary);
    /* azul base */
    color: #fff;
    border: 2px solid var(--secondary);

    font-weight: 700;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;

    box-shadow: 0 6px 18px rgba(27, 53, 99, 0.25);
}

/* hover elegante */
.btn-box-primary:hover {
    background-color: var(--secondary);
    /* amarelo */
    color: var(--primary);

    transform: translateY(-2px);

    box-shadow: 0 12px 32px rgba(244, 180, 0, 0.35);
}

/* efeito brilho (mantém) */
.btn-box-primary::after {
    content: "";
    position: absolute;

    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);

    transform: skewX(-20deg);
}

.btn-box-primary:hover::after {
    animation: shine 0.8s ease;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.cta-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.75;
    color: #fff;
    letter-spacing: 0.3px;
}

/* =================================
   SECONDARY CTA — SERVIÇOS (PRO+)
================================= */
.btn-box-secondary {
    position: relative;
    overflow: hidden;

    /* 🔥 pequeno preenchimento para não parecer vazio */
    background-color: rgba(244, 180, 0, 0.08);

    /* 🔥 texto mais legível */
    color: var(--primary);

    border: 2px solid var(--secondary);
    border-radius: 6px;

    font-weight: 700;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;

    /* 🔥 sombra mais neutra (menos “amarelo fake”) */
    box-shadow: 0 6px 16px rgba(27, 53, 99, 0.12);
}

/* hover elegante */
.btn-box-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(244, 180, 0, 0.35);
}

/* 🔥 ícone consistente */
.btn-box-secondary i {
    color: var(--secondary);
    transition: all 0.3s ease;
}

/* hover ícone */
.btn-box-secondary:hover i {
    color: var(--primary);
    transform: translateX(4px);
}

/* brilho suave (mantém) */
.btn-box-secondary::after {
    content: "";
    position: absolute;

    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);

    transform: skewX(-20deg);
}

.btn-box-secondary:hover::after {
    animation: shine 0.8s ease;
}

/* 🔥 clique (UX real) */
.btn-box-secondary:active {
    transform: scale(0.96);
}

/* 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
========================= */

.navbar .nav-track-btn {

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 40px;
    padding: 0 20px;
    margin-left: 10px;

    background: linear-gradient(135deg, #F4B400 0%, #FFD54A 100%);
    color: var(--primary) !important;

    border-radius: 14px;
    border: 1px solid rgba(244, 180, 0, 0.35);

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

    text-decoration: none;
    white-space: nowrap;

    box-shadow:
        0 4px 12px rgba(244, 180, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, .35);

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

    overflow: hidden;
}

/* brilho premium subtil */
.navbar .nav-track-btn::after {
    content: '';

    position: absolute;
    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .35),
            transparent);

    transition: left .8s ease;
}

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

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(244, 180, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* efeito brilho */
.navbar .nav-track-btn:hover::after {
    left: 140%;
}

/* active */
.navbar .nav-track-btn:active {
    transform: translateY(0);
}

/* ícone */
.navbar .nav-track-btn i {
    font-size: 15px;
    transition: transform .25s ease;
}

/* hover icon */
.navbar .nav-track-btn:hover i {
    transform: scale(1.08);
}

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

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {

    .navbar .nav-track-btn {
        min-width: 170px;
    }

}

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

@media (max-width: 991px) {

    .navbar .nav-track-btn {

        width: 100%;

        height: 46px;

        margin: 14px 0 0 0;

        padding: 0 18px;

        border-radius: 12px;

        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.7px;
        text-transform: uppercase;

        justify-content: center;
    }

}

/* =========================
   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 .container {
    margin-top: -40px;
    /* desktop */
}

.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: 4px;

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

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

.service-item:hover .btn-box-secondary {
    background-color: rgba(244, 180, 0, 0.15);
}

.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-body {
    background-color: #1B3563;
    color: #fff;
    border-bottom: 4px solid #F4B400;
    line-height: 1.6;
}

.accordion-button {
    background-color: #ffffff;
    font-weight: 500;
    color: #1B3563;
    border-left: 3px solid transparent;
    transition: all .3s ease;
}

.accordion-button:hover {
    border-left: 3px solid #F4B400;
    background-color: rgba(27, 53, 99, 0.03);
}

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

/* FAQ links */

.faq-link {

    color: var(--secondary);

    font-weight: 700;

    text-decoration: none;

    transition: color .25s ease;
}

.faq-link:hover {

    color: var(--primary);

    text-decoration: underline;
}

/*** 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 {
    height: 100vh;
}

.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;
    }
}

.hero-content {
    padding-top: 60px;
}

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

    .carousel-overlay .container {
        margin-top: -20px;
        /* menos agressivo */
    }

    .hero-content {
        padding-top: 80px;
        /* mobile precisa mais espaço */
    }
}

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

/* =========================
   TYPEWRITER PRO
========================= */

/* remover qualquer cursor duplicado */
.typewriter-white::after {
    content: "";
}

/* cursor base (invisível por defeito) */
.typewriter-yellow::after {
    content: "|";
    margin-left: 4px;
    color: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 🔥 só pisca quando JS ativa */
.typewriter-yellow.cursor-blink::after {
    opacity: 1;
    animation: blink 1s infinite;
}

/* animação */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* cores */
.typewriter-white {
    color: #ffffff;
}

.typewriter-yellow {
    color: var(--secondary);
}

/* evitar quebra feia */
.carousel-title span {
    display: inline;
}

/* fade suave no texto */
.typewriter-white,
.typewriter-yellow {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* =========================
   PRODUCTS CAROUSEL
========================= */

.products-carousel {
    position: relative;
    padding: 0 10px;
}

/* slide */
.products-carousel .product-slide {
    padding: 10px;
}

/* =========================
   CARD BASE (ÚNICO 🔥)
========================= */

.products-carousel .product-item {
    position: relative;

    min-height: 460px;

    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 14px;
    overflow: hidden;

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

    box-shadow: 0 10px 30px rgba(27, 53, 99, 0.08);
    transition: all .35s ease;
}

/* linha topo */
.products-carousel .product-item::before {
    content: "";
    height: 4px;
    width: 100%;
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* hover */
.products-carousel .product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(27, 53, 99, 0.15);
}

/* =========================
   IMAGEM (UNIFORME 🔥)
========================= */

.products-carousel .product-item .overflow-hidden {
    height: 200px;
    background: #f8f9fb;
    padding: 20px;
}

.products-carousel .product-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.products-carousel .product-item:hover img {
    transform: scale(1.05);
}

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

.products-carousel .product-item .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-carousel .product-item h5 {
    font-weight: 600;
}

.products-carousel .product-item .small {
    font-size: 13px;
    color: #6c757d;
}

.products-carousel .product-item p {
    margin-bottom: 6px;
}

/* botão sempre em baixo */
.products-carousel .product-item a {
    margin-top: auto;
}

/* =========================
   BADGE (ÚNICO 🔥)
========================= */

.products-carousel .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    z-index: 5;

    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;

    border-radius: 30px;

    background: linear-gradient(135deg, #f4b400, #ffcc33);
    color: #1B3563;

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

/* =========================
   VARIAÇÕES (SEM DUPLICAR)
========================= */

/* ⭐ MAIS ESCOLHIDO */
.products-carousel .product-featured {
    border: 1.5px solid rgba(244, 180, 0, 0.35);
}

.products-carousel .product-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(244, 180, 0, 0.25);
}

/* 🚢 CONTAINER */
.products-carousel .product-container {
    border: 1.5px solid rgba(27, 53, 99, 0.15);
}

/* topo diferente (marítimo) */
.products-carousel .product-container::before {
    background: linear-gradient(90deg, #0b7285, var(--secondary));
}

/* badge container */
.products-carousel .product-container .product-badge {
    background: linear-gradient(135deg, var(--primary), #2A9BD3);
    color: #fff;
}

.products-carousel .product-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(27, 53, 99, 0.25);
}

/* =========================
   DOTS
========================= */

.products-carousel .owl-stage-outer,
.products-carousel .owl-stage {
    margin-bottom: 0;
}

.products-carousel .owl-dots {
    margin-top: 8px !important;

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

    gap: 6px;
}

.products-carousel .owl-dots .owl-dot {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    display: inline-flex;
}

.products-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 10px;

    background: rgba(27, 53, 99, 0.25);
    transition: all .3s ease;
}

.products-carousel .owl-dots .owl-dot.active span {
    width: 24px;
    background: var(--secondary);
}

.products-carousel .owl-dots .owl-dot:hover span {
    background: var(--secondary);
}

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

@media (max-width: 768px) {

    .products-carousel {
        padding: 0;
    }

    .products-carousel .owl-dots {
        margin-top: 10px;
    }

    .products-carousel .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
    }

    .products-carousel .product-item {
        min-height: 420px;
    }

    .products-carousel .product-item .overflow-hidden {
        height: 180px;
    }
}

/* =========================
   SERVICES CAROUSEL
========================= */
.services-carousel {
    position: relative;
    padding: 0 10px;
}

/* slide spacing */
.services-carousel .service-slide {
    padding: 10px;
}

/* =========================
   CARD
========================= */
.services-carousel .service-item {
    height: 100%;
    min-height: 430px;

    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 14px;
    overflow: hidden;

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

    box-shadow: 0 10px 30px rgba(27, 53, 99, 0.08);
    transition: all .35s ease;

    margin-bottom: 0;
}

/* linha topo IGUAL aos produtos */
.services-carousel .service-item::before {
    content: "";
    height: 4px;
    width: 100%;
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* =========================
   IMAGEM UNIFORME
========================= */
.services-carousel .service-item .overflow-hidden {
    height: 200px;
    background: #f8f9fb;
}

.services-carousel .service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

/* =========================
   CONTEÚDO ALINHADO
========================= */

/* título fixo (evita cards diferentes) */
.services-carousel .service-item h4 {
    min-height: 56px;
    font-weight: 700;
    line-height: 1.25;
}

/* texto ocupa espaço restante */
.services-carousel .service-item p {
    flex: 1;
    color: #4b5563;
    font-size: 15px;
}

/* =========================
   HOVER
========================= */
.services-carousel .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(27, 53, 99, 0.15);
}

.services-carousel .service-item:hover img {
    transform: scale(1.05);
}

/* destaque central */
.services-carousel .owl-item.center .service-item {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 55px rgba(27, 53, 99, 0.18);
}

/* =========================
   DOTS
========================= */
.services-carousel .owl-stage-outer {
    margin-bottom: 0;
    padding-bottom: 0;
}

.services-carousel .owl-stage {
    margin-bottom: 0;
}

.services-carousel .owl-dots {
    margin-top: 8px !important;

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

    max-height: 20px;
    overflow: hidden;

    gap: 6px;
}

.services-carousel .owl-dots * {
    line-height: normal !important;
}

.services-carousel .owl-dots .owl-dot {
    display: inline-flex;
}

.services-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 10px;

    background: rgba(27, 53, 99, 0.25);
    transition: all .3s ease;
}

.services-carousel .owl-dots .owl-dot.active span {
    width: 24px;
    background: var(--secondary);
}

.services-carousel .owl-dots .owl-dot:hover span {
    background: var(--secondary);
}

/* =========================
   LAYOUT
========================= */
.services-cta {
    margin-top: 0 !important;
}

.services-benefits {
    margin-top: 6px;
    opacity: 0.85;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .services-carousel {
        padding: 0;
    }

    /* remove destaque central */
    .services-carousel .owl-item.center .service-item {
        transform: none;
    }

    /* altura mais natural */
    .services-carousel .service-item {
        min-height: 400px;
    }

    .services-carousel .service-item .overflow-hidden {
        height: 180px;
    }

    .services-carousel .service-item h4 {
        min-height: auto;
    }

    .services-carousel .owl-dots {
        margin-top: 10px;
    }

    .services-carousel .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
    }
}

/* =========================
   BADGE PRESELECT
========================= */
.preselect-badge {
    width: 100%;
    display: flex;

    background: linear-gradient(90deg, #1B3563, #224abe);
    color: #fff;

    padding: 8px 14px;
    border-radius: 10px;

    font-size: 14px;
    margin-bottom: 15px;

    align-items: center;
    gap: 6px;

    animation: fadeIn .5s ease;
    box-shadow: 0 5px 15px rgba(27, 53, 99, 0.2);

    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 48px;
    align-items: center;
}


/* =========================
   GLOW BASE (SEM COR FIXA)
========================= */
.preselected-glow {
    animation: glowPulse 1s ease;
    transition: all .3s ease;
}


/* =========================
   FIX BOOTSTRAP (CRÍTICO)
========================= */
.form-floating>.form-select.preselected-caixas,
.form-select.preselected-caixas {
    border: 2px solid #224abe !important;
    box-shadow: 0 0 0 4px rgba(34, 74, 190, 0.25) !important;
}

.form-floating>.form-select.preselected-plus,
.form-select.preselected-plus {
    border: 2px solid #7b3fe4 !important;
    box-shadow: 0 0 0 4px rgba(123, 63, 228, 0.25) !important;
}

.form-floating>.form-select.preselected-mix,
.form-select.preselected-mix {
    border: 2px solid #f59e0b !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25) !important;
}

.form-floating>.form-select.preselected-container,
.form-select.preselected-container {
    border: 2px solid #0ea5a4 !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.25) !important;
}


/* =========================
   BADGE POR TIPO
========================= */
.preselect-badge.preselected-caixas {
    background: #224abe;
}

.preselect-badge.preselected-plus {
    background: #7b3fe4;
}

.preselect-badge.preselected-mix {
    background: #f59e0b;
}

.preselect-badge.preselected-container {
    background: #0ea5a4;
}


/* =========================
   ANIMAÇÕES
========================= */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TOP LINE GLOBAL
========================= */

.top-line {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(27, 53, 99, 0.08);
    overflow: hidden;
    /* garante que a linha respeita o border-radius */
}

.top-line::before {
    content: "";
    height: 4px;
    width: 100%;
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* =========================
   TRACK SEARCH BAR
========================= */

/* CONTAINER (NEUTRO) */
.track-search {
    display: flex;
    align-items: center;

    background: #f5f5f5;
    border-radius: 12px;

    padding: 6px;

    border: 1px solid #e5e7eb;
    /* 🔥 subtil */
    transition: all .25s ease;

    box-shadow: 0 5px 15px rgba(27, 53, 99, 0.05);
}

/* INPUT */
.track-search input {
    flex: 1;
    border: none;
    outline: none;

    background: transparent;

    padding: 12px 14px;
    font-size: 14px;
}

/* PLACEHOLDER */
.track-search input::placeholder {
    color: #9ca3af;
}

/* =========================
   BOTÃO (FOCO VISUAL)
========================= */
.track-search button {
    background: #1B3563;

    /* 🔥 AQUI está o destaque */
    border: 2px solid #F4B400;

    width: 46px;
    height: 46px;

    border-radius: 10px;

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

    color: #fff;
    font-size: 16px;

    transition: all .25s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* HOVER (🔥 mais apelativo) */
.track-search button:hover {
    background: #162a4d;
    border-color: #ffd54a;

    transform: translateY(-1px);
}

/* CLICK */
.track-search button:active {
    transform: scale(0.95);
}

/* =========================
   FOCUS INPUT (UX)
========================= */
.track-search:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(27, 53, 99, 0.1);
}

/* MOBILE */
@media (max-width: 576px) {
    .track-search input {
        font-size: 14px;
        padding: 10px;
    }

    .track-search button {
        width: 44px;
        height: 44px;
    }
}

/* card Destinatario */
.track-code {
    font-size: 12px;
    font-weight: 600;

    background: #1B3563;
    color: #fff;

    padding: 5px 10px;
    border-radius: 20px;
}

.track-destino-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(27, 53, 99, 0.08);
    position: relative;
    overflow: hidden;
}

/* 🔥 linha lateral branding */
.track-destino-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #F4B400, #224abe);
}

.btn-search-refresh {

    width: 42px !important;
    height: 42px;

    padding: 0 !important;

    border-radius: 12px;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;
}

/* HEADER (código) */
.track-code {
    background: #1B3563;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* título */
.track-destino-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B3563;
    margin-bottom: 4px;
}

/* país */
.track-destino-country {
    font-weight: 600;
    color: #111;
}

/* linha detalhe */
.track-destino-details {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 576px) {
    .track-destino-card {
        padding: 14px;
    }

    .track-code {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* =========================
   MOBILE LANG BOX
========================= */
.mobile-lang-box {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 12px;
}

/* título */
.mobile-lang-box::before {
    content: "Idioma";
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* grid */
.mobile-lang-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* item */
.mobile-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;
    border-radius: 10px;

    text-decoration: none;
    color: #1B3563;
    font-weight: 500;

    transition: all .2s ease;
}

/* flag */
.mobile-lang-item img {
    width: 20px;
}

/* hover */
.mobile-lang-item:hover {
    background: rgba(27, 53, 99, 0.05);
}

/* ativo */
.mobile-lang-item.active {
    background: #1B3563;
    color: #fff;
}

/* ativo flag brilho */
.mobile-lang-item.active img {
    filter: brightness(1.2);
}

/* =========================
   SERVICES ACCORDION V2
========================= */

.services-accordion-section {
    position: relative;
    overflow: hidden;
}

/* =========================
   TITULOS
========================= */

.services-label {
    color: var(--secondary);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.services-title {
    font-weight: 800;
    margin-top: 10px;
}

.services-subtitle {

    max-width: 760px;

    margin: 18px auto 0;

    color: #6c757d;

    font-size: 16px;
    line-height: 1.8;
}

/* =========================
   ACCORDION
========================= */

.services-accordion {

    display: flex;
    gap: 18px;

    width: 100%;
    height: 640px;

    overflow: hidden;
}

/* =========================
   PANEL
========================= */

.service-panel {

    position: relative;

    isolation: isolate;

    flex: 1;

    min-width: 82px;

    border-radius: 28px;

    overflow: hidden;

    cursor: pointer;

    background: #111;

    transition:
        flex .55s cubic-bezier(.4, 0, .2, 1),
        transform .35s ease,
        box-shadow .35s ease,
        filter .35s ease;
}

/* imagem */

.service-panel img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    /* menos crop */
    transform: scale(.96);

    display: block;

    transition:
        transform .7s ease,
        filter .4s ease,
        object-position .4s ease;
}

/* overlay premium */

.service-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .58) 0%,
            rgba(0, 0, 0, .34) 38%,
            rgba(0, 0, 0, .14) 70%,
            rgba(0, 0, 0, .05) 100%);
}

/* painel activo */

.service-panel.active {

    flex: 4.5;

    z-index: 2;

    /* remove glow/fumo */
    box-shadow: none;

    /* depth subtil premium */
    border:
        1px solid rgba(255, 255, 255, .05);
}

/* zoom imagem */

.service-panel.active img {

    transform: scale(1);
}

/* painéis fechados */

.service-panel:not(.active) img {

    transform: scale(.92);
    filter: brightness(.92)
}

/* =========================
   CONTENT
========================= */

.service-content {

    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 38px;

    color: #fff;
}

/* =========================
   NUMERO
========================= */

.service-number {

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

    width: 56px;
    height: 56px;

    margin-bottom: 24px;

    border-radius: 50%;

    background: rgba(244, 180, 0, .12);

    border: 1px solid rgba(244, 180, 0, .35);

    backdrop-filter: blur(4px);

    color: var(--secondary);

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* =========================
   TITULO
========================= */

.service-content h3 {

    max-width: 420px;

    margin-bottom: 18px;

    color: #fff;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.15;

    text-transform: uppercase;

    text-shadow:
        0 4px 16px rgba(0, 0, 0, .45);
}

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

.service-content p {

    max-width: 500px;

    margin-bottom: 26px;

    color: rgba(255, 255, 255, .92);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, .45);

    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

/* =========================
   BOTAO
========================= */

.service-btn {

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

    width: fit-content;

    padding: 14px 24px;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            #F4B400 0%,
            #FFD54A 100%);

    border: 1px solid rgba(255, 255, 255, .12);

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .8px;

    line-height: 1;

    text-transform: uppercase;
    text-decoration: none;

    box-shadow:
        0 10px 24px rgba(244, 180, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .25);

    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .4s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

/* hover botão */

.service-btn:hover {

    color: var(--primary);

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(244, 180, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .32);
}

/* =========================
   ACTIVE CONTENT
========================= */

.service-panel.active p,
.service-panel.active .service-btn {

    opacity: 1;

    transform: translateY(0);
}

/* =========================
   CLOSED PANELS
========================= */

.service-panel:not(.active) .service-content {

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

    padding: 22px;
}

/* esconder texto */

.service-panel:not(.active) p,
.service-panel:not(.active) .service-btn {

    display: none;
}

/* titulo vertical */

.service-panel:not(.active) h3 {

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    margin: 18px 0 0 0;

    font-size: 22px;

    text-align: center;

    letter-spacing: 1px;

    max-width: none;

    color: rgba(255, 255, 255, .95);

    text-shadow:
        0 3px 12px rgba(0, 0, 0, .45);
}

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

@media (max-width: 991px) {

    .services-accordion {

        flex-direction: column;

        height: auto;

        gap: 20px;
    }

    .service-panel {

        min-height: 460px;

        flex: unset !important;
    }

    /* mobile sem glow */

    .service-panel,
    .service-panel.active {

        box-shadow: none !important;
    }

    /* imagens mobile */

    .service-panel img {

        transform: scale(1);
    }

    .service-panel.active img {

        transform: scale(1.015);
    }

    /* overlay mais claro mobile */

    .service-overlay {

        background:
            linear-gradient(to top,
                rgba(0, 0, 0, .46) 0%,
                rgba(0, 0, 0, .24) 38%,
                rgba(0, 0, 0, .10) 70%,
                rgba(0, 0, 0, .04) 100%);
    }

    .service-panel:not(.active) h3 {

        writing-mode: initial;

        transform: none;

        margin-top: 0;

        font-size: 24px;
    }

    .service-panel:not(.active) p,
    .service-panel:not(.active) .service-btn {

        display: flex;
    }

    .service-content {

        justify-content: flex-end;

        align-items: flex-start;

        padding: 30px;
    }

    .service-content h3 {

        font-size: 24px;
    }

    .service-content p,
    .service-btn {

        opacity: 1;
        transform: none;
    }

    .service-btn {

        padding: 13px 22px;
    }
}

/* =========================
   BOXES ACCORDION Preços
========================= */

.boxes-accordion-section {
    position: relative;
    overflow: hidden;
}

.boxes-label {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.boxes-title {
    font-weight: 800;
    margin-top: 10px;
}

.boxes-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.8;
}

/* accordion */

.boxes-accordion {
    display: flex;
    gap: 18px;
    width: 100%;
    height: 640px;
    overflow: hidden;
}

/* panel */
.box-panel {

    position: relative;

    isolation: isolate;

    flex: 1;

    min-width: 82px;

    border-radius: 28px;

    overflow: hidden;

    cursor: pointer;

    background: #111;

    transition:
        flex .55s cubic-bezier(.4, 0, .2, 1),
        box-shadow .35s ease,
        transform .35s ease;
}

.box-panel.active {

    flex: 4.5;

    z-index: 2;

    /* remove glow cinzento */
    box-shadow: none;

    /* depth premium subtil */
    border:
        1px solid rgba(255, 255, 255, .06);
}

.box-panel img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /* 🔥 mostra mais produto */
    object-position: center center;

    /* 🔥 menos zoom */
    transform: scale(.96);

    transition:
        transform .7s ease,
        filter .4s ease,
        object-position .5s ease;

    display: block;
}

/* painel activo */

.box-panel.active img {

    transform: scale(1);

    object-position: center center;
}

/* painéis fechados */

.box-panel:not(.active) img {

    transform: scale(.92);

    filter: brightness(.92);
}

/* overlay */

.box-panel-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .52) 38%,
            rgba(0, 0, 0, .22) 70%,
            rgba(0, 0, 0, .10) 100%);
}

/* badges */

.box-panel-badge {

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

    width: fit-content;

    margin-bottom: 20px;

    padding: 10px 18px;

    border-radius: 40px;

    /* 🔥 mais legível */
    background:
        rgba(15, 23, 42, .78);

    border:
        1px solid rgba(244, 180, 0, .42);

    color: #FFD54A;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    backdrop-filter: blur(10px);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, .18);
}

.box-featured-badge {

    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 5;

    padding: 10px 16px;

    border-radius: 40px;

    background:
        rgba(255, 255, 255, .94);

    color: var(--primary);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .12);
}

.box-featured-badge.premium {

    background:
        linear-gradient(135deg,
            #1B3563,
            #224abe);

    color: #fff;

    box-shadow:
        0 10px 24px rgba(27, 53, 99, .28);
}

.box-featured-badge.exclusive {
    background: #fff;
    color: var(--primary);
}

/* content */

.box-panel-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 38px;
    color: #fff;
}

.box-panel-content h3 {
    max-width: 460px;
    margin-bottom: 18px;

    color: #fff;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;

    text-shadow: 0 4px 16px rgba(0, 0, 0, .5);
}

.box-panel-content p {
    max-width: 520px;
    margin-bottom: 22px;

    color: rgba(255, 255, 255, .92);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;

    text-shadow: 0 3px 12px rgba(0, 0, 0, .45);

    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

.box-panel-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;

    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

.box-panel-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: rgba(255, 255, 255, .9);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;

    margin-bottom: 8px;
}

.box-panel-content li i {
    margin-top: 4px;
    color: var(--secondary);
}

.box-panel-content small {
    display: block;
    max-width: 520px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, .72);

    font-size: 13px;
    line-height: 1.7;

    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

/* button */

.box-panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 14px 24px;
    border-radius: 14px;

    background: linear-gradient(135deg, #F4B400, #FFD54A);
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .8px;
    line-height: 1;

    text-transform: uppercase;
    text-decoration: none;

    box-shadow:
        0 10px 24px rgba(244, 180, 0, .24),
        inset 0 1px 0 rgba(255, 255, 255, .25);

    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .4s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.box-panel-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(244, 180, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .32);
}

/* active content */

.box-panel.active p,
.box-panel.active ul,
.box-panel.active small,
.box-panel.active .box-panel-btn {
    opacity: 1;
    transform: translateY(0);
}

/* closed panels */

.box-panel:not(.active) .box-panel-content {
    justify-content: center;
    align-items: center;
    padding: 22px;
}

.box-panel:not(.active) p,
.box-panel:not(.active) ul,
.box-panel:not(.active) small,
.box-panel:not(.active) .box-panel-btn,
.box-panel:not(.active) .box-featured-badge {
    display: none;
}

.box-panel:not(.active) .box-panel-badge {
    margin-bottom: 18px;
}

.box-panel:not(.active) h3 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);

    margin: 0;

    max-width: none;

    color: rgba(255, 255, 255, .96);

    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;

    text-shadow: 0 3px 12px rgba(0, 0, 0, .5);
}

/* mobile */

@media (max-width: 991px) {

    .boxes-accordion {

        flex-direction: column;

        height: auto;

        gap: 20px;

        background: transparent;
    }

    .box-panel {

        min-height: 620px;
        border-radius: 24px;
        flex: unset !important;
        background: transparent;
        overflow: hidden;
        box-shadow: none !important;
    }

    .box-panel::before {

        display: none;
    }

    .box-panel.active {

        box-shadow: none !important;
    }

    /* overlay mobile mais claro */

    .box-panel-overlay {

        background:
            linear-gradient(to top,
                rgba(0, 0, 0, .42) 0%,
                rgba(0, 0, 0, .24) 34%,
                rgba(0, 0, 0, .10) 68%,
                rgba(0, 0, 0, .04) 100%);
    }

    /* =========================
   MOBILE IMAGE FIX
    ========================= */

    .box-panel img {

        transform: scale(1);

        object-position: center center;

        will-change: transform;
    }

    /* painéis activos */

    .box-panel.active img {

        transform: scale(1.015);

        object-position: center center;
    }

    /* painéis fechados */

    .box-panel:not(.active) img {

        transform: scale(1);

        object-position: center center;

        filter: brightness(.96);
    }

    .box-panel:not(.active) .box-panel-content {

        justify-content: flex-end;

        align-items: flex-start;
    }

    .box-panel:not(.active) h3 {

        writing-mode: initial;

        transform: none;

        font-size: 24px;

        text-align: left;
    }

    .box-panel:not(.active) p,
    .box-panel:not(.active) ul,
    .box-panel:not(.active) small,
    .box-panel:not(.active) .box-panel-btn {

        display: block;

        opacity: 1;

        transform: none;
    }

    .box-panel-content {

        padding: 110px 30px 30px 30px;
    }

    .box-panel-content h3 {

        font-size: 24px;

        line-height: 1.2;
    }

    .box-panel-content p,
    .box-panel-content ul,
    .box-panel-content small,
    .box-panel-btn {

        opacity: 1;

        transform: none;
    }

    .box-panel-btn {

        display: flex;

        width: 100%;
    }

    /* badges */

    .box-featured-badge {

        top: 18px;

        right: 18px;

        z-index: 10;

        font-size: 10px;

        padding: 8px 12px;

        max-width: calc(100% - 36px);
    }

    .box-panel-badge {

        font-size: 11px;

        padding: 8px 14px;

        margin-bottom: 14px;
    }

}