/* report-saude.moovers.com.br · identidade Comunidade Moovers + clima Eudēmonia no hero */
:root {
  --bg: #f2eee2;
  --surface: #fbfaf6;
  --surface-soft: #ebe6d9;
  --text: #3d2831;
  --muted: #6e5f63;
  --wine: #51001e;
  --wine-hover: #6b0a2c;
  --gold: #f9c031;
  --line: rgb(61 40 49 / 18%);
  --line-soft: rgb(61 40 49 / 10%);

  --night: #0d1611;
  --night-2: #14211a;
  --ivory: #f3efe9;
  --ivory-quiet: rgb(243 239 233 / 72%);
  --ivory-faint: rgb(243 239 233 / 16%);
  --signal: #d7c9a4;

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Raleway", system-ui, sans-serif;
  --font-label: "DM Mono", ui-monospace, Menlo, monospace;

  --step--1: clamp(.76rem, .72rem + .14vw, .84rem);
  --step-0: clamp(.98rem, .92rem + .25vw, 1.12rem);
  --step-1: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --step-2: clamp(1.9rem, 1.52rem + 1.65vw, 3rem);
  --step-3: clamp(2.7rem, 1.7rem + 4.4vw, 5.6rem);

  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: clamp(3.5rem, 8vw, 7rem);

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgb(0 0 0 / 28%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2rem, var(--content)); margin-inline: auto; }

.label {
  font: 400 var(--step--1)/1.4 var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rule { display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: var(--space-4); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: var(--step-2); color: var(--wine); }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  padding: 1.4rem 0;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top__logo img { height: 18px; width: auto; }
.top__cta {
  font: 500 var(--step--1)/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--ivory-faint); padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.top__cta:hover { background: rgb(243 239 233 / 8%); border-color: rgb(243 239 233 / 40%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 78% 40%, var(--night-2) 0%, var(--night) 62%);
  color: var(--ivory);
  min-height: 100svh;
  padding: 7.5rem 0 4.5rem;
  display: flex; align-items: center;
}
.hero__radar { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero::after { /* leve vinheta para o texto respirar sobre o radar */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(13 22 17 / 88%) 0%, rgb(13 22 17 / 40%) 48%, rgb(13 22 17 / 10%) 100%);
}
.hero__side {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 5rem; align-items: center;
}
.hero__side span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 400 .72rem/1 var(--font-label); letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-quiet);
}
.hero__side span:last-child { color: var(--signal); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__eyebrow { color: var(--signal); margin-bottom: var(--space-4); display: flex; align-items: center; gap: .8rem; }
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-size: var(--step-3); color: var(--ivory); line-height: 1.02; max-width: 11ch; }
.hero h1 em { color: var(--signal); }
.hero__sub { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; color: var(--ivory); max-width: 30ch; margin: var(--space-4) 0 var(--space-4); }
.hero__lede { color: var(--ivory-quiet); max-width: 52ch; margin: 0; }

/* entrada que assenta, sem quique */
.settle { opacity: 0; transform: translateY(18px); animation: settle .9s var(--ease) forwards; }
.settle:nth-child(2) { animation-delay: .08s; }
.settle:nth-child(3) { animation-delay: .18s; }
.settle:nth-child(4) { animation-delay: .28s; }
.hero__card.settle { animation-delay: .38s; }
@keyframes settle { to { opacity: 1; transform: none; } }

/* ---------- Form ---------- */
.card {
  background: var(--surface); color: var(--text);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.card h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.card__note { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.lead-form { display: grid; gap: .85rem; }
.field label { display: block; font: 500 .72rem/1.3 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.field input {
  width: 100%; font: 400 1rem/1.3 var(--font-body); color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem .9rem; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgb(81 0 30 / 12%); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.check input { margin-top: .2rem; accent-color: var(--wine); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 0; border-radius: var(--radius-sm); padding: 1.05rem 1.4rem;
  background: var(--wine); color: var(--ivory);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--wine-hover); }
.btn:active { transform: translateY(1px); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn svg { width: 16px; height: 16px; }
.form-msg { min-height: 1.2em; margin: 0; font-size: .9rem; color: #b3261e; }

/* ---------- Seções claras ---------- */
.section { padding: var(--space-6) 0; }

.context__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.context__img { margin: 0; position: relative; }
.context__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgb(13 22 17 / 25%); }
.context__img figcaption { position: absolute; left: 1.25rem; bottom: 1.1rem; color: var(--ivory); opacity: .85; font-size: .7rem; }
.context h2 { max-width: 16ch; margin-bottom: var(--space-4); }
.context__text p { max-width: 58ch; }
.context__lead { font-size: var(--step-1); font-family: var(--font-display); line-height: 1.4; }
.flow { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--line); }
.flow li { position: relative; padding-top: 1.6rem; padding-right: 1rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; color: var(--text); }
.flow li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--wine); }
.flow li:last-child::before { background: var(--wine); }
.flow .label { display: block; color: var(--wine); margin-bottom: .25rem; font-size: .7rem; }

/* faixa da citação com imagem */
.quote { position: relative; overflow: hidden; background: var(--night); color: var(--ivory); padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; isolation: isolate; }
.quote__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -1; opacity: .9; will-change: transform; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgb(13 22 17 / 70%), rgb(13 22 17 / 20%)); }
.quote p { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; max-width: 22ch; margin: 0 auto; }
.quote p em { color: var(--signal); }

/* entregáveis */
.deliver__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: var(--space-5); flex-wrap: wrap; }
.deliver__head .label { color: var(--muted); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.dcard { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 2rem); position: relative; transition: transform .42s var(--ease), box-shadow .42s var(--ease); }
.dcard:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgb(61 40 49 / 10%); }
.dcard__art { width: 100%; height: auto; aspect-ratio: 2 / 1; background: var(--night); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 1.4rem; overflow: visible; }
.dcard__art path, .dcard__art polygon, .dcard__art circle { fill: none; stroke: var(--ivory); stroke-width: .8; stroke-opacity: .6; }
.dcard__art .a2 { stroke-opacity: .32; }
.dcard__art .a3 { stroke-opacity: .2; }
.dcard__art .nodes circle { fill: var(--night); stroke-opacity: .7; }
.dcard__art .pt { fill: var(--signal) !important; stroke: none; }
.dcard__art .sweep { fill: rgb(215 201 164 / 18%); stroke: none; transform-origin: 120px 60px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dcard__n { font: 400 .8rem/1 var(--font-label); color: var(--wine); letter-spacing: .12em; }
.dcard h3 { font-size: var(--step-1); color: var(--text); margin: .5rem 0 .5rem; }
.dcard p { color: var(--muted); margin: 0; max-width: 46ch; }
/* desenho dos traços quando o card aparece (comprimento medido no JS) */
.draw [data-len] { transition: stroke-dashoffset 1.6s var(--ease); }
.draw .a2[data-len] { transition-delay: .2s; }
.draw .a3[data-len] { transition-delay: .4s; }
.in .draw [data-len] { stroke-dashoffset: 0 !important; }
.draw .nodes, .draw .pt { opacity: 0; transition: opacity .6s var(--ease) .9s; }
.in .draw .nodes, .in .draw .pt { opacity: 1; }
.dcard .pt { animation: pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.extras { margin-top: var(--space-5); }
.extras__title { color: var(--muted); margin-bottom: 1rem; }
.extras__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.extra { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.extra svg { width: 64px; height: auto; }
.extra rect, .extra circle, .extra .ln { fill: none; stroke: var(--wine); stroke-width: 1; stroke-opacity: .55; }
.extra .on, .extra .dot { fill: var(--wine); fill-opacity: .85; stroke: none; }
.extra .ring { stroke-opacity: 1; stroke-dasharray: 2 2; }
.extra text { font: 400 7px var(--font-label); fill: var(--muted); }
.extra h3 { font-size: 1.1rem; color: var(--text); margin-bottom: .35rem; line-height: 1.25; }
.extra p { color: var(--muted); font-size: .92rem; margin: 0; }
.tag { display: inline-block; font: 400 .62rem/1 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); border: 1px solid rgb(81 0 30 / 30%); border-radius: 99px; padding: .3rem .5rem; vertical-align: middle; margin-left: .3rem; }

/* ---------- Faixa escura ---------- */
.band { background: var(--night); color: var(--ivory); padding: var(--space-6) 0; position: relative; overflow: hidden; isolation: isolate; }
.band__img { position: absolute; right: -14%; top: 50%; width: min(62vw, 820px); aspect-ratio: 1; object-fit: cover; transform: translateY(-50%); z-index: -1; opacity: .5; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 70%); mask-image: radial-gradient(circle, #000 45%, transparent 70%); }
.band h2 { color: var(--ivory); max-width: 16ch; margin-bottom: var(--space-5); }
.band h2 em { color: var(--signal); }
.band .label { color: var(--signal); margin-bottom: var(--space-4); display: block; }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 760px; }
.q { background: rgb(243 239 233 / 4%); border: 1px solid var(--ivory-faint); border-radius: var(--radius-md); padding: 1.4rem 1.5rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.q__n { font: 400 .72rem/1 var(--font-label); color: var(--signal); letter-spacing: .12em; }
.q h3 { font-size: var(--step-1); font-style: italic; color: var(--ivory); margin: .6rem 0 .45rem; }
.q p { color: var(--ivory-quiet); margin: 0; font-size: .98rem; }
.timeline { display: flex; align-items: center; gap: 1rem; max-width: 760px; margin-top: var(--space-5); }
.timeline .label { margin: 0; color: var(--ivory-quiet); }
.timeline__line { flex: 1; height: 1px; background: var(--ivory-faint); position: relative; }
.timeline__line i { position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgb(215 201 164 / 12%); }
.timeline.in .timeline__line i { animation: travel 6s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; } 80%, 100% { left: calc(100% - 7px); } }
.band__close { margin-top: var(--space-5); font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; max-width: 40ch; color: var(--ivory); }

/* ---------- CTA final com capa ---------- */
.final__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.cover { margin: 0; perspective: 1400px; text-align: center; }
.cover__book {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-align: left;
  width: min(100%, 340px); aspect-ratio: 3 / 4.1; margin: 0 auto; padding: 1.8rem 1.6rem; overflow: hidden;
  background: radial-gradient(110% 80% at 70% 25%, var(--night-2), var(--night) 70%);
  color: var(--ivory); border-radius: 4px 10px 10px 4px;
  box-shadow: inset 6px 0 10px rgb(0 0 0 / 35%), inset 8px 0 0 rgb(255 255 255 / 4%), 30px 40px 60px rgb(13 22 17 / 30%), 8px 10px 18px rgb(13 22 17 / 20%);
  transform: rotateY(-14deg) rotateX(4deg); transition: transform .8s var(--ease);
}
.cover:hover .cover__book { transform: rotateY(-4deg) rotateX(2deg); }
.cover__radar { position: absolute; width: 130%; right: -45%; top: -18%; opacity: .7; }
.cover__radar circle, .cover__radar path { fill: none; stroke: var(--ivory); stroke-opacity: .16; stroke-width: 1; }
.cover__radar g circle { fill: var(--signal); stroke: none; fill-opacity: .9; }
.cover__top { position: absolute; top: 1.6rem; left: 1.6rem; right: 1.6rem; font: 400 .6rem/1.4 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.cover__title { font-family: var(--font-display); font-size: 2.35rem; line-height: 1; position: relative; }
.cover__title em { color: var(--signal); }
.cover__sub { margin-top: .8rem; font-size: .8rem; color: var(--ivory-quiet); position: relative; }
.cover figcaption { margin-top: 1.4rem; color: var(--muted); font-size: .66rem; }
.final h2 { margin: 0 0 var(--space-3); max-width: 16ch; }
.final p { color: var(--muted); max-width: 48ch; }
.final .btn { margin-top: var(--space-3); }
.final__premium { font-size: .92rem; margin-top: var(--space-4); }
.final__premium a { color: var(--wine); }

/* ---------- Rodapé ---------- */
.foot { border-top: 1px solid var(--line); padding: var(--space-5) 0; font-size: .85rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.foot img { height: 14px; width: auto; }
.foot nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--wine); }
.foot__legal { flex-basis: 100%; font-size: .78rem; margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Página simples (obrigado / privacidade) ---------- */
.simple { min-height: 100svh; display: flex; flex-direction: column; }
.simple .hero { min-height: 0; flex: 1; padding: 8rem 0 5rem; }
.simple .hero::after { background: linear-gradient(90deg, rgb(13 22 17 / 92%) 0%, rgb(13 22 17 / 55%) 60%, rgb(13 22 17 / 25%) 100%); }
.simple h1 { font-size: var(--step-2); max-width: 18ch; }
.simple .hero__lede { margin-top: var(--space-4); }
.simple .btn--ivory { background: var(--ivory); color: var(--night); margin-top: var(--space-5); }
.simple .btn--ivory:hover { background: #fff; }
.doc { padding: 8rem 0 var(--space-6); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: var(--step-2); color: var(--wine); margin-bottom: var(--space-4); }
.doc h2 { font-size: var(--step-1); margin: var(--space-5) 0 .6rem; }
.top--light .top__cta { color: var(--text); border-color: var(--line); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 13ch; }
  .hero__card { max-width: 560px; }
  .hero::after { background: linear-gradient(180deg, rgb(13 22 17 / 50%) 0%, rgb(13 22 17 / 80%) 55%, rgb(13 22 17 / 92%) 100%); }
  .extras__list { grid-template-columns: 1fr; }
  .band__img { opacity: .3; width: 90vw; right: -30%; }
}
@media (max-width: 760px) {
  .hero { padding-top: 6.5rem; }
  .hero__side { display: none; }
  .context__grid, .final__grid { grid-template-columns: 1fr; }
  .context__img img { aspect-ratio: 5 / 4; }
  .flow { grid-template-columns: 1fr; gap: 1rem; }
  .flow::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .flow li { padding: 0 0 0 1.8rem; }
  .cards, .qs { grid-template-columns: 1fr; }
  .top__cta { padding: .75rem .85rem; }
  .band__img { top: 12%; right: -40%; width: 110vw; }
  .cover__book { width: min(78%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .settle, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .draw [data-len] { stroke-dashoffset: 0 !important; transition: none !important; }
  .draw .nodes, .draw .pt { opacity: 1 !important; }
  .dcard .pt, .dcard__art .sweep, .timeline__line i { animation: none !important; }
  .cover__book { transition: none; }
}
