/* ==========================================================================
   CHECK-MATE VENDAS - LANDING PAGE CSS
   Estilo Premium B2B - Value-Based Selling
   ========================================================================== */

/* Importação de Fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variáveis de Cores e Estilo */
:root {
    --bg-primary: #0A0C10;
    --bg-secondary: #11141C;
    --bg-card: #171C26;
    --bg-card-hover: #1F2633;
    
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    --accent-gold: #D4AF37;
    --accent-gold-rgb: 212, 175, 55;
    --accent-gold-hover: #E5C158;
    
    --accent-emerald: #10B981;
    --accent-emerald-rgb: 16, 185, 129;
    
    --accent-red: #EF4444;
    --accent-red-rgb: 239, 68, 68;
    
    --border-light: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(212, 175, 55, 0.25);
    --border-danger: rgba(239, 68, 68, 0.2);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Geral & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

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

/* Botões Customizados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-emerald {
    background-color: var(--accent-emerald);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
    background-color: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

/* Header/Navegação */
header {
    background-color: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-gold);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: inline-block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Hero Section (Dobra 1) */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

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

.hero-content {
    max-width: 620px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-headline span {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.hero-actions .btn {
    width: 100%;
    max-width: 420px;
}

.hero-microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 4px;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(10, 12, 16, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Dores (Dobra 2) */
.dor-section {
    background-color: var(--bg-secondary);
}

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

.dor-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.dor-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-danger);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.03);
}

.dor-card:hover::before {
    background-color: var(--accent-red);
}

.dor-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dor-number svg {
    fill: var(--accent-red);
    width: 14px;
    height: 14px;
}

.dor-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.dor-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Solução / Ecossistema (Dobra 3) */
.solucao-section {
    background-color: var(--bg-primary);
}

.solucao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.solucao-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 48px 32px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.solucao-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.04);
}

.solucao-step-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(212, 175, 55, 0.15);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.solucao-card:hover .solucao-step-num {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.solucao-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.solucao-card-subtitle {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.solucao-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Matemática / Calculadora (Dobra 4) */
.calculadora-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.calculadora-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.calculadora-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.calculator-group {
    margin-bottom: 30px;
}

.calculator-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calculator-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.calculator-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent-gold);
}

/* Estilo Sliders */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #2D3748;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Resultados da Calculadora */
.calculator-results {
    background-color: rgba(10, 12, 16, 0.5);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-row:first-child {
    padding-top: 0;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.result-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.result-value.highlight {
    color: var(--accent-emerald);
}

/* Lado direito da Matemática (Texto de Ancoragem) */
.matematica-info {
    max-width: 500px;
}

.matematica-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.matematica-quote {
    border-left: 2px solid var(--accent-emerald);
    padding-left: 20px;
    margin: 32px 0;
}

.matematica-quote-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
}

/* CTA Final / Conversão (Dobra 5) */
.cta-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.cta-box-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-box-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Formulário de Conversão */
.cta-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

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

.cta-form .btn {
    width: 100%;
    margin-top: 12px;
}

.cta-form-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* Rodapé */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    opacity: 0.6;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .dor-grid {
        grid-template-columns: 1fr;
    }
    
    .solucao-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .calculadora-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .matematica-info {
        max-width: 100%;
        text-align: center;
    }
    
    .matematica-quote {
        border-left: none;
        border-top: 2px solid var(--accent-emerald);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    header nav {
        display: none; /* Menu sanduíche pode ser adicionado se necessário, ou ocultado para simplificar */
    }
    
    footer .container {
        flex-direction: column;
        gap: 16px;
    }
}
