/* ─── Log.IA — Landing embarcador (estilo B: Clean SaaS claro) ──────────
   Identidade: grafite + off-white + gradiente teal→verde. Poppins + Inter.
   Fonte da marca: branding/brandbook.md + branding/landing_styles.py (style_b) */

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

:root {
    --grafite: #11181F;
    --offwhite: #F7F7EF;
    --dark: #0E1116;
    --panel-d: #161B22;
    --teal: #2DD4BF;
    --green: #22C55E;
    --white: #ffffff;
    --text: #11181F;
    --text-light: #56606a;
    --text-muted: #828d97;
    --border: #e4e2d6;
    --whatsapp: #25D366;
    --radius: 20px;
    --radius-sm: 14px;
    --grad: linear-gradient(135deg, var(--teal), var(--green));
    --shadow: 0 2px 8px rgba(17,24,31,0.06);
    --shadow-lg: 0 18px 50px rgba(17,24,31,0.14);
}

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

h1, h2, h3, .logo { font-family: 'Poppins', sans-serif; }

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

/* ─── Header ──────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    background: rgba(247,247,239,0.9);
    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; gap: 24px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--grafite); letter-spacing: -0.02em; }
.logo-dot {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--grafite); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #1eae54; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline { background: transparent; color: var(--grafite); border: 1.5px solid var(--grafite); }
.btn-outline:hover { background: var(--grafite); color: var(--offwhite); }

.btn-header { background: var(--green); color: var(--white); padding: 10px 20px; font-size: 0.9rem; }
.btn-header:hover { background: #1eae54; }

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

.btn-ghost-light { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }

/* ─── Hero ────────────────────────────────────────────── */
.hero { padding: 72px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(34,197,94,0.1);
    color: #15803d;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 22px; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.15rem; color: var(--text-light); margin-bottom: 30px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.trust-line { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.trust-line span::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Phone + chat mockup */
.phone-mockup { background: var(--grafite); border-radius: 38px; padding: 12px; max-width: 340px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.phone-screen { background: #ebeee8; border-radius: 28px; overflow: hidden; min-height: 480px; display: flex; flex-direction: column; }
.phone-topbar { background: var(--green); color: var(--white); padding: 16px 20px; font-family: 'Poppins'; 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: var(--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(--white); }
.section-dark { background: var(--dark); color: var(--offwhite); }
.section-title { text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 52px; font-size: 1.1rem; }
.section-dark .section-subtitle { color: #aeb7bf; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { padding: 32px 22px; border-radius: var(--radius); background: var(--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: 46px; height: 46px; background: var(--grad); color: var(--white); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }
.step-card h3 { margin-bottom: 8px; font-weight: 700; font-size: 1.15rem; }
.step-card p { color: var(--text-light); font-size: 0.92rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; border-radius: var(--radius); background: var(--offwhite); border: 1px solid var(--border); transition: transform 0.2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; font-weight: 700; font-size: 1.15rem; }
.feature-card p { color: var(--text-light); font-size: 0.92rem; }

/* CTA band */
.section-cta { background: var(--dark); color: var(--offwhite); 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: 2.1rem; margin-bottom: 14px; color: var(--offwhite); }
.cta-inner p { font-size: 1.1rem; margin-bottom: 30px; color: #c2cad1; }
.cta-note { display: block; margin-top: 14px; font-size: 0.85rem; color: #828d97; }

/* Motorista (dark) */
.driver-inner { text-align: center; }
.driver-inner h2 { font-size: 2rem; color: var(--offwhite); margin-bottom: 12px; }
.driver-inner p { font-size: 1.08rem; color: #aeb7bf; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--border); background: var(--offwhite); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--text-muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-light); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--grafite); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-cta, .trust-line { justify-content: center; }
    .hero-visual { order: -1; }
    .nav-links { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.9rem; }
    .trust-line { flex-direction: column; gap: 8px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
