:root {
    /* Cores da Marca */
    --color-primary: #121953;    /* Azul Profundo - Seriedade e Confiança */
    --color-secondary: #5AC8FB;  /* Azul Fluido - Tecnologia e Agilidade */
    --color-background: #FFFFFF; /* Fundo */
    --color-surface: #F8FAFC;    /* Superfícies secundárias */
    
    /* Tipografia */
    --font-family-base: 'Inter', sans-serif;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    
    /* Espaçamentos e Bordas */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --section-padding: 60px 0;
    
    /* Efeitos */
    --transition-base: all 0.3s ease-in-out;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(18, 25, 83, 0.08);
    --shadow-lg: 0 10px 25px rgba(18, 25, 83, 0.12);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(18, 25, 83, 0.1);
}

/* Utilitários de Cor e Borda */
.text-primary-brand { color: var(--color-primary) !important; }
.text-secondary-brand { color: var(--color-secondary) !important; }
.hover-text-secondary-brand:hover { color: var(--color-secondary) !important; transition: color 0.3s ease; }
.border-primary-brand { border-color: var(--color-primary) !important; }
.border-secondary-brand { border-color: var(--color-secondary) !important; }
.ls-wide { letter-spacing: 0.1em; }

/* Section Badge from design.html */
.section-badge {
    display: inline-block;
    background-color: rgba(90, 200, 251, 0.15);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

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

/* Utilitários de Opacidade */
.opacity-90 { opacity: 0.9 !important; }
.opacity-10 { opacity: 0.1 !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-gutter: stable;
    overflow-x: hidden;
    width: 100%;
}

/* Reset e Base */
::selection {
    background-color: var(--color-primary);
    color: #ffffff !important;
}

::-moz-selection {
    background-color: var(--color-primary);
    color: #ffffff !important;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-dark);
    background-color: var(--color-background);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Espaçamento entre header e conteúdo em páginas internas */
body:not(.home-page) main {
    margin-top: 0;
}

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

.fw-black { font-weight: 800; }

/* Navbar */
.navbar {
    background-color: transparent; /* Começa transparente */
    padding: 15px 0;
    transition: all 0.4s ease;
    border-bottom: 2px solid transparent; /* Reservado para marcação da divisão */
    box-shadow: none;
}

/* Transparência total para a Home no topo conforme solicitado */
.home-page .navbar:not(.navbar-scrolled):not(.navbar-open) {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.navbar .container-fluid {
    padding-left: 0 !important;
    padding-right: 15px !important;
}

.navbar.navbar-scrolled {
    padding: 15px 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-secondary); /* Divisão marcada com a cor da marca */
    box-shadow: var(--shadow-md) !important;
}

/* Navbar em páginas internas (Não-Home) para marcar a divisão desde o início */
body:not(.home-page) .navbar {
    background-color: var(--color-background);
    border-bottom: 1px solid rgba(18, 25, 83, 0.1);
    box-shadow: var(--shadow-sm);
}

body:not(.home-page) .navbar.navbar-scrolled {
    border-bottom: 2px solid var(--color-secondary);
}

.navbar-brand {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-partner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
}

/* Grupo de Logos Simétrico (Navbar e Footer) */
.navbar-brand-wrapper, .footer-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Distância exata e simétrica entre as logos e o separador */
}

.navbar-brand-wrapper {
    margin-left: 0 !important;
}

@media (min-width: 992px) {
    .navbar-brand-wrapper {
        margin-left: 110px !important;
    }
}

.navbar-brand-wrapper .vr, .footer-brand-wrapper .vr {
    margin: 0 !important;
    align-self: center;
    opacity: 0.25;
}

.navbar-brand-wrapper .vr {
    height: 60px; /* Altura da maior imagem no desktop */
}

.footer-brand-wrapper .vr {
    height: 40px;
}

.navbar-brand img {
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Efeito de cores nas logos para a Home Page */
.home-page .navbar:not(.navbar-scrolled):not(.navbar-open) .navbar-partner img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.navbar-partner img {
    height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.navbar-brand:hover img,
.navbar-partner:hover img {
    transform: scale(1.05);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none !important;
    outline: none !important;
}

/* Home Page Navbar Overlapping Hero */
.home-page .navbar {
    position: absolute;
    width: 100%;
    z-index: 1030;
    background-color: transparent;
    border-bottom-color: transparent;
}

.home-page .navbar.navbar-scrolled {
    position: fixed;
    background-color: var(--glass-bg);
}

@media (min-width: 992px) {
    .home-page .navbar:not(.navbar-scrolled) .nav-link {
        color: white !important;
    }
}

@media (min-width: 992px) {
    .home-page .navbar:not(.navbar-scrolled) .navbar-toggler span {
        background-color: white !important;
    }
}

.nav-link {
    color: var(--color-primary);
    font-weight: 600;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
}

/* Mesma largura para botões do menu no Desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        width: 200px; /* Largura fixa para garantir uniformidade absoluta */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-nav .nav-link {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        padding: 8px 15px;
    }

    .navbar-nav .nav-link::before {
        left: 50% !important;
        transform: translateX(-50%);
    }
    
    .navbar-nav .nav-link:hover::before, .navbar-nav .nav-link.active::before {
        width: 80%; /* Indicador elegante centralizado */
    }
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-base);
}

.nav-link:hover::before, .nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link.active {
    color: var(--color-secondary) !important;
}

/* Navbar Mobile Customization */
@media (max-width: 991.98px) {
    .navbar .container, .navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-brand {
        margin-left: 0 !important;
    }

    .navbar-brand-wrapper {
        margin-left: 0 !important;
    }


    .navbar {
        background-color: var(--color-background);
        padding: 18px 0 12px 0 !important; /* Aumentado padding superior */
        border-bottom: 1px solid rgba(18, 25, 83, 0.05);
        transition: background-color 0.4s ease, border-color 0.4s ease;
    }

    .home-page .navbar:not(.navbar-scrolled):not(.navbar-open) {
        background-color: transparent !important;
        border-bottom-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .home-page .navbar:not(.navbar-scrolled):not(.navbar-open) .navbar-toggler span {
        background-color: white !important;
    }

    /* Espaçamento extra no topo para a navbar absoluta na home mobile */
    .home-page .navbar {
        top: 0;
        padding-top: 28px !important;
    }

    .home-page .navbar.navbar-scrolled {
        top: 0;
        padding-top: 12px !important;
    }

    /* Quando o menu mobile está aberto na home, forçar fundo branco para contraste */
    .home-page .navbar.navbar-open {
        background-color: var(--color-background) !important;
        border-bottom: 1px solid rgba(18, 25, 83, 0.05) !important;
    }

    .home-page .navbar.navbar-open .navbar-brand img,
    .home-page .navbar.navbar-open .navbar-partner img {
        filter: none !important;
        opacity: 1 !important;
    }

    .home-page .navbar.navbar-open .navbar-toggler span {
        background-color: var(--color-primary) !important;
    }



    .navbar-brand img {
        height: 32px;
    }

    .navbar-partner img {
        height: 26px;
    }

    .navbar-brand-wrapper, .footer-brand-wrapper {
        gap: 10px; /* Redução do gap para mobile */
    }

    .navbar-brand-wrapper .vr {
        margin: 0 !important;
        height: 32px !important; /* Altura da maior imagem no mobile (Adre) */
    }

    .navbar-collapse {
        background: #ffffff;
        margin-top: 0;
        padding: 0; /* Removido padding para animação de altura mais suave */
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(18, 25, 83, 0.05);
        max-height: 85vh;
        overflow-y: auto;
    }

    .collapsing {
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .navbar-nav {
        padding: 25px 15px; /* Padding movido para o container interno */
    }

    .nav-item {
        margin-bottom: 10px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
        width: 100%;
    }

    .navbar-collapse.show .nav-item,
    .navbar-collapse.collapsing .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delay for menu items when opening */
    .navbar-collapse.show .nav-item:nth-child(1),
    .navbar-collapse.collapsing .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2),
    .navbar-collapse.collapsing .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3),
    .navbar-collapse.collapsing .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4),
    .navbar-collapse.collapsing .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5),
    .navbar-collapse.collapsing .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(6),
    .navbar-collapse.collapsing .nav-item:nth-child(6) { transition-delay: 0.35s; }

    .navbar-nav .nav-link {
        margin-left: 0 !important;
        padding: 15px 20px !important;
        border-radius: var(--border-radius-md);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f8fafc;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--color-primary);
        width: 100%; /* Garante que todos ocupem a largura total */
    }

    .navbar-nav .nav-link::before, .navbar-nav .nav-link::after {
        display: none !important;
    }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        background-color: white;
        color: var(--color-secondary);
        box-shadow: var(--shadow-sm);
    }

    .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
        padding: 10px 0 5px 20px !important;
        margin: 0 !important;
    }

    .dropdown-item {
        margin-top: 8px;
        padding: 12px 20px !important;
        border-radius: var(--border-radius-md);
        font-weight: 600;
        font-size: 0.95rem;
        background-color: #ffffff;
        border: 1px solid rgba(18, 25, 83, 0.03);
        transition: var(--transition-base);
        display: flex;
        align-items: center;
        gap: 15px;
        color: var(--text-dark);
        width: 100%;
    }

    .dropdown-item::before {
        content: '';
        width: 8px;
        height: 2px;
        background-color: var(--color-secondary);
        border-radius: 2px;
        transition: var(--transition-base);
    }

    .dropdown-item:hover, .dropdown-item:active {
        background-color: var(--color-surface) !important;
        color: var(--color-secondary) !important;
        transform: translateX(8px);
    }

    /* Minimalist Animated Toggler */
    .navbar-toggler {
        border: none !important;
        background: transparent !important;
        width: 44px;
        height: 44px;
        padding: 0;
        position: relative;
        transition: var(--transition-base);
        z-index: 1050; /* Garantir que fique acima de tudo */
    }

    .navbar-toggler span {
        position: absolute;
        left: 10px;
        width: 24px;
        height: 2px;
        background-color: var(--color-primary);
        border-radius: 4px;
        transition: all 0.3s ease-in-out;
    }

    .navbar-toggler span:nth-child(1) { top: 16px; }
    .navbar-toggler span:nth-child(2) { top: 21px; width: 18px; }
    .navbar-toggler span:nth-child(3) { top: 26px; }

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* Page Header para páginas internas */
.page-header {
    background-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(18, 25, 83, 0.95) 0%, rgba(30, 42, 138, 0.8) 100%);
    color: white;
    position: relative;
}

.page-header h1 {
    color: white;
}

/* Hero Section */
.hero-section {
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary);
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 110px;
    }
    .col-lg-6.hero-content.reveal.fade-left.text-start {
        margin-top: 20px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 50px 0 !important; /* Ajustado para diminuir o espaço mantendo a logo livre */
    }
    .hero-section .row {
        align-items: flex-start !important;
    }
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 25, 83, 0.85) 0%, rgba(30, 42, 138, 0.7) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.hero-buttons-container .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .hero-buttons-container .btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons-container {
        flex-wrap: wrap;
    }
    .hero-buttons-container .btn {
        width: 100%;
    }
}

.hero-content h1 {
    color: white;
}


/* Destaques Estratégicos abaixo do Banner */
.strategic-highlights-bar {
    background-color: white;
    padding: 60px 0;
    color: var(--color-primary);
    border-bottom: 1px solid #edf2f7;
}

.highlight-item {
    border-right: 1px solid #edf2f7;
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-icon {
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.highlight-text {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .highlight-item {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
        padding: 20px 0;
    }
    .highlight-item:last-child {
        border-bottom: none;
    }
    .highlight-text {
        font-size: 1.25rem;
    }
}

.logo-partner {
    max-height: 50px;
    width: auto;
    transition: var(--transition-base);
}


/* Forms (Cotação e Rastreio) */
.form-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--color-secondary);
}

/* Formulários */
.form-label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background-color: var(--color-surface);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(90, 200, 251, 0.25);
}

/* Botões */
.btn-brand {
    padding: 12px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.btn-brand-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-brand-primary:hover {
    background-color: #1a237e;
    color: white;
    transform: translateY(-2px);
}

.btn-brand-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
}

.btn-brand-secondary:hover {
    background-color: #3bb5eb;
    border-color: #3bb5eb;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Dropdown Menu Customization */
.dropdown-menu {
    border-radius: var(--border-radius-md);
    padding: 10px;
    margin-top: 10px !important;
}

.dropdown-item {
    font-weight: 600;
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
}

.dropdown-item:hover {
    background-color: rgba(90, 200, 251, 0.1);
    color: var(--color-secondary);
}

/* Seções Gerais */
.section-padding {
    padding: var(--section-padding);
}

section {
    overflow-x: hidden;
}

/* Background Parallax */
.bg-parallax {
    background-image: url('../img/generico/background-image.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Garantir cobertura total */
    position: relative;
    color: white;
}

/* Ajuste específico para desktop para permitir movimento */
@media (min-width: 992px) {
    .bg-parallax {
        background-size: 150% auto; /* Aumentado para 150% na largura para garantir margem de movimento */
    }
}

/* Ajuste para mobile onde as seções ficam muito verticais */
@media (max-width: 991.98px) {
    .bg-parallax {
        background-size: auto 150%; /* Baseado na altura para seções compridas no mobile */
    }
}

.bg-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 25, 83, 0.65); /* Overlay levemente mais claro para destacar a imagem */
    z-index: 1;
}

.bg-parallax .container {
    position: relative;
    z-index: 2;
}

.bg-parallax h2, .bg-parallax h3, .bg-parallax h4, .bg-parallax p {
    color: white !important;
}

.stat-icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.stat-icon-circle:hover {
    transform: scale(1.1);
    background-color: white;
    color: var(--color-secondary);
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
}

/* Cards de Serviço */
.service-card {
    background: white;
    border: 1px solid #edf2f7;
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(90, 200, 251, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    font-size: 2rem;
}

/* Cidades Atendidas */
.cities-section {
    background-color: var(--color-surface);
}

.map-placeholder {
    background: #e2e8f0;
    height: 400px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Certificados */
.cert-strip {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.cert-item {
    text-align: center;
    opacity: 0.7;
    transition: var(--transition-base);
}

.cert-item:hover {
    opacity: 1;
}

.cert-item img {
    max-height: 60px;
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
}

@media (max-width: 767.98px) {
    .cert-strip {
        padding: 30px 0;
    }
    
    .cert-item {
        padding: 10px;
    }
    
    .cert-item img {
        max-height: 50px;
    }
}

.cert-item:hover img {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0px 20px;
}

.footer-logo {
    height: auto;
    max-height: 45px;
    margin-bottom: 0;
    padding-right: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Custom Carousel Styles */
.carousel-item {
    transition: transform 0.3s ease-in-out !important; /* Acelerando a transição de troca de slides para 0.3s */
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--color-primary);
    padding: 20px;
    border-radius: 50%;
    background-size: 50% 50%;
}

.carousel-item img {
    transition: transform 0.5s ease;
}

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

/* Cobertura Page Styles */
.search-group {
    background: white;
    transition: all 0.3s ease;
}

.search-group:focus-within {
    border-color: var(--color-primary) !important;
    box-shadow: 0 10px 25px -5px rgba(18, 25, 83, 0.1) !important;
}

@media (max-width: 991.98px) {
    #stateTabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    #stateTabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    #stateTabs .nav-item {
        flex: 0 0 auto;
    }
}

.nav-pills .nav-link {
    color: var(--color-primary);
    background-color: var(--color-surface);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-pills .nav-link.active {
    background-color: var(--color-primary);
    color: white !important;
    border-color: var(--color-primary);
}

.list-group-item-action.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
}

.list-group-item {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 14px 20px;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9 !important;
}

@media (max-width: 767.98px) {
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

.unit-card {
    animation: fadeIn 0.4s ease-out;
    position: relative;
    padding-left: 20px;
}

.unit-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-secondary);
    border-radius: 4px 0 0 4px;
}

.contact-info-box {
    border-left: 3px solid var(--color-secondary);
    transition: transform 0.2s ease;
}

.contact-info-box:hover {
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.form-control:focus, .form-select:focus {
    background-color: #fff !important;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 0.25rem rgba(90, 200, 251, 0.25) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 160px 0 60px 0 !important;
        text-align: left !important;
    }
    .hero-section .hero-content {
        text-align: left !important;
    }
    .hero-content h1 {
        margin-top: 1rem !important;
    }
    .hero-section .d-flex {
        justify-content: flex-start !important;
    }
    .hero-image-container {
        margin-top: 40px;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Animações de Revelação (Reveal) */
.reveal {
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: transform, opacity;
}

/* Cobertura - Sistema de Accordion Mobile */
.accordion-cobertura .accordion-item {
    background: white;
    margin-bottom: 1rem;
    border: 1px solid rgba(18, 25, 83, 0.08) !important;
}

.accordion-cobertura .accordion-button {
    padding: 1.25rem;
    font-size: 1.1rem;
    color: var(--color-primary);
    background-color: white;
    box-shadow: none !important;
}

.accordion-cobertura .accordion-button:not(.collapsed) {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border-bottom: 1px solid rgba(18, 25, 83, 0.05);
}

.city-toggle-btn {
    background-color: white;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7 !important;
    color: var(--color-primary);
}

.city-toggle-btn:hover, .city-toggle-btn:focus {
    background-color: var(--color-surface);
    border-color: var(--color-secondary) !important;
}

.city-toggle-btn svg {
    transition: transform 0.3s ease;
    color: var(--color-secondary);
}

.city-toggle-btn:not(.collapsed) {
    border-color: var(--color-secondary) !important;
    background-color: #f0f9ff;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.city-toggle-btn:not(.collapsed) svg {
    transform: rotate(180deg);
}

.city-details-card {
    border-top: none;
}

/* Ajustes Finais de Cobertura */
@media (max-width: 991.98px) {
    #stateTabsContent {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
}

.reveal.active {
    opacity: 1;
}

.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-100px);
}

.fade-right {
    transform: translateX(100px);
}

.reveal.active.fade-bottom,
.reveal.active.fade-left,
.reveal.active.fade-right {
    transform: translateY(0) translateX(0);
}

/* Smart Announcement Popup (Modern CMS Style) */
.smart-popup .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(18, 25, 83, 0.2);
    background: #ffffff;
    position: relative;
}

/* Decorative side bar matching design.html */
.smart-popup .modal-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-secondary);
}

.smart-popup .modal-body {
    padding: 3.5rem 3rem !important;
}

.smart-popup .announcement-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(90, 200, 251, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.smart-popup .announcement-icon:hover {
    transform: scale(1.05);
    background-color: rgba(90, 200, 251, 0.2);
}

.smart-popup .btn-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 10;
    padding: 0.8rem;
    background-color: var(--color-surface);
    border-radius: 50%;
    opacity: 0.5;
    transition: var(--transition-base);
}

.smart-popup .btn-close:hover {
    opacity: 1;
    background-color: #f1f5f9;
}

.smart-popup .modal-title {
    font-size: 1.75rem;
    line-height: 1.2;
}

.smart-popup .announcement-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.smart-popup .announcement-badge {
    display: inline-block;
    background-color: rgba(90, 200, 251, 0.15);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

/* Variantes de Pop-up */
.smart-popup.type-price-update .modal-content::before {
    background: var(--color-primary);
}

.smart-popup.type-price-update .announcement-icon {
    background-color: rgba(18, 25, 83, 0.1);
    color: var(--color-primary);
}

.smart-popup.type-relevant-announcement .modal-content::before {
    background: var(--color-secondary);
}

.smart-popup.type-relevant-announcement .announcement-icon {
    background-color: rgba(90, 200, 251, 0.1);
    color: var(--color-secondary);
}

/* Cobertura / Cidades Atendidas (3 Column Layout) */
.cities-list-wrapper {
    border: 1px solid rgba(18, 25, 83, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cities-scroll-container {
    overflow-y: auto;
    flex-grow: 1;
    height: 700px;
}

.cities-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.cities-scroll-container::-webkit-scrollbar-track {
    background: #f8fafc;
}

.cities-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}

.city-list-item {
    border-left: 3px solid transparent;
}

.city-list-item:hover {
    background-color: var(--color-surface);
}

.city-list-item.active-city {
    border-left-color: var(--color-secondary);
    background-color: #f0f9ff !important;
}

.city-list-item.active-city .text-primary-brand {
    color: var(--color-secondary) !important;
}

.states-filter-wrapper, .states-filter-horizontal {
    border: 1px solid rgba(18, 25, 83, 0.05);
}

.btn-filter {
    background: #f8fafc;
    border: 1px solid rgba(18, 25, 83, 0.03);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: #ffffff;
    border-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-filter.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-filter.active small {
    color: rgba(255, 255, 255, 0.7) !important;
}

.state-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(8%) sepia(54%) saturate(1915%) hue-rotate(224deg) brightness(91%) contrast(100%); /* Cor primary-brand aprox */
    transition: all 0.3s ease;
}

.state-icon-sm {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(8%) sepia(54%) saturate(1915%) hue-rotate(224deg) brightness(91%) contrast(100%);
    transition: all 0.3s ease;
}

.btn-filter:hover .state-icon,
.btn-filter:hover .state-icon-sm {
    filter: brightness(0) saturate(100%) invert(67%) sepia(47%) saturate(2250%) hue-rotate(178deg) brightness(101%) contrast(98%); /* Cor secondary-brand approx */
}

.btn-filter.active .state-icon,
.btn-filter.active .state-icon-sm {
    filter: brightness(0) invert(1); /* Branco */
}

/* Novo Sistema de Filtro por Mapas */
.maps-filter-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: transparent;
    border-radius: var(--border-radius-lg);
}

.map-item {
    cursor: pointer;
    text-align: center;
    transition: var(--transition-base);
    flex: 1;
    max-width: 140px;
    padding: 15px;
    border-radius: var(--border-radius-md);
}

.map-item:hover {
    background: rgba(90, 200, 251, 0.05);
    transform: translateY(-8px);
}

.map-item.active {
    background: rgba(90, 200, 251, 0.1);
}

.map-svg-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.map-svg-wrapper img,
.map-svg-wrapper svg {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(1) opacity(0.5) brightness(0.8);
    transition: var(--transition-base);
}

.map-svg-wrapper svg {
    color: var(--text-muted);
}

.map-item:hover img,
.map-item.active img,
.map-item:hover svg,
.map-item.active svg {
    filter: grayscale(0) opacity(1) brightness(1);
}

.map-item:hover svg,
.map-item.active svg {
    color: var(--color-primary);
}


.map-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition-base);
    letter-spacing: 0.5px;
    white-space: normal;
    line-height: 1.2;
    max-width: 100%;
    margin: 0 auto;
}

.map-item:hover .map-label,
.map-item.active .map-label {
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .maps-filter-container {
        gap: 15px;
        padding: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .map-item {
        min-width: 100px;
        max-width: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    .map-label {
        font-size: 0.75rem;
        word-wrap: break-word;
    }
}

@media (max-width: 576px) {
    .maps-filter-container {
        gap: 10px;
        padding: 15px;
    }
    .map-item {
        min-width: 85px;
        padding: 10px;
    }
    .map-svg-wrapper {
        height: 60px;
    }
    .map-label {
        font-size: 0.65rem;
    }
}

.city-detail-panel {
    border: 1px solid rgba(18, 25, 83, 0.05);
    min-height: 700px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.city-detail-sticky {
    top: 100px;
}

.empty-detail-state {
    flex-grow: 1;
}

.city-rich-card {
    position: relative;
    overflow: hidden;
}

/* Frequência stqqssd */
.frequency-dots {
    display: flex;
    gap: 6px;
}

.day-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #f1f5f9;
    color: #94a3b8;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.day-dot.active {
    background-color: rgba(90, 200, 251, 0.15);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .cities-scroll-container {
        max-height: none !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-glow 2s infinite;
}

@keyframes whatsapp-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    animation: none;
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    background-color: var(--color-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-badge {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-badge {
        display: none; /* Esconder badge no mobile para não poluir */
    }
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* WhatsApp Utility Classes */
.whatsapp-shadow {
    box-shadow: 0 10px 25px rgba(18, 25, 83, 0.3) !important;
}

.whatsapp-shadow:hover {
    box-shadow: 0 15px 30px rgba(18, 25, 83, 0.4) !important;
    transform: scale(1.03) translateY(-2px);
}

.transition-base {
    transition: var(--transition-base);
}

/* Divider "OU" */
.divider-or {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.divider-or:not(:empty)::before {
    margin-right: 1.5rem;
}

.divider-or:not(:empty)::after {
    margin-left: 1.5rem;
}
