/* Desovex — tokens do design system */

:root {
  --surface: #F7F5EE; --surface-raised: #FFFFFF; --line: #DDD9CB;
  --ink: #111318; --ink-muted: #555A63;
  --lima: #C6F135; --on-lima: #111318; --lima-texto: #3D5C00;
  --oferta: #E8541A; --on-oferta: #111318;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --texto: Figtree, system-ui, sans-serif;
  --r-sm: 10px; --r-lg: 20px; --r-full: 9999px;
}
@media (prefers-color-scheme: dark) {
  :root { --surface: #111318; --surface-raised: #1B1E25; --line: #343844; --ink: #F4F3EE; --ink-muted: #A3A8B3; --lima-texto: #C6F135; --oferta: #FF7A45; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.55 var(--texto); }
a { color: var(--lima-texto); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); border-radius: var(--r-sm); }
@media (prefers-color-scheme: dark) { :focus-visible { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--lima); } }

.topo, main > section, .rodape { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .topo, main > section, .rodape { padding-left: 32px; padding-right: 32px; } }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-icone { width: 40px; height: 40px; border-radius: 11px; background: #111318; color: var(--lima); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .logo-icone { background: var(--lima); color: #111318; } }
.logo-icone svg { width: 30px; height: 22px; }
.logo-palavra { font: 800 26px/1 var(--display); letter-spacing: -0.035em; }

.topo { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }

/* Botões: tudo que se toca é pílula */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--r-full); font: 600 16px/1 var(--texto); text-decoration: none; border: 2px solid var(--ink-muted); color: var(--ink); }
.botao-lima { background: var(--lima); color: var(--on-lima); border-color: var(--lima); }
.botao-pequeno { min-height: 44px; padding: 0 20px; font-size: 15px; }
.botao[aria-disabled="true"] { cursor: default; }
.link { font-weight: 600; }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 64px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 48px; padding-bottom: 96px; } }
.selo { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: var(--r-full); background: var(--surface-raised); border: 1px solid var(--line); font: 600 13px/1.2 var(--texto); letter-spacing: .02em; color: var(--ink-muted); }
.hero h1 { font-weight: 800; font-size: clamp(56px, 10vw, 112px); line-height: .92; letter-spacing: -0.045em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-muted); max-width: 34em; margin: 24px 0 32px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

.hero-arte { position: relative; display: flex; justify-content: center; padding: 8px 0 8px 56px; }
.cartao-produto { position: relative; z-index: 1; width: min(100%, 360px); background: var(--surface-raised); border: 1px solid var(--line); border-radius: 28px; padding: 18px; transform: rotate(-3deg); }
.foto { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: #111318; color: var(--lima); display: grid; place-items: center; margin-bottom: 16px; }
.foto svg { width: 46%; }
.produto-nome { font: 600 22px/1.2 var(--display); letter-spacing: -0.015em; margin: 0; }
.produto-estado { margin: 4px 0 12px; color: var(--ink-muted); font-size: 15px; }
.preco { font: 800 44px/1 var(--display); letter-spacing: -0.03em; margin: 0; }
.legenda { font: 600 12px/1.35 var(--texto); letter-spacing: .02em; color: var(--ink-muted); margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.chip { padding: 8px 14px; border-radius: var(--r-full); border: 1px solid var(--ink-muted); font: 600 14px/1 var(--texto); }
.chip-oferta { background: var(--oferta); color: var(--on-oferta); border-color: var(--oferta); }
.botao-cheio { width: 100%; }
.rastro { position: absolute; left: 0; height: 20px; border-radius: var(--r-full); background: var(--lima); }
.r1 { top: 34%; width: 72px; } .r2 { top: 46%; left: 20px; width: 52px; } .r3 { top: 58%; left: 36px; width: 32px; }
@media (max-width: 899px) { .hero-arte { padding-left: 48px; } }

/* Passos */
.passos { padding-top: 48px; padding-bottom: 64px; }
.passos ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .passos ol { grid-template-columns: repeat(3, 1fr); } }
.passos li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.passos p { color: var(--ink-muted); margin: 8px 0 0; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--lima); color: var(--on-lima); font: 800 20px/1 var(--display); margin-bottom: 16px; }

/* Faixa escura */
.faixa { display: grid; gap: 32px; background: #111318; color: #F4F3EE; border-radius: 28px; padding-top: 48px !important; padding-bottom: 48px !important; margin-bottom: 64px !important; width: calc(100% - 32px); }
.faixa h2 { color: var(--lima); font-size: clamp(26px, 3.4vw, 34px); }
.faixa p { color: #C9CCD3; margin: 12px 0 0; }
@media (min-width: 800px) { .faixa { grid-template-columns: 1fr 1fr; gap: 48px; width: calc(100% - 64px); } }
@media (prefers-color-scheme: dark) { .faixa { background: var(--surface-raised); } }

/* Perguntas */
.perguntas { padding-bottom: 64px; max-width: 820px !important; }
.perguntas h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 600 19px/1.3 var(--texto); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 800 24px/1 var(--display); color: var(--ink-muted); }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-muted); margin: 10px 0 0; }

/* Rodapé */
.rodape { border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 40px; display: grid; gap: 16px; }
.logo-rodape .logo-icone { width: 32px; height: 32px; border-radius: 9px; }
.logo-rodape .logo-icone svg { width: 24px; height: 18px; }
.logo-rodape .logo-palavra { font-size: 22px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rodape nav a { color: var(--ink); font-weight: 600; }

/* Página de texto (privacidade) */
.texto-longo { max-width: 760px !important; padding-top: 24px; padding-bottom: 64px; }
.texto-longo h1 { font-weight: 800; font-size: clamp(36px, 6vw, 56px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 8px; }
.texto-longo h2 { font-size: 24px; margin-top: 36px; letter-spacing: -0.015em; }
.texto-longo li { margin: 6px 0; }
