/* Inter (OFL-1.1, fonts/LICENSE-Inter.txt), servida pelo próprio site:
   nenhuma requisição a terceiros para carregar a fonte. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Ampparo — landing page
   Design tokens extraídos do layout original (pencil/pen.dev)
   ============================================================ */

:root {
  /* Cores */
  --ink: #1b2a3d;        /* texto forte / navy */
  --muted: #5d6b7e;      /* texto secundário */
  --faint: #8c94a8;      /* texto terciário / placeholder */
  --primary: #3b72ae;    /* azul de marca */
  --primary-ink: #2e5b8c;
  --accent: #d9895b;     /* terracota */
  --accent-ink: #a85a2e;
  --success: #15803d;

  --bg: #f5f7fa;         /* fundo da página */
  --surface: #ffffff;
  --tint: #eaf1f8;       /* azul bem claro */
  --tint-2: #f1f4f9;
  --badge-bg: #f7e6da;
  --success-bg: #e7f8ee;
  --border: #e6eaf1;

  --navy: #1b2a3d;       /* seção escura */
  --navy-card: #24364d;
  --on-navy: #dce3ec;
  --on-navy-muted: #a9b6c8;

  /* Humor / gráfico */
  --mood-1: #f6b4a4;
  --mood-2: #f9d29b;
  --mood-3: #c9daeb;
  --mood-4: #7fa6cf;
  --mood-5: #3b72ae;

  /* Forma */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 18px rgba(26, 43, 85, 0.08);
  --shadow-float: 0 24px 60px rgba(27, 42, 61, 0.08);

  --container: 1440px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.icon {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ícones sem tamanho explícito escalam com o texto; os com width="" mantêm o px */
svg.icon:not([width]) { width: 1.25em; height: 1.25em; }
/* glifos de marca (logos) usam preenchimento em vez de traço */
.icon--fill { fill: currentColor; stroke: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 80px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0;
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); }
.btn-primary:active { transform: translateY(1px); }
.btn-block { width: 100%; justify-content: center; }
.btn-nav {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}
.btn-nav:hover { background: #26405c; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; }
.brand__name { font-size: 21px; font-weight: 700; letter-spacing: -0.5px; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 560px);
  align-items: center;
  gap: 64px;
  padding-block: 56px 96px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.03;
  margin: 24px 0 0;
}
.hero__lead {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.52;
  max-width: 560px;
  margin: 24px 0 0;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero__note { font-size: 14px; color: var(--faint); }

.hero__media {
  position: relative;
  background: url("app_site_posts-assets/hero.webp") center/cover no-repeat,
              linear-gradient(135deg, #cdd9e6, #b7c6d8);
  border-radius: 32px;
  height: 620px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.floating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.floating-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
}
.floating-card strong { display: block; font-size: 15px; }
.floating-card small { font-size: 13px; color: var(--muted); }

/* ============================================================
   RECURSOS
   ============================================================ */
.features { background: var(--surface); }
.features__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 96px;
  padding-block: 112px;
}
.features__intro .section-title { margin: 20px 0; }
.features__intro p { font-size: 17px; color: var(--muted); line-height: 1.6; margin: 0; }

.feature {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.feature:first-child { border-top: 0; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--primary);
}
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin: 0 0 6px; }
.feature p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ============================================================
   DIÁRIO DO PACIENTE (app)
   ============================================================ */
.diary { background: var(--bg); }
.diary__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 96px;
  padding-block: 112px 0;
  align-items: start;
}
.diary__text { padding-top: 24px; }
.diary__text h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 20px 0;
}
.diary__text > p { font-size: 18px; color: var(--muted); line-height: 1.55; margin: 0 0 36px; max-width: 520px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.mini { display: flex; align-items: flex-start; gap: 16px; }
.mini__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--badge-bg);
  color: var(--accent-ink);
}
.mini h4 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.mini p { font-size: 15px; color: var(--muted); line-height: 1.53; margin: 0; }

.platforms {
  display: inline-flex;
  gap: 4px;
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
}
.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
}
.platforms span.active { background: var(--navy); color: #fff; }

/* ---- Phone mockup ---- */
.phone {
  justify-self: center;
  width: 420px;
  max-width: 100%;
  height: 720px;        /* altura do aparelho no design; conteúdo extra fica recortado */
  overflow: hidden;
  background: var(--navy);
  border-radius: 44px 44px 0 0;
  padding: 15px 15px 0;
}
.phone__screen {
  background: var(--bg);
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}
.phone__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 8px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
}
.phone__statusbar .icons { display: flex; gap: 6px; color: var(--ink); }
.phone__head { background: var(--surface); padding: 6px 20px 16px; box-shadow: 0 2px 5px rgba(26,43,85,.05); }
.phone__head-row { display: flex; align-items: center; gap: 12px; }
.phone__head-row h3 { font-size: 20px; font-weight: 700; margin: 0; }
.phone__head-row small { font-size: 13px; color: var(--muted); }
.phone__head-row .spacer { flex: 1; }
.round-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 20px;
  background: var(--tint-2);
  color: var(--ink);
}
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 7px 14px;
}
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

.phone__body { display: flex; flex-direction: column; gap: 22px; padding: 18px 16px 20px; }
.p-card { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-card); padding: 16px; }
.p-card__head { display: flex; align-items: center; justify-content: space-between; }
.p-card__head strong { display: block; font-size: 16px; }
.p-card__head small { font-size: 12px; color: var(--muted); }
.pill-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  border-radius: 8px; padding: 5px 9px;
}
.pill-tag.green { background: var(--success-bg); color: var(--success); }

.moods { display: flex; justify-content: space-between; margin-top: 14px; }
.mood { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mood__tile {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 18px;
  background: var(--tint-2);
  color: var(--muted);
}
.mood__tile.active { background: var(--primary); color: #fff; }
.mood > span:last-child { font-size: 12px; font-weight: 500; color: var(--muted); }
.mood.active > span:last-child { color: var(--primary); font-weight: 600; }

.write-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-sm);
  height: 46px; font-size: 15px; font-weight: 600;
}

.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.block-head h4 { font-size: 18px; font-weight: 700; margin: 0; }
.block-head a { font-size: 13px; font-weight: 600; color: var(--primary); }

.chart__summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chart__summary small { font-size: 12px; color: var(--muted); }
.chart__summary b { display: block; font-size: 22px; }
.bars { display: flex; align-items: flex-end; justify-content: space-between; height: 130px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; width: 34px; height: 100%; }
.bar i { display: block; width: 100%; border-radius: 8px; }
.bar span { font-size: 11px; font-weight: 500; color: var(--faint); }
.bar.hi span { color: var(--primary); font-weight: 700; }
.legend { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); margin-top: 18px; padding-top: 14px; font-size: 12px; color: var(--muted); }
.legend .scale { display: flex; gap: 4px; }
.legend .scale i { width: 30px; height: 8px; border-radius: 4px; }

.insight { display: flex; align-items: center; gap: 12px; }
.insight__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 21px; background: var(--tint); color: var(--primary); flex-shrink: 0; }
.insight strong { display: block; font-size: 14px; }
.insight p { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 2px 0 0; }
.insight .chev { color: var(--faint); margin-left: auto; }

.entry__top { display: flex; align-items: center; gap: 12px; }
.entry__mood { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 21px; flex-shrink: 0; }
.entry__mood.low { background: #fdf0e6; color: #c08540; }
.entry__mood.high { background: var(--tint); color: var(--primary); }
.entry__top strong { display: block; font-size: 14px; }
.entry__top small { font-size: 12px; color: var(--muted); }
.entry__top .more { color: var(--faint); margin-left: auto; }
.entry p { font-size: 14px; line-height: 1.43; margin: 12px 0; }
.entry__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 500; color: var(--muted); background: var(--tint-2); border-radius: 8px; padding: 4px 9px; }
.shared { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--primary); padding-left: 4px; }

.tabbar {
  display: flex;
  justify-content: space-between;
  margin: 2px 16px 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 8px 12px rgba(30, 42, 40, 0.08);
}
.tabbar button {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none;
  color: var(--faint);
  font-size: 11px; font-weight: 500;
  padding: 8px 0;
  border-radius: 24px;
}
.tabbar button.active { color: var(--primary); }

/* ============================================================
   COMO FUNCIONA (seção escura)
   ============================================================ */
.how { background: var(--navy); color: #fff; }
.how__inner { padding-block: 112px; display: flex; flex-direction: column; gap: 64px; }
.how__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.how__head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -1.2px; margin: 0; }
.how__head p { font-size: 17px; color: var(--on-navy-muted); margin: 0; max-width: 440px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { border-top: 2px solid var(--primary); padding-top: 28px; }
.step__num { font-size: 15px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin: 14px 0; }
.step p { font-size: 16px; color: var(--on-navy-muted); line-height: 1.55; margin: 0; }

.soon {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--navy-card);
  border-radius: 16px;
  padding: 28px 32px;
}
.soon__label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); }
.soon__item { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--on-navy); }
.soon__item .icon { color: var(--on-navy-muted); }

/* ============================================================
   LISTA DE ESPERA (pitch + formulário)
   ============================================================ */
.waitlist { background: var(--tint); }
.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 600px);
  gap: 80px;
  padding-block: 112px;
  align-items: start;
}
.pitch { padding-top: 24px; }
.pitch h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.08;
  margin: 24px 0;
}
.pitch > p { font-size: 18px; color: var(--muted); line-height: 1.55; margin: 0 0 28px; max-width: 460px; }
.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.benefits .check {
  display: grid; place-items: center;
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary); color: #fff;
}
.benefits .check .icon { width: 16px; height: 16px; }

/* ---- Formulário ---- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  padding: 40px;
}
.form-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field > label { font-size: 14px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--city { grid-template-columns: 2fr 1fr; }
.form-row .field { margin-bottom: 20px; }

/* Autocomplete de cidade */
.autocomplete { position: relative; }
.ac-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 248px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.ac-list.open { display: block; }
.ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}
.ac-item:hover,
.ac-item.active { background: var(--tint); }
.ac-item mark { background: transparent; color: var(--primary-ink); font-weight: 700; }
.ac-item .uf {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--tint-2);
  border-radius: 6px;
  padding: 2px 8px;
}
.ac-empty { padding: 10px 12px; font-size: 14px; color: var(--faint); }

.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238c94a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 114, 174, 0.15); }

/* grupo de opções em "pílulas" (radio) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pills label {
  display: inline-flex;
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s ease;
}
.pills label:hover { border-color: #cdd6e3; }
.pills input:checked + label {
  background: var(--tint);
  border-color: var(--primary);
  color: var(--primary-ink);
  font-weight: 600;
}
.pills input:focus-visible + label { box-shadow: 0 0 0 3px rgba(59, 114, 174, 0.2); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.consent a { color: var(--primary); font-weight: 500; text-decoration: underline; }

.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--faint); margin: 16px 0 0; }
.form-note .icon { color: var(--success); }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success .icon { width: 48px; height: 48px; color: var(--success); margin: 0 auto 12px; }
.form-success h3 { margin: 0 0 8px; }
.form-success p { color: var(--muted); margin: 0; }

/* ============================================================
   DÚVIDAS (FAQ)
   ============================================================ */
.faq { background: var(--surface); }
.faq__inner { max-width: 960px; padding-block: 112px; }
.faq__inner .section-title { text-align: center; margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--border); padding: 4px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 20px; height: 20px; flex-shrink: 0;
  /* fechado: + (plus) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233b72ae' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details[open] summary::after {
  /* aberto: − (minus), como no design */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233b72ae' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 760px; }

/* ============================================================
   PÁGINA LEGAL (Política de Privacidade / Termos)
   ============================================================ */
.legal-hero { background: var(--bg); border-bottom: 1px solid var(--border); }
.legal-hero__inner { max-width: 820px; padding-block: 64px 48px; }
.legal-hero .back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 20px;
}
.legal-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; margin: 0;
}
.legal-hero .updated { font-size: 14px; color: var(--faint); margin: 12px 0 0; }

.legal { background: var(--surface); }
.legal__inner { max-width: 820px; padding-block: 56px 96px; }
.legal__inner > p,
.legal__inner li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal__inner h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 90px;
}
.legal__inner h2:first-of-type { margin-top: 8px; }
.legal__inner h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.legal__inner a { color: var(--primary); text-decoration: underline; }
.legal__inner strong { color: var(--ink); font-weight: 600; }
.legal__inner ul { margin: 12px 0; padding-left: 22px; }
.legal__inner li { margin-bottom: 8px; }
.legal__inner li::marker { color: var(--primary); }

.legal-note {
  background: var(--tint);
  border: 1px solid #d7e3f1;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.legal-contact {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
}
.legal-contact p { margin: 4px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 40px;
}
.footer__copy { font-size: 14px; color: var(--faint); }
.footer__links { display: flex; gap: 28px; }
.footer__links a { font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-inline: 48px; }
  .hero__inner,
  .features__inner,
  .diary__inner,
  .waitlist__inner { grid-template-columns: 1fr; gap: 56px; }
  .features__inner { gap: 48px; }
  .hero__media { height: 460px; }
  .diary__inner { padding-bottom: 0; }
  .pitch, .diary__text, .features__intro { padding-top: 0; }
}

@media (max-width: 760px) {
  .container { padding-inline: 24px; }
  .nav__links { display: none; }
  .hero__inner { padding-block: 32px 64px; }
  .features__inner,
  .how__inner,
  .diary__inner,
  .waitlist__inner,
  .faq__inner { padding-block: 72px; }
  .diary__inner { padding-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .mini-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .faq summary { font-size: 17px; }
  .hero__media { height: 380px; }
  .footer__inner { justify-content: center; text-align: center; }
  /* celular fluido: a largura fixa de 420px estourava a tela */
  .phone { width: 100%; max-width: 360px; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
