/* assets/css/estilo_simples.css - Versão Premium Responsiva */

/* ============================================
   DEFINIÇÕES GLOBAIS E VARIÁVEIS
   ============================================ */
:root {
    --cor-primaria: #FBBC1D;
    --cor-primaria-escura: #d9a00f;
    --cor-secundaria: #2c3e50;
    --cor-texto: #3a3a3a;
    --cor-texto-claro: #6c757d;
    --sombra-suave: 0 4px 15px rgba(0, 0, 0, 0.08);
    --sombra-media: 0 8px 25px rgba(0, 0, 0, 0.12);
    --sombra-forte: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transicao-padrao: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--cor-texto);
    background-color: #fdfdfd;
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--cor-primaria);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cor-primaria-escura);
}

/* Mobile - scrollbar mais fina */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    transition: var(--transicao-padrao);
    z-index: 1000;
}

.navbar {
    padding: 0.75rem 0;
    transition: var(--transicao-padrao);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: var(--transicao-padrao);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* ============================================
   ESTILO MELHORADO: HEADER E NAVEGAÇÃO
   ============================================ */
.nav-link {
    position: relative;
    font-weight: 500;
    /* Evite usar !important se possível. Use apenas se precisar sobrescrever um framework como Bootstrap */
    padding: 0.5rem 1rem !important; 
    transition: color 0.3s ease-in-out; /* Transição apenas na cor para melhor performance */
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    /* Centraliza a linha e define que ela ocupará 80% do tamanho do texto (como no seu código original) */
    left: 10%; 
    width: 80%; 
    height: 2px;
    background: var(--cor-primaria);
    border-radius: 2px; /* NOVA MELHORIA: pontas da linha levemente arredondadas */
    
    /* NOVA MELHORIA: Usa scaleX ao invés de width para animar. É mais leve e fluido */
    transform: scaleX(0); 
    transform-origin: center; /* A linha crescerá a partir do meio para os lados */
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--cor-primaria) !important;
}

/* ============================================
   ACIONANDO A ANIMAÇÃO (Desktop)
   ============================================ */
@media (min-width: 992px) {
    /* Quando passar o mouse ou o link estiver ativo, a escala vai para 1 (100% visível) */
    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }
}

/* Desktop only */
@media (min-width: 992px) {
    .nav-link::after {
        display: block;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }
}

.nav-link:hover {
    color: var(--cor-primaria) !important;
}

/* Mobile menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--sombra-suave);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
}

/* ============================================
   TÍTULOS DE SEÇÃO
   ============================================ */
.section-title {
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    color: #333;
    display: inline-block;
    margin: 0 auto 2rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cor-primaria), transparent);
    animation: pulse-line 2s infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   SLIDER HERO
   ============================================ */
.hero-slider {
    height: 90vh;
    min-height: 500px;
    width: 100%;
    position: relative;
}

.hero-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.slider-caption {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 90%;
    padding: 2rem 1rem;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
}

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

.slider-caption h1 {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.slider-caption p {
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.5;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 30px;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transicao-padrao);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--cor-primaria);
}

/* Responsivo Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }
    
    .slider-caption {
        padding: 1.5rem 1rem;
        max-width: 95%;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
        --swiper-navigation-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }
    
    .slider-caption {
        padding: 1rem;
    }
    
    .hero-slider .swiper-button-next {
        right: 5px;
    }
    
    .hero-slider .swiper-button-prev {
        left: 5px;
    }
}

/* ============================================
   CARDS DE PRODUTOS
   ============================================ */
.card {
    transition: var(--transicao-padrao);
    box-shadow: var(--sombra-suave);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-primaria-escura));
    transform: scaleX(0);
    transition: var(--transicao-padrao);
    z-index: 2;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    box-shadow: var(--sombra-forte);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    color: var(--cor-secundaria);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.card-body p {
    color: var(--cor-texto-claro);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    flex-grow: 1;
}

/* Responsivo Cards */
@media (max-width: 768px) {
    .card-img-top {
        height: 220px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 200px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ============================================
   SEÇÃO DE BLOG
   ============================================ */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.featured-post-card {
    position: relative;
    display: block;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transicao-padrao);
    box-shadow: var(--sombra-media);
}

.featured-post-card:hover {
    box-shadow: var(--sombra-forte);
}

.featured-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    transition: var(--transicao-padrao);
}

.featured-post-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.featured-post-card .post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.5rem;
    z-index: 2;
    width: 100%;
}

.featured-post-card .post-card-content small {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--cor-primaria);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.featured-post-card .post-card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.featured-post-card .post-card-content p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    opacity: 0.9;
    line-height: 1.6;
}

/* Posts Secundários */
.secondary-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: var(--transicao-padrao);
    padding: 1rem;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.secondary-post-item:hover {
    background-color: #f8f9fa;
    box-shadow: var(--sombra-suave);
}

.secondary-post-item .post-text {
    flex-grow: 1;
    padding-right: 1rem;
}

.secondary-post-item h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 0.5rem;
    color: #333;
    transition: var(--transicao-padrao);
}

.secondary-post-item:hover h5 {
    color: var(--cor-primaria);
}

.secondary-post-item .text-muted {
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    line-height: 1.5;
}

.secondary-post-item img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Responsivo Blog */
@media (max-width: 768px) {
    .featured-post-card {
        height: 400px;
    }
    
    .featured-post-card .post-card-content {
        padding: 2rem 1.5rem;
    }
    
    .secondary-post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .secondary-post-item .post-text {
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .secondary-post-item img {
        margin-left: 0;
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .featured-post-card {
        height: 350px;
    }
    
    .featured-post-card .post-card-content {
        padding: 1.5rem 1rem;
    }
    
    .secondary-post-item img {
        height: 160px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 1rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-primaria-escura), var(--cor-primaria));
}

footer h5 {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

footer p, footer a {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

@media (max-width: 768px) {
    footer {
        text-align: center;
        padding: 2rem 0 1rem;
    }
    
    footer .col-md-3,
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--sombra-forte);
}

.modal-header {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.modal-body {
    padding: 2rem;
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.modal-body img {
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: var(--sombra-suave);
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .modal-body {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   BOTÕES PERSONALIZADOS
   ============================================ */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transicao-padrao);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(251, 188, 29, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--cor-primaria) !important;
    color: var(--cor-primaria) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--cor-primaria) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(251, 188, 29, 0.4);
}

@media (max-width: 576px) {
    .btn {
        padding: 0.65rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   CARDS DE CONTATO
   ============================================ */
.contact-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
}

.contact-card:hover {
    box-shadow: var(--sombra-forte);
    border-color: var(--cor-primaria);
}

.contact-card-link {
    display: flex;
    align-items: center;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.icon-circle-lg {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.75rem;
    transition: var(--transicao-padrao);
    box-shadow: 0 4px 12px rgba(251, 188, 29, 0.3);
}

@media (max-width: 768px) {
    .contact-card-link {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .icon-circle-lg {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   BANNER DE PÁGINAS INTERNAS
   ============================================ */
.page-header-container {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #333;
}

.page-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
    padding: 0 1rem;
    text-align: center;
}

.page-header-content h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.page-header-content p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

@media (max-width: 768px) {
    .page-header-container {
        height: 35vh;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .page-header-container {
        height: 30vh;
        min-height: 220px;
    }
}

/* ============================================
   CARDS DE PRODUTOS (PÁGINA DE PRODUTOS)
   ============================================ */
.product-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--sombra-forte);
}

.product-card-image {
    display: block;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-card-image i {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--cor-texto);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transicao-padrao);
}

.product-card:hover .product-card-image i {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
}

.product-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--cor-secundaria);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.product-card-text {
    color: var(--cor-texto-claro);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

@media (max-width: 768px) {
    .product-card-image {
        height: 220px;
    }
    
    .product-card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .product-card-image {
        height: 200px;
    }
    
    .product-card-image i {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .product-card-body {
        padding: 1rem;
    }
}

/* ============================================
   LOGIN SPLIT CARD
   ============================================ */
.login-split-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-forte);
    background-color: #fff;
}

.login-image-side {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 300px;
}

.login-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.login-content-side {
    padding: 3rem;
}

.login-option {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transicao-padrao);
    margin-bottom: 1rem;
}

.login-option:hover {
    border-color: var(--cor-primaria);
    box-shadow: var(--sombra-suave);
    background-color: #fff;
}

.login-option-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.25rem;
    transition: var(--transicao-padrao);
}

@media (max-width: 768px) {
    .login-content-side {
        padding: 2rem 1.5rem;
    }
    
    .login-image-overlay {
        padding: 2rem 1.5rem;
    }
    
    .login-image-side {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .login-content-side {
        padding: 1.5rem 1rem;
    }
    
    .login-option {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .login-option-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ============================================
   DROPDOWN MENU ELEGANTE
   ============================================ */
.dropdown-menu-elegant {
    padding: 0.75rem;
    margin-top: 0 !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
    box-shadow: var(--sombra-forte);
    min-width: 340px;
    animation: fadeInSlideDown 0.3s ease-out;
}

@keyframes fadeInSlideDown {
    from { 
        opacity: 0; 
        transform: translateY(-15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.dropdown-menu-elegant .dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transicao-padrao);
    margin-bottom: 0.5rem;
}

.dropdown-menu-elegant .dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-menu-elegant .dropdown-item:hover {
    color: var(--cor-texto);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dropdown-menu-elegant .item-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--cor-primaria);
    font-size: 1.1rem;
    transition: var(--transicao-padrao);
}

.dropdown-menu-elegant .dropdown-item:hover .item-icon {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
}

.dropdown-menu-elegant .item-text span {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.dropdown-menu-elegant .item-desc {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 0.25rem;
}

/* Mobile Dropdown */
@media (max-width: 991px) {
    .dropdown-menu-elegant {
        min-width: 100%;
        box-shadow: none;
        border: 1px solid #eee;
        animation: none;
        border-radius: 10px;
        margin-top: 0.5rem !important;
    }

    .dropdown-menu-elegant .dropdown-item {
        padding: 0.85rem;
    }
    
    .dropdown-menu-elegant .item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .dropdown-menu-elegant .item-text span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .dropdown-menu-elegant .dropdown-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.75rem;
    }
    
    .dropdown-menu-elegant .item-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   MENU - AJUSTES EXTRAS
   ============================================ */
.nav-link.active {
    color: var(--cor-primaria) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
}

.dropdown-menu-elegant .dropdown-item.active-item {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-radius: 10px;
}

.dropdown-menu-elegant .dropdown-item.active-item .item-icon {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    color: #fff;
}

.dropdown-menu-elegant .dropdown-item.active-item .item-text span {
    color: var(--cor-primaria-escura);
}

.dropdown-ver-todos {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%) !important;
    border-radius: 10px !important;
    border: 1px dashed var(--cor-primaria) !important;
    margin-top: 0.25rem;
}

.dropdown-ver-todos:hover {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%) !important;
}

.dropdown-ver-todos:hover .item-icon,
.dropdown-ver-todos:hover .item-text span,
.dropdown-ver-todos:hover .item-desc {
    color: #fff !important;
}

.dropdown-ver-todos .item-icon {
    background: transparent !important;
    color: var(--cor-primaria) !important;
    border: 2px solid var(--cor-primaria);
}

.navbar .btn-primary {
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

/* Desktop: Dropdown hover */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-menu-elegant {
        margin-top: 0 !important;
        border-top: 3px solid var(--cor-primaria);
    }
}

/* Mobile: Menu adjustments */
@media (max-width: 991px) {
    .navbar .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 0.75rem;
        border-radius: 10px;
    }

    .nav-link.active::after {
        display: none;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--sombra-media) !important;
}

.rounded-custom {
    border-radius: 15px !important;
}

/* ============================================
   ESPAÇAMENTOS RESPONSIVOS
   ============================================ */
@media (max-width: 768px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   GRID RESPONSIVO GARANTIDO
   ============================================ */
.row > * {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
}

/* ============================================
   IMAGENS RESPONSIVAS
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TABELAS RESPONSIVAS
   ============================================ */
@media (max-width: 768px) {
    .table-responsive {
        border: none;
    }
}
/* ============================================
   BANNER DE PÁGINAS INTERNAS (Com Zoom Reverso)
   ============================================ */
.page-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Aplica a animação: 15 segundos, desacelerando no final, e parando no estado final (forwards) */
    animation: zoomReverso 20s ease-out forwards;
}

/* Criação do efeito de animação */
@keyframes zoomReverso {
    0% {
        transform: scale(1.15); /* Começa com 15% de zoom */
    }
    100% {
        transform: scale(1); /* Termina no tamanho exato da imagem */
    }
}