/* FONTES E VARIÁVEIS GLOBAIS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*
==============================================
DESIGN TOKENS (Incipient Design System)
==============================================
*/
:root {
    /* 1. Cores */
    --primary-color: #0A2342;
    --accent-color: #2CA58D;
    --accent-hover-color: #248a74;
    --secondary-color: #F4F6F8;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color-light: #EEEEEE;
    --border-color: #DDDDDD;
    --success-color: #28a745;
    --error-color: #dc3545;
    --focus-ring-color: #2CA58D;

    /* 2. Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --text-base-size: 1rem; /* 16px */
    --text-scale-ratio: 1.25;
    --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); /* 0.8rem */
    --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); /* 1.25rem */
    --text-xl: calc(var(--text-lg) * var(--text-scale-ratio));     /* 1.56rem */
    --text-xxl: calc(var(--text-xl) * var(--text-scale-ratio));    /* 1.95rem */
    --text-xxxl: calc(var(--text-xxl) * var(--text-scale-ratio));  /* 2.44rem */

    /* 3. Espaçamento (Baseado em 8px) */
    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2.5rem;  /* 40px */
    --space-xl: 4rem;    /* 64px */

    /* 4. Outros */
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
}

/* UTILITÁRIOS DE ACESSIBILIDADE */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: var(--space-sm);
    z-index: 9999;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* RESET E ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* BOTÕES */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-out;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 165, 141, 0.4);
}

/* Feedback para navegação por teclado e clique */
.btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}
.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondaryy:hover, .btn-secondaryy:focus-visible {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* HEADER */
.main-header {
    background-color: var(--light-text-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.main-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.main-header, .main-header .logo, .main-header .main-nav a {
    transition: all 0.3s ease-in-out;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav { transition: transform 0.3s ease-in-out; }
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* MAIN CONTENT */
main {
    padding-top: var(--header-height); /* Garante que o conteúdo não fique sob o header fixo */
}

/* HERO SECTION */
.hero-section {
    /* A cor de fundo serve como fallback caso o vídeo não carregue */
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh; /* Garante uma altura mínima impactante */
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra todo o espaço sem distorcer */
}

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

/* Sobreposição escura para garantir a legibilidade do texto */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.75); /* Sobreposição com 75% de opacidade */
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

/* STATS SECTION */
.stats-section {
    padding: 60px 0;
    background-color: #fff;
}
.stats-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--accent-hover-color);
}

/* ==============================================
   WHY US SECTION - VERSÃO CORRIGIDA
============================================== */

.why-us-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tag superior */
.why-tag {
    display: inline-block;
    color: #2f9d44;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Título da seção */
.why-us-section .section-title {
    text-align: left;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

/* Subtítulo */
.why-subtitle {
    max-width: 600px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    margin-top: 0;
}

/* Grid de cards */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card individual */
.why-us-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 30px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-us-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Número do card */
.why-number {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.why-us-item:hover .why-number {
    transform: scale(1.1);
}

/* Cores dos números */
.n1 { 
    background: #fff7cc; 
    color: #cc9900;
    box-shadow: 0 4px 12px rgba(204, 153, 0, 0.2);
}

.n2 { 
    background: #e5f5e5; 
    color: #4a9a4a;
    box-shadow: 0 4px 12px rgba(74, 154, 74, 0.2);
}

.n3 { 
    background: #fff2c7; 
    color: #cf9800;
    box-shadow: 0 4px 12px rgba(207, 152, 0, 0.2);
}

.n4 { 
    background: #e0f2e6; 
    color: #3d8b57;
    box-shadow: 0 4px 12px rgba(61, 139, 87, 0.2);
}

.n5 { 
    background: #fff7cc; 
    color: #cc9900;
    box-shadow: 0 4px 12px rgba(204, 153, 0, 0.2);
}

/* Títulos dos cards */
.why-us-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Parágrafos dos cards */
.why-us-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==============================================
   RESPONSIVIDADE
============================================== */

@media (max-width: 992px) {
    .why-us-section {
        padding: 60px 0;
    }
    
    .why-us-section .section-title {
        font-size: 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 50px 0;
    }
    
    .why-us-section .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .why-tag {
        display: block;
        text-align: center;
    }
    
    .why-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-item {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .why-us-section .section-title {
        font-size: 1.5rem;
    }
    
    .why-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .why-us-item h4 {
        font-size: 1.1rem;
    }
    
    .why-us-item p {
        font-size: 0.9rem;
    }
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.testimonial-author span strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
}

/* CTA SECTION */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-color);
}

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

/* BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--accent-hover-color);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .header-buttons {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        transform: translateY(-150%);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .main-nav li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--secondary-color);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .stats-section .container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/*
==============================================
PÁGINAS DE AUTENTICAÇÃO (LOGIN, CADASTRO)
==============================================
*/
.auth-body {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Esconde o vídeo de fundo nas páginas de autenticação */
.auth-video-wrapper {
    display: none;
}

.auth-container {
    width: 100%;
    max-width: 960px;
    margin: var(--space-md);
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
}

.auth-box {
    padding: var(--space-lg);
}

.auth-logo {
    display: block;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: var(--space-sm);
}

.auth-box h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: var(--space-md);
}

.input-group {
    margin-bottom: var(--space-md);
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: var(--text-base-size);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(44, 165, 141, 0.2);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-md);
}

.forgot-password {
    font-size: var(--text-sm);
    color: var(--accent-color);
    text-decoration: none;
}

.btn-full-width {
    width: 100%;
    padding: 15px;
    font-size: var(--text-base-size);
}

.auth-switch {
    text-align: center;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
}

.auth-switch a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

@media (min-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr 1fr;
    }

    .auth-promo-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--space-lg);
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        color: var(--light-text-color);
    }

    .auth-promo-panel h2 {
        font-size: var(--text-xxl);
        line-height: 1.3;
        margin-bottom: var(--space-md);
    }

    .auth-promo-panel p {
        font-size: var(--text-lg);
        opacity: 0.9;
    }
}
/* ==============================================
   HEADER MELHORADO
============================================== */

.main-header {
    background-color: var(--light-text-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease-in-out;
}

.main-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-sm);
}

/* Logo melhorada */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    z-index: 1001; /* Garante que fique acima do menu mobile */
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-height: 50px;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    white-space: nowrap;
}

/* Navegação principal */
.main-nav {
    transition: transform 0.3s ease-in-out;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-color);
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Botões de ação do header */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Botão de menu mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Estado ativo do menu mobile */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==============================================
   RESPONSIVIDADE AVANÇADA
============================================== */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .main-header .container {
        padding: 0 15px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Mobile (até 767px) */
@media (max-width: 767px) {
    .main-header {
        height: 70px;
    }
    
    .main-header.scrolled {
        height: 60px;
    }
    
    .logo-img {
        height: 40px;
        max-height: 40px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Esconder navegação e botões no mobile */
    .main-nav,
    .header-actions {
        display: none;
    }
    
    /* Mostrar botão de menu mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menu mobile ativo */
    .main-nav.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-text-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav.active .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color-light);
        font-size: 1.1rem;
    }
    
    .main-nav.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-nav.active .nav-link::after {
        display: none;
    }
    
    /* Mostrar botões de ação no menu mobile */
    .header-actions.mobile-visible {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-top: 1px solid var(--border-color-light);
        margin-top: 10px;
    }
    
    .header-actions.mobile-visible .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .main-header {
        height: 60px;
    }
    
    .main-header.scrolled {
        height: 50px;
    }
    
    .main-nav.active {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .logo-img {
        height: 35px;
        max-height: 35px;
        margin-right: 6px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        width: 20px;
    }
}

/* ==============================================
   ANIMAÇÕES E ESTADOS DE FOCO
============================================== */

/* Melhorar acessibilidade para navegação por teclado */
.nav-link:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}

/* Efeitos de hover apenas para dispositivos com hover */
@media (hover: hover) {
    .logo:hover .logo-img {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Prevenir scroll quando menu mobile está aberto */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   CSS: SOBRE O InvestCredPrime SECTION
============================================ */
.about-investcredprime-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-features {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.about-features h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    font-size: 0.95rem;
}

.about-features li i {
    color: #2f9d44;
    font-size: 1.1rem;
}

.about-cta-text {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   CSS: COMO FUNCIONA SECTION
============================================ */
.how-it-works-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-tag {
    display: inline-block;
    color: #2f9d44;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.section-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2CA58D, #248a74);
    border-radius: 12px;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CSS: FAQ SECTION
============================================ */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.faq-contact {
    position: sticky;
    top: 100px;
}

.contact-box {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-box h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-hover-color);
}

.contact-link i {
    font-size: 1.2rem;
}

.contact-address {
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.contact-address h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-address h4 i {
    color: var(--accent-color);
    margin-right: 8px;
}

.contact-address p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   CSS: RISK WARNING SECTION
============================================ */
.risk-warning-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #c8e6dc 0%, #e8f5e1 100%);
    position: relative;
    overflow: hidden;
}

/* Padrão decorativo de fundo */
.risk-warning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
    pointer-events: none;
}

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

.risk-warning-header {
    text-align: center;
    margin-bottom: 50px;
}

.risk-tag {
    display: inline-block;
    background-color: #2f9d44;
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(47, 157, 68, 0.3);
}

.risk-title {
    font-size: 2.5rem;
    color: #0A2342;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.risk-warning-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.risk-text h3 {
    font-size: 1.5rem;
    color: #0A2342;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.risk-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-delete-account {
    background-color: #2f9d44;
    color: white;
    padding: 16px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 157, 68, 0.3);
    font-family: var(--font-primary);
}

.btn-delete-account:hover {
    background-color: #248a37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 157, 68, 0.4);
}

.btn-delete-account:active {
    transform: translateY(0);
}

.risk-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.risk-illustration svg {
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   CSS: DELETE CONFIRMATION MODAL
============================================ */
.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.delete-modal.active {
    display: flex;
}

.delete-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.delete-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.delete-modal-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.delete-modal-header i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.delete-modal-header h3 {
    font-size: 1.5rem;
    color: #0A2342;
    margin: 0;
    font-weight: 600;
}

.delete-modal-body {
    padding: 30px;
}

.delete-modal-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.delete-modal-body strong {
    color: #dc3545;
}

.delete-modal-body ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.delete-modal-body li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
}

.delete-modal-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2f9d44;
    font-weight: bold;
    font-size: 1.2rem;
}

.warning-text {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-text i {
    color: #ffc107;
    font-size: 1.3rem;
}

.delete-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 992px) {
    .risk-warning-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .risk-illustration {
        order: -1;
    }

    .risk-title {
        font-size: 2rem;
    }

    .risk-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .risk-warning-section {
        padding: 50px 0;
    }

    .risk-title {
        font-size: 1.75rem;
    }

    .risk-warning-content {
        padding: 30px 20px;
    }

    .risk-illustration svg {
        width: 180px;
        height: 180px;
    }

    .delete-modal-content {
        margin: 20px;
    }

    .delete-modal-footer {
        flex-direction: column;
    }

    .delete-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .risk-title {
        font-size: 1.5rem;
    }

    .risk-text h3 {
        font-size: 1.1rem;
    }

    .btn-delete-account {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 992px) {
    .how-it-works-content,
    .about-content,
    .faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title-left {
        font-size: 2rem;
    }

    .faq-contact {
        position: static;
    }
}

@media (max-width: 768px) {
    .how-it-works-section,
    .about-agilkz-section,
    .faq-section {
        padding: 50px 0;
    }

    .section-title-left {
        font-size: 1.75rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .contact-box {
        padding: 25px;
    }
}


/* Estilos para o sistema de abas */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #2d5f4f;
    border-bottom-color: #2d5f4f;
}

.tab-button:hover:not(.active) {
    color: #4a9b7f;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Estilos para cards de serviços aprimorados */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-features {
    margin: 1.5rem 0;
}

.card-features span {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.card-features i {
    color: #4a9b7f;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Benefícios de investimento */
.investment-benefits {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #4a9b7f;
    margin-bottom: 1rem;
}

/* Processo de crédito */
.credit-process {
    margin-top: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #4a9b7f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Features grid na seção sobre */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-column h5 {
    color: #2d5f4f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Categorias no FAQ */
.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: #2d5f4f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.faq-item.active .faq-question {
    color: #2d5f4f;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Botões CTA */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .services-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   FOOTER MELHORADO
============================================ */

.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--light-text-color);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(44, 165, 141, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text-color);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 165, 141, 0.4);
}

/* Informações de Contato */
.contact-info {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-value {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--accent-color);
}

/* Seção do App */
.footer-app {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-store-btn:hover,
.play-store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.play-store-btn i {
    font-size: 1.5rem;
}

.app-store-btn div,
.play-store-btn div {
    display: flex;
    flex-direction: column;
}

.app-store-btn span,
.play-store-btn span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-store-btn strong,
.play-store-btn strong {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Seção de Segurança */
.footer-security {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.security-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Divisória */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    margin: 20px 0;
}

/* Rodapé Inferior */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 5px;
    font-size: 0.8rem;
}

.developer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--light-text-color);
}

.footer-legal {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payments-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: var(--light-text-color);
}

/* Botão Voltar ao Topo Aprimorado */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--light-text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 165, 141, 0.4);
}

/* ============================================
   RESPONSIVIDADE DO FOOTER
============================================ */

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 30px;
    }
    
    .footer-app {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .security-badges {
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .security-badges {
        gap: 20px;
    }
    
    .security-badge {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .app-download {
        flex-direction: row;
        justify-content: center;
    }
    
    .app-store-btn,
    .play-store-btn {
        flex: 1;
        max-width: 160px;
    }
    
    .footer-payments {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-app {
        padding: 20px;
    }
    
    .app-download {
        flex-direction: column;
    }
    
    .app-store-btn,
    .play-store-btn {
        max-width: 100%;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animações para o Footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }
.footer-col:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   HERO COM BANNER LATERAL
============================================ */

.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Conteúdo Textual */
.hero-content {
    padding: 40px 0;
}

.content-wrapper {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 30px;
}

.hero-badge span {
    color: #2CA58D;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.title-gradient {
    background: linear-gradient(135deg, #2CA58D, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-subtitle strong {
    color: #2CA58D;
}

/* Estatísticas */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2CA58D;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Ações */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2CA58D;
    color: white;
    box-shadow: 0 4px 20px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background: #248a74;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 165, 141, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Selos de Confiança */
.trust-signals {
    display: flex;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.trust-item i {
    color: #2CA58D;
}

/* Banner Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-banner:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Cards Flutuantes */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2CA58D, #34d399);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.card-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -20px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Efeito de Brilho */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Elementos Decorativos de Fundo */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s infinite linear;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ============================================
   RESPONSIVIDADE
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 60px;
    }
    
    .floating-card {
        min-width: 120px;
        padding: 12px;
    }
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trust-signals {
        justify-content: center;
    }
    
    .banner-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .main-banner {
        transform: none;
    }
    
    .floating-card {
        display: none; /* Esconder cards em mobile */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 90vh;
    }
    
    .main-banner {
        padding: 20px;
    }
    
    .bg-circle {
        display: none; /* Remover para melhor performance */
    }
}

/* Suporte para Navegadores Antigos */
@supports not (backdrop-filter: blur(10px)) {
    .main-banner,
    .floating-card,
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .glow-effect,
    .bg-circle,
    .bg-grid {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .main-banner {
        transform: none;
    }
}

/* ============================================
   HERO COM BANNER LATERAL - CORRIGIDO
============================================ */

.hero-banner {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden;
    padding: 80px 0 40px; /* Adiciona padding para o header fixo */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Conteúdo Textual */
.hero-content {
    padding: 20px 0;
}

.content-wrapper {
    max-width: 500px;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 25px;
}

.hero-badge span {
    color: #2CA58D;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.2rem;
}

.title-gradient {
    background: linear-gradient(135deg, #2CA58D, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-subtitle strong {
    color: #2CA58D;
}

/* Estatísticas Compactas */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2CA58D;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Ações - Botões Corrigidos */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: var(--font-primary);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color) !important;
    color: var(--light-text-color) !important;
    box-shadow: 0 4px 20px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 165, 141, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    color: var(--light-text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

/* Selos de Confiança Compactos */
.trust-signals {
    display: flex;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.trust-item i {
    color: #2CA58D;
    font-size: 1rem;
}

/* Banner Visual Compacto */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-banner:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Cards Flutuantes Compactos */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #2CA58D, #34d399);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.card-1 {
    top: -15px;
    right: -25px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -15px;
    right: 15px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Efeito de Brilho Compacto */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Elementos Decorativos de Fundo Compactos */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 8%;
    animation-delay: 10s;
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-move 20s infinite linear;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

/* ============================================
   RESPONSIVIDADE CORRIGIDA
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 50px;
        padding: 0 30px;
    }
    
    .content-wrapper {
        max-width: 450px;
    }
    
    .banner-container {
        max-width: 400px;
    }
}

@media (max-width: 968px) {
    .hero-banner {
        min-height: auto;
        max-height: none;
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
    }
    
    .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trust-signals {
        justify-content: center;
    }
    
    .banner-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .main-banner {
        transform: none;
        padding: 20px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .banner-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 80px 0 40px;
    }
    
    .hero-grid {
        gap: 40px;
        padding: 0 15px;
    }
    
    .main-banner {
        padding: 15px;
    }
    
    .bg-circle {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 80px;
    }
}

/* Suporte para Navegadores Antigos */
@supports not (backdrop-filter: blur(10px)) {
    .main-banner,
    .floating-card,
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .glow-effect,
    .bg-circle,
    .bg-grid {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .main-banner {
        transform: none;
    }
}

/* Garantir que as cores dos botões funcionem */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-color) !important;
    color: var(--light-text-color) !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--light-text-color) !important;
}

.hero-banner {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden; /* IMPEDE scroll lateral */
    padding: 60px 0 30px;
    width: 100%; /* GARANTE que não ultrapasse */
    max-width: 100vw; /* BLOQUEIA scroll horizontal */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1100px; /* REDUZIDO: era 1200px */
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    box-sizing: border-box; /* GARANTE que padding não some à largura */
}

/* Conteúdo Textual */
.hero-content {
    padding: 15px 0;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    overflow: hidden; /* PREVINE scroll */
}

.content-wrapper {
    max-width: 480px; /* REDUZIDO: era 500px */
    margin-right: 0; /* REMOVIDO compensação */
    width: 100%;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 20px;
    max-width: 100%; /* IMPEDE overflow */
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem); /* REDUZIDO: era 2.2rem-3.2rem */
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1rem;
    max-width: 100%; /* IMPEDE overflow */
    word-wrap: break-word; /* QUEBRA palavras longas */
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 100%; /* IMPEDE overflow */
    word-wrap: break-word;
}

/* Banner Visual Compacto */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    overflow: hidden; /* PREVINE scroll */
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* REDUZIDO: era 420px */
    margin: 0 auto;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    box-sizing: border-box;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    max-width: 100%; /* IMPEDE overflow da imagem */
}

/* Cards Flutuantes DENTRO dos limites */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px; /* REDUZIDO: era 110px */
    max-width: 120px; /* LIMITE máximo */
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
    box-sizing: border-box;
}

/* POSIÇÕES dos cards DENTRO do container */
.card-1 {
    top: -5px; /* REDUZIDO: era -10px */
    right: -10px; /* REDUZIDO: era -20px */
    animation-delay: 0s;
}

.card-2 {
    bottom: 20px; /* REDUZIDO: era 25px */
    left: -15px; /* REDUZIDO: era -25px */
    animation-delay: 2s;
}

.card-3 {
    bottom: -5px; /* REDUZIDO: era -10px */
    right: 5px; /* REDUZIDO: era 10px */
    animation-delay: 4s;
}

/* Elementos de fundo DENTRO dos limites */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden; /* IMPEDE que elementos saiam */
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 160px; /* REDUZIDO: era 180px */
    height: 160px;
    top: 10%; /* MAIS para dentro */
    right: 5%; /* MAIS para dentro */
    animation-delay: 0s;
}

.circle-2 {
    width: 120px; /* REDUZIDO: era 130px */
    height: 120px;
    bottom: 15%; /* MAIS para dentro */
    left: 3%; /* MAIS para dentro */
    animation-delay: 5s;
}

.circle-3 {
    width: 80px; /* REDUZIDO: era 90px */
    height: 80px;
    top: 60%; /* MAIS para dentro */
    left: 5%; /* MAIS para dentro */
    animation-delay: 10s;
}

/* Efeito de Brilho DENTRO dos limites */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* REDUZIDO: era 250px */
    height: 200px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ============================================
   CORREÇÕES GLOBAIS PARA SCROLL LATERAL
============================================ */

/* GARANTIR que nenhum elemento cause scroll horizontal */
.container {
    max-width: 100%;
    overflow-x: hidden; /* BLOQUEIA scroll horizontal */
}

/* PREVENIR scroll horizontal em todo o site */
body, html {
    max-width: 100%;
    overflow-x: hidden; /* BLOQUEIA scroll horizontal global */
    width: 100%;
}

/* ============================================
   RESPONSIVIDADE CORRIGIDA
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 30px;
        padding: 0 20px;
        max-width: 1000px; /* REDUZIDO */
    }
    
    .content-wrapper {
        max-width: 450px;
    }
    
    .banner-container {
        max-width: 360px; /* REDUZIDO: era 380px */
    }
    
    /* REMOVER cards em telas menores se necessário */
    .floating-card {
        display: none; /* Opcional: esconder cards em telas médias */
    }
}

@media (max-width: 968px) {
    .hero-banner {
        padding: 80px 0 40px;
        overflow: hidden; /* MANTÉM bloqueio */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .banner-container {
        max-width: 300px; /* REDUZIDO: era 320px */
    }
    
    .main-banner {
        padding: 18px;
        transform: none;
    }
    
    /* ESCONDER cards flutuantes em mobile */
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 0 35px;
    }
    
    .hero-grid {
        gap: 30px;
        padding: 0 10px; /* REDUZIDO padding lateral */
    }
    
    .hero-title {
        font-size: clamp(1.7rem, 6vw, 2.3rem); /* MAIS compacto */
        margin-bottom: 0.8rem;
    }
    
    .banner-container {
        max-width: 260px; /* REDUZIDO: era 280px */
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 60px 0 30px;
    }
    
    .hero-grid {
        gap: 25px;
        padding: 0 8px; /* MÍNIMO padding */
    }
    
    .main-banner {
        padding: 12px; /* REDUZIDO */
    }
    
    .bg-circle {
        display: none; /* REMOVER completamente em mobile */
    }
}

/* GARANTIR que animações não causem overflow */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg); /* MOVIMENTO mais suave */
    }
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(90deg); /* MOVIMENTO reduzido */
    }
    100% {
        transform: translateY(0px) rotate(180deg);
    }
}

/* FONTES E VARIÁVEIS GLOBAIS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*
==============================================
DESIGN TOKENS (Incipient Design System)
==============================================
*/
:root {
    /* 1. Cores */
    --primary-color: #0A2342;
    --accent-color: #2CA58D;
    --accent-hover-color: #248a74;
    --secondary-color: #F4F6F8;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color-light: #EEEEEE;
    --border-color: #DDDDDD;
    --success-color: #28a745;
    --error-color: #dc3545;
    --focus-ring-color: #2CA58D;

    /* 2. Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --text-base-size: 1rem; /* 16px */
    --text-scale-ratio: 1.25;
    --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); /* 0.8rem */
    --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); /* 1.25rem */
    --text-xl: calc(var(--text-lg) * var(--text-scale-ratio));     /* 1.56rem */
    --text-xxl: calc(var(--text-xl) * var(--text-scale-ratio));    /* 1.95rem */
    --text-xxxl: calc(var(--text-xxl) * var(--text-scale-ratio));  /* 2.44rem */

    /* 3. Espaçamento (Baseado em 8px) */
    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2.5rem;  /* 40px */
    --space-xl: 4rem;    /* 64px */

    /* 4. Outros */
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
}

/* UTILITÁRIOS DE ACESSIBILIDADE */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: var(--space-sm);
    z-index: 9999;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* RESET E ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* BOTÕES */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-out;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 165, 141, 0.4);
}

/* Feedback para navegação por teclado e clique */
.btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}
.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover, .btn-secondary:focus-visible {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* HEADER */
.main-header {
    background-color: var(--light-text-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.main-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.main-header, .main-header .logo, .main-header .main-nav a {
    transition: all 0.3s ease-in-out;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav { transition: transform 0.3s ease-in-out; }
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* MAIN CONTENT */
main {
    padding-top: var(--header-height); /* Garante que o conteúdo não fique sob o header fixo */
}

/* HERO SECTION */
.hero-section {
    /* A cor de fundo serve como fallback caso o vídeo não carregue */
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh; /* Garante uma altura mínima impactante */
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra todo o espaço sem distorcer */
}

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

/* Sobreposição escura para garantir a legibilidade do texto */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.75); /* Sobreposição com 75% de opacidade */
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

/* STATS SECTION */
.stats-section {
    padding: 60px 0;
    background-color: #fff;
}
.stats-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--accent-hover-color);
}

/* ==============================================
   WHY US SECTION - VERSÃO CORRIGIDA
============================================== */

.why-us-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tag superior */
.why-tag {
    display: inline-block;
    color: #2f9d44;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Título da seção */
.why-us-section .section-title {
    text-align: left;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

/* Subtítulo */
.why-subtitle {
    max-width: 600px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    margin-top: 0;
}

/* Grid de cards */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card individual */
.why-us-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 30px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-us-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Número do card */
.why-number {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.why-us-item:hover .why-number {
    transform: scale(1.1);
}

/* Cores dos números */
.n1 { 
    background: #fff7cc; 
    color: #cc9900;
    box-shadow: 0 4px 12px rgba(204, 153, 0, 0.2);
}

.n2 { 
    background: #e5f5e5; 
    color: #4a9a4a;
    box-shadow: 0 4px 12px rgba(74, 154, 74, 0.2);
}

.n3 { 
    background: #fff2c7; 
    color: #cf9800;
    box-shadow: 0 4px 12px rgba(207, 152, 0, 0.2);
}

.n4 { 
    background: #e0f2e6; 
    color: #3d8b57;
    box-shadow: 0 4px 12px rgba(61, 139, 87, 0.2);
}

.n5 { 
    background: #fff7cc; 
    color: #cc9900;
    box-shadow: 0 4px 12px rgba(204, 153, 0, 0.2);
}

/* Títulos dos cards */
.why-us-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Parágrafos dos cards */
.why-us-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==============================================
   RESPONSIVIDADE
============================================== */

@media (max-width: 992px) {
    .why-us-section {
        padding: 60px 0;
    }
    
    .why-us-section .section-title {
        font-size: 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 50px 0;
    }
    
    .why-us-section .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .why-tag {
        display: block;
        text-align: center;
    }
    
    .why-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-item {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .why-us-section .section-title {
        font-size: 1.5rem;
    }
    
    .why-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .why-us-item h4 {
        font-size: 1.1rem;
    }
    
    .why-us-item p {
        font-size: 0.9rem;
    }
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.testimonial-author span strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
}

/* CTA SECTION */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-color);
}

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

/* BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--accent-hover-color);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .header-buttons {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        transform: translateY(-150%);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .main-nav li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--secondary-color);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .stats-section .container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/*
==============================================
PÁGINAS DE AUTENTICAÇÃO (LOGIN, CADASTRO)
==============================================
*/
.auth-body {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Esconde o vídeo de fundo nas páginas de autenticação */
.auth-video-wrapper {
    display: none;
}

.auth-container {
    width: 100%;
    max-width: 960px;
    margin: var(--space-md);
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
}

.auth-box {
    padding: var(--space-lg);
}

.auth-logo {
    display: block;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: var(--space-sm);
}

.auth-box h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: var(--space-md);
}

.input-group {
    margin-bottom: var(--space-md);
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: var(--text-base-size);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(44, 165, 141, 0.2);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-md);
}

.forgot-password {
    font-size: var(--text-sm);
    color: var(--accent-color);
    text-decoration: none;
}

.btn-full-width {
    width: 100%;
    padding: 15px;
    font-size: var(--text-base-size);
}

.auth-switch {
    text-align: center;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
}

.auth-switch a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

@media (min-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr 1fr;
    }

    .auth-promo-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--space-lg);
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        color: var(--light-text-color);
    }

    .auth-promo-panel h2 {
        font-size: var(--text-xxl);
        line-height: 1.3;
        margin-bottom: var(--space-md);
    }

    .auth-promo-panel p {
        font-size: var(--text-lg);
        opacity: 0.9;
    }
}
/* ==============================================
   HEADER MELHORADO
============================================== */

.main-header {
    background-color: var(--light-text-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease-in-out;
}

.main-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-sm);
}

/* Logo melhorada */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    z-index: 1001; /* Garante que fique acima do menu mobile */
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-height: 50px;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    white-space: nowrap;
}

/* Navegação principal */
.main-nav {
    transition: transform 0.3s ease-in-out;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-color);
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Botões de ação do header */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Botão de menu mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Estado ativo do menu mobile */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==============================================
   RESPONSIVIDADE AVANÇADA
============================================== */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .main-header .container {
        padding: 0 15px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Mobile (até 767px) */
@media (max-width: 767px) {
    .main-header {
        height: 70px;
    }
    
    .main-header.scrolled {
        height: 60px;
    }
    
    .logo-img {
        height: 40px;
        max-height: 40px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Esconder navegação e botões no mobile */
    .main-nav,
    .header-actions {
        display: none;
    }
    
    /* Mostrar botão de menu mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menu mobile ativo */
    .main-nav.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-text-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav.active .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color-light);
        font-size: 1.1rem;
    }
    
    .main-nav.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-nav.active .nav-link::after {
        display: none;
    }
    
    /* Mostrar botões de ação no menu mobile */
    .header-actions.mobile-visible {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-top: 1px solid var(--border-color-light);
        margin-top: 10px;
    }
    
    .header-actions.mobile-visible .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .main-header {
        height: 60px;
    }
    
    .main-header.scrolled {
        height: 50px;
    }
    
    .main-nav.active {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .logo-img {
        height: 35px;
        max-height: 35px;
        margin-right: 6px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        width: 20px;
    }
}

/* ==============================================
   ANIMAÇÕES E ESTADOS DE FOCO
============================================== */

/* Melhorar acessibilidade para navegação por teclado */
.nav-link:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}

/* Efeitos de hover apenas para dispositivos com hover */
@media (hover: hover) {
    .logo:hover .logo-img {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Prevenir scroll quando menu mobile está aberto */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   CSS: SOBRE O InvestCredPrime SECTION
============================================ */
.about-investcredprime-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-features {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.about-features h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    font-size: 0.95rem;
}

.about-features li i {
    color: #2f9d44;
    font-size: 1.1rem;
}

.about-cta-text {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   CSS: COMO FUNCIONA SECTION
============================================ */
.how-it-works-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-tag {
    display: inline-block;
    color: #2f9d44;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.section-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2CA58D, #248a74);
    border-radius: 12px;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CSS: FAQ SECTION
============================================ */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.faq-contact {
    position: sticky;
    top: 100px;
}

.contact-box {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-box h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-hover-color);
}

.contact-link i {
    font-size: 1.2rem;
}

.contact-address {
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.contact-address h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-address h4 i {
    color: var(--accent-color);
    margin-right: 8px;
}

.contact-address p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   CSS: RISK WARNING SECTION
============================================ */
.risk-warning-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #c8e6dc 0%, #e8f5e1 100%);
    position: relative;
    overflow: hidden;
}

/* Padrão decorativo de fundo */
.risk-warning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
    pointer-events: none;
}

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

.risk-warning-header {
    text-align: center;
    margin-bottom: 50px;
}

.risk-tag {
    display: inline-block;
    background-color: #2f9d44;
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(47, 157, 68, 0.3);
}

.risk-title {
    font-size: 2.5rem;
    color: #0A2342;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.risk-warning-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.risk-text h3 {
    font-size: 1.5rem;
    color: #0A2342;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.risk-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-delete-account {
    background-color: #2f9d44;
    color: white;
    padding: 16px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 157, 68, 0.3);
    font-family: var(--font-primary);
}

.btn-delete-account:hover {
    background-color: #248a37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 157, 68, 0.4);
}

.btn-delete-account:active {
    transform: translateY(0);
}

.risk-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.risk-illustration svg {
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   CSS: DELETE CONFIRMATION MODAL
============================================ */
.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.delete-modal.active {
    display: flex;
}

.delete-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.delete-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.delete-modal-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.delete-modal-header i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.delete-modal-header h3 {
    font-size: 1.5rem;
    color: #0A2342;
    margin: 0;
    font-weight: 600;
}

.delete-modal-body {
    padding: 30px;
}

.delete-modal-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.delete-modal-body strong {
    color: #dc3545;
}

.delete-modal-body ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.delete-modal-body li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
}

.delete-modal-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2f9d44;
    font-weight: bold;
    font-size: 1.2rem;
}

.warning-text {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-text i {
    color: #ffc107;
    font-size: 1.3rem;
}

.delete-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 992px) {
    .risk-warning-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .risk-illustration {
        order: -1;
    }

    .risk-title {
        font-size: 2rem;
    }

    .risk-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .risk-warning-section {
        padding: 50px 0;
    }

    .risk-title {
        font-size: 1.75rem;
    }

    .risk-warning-content {
        padding: 30px 20px;
    }

    .risk-illustration svg {
        width: 180px;
        height: 180px;
    }

    .delete-modal-content {
        margin: 20px;
    }

    .delete-modal-footer {
        flex-direction: column;
    }

    .delete-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .risk-title {
        font-size: 1.5rem;
    }

    .risk-text h3 {
        font-size: 1.1rem;
    }

    .btn-delete-account {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 992px) {
    .how-it-works-content,
    .about-content,
    .faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title-left {
        font-size: 2rem;
    }

    .faq-contact {
        position: static;
    }
}

@media (max-width: 768px) {
    .how-it-works-section,
    .about-agilkz-section,
    .faq-section {
        padding: 50px 0;
    }

    .section-title-left {
        font-size: 1.75rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .contact-box {
        padding: 25px;
    }
}


/* Estilos para o sistema de abas */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #2d5f4f;
    border-bottom-color: #2d5f4f;
}

.tab-button:hover:not(.active) {
    color: #4a9b7f;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Estilos para cards de serviços aprimorados */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-features {
    margin: 1.5rem 0;
}

.card-features span {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.card-features i {
    color: #4a9b7f;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Benefícios de investimento */
.investment-benefits {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #4a9b7f;
    margin-bottom: 1rem;
}

/* Processo de crédito */
.credit-process {
    margin-top: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #4a9b7f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Features grid na seção sobre */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-column h5 {
    color: #2d5f4f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Categorias no FAQ */
.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: #2d5f4f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.faq-item.active .faq-question {
    color: #2d5f4f;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Botões CTA */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .services-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   FOOTER MELHORADO
============================================ */

.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--light-text-color);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(44, 165, 141, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text-color);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 165, 141, 0.4);
}

/* Informações de Contato */
.contact-info {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-value {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--accent-color);
}

/* Seção do App */
.footer-app {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-store-btn:hover,
.play-store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.play-store-btn i {
    font-size: 1.5rem;
}

.app-store-btn div,
.play-store-btn div {
    display: flex;
    flex-direction: column;
}

.app-store-btn span,
.play-store-btn span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-store-btn strong,
.play-store-btn strong {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Seção de Segurança */
.footer-security {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.security-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Divisória */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    margin: 20px 0;
}

/* Rodapé Inferior */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 5px;
    font-size: 0.8rem;
}

.developer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--light-text-color);
}

.footer-legal {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payments-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: var(--light-text-color);
}

/* Botão Voltar ao Topo Aprimorado */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--light-text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 165, 141, 0.4);
}

/* ============================================
   RESPONSIVIDADE DO FOOTER
============================================ */

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 30px;
    }
    
    .footer-app {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .security-badges {
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .security-badges {
        gap: 20px;
    }
    
    .security-badge {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .app-download {
        flex-direction: row;
        justify-content: center;
    }
    
    .app-store-btn,
    .play-store-btn {
        flex: 1;
        max-width: 160px;
    }
    
    .footer-payments {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-app {
        padding: 20px;
    }
    
    .app-download {
        flex-direction: column;
    }
    
    .app-store-btn,
    .play-store-btn {
        max-width: 100%;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animações para o Footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }
.footer-col:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   HERO COM BANNER LATERAL
============================================ */

.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Conteúdo Textual */
.hero-content {
    padding: 40px 0;
}

.content-wrapper {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 30px;
}

.hero-badge span {
    color: #2CA58D;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.title-gradient {
    background: linear-gradient(135deg, #2CA58D, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-subtitle strong {
    color: #2CA58D;
}

/* Estatísticas */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2CA58D;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Ações */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2CA58D;
    color: white;
    box-shadow: 0 4px 20px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background: #248a74;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 165, 141, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Selos de Confiança */
.trust-signals {
    display: flex;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.trust-item i {
    color: #2CA58D;
}

/* Banner Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-banner:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Cards Flutuantes */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2CA58D, #34d399);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.card-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -20px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Efeito de Brilho */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Elementos Decorativos de Fundo */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s infinite linear;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ============================================
   RESPONSIVIDADE
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 60px;
    }
    
    .floating-card {
        min-width: 120px;
        padding: 12px;
    }
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trust-signals {
        justify-content: center;
    }
    
    .banner-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .main-banner {
        transform: none;
    }
    
    .floating-card {
        display: none; /* Esconder cards em mobile */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 90vh;
    }
    
    .main-banner {
        padding: 20px;
    }
    
    .bg-circle {
        display: none; /* Remover para melhor performance */
    }
}

/* Suporte para Navegadores Antigos */
@supports not (backdrop-filter: blur(10px)) {
    .main-banner,
    .floating-card,
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .glow-effect,
    .bg-circle,
    .bg-grid {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .main-banner {
        transform: none;
    }
}

/* ============================================
   HERO COM BANNER LATERAL - CORRIGIDO
============================================ */

.hero-banner {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden;
    padding: 80px 0 40px; /* Adiciona padding para o header fixo */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Conteúdo Textual */
.hero-content {
    padding: 20px 0;
}

.content-wrapper {
    max-width: 500px;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 25px;
}

.hero-badge span {
    color: #2CA58D;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.2rem;
}

.title-gradient {
    background: linear-gradient(135deg, #2CA58D, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-subtitle strong {
    color: #2CA58D;
}

/* Estatísticas Compactas */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2CA58D;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Ações - Botões Corrigidos */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: var(--font-primary);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color) !important;
    color: var(--light-text-color) !important;
    box-shadow: 0 4px 20px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 165, 141, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    color: var(--light-text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

/* Selos de Confiança Compactos */
.trust-signals {
    display: flex;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.trust-item i {
    color: #2CA58D;
    font-size: 1rem;
}

/* Banner Visual Compacto */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-banner:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Cards Flutuantes Compactos */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #2CA58D, #34d399);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.card-1 {
    top: -15px;
    right: -25px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -15px;
    right: 15px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Efeito de Brilho Compacto */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Elementos Decorativos de Fundo Compactos */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 8%;
    animation-delay: 10s;
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-move 20s infinite linear;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

/* ============================================
   RESPONSIVIDADE CORRIGIDA
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 50px;
        padding: 0 30px;
    }
    
    .content-wrapper {
        max-width: 450px;
    }
    
    .banner-container {
        max-width: 400px;
    }
}

@media (max-width: 968px) {
    .hero-banner {
        min-height: auto;
        max-height: none;
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
    }
    
    .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trust-signals {
        justify-content: center;
    }
    
    .banner-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .main-banner {
        transform: none;
        padding: 20px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .banner-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 80px 0 40px;
    }
    
    .hero-grid {
        gap: 40px;
        padding: 0 15px;
    }
    
    .main-banner {
        padding: 15px;
    }
    
    .bg-circle {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 80px;
    }
}

/* Suporte para Navegadores Antigos */
@supports not (backdrop-filter: blur(10px)) {
    .main-banner,
    .floating-card,
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .glow-effect,
    .bg-circle,
    .bg-grid {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .main-banner {
        transform: none;
    }
}

/* Garantir que as cores dos botões funcionem */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-color) !important;
    color: var(--light-text-color) !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--light-text-color) !important;
}

.hero-banner {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2342 0%, #1a365d 50%, #0A2342 100%);
    overflow: hidden; /* IMPEDE scroll lateral */
    padding: 60px 0 30px;
    width: 100%; /* GARANTE que não ultrapasse */
    max-width: 100vw; /* BLOQUEIA scroll horizontal */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1100px; /* REDUZIDO: era 1200px */
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    box-sizing: border-box; /* GARANTE que padding não some à largura */
}

/* Conteúdo Textual */
.hero-content {
    padding: 15px 0;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    overflow: hidden; /* PREVINE scroll */
}

.content-wrapper {
    max-width: 480px; /* REDUZIDO: era 500px */
    margin-right: 0; /* REMOVIDO compensação */
    width: 100%;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.1);
    border: 1px solid rgba(44, 165, 141, 0.3);
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 20px;
    max-width: 100%; /* IMPEDE overflow */
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem); /* REDUZIDO: era 2.2rem-3.2rem */
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1rem;
    max-width: 100%; /* IMPEDE overflow */
    word-wrap: break-word; /* QUEBRA palavras longas */
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 100%; /* IMPEDE overflow */
    word-wrap: break-word;
}

/* Banner Visual Compacto */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    overflow: hidden; /* PREVINE scroll */
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* REDUZIDO: era 420px */
    margin: 0 auto;
}

.main-banner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%; /* IMPEDE overflow */
    box-sizing: border-box;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    max-width: 100%; /* IMPEDE overflow da imagem */
}

/* Cards Flutuantes DENTRO dos limites */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px; /* REDUZIDO: era 110px */
    max-width: 120px; /* LIMITE máximo */
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
    box-sizing: border-box;
}

/* POSIÇÕES dos cards DENTRO do container */
.card-1 {
    top: -5px; /* REDUZIDO: era -10px */
    right: -10px; /* REDUZIDO: era -20px */
    animation-delay: 0s;
}

.card-2 {
    bottom: 20px; /* REDUZIDO: era 25px */
    left: -15px; /* REDUZIDO: era -25px */
    animation-delay: 2s;
}

.card-3 {
    bottom: -5px; /* REDUZIDO: era -10px */
    right: 5px; /* REDUZIDO: era 10px */
    animation-delay: 4s;
}

/* Elementos de fundo DENTRO dos limites */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden; /* IMPEDE que elementos saiam */
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    animation: circle-float 20s infinite linear;
}

.circle-1 {
    width: 160px; /* REDUZIDO: era 180px */
    height: 160px;
    top: 10%; /* MAIS para dentro */
    right: 5%; /* MAIS para dentro */
    animation-delay: 0s;
}

.circle-2 {
    width: 120px; /* REDUZIDO: era 130px */
    height: 120px;
    bottom: 15%; /* MAIS para dentro */
    left: 3%; /* MAIS para dentro */
    animation-delay: 5s;
}

.circle-3 {
    width: 80px; /* REDUZIDO: era 90px */
    height: 80px;
    top: 60%; /* MAIS para dentro */
    left: 5%; /* MAIS para dentro */
    animation-delay: 10s;
}

/* Efeito de Brilho DENTRO dos limites */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* REDUZIDO: era 250px */
    height: 200px;
    background: radial-gradient(circle, rgba(44, 165, 141, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ============================================
   CORREÇÕES GLOBAIS PARA SCROLL LATERAL
============================================ */

/* GARANTIR que nenhum elemento cause scroll horizontal */
.container {
    max-width: 100%;
    overflow-x: hidden; /* BLOQUEIA scroll horizontal */
}

/* PREVENIR scroll horizontal em todo o site */
body, html {
    max-width: 100%;
    overflow-x: hidden; /* BLOQUEIA scroll horizontal global */
    width: 100%;
}

/* ============================================
   RESPONSIVIDADE CORRIGIDA
============================================ */

@media (max-width: 1200px) {
    .hero-grid {
        gap: 30px;
        padding: 0 20px;
        max-width: 1000px; /* REDUZIDO */
    }
    
    .content-wrapper {
        max-width: 450px;
    }
    
    .banner-container {
        max-width: 360px; /* REDUZIDO: era 380px */
    }
    
    /* REMOVER cards em telas menores se necessário */
    .floating-card {
        display: none; /* Opcional: esconder cards em telas médias */
    }
}

@media (max-width: 968px) {
    .hero-banner {
        padding: 80px 0 40px;
        overflow: hidden; /* MANTÉM bloqueio */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .banner-container {
        max-width: 300px; /* REDUZIDO: era 320px */
    }
    
    .main-banner {
        padding: 18px;
        transform: none;
    }
    
    /* ESCONDER cards flutuantes em mobile */
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 0 35px;
    }
    
    .hero-grid {
        gap: 30px;
        padding: 0 10px; /* REDUZIDO padding lateral */
    }
    
    .hero-title {
        font-size: clamp(1.7rem, 6vw, 2.3rem); /* MAIS compacto */
        margin-bottom: 0.8rem;
    }
    
    .banner-container {
        max-width: 260px; /* REDUZIDO: era 280px */
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 60px 0 30px;
    }
    
    .hero-grid {
        gap: 25px;
        padding: 0 8px; /* MÍNIMO padding */
    }
    
    .main-banner {
        padding: 12px; /* REDUZIDO */
    }
    
    .bg-circle {
        display: none; /* REMOVER completamente em mobile */
    }
}

/* GARANTIR que animações não causem overflow */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg); /* MOVIMENTO mais suave */
    }
}

@keyframes circle-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(90deg); /* MOVIMENTO reduzido */
    }
    100% {
        transform: translateY(0px) rotate(180deg);
    }
}

.service-icon svg,
.benefit-icon svg {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 15px;
}

.benefit-icon svg {
    width: 50px;
    height: 50px;
}
.service-card .service-icon {
    display: block;
    width: 70px;              /* tamanho do svg */
    height: 70px;
    margin: 0 auto 15px auto; /* centraliza + espaço abaixo */
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12); /* leve efeito glass */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Remove qualquer alinhamento antigo */
.service-card i,
.service-card svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Opcional: animação suave */
.service-card .service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
}
 /* Centraliza o ícone dentro do card de serviço */
    .service-card {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza horizontalmente todo o conteúdo do card */
        text-align: center; /* Garante que o texto também fique centralizado */
    }

    .service-icon {
        margin-bottom: 1.5rem; /* Adiciona um espaço abaixo do ícone */
    }

    /* Centraliza o ícone dentro do item de benefício */
    .benefit-item {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza horizontalmente */
    }

    .benefit-icon {
        margin-bottom: 1rem; /* Adiciona um espaço abaixo do ícone */
    }
/* ============================================
   CORREÇÕES PARA MOBILE BUTTONS NO HEADER
============================================ */

/* Esconder mobile-buttons no desktop */
.mobile-buttons {
    display: none; /* Escondido por padrão */
}

/* ============================================
   SOLUÇÃO DEFINITIVA - BOTÕES ALINHADOS
============================================ */

@media (max-width: 767px) {
    /* Container do menu mobile */
    .main-nav.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        background: var(--light-text-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 999;
        padding: 0;
    }
    
    /* Lista de navegação */
    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        margin: 20px 0 0 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Links de navegação */
    .main-nav.active .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color-light);
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }
    
    .main-nav.active .nav-link:last-child {
        border-bottom: none;
    }
    
    /* BOTÕES - MESMO CONTAINER DOS LINKS */
      /* BOTÕES - FORÇANDO O MESMO ALINHAMENTO */
    .main-nav.active .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        background: transparent; /* Remove qualquer fundo */
    }

      /* BOTÕES COM LARGURA CALCULADA PARA COMPENSAR PADDING */
    .mobile-buttons .btn {
        width: calc(100% + 60px); /* Compensa o padding do container */
        margin-left: 20px; /* Alinha com a borda dos links */
        margin-right: -20px;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
}

/* ============================================
   SEÇÃO SIMULADOR
============================================ */
.simulator-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F4F6F8 0%, #E8EEF2 100%);
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de fundo */
.simulator-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.05);
    filter: blur(60px);
    pointer-events: none;
}

.simulator-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(10, 35, 66, 0.05);
    filter: blur(50px);
    pointer-events: none;
}

.simulator-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Container Principal */
.simulator-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Formulário - Lado Esquerdo */
.simulator-form {
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Toggle de Tipo */
.simulator-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    background: #E8EEF2;
    padding: 6px;
    border-radius: 12px;
}

.toggle-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #666;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
}

.toggle-btn.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.toggle-btn:hover:not(.active) {
    background: rgba(44, 165, 141, 0.1);
}

/* Input Groups */
.input-group {
    margin-bottom: 35px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.input-group label i {
    color: var(--accent-color);
    font-size: 18px;
}

.simulator-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #E8EEF2;
    border-radius: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    outline: none;
    font-family: var(--font-primary);
}

.simulator-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(44, 165, 141, 0.1);
}

.simulator-range {
    width: 100%;
    margin-top: 15px;
    height: 6px;
    border-radius: 5px;
    background: #E8EEF2;
    outline: none;
    -webkit-appearance: none;
}

.simulator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 165, 141, 0.4);
    transition: all 0.3s ease;
}

.simulator-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.simulator-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(44, 165, 141, 0.4);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

/* Info sobre Taxa */
.rate-info {
    background: linear-gradient(135deg, #E8F5E1 0%, #D4EED1 100%);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #C8E6C9;
}

.rate-info i {
    font-size: 24px;
    color: #2f9d44;
}

.rate-label {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 4px 0;
}

.rate-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2f9d44;
    margin: 0;
}

/* Resultados - Lado Direito */
.simulator-results {
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.results-header i {
    font-size: 28px;
    color: var(--accent-color);
}

.results-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Result Cards */
.result-card {
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.result-primary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-highlight {
    background: rgba(44, 165, 141, 0.15);
    border: 1px solid rgba(44, 165, 141, 0.3);
}

.result-total {
    padding: 25px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
    box-shadow: 0 8px 25px rgba(44, 165, 141, 0.3);
}

.result-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
}

.result-label-accent {
    color: var(--accent-color);
    font-weight: 600;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.result-value-accent {
    color: var(--accent-color);
}

.result-sublabel {
    font-size: 0.85rem;
    color: rgba(44, 165, 141, 0.8);
    margin: 8px 0 0 0;
}

.result-label-total {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.result-value-total {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Botão de Ação */
.btn-simulator-action {
    width: 100%;
    padding: 16px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
}

.btn-simulator-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Nota Adicional */
.simulator-note {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(10, 35, 66, 0.1);
    text-align: center;
}

.simulator-note p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 968px) {
    .simulator-container {
        grid-template-columns: 1fr;
    }

    .simulator-form,
    .simulator-results {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .simulator-section {
        padding: 50px 0;
    }

    .simulator-form,
    .simulator-results {
        padding: 30px 20px;
    }

    .toggle-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .result-value-total {
        font-size: 1.8rem;
    }
}

