@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #052347;
    --secondary-color: #020C17;
    --accent-color: #0C52A6;
    --medium-color: #083A77;
    --dark-color: #000000;
    --light-color: #f8f9fa;
    --gray-card: #ffffff;

    --font-title: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Configurações Gerais */
body {
    font-family: var(--font-body);
    color: #333333;
    overflow-x: hidden;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--secondary-color);
}

.text-justify {
    text-align: justify;
}

/* Sem opacidade nos textos brancos */
.text-white,
.text-white-50,
.carousel-caption p,
.cta-final-fluid p,
.bankruptcy-highlight p {
    color: #ffffff !important;
}

/* Botões Customizados */
.btn-zenith-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-title);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-zenith-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-zenith-outline {
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-title);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-zenith-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Topbar Superior */
.topbar {
    background-color: #052347;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 14px 0;
    border-bottom: 0px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.topbar a:hover {
    color: var(--accent-color);
}

.btn-topbar-special {
    background-color: var(--medium-color);
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.btn-topbar-special:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(12, 82, 166, 0.4);
}

/* Header & Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    transition: var(--transition-smooth);
}

.navbar {
    background-color: #ffffff;
    padding: 30px 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-scrolled .navbar {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 48px;
    transition: var(--transition-smooth);
}

.header-scrolled .navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 15px !important;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: calc(100% - 30px);
}

/* Dropdown Menu ao passar o mouse */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 12px 0;
    margin-top: 15px;
    background-color: #ffffff;
}

.dropdown-item {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    padding: 10px 20px;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
    padding-left: 25px;
}

/* Hero Section (Owl Carousel Banner com altura fixa e alinhamento flex) */
.hero-carousel {
    min-height: 75vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item-owl {
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0 !important;
    display: flex;
    align-items: center;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a2c55 10%, #0a3d7c 50%, #000000 100%);
    /*  mix-blend-mode: color-burn; */

    opacity: 0.80;
}

.hero-carousel .container {
    width: 100%;
    z-index: 10;
}

.hero-carousel .carousel-caption {
    position: relative;
    top: auto;
    transform: none;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0;
    z-index: 10;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.hero-carousel h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    text-align: center;
}

.hero-carousel h1 .highlight {
    color: #5aa3fa;
}

.hero-carousel p {
    font-size: 1.10rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    text-align: center;
}

.hero-carousel .cta-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    text-align: center;
}

.hero-carousel .owl-item.active h1,
.hero-carousel .owl-item.active p,
.hero-carousel .owl-item.active .cta-container {
    opacity: 1;
    transform: translateY(0);
}

/* Indicadores / Dots Customizados do Owl Carousel */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    display: block;
    transition: var(--transition-smooth);
}

.hero-carousel .owl-dots .owl-dot.active span {
    width: 30px;
    border-radius: 6px;
    background-color: var(--accent-color) !important;
}

/* Botões de CTA Customizados do Hero (Mesma Altura) */
.btn-hero-solucoes,
.btn-hero-contato {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 35px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-sizing: border-box;
}

.btn-hero-solucoes {
    background-color: #0d3a6f;
    color: #ffffff;
    border: 1px solid #0d3a6f;
}

.btn-hero-solucoes:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.btn-hero-contato {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-hero-contato:hover {
    background-color: #ffffff;
    color: #0d3a6f;
    border-color: #ffffff;
}

/* Setas de navegação do Hero */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-smooth);
    font-size: 1.25rem;
}

.hero-prev-btn {
    left: 40px;
}

.hero-next-btn {
    right: 40px;
}

.hero-nav-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

@media (max-width: 767px) {
    .hero-nav-btn {
        display: none;
    }
}

/* Quem Somos */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
    text-wrap: balance
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.img-vertical-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    aspect-ratio: 5 / 6;
    width: 100%;
}

.img-vertical-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.img-vertical-wrapper:hover img {
    transform: scale(1.05);
}

/* Nossas Soluções (Cards Modernos) */
a.solution-card {
    text-decoration: none;
    display: block;
}

.solution-card {
    background-color: var(--gray-card);
    border: 1px solid rgba(5, 35, 71, 0.08);
    border-radius: 12px;
    padding: 45px 35px;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--medium-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.solution-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #eff2f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transform: rotate(0deg);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-icon {
    font-size: 2.2rem;
    color: #093365;
    line-height: 1;
    transition: var(--transition-smooth);
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.solution-card p {
    color: #555555;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 35, 71, 0.15);
    border-color: transparent;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover .solution-icon-wrapper {
    background-color: #ffffff;
    transform: rotate(-5deg) scale(1.05);
}

.solution-card:hover .solution-icon {
    color: #093365;
}

.solution-card:hover h3 {
    color: #ffffff;
}

.solution-card:hover p {
    color: #ffffff;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-cta {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
}

/* Destaque Falências - Foco Investigativo */
.bankruptcy-highlight {
    background-color: var(--medium-color);
    color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(8, 58, 119, 0.15);
}

.bankruptcy-highlight h3 {
    color: #ffffff;
    font-weight: 700;
}

.bankruptcy-highlight p {
    color: #ffffff;
}

/* Nossa Equipe - Carrossel Estendido com setas e bullets */
.team-outer-container {
    position: relative;
    margin-right: calc(-50vw + 0%);
    padding-right: calc(50vw - 25%);
    overflow: visible;
}

.team-carousel {
    display: block;
    width: 100%;
}

.team-nav-controls {
    display: flex;
    gap: 10px;
}

.team-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.team-nav-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.team-card {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-card-link-overlay,
.blog-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.team-info .btn {
    position: relative;
    z-index: 3;
    margin-top: auto;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 12, 23, 0.95), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-smooth);
    opacity: 0;
    z-index: 3;
}

.team-card:hover .team-social-overlay {
    bottom: 0;
    opacity: 1;
}

.team-social-overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: var(--accent-color);
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.team-social-overlay a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.team-social-overlay a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    text-decoration: none;
}

.team-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h4,
.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info p {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Sessão Blog com scroll estendido para a direita calculado dinamicamente */
.blog-outer-container {
    position: relative;
    margin-right: calc(-50vw + 0%);
    padding-right: calc(50vw - 25%);
    overflow: visible;
}

.blog-carousel {
    display: block;
    width: 100%;
}

.blog-card {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: #777777;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-card .btn-link {
    position: relative;
    z-index: 3;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.blog-card:hover .btn-link {
    color: var(--accent-color);
}

/* Controles customizados do Blog */
.blog-nav-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.blog-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.blog-nav-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Dots Customizados do Owl Carousel para Equipe e Blog */
.team-carousel .owl-dots,
.blog-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.team-carousel.owl-theme .owl-nav.disabled+.owl-dots,
.blog-carousel.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 40px !important;
}

.team-carousel .owl-dot span,
.blog-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(5, 35, 71, 0.2);
    display: block;
    transition: var(--transition-smooth);
}

.team-carousel.owl-theme .owl-dots .owl-dot.active span,
.blog-carousel.owl-theme .owl-dots .owl-dot.active span {
    width: 25px;
    border-radius: 6px;
    background-color: var(--accent-color) !important;
}

/* Previne corte das sombras (box-shadow) dos cards no Owl Carousel */
.team-carousel .owl-stage-outer,
.blog-carousel .owl-stage-outer {
    padding: 30px 20px 50px 20px !important;
    margin: -30px -20px -50px -20px !important;
}

/* Força altura idêntica nos itens dos carrosséis da equipe e do blog */
.team-carousel .owl-stage,
.blog-carousel .owl-stage {
    display: flex !important;
}

.team-carousel .owl-item,
.blog-carousel .owl-item {
    display: flex !important;
    flex-direction: column;
}

/* Seção de Contato Fluid em degradê vertical azul e botões de contraste */
.cta-final-fluid {
    background: linear-gradient(180deg, #0c3363 0%, #1a4880 100%);
    padding: 100px 0;
    color: #ffffff;
}

.cta-final-fluid h2 {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.cta-final-fluid p {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.cta-final-fluid .btn-zenith-outline {
    color: #ffffff;
    border-color: #ffffff;
}

.cta-final-fluid .btn-zenith-outline:hover {
    background-color: #ffffff;
    color: #0c3363;
}

/* Rodapé (Footer) */
.footer {
    background-color: #00152e;
    color: #ffffff;
    font-size: 0.9rem;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4,
.footer h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4::after,
.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.footer-policy-link,
.footer-dev-link {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-policy-link:hover,
.footer-dev-link:hover {
    color: var(--accent-color);
}

/* Animações de Scroll (AOS local leve) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Detalhe da Notícia Interna */
.blog-internal-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

/* Responsividade adicional */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .blog-internal-title {
        font-size: 1.85rem;
    }

    /* Overlay e Sidebar Customizados (Mobile) */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1020;
        /* Posicionado abaixo do header (1030) mas acima do corpo da página */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--secondary-color) !important;
        z-index: 1050 !important;
        /* z-index alto para garantir prioridade de exibição */
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start !important;
        /* Alinha o conteúdo por cima (Bug 1) */
        padding: 80px 30px 40px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0 !important;
    }

    .navbar-close-btn {
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
        transition: var(--transition-smooth);
    }

    .navbar-close-btn:hover {
        color: var(--accent-color);
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin: 5px 0;
    }

    .navbar-nav .nav-link {
        color: #ffffff !important;
        font-size: 0.85rem !important;
        /* Texto menor e elegante */
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 8px 0 !important;
    }

    /* Impede que a seta de dropdown do Atuação quebre de linha (Bug 3) */
    .navbar-nav .nav-link.dropdown-toggle {
        display: inline-block !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .navbar-nav .nav-link.dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 6px !important;
        vertical-align: middle !important;
    }

    /* Alinha a linha de hover (underline) perfeitamente com o texto no mobile (Bug do Risco) */
    .navbar-nav .nav-link:not(.dropdown-toggle)::after {
        left: 0 !important;
    }

    .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
    .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
        width: 100% !important;
    }

    /* Reduz a altura máxima do logotipo da marca no mobile */
    .navbar-brand img {
        max-height: 42px !important;
    }

    /* Melhora a legibilidade do botão "Consulta de Processos" no fundo escuro (Bug 4) */
    .navbar-collapse .btn-zenith-outline {
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
    }

    .navbar-collapse .btn-zenith-outline:hover {
        background-color: #ffffff !important;
        color: var(--secondary-color) !important;
        border-color: #ffffff !important;
    }

    .navbar-nav .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border-radius: 4px !important;
        margin-top: 10px !important;
        padding: 10px !important;
        width: 100%;
        position: static !important;
        transform: none !important;
        float: none !important;
    }

    .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 8px 15px !important;
        font-size: 0.75rem !important;
        /* Submenu menor ainda */
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .navbar-nav .dropdown-item:hover {
        color: var(--accent-color) !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .hero-carousel {
        height: auto !important;
        min-height: calc(100dvh - 80px) !important;
    }

    .hero-carousel .carousel-item-owl {
        height: auto !important;
        min-height: calc(100dvh - 80px) !important;
        padding: 50px 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-carousel h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .img-vertical-wrapper {
        margin-top: 30px;
    }

    .blog-outer-container,
    .team-outer-container {
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.65rem;
    }

    .hero-carousel h1 {
        font-size: 2rem;
    }

    .hero-carousel .cta-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .blog-internal-title {
        font-size: 1.55rem;
    }

    .btn-hero-solucoes,
    .btn-hero-contato {
        width: 100% !important;
        display: flex !important;
    }

    .cta-final-fluid {
        padding: 60px 20px;
    }

    .cta-final-fluid h2 {
        font-size: 2rem;
    }
}

/* Hero de Páginas Internas */
.internal-hero {
    height: 35vh;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.internal-hero .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a2c55 10%, #0a3d7c 50%, #000000 100%);
    opacity: 0.80;
}

.internal-hero .container {
    position: relative;
    z-index: 10;
}

.internal-hero-caption h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.internal-hero-caption p {
    font-size: 0.95rem;
    color: #ffffff !important;
    margin: 0;
}

.internal-hero-caption a {
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.internal-hero-caption a:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 767px) {
    .internal-hero-caption h1 {
        font-size: 2rem;
    }
}

/* Card Estático de Formulário de Contato */
.contact-form-card {
    background-color: var(--gray-card);
    border: 1px solid rgba(5, 35, 71, 0.08);
    border-radius: 12px;
    padding: 45px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Paginação Estilizada */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.pagination .page-link:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #ffffff !important;
}

/* Botão Flutuante do WhatsApp com Efeito Pulsante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: whatsapp-pulse 1.8s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Efeito de pulsação nos botões de CTA */
.btn-pulse-blue {
    animation: btn-pulse-blue-anim 2s infinite;
}

@keyframes btn-pulse-blue-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 82, 166, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(12, 82, 166, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 82, 166, 0);
    }
}

.btn-pulse-green {
    animation: btn-pulse-green-anim 2s infinite;
}

@keyframes btn-pulse-green-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Custom File Upload Premium */
.custom-file-upload {
    position: relative;
    width: 100%;
}

.file-input {
    display: none;
}

.file-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed rgba(12, 82, 166, 0.25);
    border-radius: 8px;
    background-color: rgba(12, 82, 166, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-dropzone:hover {
    background-color: rgba(12, 82, 166, 0.05);
    border-color: var(--accent-color);
}

.file-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.file-dropzone:hover .file-icon {
    transform: translateY(-3px);
}

.file-label-text {
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.file-name {
    font-size: 0.78rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-dropzone.has-file {
    border-color: #25d366;
    background-color: rgba(37, 211, 102, 0.02);
}

.file-dropzone.has-file .file-icon {
    color: #25d366;
}

/* Botão de limpar arquivo customizado */
.btn-clear-file {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.btn-clear-file:hover {
    transform: scale(1.15);
    color: #bd2130;
}

/* Exibe o botão de limpar somente quando o container possui a classe .has-file */
.custom-file-upload:has(.has-file) .btn-clear-file {
    opacity: 1;
    pointer-events: auto;
}

/* Feedback visual de erro no file upload customizado */
.custom-file-upload:has(.file-input.is-invalid) .file-dropzone {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.02);
}

.custom-file-upload:has(.file-input.is-invalid) .file-icon {
    color: #dc3545;
}

/* Remove destaque e bordas laterais fantasmas ao focar no campo de busca de processos */
#processo-search:focus {
    box-shadow: none !important;
    outline: none !important;
}