/**
 * CREDINOWE - Estilos Principais
 * ===============================
 */

:root {
    --primary: #F57C00;
    --primary-dark: #E65100;
    --primary-light: #FF9800;
    --secondary: #1565C0;
    --secondary-dark: #0D47A1;
    --secondary-light: #1E88E5;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --font-primary: 'Poppins', sans-serif;
    
    /* Sombras Premium */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 8px 30px rgba(245,124,0,0.25);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.15);
    
    /* Transicoes */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordas */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    
    /* ===== VARIAVEIS TEMAS SAZONAIS ===== */
    /* Sobrescritas pelo JS quando um tema esta ativo */
    --tema-cor-primaria: var(--primary);
    --tema-cor-secundaria: var(--secondary);
    --tema-cor-destaque: var(--primary-light);
    --tema-cor-texto: var(--gray-800);
    --tema-cor-fundo: var(--white);
    --tema-gradiente: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --tema-decoracao-url: none;
    --tema-decoracao-tamanho: 100px;
    --tema-decoracao-opacidade: 1;
}

/* Temas Sazonais - Variaveis especificas */
body[data-tema="natal"] {
    --tema-cor-primaria: #c41e3a;
    --tema-cor-secundaria: #165b33;
    --tema-cor-destaque: #ffd700;
    --tema-gradiente: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
}

body[data-tema="ano_novo"] {
    --tema-cor-primaria: #ffd700;
    --tema-cor-secundaria: #1a1a2e;
    --tema-cor-destaque: #c0c0c0;
    --tema-gradiente: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

body[data-tema="carnaval"] {
    --tema-cor-primaria: #9b59b6;
    --tema-cor-secundaria: #f39c12;
    --tema-cor-destaque: #e74c3c;
    --tema-gradiente: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

body[data-tema="pascoa"] {
    --tema-cor-primaria: #f8b4d9;
    --tema-cor-secundaria: #a8e6cf;
    --tema-cor-destaque: #ffeaa7;
    --tema-gradiente: linear-gradient(135deg, #f8b4d9 0%, #dda0dd 100%);
}

body[data-tema="junina"] {
    --tema-cor-primaria: #e17055;
    --tema-cor-secundaria: #fdcb6e;
    --tema-cor-destaque: #00b894;
    --tema-gradiente: linear-gradient(135deg, #e17055 0%, #d63031 100%);
}

body[data-tema="namorados"] {
    --tema-cor-primaria: #e84393;
    --tema-cor-secundaria: #fd79a8;
    --tema-cor-destaque: #fab1a0;
    --tema-gradiente: linear-gradient(135deg, #e84393 0%, #c44569 100%);
}

body[data-tema="black_friday"] {
    --tema-cor-primaria: #2d3436;
    --tema-cor-secundaria: #fdcb6e;
    --tema-cor-destaque: #e17055;
    --tema-gradiente: linear-gradient(135deg, #2d3436 0%, #000000 100%);
}

body[data-tema="halloween"] {
    --tema-cor-primaria: #6c5ce7;
    --tema-cor-secundaria: #e17055;
    --tema-cor-destaque: #2d3436;
    --tema-gradiente: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

/* ===== SECTION SPACING ===== */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    opacity: 0.3;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Badge de secao */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(245,124,0,0.1), rgba(245,124,0,0.05));
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(245,124,0,0.2);
}

.section-badge i {
    font-size: 1rem;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: blur(0);
}

.navbar-scrolled {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-scrolled .nav-link {
    color: var(--gray-800) !important;
}

.navbar-scrolled .nav-link:hover {
  color: var(--primary) !important;
  }
  
.navbar-scrolled .navbar-brand-text {
  color: var(--gray-800) !important;
  }

/* Navbar toggler - garantir visibilidade em mobile */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block !important;
        border: 1px solid rgba(255,255,255,0.5);
        padding: 0.5rem 0.75rem;
        font-size: 1.25rem;
        background-color: transparent;
        position: relative;
        z-index: 1001;
    }
    
    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
    }
    
    .navbar-toggler-icon {
        display: block;
        width: 1.5em;
        height: 1.5em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
    
    .navbar-scrolled .navbar-toggler {
        border-color: var(--gray-400);
    }
    
    .navbar-scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-scrolled .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
    }
  }
  
.navbar-brand img {
  transition: var(--transition);
  }

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--white);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* ===== DROPDOWN HOVER ===== */
/* Desktop: dropdown abre no hover */
@media (min-width: 992px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropdownFadeIn 0.2s ease;
    }
    
    .dropdown-hover > .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    
    .dropdown-hover:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Submenus (dropdown dentro de dropdown) */
    .dropdown-menu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        margin-left: 0;
    }
    
    .dropdown-menu .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

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

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 220px;
    background: #ffffff;
    z-index: 1050;
}

.navbar .dropdown-item {
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
    padding-left: 1.5rem;
}

.navbar .dropdown-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Submenu (item com filhos) */
.navbar .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    display: none;
}

.navbar .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.navbar .dropdown-submenu > a::after {
    content: '\F285';
    font-family: 'bootstrap-icons';
    margin-left: auto;
    font-size: 0.75rem;
}

/* Dropdown Unidades - Estilo especial */
.dropdown-menu-unidades {
    min-width: 280px;
}

.dropdown-menu-unidades .dropdown-item {
    padding: 0.75rem 1.25rem;
}

.dropdown-menu-unidades .unidade-nome {
    font-weight: 500;
}

.dropdown-menu-unidades .dropdown-item small {
    font-size: 0.75rem;
}

.btn-simular {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-simular:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

/* Navbar CTA container - garante que nao seja cortado */
.navbar-cta {
    flex-shrink: 0;
    padding-right: 0;
}

/* Navbar collapse - ajusta layout flexbox */
.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Efeito de particulas/grid no fundo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%);
    pointer-events: none;
}

/* Linhas decorativas */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    transform: skewX(-15deg);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Desktop - Layout lado a lado */
@media (min-width: 992px) {
    .hero .container {
        max-width: 1200px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .hero .row {
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    
    .hero .col-lg-6:first-child {
        flex: 1 1 55% !important;
        max-width: 55% !important;
        min-width: 0;
    }
    
    .hero .col-lg-6:last-child {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* Mobile - Layout empilhado centralizado */
@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero .col-lg-6 {
        width: 100%;
        max-width: 500px;
    }
    
    .simulador-card {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
}

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

/* Badge do hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    color: var(--primary-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Features do hero */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1rem;
}

/* Animacoes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

.hero-image img {
    max-height: 600px;
    object-fit: contain;
}

/* Simulador Card */
.simulador-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 400px;
    animation: fadeInUp 0.6s ease 0.3s both;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 992px) {
    .simulador-card {
        padding: 1.75rem;
        width: 420px;
    }
}

@media (max-width: 420px) {
    .simulador-card {
        width: 100%;
        max-width: 340px;
    }
}

.simulador-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-size: 200% 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    animation: shimmer 3s linear infinite;
}

.simulador-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.simulador-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(30%, -30%);
}

.simulador-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.simulador-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Botoes de Credito - Grid Layout */
.creditos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Centralizar ultimo botao quando impar */
.creditos-grid .btn-credito:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 60%;
    justify-self: center;
}

.btn-credito {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.825rem;
    line-height: 1.25;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    min-height: 58px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.btn-credito i {
    font-size: 1.35rem;
    flex-shrink: 0;
    opacity: 0.95;
    transition: var(--transition);
}

.btn-credito span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: inherit;
}

.btn-credito:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-primary);
    color: var(--white);
}

.btn-credito:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.btn-credito:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.4);
}

.btn-credito:active {
    transform: translateY(-2px) scale(1);
}

/* Modal de Simulacao */
#modalSimulacao .modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

#modalSimulacao .modal-header {
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

#modalSimulacao .modal-title {
    font-weight: 600;
}

.simulacao-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--primary-light);
}

.simulacao-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.simulacao-form .form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
}

.simulacao-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

.simulacao-form .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

/* ===== OVERLAY DE SIMULACAO (FULLSCREEN) ===== */
.overlay-simulacao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.overlay-simulacao.ativo {
    display: flex;
}

.overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: var(--white);
    flex-shrink: 0;
}

.btn-voltar-site {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-voltar-site:hover {
    background: var(--gray-100);
    transform: scale(1.02);
}

.overlay-titulo {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-fechar-overlay {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.btn-fechar-overlay:hover {
    background: rgba(255,255,255,0.3);
}

.overlay-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--gray-600);
    z-index: 1;
}

.overlay-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--white);
}

/* Mobile adjustments para overlay */
@media (max-width: 575px) {
    .overlay-header {
        padding: 0.5rem 0.75rem;
    }
    
    .btn-voltar-site {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .btn-voltar-site span {
        display: none;
    }
    
    .overlay-titulo {
        font-size: 0.85rem;
    }
    
    .btn-fechar-overlay {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ===== COMO FUNCIONA / STEPS ===== */
.steps-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
}

.step-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Linha conectora entre steps */
@media (min-width: 768px) {
    .steps-row {
        position: relative;
    }
    
    .steps-row::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
        opacity: 0.3;
        z-index: 0;
    }
    
    .step-card {
        position: relative;
        z-index: 1;
    }
}

/* ===== SOBRE ===== */
.about-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,124,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Decoracao flutuante */
.about-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    opacity: 0.1;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-size: 1rem;
    padding: 0.5rem 0;
}

.about-features li i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(245,124,0,0.15), rgba(245,124,0,0.05));
    color: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* ===== LINHAS DE CREDITO ===== */
.creditos-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.creditos-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.creditos-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.creditos-section .section-title,
.creditos-section .section-subtitle {
    position: relative;
    z-index: 1;
}

.credito-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.credito-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.credito-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.25);
}

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

.credito-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(245,124,0,0.3);
    transition: var(--transition);
}

.credito-card:hover .credito-icon {
    transform: scale(1.1) rotate(-5deg);
}

.credito-icon i {
    font-size: 2rem;
    color: var(--white);
}

.credito-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.credito-card p {
    opacity: 0.85;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.credito-taxa {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.25rem;
}

.credito-taxa span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* ===== PARCEIROS ===== */
.parceiros-section {
    background: var(--white);
    padding: 4rem 0;
    position: relative;
}

.parceiros-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

.parceiro-logo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--transition);
}

.parceiro-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.parceiro-logo img {
    max-height: 50px;
    max-width: 140px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.parceiro-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== UNIDADES ===== */
.unidades-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.unidade-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.unidade-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
    border-color: transparent;
}

.unidade-image {
    height: 180px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}

.unidade-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.unidade-card:hover .unidade-image::after {
    opacity: 1;
}

.unidade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.unidade-card:hover .unidade-image img {
    transform: scale(1.1);
}

.unidade-content {
    padding: 1.5rem;
}

.unidade-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.unidade-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unidade-content p i {
    color: var(--primary);
    font-size: 0.875rem;
}

.unidade-content .telefone {
    color: var(--primary);
    font-weight: 600;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
}

.depoimento-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.depoimento-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-5px);
}

.depoimento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0 0 4px 4px;
}

.depoimento-aspas {
    color: var(--primary);
    font-size: 3rem;
    line-height: 1;
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

.depoimento-texto {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.depoimento-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.depoimento-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.depoimento-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.depoimento-stars {
    color: var(--warning);
    margin-top: 0.25rem;
}

/* ===== FAQ ===== */
.faq-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-button {
    font-weight: 600;
    color: var(--gray-800);
    background: var(--white);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius-lg) !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
    transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: var(--white);
    color: var(--gray-600);
    line-height: 1.8;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
}

/* ===== BLOG ===== */
.blog-section {
    background: var(--white);
    padding: 5rem 0;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
    border-color: transparent;
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.blog-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    line-height: 1.4;
}

.blog-content h4 a {
    color: inherit;
}

.blog-content h4 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-meta i {
    color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* ===== PAGE HERO (Paginas Internas) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-hero-title {
        font-size: 1.75rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

/* Hero Gradient para paginas alternativas */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== CREDITO CARD PAGE ===== */
.credito-card-page {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.credito-card-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.credito-card-page:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

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

.credito-card-page.destaque {
    border-color: var(--primary);
    border-width: 2px;
}

.credito-card-page.destaque::before {
    transform: scaleX(1);
}

.destaque-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.credito-card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-primary);
}

.credito-card-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.credito-card-page h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.credito-card-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.credito-card-info {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.info-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.info-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.credito-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg, #0f0f1a);
    color: var(--footer-text, #ffffff);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,124,0,0.3), transparent);
}

.footer-top {
    padding: 5rem 0 4rem;
    position: relative;
}

.footer-logo {
    filter: brightness(0) invert(1);
    max-height: 55px;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--footer-titulos, #ffffff);
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--footer-links, rgba(255,255,255,0.7));
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-links {
    display: flex;
    gap: 0.875rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.125rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.footer-bottom {
    background: rgba(0,0,0,0.4);
    padding: 1.5rem 0;
}

.footer-bottom p {
    color: var(--footer-text, rgba(255,255,255,0.7));
    font-size: 0.9rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== RESPONSIVO ===== */

/* Prevenir scroll horizontal em todas as telas */
html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}

.container, .container-fluid, .row {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    /* Menu mobile - SEMPRE fundo branco com texto PRETO */
    .navbar-collapse,
    #mainNav .navbar-collapse {
        background: #ffffff !important;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    }
    
    /* Sobrescrever cor branca do nav-link no mobile */
    .navbar-collapse .nav-link,
    #mainNav .navbar-collapse .nav-link,
    .navbar .navbar-collapse .nav-link,
    .navbar-nav .nav-link.show,
    .navbar-collapse .navbar-nav .nav-link {
        color: #1a1a2e !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #e9ecef;
        font-weight: 500;
    }
    
    .navbar-collapse .nav-link:hover,
    #mainNav .navbar-collapse .nav-link:hover,
    .navbar .navbar-collapse .nav-link:hover,
    .navbar-collapse .navbar-nav .nav-link:hover {
        background: #f8f9fa;
        color: #F57C00 !important;
    }
    
    /* Dropdown no mobile */
    .navbar-collapse .dropdown-menu,
    #mainNav .navbar-collapse .dropdown-menu {
        background: #f8f9fa !important;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        position: static !important;
        width: 100%;
        border-radius: 0;
    }
    
    .navbar-collapse .dropdown-item,
    #mainNav .navbar-collapse .dropdown-item {
        color: #495057 !important;
        padding: 0.6rem 1.5rem 0.6rem 2rem;
        border-bottom: 1px solid #e9ecef;
        font-size: 0.9rem;
    }
    
    .navbar-collapse .dropdown-item:hover,
    #mainNav .navbar-collapse .dropdown-item:hover {
        background: #e9ecef;
        color: #F57C00 !important;
    }
    
    /* Submenus no mobile - indentacao extra */
    .navbar-collapse .dropdown-submenu .dropdown-menu {
        position: static !important;
        margin-left: 1rem;
    }
    
    .navbar-collapse .dropdown-submenu .dropdown-item {
        padding-left: 2.5rem;
    }
    
    /* Dropdown toggle seta escura */
    .navbar-collapse .dropdown-toggle::after {
        border-top-color: #1a1a2e !important;
        transition: transform 0.2s ease;
    }
    
    .navbar-collapse .dropdown.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Botao CTA no mobile */
    .navbar-cta {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .navbar-cta .btn-simular {
        width: 100%;
        justify-content: center;
    }
    
    /* Remover offset do simulador no mobile/tablet */
    .offset-lg-2 {
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
        min-height: auto;
        text-align: center;
    }
    
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero .row {
        justify-content: center;
        margin: 0;
    }
    
    /* Centralizar colunas no mobile */
    .hero .col-lg-6,
    .hero [class*="col-"] {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-content {
        text-align: center !important;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Centralizar simulador-card no mobile */
    .simulador-card {
        margin: 2rem auto !important;
        width: 100%;
        max-width: 400px;
    }
    
    /* Botoes de credito centralizados */
    .simulador-card {
        margin: 1rem auto;
        max-width: 100%;
    }
    
    .simulador-card .row {
        margin: 0 -0.25rem;
    }
    
    .simulador-card .col-6 {
        padding: 0.25rem;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .btn-credito {
        width: 100%;
        min-height: 55px;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    /* Centralizar botoes do hero no mobile */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        gap: 0.75rem !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Centralizar todas as secoes no mobile */
    section {
        padding: 3rem 0;
    }
    
    section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Simulador Card Responsivo */
    .simulador-card {
        padding: 1.25rem;
        margin: 2rem auto;
        border-radius: var(--radius);
        max-width: 100%;
    }
    
    /* Grid de botoes - 2 colunas no mobile */
    .simulador-card .row.g-2,
    .simulador-card .row.g-md-3 {
        margin: 0 -0.25rem;
    }
    
    .simulador-card .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.25rem;
    }
    
    .btn-credito {
        min-height: 60px;
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .btn-credito i {
        font-size: 1rem;
    }
}

/* Tablet - Ajustes */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero {
        padding-top: 100px;
    }
    
    .btn-credito {
        min-height: 65px;
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }
}

/* Mobile pequeno */
@media (max-width: 575.98px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .simulador-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .simulador-header h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .simulador-header h3 i {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }
    
    .btn-credito {
        min-height: 55px;
        padding: 0.6rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    
    .btn-credito i {
        font-size: 0.9rem;
    }
    
    .simulador-header p {
        font-size: 0.85rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Step cards */
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* About section */
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-features li {
        font-size: 0.9rem;
    }
    
    /* Credito cards */
    .credito-card {
        padding: 1.5rem;
    }
    
    /* WhatsApp e Back to top */
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Footer mobile */
@media (max-width: 767px) {
    .footer-logo {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer h5,
    .footer .footer-links {
        text-align: center;
    }
    
    .footer .footer-links ul {
        padding-left: 0;
    }
}

/* Ultra mobile (abaixo de 375px) */
@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn-credito {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        min-height: 45px;
    }
    
    .btn-credito i {
        font-size: 0.9rem;
    }
    
    .simulador-header h3 {
        font-size: 0.9rem;
    }
}

/* ===== ERROR PAGE 404 ===== */
.error-page {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.error-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(245,124,0,0.1), rgba(245,124,0,0.05));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.error-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary);
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

@media (max-width: 575px) {
    .error-code {
        font-size: 5rem;
    }
    
    .error-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .error-icon-wrapper i {
        font-size: 2.5rem;
    }
}

/* ===== UTILITIES ===== */
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

/* ===== ANIMACOES PREMIUM ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hover glow effect */
.glow-hover {
    transition: var(--transition);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(245, 124, 0, 0.3);
}

/* Botoes Premium */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-lg {
    border-radius: var(--radius-lg);
    font-weight: 600;
}

/* Swiper customization */
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
}

/* ===== NAVBAR RESPONSIVO ===== */
#mainNav .navbar-brand img {
  max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

#mainNav .nav-link {
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
}

#mainNav .btn-simular {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Mobile menu */
@media (max-width: 991px) {
    #mainNav {
        padding: 0.5rem 0;
  }
  
#mainNav .navbar-brand img {
  max-height: 40px;
  }
    
    #mainNav .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    #mainNav .nav-link {
        color: var(--gray-800) !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--gray-200);
    }
    
    #mainNav .nav-link:hover {
        background: var(--gray-100);
        color: var(--primary) !important;
    }
    
    /* Dropdown no mobile */
    #mainNav .dropdown-menu {
        background: var(--gray-100);
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    #mainNav .dropdown-item {
        color: var(--gray-700) !important;
        padding: 0.6rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    #mainNav .dropdown-item:hover {
        background: var(--gray-200);
        color: var(--primary) !important;
    }
    
    #mainNav .navbar-cta {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }
    
    #mainNav .btn-simular {
        width: 100%;
        justify-content: center;
    }
    
    /* Toggler icon color */
    #mainNav .navbar-toggler {
        border-color: rgba(255,255,255,0.5);
        padding: 0.5rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    #mainNav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
    }
    
    #mainNav.navbar-scrolled .navbar-toggler {
        border-color: var(--gray-400);
    }
    
    #mainNav.navbar-scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    #mainNav.scrolled .navbar-toggler {
        border-color: var(--gray-400);
    }
}

/* Menu em telas medias */
@media (min-width: 992px) and (max-width: 1199px) {
    #mainNav .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem !important;
    }
    
    #mainNav .btn-simular {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Tablet adjustments */
@media (min-width: 576px) and (max-width: 991px) {
    .simulador-card .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero {
        padding-top: 90px;
    }
    
    .hero .row {
        padding: 2rem 0 3rem;
    }
}

/* Hero responsivo */
@media (max-width: 991px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
    }
    
    .hero .row {
        min-height: auto !important;
        padding: 2rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content .d-flex {
        justify-content: center;
    }
    
    .simulador-card {
        margin-top: 2rem;
    }
    
    .simulador-card .col-6 {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-content .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .simulador-card {
        padding: 1.25rem;
        margin-top: 1.5rem;
        border-radius: 1rem;
    }
    
    .simulador-card h3 {
        font-size: 1rem;
    }
    
    .simulador-card p {
        font-size: 0.85rem;
    }
    
    .simulador-card .row {
        gap: 0.5rem;
    }
    
    .simulador-card .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .btn-credito {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        border-radius: 2rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 1.25rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
    
    /* Hero mobile adjustments */
    .hero {
        padding-bottom: 3rem;
    }
    
    .hero .row {
        padding: 1rem 0 2rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.35rem;
    }
    
    .simulador-card {
        padding: 1rem;
    }
    
    .btn-credito {
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Fallback para logo quebrada */
#mainNav .navbar-brand img[src=""],
#mainNav .navbar-brand img:not([src]) {
  display: none;
  }

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: inherit;
    text-decoration: none;
}

/* Logo styling */
#mainNav .navbar-brand {
  display: flex;
  align-items: center;
  }
  
#mainNav .navbar-brand img {
  max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

  @media (max-width: 575px) {
#mainNav .navbar-brand img {
  max-height: 35px;
  }
    
    .navbar-brand-text {
        font-size: 1.25rem;
    }
    
    /* Garantir toggler visivel */
    #mainNav .navbar-toggler {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1000;
    }
    
    /* Prevenir overflow em todas as secoes */
    section, .container, .row {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Hero mobile ajustes */
    .hero {
        overflow: hidden;
    }
    
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* WhatsApp button mobile */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 575px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float .btn {
        width: 50px;
        height: 50px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Footer mobile */
@media (max-width: 767px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-widget {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Cards e secoes mobile */
@media (max-width: 575px) {
    /* Secoes gerais */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Hero mobile */
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* About mobile */
    .about-section {
        padding: 3rem 0;
    }
    
    .about-section .row {
        flex-direction: column-reverse;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content .section-badge {
        margin: 0 auto 1rem;
    }
    
    .about-features {
        display: inline-block;
        text-align: left;
    }
    
    .about-features li {
        margin-bottom: 0.5rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .about-image img,
    .about-image > div {
        max-width: 100%;
        height: 280px;
        margin: 0 auto;
    }
    
    .about-decoration {
        display: none;
    }
    
    /* Steps mobile */
    .step-card {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
    }
    
    /* Creditos mobile */
    .creditos-section {
        padding: 3rem 0;
    }
    
    .credito-card {
        padding: 1.5rem 1rem;
    }
    
    .credito-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .credito-icon i {
        font-size: 1.5rem;
    }
    
    .credito-card h4 {
        font-size: 1rem;
    }
    
    /* Parceiros mobile */
    .parceiros-section {
        padding: 2.5rem 0;
    }
    
    .parceiro-logo {
        height: 80px;
        padding: 1rem;
    }
    
    /* Unidades mobile */
    .unidade-image {
        height: 150px;
    }
    
    .unidade-content {
        padding: 1.25rem;
    }
    
    .unidade-content h4 {
        font-size: 1rem;
    }
    
    /* Depoimentos mobile */
    .depoimento-card {
        padding: 1.5rem;
    }
    
    .depoimento-texto {
        font-size: 0.9rem;
    }
    
    /* Blog mobile */
    .blog-image {
        height: 160px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-content h4 {
        font-size: 0.95rem;
    }
    
    /* FAQ mobile */
    .accordion-button {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* CTA mobile */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Footer mobile */
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Tablet ajustes */
@media (min-width: 576px) and (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem !important;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

/* Cards de unidade sem imagem */
.unidade-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.unidade-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
}

/* ===== TEMAS SAZONAIS ===== */
/* Container de particulas */
.tema-particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Classes base dos temas */
body[data-tema] {
    transition: background-color 0.3s ease;
}

/* Natal */
body.tema-natal {
    --tema-cor-primaria: #c41e3a;
    --tema-cor-secundaria: #165b33;
}

/* Ano Novo */
body.tema-ano-novo {
    --tema-cor-primaria: #ffd700;
    --tema-cor-secundaria: #1a1a2e;
}

/* Carnaval */
body.tema-carnaval {
    --tema-cor-primaria: #9b59b6;
    --tema-cor-secundaria: #f39c12;
}

/* Pascoa */
body.tema-pascoa {
    --tema-cor-primaria: #f8b4d9;
    --tema-cor-secundaria: #a8e6cf;
}

/* Festa Junina */
body.tema-junina {
    --tema-cor-primaria: #e17055;
    --tema-cor-secundaria: #fdcb6e;
}

/* Dia dos Namorados */
body.tema-namorados {
    --tema-cor-primaria: #e84393;
    --tema-cor-secundaria: #fd79a8;
}

/* Black Friday */
body.tema-black-friday {
    --tema-cor-primaria: #2d3436;
    --tema-cor-secundaria: #fdcb6e;
}

/* Halloween */
body.tema-halloween {
    --tema-cor-primaria: #6c5ce7;
    --tema-cor-secundaria: #e17055;
}

/* Dia das Maes */
body.tema-dia-maes {
    --tema-cor-primaria: #ff69b4;
    --tema-cor-secundaria: #ffb6c1;
}

/* Dia dos Pais */
body.tema-dia-pais {
    --tema-cor-primaria: #1e90ff;
    --tema-cor-secundaria: #4169e1;
}

/* Independencia */
body.tema-independencia {
    --tema-cor-primaria: #009c3b;
    --tema-cor-secundaria: #ffdf00;
}

/* Dia das Criancas */
body.tema-dia-criancas {
    --tema-cor-primaria: #ff6b6b;
    --tema-cor-secundaria: #4ecdc4;
}

/* Botoes tematicos */
body[data-tema-botoes="1"] .btn-primary {
    background-color: var(--tema-cor-primaria) !important;
    border-color: var(--tema-cor-primaria) !important;
}

body[data-tema-botoes="1"] .btn-primary:hover {
    filter: brightness(0.9);
}

/* Bordas festivas */
body[data-tema-bordas="1"] .card {
    border: 2px solid var(--tema-cor-primaria) !important;
}

body[data-tema-bordas="1"] .card:hover {
    border-color: var(--tema-cor-secundaria) !important;
}
