/* =========================================================
   SALU — Website
   Design tokens espelham o app (src/theme/colors.ts)
   Referência de estética: vandslab.com (editorial, minimal,
   tipografia grande, grids respiráveis, scroll suave)
   ========================================================= */

:root {
  /* Brand */
  --primary: #402e94;
  --primary-hover: #2f216e;
  --primary-light: #e8e3fb;
  --primary-muted: #b8b8c2;

  /* Surfaces */
  --bg: #ffffff;
  --surface: #f8f6f1;
  --surface-card: #ffffff;
  --surface-lavender: #e8e3fb;
  --surface-cream: #fbf1d2;
  --surface-blue: #dde9f8;
  --surface-green: #dcefe0;
  --surface-pink: #fbe2e2;

  /* Text */
  --text: #402e94;
  --text-on-dark: #ffffff;
  --text-muted: #8a86a8;
  --text-accent: #436d46;

  /* Lines */
  --border: rgba(64, 46, 148, 0.12);
  --border-strong: rgba(64, 46, 148, 0.22);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(20, 20, 31, 0.06);
  --shadow-md: 0 12px 40px rgba(20, 20, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 20, 31, 0.12);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 96px;
  --space-10: 128px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Inter', serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ----- Typography ----- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.h-display {
  font-size: clamp(44px, 8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.h-display em, h1 em, h2 em {
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 500;
}
.h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
.h2 { font-size: clamp(26px, 3.5vw, 42px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); }

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text);
  opacity: 0.78;
  max-width: 62ch;
}

p { color: var(--text); }
p.muted { color: var(--text-muted); }

.italic { font-style: italic; }

/* ----- Layout ----- */
.container {
  max-width: var(--container);
  padding: 0 32px;
  margin: 0 auto;
  width: 100%;
}
.container-narrow {
  max-width: var(--container-narrow);
  padding: 0 32px;
  margin: 0 auto;
}
section {
  padding: var(--space-10) 0;
  position: relative;
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .container, .container-narrow { padding: 0 20px; }
}

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(64, 46, 148, 0.06);
  transition: transform 0.35s ease, background 0.35s ease;
}
.nav.hide { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--surface-lavender), var(--surface-cream));
  display: grid; place-items: center;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font);
  font-size: 14px;
  border: 1.5px solid var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--primary);
  opacity: 0.72;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* ----- Mobile nav toggle (hamburger) ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 12px 28px rgba(42, 43, 44, 0.12);
    border-top: 1px solid var(--border);
    z-index: 100;
  }
  .nav.nav-open .nav-links a {
    font-size: 17px;
    font-weight: 600;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    opacity: 1;
  }
  .nav.nav-open .nav-links a:last-child { border-bottom: none; }

  .nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Nav CTA button smaller on mobile to fit */
  .nav-download { padding: 10px 14px; font-size: 13px; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-on-dark);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--primary-light); }
.btn-arrow::after {
  content: '→';
  font-weight: 400;
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ----- Hero ----- */
.hero {
  padding: 160px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--surface-lavender), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, var(--surface-cream), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 130px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--text-accent);
  font-weight: 400;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}
.hero-meta {
  display: flex; gap: 28px; margin-top: 44px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

/* ----- Phone Mockup ----- */
.phone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/19;
  margin: 0 auto;
  border-radius: 48px;
  background: #14141f;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #14141f;
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

/* ----- Section Header ----- */
.section-head {
  max-width: 840px;
  margin-bottom: 72px;
}
.section-head h2 { margin: 20px 0 18px; }

/* ----- Marquee ----- */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  gap: 64px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  opacity: 0.85;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  font-style: italic;
  font-weight: 400;
}
.marquee-track span::after {
  content: '•';
  color: var(--text-accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Problem section ----- */
.problem {
  background: var(--surface);
  border-radius: var(--r-xl);
  margin: 0 24px;
  padding: 96px 0;
}
@media (max-width: 720px) { .problem { margin: 0 12px; padding: 72px 0; } }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 80px;
}
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr; gap: 32px; }
}
.stat {
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
}
.stat .num {
  font-family: var(--font);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.stat .label {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  line-height: 1.5;
}

/* ----- Three pillars ----- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .num-badge {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-accent);
  font-style: italic;
  font-weight: 400;
}
.pillar h3 { font-size: 26px; }
.pillar p { font-size: 15px; opacity: 0.8; }

/* ----- Feature rows ----- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: none; }
.feature.reverse .feature-text { order: 2; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .feature.reverse .feature-text { order: 0; }
}
.feature-text .eyebrow { margin-bottom: 16px; }
.feature-text h2 { margin-bottom: 18px; }
.feature-text ul {
  list-style: none;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-text li {
  display: flex; gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.88;
}
.feature-text li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px; margin-top: 8px;
  background: var(--text-accent);
  border-radius: 50%;
}

/* ----- Mock screens (in feature rows) ----- */
.mock {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mock-phone {
  max-width: 290px;
  margin: 0 auto;
}

/* ----- In-phone UI elements ----- */
.ui {
  padding: 44px 16px 16px;
  font-size: 11px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ui-statusbar {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 600;
  color: var(--primary);
  padding: 0 8px;
  margin-bottom: 4px;
}
.ui-greeting { padding: 0 4px; }
.ui-greeting .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.ui-greeting .sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.ui-ring {
  width: 180px; height: 180px;
  margin: 8px auto;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--primary) 0deg 300deg, var(--border) 300deg);
  display: grid; place-items: center;
  position: relative;
}
.ui-ring::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--bg);
}
.ui-ring .score {
  position: relative;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--primary);
  line-height: 1;
}
.ui-ring .score small {
  font-size: 10px;
  font-family: var(--font);
  color: var(--text-muted);
  display: block;
  text-align: center;
  margin-top: 4px;
}

.ui-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 4px;
}
.ui-action {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.1;
}

.ui-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.ui-card .label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.ui-card .value {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ----- Calendar mock ----- */
.ui-cal {
  background: var(--surface-lavender);
  border-radius: 14px;
  padding: 10px;
}
.ui-cal .wd {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 8px; color: var(--primary); opacity: 0.7; text-align: center;
  margin-bottom: 4px; font-weight: 600;
}
.ui-cal .days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.ui-cal .day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  font-size: 9px; color: var(--primary);
  border-radius: 6px;
  position: relative;
}
.ui-cal .day.active { background: var(--primary); color: white; }
.ui-cal .day.marker::after {
  content: ''; position: absolute; bottom: 2px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-accent);
}

/* ----- Chart mock ----- */
.ui-chart {
  height: 110px;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
}
.ui-chart svg { width: 100%; height: 70px; }

/* ----- Foresee ----- */
.foresee {
  background: linear-gradient(140deg, #2f216e 0%, #402e94 55%, #5a3fb8 100%);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: 96px 56px;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}
@media (max-width: 720px) {
  .foresee { padding: 64px 24px; margin: 0 12px; }
}
.foresee h2, .foresee h3, .foresee .eyebrow { color: var(--text-on-dark); }
.foresee .eyebrow { opacity: 0.8; }
.foresee .lead { color: rgba(255,255,255,0.82); opacity: 1; }
.foresee::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(223, 106, 162, 0.3), transparent 65%);
  pointer-events: none;
}
.foresee-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 860px) { .foresee-grid { grid-template-columns: 1fr; gap: 40px; } }
.foresee-examples {
  display: flex; flex-direction: column; gap: 14px;
}
.foresee-ex {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}
.foresee-ex b { color: #f5bddc; font-weight: 500; }
.foresee-ex small {
  display: block; margin-top: 8px;
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ----- Personas ----- */
.personas {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1000px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .personas { grid-template-columns: 1fr; } }
.persona {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.persona .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  font-weight: 500;
}
.persona .avatar.a1 { background: var(--surface-green); }
.persona .avatar.a2 { background: var(--surface-pink); }
.persona .avatar.a3 { background: var(--surface-blue); }
.persona .avatar.a4 { background: var(--surface-cream); }
.persona h3 { font-size: 20px; }
.persona p { font-size: 13.5px; opacity: 0.8; line-height: 1.55; }
.persona .tag {
  display: inline-block;
  font-size: 11px;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-lavender);
  width: fit-content;
  font-weight: 600;
}

/* ----- Security row ----- */
.trust {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin: 0 24px;
}
@media (max-width: 860px) {
  .trust { grid-template-columns: 1fr; padding: 48px 28px; margin: 0 12px; }
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trust-badge {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.trust-badge .key {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-accent);
  font-weight: 700;
}
.trust-badge .val { font-size: 14px; color: var(--primary); font-weight: 500; }

/* ----- CTA ----- */
.cta-final {
  text-align: center;
  padding: 120px 32px;
}
.cta-final h2 { margin-bottom: 24px; }
.cta-final .lead { margin: 0 auto; }
.cta-final .hero-cta { justify-content: center; margin-top: 40px; }

/* ----- Footer ----- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-col h4 {
  font-family: var(--font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--primary);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
.footer-col p { font-size: 13px; line-height: 1.6; opacity: 0.75; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* ----- Legal pages ----- */
.legal {
  padding: 160px 0 96px;
  max-width: 780px;
  margin: 0 auto;
}
.legal-head {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-head .eyebrow { margin-bottom: 18px; }
.legal-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.legal-head .meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-toc {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.legal-toc h4 {
  font-family: var(--font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 12px;
  font-weight: 600;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
@media (max-width: 640px) { .legal-toc ol { grid-template-columns: 1fr; } }
.legal-toc li { counter-increment: toc; font-size: 14px; }
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--text-accent);
  font-weight: 600;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
.legal-toc a {
  color: var(--primary); opacity: 0.82;
}
.legal-toc a:hover { opacity: 1; }

.legal article { font-size: 15.5px; line-height: 1.68; }
.legal article h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 56px 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.legal article h3 {
  font-size: 19px;
  margin: 32px 0 12px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--primary);
}
.legal article h4 {
  font-size: 15px;
  margin: 20px 0 8px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--primary);
}
.legal article p { margin-bottom: 16px; color: var(--text); opacity: 0.92; }
.legal article ul, .legal article ol {
  margin: 8px 0 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--text); opacity: 0.92;
}
.legal article li { padding-left: 4px; }
.legal article strong { font-weight: 600; color: var(--primary); }
.legal article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.legal article th, .legal article td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal article th {
  background: var(--surface);
  font-weight: 600;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal article .callout {
  background: var(--surface-cream);
  border-left: 3px solid var(--text-accent);
  padding: 18px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
  font-size: 14px;
}
.legal article .callout strong { display: block; margin-bottom: 8px; color: var(--primary); }

.legal-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-footer a { color: var(--primary); font-weight: 500; }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ----- Utility ----- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.text-accent { color: var(--text-accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   INSTITUTIONAL PAGES (home / quem-somos / conteudo / contato)
   ========================================================= */

/* ----- Sub-hero (smaller hero for inner pages) ----- */
.sub-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(closest-side, var(--surface-lavender), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.sub-hero .container { position: relative; z-index: 1; }
.sub-hero h1 {
  max-width: 16ch;
  margin: 24px 0 28px;
}
.sub-hero .lead { max-width: 60ch; }

/* ----- Manifesto block ----- */
.manifesto {
  padding: 64px 0;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
}
.manifesto blockquote::before { content: '“'; color: var(--text-accent); }
.manifesto blockquote::after { content: '”'; color: var(--text-accent); }
.manifesto cite {
  display: block;
  text-align: center;
  margin-top: 32px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font);
}

/* ----- Split block (image + text 50/50) ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.split.reverse .split-text { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .split.reverse .split-text { order: 0; }
}
.split-visual {
  background: linear-gradient(140deg, var(--surface-lavender), var(--surface-blue));
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  padding: 40px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.split-visual-big {
  font-family: var(--font);
  font-style: normal;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.05em;
  text-align: center;
  font-weight: 800;
}
.split-visual-big small {
  display: block;
  font-family: var(--font);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 20px;
  font-weight: 500;
}

/* ----- Values grid ----- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.value .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--text-accent);
  font-weight: 400;
}
.value h3 { font-size: 20px; font-family: var(--font); font-weight: 600; }
.value p { font-size: 14px; line-height: 1.6; opacity: 0.82; }

/* ----- Founder quote block ----- */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
}
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 40px; } }
.founder-photo {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--surface-lavender), var(--surface-blue));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 140px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-style: italic;
}
.founder h3 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 12px;
}
.founder blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.02em;
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 400;
}

/* ----- Timeline ----- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}
.timeline-item .date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-accent);
  font-weight: 400;
}
.timeline-item h4 {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* ----- Content grid / articles ----- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 960px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .content-grid { grid-template-columns: 1fr; } }
.article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.article-card:hover .article-thumb::after {
  opacity: 0.1;
}
.article-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.article-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.article-thumb.c1 { background: var(--surface-lavender); }
.article-thumb.c2 { background: var(--surface-cream); }
.article-thumb.c3 { background: var(--surface-pink); }
.article-thumb.c4 { background: var(--surface-green); }
.article-thumb.c5 { background: var(--surface-blue); }
.article-thumb.c6 { background: #f5e6c4; }
.article-thumb .thumb-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.article-card .cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-accent);
}
.article-card h3 {
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.3;
  color: var(--primary);
  font-weight: 600;
}
.article-card p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.78;
}
.article-card .read-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}
.article-card.upcoming { opacity: 0.55; pointer-events: none; }
.article-card.upcoming .cat { color: var(--text-muted); }

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  opacity: 0.7;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--primary);
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg);
}
.contact-form textarea { min-height: 140px; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }

.contact-info {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item h4 {
  font-family: var(--font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  opacity: 0.7;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-item p, .contact-info-item a {
  font-size: 14.5px;
  color: var(--primary);
  line-height: 1.6;
  font-weight: 500;
}
.contact-info-item a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.contact-info-item a:hover { text-decoration-color: var(--primary); }

/* ----- Download CTA ----- */
.download-cta {
  background: linear-gradient(140deg, #2f216e 0%, #402e94 55%, #5a3fb8 100%);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: 88px 48px;
  text-align: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .download-cta { padding: 56px 24px; margin: 0 12px; } }
.download-cta::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(251, 241, 210, 0.3), transparent 65%);
  pointer-events: none;
}
.download-cta::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(223, 106, 162, 0.25), transparent 65%);
  pointer-events: none;
}
.download-cta > * { position: relative; z-index: 1; }
.download-cta .eyebrow { color: #f5bddc; opacity: 1; justify-content: center; display: inline-flex; }
.download-cta h2 {
  color: var(--text-on-dark);
  margin: 24px auto 24px;
  max-width: 18ch;
}
.download-cta .lead {
  color: rgba(255,255,255,0.82);
  opacity: 1;
  margin: 0 auto 36px;
}
.download-cta .store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--text-on-dark);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .icon { font-size: 22px; }
.store-btn .line-top { font-size: 10px; opacity: 0.7; display: block; text-transform: uppercase; letter-spacing: 0.1em; }
.store-btn .line-bot { font-size: 15px; display: block; font-weight: 700; }
.store-btn.soon { background: rgba(255,255,255,0.14); color: var(--text-on-dark); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); }
.store-btn.soon .line-top { opacity: 0.8; }

/* ----- Teaser block (home → solucao) ----- */
.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
}
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; gap: 40px; } }
.teaser-visual {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 48px;
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* ----- Nav download button ----- */
.nav-download {
  background: var(--primary) !important;
  color: var(--text-on-dark) !important;
}
.nav-download:hover { background: var(--primary-hover) !important; }

/* =========================================================
   PAGE: solucao.html — typography & accent overrides
   Scoped under .page-solucao so other pages stay untouched.
   ========================================================= */
.page-solucao h1,
.page-solucao h2,
.page-solucao h3,
.page-solucao h4,
.page-solucao .h-display,
.page-solucao .h1,
.page-solucao .h2 {
  font-family: var(--font);
  font-weight: 700;
  font-variation-settings: normal;
  letter-spacing: -0.025em;
}

.page-solucao h1 em,
.page-solucao h2 em,
.page-solucao h3 em,
.page-solucao .h-display em,
.page-solucao .h1 em,
.page-solucao .h2 em,
.page-solucao em.italic.text-accent {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font);
  font-variation-settings: normal;
  background: var(--surface-blue);
  color: var(--primary);
  padding: 0;
  border-radius: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.page-solucao .pillar .num-badge,
.page-solucao .value .num {
  font-family: var(--font);
  font-style: normal;
  font-weight: 700;
  background: var(--surface-blue);
  color: var(--primary);
  padding: 0.1em 0.45em;
  border-radius: 0.35em;
  display: inline-block;
  align-self: flex-start;
  width: auto;
}

.page-solucao .pain-index {
  font-family: var(--font);
  font-style: normal;
  font-weight: 700;
}

.page-solucao .marquee-track {
  font-family: var(--font);
}
.page-solucao .marquee-track span {
  font-style: normal;
  font-weight: 700;
}

.page-solucao .founder blockquote,
.page-solucao .manifesto blockquote {
  font-family: var(--font);
  font-style: normal;
  font-weight: 500;
}

.page-solucao .timeline-item .date {
  font-family: var(--font);
  font-style: normal;
  font-weight: 500;
  color: var(--primary);
}

.page-solucao .article-thumb .thumb-label {
  font-family: var(--font);
  font-style: normal;
  font-weight: 700;
}

/* Marquee bullet: green → primary purple (no-green consistency) */
.page-solucao .marquee-track span::after {
  color: var(--primary);
  opacity: 0.35;
}

/* Gradient boxes (Foresee, Download CTA) — option B pastel lavender → blue,
   with text color inverted to primary for contrast. */
.page-solucao .foresee,
.page-solucao .download-cta {
  background: linear-gradient(140deg, var(--surface-lavender) 0%, var(--surface-blue) 100%);
  color: var(--primary);
}
.page-solucao .foresee h2,
.page-solucao .foresee h3,
.page-solucao .foresee .eyebrow,
.page-solucao .download-cta h2,
.page-solucao .download-cta .eyebrow {
  color: var(--primary);
}
.page-solucao .foresee .lead,
.page-solucao .download-cta .lead {
  color: rgba(64, 46, 148, 0.82);
}
.page-solucao .foresee-ex {
  background: rgba(64, 46, 148, 0.06);
  border-color: rgba(64, 46, 148, 0.12);
  color: rgba(64, 46, 148, 0.92);
}
.page-solucao .foresee-ex small {
  color: rgba(64, 46, 148, 0.55);
}
.page-solucao .store-btn.soon {
  background: rgba(64, 46, 148, 0.08);
  color: var(--primary);
  border-color: rgba(64, 46, 148, 0.2);
}
.page-solucao .download-cta::before {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), transparent 65%);
}
.page-solucao .download-cta::after {
  background: radial-gradient(closest-side, rgba(64, 46, 148, 0.12), transparent 65%);
}

/* Foresee inline highlights — pink → primary purple */
.page-solucao .foresee-ex b {
  color: var(--primary);
  font-weight: 600;
}
.page-solucao .download-cta .eyebrow {
  color: var(--primary);
}

/* Brand wordmark "Salux" in nav — match title typography (Inter bold, no italic) */
.page-solucao .brand {
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.01em;
}

