:root {
    --bg: #0b1120;
    --bg-soft: #111a2e;
    --card: #16213a;
    --border: #24314f;
    --text: #e6ecf7;
    --muted: #94a3bf;
    --accent: #38bdf8;
    --accent-2: #818cf8;
    --gradient: linear-gradient(135deg, #38bdf8, #818cf8);
    /* Tokens das seções claras */
    --light-bg: #f4f7fc;
    --light-card: #ffffff;
    --light-border: #e2e9f4;
    --ink: #14356b;
    --ink-muted: #5b6b85;
    --accent-ink: #0284c7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.logo img {
    height: 40px; width: 40px;
    border-radius: 10px;
    display: block;
}
.logo span {
    font-size: 1.3rem; font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
    color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn-nav {
    color: #0b1120; background: var(--gradient);
    padding: 9px 20px; border-radius: 8px; font-weight: 600;
}
.nav-links .btn-nav:hover { opacity: 0.9; color: #0b1120; }
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--text); font-size: 1.6rem; line-height: 1;
}

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden;
    padding: 110px 0 120px; text-align: center;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% -10%, rgba(56, 189, 248, 0.18), transparent),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(129, 140, 248, 0.12), transparent);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero .tag {
    display: inline-block; margin-bottom: 20px;
    padding: 6px 16px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-soft);
    color: var(--accent); font-size: 0.85rem; font-weight: 600;
}
.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero h1 .grad {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
    max-width: 640px; margin: 0 auto 36px;
    color: var(--muted); font-size: 1.15rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 10px;
    font-weight: 600; font-size: 1rem; text-decoration: none;
    transition: transform 0.15s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #0b1120; }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: var(--bg-soft); }

/* ===== Sections ===== */
section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ===== Cards de serviço ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px 28px;
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(56, 189, 248, 0.12); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Seções claras ===== */
.section-light { background: var(--light-bg); }
.section-white { background: #ffffff; }
.section-light .section-head h2, .section-white .section-head h2 { color: var(--ink); }
.section-light .section-head p, .section-white .section-head p { color: var(--ink-muted); }
.section-light .card, .section-white .card {
    background: var(--light-card); border-color: var(--light-border);
    box-shadow: 0 2px 14px rgba(16, 42, 84, 0.06);
}
.section-light .card:hover, .section-white .card:hover { border-color: var(--accent); }
.section-light .card h3, .section-white .card h3 { color: var(--ink); }
.section-light .card p, .section-white .card p { color: var(--ink-muted); }
.section-light .icon, .section-white .icon { background: rgba(2, 132, 199, 0.1); }
.section-light .icon svg, .section-white .icon svg { stroke: var(--accent-ink); }

/* ===== Diferenciais (faixa escura) ===== */
.why { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; padding: 8px; }
.why-item strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.why-item span { color: var(--muted); font-size: 0.9rem; }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-align: center; text-decoration: none;
}
.contact-card .cicon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(2, 132, 199, 0.1);
    color: var(--accent-ink);
    margin-bottom: 10px;
}
.contact-card .cicon svg { width: 26px; height: 26px; stroke: var(--accent-ink); }
.contact-card .cicon svg[fill="currentColor"] { stroke: none; }
.contact-card .label {
    color: var(--ink-muted); font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.contact-card .value { color: var(--ink); font-weight: 700; font-size: 1.02rem; word-break: break-word; }
a.contact-card:hover .value { color: var(--accent-ink); }
.contact-cta { text-align: center; margin-top: 48px; }

/* ===== Botão flutuante de WhatsApp ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25d366; color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 34px; height: 34px; }

/* ===== Animação de entrada ===== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0; text-align: center;
    color: var(--muted); font-size: 0.9rem;
}

/* ===== Responsivo ===== */
@media (max-width: 860px) {
    .grid-3, .contact-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--bg-soft); border-bottom: 1px solid var(--border);
        padding: 12px 24px 20px;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 12px 0; }
    .nav-links .btn-nav { text-align: center; margin-top: 8px; }
    section { padding: 64px 0; }
    .hero { padding: 80px 0 90px; }
    .logo span { font-size: 1.15rem; }
}
