/* 2026-06-01 19:35 — Tema claro alinhado ao Habitline original (fundo branco/cinza) @filipemontt */
:root {
  --bg: #f6f7f9;
  --bg-white: #ffffff;
  --bg-muted: #eeeff2;
  --bg-card: #ffffff;
  --border: #e4e6eb;
  --primary: #ff5c00;
  --primary-soft: rgba(255, 92, 0, 0.12);
  --accent-green: #22c55e;
  --text: #1a1d26;
  --text-secondary: #4b5563;
  --muted: #6b7280;
  --font-display: "Public Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-card: 0 4px 24px rgba(26, 29, 38, 0.06);
  --shadow-nav: 0 4px 20px rgba(26, 29, 38, 0.08);
  --nav-btn-size: 50px;
  --nav-pill-pad: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3, h4,
.section-title,
.hero h1,
.logo,
.btn,
.bento-head h3,
.bento-head h4,
.faq-q,
.story-card h4 {
  font-family: var(--font-display);
  color: var(--text);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.font-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }

/* Nav — pills brancos como o original | 2026-06-01 altura alinhada logo + store @filipemontt */
.nav-wrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0.875rem 0;
  transition: background 0.35s, backdrop-filter 0.35s;
}
@media (min-width: 768px) {
  .nav-wrap { padding: 1.25rem 0; }
}
@media (min-width: 1024px) {
  .nav-wrap { padding: 1.875rem 0; }
}
.nav-wrap.scrolled {
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(12px);
}
/* 2026-06-01 — Pill da logo sem fundo/sombra (hero e menu sticky) @filipemontt */
.nav-pill:has(.logo--svg) {
  background: transparent;
  box-shadow: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .nav-inner { justify-content: center; }
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--nav-pill-pad);
  min-height: calc(var(--nav-btn-size) + var(--nav-pill-pad) * 2);
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-nav);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  min-height: var(--nav-btn-size);
  padding: 0 1rem;
  border-radius: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: none;
}
/* 2026-06-01 — Logo SVG transparente (img/logo.svg) @filipemontt */
.logo.logo--svg {
  padding: 0 0.65rem;
  min-height: var(--nav-btn-size);
  background: transparent;
  color: var(--text);
}
.logo.logo--svg .logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo.logo--svg .logo-img--sticky {
  display: none;
}
.nav-wrap.scrolled .logo.logo--svg .logo-img--hero {
  display: none;
}
.nav-wrap.scrolled .logo.logo--svg .logo-img--sticky {
  display: block;
}
@media (min-width: 768px) {
  /* 2026-08-17 17:28 — Logo do header -10px (48→38 / 52→42) @filipemontt */
  .logo.logo--svg .logo-img { height: 42px; }
}
.nav-pill .logo-wordmark {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1;
  min-height: var(--nav-btn-size);
  padding: 0 1.15rem;
  display: inline-flex;
  align-items: center;
}
.logo-wordmark {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.hero .logo-wordmark { color: #fff; }
.habit-card .icon-dot { font-size: 1.35rem; line-height: 1; }
.nav-links {
  display: none;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-spacer { flex: 1; max-width: 2.5rem; transition: max-width 0.5s; }
  .nav-wrap.scrolled .nav-spacer { max-width: 10px; }
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  min-height: var(--nav-btn-size);
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--bg-muted);
  color: var(--text);
}
.nav-cta {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: var(--nav-pill-pad);
  min-height: calc(var(--nav-btn-size) + var(--nav-pill-pad) * 2);
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-nav);
}
.store-btn {
  display: flex;
  width: var(--nav-btn-size);
  height: var(--nav-btn-size);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border-radius: 16px;
  transition: background 0.2s;
}
.store-btn:hover { background: #e2e4e9; }
.store-btn img {
  width: 24px;
  height: 24px;
  display: block;
}
.menu-toggle {
  display: flex;
  width: var(--nav-btn-size);
  height: var(--nav-btn-size);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 1.35rem;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-btn-size) + var(--nav-pill-pad) * 2 + 2.75rem);
  left: 4vw;
  right: 4vw;
  z-index: 99;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-nav);
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}
.mobile-menu a:hover { background: var(--bg-muted); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--bg-white);
  color: var(--text);
}
.btn-primary:hover { opacity: 0.92; }
.btn-dark {
  background: var(--text);
  color: var(--bg-white);
}
.btn-dark:hover { opacity: 0.9; }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--text-secondary); }

/* Hero — escuro só nesta seção (como original) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 9.5rem 0 4rem;
  overflow: hidden;
  background: #000;
}
@media (min-width: 768px) {
  .hero { padding: 10.5rem 0 5rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 13rem 0 6rem; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 28%, rgba(255, 92, 0, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
}
/* 2026-06-01 — Largura do hero para título em 2 linhas (Conectando pessoas / e negócios.) @filipemontt */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(1200px, 96vw);
  padding: 0 1rem 3rem;
}
.hero .logo,
.hero h1,
.hero p { color: #fff; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.badge-tag {
  background: #000;
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}
/* 2026-06-01 — Título hero + slider vertical centralizado (fix translate %) @filipemontt */
.hero h1,
.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-headline__line {
  display: block;
  width: 100%;
}
/* 2026-06-01 — Largura do rotator acompanha cada palavra (sem slot fixo) @filipemontt */
.hero-headline__line--rotator {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}
.hero-headline__prefix {
  flex-shrink: 0;
}
.hero-rotator {
  display: inline-block;
  vertical-align: baseline;
  max-width: calc(100vw - 2rem);
}
.hero-rotator__viewport {
  display: block;
  overflow: hidden;
  width: auto;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-rotator__track {
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hero-rotator__word {
  display: block;
  white-space: nowrap;
  color: #fff;
  text-align: left;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotator__viewport,
  .hero-rotator__track { transition: none; }
}

/* 2026-06-01 — Largura do subtítulo do hero @filipemontt */
.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: min(670px, 92vw);
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-phones {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 360px;
}
.hero-phones img.main {
  width: min(300px, 45vw);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
  animation: float 6s ease-in-out infinite;
}
.hero-phones img.side {
  position: absolute;
  width: min(150px, 26vw);
  animation: float 5s ease-in-out infinite reverse;
}
.hero-phones img.side.left { left: 8%; top: 12%; }
.hero-phones img.side.right { right: 8%; top: 18%; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
/* Sections */
section.page-section { position: relative; z-index: 1; background: var(--bg); }
.section-pad { padding: 4rem 0; }
@media (min-width: 768px) { .section-pad { padding: 5rem 0; } }
.pill-label {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}
h2.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.text-muted { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-top: 1.25rem; }
.tag {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text);
  border: none;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 50s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.habit-card {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 24px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.habit-card .icon-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
}
.habit-card img { width: 24px; height: 24px; }
.marquee-img {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* Rating */
.rating-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .rating-row { grid-template-columns: 1fr 1fr; }
}
.rating-stars { color: var(--primary); font-size: 1.5rem; }

/* Bento */
.bento {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: 1 / -1; }
}
.bento-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-muted);
}
.bento-card.white { background: var(--bg-white); box-shadow: var(--shadow-card); }
.bento-card.planner-card {
  background: linear-gradient(145deg, #1a2e1f 0%, #0d1810 100%);
  color: #fff;
}
.bento-card.planner-card h3 { color: #fff; }
.bento-card.planner-card .text-muted { color: rgba(255, 255, 255, 0.55); }
.bento-head { padding: 1.75rem 1.75rem 0; }
.bento-head h3 { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 600; }

.planner {
  margin: 1.25rem 1.5rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.planner-header {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.task-row {
  display: flex;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  align-items: center;
}
.task-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  width: 48px;
  text-align: right;
  line-height: 1.2;
}
.task-pill {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.task-pill.done {
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}
.task-pill.pending {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.pill-mini {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
  font-weight: 700;
}

/* Tabs */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab-btn {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--text);
  color: var(--bg-white);
  border-color: var(--text);
}
.tab-panel {
  display: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
.tab-panel img { width: 100%; height: 400px; object-fit: cover; display: block; }
.tab-wrap { position: relative; }
.tab-panel .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #fff;
}
.tab-stat {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-box {
  padding: 1.75rem 1rem;
  border-radius: 20px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.stat-box .num {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-box .label { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }

/* Operação completa — 2026-06-01 layout clean @filipemontt */
.ops-section { background: var(--bg); }
.ops-panel {
  display: grid;
  gap: 2.5rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) {
  .ops-panel {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    padding: 3rem 3.5rem;
    align-items: start;
  }
}
.ops-intro { max-width: 420px; }
.ops-intro .section-title {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.ops-intro .text-muted { margin: 0; line-height: 1.65; }
.ops-cta { margin-top: 1.75rem; }
.ops-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.ops-kpi {
  padding: 1.5rem 1rem;
  background: var(--bg-white);
  text-align: center;
}
@media (min-width: 640px) {
  .ops-kpi { padding: 1.75rem 1.25rem; }
}
.ops-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ops-kpi-value span { color: var(--primary); }
.ops-kpi-label {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
@media (min-width: 640px) {
  .ops-kpi-label { font-size: 0.875rem; }
}
/* Stories */
.stories-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.story-card {
  position: relative;
  width: 300px;
  height: 380px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.story-card img { width: 100%; height: 100%; object-fit: cover; }
/* 14/09/2026 01:32 — Cards de depoimento sem imagem externa @filipemontt */
.story-card--placeholder {
  background: linear-gradient(145deg, #1a1208 0%, #3d2814 45%, #8b6341 100%);
}
.story-card .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}
.story-card .content {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  color: #fff;
}
.story-card h4 { margin: 0 0 0.35rem; font-size: 2.5rem; font-weight: 800; color: #fff; }

/* Testimonials */
.testi-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.testi-card .stars { color: var(--primary); margin-bottom: 0.75rem; }
.testi-card .author { margin-top: 1rem; font-weight: 700; color: var(--text); font-size: 0.9rem; }
.testi-card .role { color: var(--muted); font-size: 0.8rem; }

/* FAQ */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.3fr; } }
.faq-side-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--bg-muted);
}
.faq-item { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.75rem 0;
}
.faq-q span.icon { color: var(--text-secondary); font-size: 1.25rem; transition: transform 0.3s; }
.faq-item.open .faq-q span.icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 1rem; }

/* Download section (antes do footer — clone original) */
.download-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 2rem;
  background: var(--bg);
}
@media (min-width: 1024px) { .download-section { padding: 7.5rem 0 2rem; } }
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .download-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
}
.download-col-left {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .download-col-left { text-align: left; align-items: flex-start; margin-right: 2rem; }
}
.download-col-center {
  order: 3;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) { .download-col-center { order: 2; } }
.download-col-right {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .download-col-right { order: 3; align-items: flex-end; margin-left: 2rem; text-align: left; }
}
.download-col-left h3,
.download-col-right h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .download-col-left h3,
  .download-col-right h3 { font-size: 2.25rem; }
}
.download-col-left p {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (min-width: 1024px) { .download-col-left p { margin-top: 1.25rem; } }
.download-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 40;
}
@media (min-width: 1024px) { .download-btns { margin-top: 2rem; } }
.btn-dl-ios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s;
}
.btn-dl-ios:hover { transform: scale(0.98); }
.btn-dl-android {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.25s;
}
.btn-dl-android:hover { transform: scale(0.98); }
.download-phone {
  width: 100%;
  max-width: 280px;
  height: auto;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) { .download-phone { max-width: 224px; } }
@media (min-width: 1024px) { .download-phone { max-width: 456px; } }
.download-col-right h3 { margin-bottom: 1.25rem; }
.qr-wrap {
  display: inline-block;
  border-radius: 16px;
  background: var(--bg-white);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(26, 29, 38, 0.12);
  position: relative;
  z-index: 30;
}
.qr-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-muted);
  padding: 8px;
}
.qr-inner img { width: 144px; height: 144px; display: block; }
@media (min-width: 1024px) { .qr-inner img { width: 184px; height: 184px; } }
.download-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4rem;
  height: 120px;
  background: var(--bg);
  filter: blur(28px);
  z-index: 20;
  pointer-events: none;
}
@media (min-width: 768px) { .download-blur { height: 160px; bottom: -6rem; filter: blur(35px); } }
.cloud-deco {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}
.cloud-deco-1 { left: -6rem; bottom: -3rem; width: 55rem; max-width: none; opacity: 0.9; z-index: 0; }
.cloud-deco-2 { right: 10%; bottom: -4rem; width: 50rem; max-width: none; z-index: 1; }
.cloud-deco-3 { left: 0; right: 0; bottom: -8rem; width: 100%; height: auto; z-index: 0; }

/* Footer — clone Habitline original */
.site-footer {
  background: var(--bg);
  padding: 5rem 0 1.25rem;
}
@media (min-width: 1024px) { .site-footer { padding-bottom: 1.875rem; } }
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1024px) { .footer-main { gap: 8rem; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-logo {
  display: inline-block;
  margin-bottom: 2.5rem;
}
.footer-logo.logo--svg {
  color: var(--text);
  background: transparent;
}
.footer-logo img { height: 40px; width: auto; display: block; }
@media (min-width: 768px) {
  .footer-logo img { height: 44px; }
}
.footer-brand h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  color: var(--text);
}
@media (min-width: 768px) { .footer-brand h2 { font-size: 1.5rem; } }
.footer-brand .lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
}
@media (min-width: 1024px) {
  .footer-form { flex-direction: row; align-items: center; }
}
.footer-form input {
  flex: 1;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--bg-muted);
  background: var(--bg-muted);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.footer-form input::placeholder { color: #9ca3af; }
.footer-form input:focus { border-color: #d1d5db; }
.footer-form button {
  white-space: nowrap;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--text);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-display);
  cursor: pointer;
  transition: transform 0.2s;
}
.footer-form button:hover { transform: scale(0.98); }
@media (max-width: 1023px) { .footer-form button { width: 100%; } }
.footer-col h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 1.25rem;
}
@media (min-width: 1024px) { .footer-col h3 { margin-bottom: 1.875rem; } }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.2s;
}
@media (min-width: 768px) { .footer-links a { font-size: 1.125rem; } }
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.footer-bar {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bg-muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .footer-bar {
    margin-top: 4rem;
    padding-top: 1.875rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
}
.footer-bar p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}
@media (min-width: 768px) { .footer-bar p { font-size: 1.125rem; } }
.footer-bar p a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.footer-bar p a:hover { text-decoration: underline; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: #1f2937;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-social a:hover { background: #e2e4e9; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Week bars */
.week-bars { display: flex; flex-direction: column; gap: 1rem; }
.week-bar label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.35rem; }
.week-bar .track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-muted);
  overflow: hidden;
}
.week-bar .fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #ff8c42);
}
.inner-stat-grid { display: flex; flex-direction: column; gap: 1rem; }
.stacks-inner {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .stacks-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.stacks-panel {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

/* AI */
.ai-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
.ai-feature {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.ai-feature:last-child { border-bottom: none; }
/* 14/09/2026 00:52 — Ícones SVG menores e brancos na seção inteligência @filipemontt */
.ai-feature .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.ai-feature .ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.ai-mock { filter: drop-shadow(0 20px 40px rgba(26, 29, 38, 0.12)); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Avatar stack */
.avatar-stack { display: flex; }
.avatar-stack img,
.avatar-stack .avatar-you {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child,
.avatar-stack .avatar-you:first-child { margin-left: 0; }
.avatar-you {
  background: var(--text);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* 13/09/2026 21:20 — Página legal (navbar fixo da landing + conteúdo estilo app) @filipemontt */
.page-legal {
  background: #fff;
  color: #111827;
}

.page-legal .nav-wrap {
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(12px);
}
.page-legal .nav-wrap .logo-img--hero { display: none; }
.page-legal .nav-wrap .logo-img--sticky { display: block; }

.page-legal .legal-section {
  position: relative;
  z-index: 1;
  background: #fff;
  /* Compensa o navbar fixo (.nav-wrap) + respiro abaixo do menu */
  padding-top: calc(6.75rem + env(safe-area-inset-top, 0px));
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .page-legal .legal-section {
    padding-top: calc(7.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: 5rem;
  }
}
@media (min-width: 1024px) {
  .page-legal .legal-section {
    padding-top: calc(8.75rem + env(safe-area-inset-top, 0px));
  }
}

.legal-page__inner {
  width: min(42rem, 100%);
  margin-inline: auto;
}

.legal-page__header {
  margin-bottom: 2rem;
  padding-top: 0.25rem;
}
.legal-page__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) {
  .legal-page__title { font-size: 1.5rem; }
}
.legal-page__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-doc {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal-doc__lead {
  font-size: 1rem;
  color: #111827;
  margin: 0 0 1.5rem;
}

.legal-doc h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
}

.legal-doc p { margin: 0 0 0.875rem; }

.legal-doc ul {
  margin: 0 0 1rem 1.125rem;
  padding: 0;
}
.legal-doc li { margin-bottom: 0.5rem; }

.legal-doc a {
  color: #111827;
  text-decoration: underline;
}
.legal-doc a:hover { color: var(--primary); }

.page-legal .site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* 14/09/2026 01:15 — Página Fale conosco @filipemontt */
.contact-page__inner {
  width: min(32rem, 100%);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form[hidden],
.contact-form.is-sent {
  display: none !important;
}

.contact-success[hidden]:not(.is-visible) {
  display: none !important;
}

.contact-success.is-visible {
  display: block;
}

.contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-white);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9ca3af;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-field input.is-invalid,
.contact-field select.is-invalid,
.contact-field textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field-error {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #ef4444;
}

.contact-form__submit {
  width: 100%;
  padding: 0.9rem 1.25rem;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 14px;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.contact-note a {
  color: var(--text);
  text-decoration: underline;
}

.contact-success {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.contact-success__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 1.5rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.contact-success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.contact-success p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
