:root {

    /* Cores */
    --cor-primaria: #0E1A40;

    --cor-secundaria: #F2811D;

    --cor-destaque: #F2811D;
    --cor-destaque-2: #F2E205;
    --primary: 215 84% 25%;
    /* Azul mais escuro (quase marinho) */
    --accent: 25 95% 45%;
    /* Laranja mais fechado, menos saturado */
    /* Laranja (#F2811D aproximado) */
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary) / 1), hsl(var(--accent) / 1));
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden !important;
}



/* HEADER */

.container-dados i {
    color: var(--cor-destaque) !important;
}

header .btn-cotacao {
    background-color: var(--cor-destaque);
}

.top-bar {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-bar.hide {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.container-dados {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
}

.container-dados.hide {
    max-height: 0;
    opacity: 0;
}

header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;

    will-change: transform, opacity;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
    backdrop-filter: blur(13.5px) !important;
    -webkit-backdrop-filter: blur(13.5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

header.scrolled .btn-cotacao {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(242, 129, 29, 0.3);
}

.nav-nordese a:hover {
    color: var(--cor-destaque) !important;
}

header.scrolled .nav-nordese a:hover {
    color: var(--cor-destaque) !important;
}

/* FIM HEADER */

/* SECTION INICIO */



#inicio {
    position: relative;
    min-height: 100vh;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--primary) / 100%), hsl(var(--accent) / 100%));
}

#inicio h1 {
    font-size: 4.5rem;
    line-height: 1;
}

#inicio .lead {
    font-size: 1.5rem;
    line-height: 2rem;
}

#inicio .lead strong {
    font-weight: 900;

}

#inicio .text-services {
    font-weight: 900;
    color: white !important;
}





/* Imagem sobreposta com opacidade controlada */
#inicio::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('./fundo_02.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    /* imagem em menor destaque */
    z-index: 1;
    pointer-events: none;
}

.text-warning {
    color: var(--cor-destaque) !important;
}

/* Conteúdo acima da imagem e do degradê */
#inicio>.container {
    position: relative;
    z-index: 2;

    /* Centralização vertical */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    text-align: center;
}

.btn-cotacao {
    background-color: var(--cor-destaque) !important;
    border: var(--cor-destaque) !important;
}

.btn-cotacao:hover {
    background-color: var(--cor-destaque-2) !important;
    color: black !important;
}

.btns-banner {
    width: 80%;
}

.btns-banner div>div:hover {
    background-color: var(--cor-destaque) !important;
    border: var(--cor-destaque) !important;
}

.btns-banner div>div {
    background-color: #ffffff1a;
}


.text-gradient {
    /* background: linear-gradient(to right, #F2E205, #F2811D); */
    background: linear-gradient(to right, #F2811D, #F2811D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-glow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.floating-icon {
    animation: float 4s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #inicio::before {
        opacity: 0 !important;
    }

    #inicio h1 {
        font-size: 2.5rem;
        line-height: 1;
    }

    #inicio .lead {
        font-size: 1.2rem;
        line-height: 2rem;

    }
}

/* FIM SECTION INICIO */


/* SECTION SOBRE */

#sobre .text-gradient {
    background: linear-gradient(to right, #F2811D, #F2811D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#sobre {
    background-color: #FEFEFE !important;
}


.container-missao {
    display: flex;
    /* Força row virar flex */
    align-items: stretch;
    /* Faz as colunas terem mesma altura */
    margin-bottom: 2rem;
}

.container-missao>[class*="col-"] {
    display: flex;
    flex-direction: column;
    /* Permite conteúdo interno se ajustar */
}



/* FIM SECTION SOBRE */


/* SECTION PARCEIROS */

.cards-itens {
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.cards-itens:hover {
    background-color: #F2811D;
    color: #fff;
    transform: translateY(-2px);
}


/* SECTION PARCEIROS */

/* BOTAO WHATSAPP */
/* --- CSS COMPLETO E DEFINITIVO DO BOTÃO WHATSAPP --- */

/* --- ESTILOS COMPLETOS E CORRIGIDOS DO BOTÃO WHATSAPP --- */

/* 1. ESTILOS DO BOTÃO PRINCIPAL (CORRIGIDO) */
/* --- ESTILOS COMPLETOS E CORRIGIDOS DO BOTÃO WHATSAPP --- */

/* 1. ESTILOS DO BOTÃO PRINCIPAL (POSIÇÃO CORRIGIDA) */
/* --- ESTILOS COMPLETOS E CORRIGIDOS DO BOTÃO WHATSAPP --- */

/* 1. ESTILOS DO BOTÃO PRINCIPAL (POSIÇÃO CORRIGIDA) */
.whatsapp-float {
    position: fixed;
    /* ALTERADO: Mesma distância da borda inferior que o .btn-topo */
    bottom: 20px; 
    /* ALTERADO: Mesma distância da borda lateral, mas no lado esquerdo */
    left: 20px;  
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* 2. ANIMAÇÃO PULSANTE MODERNA (NO BOTÃO) */
.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    animation: pulse-ring 2.5s ease-out infinite;
    z-index: -1; 
}

.whatsapp-float::after {
    animation-delay: 1.25s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    animation-play-state: paused;
}


/* 3. A ANIMAÇÃO @keyframes QUE CRIA O EFEITO DE "SOLTAR CAMADAS" */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    80%, 100% {
        transform: scale(2.5); /* Aumenta o tamanho do anel */
        opacity: 0; /* Faz o anel desaparecer */
    }
}


/* 4. ESTILOS DO BALÃO DE MENSAGEM (controlado por JS) */
.whatsapp-tooltip {
    position: absolute;
    bottom: 120%;
    /* Garante que o balão alinhe à esquerda do botão */
    left: 0; 
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #1a1a1a;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

.whatsapp-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BOTAO WHATSAPP */

/* VOLTAR AO TOPO */
.btn-topo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    background-color: #F2811D;
    color: white;
    font-size: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: bounce 2s infinite;
}

.btn-topo.show {
    opacity: 1;
    visibility: visible;
}

.btn-topo:hover {
    transform: scale(1.1);
}

/* Animação de chamada */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* VOLTAR AO TOPO */

/* section seguros */
#seguros .card-body a {
    border: 1px solid var(--cor-destaque) !important;
    color: var(--cor-destaque);
}

#seguros .card-body a:hover {
    border: 1px solid var(--cor-destaque) !important;
    background-color: var(--cor-destaque) !important;
    color: black !important;
}

/* section seguros */

.btn-outline-warning {
    border-color: var(--cor-destaque) !important;
    color: var(--cor-destaque) !important
}

.btn-outline-warning:hover {
    background-color: var(--cor-destaque) !important;
    color: black !important
}

.btn-warning {
    background-color: var(--cor-destaque) !important;
    color: black !important
}

.btn-warning:hover {
    background-color: var(--cor-destaque-2) !important;
    border-color: var(--cor-destaque-2) !important;
    color: black !important
}


.bg-destaque {
    background-color: var(--cor-destaque) !important;

}

.color-destaque {
    color: var(--cor-destaque) !important;
}


.texto-justificado {
    text-align: justify;

}


/* FORMULÁRIOS */
/* Estilo para esconder os campos dinâmicos do formulário */
.campos-adicionais {
    display: none;
}



#parceiros .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

#parceiros .swiper-slide img {
    /* max-height: 130px;
    width: auto; */
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    /* deixa clean */
    transition: all 0.3s ease-in-out;
}

#parceiros .swiper-slide img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* FORMULÁRIOS */

/* --- ESTILOS DO FOOTER INOVADOR --- */
/* --- ESTILOS DO FOOTER INOVADOR (VERSÃO MINIMALISTA) --- */
/* --- ESTILOS DO FOOTER INOVADOR (VERSÃO FINAL E LIMPA) --- */

.footer-inovador {
    /* Fundo gradiente sutil, sem animações */
    background: #101113;
    background: linear-gradient(135deg, #1c1d21 0%, #101113 100%);
    position: relative;
}

/* Logo */
.footer-logo {
    /* height: 48px; */
    filter: brightness(0) invert(1) opacity(0.9);
}

/* Títulos das colunas */
.footer-heading {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem !important;
}

/* Links do rodapé */
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

/* Ícones de redes sociais com efeito de "glow" (mantido) */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ffc107;
    border-color: #ffc107;
    box-shadow: 0 0 15px 0 rgba(255, 193, 7, 0.4);
    transform: translateY(-3px);
}

/* Rodapé final com separador de gradiente (mantido) */
.footer-bottom {
    padding-top: 1.5rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.footer-link-dev {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-link-dev:hover {
    color: #fff;
    border-bottom-color: #fff;
}