/* ===== Zanetti Consultoria — identidade: preto, branco, vermelho bordô ===== */
:root {
  --red: #8e0e12;
  --red-hi: #b3151b;
  --ink: #0c0c0d;
  --ink-2: #16161a;
  --ink-3: #222228;
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --text: #1b1b1f;
  --muted: #5d5d66;
  --muted-dark: #a6a6b0;
  --line: #e6e4e0;
  --radius: 14px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .6em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hl { color: var(--red-hi); }
.section--dark .hl, .hero .hl { color: #e0262d; }

.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .28em; font-size: .8rem; color: #e0262d; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--dark { color: var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; text-decoration: none; padding: .95em 1.7em; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--light { background: #fff; color: var(--red); }
.btn--sm { padding: .6em 1.2em; font-size: .8rem; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(12,12,13,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-grid; text-decoration: none; color: #fff; line-height: 1; }
.brand__bar { height: 3px; background: var(--red-hi); margin-bottom: 4px; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__sub { font-family: var(--head); font-weight: 600; font-size: .62rem; letter-spacing: .62em; text-transform: uppercase; color: #e0262d; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: #ddd; text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: #e0262d; transition: width .25s; }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 10%, rgba(142,14,18,.35), transparent 60%), var(--ink); color: #fff; padding: 170px 0 90px; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 56px 56px; } }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6.2rem); font-weight: 700; margin-bottom: .35em; }
.hero__lead { max-width: 640px; font-size: clamp(1rem, 1.6vw, 1.18rem); color: #cfcfd6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 4.5rem; }

.stats { list-style: none; margin: 0; padding: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.stats strong { display: block; font-family: var(--head); font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; }
.stats span { color: var(--muted-dark); font-size: .88rem; }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted-dark); font-size: 1.05rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.25); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card p b { color: var(--text); }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(142,14,18,.08); display: grid; place-items: center; margin-bottom: 1.2rem; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- band ---------- */
.band { background: linear-gradient(120deg, var(--red) 0%, #5e080b 100%); color: #fff; padding: 70px 0; }
.band__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.band .eyebrow { color: #ffd2d3; }
.band h2 { margin: 0; }
.band p { color: #f6dede; font-size: 1.05rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: .8rem; }
.checks li { padding-left: 2rem; position: relative; color: #e6e6ea; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid #e0262d; border-bottom: 3px solid #e0262d; transform: rotate(-45deg); }

/* phone mock */
.mock { display: grid; place-items: center; }
.mock__phone { width: 270px; aspect-ratio: 9/18; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 36px; padding: 26px 20px; box-shadow: 0 40px 80px -30px rgba(142,14,18,.6), inset 0 0 0 6px #0a0a0b; display: flex; flex-direction: column; gap: 14px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.mock__bar { width: 70px; height: 6px; border-radius: 3px; background: var(--ink-3); margin: 0 auto 6px; }
.mock__row { height: 12px; border-radius: 6px; background: var(--ink-3); }
.mock__row--title { width: 60%; height: 18px; background: #34343c; }
.mock__row--short { width: 65%; }
.mock__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__kpis span { height: 64px; border-radius: 12px; background: var(--ink-3); border-top: 3px solid var(--red-hi); }
.mock__chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 12px; background: #1b1b20; }
.mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--red-hi), var(--red)); }
.mock__sync { font-size: .72rem; color: #8fd19e; text-align: center; letter-spacing: .04em; }

.hero__cta--tight { margin: 0; }

/* ---------- ckwork showcase ---------- */
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.showcase { max-width: 1040px; margin: 0 auto 4rem; }
.showcase__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
.showcase__tabs button { font: 600 .9rem var(--body); padding: .65em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.showcase__tabs button:hover { color: var(--ink); border-color: #cfccc6; }
.showcase__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.showcase__tabs button:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.browser { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eceae6; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d0ca; }
.browser__bar i:first-child { background: var(--red-hi); }
.browser__bar span { margin-left: 12px; flex: 1; max-width: 320px; font-size: .78rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 4px 12px; }
.browser__shot { margin: 0; }
.browser__shot img { width: 100%; height: auto; }
.showcase__note { text-align: center; color: var(--muted); font-size: .82rem; margin: 1rem 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.features article { border-left: 3px solid var(--red); padding-left: 1.2rem; }
.features p { color: var(--muted); font-size: .95rem; margin: 0; }
.showcase__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3.5rem; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 1.4rem; }
.steps span { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--red); line-height: 1; display: block; margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- about ---------- */
.split--about { grid-template-columns: .8fr 1.2fr; }
.about__badge { aspect-ratio: 1; max-width: 380px; width: 100%; background: var(--ink); color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; padding: 2.2rem; position: relative; overflow: hidden; }
.about__badge::before { content: ""; position: absolute; top: 2.2rem; left: 2.2rem; right: 2.2rem; height: 6px; background: var(--red-hi); }
.about__year { font-family: var(--head); font-weight: 700; font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: .9; }
.about__label { font-family: var(--head); text-transform: uppercase; letter-spacing: .35em; color: #e0262d; font-size: .85rem; margin-top: .8rem; }
.founder { margin-top: 2rem; padding: 1.6rem; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; }
.founder__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; border: 3px solid var(--red-hi); }
.founder h3 { margin-bottom: .5em; }
.founder h3 small { display: block; font-size: .72rem; letter-spacing: .3em; color: var(--red); margin-top: .3em; }
.founder p { color: var(--muted); font-size: .97rem; }
.founder p:last-child { margin: 0; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact li { display: grid; gap: .1rem; }
.contact b { font-family: var(--head); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: #e0262d; font-weight: 500; }
.contact a { color: #fff; text-decoration: none; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact a:hover { color: #e0262d; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 2rem; }
.form label { display: grid; gap: .4rem; font-size: .82rem; color: var(--muted-dark); font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-size: .98rem; color: #fff; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; padding: .8em .9em; width: 100%; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #e0262d; }
.form__full { grid-column: 1 / -1; }
.form__note { margin: 0; font-size: .8rem; color: var(--muted-dark); text-align: center; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- footer ---------- */
.footer { background: #070708; color: #8a8a94; padding: 3rem 0; font-size: .86rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer__group { margin: 0; text-align: center; letter-spacing: .05em; }
.footer__group b { color: #fff; }
.footer__legal { margin: 0; max-width: 380px; text-align: right; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__grid, .mock__phone { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1.4rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; background: rgba(12,12,13,.98); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 16px 1.5rem; transform: translateY(-120%); transition: transform .3s; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .header.menu-open .nav { transform: none; }
  .header.menu-open { background: rgba(12,12,13,.98); }
  .header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .band__inner, .split, .split--about { grid-template-columns: 1fr; gap: 2.5rem; }
  .mock { order: -1; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__legal { text-align: center; }
}
@media (max-width: 560px) {
  .cards, .steps, .features { grid-template-columns: 1fr; }
  .showcase__tabs button { font-size: .8rem; padding: .55em 1em; }
  .showcase__cta .btn { width: 100%; text-align: center; }
  .form { grid-template-columns: 1fr; padding: 1.4rem; }
  .hero { padding-top: 130px; }
  .mock__phone { width: 230px; }
}
