/* ============================================================
   BioHelix Labs — biohelix-labs.com
   Paleta oficial (board v2): Desert Tan #C4B298 · Creme #F4ECE0
   Champagne Gold #D4A054 · Dourado texto #926228 · Grafite #2D2822
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --tan: #C4B298;
  --cream: #F4ECE0;
  --cream-2: #FBF6EC;
  --gold: #D4A054;
  --gold-deep: #926228;
  --ink: #2D2822;
  --ink-soft: #57503F;
  --ok: #926228;
  --warn: #A9691E;
  --bad: #8A3B2E;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(45, 40, 34, .10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 160, 84, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 255, 255, .55), transparent 60%),
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-deep); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 236, 224, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 160, 84, .35);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px;                       /* min, não fixo: nada é cortado */
  padding-top: env(safe-area-inset-top);  /* notch do iPhone */
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 34px; width: auto; flex-shrink: 0; }
.brand-text { line-height: 1.15; min-width: 0; }
.brand-name {
  font-weight: 700; font-size: 15px; letter-spacing: .32em;
  color: var(--ink); text-transform: uppercase; white-space: nowrap;
}
.brand-sub {
  font-size: 8.5px; letter-spacing: .30em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; white-space: nowrap;
}
.nav { display: flex; gap: 26px; align-items: center; flex-shrink: 0; }
.nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold-deep); }
.nav a.pill {
  color: var(--gold-deep); border: 1.5px solid var(--gold);
  padding: 8px 18px; border-radius: 999px;
}
.nav a.pill:hover { background: rgba(212, 160, 84, .14); }
.nav a.cta {
  color: var(--ink);
  background: linear-gradient(135deg, #E3B76F, var(--gold));
  padding: 9px 20px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(212, 160, 84, .35);
}
.nav a.cta:hover { filter: brightness(1.05); color: var(--ink); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.16;
  font-weight: 700; letter-spacing: .01em; margin-bottom: 20px;
}
.hero p.lead { color: var(--ink-soft); font-size: 16.5px; max-width: 44ch; margin-bottom: 30px; }
.hero-img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(212, 160, 84, .4);
}
.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, #E3B76F, var(--gold) 60%, #C08A3E);
  box-shadow: 0 6px 20px rgba(212, 160, 84, .45);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost {
  color: var(--gold-deep); background: transparent;
  border: 1.5px solid var(--gold); box-shadow: none;
}
.btn-ghost:hover { background: rgba(212, 160, 84, .12); }

/* ---------- gold band ---------- */

.band {
  background: linear-gradient(100deg, var(--ink), #3D362C);
  color: var(--cream); text-align: center;
  padding: 20px 24px;
  font-size: 13px; font-weight: 600; letter-spacing: .30em; text-transform: uppercase;
}
.band b { color: var(--gold); font-weight: 700; }

/* ---------- sections ---------- */

.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); }
.gold-rule {
  width: 72px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--cream-2);
  border: 1px solid rgba(212, 160, 84, .38);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 6px 22px rgba(45, 40, 34, .06);
}
.card .num {
  width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--cream-2);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  margin-bottom: 18px;
}
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: .02em; }
.card p { font-size: 14px; color: var(--ink-soft); }
.card code {
  background: rgba(212, 160, 84, .16); border-radius: 6px; padding: 2px 7px;
  font-size: 13px; color: var(--gold-deep); font-family: Consolas, monospace;
}

/* pagina do catalogo completo */
.seal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seal {
  background: var(--cream-2); border: 1px solid rgba(212, 160, 84, .38);
  border-radius: var(--radius); padding: 20px 18px; text-align: center;
}
.seal b {
  display: block; color: var(--gold-deep); font-size: 12px;
  letter-spacing: .22em; margin-bottom: 8px;
}
.seal span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.cat-block { margin-bottom: 40px; }
.cat-title {
  font-size: 14px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); padding-bottom: 10px; margin-bottom: 4px;
  border-bottom: 1.5px solid rgba(212, 160, 84, .45);
}
.cat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px 4px; border-bottom: 1px solid rgba(212, 160, 84, .22);
}
.cat-name { font-weight: 600; font-size: 15px; }
.cat-name small {
  display: block; font-weight: 500; font-size: 12px; color: var(--ink-soft);
  letter-spacing: .03em; margin-top: 2px;
}
.cat-row .cat-doses { justify-content: flex-end; margin-bottom: 0; max-width: 60%; }
@media (max-width: 860px) {
  .seal-row { grid-template-columns: repeat(2, 1fr); }
  .cat-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-row .cat-doses { justify-content: flex-start; max-width: 100%; }
}

/* catalogo (sem precos, sem venda) */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-card { text-align: center; padding: 34px 24px 28px; }
.cat-helix { height: 44px; margin: 0 auto 16px; opacity: .9; }
.catalog-card h3 { font-size: 17px; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; }
.cat-doses { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.cat-doses span {
  font-size: 13px; font-weight: 700; color: var(--gold-deep);
  background: rgba(212, 160, 84, .14); border: 1px solid rgba(212, 160, 84, .4);
  border-radius: 999px; padding: 5px 14px;
}
.cat-note { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }
.catalog-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .catalog-grid { grid-template-columns: 1fr; } }

/* respostas possiveis */
.result-mini { border-top: 4px solid var(--gold); }
.result-mini.warn { border-top-color: var(--warn); }
.result-mini.bad { border-top-color: var(--bad); }
.result-mini .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 10px;
}
.result-mini .tag.ok { color: var(--ok); }
.result-mini .tag.warn { color: var(--warn); }
.result-mini .tag.bad { color: var(--bad); }

/* about / duas colunas */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(212, 160, 84, .4);
}
.two-col h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 16px; }
.two-col p { color: var(--ink-soft); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  padding-left: 30px; position: relative; margin-bottom: 12px;
  color: var(--ink-soft); font-size: 15px;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

/* ---------- RUO band ---------- */

.ruo {
  background: var(--ink); color: rgba(244, 236, 224, .85);
  padding: 34px 24px; text-align: center; font-size: 13.5px;
}
.ruo b {
  display: block; color: var(--gold); letter-spacing: .26em; text-transform: uppercase;
  font-size: 12px; margin-bottom: 10px;
}
.ruo .wrap { max-width: 760px; }

/* ---------- footer ---------- */

.site-footer {
  background: #241F1A; color: rgba(244, 236, 224, .72);
  padding: 44px 0 34px; font-size: 13px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .brand-name { color: var(--cream); }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-col p { margin-top: 8px; max-width: 42ch; }

/* ============================================================
   Página de verificação — leve e direta
   ============================================================ */

.verify-main {
  min-height: calc(100vh - 64px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 20px 80px;
}
.verify-card {
  width: 100%; max-width: 560px;
  background: var(--cream-2);
  border: 1px solid rgba(212, 160, 84, .45);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 44px 40px;
  text-align: center;
}
.verify-card .helix { height: 64px; margin: 0 auto 18px; }
.verify-card h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.verify-card p.sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }

.code-input-row {
  display: flex; align-items: stretch; margin-bottom: 16px;
  border: 1.5px solid var(--gold);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.code-prefix {
  display: flex; align-items: center; padding: 0 14px;
  background: rgba(212, 160, 84, .14);
  color: var(--gold-deep); font-weight: 700; letter-spacing: .1em;
  font-family: Consolas, monospace; font-size: 18px;
  border-right: 1px solid rgba(212, 160, 84, .4);
}
.code-input {
  flex: 1; border: 0; outline: none; min-width: 0;
  font-family: Consolas, monospace; font-size: 20px; letter-spacing: .28em;
  padding: 15px 16px; text-transform: uppercase; color: var(--ink);
  background: transparent;
}
.verify-card .btn { width: 100%; }
.verify-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 16px; }

/* resultado */
.result-card { text-align: left; }
.result-icon {
  width: 72px; height: 72px; border-radius: 999px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.result-icon svg { width: 36px; height: 36px; }
.result-icon.ok { background: linear-gradient(135deg, #E3B76F, var(--gold)); }
.result-icon.warn { background: linear-gradient(135deg, #D89B4A, var(--warn)); }
.result-icon.bad { background: linear-gradient(135deg, #A85A49, var(--bad)); }
.result-title { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.result-title.ok { color: var(--gold-deep); }
.result-title.warn { color: var(--warn); }
.result-title.bad { color: var(--bad); }
.result-sub { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }

.detail-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.detail-table td {
  padding: 11px 4px; border-bottom: 1px solid rgba(212, 160, 84, .3);
  font-size: 14.5px;
}
.detail-table td:first-child {
  color: var(--gold-deep); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .16em; width: 40%;
}
.detail-table td:last-child { font-weight: 600; }
.mono { font-family: Consolas, monospace; letter-spacing: .06em; }

.result-note {
  background: rgba(212, 160, 84, .10);
  border: 1px solid rgba(212, 160, 84, .35);
  border-radius: 10px; padding: 16px 18px;
  font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px;
}
.result-note b { color: var(--ink); }
.result-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- voo scroll-world (tema da marca sobre o engine) ---------- */

.world-flight {
  --sw-bg: #F4ECE0;
  --sw-ink: #2D2822;
  --sw-ink-soft: #57503F;
  --sw-accent: #926228;
  --sw-font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --sw-font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* Fim do voo: libera as camadas fixas pras seções DOM abaixo (regra que na
   Aurum vive no App.css — o engine só alterna a classe .sw-done). */
.sw-stage, .sw-copylayer, .sw-route, .sw-hint, .sw-scrollbar, .sw-sky { transition: opacity .45s ease; }
.sw-done .sw-stage, .sw-done .sw-copylayer, .sw-done .sw-route, .sw-done .sw-hint, .sw-done .sw-scrollbar,
.sw-done .sw-sky {
  opacity: 0; pointer-events: none;
}

/* O .sw-sky é fixed com z-index 0 e pintaria por cima de conteúdo estático que
   vem depois no DOM — as seções pós-voo precisam de camada própria. */
.band, .section, .ruo, .site-footer { position: relative; z-index: 2; }
/* Cinto e suspensório: nenhum descendente da copy pode continuar comendo
   cliques das seções de baixo depois do voo (inline pointer-events do engine). */
.sw-done .sw-copylayer, .sw-done .sw-copylayer * { pointer-events: none !important; }

/* ---------- responsivo ---------- */

@media (max-width: 860px) {
  .hero .wrap, .two-col { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 44px 0 40px; }
  .cards3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .verify-card { padding: 34px 22px; }
  .site-footer .wrap { flex-direction: column; }

  /* Cabeçalho no celular: só marca + os 2 botões que importam (catálogo e
     verificação). O nome fica numa linha só — antes quebrava em três e a
     altura fixa cortava o topo. */
  .site-header .wrap { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .nav { gap: 8px; }
  .nav .nav-link { display: none; }
  .cta-tail { display: none; }          /* "Verify your product" -> "Verify" */
  .nav a.pill, .nav a.cta { padding: 9px 15px; font-size: 11.5px; letter-spacing: .1em; }
  .brand img { height: 28px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 12.5px; letter-spacing: .18em; }
  .brand-sub { font-size: 7px; letter-spacing: .16em; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 11.5px; letter-spacing: .12em; }
  .brand-sub { display: none; }        /* espaço curto: só o wordmark */
  .brand img { height: 24px; }
  .nav a.pill, .nav a.cta { padding: 8px 12px; font-size: 11px; }
}

@media (max-width: 365px) {
  /* telas bem estreitas (Galaxy Fold fechado): o wordmark encostava no botão */
  .site-header .wrap { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 7px; }
  .brand img { height: 22px; }
  .brand-name { font-size: 10px; letter-spacing: .06em; }
  .nav a.pill, .nav a.cta { padding: 7px 11px; font-size: 10.5px; letter-spacing: .06em; }
}
