/* ==========================================================================
   Guia informativo — folha de estilo única, sem dependências e sem CDN.
   Mobile-first. Tema claro e escuro por variáveis CSS.
   ========================================================================== */

:root {
  --paper: #f7f7f4;
  --surface: #fffefb;
  --surface-2: #efeee9;
  --ink: #14161a;
  --muted: #55524b;
  --faint: #6c6961;
  --rule: #e0ded6;
  --accent: #0a6b4d;
  --accent-ink: #ffffff;
  --accent-soft: #e6f2ec;
  --warn: #92400e;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 22 26 / .05), 0 14px 34px -20px rgb(20 22 26 / .38);
  color-scheme: light;
}

[data-theme='dark'] {
  --paper: #0e1013;
  --surface: #15181c;
  --surface-2: #1c2026;
  --ink: #eeece6;
  --muted: #a5a199;
  --faint: #8b877f;
  --rule: #262b31;
  --accent: #4bbd90;
  --accent-ink: #0e1013;
  --accent-soft: #17251f;
  --warn: #e0a260;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 18px 40px -24px rgb(0 0 0 / .9);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0e1013; --surface: #15181c; --surface-2: #1c2026;
    --ink: #eeece6; --muted: #a5a199; --faint: #8b877f; --rule: #262b31;
    --accent: #4bbd90; --accent-ink: #0e1013; --accent-soft: #17251f; --warn: #e0a260;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

/* display de classe (grid/flex) sobrepõe o atributo hidden — sem isto o modal
   de cookies aparece aberto no carregamento. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.2rem); font-weight: 650; }
h3 { font-size: 1.06rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink); padding: .7rem 1.1rem;
  border: 1px solid var(--rule); border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.15rem; }
.wrap.narrow { max-width: 800px; }

/* --------------------------------------------------------------- cabeçalho */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7dd3b0));
}
.brand-text { display: inline-flex; align-items: baseline; gap: .4rem; }
.brand-text strong { font-size: 1.06rem; letter-spacing: -.02em; }
.brand-text em {
  font-style: normal; font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint);
}

.site-header nav { margin-left: auto; }
.site-header nav ul {
  display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0;
}
.site-header nav a {
  text-decoration: none; color: var(--muted); font-size: .93rem; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }

.menu-btn {
  display: none; background: none; border: 1px solid var(--rule); color: var(--ink);
  border-radius: 9px; width: 40px; height: 40px; font-size: 1.05rem; cursor: pointer;
}
.header-cta { padding: .5rem 1rem; font-size: .9rem; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .site-header nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .4rem 1.15rem 1rem;
    background: var(--surface); border-bottom: 1px solid var(--rule);
  }
  .site-header nav ul.open { display: flex; }
  .site-header nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
  .header-cta { display: none; }
}

/* ------------------------------------------------------------------ blocos */

.eyebrow {
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.02rem, .97rem + .3vw, 1.16rem); color: var(--muted); }
.attr { font-size: .82rem; color: var(--faint); }
.note { font-size: .9rem; color: var(--muted); }
.more { margin-top: 1.6rem; }
.more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.band { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--surface); border-block: 1px solid var(--rule); }
.page-head { padding: clamp(2.6rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--rule); }
.updated { font-size: .8rem; color: var(--faint); margin-top: 1rem; }

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

.hero { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; gap: 2.6rem; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 3.4rem; }
}
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 34rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .78rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.6rem; margin: 2.4rem 0 0; padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
@media (min-width: 620px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: .35rem 0 0; font-size: .92rem; font-weight: 600; }

/* ------------------------------------------------------------ ilustração */

.hero-visual { display: grid; justify-items: center; gap: .9rem; }
.phone {
  width: min(270px, 78vw); border: 1px solid var(--rule); border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.phone-top { display: grid; place-items: center; padding: .55rem 0; }
.phone-top span { width: 54px; height: 5px; border-radius: 99px; background: var(--rule); }
.phone-screen { padding: 1rem 1.1rem 1.4rem; }
.ps-label { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.bar { display: flex; align-items: flex-end; gap: .42rem; height: 108px; margin: .8rem 0 1.1rem; }
.bar span {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent));
}
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ps-list li {
  display: flex; justify-content: space-between; font-size: .84rem;
  padding-bottom: .55rem; border-bottom: 1px solid var(--rule); color: var(--muted);
}
.ps-list li:last-child { border-bottom: 0; }
.fig-note { font-size: .72rem; color: var(--faint); text-align: center; max-width: 30ch; margin: 0; }

/* ------------------------------------------------------------------ cards */

.cards { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards.two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.5rem;
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card blockquote {
  margin: 0; padding-left: .95rem; border-left: 2px solid var(--rule);
  color: var(--muted); font-size: .94rem;
}

.cols { display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: s; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.steps li { padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.step-n { font-size: .7rem; letter-spacing: .14em; color: var(--faint); font-weight: 700; }
.steps h3 { margin: .5rem 0 .4rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

.ratings { display: grid; gap: 1rem; margin: 1.8rem 0; }
@media (min-width: 640px) { .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ratings div {
  background: var(--accent-soft); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .2rem;
}
.ratings b { font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; }
.ratings span { font-weight: 600; font-size: .9rem; }
.ratings small { color: var(--muted); font-size: .82rem; }

.callout {
  margin: 2.2rem 0 0; padding: 1.6rem; border: 1px solid var(--rule);
  border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface);
}
.callout h2 { font-size: 1.2rem; }

.bullets { margin: 1.2rem 0 0; padding-left: 1.15rem; display: grid; gap: .6rem; color: var(--muted); }
.bullets.cols-2 { list-style: none; padding: 0; }
@media (min-width: 620px) { .bullets.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.big-mail { font-size: 1.05rem; font-weight: 600; }
.big-mail a { color: var(--accent); }

/* -------------------------------------------------------------------- FAQ */

.faq { margin-top: 2rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.4rem 1.15rem 0;
  font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .3rem; top: 1rem;
  font-size: 1.35rem; line-height: 1; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.3rem; color: var(--muted); max-width: 70ch; }
.faq a { color: var(--accent); }

/* ------------------------------------------------------------------ tabela */

/* table-layout fixo + quebra de palavra: sem isto, CNPJ e e-mails longos
   estouram a largura da tela em telefones. */
.spec { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.6rem 0 0; font-size: .93rem; }
.spec th, .spec td { overflow-wrap: anywhere; }
.spec th, .spec td { text-align: left; padding: .85rem .8rem .85rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th[scope='row'] { color: var(--faint); font-weight: 600; width: 42%; }
.spec thead th { color: var(--faint); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.spec a { color: var(--accent); }

/* -------------------------------------------------------------------- CTA */

.cta { padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.cta .cta-row { justify-content: center; }
.cta p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 74ch; color: var(--muted); }
.prose h2 { margin: 2.6rem 0 .7rem; color: var(--ink); font-size: 1.35rem; }
.prose h3 { margin: 1.7rem 0 .5rem; color: var(--ink); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.15rem; display: grid; gap: .5rem; margin: 1rem 0; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose .spec { color: var(--muted); }

/* ----------------------------------------------------------------- rodapé */

.site-footer { margin-top: 3rem; background: var(--surface); border-top: 1px solid var(--rule); padding: 3rem 0 2rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.6rem; } }
.foot-grid h2 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-grid a, .linkish { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover, .linkish:hover { color: var(--ink); text-decoration: underline; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .92rem; text-align: left; }
.foot-brand { font-size: 1rem; margin-bottom: .5rem; }
.foot-note { font-size: .88rem; color: var(--muted); }
.foot-note a { color: var(--accent); }

.foot-legal { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.foot-legal p { font-size: .84rem; color: var(--muted); }
.foot-legal a { color: var(--muted); }
.disclaimer { max-width: 92ch; }
.copy { color: var(--faint); font-size: .8rem; margin-bottom: 0; }

/* ----------------------------------------------------------------- cookies */

.cookie {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--rule); box-shadow: var(--shadow);
}
.cookie-inner { display: grid; gap: 1rem; padding: 1.15rem 1.15rem 1.3rem; }
@media (min-width: 940px) {
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
}
.cookie p { font-size: .88rem; color: var(--muted); margin: 0; }
.cookie-title { font-size: .68rem !important; letter-spacing: .15em; text-transform: uppercase; color: var(--faint) !important; font-weight: 600; margin-bottom: .4rem !important; }
.cookie a { color: var(--accent); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { padding: .62rem 1.05rem; font-size: .88rem; }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgb(0 0 0 / .5); padding: 1rem; }
.modal-box {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  max-width: 560px; width: 100%; padding: 1.7rem; box-shadow: var(--shadow);
  max-height: 90vh; overflow-y: auto;
}
.modal-box h2 { font-size: 1.25rem; }
.modal-box > p { color: var(--muted); font-size: .92rem; }
.cats { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .8rem; }
.cats li { border: 1px solid var(--rule); border-radius: 11px; padding: .95rem; }
.cats li:first-child { background: var(--surface-2); display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.cats label { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.cats input { margin-top: .28rem; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.cats p { font-size: .87rem; color: var(--muted); margin: .3rem 0 0; }
.always { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }

@media print {
  .site-header, .cookie, .modal, .cta { display: none; }
}

/* --- Иконка приложения в шапке и скриншоты из стора --- */
.brand-icon { border-radius: 7px; display: block; }
.phone-shot { padding: 0; overflow: hidden; background: var(--surface); }
.phone-shot img { display: block; width: 100%; height: auto; }
.screens .shots {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px) { .screens .shots { grid-template-columns: repeat(4, 1fr); } }
.screens .shot { margin: 0; }
.screens .shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--rule); box-shadow: var(--shadow);
}
