/* Visual do site institucional: tema escuro, azul da marca + vermelho de destaque */
:root {
    --bg: #07182a;
    --bg-2: #0a2540;
    --card: #0d2f50;
    --blue: #093e6a;
    --blue-light: #2f8fd8;
    --red: #e11d2e;
    --red-dark: #b8141f;
    --text: #e8eef5;
    --muted: #9db2c7;
    --line: rgba(255,255,255,.1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.site {
    font-family: 'Inter var', 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
}
.site a { text-decoration: none; }

/* Navegação */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(7,24,42,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-nav .brand { font-weight: 800; font-style: italic; font-size: 1.4rem; color: #fff; letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; }
.site-nav .brand img { height: 36px; width: 36px; border-radius: 9px; }
.site-nav .brand .dot { color: var(--red); font-size: 2.2rem; line-height: 0; margin-left: 2px; }
.site-nav .nav-link { color: var(--muted); font-weight: 600; padding: .5rem 1rem; }
.site-nav .nav-link:hover { color: #fff; }
.site-nav .navbar-toggler { border: 1px solid rgba(255,255,255,.35); padding: .4rem .6rem; }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(47,143,216,.4); }
.site-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.btn-brand {
    background: var(--red); color: #fff; font-weight: 700;
    border: 0; border-radius: .6rem; padding: .7rem 1.5rem;
    transition: background .2s, transform .2s;
}
.btn-brand:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
    border: 2px solid var(--blue-light); color: #fff; font-weight: 700;
    border-radius: .6rem; padding: .65rem 1.5rem; background: transparent;
}
.btn-ghost:hover { background: var(--blue-light); color: #fff; }

/* Hero */
.hero {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(47,143,216,.35), transparent 60%),
        radial-gradient(600px 380px at -5% 110%, rgba(225,29,46,.22), transparent 60%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    padding: 5rem 0 4rem;
}
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #fff;
    background: rgba(47,143,216,.2); border: 1px solid rgba(47,143,216,.45);
    padding: .35rem .8rem; border-radius: 999px;
}
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: .5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero h1 em::after { content: "."; color: var(--red); }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 34rem; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-stats strong { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.hero-card {
    background: #051220; color: #c9d8e6; border-radius: 1.25rem;
    border: 1px solid var(--line);
    padding: 1.5rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem;
}
.hero-card .dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--red); }
.hero-card .dots span:nth-child(2) { background: #f5b301; }
.hero-card .dots span:nth-child(3) { background: #22c55e; }
.hero-card pre { margin: 1rem 0 0; color: inherit; white-space: pre-wrap; }
.hero-card .k { color: #6cb8f0; }
.hero-card .s { color: #ff7b86; }

/* Seções */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.section-sub { color: var(--muted); max-width: 40rem; }

/* Clientes */
.clients { padding: 2.5rem 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.clients .label { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem; }
.clients .logos { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: center; justify-content: center; }
.clients .logos .lg { display: flex; align-items: center; height: 56px; }
.clients .logos img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }

/* Cards de cases */
.case-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem;
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--blue-light); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); }
.case-card .thumb { height: 160px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: radial-gradient(circle at 50% 40%, #0f4a7c, var(--bg)); border-bottom: 1px solid var(--line); }
.case-card .thumb img { max-height: 100%; max-width: 70%; object-fit: contain; }
.case-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff6b77; }
.case-card h3 { font-size: 1.15rem; font-weight: 700; margin: .4rem 0 .5rem; color: #fff; }
.case-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Serviços */
.service {
    background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem;
    padding: 1.75rem; height: 100%; border-top: 3px solid var(--blue-light);
}
.service:nth-child(odd) { border-top-color: var(--blue-light); }
.service .icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(47,143,216,.18); color: #6cb8f0; margin-bottom: 1rem;
}
.service h3 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Processo */
.step { position: relative; padding-left: 3.2rem; }
.step .n {
    position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--blue), #0b5a9c);
    border-bottom: 4px solid var(--red);
    color: #fff; border-radius: 1.5rem; padding: 3.5rem 2rem; text-align: center;
}
.cta p { color: #d6e6f5; }
.cta .btn-light { border-radius: .6rem; font-weight: 700; padding: .7rem 1.6rem; }

/* Rodapé */
.site-footer { padding: 2rem 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 20;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.case-card .mono { font-size: 2.6rem; font-weight: 800; font-style: italic; color: #fff; letter-spacing: -.03em; }
.case-card .mono::after { content: "."; color: var(--red); }
.case-card .visit { margin-top: auto; padding-top: 1rem; color: #6cb8f0; font-weight: 600; font-size: .9rem; }
.case-card .visit:hover { color: #fff; }

.case-card .thumb.light { background: #f1f5f9; }
.clients .logos .lg.light { background: #f1f5f9; border-radius: .6rem; padding: .4rem .8rem; }
.clients .logos .lg { height: 64px; }
.case-card .thumb img { max-height: 120px; }

/* Logos padronizadas em branco */
.case-card .thumb.light { background: radial-gradient(circle at 50% 40%, #0f4a7c, var(--bg)); }
.clients .logos .lg.light { background: none; padding: 0; }
.clients .logos img,
.case-card .thumb img { filter: brightness(0) invert(1); }
.clients .logos img { opacity: .8; transition: opacity .2s; }
.clients .logos img:hover { opacity: 1; }

/* Carrossel infinito de clientes */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: 0 0 auto; display: flex; align-items: center; gap: 4rem; padding-right: 4rem; min-width: 100%; justify-content: space-around; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }
.marquee .lg { height: 64px; flex: 0 0 auto; display: flex; align-items: center; }
.marquee .lg img { height: 100%; width: auto; max-width: 170px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; transition: opacity .2s; }
.marquee .lg:hover img { opacity: 1; }

/* Eduka */
.eduka { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-bottom: 1px solid var(--line); }
.eduka .dot-red { color: var(--red); }
.chip { font-size: .8rem; font-weight: 600; color: #cfe3f5; background: rgba(47,143,216,.15); border: 1px solid rgba(47,143,216,.35); padding: .3rem .75rem; border-radius: 999px; }
.feat { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: .9rem; padding: 1.1rem 1.2rem; height: 100%; }
.feat h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.feat p { color: var(--muted); font-size: .9rem; margin: 0; }
/* Logo já preparada (branca com texto azul): não aplicar o filtro branco */
.clients .logos img.keep, .marquee .lg img.keep, .case-card .thumb img.keep { filter: none; }

.eduka { padding: 3rem 0; background: var(--bg); border: 0; }
.eduka-box { background: linear-gradient(135deg, rgba(9,62,106,.55), rgba(13,47,80,.4)); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 1.25rem; padding: 2.25rem; }

/* Eduka: seção completa */
.eduka { padding: 5rem 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line); }
