/* ============================================================
   CréditoFácil - CSS Landing Page
   Estilo Fintech Moderno — Versão Responsiva Corrigida
   ============================================================ */

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.navbar-menu a:hover { color: #fff; }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 70%, #6C63FF 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.3) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.15) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge svg { width: 14px; height: 14px; color: var(--primary-light); }

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, #A78BFA, #6C63FF, #FF6584);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Card flutuante do hero */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

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

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-card-logo {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 6px;
}

.hero-card-amount { margin-bottom: 1.5rem; }

.hero-card-amount-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.hero-card-amount-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-card-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-card-info-item label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 0.2rem;
}

.hero-card-info-item span {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.hero-card-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.hero-card-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #A78BFA);
    border-radius: 50px;
    width: 65%;
    animation: progress-anim 2s ease-in-out infinite alternate;
}

@keyframes progress-anim {
    from { width: 45%; }
    to { width: 75%; }
}

.hero-card-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Badges flutuantes */
.floating-badge {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    animation: float-badge 4s ease-in-out infinite;
    white-space: nowrap;
}

.floating-badge:nth-child(2) { animation-delay: 1s; }
.floating-badge:nth-child(3) { animation-delay: 2s; }

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

.badge-top-right { top: 10%; right: -5%; }
.badge-bottom-left { bottom: 15%; left: -10%; }

/* ============================================================
   SEÇÃO GENÉRICA
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: #fff; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================================
   SIMULADOR
   ============================================================ */
.simulador-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.simulador-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236C63FF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.simulador-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Grid interno do simulador — responsivo */
.simulador-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.simulador-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.simulador-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.sim-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.sim-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    -webkit-appearance: none;
}

.sim-input:focus {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.15);
}

.sim-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.sim-tipo-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sim-tipo-btn {
    padding: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.sim-tipo-btn.active {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.2);
    color: #fff;
}

.sim-tipo-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.sim-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.sim-result-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.sim-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.sim-result-row:last-child { border-bottom: none; }
.sim-result-row span { color: rgba(255, 255, 255, 0.6); }
.sim-result-row strong { color: #fff; font-weight: 700; }

.sim-result-total {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    margin-top: 0.25rem;
}

.sim-result-total span { color: rgba(255, 255, 255, 0.9); font-weight: 700; }
.sim-result-total strong { color: var(--success); font-size: 1.15rem; }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.beneficio-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-border);
}

.beneficio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.beneficio-icon {
    width: 52px;
    height: 52px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.beneficio-icon svg { width: 24px; height: 24px; }

.beneficio-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.beneficio-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos-section {
    background: var(--gray-light);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.depoimento-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

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

.depoimento-quote {
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.depoimento-texto {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.stars {
    color: #FFB020;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

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

.depoimento-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.depoimento-nome {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.depoimento-cidade {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
    padding: 5rem 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contato-info h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.contato-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.contato-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.contato-item:hover {
    color: #fff;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.contato-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
}

.contato-item-text { font-size: 0.95rem; font-weight: 500; }
.contato-item-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

.contato-cta {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
}

.contato-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.contato-cta p { color: rgba(255, 255, 255, 0.6); margin-bottom: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0D0D1A;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-desc { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; line-height: 1.7; }
.footer-col-title { color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; margin: 0; }

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

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; position: relative; }
.cta-section p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }

/* ============================================================
   RESPONSIVIDADE — DESKTOP GRANDE
   ============================================================ */
@media (max-width: 1200px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* ============================================================
   RESPONSIVIDADE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    /* Hero visual responsivo — manter visível mas ajustado */
    .hero-visual {
        position: relative;
        margin-top: 3rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .hero-card {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .floating-badge {
        position: absolute;
        z-index: 3;
        margin: 0;
        transform: scale(0.85); /* Reduzir um pouco no tablet para caber */
    }

    .badge-top-right { 
        top: -10px; 
        right: -10px; 
    }
    
    .badge-bottom-left { 
        bottom: -10px; 
        left: -10px; 
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .steps-grid::before { display: none; }

    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .depoimentos-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .simulador-inner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sim-result { margin-top: 0; }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Hero visual responsivo */
    .hero-visual {
        position: relative;
        margin-top: 4rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }

    .hero-card {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        padding: 1.25rem;
        font-size: 0.85rem;
        position: relative;
        z-index: 2;
    }

    .hero-card-amount-value { font-size: 1.4rem; }
    .hero-card-info { flex-direction: row; gap: 0.5rem; justify-content: space-between; }
    .hero-card-info-item { text-align: center; }
    .hero-card-info-item label { font-size: 0.6rem; }
    .hero-card-info-item span { font-size: 0.75rem; }

    /* Badges flutuantes responsivos — Posicionados em relação ao card */
    .floating-badge {
        position: absolute;
        z-index: 3;
        margin: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        transform: scale(0.8); /* Reduzir no mobile para não cortar */
        animation: float-badge 4s ease-in-out infinite;
    }

    .badge-top-right { 
        top: -25px; 
        right: 0; 
    }
    
    .badge-bottom-left { 
        bottom: -25px; 
        left: 0; 
    }
    /* Navbar mobile */
    .navbar-menu {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(26, 26, 46, 0.98);
        z-index: 999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        font-size: 1.2rem;
    }

    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: flex; }

    /* Hero */
    .hero { padding: 5rem 0 3rem; }
    .hero-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-badge { font-size: 0.8rem; }

    /* Simulador */
    .simulador-section { padding: 3rem 0; }
    .simulador-card { padding: 1.5rem; border-radius: 16px; }
    .simulador-inner-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .sim-tipo-btns { grid-template-columns: 1fr; }
    .sim-tipo-btn { padding: 0.75rem; }
    .simulador-title { font-size: 1.2rem; }

    /* Grids */
    .steps-grid { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .depoimentos-grid { grid-template-columns: 1fr; }
    .contato-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Seções */
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2rem; }
    .cta-section { padding: 3rem 0; }
    .contato-section { padding: 3rem 0; }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE PEQUENO (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 1.5rem; justify-content: space-around; }
    .hero-stat-value { font-size: 1.3rem; }

    .navbar-inner { padding: 0 1rem; }
    .navbar-logo { font-size: 1.1rem; }
    .navbar-logo-icon { width: 34px; height: 34px; }

    .simulador-card { padding: 1.25rem; }
    .sim-input { font-size: 1rem; padding: 0.75rem; }

    .step-card { padding: 1.5rem 1rem; }
    .beneficio-card { padding: 1.5rem; }
    .depoimento-card { padding: 1.5rem; }
    .contato-cta { padding: 1.5rem; }

    .section { padding: 2.5rem 0; }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section p { font-size: 0.95rem; }

    .footer { padding: 2rem 0 1rem; }
    .footer-grid { gap: 1.5rem; }
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Correção de responsividade para o cabeçalho e botões no mobile */
@media (max-width: 768px) {
    .navbar-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    .navbar-btn-login {
        display: flex !important;
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    .navbar-actions .btn-primary {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    .navbar-logo {
        font-size: 1rem !important;
    }
    .navbar-logo-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 480px) {
    .navbar-actions {
        gap: 0.35rem !important;
    }
    .navbar-btn-login {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.75rem !important;
    }
    .navbar-actions .btn-primary {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.75rem !important;
    }
    /* Estilo para o login dentro do menu mobile */
    .btn-login-mobile {
        background: var(--primary) !important;
        color: #fff !important;
        padding: 0.75rem 2rem !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        margin-top: 1rem !important;
        display: inline-block !important;
    }
}
