/* Roberth Comércio — sistema em empresa/entidades/briefings/design-system/roberth-comercio/MASTER.md */
:root {
  color-scheme: dark;
  --bg: #0A0C0B;
  --bg-2: #0F1311;
  --card: #121614;
  --card-2: #171C19;
  --fg: #F2F5EE;
  --muted: #A9B2A6;
  --lime: #C8FF3E;
  --lime-2: #9FD12E;
  --on-lime: #0A0C0B;
  --line: rgba(200, 255, 62, .22);
  --line-2: rgba(242, 245, 238, .09);
  --glow: 0 0 0 1px var(--line), 0 0 32px -12px rgba(200, 255, 62, .35);
  --r: 22px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --f-d: "Sora", "Manrope", system-ui, sans-serif;
  --f-b: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--f-b);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-d); line-height: 1.08; letter-spacing: -.03em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 12px 16px; border-radius: var(--r-pill); z-index: 99; font-weight: 700; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  font: 700 1rem/1 var(--f-b); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, box-shadow .18s, border-color .18s, color .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lime { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 36px -10px rgba(200, 255, 62, .6); }
.btn--lime:hover { background: #D6FF6A; }
.btn--ghost { border-color: var(--line); color: var(--fg); background: rgba(200, 255, 62, .04); }
.btn--ghost:hover { border-color: var(--lime); box-shadow: var(--glow); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 11, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand svg { width: 36px; height: 36px; }
.brand b { font: 700 1.12rem/1 var(--f-d); letter-spacing: -.02em; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; color: var(--muted); font-weight: 500; transition: color .18s, background .18s; }
.nav ul a:hover { color: var(--fg); background: var(--card-2); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
@media (max-width: 900px) { .nav ul { display: none; } }
@media (max-width: 420px) { .nav .btn span { display: none; } .nav .btn { padding: 0 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(200, 255, 62, .09), transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242, 245, 238, .07) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); z-index: -2; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; margin: 24px 0 32px; }
.hero .lead strong { color: var(--fg); font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .where { margin-top: 28px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .98rem; }
.hero .where svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--lime); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* momento próprio: a lista */
.lista { position: relative; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; box-shadow: var(--glow); }
.lista header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.lista header b { font: 700 1.05rem/1.2 var(--f-d); }
.lista header span { color: var(--muted); font-size: .9rem; }
.lista ol { list-style: none; margin: 0; padding: 0; }
.lista li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.lista li:last-child { border-bottom: 0; }
.lista .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lista .box svg { width: 14px; height: 14px; color: var(--on-lime); opacity: 0; transition: opacity .3s; }
.lista .item { font-weight: 500; transition: color .3s; }
.lista .tag { font-size: .8rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 3px 10px; white-space: nowrap; }
.lista li.on .box { background: var(--lime); border-color: var(--lime); }
.lista li.on .box svg { opacity: 1; }
.lista li.on .item { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(200, 255, 62, .55); }
.lista footer { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; gap: 10px; align-items: center; color: var(--fg); font-weight: 700; font-family: var(--f-d); }
.lista footer i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: none; }
@media (max-width: 360px) { .lista li { grid-template-columns: 26px 1fr; } .lista .tag { display: none; } }

/* ---------- faixa de valor ---------- */
.faixa { border-block: 1px solid var(--line-2); background: var(--bg-2); }
.faixa ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.faixa li { padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start; border-left: 1px solid var(--line-2); }
.faixa li:first-child { border-left: 0; padding-left: 0; }
.faixa svg { width: 24px; height: 24px; color: var(--lime); flex: none; margin-top: 2px; }
.faixa b { display: block; font-family: var(--f-d); font-weight: 600; letter-spacing: -.01em; }
.faixa small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 900px) { .faixa ul { grid-template-columns: 1fr 1fr; } .faixa li:nth-child(3) { border-left: 0; padding-left: 0; } .faixa li:nth-child(n+3) { border-top: 1px solid var(--line-2); } }
@media (max-width: 520px) { .faixa ul { grid-template-columns: 1fr; } .faixa li { border-left: 0; padding-left: 0; } .faixa li + li { border-top: 1px solid var(--line-2); } }

/* ---------- seções ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { color: var(--muted); margin: 0; max-width: 32em; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* vitrine bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px;
  transition: border-color .18s, box-shadow .18s;
}
.tile:hover, .tile:focus-within { border-color: var(--line); box-shadow: var(--glow); }
.tile .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(200, 255, 62, .08); border: 1px solid var(--line); color: var(--lime); margin-bottom: 18px; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .98rem; margin: 0; }
.tile p + p { margin-top: 10px; }
.tile .tip { margin-top: auto; padding-top: 16px; color: var(--fg); font-size: .93rem; display: flex; gap: 8px; }
.tile .tip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; margin-top: .55em; }
.tile--xl { grid-column: span 2; grid-row: span 2; padding: 32px; }
.tile--xl h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.tile--xl p { font-size: 1.05rem; }
.tile--wide { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { font-size: .88rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px 12px; color: var(--fg); }
.tile--xl .art { position: absolute; right: -30px; bottom: -30px; width: 220px; opacity: .5; pointer-events: none; color: var(--lime); }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile--xl, .tile--wide { grid-column: auto; grid-row: auto; } .tile--xl { padding: 24px; } .tile--xl .art { width: 150px; } }

/* problema */
.problema .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.problema h2 { position: sticky; top: 100px; }
.problema h2 em { font-style: normal; color: var(--lime); }
.dicas { display: grid; gap: 16px; }
.dica { border-left: 2px solid var(--lime); padding: 4px 0 4px 22px; }
.dica h3 { margin-bottom: 8px; }
.dica p { color: var(--muted); margin: 0; }
.problema .fecho { margin-top: 12px; font-size: 1.15rem; font-weight: 700; font-family: var(--f-d); letter-spacing: -.01em; }
@media (max-width: 860px) { .problema .wrap { grid-template-columns: 1fr; } .problema h2 { position: static; } }

/* como comprar */
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: p; list-style: none; padding: 0; margin: 0; }
.passos li { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px 24px; }
.passos .n { font: 800 3.4rem/1 var(--f-d); color: var(--lime); letter-spacing: -.05em; display: block; margin-bottom: 18px; }
.passos p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 820px) { .passos { grid-template-columns: 1fr; } }

/* faq */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.faq h2 + p { color: var(--muted); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-of-type { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 600 1.08rem/1.35 var(--f-d); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg) translateY(-3px); transition: transform .18s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding: 0 0 18px; margin: 0; max-width: 40em; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* onde fica */
.onde-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.onde-card { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.onde-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; margin-bottom: 12px; }
.onde-card address { font-style: normal; color: var(--muted); margin-bottom: 24px; }
.horas { list-style: none; margin: 0; padding: 0; }
.horas li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.horas li:last-child { border-bottom: 0; }
.horas span:last-child { font-weight: 700; font-family: var(--f-d); }
.onde-card small { display: block; color: var(--muted); margin-top: 14px; font-size: .9rem; }
.mapa-art { width: 100%; height: auto; margin-bottom: 20px; border-radius: 14px; }
@media (max-width: 820px) { .onde-grid { grid-template-columns: 1fr; } }

/* cta final */
.final { padding: clamp(64px, 9vw, 112px) 0; }
.final-box { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(32px, 6vw, 72px); background: radial-gradient(120% 140% at 100% 0%, rgba(200, 255, 62, .12), transparent 55%), linear-gradient(160deg, var(--card-2), var(--card)); box-shadow: var(--glow); }
.final-box h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 14em; }
.final-box p { color: var(--muted); max-width: 36em; margin: 18px 0 28px; font-size: 1.08rem; }
.final-box p strong { color: var(--fg); }

/* rodapé */
.rodape { border-top: 1px solid var(--line-2); padding: 56px 0 40px; background: var(--bg); font-size: .95rem; color: var(--muted); }
.rodape .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.rodape h2 { font-size: 1rem; letter-spacing: 0; color: var(--fg); margin-bottom: 12px; font-family: var(--f-d); }
.rodape p { margin: 0 0 8px; }
.rodape strong { color: var(--fg); font-weight: 700; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.rodape li a:hover { color: var(--fg); text-decoration-color: var(--lime); }
.rodape .vinculo { color: var(--fg); }
.rodape .fim { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .88rem; }
@media (max-width: 820px) { .rodape .grid { grid-template-columns: 1fr; } }

/* barra fixa mobile */
.barra { display: none; }
@media (max-width: 720px) {
  body.has-barra { padding-bottom: 84px; }
  .barra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 12, 11, .94); border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .barra .btn { min-height: 50px; padding: 0 12px; }
}

/* páginas internas */
.doc { padding: clamp(48px, 7vw, 88px) 0; }
.doc .wrap { max-width: 900px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.04em; margin-bottom: 16px; }
.doc h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 40px 0 14px; }
.doc p, .doc li { color: var(--muted); }
.doc p strong, .doc li strong { color: var(--fg); }
.doc .intro { font-size: 1.12rem; }
.doc a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.doc a:hover { text-decoration-color: var(--lime); }
.idcard { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); box-shadow: var(--glow); margin: 28px 0 8px; }
.idcard dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.idcard dt { color: var(--muted); font-size: .88rem; display: block; }
.idcard dd { margin: 2px 0 0; color: var(--fg); font-weight: 700; display: block; overflow-wrap: anywhere; }
.idcard .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .idcard dl { grid-template-columns: 1fr; } }
.cnaes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; }
.cnaes li { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.cnaes li b { display: block; color: var(--fg); font-family: var(--f-d); font-weight: 600; margin-bottom: 4px; letter-spacing: 0; }
.cnaes li.princ { border-color: var(--line); grid-column: 1 / -1; }
.ficha { width: 100%; border-collapse: collapse; }
.ficha th, .ficha td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ficha th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 16px; }
.ficha td { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.ficha a { display: inline-flex; align-items: center; min-height: 44px; }
