/*
  Livowa — Design System v2 "Nocturnal Botanical"
  Escuro com UM momento de verde vivo. Fraunces (títulos) + Inter (corpo).
  Mesmo sistema visual do funil (quiz.livowa.com / página de resultado).
*/

:root {
  /* Tokens novos */
  --bg: #070A10;
  --bg-2: #0B1117;
  --surface: #10161F;
  --surface-2: #151D28;
  --ink: #F3F6F9;
  --body: #C2CAD6;
  --muted: #9099A8;
  --accent: #00D9A6;
  --accent-bright: #2DF0BE;
  --accent-ink: #04130E;
  --line: #1D2532;

  /* Aliases legados — páginas legais, /lista e 404 dependem destes nomes */
  --color-primary: #F3F6F9;
  --color-secondary: #00D9A6;
  --color-bg-main: #070A10;
  --color-bg-card: #10161F;
  --color-text-main: #C2CAD6;
  --color-text-light: #9099A8;
  --color-border: #1D2532;
  --color-danger: #FF8585;
  --color-danger-bg: rgba(255, 107, 107, 0.08);
  --color-badge-bg: rgba(0, 217, 166, 0.10);
  --color-badge-text: #2DF0BE;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;

  --shadow-glow: 0 0 40px rgba(0, 217, 166, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(0, 217, 166, 0.30); color: var(--ink); }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  font-weight: 560;
}

h1 { font-size: 3rem; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.18; }
h3 { font-size: 1.18rem; }
p  { margin-bottom: 1rem; color: var(--body); }
a  { color: var(--accent); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

em.accent {
  font-style: italic;
  color: var(--accent);
}

.text-light { color: var(--muted); }
.text-small { font-size: 0.875rem; }

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ───────────────────────── Header (páginas internas) ───────────────── */
header.container {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--ink); }

/* ───────────────────────── Nav fixa (landing) ──────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(7, 10, 16, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 0.7rem 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-nav .nav-links { display: flex; align-items: center; }

.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  margin-left: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: var(--accent-ink) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: var(--accent-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease,
              border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: var(--accent-ink);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 217, 166, 0.35);
}

.btn-primary:hover::after { transform: translateX(110%); }

.btn-outline {
  background: rgba(243, 246, 249, 0.02);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: rgba(0, 217, 166, 0.55);
  transform: translateY(-2px);
}

/* ───────────────────────── Hero (páginas internas + 404) ───────────── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────────────────────── Hero da landing ─────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 78% 28%, rgba(0, 217, 166, 0.13), transparent 65%),
    radial-gradient(700px 540px at 12% 80%, rgba(0, 217, 166, 0.07), transparent 70%),
    radial-gradient(420px 320px at 50% 0%, rgba(45, 240, 190, 0.06), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
}

@keyframes breathe {
  from { opacity: 0.75; transform: scale(1); }
  to   { opacity: 1;    transform: scale(1.045); }
}

.lp-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 217, 166, 0.35);
  background: rgba(0, 217, 166, 0.07);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 240, 190, 0.55); }
  55%      { box-shadow: 0 0 0 7px rgba(45, 240, 190, 0); }
}

.lp-title {
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

/* Palavras animadas (geradas via JS — sem JS o título aparece normal) */
.lp-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em) rotate(2deg);
  animation: word-rise 0.85s var(--ease-out) forwards;
  animation-delay: calc(0.08s * var(--i, 0) + 0.15s);
}

@keyframes word-rise {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.lp-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 2.2rem;
}

.lp-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}

.store-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.store-chip svg { opacity: 0.7; }

/* Entrada suave do bloco de texto do hero */
.hero-copy > .eyebrow,
.hero-copy > .lp-sub,
.hero-copy > .lp-actions,
.hero-copy > .store-chips {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-rise 0.9s var(--ease-out) forwards;
}

.hero-copy > .lp-sub      { animation-delay: 0.55s; }
.hero-copy > .lp-actions  { animation-delay: 0.7s; }
.hero-copy > .store-chips { animation-delay: 0.85s; }

@keyframes fade-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────── Telas reais do app ──────────────────────── */
/* Moldura base para qualquer screenshot */
.shot-frame {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(243, 246, 249, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 217, 166, 0.06);
}

.shot-frame picture,
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.tilt { transform-style: preserve-3d; }

/* Destaque do hero */
.hero-shot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
}

.hero-shot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 217, 166, 0.18), transparent 65%);
  filter: blur(12px);
  z-index: 0;
}

.hero-shot .shot-frame {
  z-index: 1;
  width: min(310px, 76vw);
  animation: float 7s ease-in-out infinite;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s ease-out;
  will-change: transform;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

.shot-caption {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

/* ───────────────────────── Galeria (scroll-snap) ───────────────────── */
.gallery-section { padding-bottom: 4.5rem; }

.gallery-wrap {
  position: relative;
  max-width: calc(var(--max-width) + 4rem);
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.5rem 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery::-webkit-scrollbar { display: none; }

.shot-card {
  flex: 0 0 auto;
  width: min(300px, 72vw);
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(243, 246, 249, 0.10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  scroll-snap-align: center;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.shot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 217, 166, 0.35);
}

.shot-card picture,
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(16, 22, 31, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.gallery-arrow:hover {
  border-color: rgba(0, 217, 166, 0.55);
  color: var(--accent-bright);
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow.prev { left: 0.4rem; }
.gallery-arrow.next { right: 0.4rem; }

/* ───────────────────────── Recursos em destaque ────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--line); }

.feature-row.rev .feature-copy { order: 2; }
.feature-row.rev .feature-shot { order: 1; }

.feature-shot {
  width: min(340px, 100%);
  justify-self: center;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--body);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-bright);
  background: rgba(0, 217, 166, 0.12);
  border: 1px solid rgba(0, 217, 166, 0.30);
}

.check-list + .text-small { margin-top: 1.2rem; }

/* ───────────────────────── Além do prato (mini-cards) ──────────────── */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mini-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 217, 166, 0.40);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.mini-card picture { display: block; }

.mini-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.mini-card figcaption { padding: 1.2rem 1.4rem 1.5rem; }

.mini-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.mini-card figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

/* ───────────────────────── Marquee ─────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track .leaf { color: var(--accent); font-size: 0.7rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────────────────────── Sections ────────────────────────────────── */
section { padding: 5.5rem 0; }

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Cards */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 217, 166, 0.40);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 217, 166, 0.12);
}

.icon-wrapper {
  width: 46px;
  height: 46px;
  background: rgba(0, 217, 166, 0.10);
  border: 1px solid rgba(0, 217, 166, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  color: var(--accent-bright);
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  border: 1px solid rgba(0, 217, 166, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

/* Feature list (legado) */
.feature-list { list-style: none; }
.feature-list li {
  margin-bottom: 1.6rem;
  padding-left: 1.6rem;
  position: relative;
}
.feature-list li::before {
  content: "—";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.feature-list strong { color: var(--ink); }

/* ───────────────────────── Statement editorial ─────────────────────── */
.statement {
  text-align: center;
  padding: 7rem 0;
}

.statement p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 21ch;
  margin: 0 auto;
}

/* ───────────────────────── Visual GLP-1 ────────────────────────────── */
.glp-visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
}

.glp-visual::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 217, 166, 0.12), transparent 65%);
  pointer-events: none;
}

.glp-rows { display: flex; flex-direction: column; gap: 1.3rem; position: relative; }

.glp-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}
.glp-row-head span { color: var(--muted); }
.glp-row-head strong { color: var(--ink); font-weight: 600; }

.glp-bar {
  height: 9px;
  border-radius: 99px;
  background: rgba(243, 246, 249, 0.07);
  overflow: hidden;
}
.glp-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--c, var(--accent));
  width: 0;
  transition: width 1.3s var(--ease-out) 0.25s;
}
.in .glp-bar i { width: var(--w, 50%); }

.glp-note {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0;
  position: relative;
}

/* ───────────────────────── Comparativo ─────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 1rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }

.compare thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare tbody th[scope="row"] {
  text-align: left;
  color: var(--body);
  font-weight: 500;
}

.compare .hl { background: rgba(0, 217, 166, 0.07); }
.compare thead th.hl { color: var(--accent-bright); }

.compare .yes { color: var(--accent-bright); font-weight: 700; font-size: 1.05rem; }
.compare .no { color: #5A6573; font-size: 1.05rem; }
.compare .mid { color: #FFCF8F; font-size: 0.8rem; font-weight: 600; }

/* ───────────────────────── Painel de CTA final ─────────────────────── */
.cta-panel {
  position: relative;
  text-align: center;
  background:
    radial-gradient(640px 320px at 50% -10%, rgba(0, 217, 166, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid rgba(0, 217, 166, 0.22);
  border-radius: 26px;
  padding: 4.5rem 2rem;
  overflow: hidden;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  margin: 0 auto 1rem;
}

.cta-panel p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 2.2rem;
}

.cta-panel .cta-note {
  margin: 1.4rem auto 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ───────────────────────── FAQ ─────────────────────────────────────── */
.faq-item {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: var(--font-family); font-weight: 600; }

/* ───────────────────────── Legal / Documento ───────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.legal h1 { font-size: 2.25rem; }
.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.4rem;
}
.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--body);
  font-family: var(--font-family);
  font-weight: 600;
}
.legal ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal li { margin-bottom: 0.35rem; }
.legal p strong { color: var(--ink); }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.callout.warning {
  border-left-color: var(--color-danger);
  background: var(--color-danger-bg);
}
.callout.warning strong { color: var(--color-danger); }

.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
}
.contact-box strong { display: block; margin-bottom: 0.5rem; color: var(--ink); }

/* ───────────────────────── Footer ──────────────────────────────────── */
footer {
  padding: 4rem 0 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links strong { color: var(--ink); margin-bottom: 0.25rem; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ───────────────────────── Reveal on scroll ────────────────────────── */
/* Só esconde quando há JS (html.js); sem JS tudo fica visível. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Fallback sem JS: barras já aparecem preenchidas */
html:not(.js) .glp-bar i { width: var(--w, 50%); }

/* ───────────────────────── Acessibilidade / motion ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .lp-title .w { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero-shot .shot-frame { animation: none; }
}

/* ───────────────────────── Responsivo ──────────────────────────────── */
@media (max-width: 900px) {
  .lp-hero .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-shot { order: 2; }
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row.rev .feature-copy { order: 1; }
  .feature-row.rev .feature-shot { order: 2; }
  .beyond-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  .container { padding: 0 1.25rem; }
  header.container { padding: 1.5rem 1.25rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-2 { gap: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  nav a { margin-left: 1rem; }
  .site-nav .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { margin-left: 0; }
  .lp-hero { padding-top: 6rem; }
  .lp-actions .btn { width: 100%; justify-content: center; }
  section { padding: 4rem 0; }
  .statement { padding: 5rem 0; }
  .cta-panel { padding: 3.5rem 1.5rem; }
  .gallery-wrap { padding: 0 1.25rem; }
  .gallery-arrow { display: none; }
  .feature-row { padding: 2.5rem 0; }
}
