/* ============================================================
   Mindle Saúde, base de identidade (redesign 21/08/2026)
   Outfit + Lato, paleta mineral. Fonte de verdade:
   MindleOS -> identidade/design-guide.md
   Uso: páginas de teste saude-a / saude-b / saude-c
   ============================================================ */

:root {
  --cream:       #F4F1EA;
  --cream-soft:  #ECE8DF;
  --offwhite:    #FAF8F5;
  --ink:         #171715;
  --ink-soft:    #4C4B46;
  --muted:       #7B7A73;
  --teal:        #2E8B8E;
  --teal-deep:   #00494A;
  --teal-bright: #3DB4B6;
  --terra:       #C9713D;
  --dark:        #1E3835;

  --line: rgba(0, 73, 74, 0.10);
  --shadow: 0 12px 40px rgba(23, 23, 21, 0.06);
  --shadow-lg: 0 24px 70px rgba(23, 23, 21, 0.10);

  --display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal-deep); }

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h1 { font-size: clamp(40px, 6.2vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }

.thin { font-weight: 100; }

.sub {
  font-family: var(--display);
  font-weight: 100;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: 0;
}

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--ink); }

/* ---------- Eyebrow (duas barrinhas + rótulo) ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 9px;
  flex: none;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}

.eyebrow.is-center { justify-content: center; }
.eyebrow.on-dark { color: var(--teal-bright); }
.eyebrow.on-dark::before { border-color: var(--teal-bright); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--teal-deep);
  color: var(--offwhite);
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 73, 74, 0.20);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--offwhite);
  color: var(--teal-deep);
  box-shadow: var(--shadow);
}

.btn-terra { background: var(--terra); }
.btn-terra:hover { background: #b8622f; box-shadow: 0 10px 26px rgba(201, 113, 61, 0.24); }

.btn-on-dark { background: var(--teal-bright); color: var(--dark); }
.btn-on-dark:hover { background: var(--offwhite); color: var(--dark); }

/* ---------- Estrutura ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

section { padding: clamp(64px, 9vw, 120px) 0; }

.band-soft { background: var(--cream-soft); }

.band-dark {
  background: var(--dark);
  color: var(--offwhite);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--offwhite); }
.band-dark p { color: rgba(250, 248, 245, 0.74); }
.band-dark strong { color: var(--offwhite); }
.band-dark .sub { color: rgba(250, 248, 245, 0.80); }

.head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 60px); }
.head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.head.is-center .eyebrow { justify-content: center; }
.head p { margin-top: 18px; font-size: 18px; }

/* ---------- Cards ---------- */

.card {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Topo e rodapé ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topo-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.logo { width: 148px; height: auto; }
.logo text { font-family: var(--display); }

.pe {
  padding: 52px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--cream-soft);
  font-size: 15px;
  color: var(--muted);
}
.pe .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }

/* ---------- Revelar ao rolar ---------- */

.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
