/* ===== Documentar Sistemas — design system ===== */
@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --bg: #031119;
    --bg-2: #061a24;
    --surface: #0b222d;
    --surface-2: #1B262C;
    --line: rgba(232, 232, 232, .08);
    --line-2: rgba(232, 232, 232, .14);
    --text: #E8E8E8;
    --muted: #8fa3ad;
    --cyan: #01ADCF;
    --cyan-2: #5fd8f0;
    --radius: 18px;
    --container: 1180px;
    --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad {
    background: linear-gradient(92deg, var(--cyan) 0%, var(--cyan-2) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(1,173,207,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(1,173,207,.05); } }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px;
    font-weight: 600; font-size: 16px; line-height: 1;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn--primary { background: var(--cyan); color: var(--bg); box-shadow: 0 8px 30px -8px rgba(1,173,207,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(1,173,207,.8); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }

/* ===== Nav ===== */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(3, 17, 25, .72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero__pattern {
    position: absolute; inset: 0;
    background-image: url("../img/brand/simbolo.svg");
    background-size: 28px; background-repeat: space;
    opacity: .05;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero__glow {
    position: absolute; width: 760px; height: 760px; right: -180px; top: -220px;
    background: radial-gradient(circle, rgba(1,173,207,.22) 0%, transparent 65%);
    pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); margin: 22px 0 24px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__facts { display: flex; gap: 34px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 16px; font-weight: 600; }
.hero__facts span { font-size: 14px; color: var(--muted); }

/* Barra de janela */
.terminal__bar, .window__bar {
    display: flex; align-items: center; gap: 7px; padding: 13px 16px;
    border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.terminal__bar i, .window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a42; }
.terminal__bar i:first-child, .window__bar i:first-child { background: #ff5f57; }
.terminal__bar i:nth-child(2), .window__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3), .window__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span, .window__bar span { margin-left: 10px; font-family: var(--mono); }

/* ===== Strip ===== */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { display: flex; align-items: center; gap: 36px; padding: 22px 0; flex-wrap: wrap; }
.strip__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.strip ul { display: flex; gap: 34px; flex-wrap: wrap; font-weight: 600; color: #b5c4cb; font-size: 17px; }

/* ===== Sections ===== */
.section { padding: 80px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(32px, 4vw, 48px); margin: 14px 0 16px; }
.section__head p { color: var(--muted); font-size: 18px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card {
    grid-column: span 2;
    position: relative; padding: 34px;
    background: linear-gradient(180deg, var(--surface), rgba(11,34,45,.4));
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .3s, transform .3s;
    overflow: hidden;
}
.card--lg { grid-column: span 3; }
.card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(1,173,207,.12), transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: rgba(1,173,207,.35); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card__icon {
    width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(1,173,207,.1); border: 1px solid rgba(1,173,207,.25); margin-bottom: 26px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #b5c4cb; }

/* Cases */
.case { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.case--rev .case__media { order: 2; }
.case__kind { font-size: 13px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.case h3 { font-size: 34px; margin: 10px 0 16px; }
.case p { color: var(--muted); }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(1,173,207,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301ADCF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.window, .tablet {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line-2); background: var(--surface);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -30px rgba(1,173,207,.3);
}
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tablet { padding: 18px; border-radius: 28px; background: #0d1418; border: 1px solid #22313a; }
.plan { background: #f4f7f8; border-radius: 12px; width: 100%; }
.plan__walls path { fill: none; stroke: #1B262C; stroke-width: 6; stroke-linecap: square; }
.plan__dims path { fill: none; stroke: #01ADCF; stroke-width: 1.2; }
.plan text { font-family: var(--font); font-size: 12px; fill: #01799a; text-anchor: middle; }
.plan__labels text { fill: #5d7480; font-size: 14px; }
.plan__pen { stroke: #01ADCF; stroke-width: 6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 2.4s ease-in-out infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sites__title { font-size: 22px; margin-bottom: 24px; }
.sites__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: border-color .3s, transform .3s; }
.site:hover { border-color: rgba(1,173,207,.4); transform: translateY(-3px); }
.site img, .site__ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.site__ph { display: grid; place-items: center; color: var(--muted); font-size: 14px; background: var(--surface-2); }
.site span { display: flex; justify-content: space-between; padding: 14px 18px; font-size: 15px; font-weight: 500; }
.site em { font-style: normal; color: var(--cyan); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,34,45,.35); position: relative; }
.steps li::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
.steps__n { font-family: var(--mono); color: var(--cyan); font-size: 14px; }
.steps h3 { font-size: 20px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story blockquote { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; font-weight: 600; margin: 18px 0 18px; letter-spacing: -.02em; }
.story cite { color: var(--muted); font-style: normal; }
.story__author { display: inline-flex; align-items: center; gap: 14px; }
.story__author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(1,173,207,.6); box-shadow: 0 0 0 5px rgba(1,173,207,.1); }
.story__copy p { color: var(--muted); margin-bottom: 18px; font-size: 18px; }
.link { color: var(--cyan); font-weight: 600; display: inline-flex; gap: 8px; }
.link:hover span { transform: translateX(3px); }
.link span { transition: transform .2s; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 84px 0; text-align: center; border-top: 1px solid var(--line);
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(1,173,207,.22), transparent 70%), var(--bg); }
.cta .hero__pattern { mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 80%); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 760px; margin: 26px 0 14px; }
.cta p { color: var(--muted); font-size: 19px; margin-bottom: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }
.footer__grid img { height: 30px; width: auto; }
.footer__tag { color: var(--muted); margin-top: 18px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.footer__grid a, .footer__grid span { display: block; color: #b5c4cb; margin-bottom: 8px; }
.footer__grid a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__bottom a:hover { color: var(--text); }

.wpp { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.55); transition: transform .2s; }
.wpp:hover { transform: scale(1.07); }

/* Reveal (conteúdo sempre visível sem JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== Páginas internas ===== */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 56px; border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse 60% 90% at 80% 0%, rgba(1,173,207,.16), transparent 70%); }
.page-hero--sm { padding: 64px 0 40px; }
.page-hero__inner { position: relative; max-width: 760px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin-top: 16px; font-weight: 700; }
.notfound { min-height: 62vh; display: flex; align-items: center; border-bottom: 0; }
.notfound .lead { margin-top: 20px; }

.prose { max-width: 760px; padding: 64px 0 80px; font-size: 18.5px; line-height: 1.8; }
.prose p { color: #c3d0d6; margin-bottom: 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose a { color: var(--cyan); }
.chapter { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.chapter__n { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
.chapter h2 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 24px; }
.pull { margin: 34px 0; padding: 26px 30px; border-left: 3px solid var(--cyan); border-radius: 0 14px 14px 0;
    background: rgba(1,173,207,.07); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; font-weight: 600; color: var(--text); }
.sign { margin-top: 36px; font-weight: 600; color: var(--text) !important; font-size: 20px; }
.sign span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.legal { font-size: 17px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; }

@media (max-width: 760px) {
    .page-hero { padding: 52px 0 36px; }
    .prose { padding: 44px 0 56px; font-size: 17px; }
    .pull { padding: 20px 22px; }
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
    .hero__grid, .case, .story { grid-template-columns: 1fr; gap: 44px; }
    .case--rev .case__media { order: 0; }
    .bento { grid-template-columns: 1fr 1fr; }
    .card, .card--lg { grid-column: span 1; }
    .steps { grid-template-columns: 1fr 1fr; }
    .sites__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: grid; gap: 6px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
    .nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .3s; }
    .nav.is-open .nav__links {
        display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--bg); padding: 20px 20px 28px; gap: 18px; border-bottom: 1px solid var(--line); font-size: 18px;
    }
    .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .hero { padding: 44px 0 56px; }
    .hero__facts { flex-direction: column; gap: 16px; }
    .section { padding: 60px 0; }
    .bento, .steps, .sites__grid, .footer__grid { grid-template-columns: 1fr; }
    .case { margin-bottom: 56px; }
    .case h3 { font-size: 28px; }
    .card { padding: 26px; }
    .footer__bottom { flex-direction: column; }
}
/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq__head { margin-bottom: 0; position: sticky; top: 110px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq__item:hover, .faq__item[open] { border-color: rgba(1,173,207,.35); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 500; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(1,173,207,.12); color: var(--cyan); font-size: 20px; line-height: 1; transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 14px; }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
    .faq { grid-template-columns: 1fr; gap: 28px; }
    .faq__head { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .m-cursor { display: none; }
}

/* ===================================================================
   Home visual: animações que explicam sem precisar ler
   Estado base = "depois" (aparece assim sem animação / movimento reduzido)
   =================================================================== */
.js .anim:not(.is-playing), .js .anim:not(.is-playing) * { animation-play-state: paused !important; }

/* ----- Hero: papéis viram sistema ----- */
.hv { --T: 10s; position: relative; width: 100%; max-width: 580px; aspect-ratio: 6 / 5; margin-inline: auto; container-type: inline-size; }
.hv__laptop { position: absolute; left: 0; top: 6%; width: 84%; }
.hv__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 2.4cqw 2.4cqw 0 0; border: 1.4cqw solid #13232b; border-bottom-width: 1.8cqw;
    background: #0a1820; overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -20px rgba(1,173,207,.35); }
.hv__screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(1,173,207,.55), transparent 70%); opacity: 0;
    animation: hvFlash var(--T) infinite; pointer-events: none; }
.hv__base { position: relative; height: 2.6cqw; margin: 0 -5%; border-radius: 0 0 2.4cqw 2.4cqw; background: linear-gradient(#2c3d45, #142229); }
.hv__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 1cqw; margin-left: -8%; border-radius: 0 0 1cqw 1cqw; background: #0d181e; }

.hv__app { display: grid; grid-template-columns: 11% 1fr; height: 100%; font-size: 1.9cqw; animation: hvApp var(--T) infinite both; }
.hv__side { background: #0f222b; display: flex; flex-direction: column; align-items: center; gap: 2.2cqw; padding-top: 2cqw; }
.hv__side img { width: 50%; }
.hv__side i { width: 45%; height: .8cqw; border-radius: 1cqw; background: rgba(232,232,232,.14); }
.hv__side i:first-of-type { background: var(--cyan); }
.hv__main { padding: 2.2cqw 2.6cqw; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.8cqw; min-width: 0; }
.hv__top { display: flex; justify-content: space-between; align-items: center; }
.hv__top b { font-size: 2.4cqw; font-weight: 600; }
.hv__top span { color: var(--muted); font-size: 1.7cqw; }
.hv__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.hv__kpis div { padding: 1.3cqw 1.5cqw; border-radius: 1.2cqw; background: #12262f; border: 1px solid var(--line); animation: hvIn var(--T) calc(var(--i) * .25s) infinite both; }
.hv__kpis small { display: block; color: var(--muted); font-size: 1.5cqw; white-space: nowrap; }
.hv__kpis strong { font-size: 2.8cqw; font-weight: 700; line-height: 1.2; }
.hv__kpis .ok { color: #3ddc97; }
.hv__chart { display: flex; align-items: flex-end; gap: 1.3cqw; padding: 0 .4cqw; border-bottom: 1px solid var(--line-2); min-height: 0; }
.hv__chart i { flex: 1; height: var(--h); border-radius: .6cqw .6cqw 0 0; background: linear-gradient(var(--cyan-2), var(--cyan)); transform-origin: bottom;
    animation: hvBar var(--T) calc(var(--i) * .09s) infinite both; }
.hv__chart i:nth-child(odd) { opacity: .55; }
.hv__rows { display: grid; gap: 1cqw; }
.hv__rows p { display: flex; align-items: center; gap: 1.4cqw; padding: .9cqw 1.3cqw; border-radius: 1cqw; background: #12262f;
    animation: hvIn var(--T) calc(.9s + var(--i) * .3s) infinite both; }
.hv__rows p i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: rgba(1,173,207,.3); }
.hv__rows p span { flex: 1; height: .9cqw; border-radius: 1cqw; background: rgba(232,232,232,.15); }
.hv__rows em { font-style: normal; font-size: 1.5cqw; padding: .3cqw 1.2cqw; border-radius: 3cqw; background: rgba(61,220,151,.14); color: #3ddc97; }

.hv__papers { position: absolute; left: 42%; top: 33%; width: 0; height: 0; }
.hv__paper { position: absolute; width: 15cqw; aspect-ratio: 3 / 4; margin: -10cqw 0 0 -7.5cqw; padding: 2cqw 1.8cqw; border-radius: 1cqw;
    background: #f1f4f5; box-shadow: 0 1.6cqw 3cqw -1cqw rgba(0,0,0,.6); display: grid; align-content: start; gap: 1.4cqw;
    opacity: 0; animation: hvPaper var(--T) calc(var(--i) * .07s) infinite both; }
.hv__paper i { height: .9cqw; border-radius: 1cqw; background: #c7d2d7; }
.hv__paper i:first-child { background: #8fa3ad; width: 70%; }
.hv__paper .short { width: 55%; }
.hv__mess { position: absolute; left: 14cqw; top: -24cqw; font-size: 6cqw; font-weight: 700; color: #febc2e; opacity: 0; animation: hvMess var(--T) infinite both; }

.hv__phone { position: absolute; right: 0; bottom: 10%; width: 27%; aspect-ratio: 9 / 15; padding: 5cqw 1.6cqw 2cqw; border-radius: 4cqw;
    border: 1.2cqw solid #13232b; background: linear-gradient(180deg, #0f222b, #0a1820); display: flex; flex-direction: column; gap: 1.6cqw;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 60px -20px rgba(1,173,207,.4); animation: hvPhone var(--T) infinite both; }
.hv__notch { position: absolute; top: 1.4cqw; left: 50%; width: 30%; height: 1.4cqw; margin-left: -15%; border-radius: 2cqw; background: #13232b; }
.hv__note { display: flex; align-items: center; gap: 1.2cqw; padding: 1.4cqw; border-radius: 1.6cqw; background: #16303b; font-size: 1.75cqw; line-height: 1.2; font-weight: 500;
    animation: hvNote var(--T) calc(var(--i) * .55s) infinite both; }
.hv__note b { flex: none; width: 3cqw; height: 3cqw; border-radius: 50%; display: grid; place-items: center; background: #3ddc97; color: #04241a; font-size: 1.7cqw; }

.hv__tag { position: absolute; left: 2%; bottom: 0; display: grid; align-items: center; grid-template-columns: auto 1fr; column-gap: 1.6cqw;
    padding: 1.4cqw 2.6cqw 1.4cqw 2cqw; border-radius: 99px; background: rgba(6,26,36,.92); border: 1px solid var(--line-2); font-size: 2.3cqw; font-weight: 600;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.hv__tag i { grid-row: 1; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #3ddc97; animation: hvDot var(--T) infinite both; }
.hv__tag span { grid-area: 1 / 2; white-space: nowrap; }
.hv__before { color: #febc2e; opacity: 0; animation: hvBefore var(--T) infinite both; }
.hv__after { animation: hvAfter var(--T) infinite both; }

@keyframes hvPaper {
    0%   { opacity: 0; transform: translate(var(--x), calc(var(--y) - 6cqw)) rotate(var(--r)); }
    5%   { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
    14%  { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * -.6)); }
    24%  { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
    35%  { opacity: 0; transform: translate(0, 0) rotate(0) scale(.12); }
    100% { opacity: 0; transform: translate(0, 0) scale(.12); }
}
@keyframes hvMess { 0%, 6% { opacity: 0; transform: scale(.4); } 10%, 24% { opacity: 1; transform: none; } 30%, 100% { opacity: 0; } }
@keyframes hvFlash { 0%, 30% { opacity: 0; } 36% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes hvApp { 0%, 32% { opacity: 0; } 40%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes hvIn { 0%, 38% { opacity: 0; transform: translateY(1.2cqw); } 44%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hvBar { 0%, 40% { transform: scaleY(0); } 52%, 92% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
@keyframes hvPhone { 0%, 42% { opacity: 0; transform: translateY(8cqw); } 50%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes hvNote { 0%, 54% { opacity: 0; transform: translateX(-3cqw) scale(.9); } 59%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hvBefore { 0%, 3% { opacity: 0; } 6%, 28% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes hvAfter { 0%, 36% { opacity: 0; } 42%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes hvDot { 0%, 33% { background: #febc2e; } 38%, 100% { background: #3ddc97; } }

/* ----- O que fazemos: 4 cards com mini animação ----- */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { padding: 14px 14px 24px; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), rgba(11,34,45,.4)); transition: border-color .3s, transform .3s; }
.svc:hover { border-color: rgba(1,173,207,.35); transform: translateY(-3px); }
.svc__art { border-radius: 12px; background: radial-gradient(circle at 50% 0%, rgba(1,173,207,.16), transparent 70%), #071923; border: 1px solid var(--line); padding: 10px; margin-bottom: 20px; }
.svc__art svg { width: 100%; height: auto; overflow: visible; }
.svc h3 { font-size: 20px; margin: 0 8px 8px; }
.svc p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin: 0 8px; }

.svc svg text { font: 600 10px var(--font); fill: var(--bg); text-anchor: middle; }
.m-frame { fill: #0d222c; stroke: rgba(232,232,232,.14); stroke-width: 1.5; }
.m-side, .m-bar { fill: #112a35; }
.m-dot { fill: var(--cyan); }
.m-soft { fill: rgba(232,232,232,.16); }
.m-cy { fill: var(--cyan); }
.m-ok { fill: #3ddc97; }
.m-card { fill: #143340; }
.m-grow { fill: var(--cyan); opacity: .8; }
.m-draw { fill: none; stroke: var(--cyan-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
.m-check { fill: #3ddc97; }
.m-tick { fill: none; stroke: #04241a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-bubble { fill: var(--cyan); }
.m-bubble--alt { fill: #3ddc97; }
.m-input { fill: #143340; stroke: rgba(232,232,232,.1); }
.m-btn { fill: var(--cyan); }
.m-flow { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-dasharray: 4 5; stroke-linecap: round; }
.m-gear { fill: none; stroke: var(--cyan); stroke-width: 7; stroke-dasharray: 5.2 3; }
.m-gear2 { fill: var(--cyan); }
.m-paper { fill: #eef2f4; }
.m-line { fill: #b8c6cc; }
.m-title { fill: var(--text); }
.m-img { fill: #16394a; }
.m-sun { fill: #febc2e; }
.m-hill { fill: var(--cyan); opacity: .7; }
.m-cta { fill: var(--cyan); }
.m-cursor { fill: #fff; stroke: #031119; stroke-width: 1.2; }

.svc svg * { transform-box: fill-box; }
.m-pop { transform-origin: center; animation: mPop 6s var(--d, 0s) infinite both; }
.m-grow { transform-origin: bottom; animation: mGrow 6s var(--d, 0s) infinite both; }
.m-draw { animation: mDraw 6s infinite both; }
.m-doc { transform-origin: left center; animation: mDoc 6s var(--d, 0s) infinite both; }
.m-spin { transform-origin: center; animation: mSpin 2s linear infinite; }
.m-flow { animation: mFlow .8s linear infinite; }
.m-cta { transform-origin: center; animation: mPop 6s 1.6s infinite both, mClick 6s 1.6s infinite; }
.m-cursor { animation: mCursor 6s infinite both; }

@keyframes mPop { 0% { opacity: 0; transform: translateY(6px) scale(.85); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes mGrow { 0% { transform: scaleY(0); } 14%, 82% { transform: scaleY(1); } 92%, 100% { transform: scaleY(0); } }
@keyframes mDraw { 0%, 22% { stroke-dashoffset: 100; } 45%, 82% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes mDoc { 0% { opacity: 0; transform: translateX(-28px) scale(.4); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes mSpin { to { transform: rotate(360deg); } }
@keyframes mFlow { to { stroke-dashoffset: -9; } }
@keyframes mClick { 0%, 42% { transform: none; } 45% { transform: scale(.88); } 50%, 100% { transform: none; } }
@keyframes mCursor { 0%, 22% { opacity: 0; transform: translate(150px, 70px); } 28% { opacity: 1; transform: translate(150px, 70px); }
    44%, 72% { opacity: 1; transform: translate(52px, 114px); } 80%, 100% { opacity: 0; transform: translate(52px, 114px); } }

/* ----- Como trabalhamos: fluxo com ícones ----- */
.howto { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: hw; }
.howto::before { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line-2); }
.howto::after { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
    transform-origin: left; animation: howtoLine 6s ease-in-out infinite; }
.howto li { position: relative; text-align: center; counter-increment: hw; }
.howto__icon { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
    background: #0a1f29; border: 1px solid rgba(1,173,207,.35); box-shadow: 0 0 0 6px var(--bg);
    animation: howtoPing 6s calc(var(--i) * 1.2s) infinite; }
.howto__icon::after { content: counter(hw); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    background: var(--cyan); color: var(--bg); font-size: 12px; font-weight: 700; }
.howto__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.howto h3 { font-size: 20px; margin-bottom: 6px; }
.howto p { color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 220px; margin-inline: auto; }
@keyframes howtoLine { 0% { transform: scaleX(0); } 70%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes howtoPing { 0%, 100% { border-color: rgba(1,173,207,.35); transform: none; }
    6% { border-color: var(--cyan); transform: scale(1.08); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(1,173,207,.6); } 14% { transform: none; } }

/* ----- História: mini linha do tempo ----- */
.mtl { position: relative; display: grid; gap: 14px; margin-bottom: 26px; }
.mtl::before { content: ""; position: absolute; left: 23px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--cyan), rgba(1,173,207,.15)); }
.mtl li { position: relative; display: flex; align-items: center; gap: 16px; }
.mtl b { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
    background: #0a1f29; border: 1px solid rgba(1,173,207,.35); }
.mtl span { font-size: 17px; color: #c3d0d6; }
.js .mtl li { opacity: 0; transform: translateX(-12px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .25s); }
.js .story.is-in .mtl li, .js .story:not(.reveal) .mtl li { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .hv { max-width: 520px; }
    .svcs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .svcs { grid-template-columns: 1fr; gap: 12px; }
    .svc { display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: center; padding: 10px; }
    .svc__art { margin: 0; padding: 6px; grid-row: span 2; }
    .svc { row-gap: 4px; }
    .svc h3 { align-self: end; }
    .svc p { align-self: start; }
    .svc h3 { font-size: 17px; margin: 0 0 4px; }
    .svc p { font-size: 14px; margin: 0; }
    .hero__grid { gap: 28px; }
    .hero h1 { margin: 16px 0 16px; }
    .lead { font-size: 17px; }
    .hero__actions { margin-top: 24px; }
    .hero__actions .btn { padding: 13px 18px; font-size: 15px; }
    .hero .hero__facts { flex-direction: row; gap: 14px; margin-top: 24px; padding-top: 16px; }
    .hero__facts strong { font-size: 14px; }
    .hero__facts span { font-size: 12px; line-height: 1.35; }
    .howto { grid-template-columns: 1fr 1fr; row-gap: 34px; }
    .howto::before, .howto::after { display: none; }
}

/* ----- Depoimentos ----- */
.deps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dep { position: relative; margin: 0; padding: 30px 28px 26px; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), rgba(11,34,45,.4)); display: flex; flex-direction: column; overflow: hidden; }
.dep__q { position: absolute; right: 20px; top: -18px; font-size: 140px; line-height: 1; font-weight: 700; color: rgba(1,173,207,.12); pointer-events: none; }
.dep h3 { font-size: 20px; margin-bottom: 12px; padding-right: 40px; }
.dep blockquote { margin: 0 0 24px; color: #b9c8cf; font-size: 15px; line-height: 1.6; flex: 1; }
.dep figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.dep img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(1,173,207,.5); }
.dep figcaption span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.dep figcaption b { color: var(--text); font-size: 16px; font-weight: 600; }
.dep figcaption em { font-style: normal; color: var(--cyan); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 980px) { .deps { grid-template-columns: 1fr; } }
