/* FoodGrid — Landing Page institucional. Tokens da marca (FoodPlatformTheme, variante Orange):
   primária #EA580C · darken #C2410C · brasa #FF6B35 · ink #1A1D20 · canvas #F5F6F8 · radius 10px. */

:root {
    --fg-primary: #EA580C;
    --fg-primary-dark: #C2410C;
    --fg-ember: #FF6B35;
    --fg-ink: #1A1D20;
    --fg-canvas: #F5F6F8;
    --fg-text: #212529;
    --fg-text-muted: #5C636A;
    --fg-border: #E4E7EB;
    --fg-radius: 10px;
    --fg-shadow: 0 4px 16px rgba(26, 29, 32, .08);
    --fg-shadow-lift: 0 10px 28px rgba(26, 29, 32, .14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--fg-text);
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Sora', 'IBM Plex Sans', sans-serif; line-height: 1.2; color: var(--fg-ink); }

img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

section { padding: 72px 0; }

.section-title { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--fg-text-muted); max-width: 560px; margin: 0 auto 40px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--fg-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--fg-primary); color: #fff; }
.btn-primary:hover { background: var(--fg-primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--fg-primary); color: var(--fg-primary); background: transparent; }
.btn-outline:hover { background: var(--fg-primary); color: #fff; }
.btn-ghost { color: var(--fg-ink); background: transparent; padding: 12px 18px; }
.btn-ghost:hover { color: var(--fg-primary); }
.btn-block { display: block; text-align: center; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--fg-border);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.navbar .logo img { height: 30px; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--fg-text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--fg-primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 9px 18px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #FFF7F2 0%, #fff 100%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.9rem; margin-bottom: 18px; }
.hero h1 em { color: var(--fg-primary); font-style: normal; }
.hero p { font-size: 1.15rem; color: var(--fg-text-muted); margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
    background: var(--fg-ink);
    border-radius: 16px;
    padding: 28px;
    color: #E9ECEF;
    box-shadow: var(--fg-shadow-lift);
    font-size: .95rem;
}
.hero-art .art-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--fg-radius);
    background: rgba(255, 255, 255, .06);
    margin-bottom: 10px;
}
.hero-art .art-row:last-child { margin-bottom: 0; }
.hero-art .tag { font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.tag-fire { background: var(--fg-ember); color: #1A1D20; }
.tag-ok { background: #2E7D32; color: #fff; }
.tag-qr { background: #E9ECEF; color: #1A1D20; }

/* ---------- Stats ---------- */
.stats { padding: 26px 0; background: var(--fg-ink); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats .stat b { display: block; color: #fff; font-family: 'Sora', sans-serif; font-size: 1.05rem; }
.stats .stat span { color: #ADB5BD; font-size: .88rem; }

/* ---------- Como funciona ---------- */
.steps { background: var(--fg-canvas); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
    background: #fff;
    border-radius: var(--fg-radius);
    padding: 28px 24px;
    box-shadow: var(--fg-shadow);
}
.step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--fg-primary);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--fg-text-muted); font-size: .95rem; }

/* ---------- Recursos ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius);
    padding: 22px 20px;
    transition: box-shadow .15s ease, transform .15s ease;
}
.feature:hover { box-shadow: var(--fg-shadow); transform: translateY(-2px); }
.feature .icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--fg-text-muted); font-size: .9rem; }

/* ---------- Planos ---------- */
.plans { background: var(--fg-canvas); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.plan-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--fg-shadow);
}
.plan-card.popular { border: 2px solid var(--fg-primary); box-shadow: var(--fg-shadow-lift); }
.plan-card .popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fg-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan-card .price { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: var(--fg-ink); margin-bottom: 2px; }
.plan-card .price small { font-size: .95rem; font-weight: 400; color: var(--fg-text-muted); }
.plan-card ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.plan-card li { padding: 5px 0 5px 26px; position: relative; font-size: .93rem; color: var(--fg-text); }
.plan-card li::before { content: '✓'; position: absolute; left: 0; color: var(--fg-primary); font-weight: 700; }
.plans-note { text-align: center; color: var(--fg-text-muted); font-size: .88rem; margin-top: 22px; }

/* ---------- CTA final ---------- */
.cta { background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-ember) 100%); text-align: center; }
.cta h2 { color: #fff; font-size: 1.9rem; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .92); margin-bottom: 26px; }
.cta .btn { background: #fff; color: var(--fg-primary-dark); }
.cta .btn:hover { transform: translateY(-1px); }

/* ---------- Footer ---------- */
footer { background: var(--fg-ink); color: #ADB5BD; padding: 44px 0 30px; font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer img { height: 26px; }
footer nav { display: flex; gap: 20px; }
footer a { color: #ADB5BD; text-decoration: none; }
footer a:hover { color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 540px) {
    section { padding: 52px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .hero { padding: 56px 0 48px; }
    .hero-ctas .btn { width: 100%; text-align: center; }
    .nav-actions .btn-outline { display: none; }
}
