/* ==========================================================================
   Bichinho Online — site institucional
   Cores, raios e sombras espelham o app (petapp/lib/shared/utils/app_colors.dart
   e app_theme.dart). Sem fontes nem scripts de terceiros: o site usa a fonte do
   sistema, como o próprio app.
   ========================================================================== */

:root {
  /* Paleta do app */
  --purple: #6B46C1;
  --purple-dark: #55359F;
  --blue: #3182CE;
  --turquoise: #4CC9A6;
  --orange: #FF8C42;
  --yellow: #FFD166;

  /* Textos */
  --ink: #1F2440;
  --text: #333333;
  --body: #474C60;
  --muted: #666666;

  /* Superfícies */
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --line: #E8E8E8;
  --tint-purple: #F1ECFB;
  --tint-blue: #EAF4FF;
  --tint-mint: #E6F7F3;
  --tint-orange: #FFF4E6;
  --tint-pink: #FDEBF2;
  --tint-yellow: #FFF7DD;

  /* Tons de texto com contraste AA sobre os fundos claros */
  --mint-text: #177A5E;
  --orange-text: #B85310;
  --blue-text: #2563A8;
  --pink-text: #C2356B;
  --yellow-text: #8A6100;

  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-night: linear-gradient(120deg, #1B1638 0%, #2C3A8F 62%, #3182CE 100%);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(31, 36, 64, .06);
  --shadow: 0 14px 34px -16px rgba(31, 36, 64, .22), 0 2px 8px rgba(31, 36, 64, .05);
  --shadow-lg: 0 34px 70px -28px rgba(49, 37, 120, .45);

  --container: 1120px;
  --header-h: 72px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  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) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- Cabeçalho */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.site-header.is-stuck,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(31, 36, 64, .08), 0 10px 26px -18px rgba(31, 36, 64, .35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 40px; height: 40px;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: inherit;
  font-weight: 600;
  font-size: .95rem;
}
.nav__links a:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.is-stuck .nav__links a:hover,
.is-open .nav__links a:hover { background: var(--tint-purple); color: var(--purple); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  color: inherit;
  cursor: pointer;
}
.is-stuck .nav__toggle,
.is-open .nav__toggle { background: var(--tint-purple); color: var(--purple); }
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon--close,
.is-open .nav__toggle .icon--menu { display: none; }
.is-open .nav__toggle .icon--close { display: block; }

/* --------------------------------------------------------------- Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.nav__cta { white-space: nowrap; gap: 0; }

.btn--light {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45);
}
.is-stuck .btn--light,
.is-open .btn--light {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(107, 70, 193, .7);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(107, 70, 193, .7);
}

.btn--outline {
  background: #fff;
  color: var(--purple);
  box-shadow: inset 0 0 0 1.5px rgba(107, 70, 193, .35);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--purple); }

/* Botões das lojas */

.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 10px 20px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: #0E0E14;
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(0, 0, 0, .65);
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small {
  display: block;
  font-size: .68rem;
  line-height: 1.15;
  letter-spacing: .02em;
  opacity: .85;
}
.store strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* --------------------------------------------------------------- Selos e chips */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.2;
}
.pill--glass {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
}
.pill--new {
  background: var(--yellow);
  color: #4A3600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  padding: 5px 11px;
}

.chip {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 16px;
  flex: none;
}
.chip .icon { width: 24px; height: 24px; }
.chip--blue { background: #E8EEFF; color: #3A6FE8; }
.chip--mint { background: var(--tint-mint); color: #1FA57F; }
.chip--pink { background: var(--tint-pink); color: #E0457B; }
.chip--orange { background: var(--tint-orange); color: #F0762A; }
.chip--purple { background: var(--tint-purple); color: var(--purple); }
.chip--yellow { background: var(--tint-yellow); color: #C58A00; }

/* --------------------------------------------------------------- Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 124px;
  border-radius: 0 0 48px 48px;
  background: var(--gradient);
  color: #fff;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: min(78vw, 920px);
  aspect-ratio: 1;
  right: -18%;
  bottom: -58%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
}
.hero::after {
  width: 420px;
  aspect-ratio: 1;
  left: -160px;
  top: -190px;
  background: rgba(255, 255, 255, .07);
}

.hero__paws {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(255, 255, 255, .08);
  pointer-events: none;
}
.hero__paws svg { position: absolute; }
.hero__paws svg:nth-child(1) { width: 92px; height: 92px; left: 46%; top: 16%; transform: rotate(-18deg); }
.hero__paws svg:nth-child(2) { width: 60px; height: 60px; left: 4%; bottom: 20%; transform: rotate(14deg); }
.hero__paws svg:nth-child(3) { width: 128px; height: 128px; right: 2%; top: 9%; transform: rotate(24deg); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .94);
}

.hero .stores { margin-top: 30px; }

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-weight: 600;
  font-size: .95rem;
}
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .icon {
  width: 20px; height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

/* Cartões flutuantes ao lado do celular */

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  line-height: 1.3;
  box-shadow: 0 20px 40px -18px rgba(20, 12, 70, .55);
  animation: floaty 6s ease-in-out infinite;
}
.float b { display: block; font-size: .92rem; }
.float span { color: var(--muted); }
.float .chip { width: 38px; height: 38px; border-radius: 12px; }
.float .chip .icon { width: 20px; height: 20px; }
.float--a { left: -9%; top: -2%; }
.float--b { right: -7%; bottom: 8%; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------- Celular */

.phone {
  --phone-w: 290px;
  position: relative;
  width: var(--phone-w);
  padding: calc(var(--phone-w) * .034);
  border-radius: calc(var(--phone-w) * .17);
  background: #14121F;
  box-shadow:
    inset 0 0 0 1.5px #3B3852,
    0 0 0 1px rgba(0, 0, 0, .35),
    var(--shadow-lg);
}
.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--phone-w) * .137);
  background: #fff;
  aspect-ratio: 660 / 1435;
}
.phone__screen::before {
  /* "ilha" da câmera, que a captura do simulador não traz */
  content: "";
  position: absolute;
  z-index: 2;
  top: 1.35%;
  left: 50%;
  width: 31%;
  height: 4.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0B0B10;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.phone--hero { --phone-w: 300px; }

/* --------------------------------------------------------------- Ações rápidas */

.quick {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.quick__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.quick__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.quick__card .chip { margin-bottom: 10px; }
.quick__card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.quick__card p { font-size: .9rem; line-height: 1.45; color: var(--muted); }

/* --------------------------------------------------------------- Seções */

.section { padding: 104px 0; }
.section--white { background: var(--surface); }
.section--tight-top { padding-top: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow .icon { width: 16px; height: 16px; }

.title {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  max-width: 36em;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--body);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head .lead { margin-inline: auto; }

/* Texto + celular lado a lado */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--body);
}
.checks .icon {
  width: 28px; height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--tint-mint);
  color: var(--mint-text);
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--tint-purple);
  color: #3F2E7A;
  font-size: .95rem;
}
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--purple); }

/* "Palco" colorido onde o celular aparece cortado embaixo */

.stage {
  position: relative;
  display: grid;
  place-items: start center;
  height: 560px;
  padding-top: 48px;
  overflow: hidden;
  border-radius: 40px;
}
.stage--purple { background: linear-gradient(160deg, #EDE6FC 0%, #E1EDFB 100%); }
.stage--mint { background: linear-gradient(160deg, #E0F6EF 0%, #E4EEFF 100%); }
.stage--pink { background: linear-gradient(160deg, #FDE8F0 0%, #EEE8FC 100%); }
.stage .phone { --phone-w: 280px; }

.stage__badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 16px 30px -16px rgba(31, 36, 64, .45);
}
.stage__badge .icon { width: 18px; height: 18px; }
.stage__badge--tl { left: 7%; top: 12%; }
.stage__badge--br { right: 7%; bottom: 12%; }
.stage__badge--mint .icon { color: #1FA57F; }
.stage__badge--orange .icon { color: #F0762A; }
.stage__badge--pink .icon { color: #E0457B; }

/* --------------------------------------------------------------- Recursos */

.features-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.features-layout .stage { height: auto; min-height: 560px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FCFCFD;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.feature h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.feature p { font-size: .93rem; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------- Pet Friendly */

.night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 64px 0;
  border-radius: 40px;
  background: var(--gradient-night);
  color: #fff;
}
.night::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: -160px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}
.night .split { align-items: end; gap: 56px; }
.night .split__copy { padding-bottom: 72px; }
.night .eyebrow { color: #C9B8FF; }
.night .title { color: #fff; }
.night .lead { color: rgba(255, 255, 255, .88); }
.night .checks li { color: rgba(255, 255, 255, .92); }
.night .checks .icon { background: rgba(255, 255, 255, .16); color: #7FE8C8; }
.night .note { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .92); }
.night .note .icon { color: var(--yellow); }

.night__phones {
  /* sem overflow próprio: quem corta os celulares embaixo é o painel .night */
  position: relative;
  display: grid;
  place-items: start center;
  height: 540px;
}
.night__phones .phone { --phone-w: 270px; }
.night__phones .phone--back {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-88%) rotate(-7deg);
  opacity: .9;
}
.night__phones .phone--front {
  position: relative;
  z-index: 2;
  transform: translateX(24%);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .85rem;
  font-weight: 600;
}

/* --------------------------------------------------------------- Adoção / ONGs */

.ong {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  margin-top: 32px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.ong .chip { width: 56px; height: 56px; border-radius: 18px; }
.ong h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.ong p { font-size: .95rem; color: var(--body); }

/* --------------------------------------------------------------- Como funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 12px 22px -12px rgba(107, 70, 193, .8);
}
.step h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.step p { color: var(--body); font-size: .97rem; }

/* --------------------------------------------------------------- Privacidade */

.privacy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.privacy__card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.privacy__card .chip { margin-bottom: 14px; }
.privacy__card h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.privacy__card p { font-size: .93rem; line-height: 1.5; color: var(--muted); }

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* --------------------------------------------------------------- Dúvidas */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FCFCFD;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); background: #fff; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
  border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--tint-purple);
  color: var(--purple);
  transition: transform .2s ease;
}
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--body); max-width: 62em; }

/* --------------------------------------------------------------- Chamada final */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 48px 56px;
  border-radius: 40px;
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -140px; bottom: -220px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta__logo { width: 220px; filter: drop-shadow(0 16px 24px rgba(20, 12, 70, .35)); }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.cta p { margin: 12px 0 24px; font-size: 1.08rem; color: rgba(255, 255, 255, .92); max-width: 30em; }

.qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
}
.qr img { width: 136px; height: 136px; }

/* --------------------------------------------------------------- Rodapé */

.site-footer {
  padding: 64px 0 32px;
  background: #1B1838;
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
}
.site-footer a { color: rgba(255, 255, 255, .9); }
.site-footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { max-width: 26em; }
.footer__col h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 10px; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------------- Entrada suave
   A classe .js é posta pelo site.js: sem script, nada fica escondido. */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Páginas legais (política de privacidade e exclusão de conta)
   O texto dessas páginas não muda; aqui só entra a apresentação.
   ========================================================================== */

.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 56px;
  border-radius: 0 0 40px 40px;
  background: var(--gradient);
  color: #fff;
}
.legal-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -140px; top: -180px;
  width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.legal-hero .subtitle { margin-top: 12px; font-size: 1.08rem; color: rgba(255, 255, 255, .94); }
.legal-hero .last-update,
.legal-hero .app-id {
  display: inline-block;
  margin: 18px 8px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}
.legal-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow: auto;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.toc h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.toc ul { display: grid; gap: 2px; }
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--body);
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 500;
}
.toc a:hover { background: var(--tint-purple); color: var(--purple); text-decoration: none; }
.toc a.is-current { background: var(--tint-purple); color: var(--purple); font-weight: 700; }

.legal {
  min-width: 0;
  padding: 40px 44px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  overflow-wrap: break-word;
}
.legal h2 {
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .04em;
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}
.legal p { margin-bottom: 14px; }
.legal ul { display: grid; gap: 8px; margin: 14px 0 18px; }
.legal li {
  position: relative;
  padding: 11px 14px 11px 46px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.legal li .emoji {
  position: absolute;
  left: 14px;
  top: 10px;
  font-size: 1.15em;
  line-height: 1.5;
}
.legal .emoji { margin-right: 6px; }

.legal .highlight-box,
.legal .warning-box,
.legal .contact-info {
  margin: 20px 0;
  padding: 20px 22px;
  border-radius: 20px;
  line-height: 1.7;
}
.legal .highlight-box { background: var(--tint-purple); border: 1px solid #DDD2F6; color: #2E2360; }
.legal .warning-box { background: var(--tint-orange); border: 1px solid #FFDDB8; color: #5B3206; }
.legal .contact-info { background: var(--tint-blue); border: 1px solid #CFE3F8; color: #173B60; }
.legal .contact-info p:last-child { margin-bottom: 0; }

.legal .table-wrapper {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .94rem; }
.legal th,
.legal td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { background: var(--tint-purple); color: var(--ink); font-weight: 700; }
.legal tbody tr:last-child td { border-bottom: 0; }

.legal .center { text-align: center; }
.legal .cta {
  /* botão "Solicitar exclusão por e-mail" da página excluir-conta */
  display: inline-flex;
  grid-template-columns: none;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px -12px rgba(107, 70, 193, .7);
}
.legal .cta::before { content: none; }
.legal .cta:hover { text-decoration: none; transform: translateY(-1px); }

.legal-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.legal-foot h3 { margin: 0 0 4px; color: var(--ink); font-family: var(--font-display); }
.legal-foot .tagline { font-style: italic; }
.legal-foot p { margin-bottom: 8px; }

.scroll-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: 0 14px 26px -12px rgba(107, 70, 193, .8);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: none; }

.page-legal .site-footer { margin-top: 72px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1080px) {
  .float--a { left: 0; }
  .float--b { right: 0; }
  .night { padding: 56px 40px 0; }
  .cta { grid-template-columns: 180px minmax(0, 1fr); padding: 40px; }
  .cta__logo { width: 180px; }
  .qr { display: none; }
  .privacy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 940px) {
  .nav__links {
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: 12px; right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }
  .is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }

  .hero { padding-bottom: 0; border-radius: 0 0 36px 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero .stores, .hero__checks { justify-content: center; }
  .hero__visual { height: 430px; align-items: start; overflow: hidden; }
  .float--a { left: max(0px, calc(50% - 235px)); top: 13%; }
  .float--b { right: max(0px, calc(50% - 235px)); bottom: 16%; }

  .quick { margin-top: 28px; }
  .quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section { padding: 76px 0; }
  .section--tight-top { padding-top: 64px; }
  .section__head { margin-bottom: 40px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__visual { order: 0; }
  .stage { height: 470px; }

  .features-layout { grid-template-columns: 1fr; }
  .features-layout .stage { min-height: 0; height: 470px; order: 2; }

  .night { padding: 48px 28px 0; border-radius: 32px; }
  .night .split__copy { padding-bottom: 8px; }
  .night__phones { height: 440px; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .step::before { grid-row: span 2; margin-bottom: 0; }

  .cta { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 40px 28px; border-radius: 32px; }
  .cta__logo { width: 170px; }
  .cta p { margin-inline: auto; }
  .cta .stores { justify-content: center; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .legal-layout,
  .legal-layout--single { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; max-height: none; }
  .toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .legal { padding: 28px 24px; border-radius: var(--radius-lg); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .brand { font-size: 1.05rem; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .nav { gap: 8px; }
  .nav__cta { padding: 10px 16px; font-size: .9rem; }
  .nav__cta-extra { display: none; }
  .nav__toggle { width: 40px; height: 40px; border-radius: 12px; }

  .hero { padding-top: calc(var(--header-h) + 28px); border-radius: 0 0 32px 32px; }
  .hero__copy { text-align: left; }
  .hero__lead { margin-inline: 0; }
  .hero .stores, .hero__checks { justify-content: flex-start; }
  .hero .store { flex: 1 1 150px; min-width: 0; padding-right: 12px; }
  .hero__visual { height: 400px; }
  .phone--hero { --phone-w: 262px; }
  .float { font-size: .74rem; padding: 8px 12px 8px 8px; }
  .float b { font-size: .84rem; }
  .float--a { left: 0; top: 0; }
  .float--b { right: 0; bottom: 20%; }

  .quick__grid { gap: 12px; }
  .quick__card { padding: 16px; border-radius: 20px; }

  .section { padding: 64px 0; }
  .stage { height: 430px; border-radius: 28px; padding-top: 36px; }
  .stage .phone { --phone-w: 240px; }
  .features { grid-template-columns: 1fr; }
  .features-layout .stage { height: 430px; }

  .night { margin-inline: -4px; padding: 40px 20px 0; border-radius: 28px; }
  .night__phones { height: 400px; }
  .night__phones .phone { --phone-w: 222px; }
  .night__phones .phone--back { transform: translateX(-88%) rotate(-7deg); }
  .night__phones .phone--front { transform: translateX(26%); }

  .ong { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }

  .cta .store { flex: 1 1 150px; min-width: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__legal { flex-direction: column; }

  .legal-hero { border-radius: 0 0 28px 28px; padding-bottom: 40px; }
  .toc ul { grid-template-columns: 1fr; }
  .legal { padding: 22px 16px; }
  .legal li { padding-left: 42px; }
  .legal li .emoji { left: 12px; }
}

@media (max-width: 350px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store, .feature { transition: none; }
}

@media print {
  .site-header, .scroll-to-top, .toc, .site-footer { display: none !important; }
  .legal-hero { padding: 0 0 16px; background: none; color: #000; border-radius: 0; }
  .legal-hero .last-update, .legal-hero .app-id { border-color: #999; background: none; }
  .legal { padding: 0; box-shadow: none; }
  .legal-layout { display: block; }
}
