@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-latin-800.woff2") format("woff2");
}

:root {
  --green: #04b161;
  --green-dark: #046b3a;
  --ink: #0b1f17;
  --mint: #c6f4dc;
  --muted: #3c5c4c;
  --line: #d7ebe1;
  --tint: #f3fbf7;
  --white: #fff;
  --header-h: 72px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.hero,
.cta {
  background: linear-gradient(160deg, #0abe6e 0%, #036034 100%);
  color: var(--white);
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 48, 28, 0.45) 0%, rgba(3, 48, 28, 0.12) 46%, transparent 68%);
  pointer-events: none;
}

.hero .container,
.cta .container {
  position: relative;
}

.hero-grid,
.cta-grid,
.problem-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero {
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 5vw, 64px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.lede,
.sub {
  margin: 0;
  font-size: 18px;
}

.hero .lede,
.cta .sub,
.micro {
  color: #f3fff8;
}

.support-line {
  margin: 16px 0 0;
  color: var(--mint);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  padding: 14px;
  line-height: 0;
}

.badge-play,
.badge-apple {
  width: auto;
}

/* Play PNG tem 29px transparentes em cima e embaixo (arte 192px dentro de 250).
   56px é a altura visível dos dois. Não esticar. */
.badge-apple {
  height: 56px;
}

.badge-play {
  height: calc(56px * 250 / 192);
}

.micro {
  margin: 4px 0 0;
  font-size: 15px;
}

.hero-visual,
.cta-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.phone {
  display: block;
  width: 72%;
  max-width: 100%;
  margin: 8% auto 12%;
  object-fit: contain;
}

.float-card {
  position: absolute;
  width: min(58%, 280px);
  object-fit: contain;
  animation: float 5s ease-in-out infinite;
}

.float-a {
  left: 0;
  top: 8%;
}

.float-b {
  right: 0;
  bottom: 8%;
  animation-delay: -2s;
}

@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 28px 0;
  list-style: none;
}

.trust li {
  margin: 0;
  font-size: 16px;
}

section {
  padding: 112px 0;
}

.tint {
  background: var(--tint);
}

.problem-grid p,
.plain p {
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 20px;
  margin-top: 36px;
}

.bento article,
.plan,
.privacy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.tint .bento article {
  background: var(--white);
}

.bento h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.bento p,
.steps p,
.gallery figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.bento img {
  display: block;
  width: 100%;
  margin-top: 16px;
  object-fit: contain;
}

.more {
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  margin: 0;
}

.num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.gallery-row figure {
  margin: 0;
}

.gallery-row img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.gallery-row figcaption {
  margin-top: 12px;
}

.privacy-card,
.plan {
  margin-top: 28px;
}

.faq {
  margin-top: 20px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

.cta {
  padding: 112px 0;
}

.cta .phone {
  width: min(70%, 320px);
}

.site-footer {
  background: var(--green-dark);
  color: #f4fff8;
  padding: 64px 0 40px;
}

.site-footer a {
  color: var(--mint);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-note,
.trademarks {
  margin: 0;
  color: #d7efe4;
  font-size: 14px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.consent[hidden] {
  display: none;
}

.consent {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(11, 31, 23, 0.16);
}

.consent p {
  margin: 0;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-actions button,
.dialog-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.consent-dialog {
  width: min(480px, calc(100% - 32px));
  border: 0;
  border-radius: 20px;
  padding: 24px;
}

.consent-dialog::backdrop {
  background: rgba(11, 31, 23, 0.48);
}

.consent-dialog h2 {
  font-size: 28px;
}

.consent-dialog label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.page-main {
  padding: 64px 0 112px;
}

.page-main h1 {
  font-size: clamp(36px, 4vw, 52px);
}

.legal h2 {
  margin-top: 36px;
  font-size: 28px;
}

.legal h3 {
  margin-top: 20px;
  font-size: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.qr {
  width: 196px;
  height: 196px;
  margin-top: 28px;
}

.qr svg {
  width: 196px;
  height: 196px;
}

@media (max-width: 900px) {
  .trust ul,
  .steps,
  .gallery-row,
  .bento,
  .hero-grid,
  .cta-grid,
  .problem-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  section,
  .cta {
    padding: 64px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(3, 48, 28, 0.4), transparent 70%);
  }

  .trust ul {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .gallery-row li {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }

  .hero-visual,
  .cta-visual {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float-card {
    animation: none;
  }
}
