/* Flocx — landing page. HTML + CSS puros, sem JavaScript. */

:root {
  --ink: #052e38;
  --ink-soft: #3d5a63;
  --ink-mute: #6b858d;
  --bg: #f3f8f9;
  --surface: #ffffff;
  --line: #dbe8eb;
  --brand: #0d6e82;
  --brand-deep: #063f4d;
  --brand-soft: #e3f1f4;
  --accent: #f59a0c;
  --accent-soft: #fff1d6;
  --ok: #1f9d6b;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(5 46 56 / 6%), 0 4px 12px rgb(5 46 56 / 5%);
  --shadow-lg: 0 24px 60px -12px rgb(5 46 56 / 22%);
  --font: ui-sans-serif, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-deep); color: #fff; box-shadow: 0 10px 24px -10px rgb(6 63 77 / 70%); }
.btn-primary:hover { background: var(--brand); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent { background: var(--accent); color: var(--brand-deep); }
.btn-accent:hover { box-shadow: 0 10px 24px -10px rgb(245 154 12 / 80%); }
.btn-sm { padding: 11px 20px; font-size: .9375rem; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: linear-gradient(var(--bg) 60%, rgb(243 248 249 / 0%)); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgb(255 255 255 / 85%); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; color: var(--brand-deep); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { white-space: nowrap; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--ink-soft); transition: background .15s, color .15s; }
.nav-links a:not(.btn):hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgb(13 110 130 / 20%), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -15%; width: 50%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgb(245 154 12 / 14%), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: #8a5300; font-size: .75rem; letter-spacing: .02em; }

.hero h1 { margin-top: 24px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; z-index: -1;
  background: var(--accent); border-radius: 99px; opacity: .55;
}
.lead { margin-top: 24px; max-width: 34em; font-size: 1.2rem; color: var(--ink-soft); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.check svg { width: 12px; height: 12px; }

/* Composição de UI do hero */
.stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.stage::before {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.phone {
  position: relative; width: 272px; padding: 10px; border-radius: 42px; background: #0a1c21;
  box-shadow: var(--shadow-lg); transform: rotate(3deg);
}
.screen { border-radius: 33px; background: var(--bg); overflow: hidden; padding: 18px 14px 14px; min-height: 480px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.screen-top strong { font-size: .95rem; letter-spacing: -0.02em; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--brand-deep); flex: none; }
.avatar.a2 { background: var(--accent-soft); color: #8a5300; }
.avatar.a3 { background: #dff5ea; color: #14704c; }
.chips { display: flex; gap: 6px; margin-bottom: 12px; }
.chips span { padding: 5px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.chips span:first-child { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.post { background: var(--surface); border-radius: 16px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.post-head { display: flex; align-items: center; gap: 8px; font-size: .74rem; }
.post-head b { display: block; font-size: .78rem; line-height: 1.2; }
.post-head span { color: var(--ink-mute); }
.post p { margin-top: 9px; font-size: .78rem; line-height: 1.45; color: var(--ink-soft); }
.post-img { margin-top: 9px; height: 74px; border-radius: 11px; background: linear-gradient(120deg, var(--brand-soft), #c3e1e8 55%, var(--accent-soft)); }
.post-foot { margin-top: 9px; display: flex; gap: 14px; font-size: .7rem; color: var(--ink-mute); font-weight: 600; }
.tabbar { margin-top: 12px; display: flex; justify-content: space-around; padding: 10px; border-radius: 18px; background: var(--brand-deep); }
.tabbar i { width: 22px; height: 22px; border-radius: 8px; background: rgb(255 255 255 / 22%); }
.tabbar i:first-child { background: var(--accent); }

.float {
  position: absolute; background: var(--surface); border-radius: 18px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite;
}
.float.card { left: -2%; top: 14%; width: 220px; background: linear-gradient(135deg, #0f7f95, var(--brand-deep)); color: #fff; border: 0; transform: rotate(-6deg); }
.float.card small { opacity: .75; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.float.card strong { display: block; margin-top: 18px; font-size: 1.05rem; letter-spacing: -0.02em; }
.float.card .row { display: flex; justify-content: space-between; align-items: end; margin-top: 4px; font-size: .72rem; opacity: .85; }
.qr { width: 38px; height: 38px; border-radius: 8px; background:
  conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0/10px 10px, rgb(255 255 255 / 18%); }
.float.notif { right: -1%; bottom: 18%; width: 230px; display: flex; gap: 12px; align-items: center; animation-delay: -2s; }
.float.notif .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: #8a5300; display: grid; place-items: center; flex: none; }
.float.notif b { display: block; font-size: .85rem; line-height: 1.25; }
.float.notif span { font-size: .74rem; color: var(--ink-mute); }
.float.stat { right: 2%; top: 6%; text-align: center; padding: 12px 18px; animation-delay: -4s; }
.float.stat b { display: block; font-size: 1.5rem; letter-spacing: -0.04em; color: var(--ok); }
.float.stat span { font-size: .72rem; color: var(--ink-mute); font-weight: 600; }
.mascot { position: absolute; left: 4%; bottom: 0; width: 118px; filter: drop-shadow(0 12px 18px rgb(0 0 0 / 25%)); animation: bob 5s ease-in-out infinite reverse; }

@keyframes bob { 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }


/* ---------- Painel (hero) ---------- */
.dash { position: relative; width: min(100%, 470px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: rotate(-1.5deg); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-bar i:first-child { background: #f59a0c; }
.dash-bar b { margin-left: 10px; font-size: .78rem; letter-spacing: -0.01em; color: var(--ink-soft); }
.dash-body { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col { background: var(--bg); border-radius: 14px; padding: 10px; min-height: 250px; }
.col h5 { margin: 0 0 10px; display: flex; justify-content: space-between; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.col h5 span { color: var(--brand); }
.kcard { background: var(--surface); border-radius: 11px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm); font-size: .74rem; line-height: 1.35; }
.kcard b { display: block; font-size: .76rem; letter-spacing: -0.01em; }
.kcard small { color: var(--ink-mute); font-size: .68rem; }
.kcard .tags { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.tag-s { padding: 2px 8px; border-radius: 99px; font-size: .64rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-deep); }
.tag-s.w { background: var(--accent-soft); color: #8a5300; }
.tag-s.g { background: #dff5ea; color: #14704c; }
.kcard .avatar { width: 22px; height: 22px; font-size: .58rem; }
.float.sla { left: -3%; bottom: 14%; width: 236px; animation-delay: -1s; }
.float.sla b { display: block; font-size: .82rem; line-height: 1.25; }
.float.sla span { font-size: .72rem; color: var(--ink-mute); }
.bar { margin-top: 10px; height: 7px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: 68%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #2fb7ce); }
.float.lead { right: -2%; top: 1%; width: 214px; display: flex; gap: 12px; align-items: center; animation-delay: -3s; }
.float.lead .dot { width: 36px; height: 36px; border-radius: 12px; background: #dff5ea; color: #14704c; display: grid; place-items: center; flex: none; }
.float.lead b { display: block; font-size: .8rem; line-height: 1.25; }
.float.lead span { font-size: .72rem; color: var(--ink-mute); }
.caption { margin-top: 12px; font-size: .78rem; color: var(--ink-mute); text-align: center; }

/* ---------- Segmentos ---------- */
.seg-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.seg { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.seg .emoji { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--accent-soft); }
.seg h3 { margin-top: 20px; font-size: 1.3rem; }
.seg p { margin-top: 8px; color: var(--ink-soft); font-size: .97rem; }
.seg ul { margin-top: 16px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-soft); }
.seg li { display: flex; gap: 8px; }
.seg li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.seg-note { margin-top: 28px; text-align: center; color: var(--ink-soft); }
.seg-note a { color: var(--brand); font-weight: 600; }

/* ---------- Faixa de segmentos ---------- */
.band { padding: 8px 0 72px; text-align: center; }
.band p { color: var(--ink-mute); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.band ul { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.band li { padding: 12px 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.15rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Bento de recursos */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { margin-top: 22px; font-size: 1.5rem; }
.tile p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.t-lg { grid-column: span 3; }
.t-md { grid-column: span 2; }
.t-full { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.tile.social { background: linear-gradient(120deg, var(--accent-soft), #fff 70%); border-color: #f6dfae; }
.tile.social .ico { background: #fff; color: #a05d00; }
.tile.social .mini { margin-top: 0; align-items: center; }
.tile.social .mini span { background: #fff; color: #7a4800; border: 1px solid #f6dfae; }
.tile.social .mini .btn { margin-top: 8px; }
.tile.dark { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; border: 0; }
.tile.dark p { color: rgb(255 255 255 / 80%); }
.tile.dark .ico { background: rgb(255 255 255 / 14%); color: #fff; }
.tile.warm { background: var(--accent-soft); border-color: #f6dfae; }
.tile.warm .ico { background: #fff; color: #a05d00; }
.tile .mini { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile .mini span { padding: 6px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-deep); }
.tile.dark .mini span { background: rgb(255 255 255 / 14%); color: #fff; }
.tile.warm .mini span { background: #fff; color: #7a4800; }

/* Como funciona */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 34px 30px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 3.4rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--brand-soft); -webkit-text-stroke: 1.5px var(--brand); }
.step h3 { margin-top: 18px; font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--ink-soft); }

/* Marca própria (white-label) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand-deep), #0a5568); color: #fff; box-shadow: var(--shadow-lg);
}
.panel h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.brands { margin-top: 18px; display: grid; gap: 12px; }
.brand-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 12%); }
.brand-row .sw { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 1rem; flex: none; }
.brand-row b { display: block; line-height: 1.2; }
.brand-row span { font-size: .85rem; opacity: .7; }
.brand-row .tag { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / 14%); font-size: .74rem; font-weight: 600; }
.sw.s1 { background: #fff; color: var(--brand-deep); }
.sw.s2 { background: var(--accent); color: var(--brand-deep); }
.sw.s3 { background: #7dd3c0; color: var(--brand-deep); }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.ticks li b { color: var(--ink); }
.ticks .check { margin-top: 3px; }

/* Segurança */
.trust { padding: 0 0 96px; }
.trust-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 40px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, #11879f 0%, transparent 55%), var(--brand-deep);
  overflow: hidden;
}
.trust-box h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.trust-box p { margin-top: 18px; color: rgb(255 255 255 / 80%); font-size: 1.1rem; max-width: 32em; }
.trust-box .btn { margin-top: 30px; }
.trust-list { display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 14%); font-weight: 600; }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.trust-list small { display: block; font-weight: 400; opacity: .72; font-size: .88rem; }

/* FAQ */
.faq { margin-top: 48px; display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { padding: 0 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--brand); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); }

/* CTA final */
.cta { padding: 0 0 96px; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border-radius: 40px; background: var(--accent-soft); border: 1px solid #f6dfae; }
.cta-box img { width: 96px; margin: 0 auto 8px; }
.cta-box h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 14em; margin-inline: auto; }
.cta-box p { margin: 20px auto 0; max-width: 36em; color: #6b4a14; font-size: 1.15rem; }
.cta-box .hero-cta { justify-content: center; }

/* ---------- Rodapé ---------- */
.footer { padding: 64px 0 36px; background: var(--brand-deep); color: rgb(255 255 255 / 78%); font-size: .975rem; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer p { margin-top: 16px; max-width: 24em; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.legal-line { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 14%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem; opacity: .8; }

/* ---------- Páginas legais ---------- */
.doc-hero { padding: 48px 0 24px; }
.doc-hero h1 { margin-top: 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc-hero p { margin-top: 14px; color: var(--ink-soft); }
.doc-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 96px; }
.toc { position: sticky; top: 100px; padding: 22px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-soft); }
.toc a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.doc { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.doc section + section { margin-top: 44px; }
.doc h2 { font-size: 1.6rem; letter-spacing: -0.03em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p { margin-top: 14px; }
.doc ol, .doc ul { margin: 14px 0 0; padding-left: 1.4em; list-style: revert; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--brand); font-weight: 600; }
.doc .num { color: var(--ink); font-weight: 700; margin-right: .35em; }
.doc dl { margin: 18px 0 0; display: grid; gap: 12px; }
.doc dt { font-weight: 700; color: var(--ink); }
.doc dd { margin: 2px 0 0; color: var(--ink-soft); }
.doc table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--brand-soft); color: var(--brand-deep); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.doc th:first-child { border-radius: 12px 0 0 12px; }
.doc th:last-child { border-radius: 0 12px 12px 0; }
.notice { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #f6dfae; color: #6b4a14; font-size: .95rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .trust-box { grid-template-columns: 1fr; }
  .stage { min-height: 520px; margin-top: 16px; }
  .t-lg, .t-md, .t-full { grid-column: span 6; }
  .t-full { grid-template-columns: 1fr; gap: 0; }
  .tile.social .mini { margin-top: 26px; }
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .doc-wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .t-md { grid-column: span 3; }
}

@media (max-width: 860px) {
  .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-deep); transition: transform .2s, background .2s; }
  .nav-burger span { position: relative; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--accent); outline-offset: 3px; }
  .nav { position: relative; flex-wrap: wrap; border-radius: 32px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; padding: 8px 0 4px; }
  .nav-toggle:checked ~ .nav-links a:not(.btn) { padding: 14px 16px; }
  .nav-toggle:checked ~ .nav-actions { display: flex; width: 100%; order: 4; flex-direction: column; padding-bottom: 8px; }
  .nav-toggle:checked ~ .nav-actions .btn { width: 100%; }
  .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .stage { min-height: 500px; }
  .float.card { left: -6%; width: 190px; }
  .float.notif { right: -6%; width: 200px; }
  .float.stat { display: none; }
  .seg-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: repeat(2, 1fr); }
  .dash-body .col:nth-child(3) { display: none; }
  .float.sla { left: -4%; width: 200px; }
  .float.lead { right: -4%; width: 180px; }
  .mascot { width: 92px; }
  .tile { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
}

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