/* ============================================
   ATR GROWTH BUSINESS - STYLES
   Clean, professional, high-trust
   ============================================ */

/* Variables */
:root {
    /* ===== FUNDOS - Off-Black Suave ===== */
    --black: #09090b;
    --black-surface: #0c0c0e;
    --black-card: #141416;
    --black-elevated: #1a1a1d;

    /* ===== DOURADO - Paleta Completa ===== */
    --gold: #D4AF37;
    --gold-light: #E8C961;
    --gold-dark: #B8962D;
    --gold-subtle: rgba(212, 175, 55, 0.12);
    --gold-glow: rgba(212, 175, 55, 0.25);

    /* ===== TEXTO - Tudo Legível (Sem Cinza) ===== */
    --white: #F0F0F0;
    --text-primary: #F0F0F0;
    --text-secondary: #E0E0E0;
    --gray: #D0D0D0;
    --gray-dark: #A0A0A0;
    --gray-light: #E8E8E8;

    /* ===== BORDAS - Mais Visíveis ===== */
    --border: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-focus: rgba(212, 175, 55, 0.4);

    /* ===== TIPOGRAFIA ===== */
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--gray-light);
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--white);
}

ul {
    list-style: none;
}

li {
    padding: 6px 0;
    color: var(--gray-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: calc(72px * 0.9);
    padding: 5% 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: space-between;
    margin-left: 48px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.2s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 99;
    padding: 32px 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.25rem;
    color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: var(--gold);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu .btn {
    margin-top: 32px;
    text-align: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 1;
    background: var(--black);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
}

/* Grid Perspectivo - Efeito de "Cockpit/Visão Estratégica" */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Linhas horizontais */
        repeating-linear-gradient(0deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.03) 60px,
            rgba(212, 175, 55, 0.03) 61px),
        /* Linhas verticais */
        repeating-linear-gradient(90deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.03) 60px,
            rgba(212, 175, 55, 0.03) 61px);
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    opacity: 0.8;
    pointer-events: none;
}

/* Gradiente Dourado Central - Foco no Conteúdo */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center,
            rgba(212, 175, 55, 0.08) 0%,
            rgba(212, 175, 55, 0.03) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Fade inferior para suavizar transição */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gold-subtle);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

.bg-dark {
    background: var(--black-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ===== BASE CARD - Borda Dourada ===== */
.card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== EFEITO 1: GLOW - Brilho Dourado (Para cards de Problema) ===== */
.card.effect-glow:hover {
    border-color: var(--gold);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.15),
        0 0 40px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

/* ===== EFEITO 2: LIFT - Elevação Premium (Para Steps e Entregáveis) ===== */
.card.effect-lift:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.5);
}

/* ===== EFEITO 3: SHINE - Reflexo Animado (Para FAQ) ===== */
.card.effect-shine {
    overflow: hidden;
}

.card.effect-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.08),
            transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.card.effect-shine:hover::before {
    left: 100%;
}

.card.effect-shine:hover {
    border-color: var(--gold);
}

/* Card Highlight (mantido) */
.card-highlight {
    border-color: var(--gold);
}

.card-icon {
    margin-bottom: 16px;
    color: var(--gold);
}

.card-icon svg {
    stroke: var(--gold);
}

.card h3,
.card h4 {
    margin-bottom: 12px;
}

.card p {
    margin-bottom: 0;
}

.card ul {
    margin-top: 16px;
}

.card li {
    color: var(--gray-light);
}

/* Steps Grid - Como Funciona */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito LIFT para step-cards */
.step-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.5);
}

.step-card.step-highlight {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gold-subtle);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 16px;
    color: var(--white);
}

.step-card p {
    color: var(--gray-light);
    line-height: 1.7;
}

.step-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.step-details li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.step-details li::before {
    content: "→ ";
    color: var(--gold);
}

/* Demo Section - ATR OS */
.section-demo {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-surface) 50%, var(--black) 100%);
    padding-bottom: 120px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gold-subtle);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle strong {
    color: var(--gold);
}

/* 3 Pilares do Sistema */
.system-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 60px 0;
}

.pillar-card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.5);
}

.pillar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gold-subtle);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    stroke: var(--gold);
}

.pillar-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Highlight Box - "Por que isso importa" */
.system-highlight {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.system-highlight::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.highlight-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.highlight-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-light);
}

.highlight-content strong {
    color: var(--white);
    font-weight: 600;
}

/* Stats Row */
.system-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 60px;
    padding: 32px;
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(212, 175, 55, 0.3);
}

@media (max-width: 900px) {
    .system-pillars {
        grid-template-columns: 1fr;
    }

    .system-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }
}

/* Legacy - mantido para compatibilidade */
.system-statement {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.system-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-light);
}

.demo-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.demo-features span {
    padding: 12px 20px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.browser-frame {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--black-surface);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F57;
}

.dot.yellow {
    background: #FEBC2E;
}

.dot.green {
    background: #28C840;
}

.browser-url {
    flex: 1;
    padding: 8px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.browser-btn {
    padding: 8px 16px;
    background: var(--gold-subtle);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    transition: all 0.2s;
}

.browser-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.browser-content {
    height: 700px;
    background: var(--black);
}

.browser-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .browser-content {
        height: 400px;
    }

    .browser-url {
        display: none;
    }
}

/* Comparison */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-col {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito GLOW para comparison-col */
.comparison-col:hover {
    border-color: var(--gold);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.15),
        0 0 40px rgba(212, 175, 55, 0.08);
}

.comparison-col h3 {
    margin-bottom: 24px;
}

.traditional {
    opacity: 0.7;
}

.traditional li {
    color: var(--gray);
}

/* Ícone X em vermelho */
.traditional li::first-letter {
    color: #ef4444;
    font-weight: 700;
}

.atr {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.atr h3 {
    color: var(--gold);
}

.atr li {
    color: var(--gray-light);
}

/* Ícone Check em verde */
.atr li::first-letter {
    color: #22c55e;
    font-weight: 700;
}

@media (max-width: 768px) {
    .comparison {
        grid-template-columns: 1fr;
    }
}

/* Testimonial */
.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito GLOW para testimonial */
.testimonial:hover {
    border-color: var(--gold);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.15),
        0 0 40px rgba(212, 175, 55, 0.08);
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
}

.author span {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonial {
        padding: 32px 24px;
    }

    .quote {
        font-size: 1.15rem;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito SHINE para faq-item */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.06),
            transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--gray-light);
}

/* CTA */
.section-cta {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-surface) 100%);
    padding: 80px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-content>p {
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-form {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-row input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--white);
    font-family: var(--font-body);
}

.form-row input::placeholder {
    color: var(--gray);
}

.form-row input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-row .btn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-row input {
        min-width: 100%;
    }

    .form-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 80px;
    margin-bottom: 24px;
}

.footer p {
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    font-size: 0.85rem;
    color: var(--gray-dark);
}