/* Site do Vilger Mail (vmail.vilger.com.br). Mesmas cores e fonte do app. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #15171c;
  --text-2: #3f4550;
  --muted: #6b7280;
  --border: #e8eaee;
  --accent: #2f5bea;
  --accent-hover: #2550d8;
  --accent-soft: #eaf0ff;
  --success: #12865a;
  --danger: #d92d20;
  --radius: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171c;
    --bg-soft: #1c1f25;
    --text: #eef0f3;
    --text-2: #c3c8d0;
    --muted: #9aa1ad;
    --border: #2a2e36;
    --accent: #5b7cff;
    --accent-hover: #7590ff;
    --accent-soft: #1f2a4d;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Topo */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.top nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  margin-left: 18px;
}
.top nav a:hover {
  color: var(--accent);
}

/* Destaque */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 16px 56px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-2);
  margin: 0 0 26px;
}
.hero-icon {
  justify-self: center;
  width: min(300px, 70vw);
  filter: drop-shadow(0 24px 40px rgb(16 24 40 / 0.18));
}
.free {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* Botões de download */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  border: 1px solid transparent;
}
.btn small {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.85;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
}
.btn[aria-disabled='true'] {
  cursor: default;
  color: var(--muted);
}
.btn-primary[aria-disabled='true'] {
  color: #fff;
  opacity: 0.88;
}
.btn-primary[aria-disabled='true']:hover {
  background: var(--accent);
}
.note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* Seções */
section.block {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
section.block.soft {
  background: var(--bg-soft);
}
section.block h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
section.block > .wrap > p.sub {
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 680px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 {
  font-size: 16px;
  margin: 10px 0 6px;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}
.card .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 19px;
}

/* Exemplo do alerta de golpe */
.example {
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  background: color-mix(in srgb, var(--danger) 7%, transparent);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  max-width: 620px;
}
.example strong {
  color: var(--danger);
}
.example ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-2);
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery figure {
  margin: 0;
}
.gallery figure.wide {
  grid-column: 1 / -1;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgb(16 24 40 / 0.1);
}
.gallery figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
}

/* Instalação, lado a lado */
.install {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.install h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

/* Passos */
.steps {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 720px;
}
.steps li {
  counter-increment: passo;
  position: relative;
  padding-left: 44px;
}
.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

/* Perguntas */
details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  max-width: 760px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 8px 0 0;
  color: var(--text-2);
}

/* Rodapé */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
footer a {
  color: var(--muted);
}

/* Página de texto (privacidade) */
.doc {
  max-width: 760px;
  padding: 24px 16px 56px;
}
.doc h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 8px 0 4px;
}
.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}
.doc h2 {
  font-size: 19px;
  margin: 32px 0 8px;
}
.doc p,
.doc li {
  color: var(--text-2);
}
.doc .summary {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--text);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .hero > * {
    min-width: 0;
  }
  .hero-icon {
    grid-row: 1;
    width: 160px;
  }
  .grid,
  .gallery,
  .install {
    grid-template-columns: 1fr;
  }
  .top nav a:not(:last-child) {
    display: none;
  }
}
