/* =========================================================
   KOVIRA — estilos
   Conceito: papel claro + índigo da marca, com o corte diagonal
   do símbolo da logo como assinatura (bordas de seção e recortes).
   ========================================================= */

:root {
  --indigo: #22178F;
  --indigo-deep: #1A1170;
  --violet: #7549F5;
  --violet-soft: #A48BFA;
  --paper: #F8F7F3;
  --paper-2: #F1EFE9;
  --card: #FDFCFA;
  --ink: #15122E;
  --muted: #545070;
  --lavender: #EEEAFE;
  --lavender-2: #E2DBFD;
  --line: rgba(34, 23, 143, 0.14);
  --line-strong: rgba(34, 23, 143, 0.28);
  --wa: #25D366;
  --wa-dark: #128C4B;
  --danger: #B42318;

  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --header-h: 72px;
  --cut: clamp(28px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 16px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--violet); color: #fff; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--indigo); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: 12px; }

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

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight-top { padding-top: clamp(1rem, 3vw, 2rem); }

.h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); color: var(--ink); }
.accent { color: var(--violet); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 52ch; margin-top: 1rem; }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }
.section-foot--left { justify-content: flex-start; }

/* ---------- bandas e corte diagonal ---------- */
.band { position: relative; }
.band--lavender { background: var(--lavender); }
.band--paper2 { background: var(--paper-2); }
.band--indigo { background: var(--indigo); color: #fff; }
.band--violet { background: var(--violet); color: #fff; }
/* o corte segue a direção do símbolo: sobe da esquerda para a direita */
.band--cut {
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--cut) + clamp(4rem, 8vw, 6.5rem));
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

/* ---------- botões ---------- */
.btn {
  --bg: var(--indigo); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.4rem;
  border-radius: var(--r); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn:active { transform: translateY(1px); }
.btn--primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(34,23,143,.65); }
.btn--primary:hover { --bg: var(--violet); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 24px -12px rgba(117,73,245,.8); }
.btn--ghost { --bg: transparent; --fg: var(--indigo); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--indigo); --fg: #fff; --bd: var(--indigo); }
.btn--light { --bg: #fff; --fg: var(--indigo); }
.btn--light:hover { --bg: var(--lavender); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; border-radius: 12px; }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.06rem; }
.btn--xl { min-height: 64px; padding: 1rem 2rem; font-size: 1.15rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--wrap { white-space: normal; max-width: 100%; }
.btn--wrap span { overflow-wrap: anywhere; }

.btn-text {
  background: none; border: 0; padding: .5rem .25rem; min-height: 44px; cursor: pointer;
  color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.btn-text:hover { color: var(--violet); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  color: var(--indigo); font-family: var(--f-display); font-weight: 600; font-size: 1.08rem;
  text-decoration: underline; text-decoration-color: var(--violet-soft); text-underline-offset: 6px; text-decoration-thickness: 2px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--violet); text-decoration-color: var(--violet); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(21,18,46,.4); }
/* a altura do cabeçalho nunca muda (mudar a altura fazia a página pular e a logo tremer) */
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; border-radius: 8px; }
.brand img { height: 34px; width: auto; transform-origin: left center; transition: transform .25s var(--ease); }
.site-header.is-scrolled .brand img { transform: scale(.9); }
.nav { display: none; gap: .25rem; }
.nav a {
  position: relative; padding: .6rem .75rem; border-radius: 10px; text-decoration: none;
  font-weight: 500; font-size: .98rem; color: var(--ink); transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--indigo); background: var(--lavender); }
.nav a.is-active { color: var(--indigo); }
.nav a.is-active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 2px; background: var(--violet); border-radius: 2px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--card); color: var(--indigo); cursor: pointer;
  transition: background-color .2s var(--ease);
}
.menu-toggle:hover { background: var(--lavender); }
.menu-toggle .ico { width: 24px; height: 24px; }
@media (min-width: 1040px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .brand img { height: 38px; }
}
@media (min-width: 640px) and (max-width: 1039px) { .header-cta { display: inline-flex; } }

/* menu do celular */
.menu-mobile {
  position: fixed; inset: 0; z-index: 100; background: var(--indigo); color: #fff;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.menu-mobile.is-opening { animation: menuIn .32s var(--ease) both; }
@keyframes menuIn { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 12%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
.menu-mobile__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu-mobile__top img { height: 34px; width: auto; }
.menu-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.menu-close .ico { width: 24px; height: 24px; }
.menu-mobile__nav { display: flex; flex-direction: column; padding-top: 1.5rem; flex: 1; }
.menu-mobile__nav a {
  display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-display); font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 600; text-decoration: none; color: #fff;
}
.menu-mobile__nav a:hover, .menu-mobile__nav a:focus-visible { color: var(--violet-soft); }
.menu-mobile__foot { padding-top: 2rem; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2.75rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.hero-copy { min-width: 0; }

.search-pill {
  display: inline-flex; align-items: center; gap: .55rem; max-width: 100%;
  padding: .55rem 1rem .55rem .8rem; margin-bottom: 1.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px -22px rgba(34,23,143,.6);
  color: var(--ink); font-size: .98rem;
}
.search-pill .ico { color: var(--violet); width: 1.15em; height: 1.15em; }
.search-pill__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.caret { width: 2px; height: 1.1em; background: var(--violet); margin-left: -.35rem; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.15rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); }
.hero-line { display: block; }
.hero-line--accent { color: var(--indigo); position: relative; }
.hero-line--accent::after {
  content: ""; display: block; width: min(5.5em, 60%); height: .14em; margin-top: .18em;
  background: linear-gradient(115deg, var(--indigo) 0 49.4%, transparent 49.5% 51.5%, var(--violet) 51.6%);
  border-radius: 99px;
}
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; color: var(--ink); font-weight: 500; font-size: .98rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof .ico { color: #fff; background: var(--violet); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }
@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-direction: column; }
}

/* entrada do hero (único momento orquestrado) */
.js .hero-copy > * { animation: rise .7s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .hero-copy > :nth-child(4) { animation-delay: .2s; }
.js .hero-copy > :nth-child(5) { animation-delay: .26s; }
.js .hero-visual { animation: rise .9s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* visual do hero: navegador + celular */
.hero-visual { position: relative; padding: 0 0 clamp(2.5rem, 8vw, 4rem) 0; min-width: 0; }
.hv-browser { margin-left: 24%; position: relative; z-index: 1; }
.hv-phone { position: absolute; left: 0; bottom: 0; width: clamp(132px, 36%, 196px); z-index: 2; }
@media (min-width: 1040px) { .hv-browser { margin-left: 20%; } .hv-phone { width: 31%; } }
.hv-cut {
  position: absolute; z-index: 0; right: -6%; top: 10%; width: 70%; height: 82%;
  background: var(--lavender);
  clip-path: polygon(22% 100%, 100% 18%, 100% 100%);
  border-radius: 0 0 var(--r-xl) 0;
}

/* ---------- molduras: navegador e celular ---------- */
.browser {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(21,18,46,.45), 0 12px 24px -16px rgba(34,23,143,.3);
}
.browser__bar { display: flex; align-items: center; gap: .75rem; padding: .55rem .8rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #D8D4E6; }
.browser__url {
  flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: .4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .6rem;
  font-size: .78rem; color: var(--muted); overflow: hidden; white-space: nowrap;
}
.browser__url .ico { width: 13px; height: 13px; color: var(--violet); }
.browser__url span { overflow: hidden; text-overflow: ellipsis; }

.phone {
  background: #17142C; border-radius: 15% / 7.4%; padding: 5.2%;
  box-shadow: 0 30px 50px -24px rgba(21,18,46,.6), inset 0 0 0 1.5px rgba(255,255,255,.08);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 28%; height: 2.6%; transform: translateX(-50%); background: #17142C; border-radius: 0 0 12px 12px; z-index: 3; }
.phone__screen { border-radius: 11% / 5.4%; overflow: hidden; background: #fff; position: relative; }

/* escala: o mini-site é desenhado em tamanho fixo e reduzido para caber */
.scaler { position: relative; width: 100%; overflow: hidden; }
.scaler__inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

/* ---------- MINI-SITE (exemplos da demonstração) ---------- */
.ms {
  --s-bg: #fff; --s-fg: #111; --s-soft: #f3f3f3; --s-accent: #333; --s-accent-fg: #fff; --s-muted: rgba(0,0,0,.6); --s-line: rgba(0,0,0,.1);
  --s-head: var(--f-display);
  width: 100%; height: 100%; background: var(--s-bg); color: var(--s-fg);
  font-family: var(--f-body); overflow: hidden; position: relative;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.ms * { box-sizing: border-box; }
.ms-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 4px; font-size: 11px; font-weight: 600; color: var(--s-fg); }
.ms-status i { display: inline-block; width: 16px; height: 8px; border: 1.2px solid currentColor; border-radius: 2.5px; position: relative; opacity: .85; }
.ms-status i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: currentColor; border-radius: 1px; }
.ms-urlbar { margin: 4px 12px 0; padding: 5px 10px; border-radius: 9px; background: var(--s-soft); font-size: 10.5px; color: var(--s-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-nav { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--s-line); }
.ms-mark { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--s-accent); color: var(--s-accent-fg); font-family: var(--s-head); font-weight: 700; font-size: 13px; flex: none; }
.ms-navname { font-family: var(--s-head); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.ms-burger { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; flex: none; opacity: .8; }
.ms-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.ms-links { display: none; }
.ms-hero { padding: 18px 16px 14px; }
.ms-kicker { font-size: 10.5px; font-weight: 600; color: var(--s-accent); letter-spacing: .02em; margin-bottom: 6px; }
.ms-name { font-family: var(--s-head); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; font-size: 30px; overflow-wrap: anywhere; hyphens: auto; }
.ms-title { font-size: 12.5px; line-height: 1.45; color: var(--s-muted); margin-top: 8px; }
.ms-btns { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.ms-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 9px; background: var(--s-accent); color: var(--s-accent-fg); font-size: 11.5px; font-weight: 600; }
.ms-btn svg { width: 13px; height: 13px; }
.ms-btn--ghost { background: transparent; color: var(--s-fg); box-shadow: inset 0 0 0 1.2px var(--s-line); }
.ms-art { position: relative; margin: 4px 16px 0; height: 104px; border-radius: 14px; overflow: hidden; background: var(--s-soft); }
.ms-art__pattern { position: absolute; inset: 0; }
.ms-art__badge { position: absolute; right: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--s-accent); color: var(--s-accent-fg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
.ms-art__badge svg { width: 28px; height: 28px; }
.ms-art__tag { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; background: var(--s-bg); color: var(--s-fg); }
.ms-services { padding: 14px 16px 0; display: grid; gap: 8px; }
.ms-svc { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 11px; background: var(--s-soft); }
.ms-svc__ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--s-bg); color: var(--s-accent); flex: none; }
.ms-svc__ico svg { width: 16px; height: 16px; }
.ms-svc b { display: block; font-size: 11.5px; font-weight: 700; font-family: var(--s-head); }
.ms-svc span { display: block; font-size: 10px; color: var(--s-muted); line-height: 1.3; }
.ms-info { display: flex; gap: 12px; padding: 12px 16px; font-size: 10px; color: var(--s-muted); }
.ms-info span { display: inline-flex; gap: 4px; align-items: center; }
.ms-info svg { width: 12px; height: 12px; color: var(--s-accent); }
.ms-wa { position: absolute; right: 12px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.ms-wa svg { width: 20px; height: 20px; }

/* versão computador do mini-site */
.ms--desktop .ms-nav { padding: 16px 34px; gap: 10px; }
.ms--desktop .ms-mark { width: 30px; height: 30px; font-size: 15px; }
.ms--desktop .ms-navname { font-size: 15px; flex: 0 1 auto; margin-right: auto; max-width: 300px; }
.ms--desktop .ms-burger { display: none; }
.ms--desktop .ms-links { display: flex; gap: 22px; font-size: 12.5px; color: var(--s-muted); align-items: center; }
.ms--desktop .ms-links .ms-btn { margin-left: 6px; }
.ms--desktop .ms-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; padding: 28px 34px 0; align-items: center; }
.ms--desktop .ms-hero { padding: 0; }
.ms--desktop .ms-name { font-size: 44px; }
.ms--desktop .ms-title { font-size: 14px; max-width: 34ch; margin-top: 12px; }
.ms--desktop .ms-btns { margin-top: 18px; }
.ms--desktop .ms-btn { padding: 10px 16px; font-size: 12.5px; }
.ms--desktop .ms-art { margin: 0; height: 210px; border-radius: 18px; }
.ms--desktop .ms-art__badge { width: 78px; height: 78px; right: 22px; bottom: 22px; }
.ms--desktop .ms-art__badge svg { width: 36px; height: 36px; }
.ms--desktop .ms-services { grid-template-columns: repeat(3, 1fr); padding: 24px 34px 0; gap: 12px; }
.ms--desktop .ms-svc { padding: 12px; }
.ms--desktop .ms-info { padding: 14px 34px; font-size: 11px; }

/* troca suave entre exemplos */
.ms-swap { animation: swapIn .45s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- DEMONSTRAÇÃO ---------- */
.demo-grid { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 1040px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 4rem; row-gap: 1.75rem; align-items: start; }
  .demo-controls { grid-column: 1; grid-row: 1; }
  .demo-cta { grid-column: 1; grid-row: 2; }
  .demo-stage { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
.demo-controls { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.demo-controls .lead { margin-top: -.5rem; }
.demo-cta { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; min-width: 0; }
@media (max-width: 1039px) { .demo-cta { align-items: center; text-align: center; } }
.note { font-size: .9rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 0; }
.field__label .hint { font-weight: 400; color: var(--muted); margin-left: .35rem; font-size: .88rem; }
.input {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.input::placeholder { color: #8B87A3; }
.input:hover { border-color: var(--violet-soft); }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(117,73,245,.18); }
.input--big { min-height: 64px; font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 500; border-radius: 16px; padding-inline: 1.15rem; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180,35,24,.1); }
.field__error { color: var(--danger); font-size: .9rem; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 639px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: -2px -2px 0; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; scroll-snap-align: start; }
  .chips--scroll .chip span { white-space: nowrap; }
  .chips--scroll .chip:last-child { padding-right: 2.5rem; }
}
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem;
  border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card);
  font-weight: 500; font-size: .96rem; color: var(--ink); user-select: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .15s var(--ease);
}
.chip span .ico { width: 1.1em; height: 1.1em; color: var(--violet); transition: color .18s var(--ease); }
.chip:hover span { border-color: var(--violet); background: #fff; }
.chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chip input:checked + span .ico { color: var(--violet-soft); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

.chips--sm .chip span { font-size: .93rem; padding: .45rem .9rem; }

.demo-stage { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.view-toggle { display: none; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; gap: 4px; }
@media (min-width: 768px) { .view-toggle { display: inline-flex; } }
.view-toggle__btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem; border-radius: 10px;
  border: 0; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.view-toggle__btn:hover { color: var(--indigo); }
.view-toggle__btn[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.stage { width: 100%; display: flex; justify-content: center; }
.stage__phone { width: min(300px, 82vw); }
.stage__desktop { width: 100%; }
.stage__desktop:not([hidden]) { animation: swapIn .4s var(--ease) both; }

/* ---------- A DOR ---------- */
.pain-grid { display: grid; gap: 2.25rem; }
@media (min-width: 900px) { .pain-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.pain-title { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--indigo); max-width: 13ch; }
.pain-side { display: flex; flex-direction: column; gap: 1.75rem; padding-top: .5rem; }
.pain-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pain-list li {
  position: relative; padding: 1.1rem 0 1.1rem 2.25rem; border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.5;
}
.pain-list li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem; width: 18px; height: 14px;
  background: linear-gradient(115deg, var(--indigo) 0 46%, transparent 46% 56%, var(--violet) 56%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.pain-list li:last-child { font-weight: 600; color: var(--indigo); }

/* ---------- BENEFÍCIOS ---------- */
.benefits-head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.benefits-head .lead { margin-top: 0; }
@media (min-width: 960px) { .benefits-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 4rem; align-items: end; } }
.benefit-list { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.benefit { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.benefit__ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--lavender); color: var(--indigo); }
.benefit h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; padding-top: .2rem; }
.benefit p { color: var(--muted); margin-top: .3rem; font-size: 1rem; max-width: 34ch; }
@media (min-width: 680px) {
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 1040px) {
  .benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; border-top: 0; row-gap: .5rem; }
  .benefit { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: 1.75rem 0 1.5rem; border-bottom: 0; border-top: 1px solid var(--line-strong); }
}

/* ---------- SEGMENTOS ---------- */
.segments-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1040px) {
  .segments-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5rem; align-items: start; }
  .segments-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .segments-foot { grid-column: 2; }
}
.seg-list { display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 680px) { .seg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.seg-list li { border-bottom: 1px solid var(--line-strong); min-width: 0; }
@media (min-width: 680px) { .seg-list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.seg {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center;
  padding: 1.1rem .75rem 1.1rem .5rem; margin: 0; border: 0; background: transparent; text-align: left; cursor: pointer;
  border-radius: var(--r); transition: background-color .2s var(--ease);
}
.seg__ico { grid-row: 1 / 3; width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--card); color: var(--indigo); border: 1px solid var(--line); transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg__name { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.seg__desc { grid-column: 2; font-size: .94rem; color: var(--muted); line-height: 1.4; }
.seg__go { grid-row: 1 / 3; grid-column: 3; width: 22px; height: 22px; color: var(--violet); transition: transform .2s var(--ease); }
.seg:hover { background: var(--card); }
.seg:hover .seg__ico { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.seg:hover .seg__go { transform: translateX(4px); }
.segments-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.segments-foot p { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--indigo); }

/* ---------- COMO FUNCIONA ---------- */
.timeline { --p: 0; position: relative; display: grid; gap: 2rem; counter-reset: s; padding-left: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--lavender-2); }
.timeline::after { background: linear-gradient(var(--indigo), var(--violet)); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1.25rem; row-gap: .35rem; }
.step__num {
  grid-row: 1 / 3; position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--paper); border: 2px solid var(--lavender-2); color: var(--muted);
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.step.is-on .step__num { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.step h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); padding-top: .55rem; }
.step p { color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .timeline::before, .timeline::after { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 3px; }
  .timeline::after { transform-origin: left; transform: scaleX(var(--p)); }
  .step { grid-template-columns: minmax(0, 1fr); row-gap: .6rem; }
  .step__num { grid-row: auto; margin-bottom: .75rem; }
  .step h3 { padding-top: 0; }
}

/* ---------- POR QUE A KOVIRA ---------- */
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .why-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 5rem; align-items: start; } .why-cta { grid-column: 2; } }
.why-title { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; color: #fff; }
.why-list { display: grid; gap: 0; }
.why-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.06rem; color: rgba(255,255,255,.82); }
.why-list li:first-child { padding-top: 0; }
.why-list .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.1); color: #C9B8FF; }
.why-list strong { color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }

/* ---------- PLANOS ---------- */
.plan-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: .9rem; min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-xl); border: 1.5px solid var(--line);
  background: var(--card);
}
.plan--monthly { background: var(--lavender); border-color: var(--lavender-2); }
.plan__head { padding-bottom: 1.1rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.plan__head h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: var(--indigo); }
.plan__head p { color: var(--muted); margin-top: .35rem; font-size: 1.05rem; }
.plan__label { font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--ink); margin-top: .35rem; }
.plan__list { display: grid; gap: .6rem; }
.plan__list li { position: relative; padding-left: 2rem; line-height: 1.45; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 1.35em; height: 1.35em; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 70%;
}
.plan__list .pro::before { background-color: var(--indigo); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__list .con { color: var(--muted); }
.plan__list .con::before { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12h11' fill='none' stroke='%23545070' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }
.plan__list + .btn { margin-top: 1.25rem; }
.plans-foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; margin-top: 2.25rem; }
.plans-foot p { color: var(--muted); max-width: 60ch; }

/* ---------- FORMULÁRIO ---------- */
.quote-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1040px) { .quote-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 4.5rem; align-items: start; } .quote-intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.quote-points { display: grid; gap: .9rem; margin-top: 2rem; }
.quote-points li { display: flex; gap: .75rem; align-items: center; font-weight: 500; }
.quote-points .ico { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--card); color: var(--indigo); border: 1px solid var(--line); }
.quote-card { min-width: 0; background: var(--card); border-radius: var(--r-xl); padding: clamp(1.25rem, 3.5vw, 2.4rem); border: 1px solid var(--lavender-2); box-shadow: 0 30px 60px -40px rgba(34,23,143,.45); }
#form-orcamento { display: flex; flex-direction: column; gap: 1.75rem; }
.form-group { display: flex; flex-direction: column; gap: 1.05rem; }
.form-group + .form-group { padding-top: 1.6rem; border-top: 1px dashed var(--line-strong); }
.form-group__title { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--indigo); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.req-note, .opt-note { font-family: var(--f-body); font-size: .8rem; font-weight: 600; padding: .2rem .55rem; border-radius: 6px; }
.req-note { background: var(--indigo); color: #fff; }
.opt-note { background: var(--lavender); color: var(--muted); }
.req { color: var(--violet); }
.field-row { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select .ico { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--indigo); }
.form-legal { font-size: .88rem; color: var(--muted); text-align: center; margin-top: -.75rem; }
.form-legal a { color: var(--indigo); text-underline-offset: 3px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: .5rem 0; }
.form-done:focus { outline: none; }
.form-done__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--indigo); color: #fff; }
.form-done__ico .ico { width: 28px; height: 28px; }
.form-done h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--indigo); }
.form-done p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5rem; align-items: start; } .faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq-ask { margin-top: 2rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--lavender); display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.faq-ask p { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--indigo); }
.accordion { border-top: 1px solid var(--line-strong); }
.acc { border-bottom: 1px solid var(--line-strong); }
.acc h3 { font-size: inherit; letter-spacing: normal; }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px;
  padding: 1.1rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.06rem, 1.7vw, 1.22rem); color: var(--ink); line-height: 1.3;
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--indigo); }
.acc__btn .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--lavender); color: var(--indigo); transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.acc__btn[aria-expanded="true"] { color: var(--indigo); }
.acc__btn[aria-expanded="true"] .ico { transform: rotate(45deg); background: var(--indigo); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 3.5rem 1.4rem .25rem; color: var(--muted); max-width: 64ch; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.no-js .acc__panel, html:not(.js) .acc__panel { grid-template-rows: 1fr; }

/* ---------- CTA FINAL ---------- */
.final { padding-bottom: calc(clamp(4.5rem, 9vw, 7rem) + var(--cut)); margin-bottom: calc(var(--cut) * -1); }
.final-inner { display: grid; gap: 2rem; }
@media (min-width: 960px) { .final-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); column-gap: 4rem; align-items: end; } }
.final-title { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.final-side { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.final-side p { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 34ch; }
.final .btn--light { box-shadow: 0 18px 30px -18px rgba(21,18,46,.7); }
@media (max-width: 479px) { .final .btn--xl { width: 100%; } }

/* ---------- RODAPÉ ---------- */
.site-footer {
  position: relative; background: var(--indigo); color: rgba(255,255,255,.82);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--cut) + 3.5rem);
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: .15rem; align-items: flex-start; }
.footer-col__title { font-family: var(--f-display); font-weight: 600; color: #fff; margin-bottom: .5rem; }
.footer-col a, .footer-soon { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; text-decoration: none; color: rgba(255,255,255,.85); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-col .ico { width: 1.15em; height: 1.15em; color: #C9B8FF; }
.footer-soon { color: rgba(255,255,255,.55); cursor: default; }
.footer-soon small { font-size: .78rem; padding: .1rem .45rem; border-radius: 5px; background: rgba(255,255,255,.1); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; font-size: .92rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; height: 1px; background: rgba(255,255,255,.14); left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.footer-bottom a { color: rgba(255,255,255,.85); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { display: flex; align-items: center; min-height: 44px; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, calc(env(safe-area-inset-right, 0px) + 12px));
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--float-lift, 0px));
  display: flex; align-items: center; gap: .6rem;
  transition: bottom .25s var(--ease);
}
.wa-float:not([hidden]) { animation: popIn .35s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.wa-float__btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 26px -10px rgba(18,140,75,.7);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.wa-float__btn .ico { width: 30px; height: 30px; }
.wa-float__btn:hover { transform: scale(1.06); background: #1EBE5B; }
.wa-float__bubble {
  pointer-events: none;
  background: var(--card); color: var(--ink); font-weight: 600; font-size: .92rem;
  padding: .55rem .85rem; border-radius: 12px 12px 4px 12px; box-shadow: 0 10px 24px -14px rgba(21,18,46,.6);
  border: 1px solid var(--line); animation: popIn .35s var(--ease) both;
}

/* ---------- COOKIES ---------- */
.cookie {
  position: fixed; z-index: 45;
  left: 0; right: 0; bottom: 0;
  padding: .6rem max(16px, env(safe-area-inset-right, 0px)) max(.6rem, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -24px rgba(21,18,46,.5);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap;
  font-size: .86rem; line-height: 1.4; color: var(--muted);
}
.cookie p { flex: 1 1 200px; }
.cookie a { color: var(--indigo); text-underline-offset: 3px; }
.cookie.is-showing { animation: popIn .3s var(--ease) both; }
.cookie__actions { display: flex; align-items: center; gap: .25rem; }
.cookie .btn--sm { min-height: 40px; padding: .35rem 1rem; }
.cookie .btn-text { min-height: 40px; font-size: .86rem; padding-inline: .6rem; }
@media (min-width: 720px) {
  .cookie { left: max(16px, env(safe-area-inset-left, 0px)); right: auto; bottom: max(16px, env(safe-area-inset-bottom, 0px)); max-width: 440px; border: 1px solid var(--line); border-radius: var(--r); padding: .55rem .6rem .55rem 1rem; flex-wrap: nowrap; }
}
/* espaço no fim da página para o aviso nunca esconder o rodapé */
body { padding-bottom: var(--cookie-space, 0px); }

/* ---------- revelar ao rolar (discreto) ---------- */
.js .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-pending { opacity: 0; transform: translateY(18px); }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
  .caret { display: none; }
}

/* ---------- página interna (política) ---------- */
.doc { padding-block: clamp(2.5rem, 6vw, 5rem); }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--indigo); }
.doc .doc-date { color: var(--muted); margin-top: .75rem; }
.doc h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.5rem; margin-bottom: .75rem; color: var(--ink); }
.doc p, .doc li { color: #3A3654; max-width: 68ch; }
.doc p + p { margin-top: .9rem; }
.doc ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; margin-top: .6rem; }
.doc a { color: var(--indigo); text-underline-offset: 3px; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-bottom: 1.5rem; color: var(--indigo); font-weight: 600; text-decoration: none; }
.back-link .ico { transform: rotate(180deg); }
.back-link:hover { color: var(--violet); }
