/* =============================================================================
   Careasy: site institucional
   Mesma identidade do app (docs/v2/IDENTIDADE_VISUAL.md): teal da marca, coral
   de destaque, uma cor por área, fundos suaves e ícones fortes, Nunito.
   ============================================================================= */

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* --- Cores ---------------------------------------------------------------- */

:root {
  color-scheme: light;
  --brand: #0b7a6e;
  --brand-2: #19b8a8;
  --brand-ink: #075e55;
  --brand-soft: #e3f4f1;
  --coral: #ff7a59;
  --coral-ink: #c2410c;
  --sun: #ffb547;
  --text: #1b2b34;
  --muted: #5b6b76;
  --bg: #f7fafa;
  --surface: #ffffff;
  --surface-2: #f0f5f6;
  --line: #e1e9eb;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #e11d48;
  --shadow-sm: 0 1px 2px rgb(16 42 40 / 6%), 0 2px 8px rgb(16 42 40 / 5%);
  --shadow: 0 2px 6px rgb(16 42 40 / 6%), 0 12px 32px rgb(16 42 40 / 9%);
  --shadow-lg: 0 10px 30px rgb(16 42 40 / 12%), 0 30px 80px rgb(16 42 40 / 14%);
  --hero-glow-1: rgb(25 184 168 / 22%);
  --hero-glow-2: rgb(255 122 89 / 16%);
  --hero-glow-3: rgb(255 181 71 / 18%);

  /* Áreas do app (AppArea em apps/mobile/lib/src/ui/theme.dart) */
  --area-tasks: #0d9488;
  --area-health: #f43f5e;
  --area-reports: #8b5cf6;
  --area-people: #3b82f6;
  --area-incidents: #f97316;
  --area-contacts: #10b981;
  --area-share: #6366f1;
  --area-routines: #f59e0b;
  --area-notifications: #06b6d4;
  --area-settings: #64748b;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1160px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --brand: #2cc5b3;
    --brand-2: #19b8a8;
    --brand-ink: #7fe3d6;
    --brand-soft: #143533;
    --coral-ink: #ffa184;
    --text: #e7f0ef;
    --muted: #a2b5b3;
    --bg: #0f1a1a;
    --surface: #152323;
    --surface-2: #1a2c2c;
    --line: #253a3a;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
    --shadow: 0 2px 6px rgb(0 0 0 / 25%), 0 12px 32px rgb(0 0 0 / 30%);
    --shadow-lg: 0 10px 30px rgb(0 0 0 / 35%), 0 30px 80px rgb(0 0 0 / 40%);
    --hero-glow-1: rgb(25 184 168 / 20%);
    --hero-glow-2: rgb(255 122 89 / 10%);
    --hero-glow-3: rgb(255 181 71 / 8%);
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --brand: #2cc5b3;
  --brand-2: #19b8a8;
  --brand-ink: #7fe3d6;
  --brand-soft: #143533;
  --coral-ink: #ffa184;
  --text: #e7f0ef;
  --muted: #a2b5b3;
  --bg: #0f1a1a;
  --surface: #152323;
  --surface-2: #1a2c2c;
  --line: #253a3a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
  --shadow: 0 2px 6px rgb(0 0 0 / 25%), 0 12px 32px rgb(0 0 0 / 30%);
  --shadow-lg: 0 10px 30px rgb(0 0 0 / 35%), 0 30px 80px rgb(0 0 0 / 40%);
  --hero-glow-1: rgb(25 184 168 / 20%);
  --hero-glow-2: rgb(255 122 89 / 10%);
  --hero-glow-3: rgb(255 181 71 / 8%);
}

/* --- Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.75rem);
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-ink);
}

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

::selection {
  background: rgb(25 184 168 / 30%);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Marca do que ainda precisa ser preenchido antes de publicar (ver README). */
.todo {
  background: #fff3c4;
  color: #6b4e00;
  border-radius: 4px;
  padding: 0 4px;
}

/* --- Ícones --------------------------------------------------------------- */

[class^='ph-'],
[class*=' ph-'] {
  display: inline-block;
  line-height: 1;
  font-size: 1.25em;
  vertical-align: -0.2em;
}

/* --- Botões --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-2), #0b7a6e);
  color: #fff;
  box-shadow: 0 6px 18px rgb(11 122 110 / 30%);
}
.btn--primary:hover {
  color: #fff;
  box-shadow: 0 10px 26px rgb(11 122 110 / 36%);
}
.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgb(255 122 89 / 35%);
}
.btn--coral:hover {
  color: #fff;
}
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--brand-2);
}
.btn--white {
  background: #fff;
  color: #0b7a6e;
}
.btn--white:hover {
  color: #075e55;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  background: #101a1a;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.store-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}
.store-btn i {
  font-size: 1.9rem;
}
.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.78rem;
  opacity: 0.92;
}
.store-btn strong {
  font-size: 1.15rem;
  font-weight: 800;
  opacity: 1;
}
:root[data-theme='dark'] .store-btn,
.on-dark .store-btn {
  background: #fff;
  color: #101a1a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .store-btn {
    background: #fff;
    color: #101a1a;
  }
}

/* --- Cabeçalho ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--text);
}
/* O nome em duas cores. A troca acontece no meio do "e", cortado na mesma diagonal
   do coração do logo (25°): lê-se "Care" e "easy". A posição do corte (52,9%) vale
   para a Nunito 800 com este espaçamento entre letras. */
.brand__accent {
  color: var(--coral);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand__e {
    background-image: linear-gradient(
      115deg,
      currentColor calc(52.9% - 0.35px),
      var(--coral) calc(52.9% + 0.35px)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .brand__e {
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(11 122 110 / 28%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.nav a[aria-current='page'] {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav .btn {
  margin-left: 8px;
  color: #fff;
}
.nav .btn:hover {
  background: linear-gradient(135deg, var(--brand-2), #0b7a6e);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--surface-2);
}
.icon-btn i {
  font-size: 1.4rem;
  vertical-align: 0;
}
.theme-toggle .ph-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .ph-moon {
  display: inline-block;
}
:root[data-theme='dark'] .theme-toggle .ph-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .ph-moon {
    display: inline-block;
  }
  :root:not([data-theme='light']) .theme-toggle .ph-sun {
    display: none;
  }
}
.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 14px 16px;
    font-size: 1.1rem;
  }
  .nav .btn {
    margin: 8px 0 0;
  }
  .header-actions {
    margin-left: auto;
  }
}

/* --- Seções --------------------------------------------------------------- */

.section {
  padding: 104px 0;
}
.section--tint {
  background: var(--surface-2);
}
.section--tight {
  padding: 72px 0;
}
@media (max-width: 700px) {
  .section {
    padding: 72px 0;
  }
  .section--tight {
    padding: 56px 0;
  }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  color: var(--c, var(--brand));
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.eyebrow i {
  font-size: 1.1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

/* Cores por área: aplique .area-<nome> em qualquer elemento com --c. */
.area-tasks {
  --c: var(--area-tasks);
}
.area-health {
  --c: var(--area-health);
}
.area-reports {
  --c: var(--area-reports);
}
.area-people {
  --c: var(--area-people);
}
.area-incidents {
  --c: var(--area-incidents);
}
.area-contacts {
  --c: var(--area-contacts);
}
.area-share {
  --c: var(--area-share);
}
.area-routines {
  --c: var(--area-routines);
}
.area-notifications {
  --c: var(--area-notifications);
}
.area-settings {
  --c: var(--area-settings);
}
.area-coral {
  --c: var(--coral);
}
.area-danger {
  --c: var(--danger);
}
.area-brand {
  --c: var(--brand);
}

.badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c, var(--brand));
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--brand)) 35%, transparent);
}
.badge i {
  font-size: 1.6rem;
  vertical-align: 0;
}
.badge--sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.badge--sm i {
  font-size: 1.25rem;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 140%;
  background:
    radial-gradient(40% 45% at 78% 30%, var(--hero-glow-1), transparent 70%),
    radial-gradient(28% 32% at 92% 75%, var(--hero-glow-2), transparent 70%),
    radial-gradient(30% 30% at 10% 10%, var(--hero-glow-3), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand-2), var(--brand) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 34em;
  margin-bottom: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points i {
  color: var(--success);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}
.hero-visual .phone--back {
  position: absolute;
  top: 70px;
  --w: 230px;
  opacity: 0.98;
}
.hero-visual .phone--left {
  left: 2%;
  transform: rotate(-7deg);
}
.hero-visual .phone--right {
  right: 2%;
  transform: rotate(7deg);
}
.hero-visual .phone--front {
  position: relative;
  z-index: 2;
  --w: 280px;
}
.hero-visual .float {
  position: absolute;
  z-index: 3;
}
.hero-visual .float--notif {
  top: 6px;
  left: -14px;
  width: 300px;
}
.hero-visual .float--done {
  bottom: 54px;
  right: -8px;
}

@media (max-width: 1020px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero .store-buttons,
  .hero-points,
  .hero .cta-row {
    justify-content: center;
  }
  .hero-visual {
    min-height: 0;
    padding-top: 40px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 32px 0 72px;
  }
  .hero-visual .phone--back {
    display: none;
  }
  .hero-visual .float--notif {
    left: 50%;
    top: 0;
    width: min(300px, 88vw);
    transform: translateX(-50%);
  }
  .hero-visual .float--done {
    right: 0;
    bottom: 40px;
  }
  .hero-visual .phone--front {
    --w: 250px;
    margin-top: 76px;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* --- Celular (mockup) ----------------------------------------------------- */

.phone {
  --w: 280px;
  --top: #f3f7f8;
  --top-ink: #1b2b34;
  position: relative;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(145deg, #2a3535, #0c1313 40%, #1e2828);
  box-shadow:
    inset 0 0 0 1.5px rgb(255 255 255 / 12%),
    var(--shadow-lg);
}
.phone::after {
  /* botões laterais */
  content: '';
  position: absolute;
  right: calc(var(--w) * -0.012);
  top: 22%;
  width: calc(var(--w) * 0.014);
  height: 12%;
  border-radius: 0 3px 3px 0;
  background: #1a2424;
}
.phone__screen {
  overflow: hidden;
  border-radius: calc(var(--w) * 0.135);
  background: var(--top);
}
.phone__status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--w) * 0.105);
  padding: calc(var(--w) * 0.012) calc(var(--w) * 0.085) 0;
  background: var(--top);
  color: var(--top-ink);
  font-size: calc(var(--w) * 0.044);
  font-weight: 800;
}
.phone__status::before {
  /* ilha da câmera */
  content: '';
  position: absolute;
  left: 50%;
  top: calc(var(--w) * 0.024);
  width: 31%;
  height: calc(var(--w) * 0.068);
  border-radius: 999px;
  background: #0a1010;
  transform: translateX(-50%);
}
.phone__status .icons {
  display: flex;
  gap: calc(var(--w) * 0.014);
  font-size: calc(var(--w) * 0.048);
}
.phone__status .icons i {
  font-size: 1em;
  vertical-align: 0;
}
.phone img {
  width: 100%;
  aspect-ratio: 640 / 1385;
  object-fit: cover;
  object-position: top;
}
.phone--dark {
  --top: #0f1b1b;
  --top-ink: #e7f0ef;
}
.phone--teal {
  --top: #19b7a8;
  --top-ink: #fff;
}
.phone--red {
  --top: #e01c48;
  --top-ink: #fff;
}
.phone--dim {
  --top: #6f7173;
  --top-ink: #fff;
}

/* --- Mockups em CSS: notificação, widget, aviso --------------------------- */

.notif {
  padding: 14px 16px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.4;
}
.notif__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.notif__head img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.notif__head time {
  margin-left: auto;
  font-weight: 600;
}
.notif__title {
  display: block;
  font-weight: 800;
}
.notif__body {
  color: var(--muted);
}
.notif__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.notif__actions span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  font-weight: 800;
  font-size: 0.9rem;
}
.notif__actions .is-primary {
  background: var(--brand);
  color: #fff;
}
.notif--alert .notif__title {
  color: var(--danger);
}

.pill-done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  font-size: 0.95rem;
}
.pill-done .check {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
}
.pill-done .check i {
  vertical-align: 0;
}
.pill-done small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.widget {
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.widget__head {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand-2), #0b7a6e);
  color: #fff;
}
.widget__head strong {
  display: block;
  font-size: 1.05rem;
}
.widget__head span {
  color: #e6fffb;
  font-size: 0.9rem;
}
.widget__list {
  margin: 0;
  padding: 6px 12px 10px 18px;
  list-style: none;
}
.widget__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.widget__list li:last-child {
  border-bottom: 0;
}
.widget__list div {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.widget__list strong {
  display: block;
  font-size: 0.95rem;
}
.widget__list small {
  color: var(--muted);
  font-size: 0.82rem;
}
.widget__list span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Fundo de "tela inicial" para os mockups de notificação e widget. */
.homescreen {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 50% at 20% 10%, rgb(255 181 71 / 55%), transparent 70%),
    radial-gradient(60% 60% at 90% 90%, rgb(255 122 89 / 45%), transparent 70%),
    linear-gradient(160deg, #19b8a8, #0b7a6e);
  box-shadow: var(--shadow-lg);
}
.homescreen .notif {
  width: 100%;
  max-width: 360px;
}
.homescreen .speech {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: #1b2b34;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}
.homescreen .speech i {
  color: var(--coral);
}

/* --- Público -------------------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--c) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
}
.audience-card .badge {
  margin-bottom: 20px;
}
.audience-card p {
  margin: 0;
  color: var(--muted);
}
/* Quatro cartões (Planeje, Lembre, Confira, Compartilhe). */
.audience--four {
  grid-template-columns: repeat(4, 1fr);
}
.audience--four .audience-card {
  padding: 28px 24px;
}
@media (max-width: 1100px) {
  .audience--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

/* --- Destaques (texto + mockup alternados) -------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.feature + .feature {
  margin-top: 128px;
}
.feature--reverse .feature__visual {
  order: -1;
}
.feature__text h2 {
  margin-bottom: 16px;
}
.feature__text > p {
  color: var(--muted);
  font-size: 1.15rem;
}
.feature__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.feature__visual::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent);
  filter: blur(4px);
  z-index: -1;
}
.feature__visual .phone + .phone {
  margin-top: 64px;
}
.feature__visual .phone {
  --w: 250px;
}
.feature__visual > .notif {
  position: absolute;
  z-index: 2;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checklist li > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c, var(--brand)) 15%, transparent);
  color: var(--c, var(--brand));
  font-size: 1.05rem;
  vertical-align: 0;
}
.checklist strong {
  display: block;
}
.checklist span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature + .feature {
    margin-top: 88px;
  }
  .feature--reverse .feature__visual {
    order: 0;
  }
  .feature__visual .phone {
    --w: 220px;
  }
}
@media (max-width: 520px) {
  .feature__visual .phone {
    --w: 168px;
  }
  .feature__visual .phone + .phone {
    margin-top: 40px;
  }
  .feature__visual {
    gap: 14px;
  }
}

/* --- Grade de funções ----------------------------------------------------- */

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.tile {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--c) 40%, var(--line));
}
.tile .badge {
  margin-bottom: 16px;
}
.tile h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* --- Acessibilidade (faixa com celular escuro) ---------------------------- */

.easy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.easy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.easy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.easy-item h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}
.easy-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.easy-visual {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.easy-visual .phone {
  --w: 240px;
}
.easy-visual .phone + .phone {
  margin-top: 56px;
}
.font-sample {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
  font-weight: 800;
  color: var(--brand);
}
@media (max-width: 960px) {
  .easy {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .easy-list {
    grid-template-columns: 1fr;
  }
  .easy-visual .phone {
    --w: 168px;
  }
}

/* --- Como funciona -------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), #0b7a6e);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}
.step p {
  margin: 0;
  color: var(--muted);
}
.step .step__shot {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.step .phone {
  --w: 190px;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* --- Segurança ------------------------------------------------------------ */

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trust-item {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.trust-item .badge {
  margin-bottom: 12px;
}
.trust-item h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 960px) {
  .trust {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Planos --------------------------------------------------------------- */

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin: 0 auto 40px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.billing-toggle button[aria-pressed='true'] {
  background: var(--brand);
  color: #fff;
}
.billing-toggle .save {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sun);
  color: #4a2a00;
  font-size: 0.78rem;
}
.center {
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
/* Um plano só (lançamento gratuito): o cartão fica no centro. */
.plans--single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
}
.plan--featured {
  border: 2px solid var(--brand-2);
  box-shadow: var(--shadow-lg);
}
.plan__tag {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.plan__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.plan__head h2,
.plan__head h3 {
  margin: 0;
  font-size: 1.4rem;
}
.plan__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.3;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 2px;
}
.price strong {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .currency {
  font-weight: 800;
  font-size: 1.1rem;
}
.price .per {
  color: var(--muted);
  font-weight: 700;
}
.price-note {
  min-height: 1.6em;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.price-note b {
  color: var(--success);
}
.plan .features {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.98rem;
}
.plan .features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}
.plan .features i {
  flex: none;
  margin-top: 2px;
  color: var(--success);
  font-size: 1.15rem;
  vertical-align: 0;
}
.plan .features .muted-item {
  color: var(--muted);
}
.plan .features .muted-item i {
  color: var(--muted);
}
.plan .btn {
  margin-top: auto;
}
.plan-foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
[data-billing-scope]:not(.is-annual) [data-annual],
[data-billing-scope].is-annual [data-monthly] {
  display: none;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .plan--featured {
    order: -1;
  }
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.principle {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--c) 9%, var(--surface));
}
.principle h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .principles {
    grid-template-columns: 1fr;
  }
}

/* Tabela comparativa */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.compare th,
.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
}
.compare thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  font-size: 1.05rem;
}
.compare thead th small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}
.compare tbody th {
  font-weight: 600;
}
.compare .group th {
  padding-top: 22px;
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare .yes {
  color: var(--success);
  font-size: 1.3rem;
}
.compare .no {
  color: var(--muted);
  opacity: 0.6;
  font-size: 1.1rem;
}
.compare .col-featured {
  background: color-mix(in srgb, var(--brand-2) 7%, transparent);
}
.compare tr:last-child td,
.compare tr:last-child th {
  border-bottom: 0;
}

.business {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1b2b34, #0f3b38);
  color: #fff;
}
.business h2 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}
.business p {
  margin: 0;
  color: #cfe3e0;
}
.business .btn {
  margin-left: auto;
  flex: none;
}
@media (max-width: 760px) {
  .business {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .business .btn {
    margin-left: 0;
  }
}

/* --- Perguntas frequentes ------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}
.faq details {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.faq details[open] {
  border-color: color-mix(in srgb, var(--brand-2) 50%, var(--line));
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 24px 20px;
  color: var(--muted);
}
.faq .answer p:last-child,
.faq .answer ol:last-child,
.faq .answer ul:last-child {
  margin-bottom: 0;
}
.faq .answer ol,
.faq .answer ul {
  padding-left: 1.3em;
}
.faq .answer li + li {
  margin-top: 4px;
}
.faq .answer strong {
  color: var(--text);
}
.faq-group + .faq-group {
  margin-top: 56px;
}
.faq-group > h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

/* --- Faixa final de chamada ----------------------------------------------- */

/* --- Quem faz -------------------------------------------------------------- */

.makers {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.makers__text {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
}
.makers__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 36px;
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(255 181 71 / 45%), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgb(255 122 89 / 40%), transparent 70%),
    linear-gradient(135deg, #19b8a8, #0b7a6e);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  margin-bottom: 12px;
}
.cta-band p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #e6fffb;
  font-size: 1.15rem;
}
.cta-band .store-buttons {
  justify-content: center;
}
.cta-band .store-btn {
  background: #fff;
  color: #101a1a;
}
@media (max-width: 640px) {
  .cta-band {
    padding: 44px 22px;
    border-radius: 28px;
  }
}

/* --- Rodapé --------------------------------------------------------------- */

.site-footer {
  padding: 72px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-about p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--muted);
}
.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer ul a {
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.site-footer ul a:hover {
  color: var(--brand);
  text-decoration: underline;
}
/* Crédito: quem idealizou e quem desenvolve. */
.footer-credit {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-credit strong {
  color: var(--ink);
}
.footer-credit + .footer-bottom {
  margin-top: 20px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom .sos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-weight: 700;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Páginas internas (planos, suporte, legais) --------------------------- */

.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% 0;
  background:
    radial-gradient(35% 60% at 80% 20%, var(--hero-glow-1), transparent 70%),
    radial-gradient(30% 50% at 15% 30%, var(--hero-glow-3), transparent 70%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
}
.page-hero p {
  max-width: 640px;
  margin-inline: auto;
}

.search {
  position: relative;
  max-width: 620px;
  margin: 28px auto 0;
}
.search i {
  position: absolute;
  left: 20px;
  top: 50%;
  color: var(--muted);
  font-size: 1.4rem;
  transform: translateY(-50%);
  vertical-align: 0;
}
.search input {
  width: 100%;
  min-height: 62px;
  padding: 0 20px 0 56px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.search input:focus {
  outline: none;
  border-color: var(--brand-2);
}
.search-empty {
  display: none;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
}
.search-empty.is-visible {
  display: block;
}

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 14px;
}
.topic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--c) 10%, var(--surface));
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
  transition: transform 0.15s ease;
}
.topic:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card .badge {
  margin-bottom: 16px;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.98rem;
}
.contact-card a.mail {
  margin-top: auto;
  font-weight: 800;
  font-size: 1.05rem;
  word-break: break-all;
}
@media (max-width: 900px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--c, var(--brand)) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 28%, transparent);
}
.callout p {
  margin: 0;
}
.callout strong {
  color: var(--c, var(--brand));
}

/* --- Convite -------------------------------------------------------------- */

/* O atributo hidden vale mesmo em blocos com display próprio (ex.: .callout). */
[hidden] {
  display: none !important;
}

.invite {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.invite__label {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.invite__code {
  margin: 6px 0 22px;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--text);
}
.invite__hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.step .store-buttons {
  margin-top: 18px;
  justify-content: flex-start;
}

.troubleshoot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ts-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.ts-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-card ol {
  margin: 0;
  padding-left: 1.3em;
  color: var(--muted);
}
.ts-card li + li {
  margin-top: 8px;
}
.ts-card li strong {
  color: var(--text);
}
@media (max-width: 900px) {
  .troubleshoot {
    grid-template-columns: 1fr;
  }
}

/* Texto longo (privacidade e termos) */
.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  padding: 24px 0 104px;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow: auto;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.93rem;
}
.toc strong {
  display: block;
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
}
.toc li + li {
  margin-top: 6px;
}
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--brand);
}
.prose {
  max-width: 760px;
  min-width: 0;
}
.prose h2 {
  margin: 48px 0 14px;
  font-size: 1.55rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 6px;
}
.prose .summary {
  margin-bottom: 40px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
}
.prose .summary h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}
.prose .summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prose .summary li {
  display: flex;
  gap: 10px;
}
.prose .summary li i {
  color: var(--brand);
  flex: none;
  margin-top: 3px;
  vertical-align: 0;
}
.prose table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
}
.prose .table-wrap {
  overflow-x: auto;
}
.updated {
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 960px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .toc {
    position: static;
    max-height: none;
  }
}

/* 404 */
.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 72px 0;
  text-align: center;
}
.not-found .big {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-2), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Animação de entrada -------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .tile,
  .store-btn,
  .topic {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .cta-band {
    display: none;
  }
  .legal {
    display: block;
  }
}

.section--flush-top {
  padding-top: 8px;
}
.mt-lg {
  margin-top: 28px;
}
.mb-lg {
  margin-bottom: 32px;
}
.cta-row--center {
  justify-content: center;
}

/* --- Vídeo de apresentação ----------------------------------------------------- */

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 800;
  text-decoration: none;
}
.video-link i {
  font-size: 1.6rem;
  vertical-align: 0;
}
.video-frame {
  max-width: 1040px;
  margin: 0 auto;
}
.video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: #0f1a1a;
  box-shadow: var(--shadow-lg);
}
.video--tall {
  display: none;
}
.video-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
/* No celular, a versão vertical (só uma das duas é baixada: a que for tocada). */
@media (max-width: 700px) {
  .video--wide {
    display: none;
  }
  .video--tall {
    display: block;
    width: min(100%, 380px);
    margin: 0 auto;
  }
}
