/* AGV Saúde Animal
   Conceito: o escudo verde do logo + o "fio de sangue" (marrom-vinho) que liga gerações.
   Letra grande e alto contraste: o público é produtor rural de todas as idades, muitas vezes no celular. */
:root {
  --bg: #f4f7f3;
  --surface: #ffffff;
  --surface-2: #e9f0ea;
  --ink: #16241c;
  --muted: #475a4e;
  --line: #cfdcd2;
  --verde: #126340;          /* verde do logo */
  --verde-texto: #0f5a39;
  --sangue: #7a2e2a;         /* marrom-vinho do logo, mais vivo */
  --palha: #126340;
  --band: #0c3f29;           /* faixas escuras (sempre escuras) */
  --band-2: #12573a;
  --on-band: #ffffff;
  --on-band-muted: #cfe3d6;
  --btn: #126340;
  --btn-hover: #0c4a2f;
  --on-btn: #ffffff;
  --focus: #0b6a8c;
  --mb: #0b6a8c;             /* azul do Megabov */
  --shadow: 0 1px 2px rgb(12 63 41 / .08), 0 8px 24px rgb(12 63 41 / .08);

  --f-display: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
  --f-text: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --fs-base: 1.125rem;   /* 18px */
  --fs-sm: .95rem;
  --fs-lg: 1.3rem;
  --fs-h3: 1.4rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 4vw, 3.9rem);
  --radius: 10px;
  --max: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1612; --surface: #15201a; --surface-2: #1b2a22; --ink: #e9f1eb; --muted: #a9bcb0; --line: #2b3d33;
    --verde: #5cc690; --verde-texto: #7ad4a5; --sangue: #e3978c; --palha: #5cc690;
    --band: #0a3221; --band-2: #0f4630; --btn: #1a7a50; --btn-hover: #209160; --mb: #5cc0e6;
    --shadow: 0 1px 2px rgb(0 0 0 / .4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1612; --surface: #15201a; --surface-2: #1b2a22; --ink: #e9f1eb; --muted: #a9bcb0; --line: #2b3d33;
  --verde: #5cc690; --verde-texto: #7ad4a5; --sangue: #e3978c; --palha: #5cc690;
  --band: #0a3221; --band-2: #0f4630; --btn: #1a7a50; --btn-hover: #209160; --mb: #5cc0e6;
  --shadow: 0 1px 2px rgb(0 0 0 / .4); color-scheme: dark;
}
/* Modo alto contraste (botão no topo) */
:root[data-contraste="alto"] {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #ffffff; --ink: #000000; --muted: #000000; --line: #000000;
  --verde: #003d22; --verde-texto: #003d22; --sangue: #5a0f0b; --band: #000000; --band-2: #000000;
  --on-band-muted: #ffffff; --btn: #000000; --btn-hover: #003d22; --mb: #003d5c; --shadow: none; color-scheme: light;
}
:root[data-contraste="alto"] a { text-decoration: underline !important; }
:root[data-contraste="alto"] .card, :root[data-contraste="alto"] .tile { border: 2px solid #000; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-size: var(--fs-base); line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0; }
a { color: var(--verde-texto); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: 36px; }
.eyebrow { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sangue); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 40rem; }
.prose { max-width: 42rem; display: grid; gap: 1em; }

/* Pular para o conteúdo */
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--band); color: var(--on-band); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Barra superior */
.topbar { background: var(--band); color: var(--on-band); font-size: var(--fs-sm); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 6px; }
.topbar a { color: var(--on-band); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.topbar-info span { color: var(--on-band-muted); }
.a11y { display: flex; gap: 6px; align-items: center; }
.a11y button {
  font: inherit; font-weight: 700; color: var(--on-band); background: transparent; border: 1px solid rgb(255 255 255 / .45);
  border-radius: 6px; min-width: 40px; min-height: 36px; padding: 2px 10px; cursor: pointer;
}
.a11y button:hover, .a11y button[aria-pressed="true"] { background: var(--on-band); color: var(--band); }

/* Cabeçalho */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.logo img { width: 170px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--verde-texto); box-shadow: inset 0 -3px 0 var(--verde); border-radius: 8px 8px 0 0; }
.menu-btn { display: none; }
.header-cta { white-space: nowrap; }
@media (max-width: 960px) {
  .header-cta { display: none; }
}
@media (max-width: 820px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .nav.aberto { display: block; }
  .js .nav ul { flex-direction: column; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .js .nav a { padding: 14px 12px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--verde); }
  .logo img { width: 140px; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-outline { border-color: currentColor; color: var(--verde-texto); background: transparent; }
.btn-outline:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: #0c3f29; }
.btn-light:hover { background: #e6f1ea; }
.btn-ghost-light { border-color: rgb(255 255 255 / .7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgb(255 255 255 / .12); }
.menu-btn { align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border-radius: 8px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; background: var(--band); color: var(--on-band); isolation: isolate; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(8 40 26 / .94) 0%, rgb(8 40 26 / .82) 45%, rgb(8 40 26 / .35) 100%); }
.hero .wrap { padding-block: clamp(64px, 10vw, 128px); display: grid; gap: 22px; }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--ouro); }
.hero p.lead { color: var(--on-band-muted); max-width: 36rem; }
.hero .eyebrow { color: var(--ouro); }
@media (max-width: 640px) { .hero::after { background: linear-gradient(180deg, rgb(8 40 26 / .8), rgb(8 40 26 / .95)); } }

/* Números */
.numeros { background: var(--surface); border-bottom: 1px solid var(--line); }
.numeros dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.numeros div { padding: 28px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.numeros div:first-child { border-left: 0; }
.numeros dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--verde-texto); line-height: 1.05; font-variant-numeric: tabular-nums; order: -1; }
.numeros dt { color: var(--muted); font-weight: 600; }
.numeros div { display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .numeros dl { grid-template-columns: 1fr 1fr; }
  .numeros div:nth-child(3) { border-left: 0; }
  .numeros div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Gerações — o fio de sangue */
.geracoes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.geracoes ol::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 4px; background: var(--sangue); border-radius: 4px; }
.geracoes li { position: relative; display: grid; gap: 10px; padding: 0 20px; justify-items: start; }
.gota { width: 66px; height: 66px; display: grid; place-items: center; background: var(--bg); position: relative; }
.gota svg { width: 52px; height: 52px; }
.geracoes li:last-child .gota svg path { fill: var(--sangue); }
.geracoes .quem { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; }
.geracoes .quando { color: var(--sangue); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; }
.geracoes p { color: var(--muted); }
@media (max-width: 760px) {
  .geracoes ol { grid-template-columns: 1fr; gap: 28px; }
  .geracoes ol::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .geracoes li { grid-template-columns: 66px 1fr; column-gap: 16px; padding: 0; }
  .geracoes li .gota { grid-row: span 3; }
}
.selo-sangue { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.selo-sangue strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--sangue); }

/* Faixa Megabov */
.megabov-band { background: var(--band); color: var(--on-band); }
.megabov-band .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.megabov-band .eyebrow { color: var(--ouro); }
.megabov-band p { color: var(--on-band-muted); }
.megabov-band .foto { background: #fff; border-radius: 18px; padding: 18px; }
.mb-num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mb-num b { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 8vw, 9rem); line-height: .85; font-weight: 800; color: var(--ouro); }
.mb-num span { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 700; max-width: 12ch; line-height: 1.15; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 24px; height: 24px; margin-top: 3px; color: var(--verde); }
.megabov-band .checks svg { color: var(--ouro); }
.megabov-band .content { display: grid; gap: 22px; }
@media (max-width: 860px) { .megabov-band .wrap { grid-template-columns: 1fr; } .megabov-band .foto { max-width: 460px; } }

/* Tiles por necessidade */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--verde); transform: translateY(-2px); }
.tile strong { font-family: var(--f-display); font-size: 1.25rem; color: var(--verde-texto); }
.tile span { color: var(--muted); }
.tile small { font-weight: 700; color: var(--sangue); font-size: var(--fs-sm); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Cards de produto */
.grid-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card .img { background: #fff; aspect-ratio: 1; max-width: 100%; border-bottom: 1px solid var(--line); }
.card .img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sangue); }
.card h3 { font-size: 1.3rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card h3 a:hover { color: var(--verde-texto); text-decoration: underline; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card .mais { font-weight: 700; color: var(--verde-texto); font-size: 1rem; }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card:hover { border-color: var(--verde); }

/* Filtros */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtros button { font: inherit; font-weight: 600; font-size: 1rem; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filtros button:hover { border-color: var(--verde); }
.filtros button[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.contagem { color: var(--muted); margin-bottom: 16px; }

/* Como comprar */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: p; }
.passos li { counter-increment: p; display: grid; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--surface-2); }
.passos li::before { content: counter(p); font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--verde-texto); line-height: 1; }
.passos strong { font-size: 1.2rem; }
.passos p { color: var(--muted); }
@media (max-width: 760px) { .passos { grid-template-columns: 1fr; } }

/* CTA final */
.cta-band { background: var(--band-2); color: var(--on-band); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 48px; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--on-band-muted); margin-top: 8px; }

/* Breadcrumb */
.breadcrumb { padding-block: 18px 0; font-size: var(--fs-sm); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* Página de produto */
.produto-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 24px 48px; }
.produto-top .foto { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.produto-top .info { display: grid; gap: 18px; min-width: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); border: 1px solid var(--line); }
.badge-cat { color: var(--sangue); }
.ficha { display: grid; gap: 36px; padding-bottom: 56px; }
.ficha-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ficha section { display: grid; gap: 12px; }
.ficha h2 { font-size: 1.6rem; }
.ficha p, .ficha li { max-width: 46rem; }
.ficha .tecnico { font-size: 1rem; color: var(--muted); }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; position: sticky; top: 100px; }
.aside-box h2 { font-size: 1.3rem; }
@media (max-width: 860px) { .produto-top, .ficha-cols { grid-template-columns: 1fr; } .produto-top .foto { max-width: 420px; } .aside-box { position: static; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 40rem; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface-2); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; }
.aviso { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); border-left: 4px solid var(--palha); font-weight: 600; max-width: 46rem; }
.tabela-peso { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 46rem; list-style: none; margin: 0; padding: 0; background: var(--surface); }
.tabela-peso li { display: grid; padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tabela-peso b { font-size: 1.15rem; color: var(--verde-texto); }
.tabela-peso span { color: var(--muted); font-size: var(--fs-sm); }

/* Página Megabov */
.mb-hero { background: linear-gradient(160deg, var(--band) 0%, #0b4a52 100%); color: var(--on-band); }
.mb-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.mb-hero .foto { background: #fff; border-radius: 20px; padding: 20px; }
.mb-hero .lead { color: var(--on-band-muted); }
.mb-hero .eyebrow { color: var(--ouro); }
.mb-hero .content { display: grid; gap: 22px; }
@media (max-width: 860px) { .mb-hero .wrap { grid-template-columns: 1fr; } .mb-hero .foto { max-width: 440px; } }
.ativos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ativo { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 6px; }
.ativo strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--verde-texto); }
.ativo span { color: var(--muted); }
.comparativo { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.comparativo table { min-width: 560px; }
.comparativo th[scope="col"]:nth-child(2) { background: var(--btn); color: var(--on-btn); }
.comparativo td:nth-child(2) { font-weight: 700; color: var(--verde-texto); background: color-mix(in srgb, var(--verde) 7%, transparent); }
.comparativo td:nth-child(3) { color: var(--muted); }
.comparativo th[scope="row"] { font-weight: 600; }
.faq { display: grid; gap: 12px; max-width: 50rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.1rem; list-style-position: outside; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* Sobre */
.duas-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .duas-col { grid-template-columns: 1fr; } }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.valores > div { padding: 24px; border-top: 4px solid var(--verde); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); display: grid; gap: 8px; }
.valores p { color: var(--muted); }
@media (max-width: 760px) { .valores { grid-template-columns: 1fr; } }

/* Contato */
.contato-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contato-grid { grid-template-columns: 1fr; } }
form.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.form .linha { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .linha { grid-template-columns: 1fr; } }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 700; }
.campo .dica { color: var(--muted); font-size: var(--fs-sm); }
.campo input, .campo select, .campo textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 8px;
  min-height: 52px; padding: 10px 14px; width: 100%;
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--verde); outline: 3px solid var(--focus); outline-offset: 1px; }
.campo [aria-invalid="true"] { border-color: #b3261e; }
.erro { color: #b3261e; font-weight: 600; font-size: var(--fs-sm); }
:root[data-theme="dark"] .erro { color: #ff9b91; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .erro { color: #ff9b91; } }
.obrig { color: var(--sangue); }
.resultado { padding: 20px; border-radius: var(--radius); background: var(--surface-2); border: 2px solid var(--verde); display: grid; gap: 12px; }
.canais { display: grid; gap: 16px; }
.canal { display: grid; gap: 2px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.canal span { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.canal a, .canal b { font-size: 1.25rem; font-weight: 700; }

/* Rodapé */
.footer { background: var(--band); color: var(--on-band-muted); font-size: 1rem; }
.footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h2 { font-family: var(--f-text); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ouro); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; display: grid; gap: 8px; }
.footer .slogan { font-family: var(--f-display); font-size: 1.35rem; color: #fff; font-weight: 700; margin-top: 14px; }
.footer .logo-rodape { width: 180px; }
.footer-legal { border-top: 1px solid rgb(255 255 255 / .18); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp */
.flutuante {
  position: fixed; z-index: 70;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 20px 10px 16px;
  background: #1f7a4d; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 6px 20px rgb(0 0 0 / .25);
}
.flutuante:hover { background: #17633e; }
.flutuante svg { width: 28px; height: 28px; }
@media (max-width: 520px) { .flutuante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .flutuante { padding: 14px; } }

/* Tamanho de texto (botões A- / A+): escala tudo que usa rem */
:root[data-texto="1"] { font-size: 112.5%; }
:root[data-texto="2"] { font-size: 125%; }

/* Ajustes de celular */
@media (max-width: 960px) { .header .header-cta { display: none; } }
@media (max-width: 520px) {
  .numeros div { padding: 20px 12px; }
  .numeros dd { font-size: 1.75rem; }
}

/* =========================================================
   Camada "tchan": brilho, movimento ao rolar, contadores
   ========================================================= */
:root { --brilho: #3ee08f; --ouro: #8fe8b8; --noite: #071f15; --noite-2: #0a2b1d; }

/* Botão de destaque com brilho */
.btn-brilho { background: var(--brilho); color: #052615; box-shadow: 0 0 0 0 rgb(62 224 143 / .5), 0 8px 28px rgb(62 224 143 / .35); }
.btn-brilho:hover { background: #6cf0ad; transform: translateY(-2px); box-shadow: 0 12px 34px rgb(62 224 143 / .45); }

/* Hero: mais profundo, com selos flutuando */
.hero::after { background:
  radial-gradient(60% 80% at 85% 30%, rgb(62 224 143 / .14), transparent 60%),
  linear-gradient(90deg, rgb(5 24 16 / .96) 0%, rgb(5 24 16 / .85) 45%, rgb(5 24 16 / .35) 100%); }
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-texto { display: grid; gap: 22px; }
.hero h1 em { color: var(--ouro); text-shadow: 0 0 40px rgb(143 232 184 / .35); }
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: end; }
.chips li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgb(7 31 21 / .72); color: #fff; font-weight: 700; border: 1px solid rgb(62 224 143 / .55);
  box-shadow: 0 0 24px rgb(62 224 143 / .18); backdrop-filter: blur(6px);
  animation: flutuar 5s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.chips li:nth-child(even) { margin-right: 48px; }
.chips svg { width: 22px; height: 22px; color: var(--brilho); flex: none; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
  .hero .chips li { margin: 0; font-size: .95rem; padding: 8px 14px 8px 10px; animation: none; }
}

/* Faixa de produtos que passa */
.faixa-produtos { background: var(--brilho); color: #052615; overflow: hidden; border-block: 1px solid rgb(0 0 0 / .1); }
.faixa-trilho { display: flex; width: max-content; animation: passar 45s linear infinite; }
.faixa-trilho > div { display: flex; align-items: center; gap: 22px; padding: 14px 11px; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.faixa-trilho i { font-style: normal; font-size: .7rem; opacity: .55; }
.faixa-produtos:hover .faixa-trilho { animation-play-state: paused; }
@keyframes passar { to { transform: translateX(-50%); } }

/* Números em faixa escura com brilho */
.numeros-dark { background: radial-gradient(80% 120% at 50% 0%, var(--noite-2), var(--noite)); color: #fff; }
.numeros-dark .wrap { padding-block: clamp(48px, 6vw, 80px); display: grid; gap: 36px; }
.numeros-titulo { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 700; text-align: center; max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.numeros-dark dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.numeros-dark dl > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 16px; border-left: 1px solid rgb(255 255 255 / .12); }
.numeros-dark dl > div:first-child { border-left: 0; }
.numeros-dark dd { order: -1; margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1; color: var(--brilho); text-shadow: 0 0 28px rgb(62 224 143 / .45); font-variant-numeric: tabular-nums; }
.numeros-dark dt { color: #cfe3d6; font-weight: 600; }
@media (max-width: 760px) {
  .numeros-dark dl { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .numeros-dark dl > div:nth-child(3) { border-left: 0; }
}

/* Linha de sangue que se desenha */
.js-anim .linha-sangue::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.65, 0, .35, 1) .2s; }
.js-anim .linha-sangue.visivel::before { transform: scaleX(1); }
.js-anim .linha-sangue li:last-child .gota svg path { transition: fill .6s ease 1.8s; fill: transparent; }
.js-anim .linha-sangue.visivel li:last-child .gota svg path { fill: var(--sangue); }
@media (max-width: 760px) {
  .js-anim .linha-sangue::before { transform: scaleY(0); transform-origin: top; }
  .js-anim .linha-sangue.visivel::before { transform: scaleY(1); }
}

/* Megabov: palco com brilho */
.megabov-band { background: radial-gradient(70% 90% at 80% 50%, #0f5a3c 0%, var(--noite) 70%); position: relative; overflow: hidden; }
.mb-num b { text-shadow: 0 0 50px rgb(143 232 184 / .45); }
.mb-palco { position: relative; display: grid; place-items: center; min-height: 360px; }
.mb-glow { position: absolute; width: 85%; aspect-ratio: 1; max-width: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgb(62 224 143 / .55) 0%, rgb(62 224 143 / .12) 45%, transparent 70%); filter: blur(10px); animation: pulsar 6s ease-in-out infinite; }
.mb-palco img { position: relative; width: min(100%, 520px); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); animation: flutuar 7s ease-in-out infinite; }
.mb-selo { position: absolute; top: 6%; right: 6%; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--ouro); color: #052615; font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; line-height: 1.05;
  box-shadow: 0 0 0 6px rgb(143 232 184 / .25), 0 10px 30px rgb(0 0 0 / .35); transform: rotate(-10deg); }
.mb-selo b { display: block; font-family: var(--f-display); font-size: 2.6rem; letter-spacing: 0; }
@keyframes pulsar { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@media (max-width: 520px) { .mb-selo { width: 88px; height: 88px; } .mb-selo b { font-size: 2rem; } }

/* Tiles com seta e brilho no hover */
.tile { position: relative; overflow: hidden; padding: 24px 26px 26px; gap: 8px; }
.tile small { order: -1; }
.tile .seta { position: absolute; right: 22px; bottom: 20px; font-size: 1.4rem; color: var(--verde-texto); transition: transform .2s; }
.tile::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(62 224 143 / .22), transparent 70%); opacity: 0; transition: opacity .3s; }
.tile:hover::before { opacity: 1; }
.tile:hover .seta { transform: translateX(6px); }
.tile span { padding-right: 28px; }

/* Cards: leve elevação */
.card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .img img { transition: transform .35s; }
.card:hover .img img { transform: scale(1.05); }

/* Passos */
.passos-sec { background: var(--surface); }
.passos li { position: relative; overflow: hidden; }
.passos li::before { color: var(--verde); font-size: 3rem; }

/* Seção de cotação (formulário na página inicial) */
.cotacao { background: radial-gradient(60% 80% at 20% 30%, #0f5a3c, var(--noite) 70%); color: #fff; }
.cotacao-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: stretch; }
.cotacao-foto { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgb(62 224 143 / .45); background: radial-gradient(70% 60% at 50% 35%, rgb(62 224 143 / .35), transparent 70%), linear-gradient(160deg, #0f5a3c, #071f15); display: grid; align-items: end; min-height: 420px; }
.cotacao-foto img { width: 100%; height: 100%; object-fit: contain; object-position: center; position: absolute; inset: 0; padding: 32px; }
.cotacao-foto::after { content: none; }
.chips-foto { position: relative; z-index: 1; justify-items: start; padding: 24px; gap: 10px; }
.chips-foto li:nth-child(even) { margin: 0 0 0 28px; }
.cotacao-card { border-radius: 20px; border: 1px solid rgb(62 224 143 / .45); background: rgb(7 31 21 / .75); padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 12px; box-shadow: 0 0 60px rgb(62 224 143 / .08) inset; min-width: 0; }
.cotacao-card .eyebrow { color: var(--ouro); }
.cotacao-sub { color: #cfe3d6; margin-bottom: 8px; }
.cotacao .form { background: transparent; border: 0; padding: 0; }
.cotacao .campo label { color: #fff; }
.cotacao .campo .dica, .cotacao .form > p { color: #a9c7b4; }
.cotacao .campo input, .cotacao .campo select, .cotacao .campo textarea { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .22); color: #fff; color-scheme: dark; }
.cotacao .campo input:focus, .cotacao .campo select:focus, .cotacao .campo textarea:focus { border-color: var(--brilho); }
.cotacao .campo select option { color: #111; background: #fff; }
.cotacao .obrig { color: var(--ouro); }
.cotacao .erro { color: #ffb4a9; }
.cotacao .form .btn-primary { background: var(--brilho); color: #052615; }
.cotacao .form .btn-primary:hover { background: #6cf0ad; }
.cotacao .resultado { background: rgb(255 255 255 / .06); border-color: var(--brilho); }
.cotacao .resultado pre { color: #cfe3d6 !important; }
@media (max-width: 900px) { .cotacao-grid { grid-template-columns: 1fr; } .cotacao-foto { min-height: 300px; } }

/* FAQ central */
.faq-centro { margin-inline: auto; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--verde); color: var(--verde-texto); display: grid; place-items: center; font-weight: 800; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--verde); }

/* Aparecer ao rolar (só quando há JS e o usuário aceita movimento) */
.js-anim .reveal:not(.visivel) { opacity: 0; transform: translateY(28px); }
.js-anim .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  .faixa-trilho, .chips li, .mb-glow, .mb-palco img { animation: none !important; }
  .js-anim .reveal:not(.visivel) { opacity: 1; transform: none; }
}

/* Megabov: os 15 ativos agrupados */
.ativos-grupos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; align-items: start; }
.grupo-ativo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.grupo-ativo h3 { color: var(--verde-texto); font-size: 1.5rem; }
.grupo-ativo p { color: var(--muted); }
.grupo-ativo ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.grupo-ativo li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.grupo-ativo li b { color: var(--verde-texto); white-space: nowrap; }
.nota-formula { margin-top: 14px; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .ativos-grupos { grid-template-columns: 1fr; } }

/* Megabov: "não é um remédio comum" */
.nao-comum { background: radial-gradient(70% 100% at 15% 0%, #0f5a3c, var(--noite) 70%); color: #fff; }
.nao-comum .eyebrow { color: var(--ouro); }
.nao-comum h2 { max-width: 24ch; }
.nc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: stretch; }
.nc-destaque { padding: clamp(24px, 3vw, 36px); border-radius: 18px; border: 1px solid rgb(62 224 143 / .5); background: radial-gradient(90% 80% at 20% 0%, rgb(62 224 143 / .16), rgb(255 255 255 / .03) 70%); display: grid; gap: 10px; align-content: start; }
.nc-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 3.5rem + 5vw, 7.5rem); line-height: .9; color: var(--brilho); text-shadow: 0 0 36px rgb(62 224 143 / .45); }
.nc-destaque h3 { font-size: 1.5rem; }
.nc-destaque > p:not(.nc-num) { color: #cfe3d6; }
.nc-partes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nc-partes li { padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); color: #e6f4ec; font-weight: 600; }
.nc-partes b { color: var(--brilho); }
.nc-lista { display: grid; gap: 20px; }
.nc-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(20px, 2.5vw, 28px); border-radius: 18px; border: 1px solid rgb(62 224 143 / .3); background: rgb(255 255 255 / .04); }
.nc-item svg { width: 40px; height: 40px; color: var(--brilho); }
.nc-item h3 { font-size: 1.3rem; margin-bottom: 6px; }
.nc-item p { color: #cfe3d6; }
@media (max-width: 860px) { .nc-grid { grid-template-columns: 1fr; } }

/* Logo: versão colorida no claro, versão branca no escuro (sem fundo) */
.logo { display: inline-flex; }
.logo .logo-escuro { display: none; }
:root[data-theme="dark"]:not([data-contraste="alto"]) .logo .logo-claro { display: none; }
:root[data-theme="dark"]:not([data-contraste="alto"]) .logo .logo-escuro { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-contraste="alto"]) .logo .logo-claro { display: none; }
  :root:not([data-theme="light"]):not([data-contraste="alto"]) .logo .logo-escuro { display: block; }
}
.logo .logo-escuro { width: 170px; height: auto; }
@media (max-width: 820px) { .logo .logo-escuro { width: 140px; } }
.topbar-info { margin: 0; color: var(--on-band-muted); font-weight: 600; }
@media (max-width: 520px) { .topbar-info { display: none; } .topbar .wrap { justify-content: flex-end; } }

/* Foco visível também nas faixas escuras e no modo escuro */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --focus: #8fe8b8; } }
:root[data-theme="dark"] { --focus: #8fe8b8; }
.topbar :focus-visible, .hero :focus-visible, .numeros-dark :focus-visible, .megabov-band :focus-visible, .mb-hero :focus-visible,
.nao-comum :focus-visible, .cotacao :focus-visible, .cta-band :focus-visible, .footer :focus-visible { outline-color: #ffffff; }

/* Simulador de dose do Megabov */
.simulador-sec { background: var(--surface-2); }
.simulador { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sim-campos { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 18px; }
.sim-linha input { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sim-resultado { border-radius: 16px; padding: clamp(20px, 3vw, 32px); background: radial-gradient(80% 90% at 80% 10%, #0f5a3c, var(--noite) 75%); color: #fff; display: grid; gap: 14px; align-content: start; }
.sim-rotulo { color: var(--ouro); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-sm); }
.sim-total { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); line-height: 1; color: var(--brilho); text-shadow: 0 0 28px rgb(62 224 143 / .4); font-variant-numeric: tabular-nums; }
.sim-detalhe { list-style: none; margin: 0; padding: 0; display: grid; color: #cfe3d6; }
.sim-detalhe li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .14); font-variant-numeric: tabular-nums; }
.sim-detalhe b { color: #fff; white-space: nowrap; }
.sim-detalhe .sim-soma { font-weight: 700; color: #fff; }
.sim-proxima { padding: 14px 16px; border-radius: 10px; background: rgb(255 255 255 / .07); border: 1px solid rgb(62 224 143 / .35); color: #e6f4ec; }
.sim-resultado .btn { justify-self: start; }
.sim-resultado :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .simulador { grid-template-columns: 1fr; } }

/* Simulador: controles de arrastar */
.sim-legenda { float: left; width: 100%; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; padding: 0; margin: 0; color: var(--ink); }
.sim-legenda + * { clear: both; }
.sim-linha { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.sim-linha.sim-data { border-bottom: 0; padding-bottom: 0; }
.sim-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sim-topo label { font-weight: 700; font-size: 1.1rem; }
.sim-controle { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: center; }
.sim-num { font: inherit; font-size: 1.25rem; font-weight: 800; text-align: center; color: var(--verde-texto); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; min-height: 52px; width: 100%; padding: 6px; font-variant-numeric: tabular-nums; }
.sim-num:focus { border-color: var(--verde); outline: 3px solid var(--focus); outline-offset: 1px; }
.sim-escala { display: flex; justify-content: space-between; margin-right: 112px; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.sim-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 0%; margin: 0; }
.sim-range:focus { outline: none; }
.sim-range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--verde) var(--p), var(--line) var(--p)); }
.sim-range::-moz-range-track { height: 12px; border-radius: 999px; background: var(--line); }
.sim-range::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--verde); }
.sim-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 34px; height: 34px; margin-top: -11px; border-radius: 50%; background: var(--surface); border: 4px solid var(--verde); box-shadow: 0 2px 10px rgb(12 63 41 / .3); transition: transform .15s; }
.sim-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 4px solid var(--verde); box-shadow: 0 2px 10px rgb(12 63 41 / .3); }
.sim-range:hover::-webkit-slider-thumb, .sim-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.sim-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--focus); }
.sim-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--focus); }
@media (max-width: 520px) { .sim-controle { grid-template-columns: minmax(0, 1fr) 80px; gap: 12px; } .sim-escala { margin-right: 92px; } }

/* Simulador: resultado em frascos */
.sim-frascos { display: flex; align-items: center; gap: 16px; }
.sim-frascos .sim-total { font-size: clamp(3.6rem, 2.4rem + 4vw, 5.5rem); }
.sim-frascos span { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: #fff; }
.sim-visual { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; align-items: flex-end; }
.frasco { width: 20px; height: 34px; border-radius: 5px 5px 6px 6px; border: 2px solid rgb(255 255 255 / .55); position: relative; overflow: hidden; background: rgb(255 255 255 / .06); animation: frasco-entra .25s ease both; }
.frasco::before { content: ""; position: absolute; left: 4px; right: 4px; top: -2px; height: 5px; background: rgb(255 255 255 / .55); border-radius: 0 0 2px 2px; }
.frasco::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--nivel, 100%); background: linear-gradient(180deg, #5cc0e6, #0b6a8c); }
.frasco-mais { align-self: center; font-weight: 800; color: #fff; margin-left: 4px; }
@keyframes frasco-entra { from { transform: translateY(6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frasco { animation: none; } }

.sim-campos .sim-linha:last-child { border-bottom: 0; padding-bottom: 0; }

.sim-aviso { display: block; margin: -12px 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--verde); max-width: 52rem; }
.sim-aviso a { font-weight: 700; }

/* Mini simulador na página inicial */
.mb-coluna { display: grid; gap: 18px; min-width: 0; }
.mini-sim { border-radius: 16px; padding: 18px 20px; background: rgb(255 255 255 / .06); border: 1px solid rgb(62 224 143 / .4); display: grid; gap: 8px; }
.mini-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mini-topo label { font-weight: 700; color: #fff; }
.mini-topo output { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; }
.mini-sim .sim-range { height: 36px; }
.mini-sim .sim-range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brilho) var(--p), rgb(255 255 255 / .2) var(--p)); }
.mini-sim .sim-range::-moz-range-track { background: rgb(255 255 255 / .2); }
.mini-sim .sim-range::-moz-range-progress { background: var(--brilho); }
.mini-sim .sim-range::-webkit-slider-thumb { border-color: var(--brilho); background: #0a2b1d; }
.mini-sim .sim-range::-moz-range-thumb { border-color: var(--brilho); background: #0a2b1d; }
.mini-res { display: flex; align-items: baseline; gap: 10px; color: #cfe3d6; }
.mini-res b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--brilho); text-shadow: 0 0 24px rgb(62 224 143 / .4); font-variant-numeric: tabular-nums; }
.mini-res span { font-weight: 600; }
.mini-link { color: var(--ouro); font-weight: 700; font-size: .95rem; }
.megabov-band .mb-palco { min-height: 300px; }

/* Abertura com o boi nelore */
.hero { background: #050b08; }
.hero picture { left: auto; right: 0; width: 58%; }
.hero picture img { object-fit: cover; object-position: 10% 88%; }
.hero::after { background:
  linear-gradient(90deg, #050b08 0%, #050b08 38%, rgb(5 11 8 / .75) 48%, rgb(5 11 8 / .15) 68%, rgb(5 11 8 / 0) 100%),
  radial-gradient(50% 70% at 20% 40%, rgb(62 224 143 / .10), transparent 70%); }
.hero .wrap { padding-block: clamp(80px, 11vw, 150px); }
@media (max-width: 860px) {
  .hero picture { width: 100%; height: 62%; top: 0; bottom: auto; }
  .hero picture img { object-position: 20% 70%; }
  .hero::after { background: linear-gradient(180deg, rgb(5 11 8 / .35) 0%, rgb(5 11 8 / .55) 35%, #050b08 62%); }
  .hero .wrap { padding-top: clamp(200px, 48vw, 300px); }
}

.sim-consultor { color: #cfe3d6; font-size: .98rem; }

/* Página inicial mais enxuta */
.numeros-3 dl { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; width: 100%; }
@media (max-width: 760px) {
  .numeros-3 dl { grid-template-columns: repeat(3, 1fr); row-gap: 0; }
  .numeros-3 dl > div { padding: 8px 6px; }
  .numeros-3 dd { font-size: 1.9rem; }
  .numeros-3 dt { font-size: .9rem; }
  .numeros-3 dl > div:nth-child(3) { border-left: 1px solid rgb(255 255 255 / .12); }
}
.passos-mini { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.passos-mini li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); color: #e6f4ec; font-weight: 600; font-size: .98rem; }
.passos-mini b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brilho); color: #052615; font-size: .9rem; }
/* botão flutuante só no celular: no computador, o botão do topo já acompanha a rolagem */
@media (min-width: 961px) { .flutuante { display: none; } }

/* Celular: menos rolagem */
@media (max-width: 900px) { .cotacao-foto { display: none; } }
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px 14px 36px; gap: 4px; }
  .tile strong { font-size: 1.02rem; line-height: 1.25; }
  .tile span { display: none; }
  .tile small { font-size: .8rem; }
  .tile .seta { right: 14px; bottom: 10px; font-size: 1.15rem; }
  .numeros-3 dd { font-size: 1.55rem; white-space: nowrap; }
  .numeros-titulo { font-size: 1.25rem; }
}

/* Página do Megabov enxuta */
.mb-hero .wrap { padding-block: clamp(36px, 5vw, 64px); }
.mb-hero .mb-palco { min-height: 260px; }
.mb-hero .mb-palco img { width: min(100%, 420px); }
#simulador { scroll-margin-top: 90px; }
.simulador-sec .section-head { margin-bottom: 16px; }
.nc-formula { margin-top: 6px; }
.nc-formula summary { cursor: pointer; font-weight: 700; color: var(--brilho); padding: 6px 0; }
.nc-formula ul { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.nc-formula li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgb(255 255 255 / .12); color: #e6f4ec; font-size: .95rem; font-variant-numeric: tabular-nums; }
.nc-formula li b { color: var(--brilho); white-space: nowrap; }
.nc-formula p { color: #a9c7b4; font-size: .9rem; }
.detalhe-bula summary { cursor: pointer; font-weight: 700; color: var(--verde-texto); padding: 6px 0; }
.detalhe-bula p { margin-top: 10px; color: var(--muted); }
@media (max-width: 520px) { .nc-formula ul { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .mb-hero .wrap { gap: 8px; } .mb-hero .mb-palco { min-height: 0; } .mb-hero .mb-palco img { width: min(62%, 240px); animation: none; } .mb-hero .mb-glow { width: 55%; } }

.btn-grande { min-height: 58px; padding: 14px 28px; font-size: 1.1rem; }
@media (max-width: 520px) { .btn-grande { width: 100%; text-align: center; } }

/* LGPD: aviso de cookies, links legais e aviso do formulário */
.link-botao { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer .links-legais { color: #fff; }
.footer .links-legais .link-botao { color: #fff; }
.aviso-cookies {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--surface); color: var(--ink); border-top: 3px solid var(--verde); box-shadow: 0 -8px 30px rgb(0 0 0 / .18);
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: center;
}
.aviso-cookies[hidden] { display: none !important; }
.aviso-cookies-texto { max-width: 46rem; display: grid; gap: 4px; font-size: 1rem; }
.aviso-cookies-texto p { margin: 0; }
.aviso-cookies-botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.aviso-cookies-botoes .btn { min-height: 48px; padding: 10px 26px; }
body.com-aviso-cookies .flutuante { display: none; }
@media (max-width: 520px) { .aviso-cookies-botoes { width: 100%; } .aviso-cookies-botoes .btn { flex: 1; } }
.aviso-lgpd { font-size: .92rem; color: var(--muted); margin: 0; }
.cotacao .aviso-lgpd { color: #a9c7b4; }
.cotacao .aviso-lgpd a { color: #fff; }

/* Página de Política de Privacidade */
.pol-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.pol-texto { max-width: 46rem; }
.pol-data { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.pol-secao { display: grid; gap: 10px; padding-top: 18px; scroll-margin-top: 100px; }
.pol-secao h2 { font-size: 1.4rem; }
.pol-secao ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.pol-secao p, .pol-secao li { color: var(--ink); }
.pol-secao .table-wrap { max-width: 100%; }
.pol-indice { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; }
.pol-indice p { margin: 0 0 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }
.pol-indice ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 900px) { .pol-grid { grid-template-columns: 1fr; } .pol-indice { display: none; } }
