/* ─── Log.IA — Landing VERSÃO A (copy antiga, recolorida on-brand) ───────
   Mesmo layout/HTML da landing original; SÓ as cores foram adaptadas para a
   identidade Log.IA: grafite #11181F + off-white #F7F7EF + gradiente teal→verde.
   Texto/copy = idêntico ao original (a pedido). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #22C55E;          /* era #1a56db (azul) → verde de ação */
    --primary-dark: #1eae54;     /* era #1240a8 */
    --primary-light: #e7f6ec;    /* era #e8effc */
    --accent: #2DD4BF;           /* era #f59e0b (laranja) → teal da marca */
    --text: #11181F;             /* era #1f2937 → grafite */
    --text-light: #56606a;       /* era #6b7280 */
    --bg: #F7F7EF;               /* era #ffffff → off-white da marca */
    --bg-alt: #ffffff;           /* era #f9fafb */
    --border: #e4e2d6;           /* era #e5e7eb → borda quente */
    --whatsapp: #25D366;
    --grad: linear-gradient(135deg, #2DD4BF, #22C55E);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(17,24,31,0.1), 0 1px 2px rgba(17,24,31,0.06);
    --shadow-lg: 0 10px 25px rgba(17,24,31,0.12);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ──────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    background: rgba(247,247,239,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 16px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}
.logo-dot {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-header {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    font-size: 1.1rem;
}
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: #15803d;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat strong { display: block; font-size: 1.5rem; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--text-light); }

/* Phone + chat mockup (layout estilo version-b) */
.phone-mockup {
    background: #11181F;
    border-radius: 38px;
    padding: 12px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.phone-screen {
    background: #ebeee8;
    border-radius: 28px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
.phone-topbar {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-topbar::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}
.phone-body {
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    max-width: 88%;
    line-height: 1.45;
    white-space: pre-line;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.chat-bubble.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-bubble.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 48px; height: 48px;
    background: var(--grad);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h3 { margin-bottom: 8px; font-weight: 700; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 28px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* CTA */
.section-cta {
    background: linear-gradient(135deg, #0E1116 0%, #11181F 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.section-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(34,197,94,0.18), transparent 55%);
    pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-size: 2rem; margin-bottom: 12px; color: white; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.9; }
.cta-note { display: block; margin-top: 12px; font-size: 0.85rem; opacity: 0.7; }

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer p { color: var(--text-light); font-size: 0.9rem; }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .hero-stats { flex-direction: column; gap: 12px; }
}
