/* ============================================
   Quadra Fácil - Landing Page CSS
   Template: modelo3
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--cor-texto);
    background-color: var(--cor-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    box-shadow: 0 4px 14px rgba(13, 48, 74, 0.25);
}

.btn-primary:hover {
    background-color: var(--cor-primaria-hover);
    box-shadow: 0 6px 20px rgba(13, 48, 74, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
}

.btn-secondary:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--cor-branco);
    color: var(--cor-primaria);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--cor-branco);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Section Base
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--cor-bg-alt);
}

.section-dark {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--cor-texto);
}

.section-subtitle {
    font-size: 18px;
    color: var(--cor-texto-sec);
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
}

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

/* ============================================
   Header / Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    max-height: 100px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--cor-primaria);
}

.navbar-logo img {
    height: auto;
    max-height: 100px;
    width: auto;
}

.navbar-logo span {
    color: var(--cor-primaria);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--cor-texto-sec);
    transition: color 0.2s ease;
}

.navbar-nav a:hover {
    color: var(--cor-primaria);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
    min-height: 40px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--cor-texto);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cor-branco);
    border-bottom: 1px solid var(--cor-border);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--cor-texto);
    border-bottom: 1px solid var(--cor-border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 16px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--cor-bg) 0%, #FFFFFF 50%, var(--cor-bg) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 48, 74, 0.08);
    color: var(--cor-primaria);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 12px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--cor-texto);
}

.hero h1 span {
    color: var(--cor-primaria);
}

.hero-description {
    font-size: 18px;
    color: var(--cor-texto-sec);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--cor-primaria);
}

.hero-stat-label {
    font-size: 14px;
    color: var(--cor-texto-sec);
}

.hero-mockup {
    position: relative;
}

.hero-mockup img,
.hero-mockup .mockup-placeholder {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(13, 48, 74, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-mockup img:hover {
    transform: scale(1.08);
    box-shadow: 0 40px 100px rgba(13, 48, 74, 0.3);
}

/* ============================================
   Hero image zoom lightbox
   ============================================ */
.hero-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: background 0.3s ease;
    cursor: zoom-out;
}

.hero-zoom-overlay.active {
    background: rgba(0, 0, 0, 0.9);
}

.hero-zoom-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-zoom-overlay.active .hero-zoom-img {
    opacity: 1;
    transform: scale(1);
}

.hero-zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 100000;
    line-height: 1;
}

.hero-zoom-close:hover {
    opacity: 1;
}

.mockup-placeholder {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branco);
    font-size: 18px;
    font-weight: 600;
    min-height: 320px;
}

.mockup-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================
   Results Section
   ============================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--cor-branco);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 48, 74, 0.1);
    border-color: var(--cor-primaria);
}

.result-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(13, 48, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--cor-primaria);
}

.result-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 8px;
}

.result-card p {
    font-size: 14px;
    color: var(--cor-texto-sec);
    line-height: 1.5;
}

/* ============================================
   WhatsApp Section
   ============================================ */


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

.whatsapp-content h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.whatsapp-content p {
    font-size: 17px;
    color: var(--cor-texto-sec);
    margin-bottom: 24px;
    line-height: 1.7;
}

.whatsapp-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whatsapp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--cor-texto);
}

.whatsapp-feature i {
    color: #25D366;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.whatsapp-chat {
    background: var(--cor-branco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.whatsapp-chat-header {
    background: #075E54;
    color: var(--cor-branco);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.whatsapp-chat-name {
    font-weight: 600;
    font-size: 16px;
}

.whatsapp-chat-status {
    font-size: 12px;
    opacity: 0.8;
}

.whatsapp-chat-body {
    padding: 20px;
    background: #ECE5DD;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: msgAppear 0.3s ease;
}

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

.whatsapp-msg-client {
    background: #DCF8C6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.whatsapp-msg-bot {
    background: var(--cor-branco);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.whatsapp-msg-time {
    font-size: 11px;
    color: var(--cor-texto-sec);
    text-align: right;
    margin-top: 4px;
}

.whatsapp-chat-footer {
    background: var(--cor-branco);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--cor-border);
}

.whatsapp-chat-footer .chat-input {
    flex: 1;
    background: var(--cor-bg);
    border: none;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--cor-texto-sec);
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 24px;
}

/* ============================================
   Problems Section
   ============================================ */
.problems-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.problems-list,
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-item,
.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--cor-branco);
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.problem-item:hover {
    border-color: #FCA5A5;
    background: #FEF2F2;
}

.solution-item:hover {
    border-color: #86EFAC;
    background: #F0FDF4;
}

.problem-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FEE2E2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DC2626;
    font-size: 14px;
    flex-shrink: 0;
}

.solution-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #DCFCE7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16A34A;
    font-size: 14px;
    flex-shrink: 0;
}

.problem-text,
.solution-text {
    font-size: 15px;
    color: var(--cor-texto);
    line-height: 1.5;
}

.problems-column-title,
.solutions-column-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.problems-column-title {
    color: #DC2626;
}

.solutions-column-title {
    color: #16A34A;
}

/* ============================================
   How It Works
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--cor-border);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cor-primaria);
    color: var(--cor-branco);
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(13, 48, 74, 0.2);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cor-texto);
}

.step-card p {
    font-size: 15px;
    color: var(--cor-texto-sec);
    line-height: 1.6;
}

/* ============================================
   Features Section
   ============================================ */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-tab {
    padding: 10px 24px;
    border-radius: 100px;
    border: 2px solid var(--cor-border);
    background: var(--cor-branco);
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-texto-sec);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-tab:hover,
.feature-tab.active {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    background: rgba(13, 48, 74, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--cor-branco);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 48, 74, 0.1);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 48, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--cor-primaria);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--cor-texto);
}

.feature-card p {
    font-size: 14px;
    color: var(--cor-texto-sec);
    line-height: 1.5;
}

/* ============================================
   Notifications Section
   ============================================ */
.notifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--cor-branco);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.notification-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}

.model-card {
    display: block;
    background: var(--cor-branco);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.models-grid.fade-in.visible .model-card {
    opacity: 1;
    transform: translateY(0);
}

.models-grid.fade-in.visible .model-card:nth-child(1) { transition-delay: 0s; }
.models-grid.fade-in.visible .model-card:nth-child(2) { transition-delay: 0.15s; }
.models-grid.fade-in.visible .model-card:nth-child(3) { transition-delay: 0.3s; }
.models-grid.fade-in.visible .model-card:nth-child(4) { transition-delay: 0.45s; }

.model-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.model-image {
    width: 100%;
    overflow: hidden;
    background: var(--cor-bg);
}

.model-image img {
    width: 100%;
    display: block;
}

.model-info {
    padding: 20px 24px 24px;
}

.model-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--cor-texto);
}

.model-link {
    display: inline-block;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-branco);
    background: var(--cor-primaria);
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.model-link:hover {
    opacity: 0.9;
}

.model-card:hover .model-link {
    opacity: 0.85;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-icon.green {
    background: #DCFCE7;
    color: #16A34A;
}

.notification-icon.blue {
    background: #DBEAFE;
    color: #2563EB;
}

.notification-icon.yellow {
    background: #FEF3C7;
    color: #D97706;
}

.notification-icon.purple {
    background: #EDE9FE;
    color: #7C3AED;
}

.notification-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--cor-texto);
}

.notification-text p {
    font-size: 13px;
    color: var(--cor-texto-sec);
    line-height: 1.4;
}

/* ============================================
   Finance Dashboard
   ============================================ */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.finance-card {
    background: var(--cor-branco);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--cor-border);
    text-align: center;
}

.finance-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--cor-primaria);
    margin-bottom: 4px;
}

.finance-card-label {
    font-size: 13px;
    color: var(--cor-texto-sec);
    font-weight: 500;
}

.finance-card-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--cor-primaria);
}

.finance-chart {
    background: var(--cor-branco);
    border-radius: 14px;
    padding: 32px;
    border: 1px solid var(--cor-border);
}

.finance-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 200px;
    padding: 20px 0;
}

.finance-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.finance-bar-group > div {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    width: 100%;
    flex: 1;
}

.finance-bar {
    flex: 1;
    border-radius: 8px 8px 0 0;
    min-height: 4px;
}

.finance-bar.income {
    background: var(--cor-primaria);
}

.finance-bar.expense {
    background: var(--cor-border);
}

.finance-bar-label {
    font-size: 12px;
    color: var(--cor-texto-sec);
    font-weight: 500;
}

/* ============================================
   Invoice Flow
   ============================================ */
.invoice-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.invoice-step {
    background: var(--cor-branco);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--cor-border);
    min-width: 160px;
    flex: 1;
    transition: all 0.3s ease;
}

.invoice-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 48, 74, 0.1);
}

.invoice-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(13, 48, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: var(--cor-primaria);
}

.invoice-step h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 4px;
}

.invoice-step p {
    font-size: 13px;
    color: var(--cor-texto-sec);
}

.invoice-arrow {
    font-size: 24px;
    color: var(--cor-primaria);
}

/* ============================================
   Social Proof
   ============================================ */
.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.social-stat {
    text-align: center;
}

.social-stat-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--cor-primaria);
}

.social-stat-label {
    font-size: 15px;
    color: var(--cor-texto-sec);
}

/* ============================================
   Testimonials Carousel
   ============================================ */
.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.carousel-track-wrapper {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: var(--cor-branco);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--cor-border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 14px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.testimonial-text {
    font-size: 15px;
    color: var(--cor-texto);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(13, 48, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-primaria);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-texto);
}

.testimonial-role {
    font-size: 13px;
    color: var(--cor-texto-sec);
}

/* Carousel navigation buttons */
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--cor-border);
    background: var(--cor-branco);
    color: var(--cor-texto);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.carousel-btn:hover {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    border-color: var(--cor-border);
    color: var(--cor-texto);
    box-shadow: none;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--cor-border);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--cor-primaria);
    width: 28px;
    border-radius: 5px;
}

/* No logos strip — removed per client request */

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--cor-border);
}

.comparison-table thead th {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    font-weight: 600;
    font-size: 15px;
}

.comparison-table thead th:first-child {
    background: var(--cor-secundaria);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    background: var(--cor-branco);
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: #F0F9FF;
}

.comparison-table tbody td {
    font-size: 15px;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--cor-texto);
}

.comparison-table .check {
    color: #16A34A;
    font-size: 18px;
}

.comparison-table .cross {
    color: #DC2626;
    font-size: 18px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--cor-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--cor-branco);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--cor-primaria);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--cor-texto);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--cor-primaria);
}

.faq-question i {
    font-size: 14px;
    color: var(--cor-texto-sec);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    font-size: 15px;
    color: var(--cor-texto-sec);
    line-height: 1.7;
}

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: var(--cor-branco);
    text-align: center;
    padding: 80px 0;
}

.cta-final h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-final p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-final-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Lead Form Section (Inline, 3 etapas)
   ============================================ */
.lead-form-section {
    background: var(--cor-bg);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), padding 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.lead-form-section.expanded {
    max-height: 2500px;
    padding: 60px 0;
}

.lead-form-inner {
    max-width: 680px;
    margin: 0 auto;
    background: var(--cor-branco);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--cor-border);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.lead-form-section.expanded .lead-form-inner {
    opacity: 1;
    transform: translateY(0);
}

.lead-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--cor-primaria);
    margin-bottom: 8px;
}

.lead-progress-track {
    height: 4px;
    background: var(--cor-border);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.lead-progress-fill {
    height: 100%;
    background: var(--cor-primaria);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.lead-step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--cor-primaria);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.lead-step-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 28px;
    line-height: 1.3;
}

.lead-field {
    margin-bottom: 18px;
}

.lead-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 6px;
}

.lead-required {
    color: #DC2626;
}

.lead-error {
    color: #DC2626;
    font-size: 12px;
    margin-top: 4px;
    min-height: 0;
}

.lead-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cor-border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--cor-texto);
    background: var(--cor-branco);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--font-family);
    box-sizing: border-box;
}

.lead-input:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(13, 48, 74, 0.1);
}

.lead-input.error {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.lead-input::placeholder {
    color: #9CA3AF;
}

.lead-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236b7280'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lead-field-uf {
    max-width: 140px;
}

.lead-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.lead-btn-next {
    width: 100%;
    margin-top: 8px;
}

.lead-btn-back {
    flex: 0 0 auto;
}

.lead-btn-back.btn-secondary {
    background: var(--cor-bg);
    border: 2px solid var(--cor-border);
    color: var(--cor-texto);
}

.lead-btn-back.btn-secondary:hover {
    background: var(--cor-border);
}

.lead-step {
    animation: stepFadeIn 0.35s ease;
}

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

.lead-optional-section {
    background: var(--cor-bg);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px dashed var(--cor-border);
}

.lead-optional-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 18px;
}

.lead-optional-label span {
    font-weight: 400;
    color: var(--cor-texto-sec);
    font-size: 13px;
}

.lead-loading {
    text-align: center;
    padding: 40px 0;
}

.lead-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--cor-border);
    border-top-color: var(--cor-primaria);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lead-loading p {
    color: var(--cor-texto-sec);
    font-size: 15px;
}

.lead-success {
    text-align: center;
    padding: 20px 0;
    animation: stepFadeIn 0.4s ease;
}

.lead-success-icon {
    font-size: 64px;
    color: #25D366;
    margin-bottom: 16px;
}

.lead-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 12px;
}

.lead-success p {
    font-size: 15px;
    color: var(--cor-texto-sec);
    margin-bottom: 12px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.lead-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: 16px;
}

.lead-whatsapp-btn:hover {
    background: #1DA952;
    color: #fff;
}

@media (max-width: 768px) {
    .lead-form-section.expanded {
        padding: 40px 0;
    }

    .lead-form-inner {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .lead-step-heading {
        font-size: 18px;
    }

    .lead-row {
        grid-template-columns: 1fr;
    }

    .lead-field-uf {
        max-width: 100%;
    }

    .lead-buttons {
        flex-direction: column;
    }

    .lead-success h3 {
        font-size: 20px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.7);
    padding: 24px 0;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--cor-primaria);
    color: var(--cor-branco);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--cor-branco);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive - Tablet (768px)
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-mockup {
        order: -1;
    }

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

    .whatsapp-inner {
        grid-template-columns: 1fr;
    }

    .whatsapp-chat {
        max-width: 100%;
    }

    .problems-inner {
        grid-template-columns: 1fr;
    }

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

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

    .testimonials-carousel {
        gap: 8px;
    }

    .carousel-track {
        gap: 16px;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 2px);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

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

}

/* ============================================
   Responsive - Mobile (480px)
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .navbar-nav,
    .navbar-cta .btn-secondary {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-tabs {
        gap: 8px;
    }

    .feature-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .notifications-grid {
        grid-template-columns: 1fr;
    }

    .finance-grid {
        grid-template-columns: 1fr;
    }

    .invoice-flow {
        flex-direction: column;
    }

    .invoice-arrow {
        transform: rotate(90deg);
    }

    .social-proof-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .social-stat-value {
        font-size: 30px;
    }

    .cta-final h2 {
        font-size: 28px;
    }

    .cta-final-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .models-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}
