@charset "UTF-8";
/* ==========================================================================
   Nursing Health — sistema de design
   Paleta derivada do logotipo oficial (#187C80 / #26C5B6) sobre base clara.
   ========================================================================== */

@import url('fonts.css');

/* --------------------------------------------------------------- tokens */
:root {
  /* superfícies */
  --bone:        #FBFAF7;
  --paper:       #FFFFFF;
  --sand:        #F4F0E9;
  --mist:        #EDF5F4;
  --mist-deep:   #DCEDEA;

  /* tinta */
  --ink:         #0C2A2C;
  --ink-2:       #33504F;
  --muted:       #6E8382;
  --line:        #E3EAE8;
  --line-strong: #CFDCD9;

  /* marca */
  --brand:       #187C80;
  --brand-deep:  #0E5F63;
  --brand-soft:  #26C5B6;
  --brand-100:   #D6F1EC;
  --brand-050:   #EDF9F7;
  --ember:       #BE6242;

  /* tipografia */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.6875rem;
  --fs-small:   0.8125rem;
  --fs-body:    1.0125rem;
  --fs-lead:    clamp(1.0625rem, 0.98rem + 0.42vw, 1.25rem);
  --fs-h4:      clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-h3:      clamp(1.375rem, 1.24rem + 0.62vw, 1.75rem);
  --fs-h2:      clamp(1.875rem, 1.5rem + 1.6vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);
  --fs-display: clamp(3rem, 1.4rem + 6.2vw, 6.5rem);

  /* espaço */
  --gap:      clamp(1.25rem, 1rem + 1vw, 2rem);
  --section:  clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius:   18px;
  --radius-l: 28px;
  --radius-s: 10px;

  --shadow-1: 0 1px 2px rgba(12,42,44,.04), 0 4px 14px rgba(12,42,44,.05);
  --shadow-2: 0 2px 6px rgba(12,42,44,.05), 0 18px 44px -18px rgba(12,42,44,.16);
  --shadow-3: 0 30px 80px -34px rgba(12,42,44,.34);

  --ease:      cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --container: 1240px;
  --nav-h: 76px;
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

/* Textura de papel: quase imperceptível, tira o "plástico" do fundo chapado. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

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

/* O atributo hidden precisa vencer as regras de display dos componentes. */
[hidden] { display: none !important; }
img { border-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-variation-settings: 'SOFT' 12, 'WONK' 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong, b { font-weight: 700; }
em { font-style: italic; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

::selection { background: var(--brand-soft); color: #04211F; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ estrutura */
.wrap {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.wrap--narrow { width: min(100% - 2.5rem, 760px); }
.wrap--wide   { width: min(100% - 2rem, 1440px); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--paper { background: var(--paper); }
.section--mist  { background: var(--mist); }
.section--ink   { background: var(--ink); color: #E8F1F0; }
.section--ink h2, .section--ink h3 { color: #FFF; }

.stack > * + * { margin-top: var(--flow, 1rem); }

/* ------------------------------------------------------------ tipografia */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--plain::before { display: none; }
.section--ink .eyebrow { color: var(--brand-soft); }

.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

.serif-accent {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--brand);
}

.index {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-soft);
  letter-spacing: .06em;
}

.headline-block { max-width: 46ch; }
.headline-block .lead { margin-top: 1.4rem; }

/* --------------------------------------------------------------- botões */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #FFF;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9375rem;
  font-weight: 650;
  letter-spacing: -.005em;
  line-height: 1;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .35s var(--ease-soft), border-color .35s;
  will-change: transform;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-deep);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15,95,99,.65); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: #FFF; border-color: var(--ink); box-shadow: none; }

.btn--soft {
  --btn-bg: var(--brand-100);
  --btn-fg: var(--brand-deep);
}
.btn--soft::after { background: var(--brand); }
.btn--soft:hover { --btn-fg: #FFF; }

.btn--light {
  --btn-bg: #FFF;
  --btn-fg: var(--ink);
}
.btn--light::after { background: var(--brand-soft); }

.btn--wide { width: 100%; }
.btn--sm { padding: .68rem 1.2rem; font-size: .875rem; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn .ico { width: 17px; height: 17px; flex: none; }

/* Link com sublinhado que se desenha */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 650;
  font-size: .9375rem;
  color: var(--brand);
  padding-bottom: 2px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.link:hover::after { transform-origin: left; transform: scaleX(1); }
.link .ico { transition: transform .45s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* --------------------------------------------------------------- cartões */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--mist-deep);
}
.card--flat { background: transparent; border-color: transparent; padding: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .72rem;
  border-radius: 999px;
  background: var(--brand-050);
  color: var(--brand-deep);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid var(--brand-100);
}
.badge--ember { background: #FBF0EA; color: var(--ember); border-color: #F1DDD3; }
.badge--ink   { background: rgba(255,255,255,.08); color: #FFF; border-color: rgba(255,255,255,.16); }
.badge--muted { background: var(--sand); color: var(--ink-2); border-color: #E7E0D4; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .35s, color .35s, background .35s, transform .35s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip[aria-current="true"], .chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFF;
}

/* Campo de código de verificação: dígitos largos e espaçados, fáceis de conferir. */
.input--code {
  font: 700 1.35rem/1.2 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .38em;
  text-align: center;
  padding-inline: .6rem;
}
.input--code::placeholder { letter-spacing: .38em; opacity: .35; }

/* --------------------------------------------------------------- grades */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0,1fr) 340px; gap: clamp(2rem,4vw,4rem); }
.grid--split { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.grid--top { align-items: start; }

/* Coluna que acompanha a rolagem ao lado da outra metade do grid. Quando o
   grid vira uma coluna só, ela precisa voltar a rolar: parada, o conteúdo
   seguinte sobe por cima dela. */
.col-sticky { position: sticky; top: var(--sticky-top, 110px); }
@media (max-width: 1040px) { .col-sticky { position: static; } }

@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--sidebar, .grid--split { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ formulários */
.field { position: relative; margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: .8125rem;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: .45rem;
  letter-spacing: .01em;
}
.field .req { color: var(--ember); }

.input, .select, .textarea {
  width: 100%;
  padding: .88rem 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236E8382' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-050);
}
.input::placeholder, .textarea::placeholder { color: #9DAFAE; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: #C7513C;
  box-shadow: 0 0 0 4px rgba(199,81,60,.08);
}
.field-error {
  display: block;
  margin-top: .4rem;
  font-size: .8125rem;
  color: #A8412F;
}
.field-hint { display: block; margin-top: .4rem; font-size: .8125rem; color: var(--muted); }

.check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--ink-2);
  line-height: 1.55;
  cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Campo-armadilha invisível para robôs (nunca exibido a humanos). */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: .8125rem; color: var(--muted); line-height: 1.6; }

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-s);
  font-size: .9375rem;
  border: 1px solid;
  margin-bottom: 1.4rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.alert--ok    { background: #EDF9F5; border-color: #C4E8DC; color: #14614C; }
.alert--error { background: #FCF0ED; border-color: #F0D4CC; color: #A8412F; }
.alert--info  { background: var(--brand-050); border-color: var(--brand-100); color: var(--brand-deep); }
.alert--warn  { background: #FDF6E9; border-color: #F0E1BF; color: #8A6516; }
.alert .ico { flex: none; margin-top: 2px; }

/* ------------------------------------------------------------- animação */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translate3d(-26px, 0, 0); }
[data-reveal="right"] { transform: translate3d(26px, 0, 0); }
[data-reveal="scale"] { transform: scale(.965); }

.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: block;
  transform: translateY(102%);
  transition: transform 1.05s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.is-in .split-line > span, .split-line.is-in > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* ------------------------------------------------------------ utilitários */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 999;
  background: var(--ink);
  color: #FFF;
  padding: .8rem 1.2rem;
  border-radius: 0 0 10px 10px;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

.center { text-align: center; }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.flow-tight { --flow: .6rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.6rem; }
.mt-4 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.hide-mobile { }
@media (max-width: 780px) { .hide-mobile { display: none !important; } }
@media (min-width: 781px) { .only-mobile { display: none !important; } }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   Navegação
   ========================================================================== */
.progress-rail {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.progress-rail span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
  transition: width .1s linear;
}

.topbar {
  background: var(--ink);
  color: #B9CFCD;
  font-size: .8125rem;
  position: relative;
  z-index: 3;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .35rem;
}
.topbar a {
  color: #DCEAE8;
  transition: color .3s;
  /* Ícone e texto na mesma linha de base óptica, dentro e fora de links. */
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.topbar a:hover { color: var(--brand-soft); }
.topbar__list { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: flex; align-items: center; gap: .45rem; line-height: 1; }
.topbar__list .ico { flex: none; opacity: .75; }
@media (max-width: 900px) { .topbar { display: none; } }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,247,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(251,250,247,.94); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  min-height: var(--nav-h);
}
.nav__logo { flex: none; display: block; }
.nav__logo img { width: clamp(148px, 15vw, 186px); height: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.6vw, 1.6rem);
  list-style: none;
  margin: 0 auto 0 0;
  padding: 0;
}
.nav__menu li { margin: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .5rem .2rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .3s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: .18rem;
  width: 100%; height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .7rem; flex: none; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
}
.nav__toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__menu, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { justify-content: space-between; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bone);
  transform: translateY(-100%);
  transition: transform .7s var(--ease);
  overflow-y: auto;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__list li {
  margin: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -.02em;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .5s, color .3s;
}
.drawer.is-open .drawer__list a { transform: translateY(0); opacity: 1; }
.drawer__list a:hover { color: var(--brand); }
.drawer__list .index { font-size: .75rem; }
.drawer__foot { display: grid; gap: .8rem; }

/* ==========================================================================
   Herói — composição editorial com massa escura de apoio
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(2rem, 1.2rem + 2.6vw, 3.6rem);
  padding-bottom: 0;
  overflow: hidden;
}

/* Luz difusa atrás do texto, do lado claro */
.hero::before {
  content: '';
  position: absolute;
  left: -18%; top: -22%;
  width: 62%; height: 96%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(52% 58% at 38% 42%, rgba(38,197,182,.11), transparent 70%);
}

.hero__inner {
  /* Distância entre a borda do conteúdo e a borda da janela: é por aqui que
     o painel escuro sangra para a direita. */
  --bleed: max(0px, calc((100vw - min(100vw - 2.5rem, var(--container))) / 2));

  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

/* Marcador vertical: detalhe de revista na lateral do texto */
.hero__kicker {
  position: absolute;
  left: calc(-1 * clamp(1.6rem, 3vw, 3rem));
  top: 4.5rem;
  writing-mode: vertical-rl;
  font-size: .6875rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.hero__kicker::after { content: ''; width: 1px; height: 52px; background: var(--line-strong); }
@media (max-width: 1240px) { .hero__kicker { display: none; } }

.hero__text { position: relative; }

.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.032em;
  font-variation-settings: 'SOFT' 18, 'WONK' 1;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand);
  font-variation-settings: 'SOFT' 70, 'WONK' 1;
}

/* Filete tipográfico sob a chamada */
.hero__rule {
  width: 62px;
  height: 2px;
  background: var(--brand-soft);
  margin: 0 0 1.4rem;
  border: 0;
}

.hero__lead { max-width: 42ch; font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* --------------------------------------------- painel escuro (lado direito) */
.hero__panel {
  position: relative;
  align-self: stretch;
  min-height: clamp(360px, 34vw, 500px);
  border-radius: var(--radius-l) 0 0 var(--radius-l);
  background: var(--ink);
  /* estica até a borda da janela sem levar o conteúdo junto */
  margin-right: calc(-1 * var(--bleed));
  box-shadow: var(--shadow-3);
}
.hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 78% 18%, rgba(38,197,182,.26), transparent 62%),
    radial-gradient(60% 55% at 18% 88%, rgba(24,124,128,.30), transparent 66%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: .95;
}

.hero__stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  padding-right: calc(clamp(1.6rem, 3vw, 2.6rem) + var(--bleed));
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}
.hero__art { width: min(100%, 430px); transform: translate(2%, -4%); }
.hero__art svg { width: 100%; height: auto; }

/* Cartões flutuantes sobre o escuro */
.stage-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -26px rgba(4,26,28,.75);
  padding: 1rem 1.15rem;
  z-index: 3;
}
.stage-card--stat {
  right: calc(clamp(1rem, 3vw, 2.2rem) + var(--bleed));
  top: clamp(1.4rem, 4vw, 2.6rem);
  width: 218px;
  animation: float 7s ease-in-out infinite;
}
.stage-card--shift {
  left: clamp(-3.2rem, -2.6vw, -1.6rem);
  bottom: clamp(1.2rem, 3vw, 2.2rem);
  width: 250px;
  animation: float 8.5s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-card--stat, .stage-card--shift { animation: none; }
}

.stage-card__label {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.stage-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-top: .45rem;
  font-variant-numeric: tabular-nums;
}
.stage-card__foot { margin-top: .6rem; font-size: .8125rem; color: var(--muted); }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2FBF71;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(47,191,113,.4);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.shift-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 0;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
}
.shift-row:first-of-type { border-top: 0; }
.shift-row__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.shift-row__who { color: var(--muted); flex: 1; }

/* ------------------------------------------- faixa escura de indicadores */
.hero__figures {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: #DCE9E8;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.hero__figures dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  gap: 1px;
  background: rgba(255,255,255,.09);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  overflow: hidden;
}
.hero__figures div {
  background: var(--ink);
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1rem, 2vw, 1.6rem);
}
.hero__figures dt {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7E9A98;
  font-weight: 700;
}
.hero__figures dd {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.hero__figures dd sup { font-size: .42em; color: var(--brand-soft); vertical-align: super; margin-left: 2px; }
.hero__figures dd small { font-size: .5em; color: #9FBAB8; font-family: var(--font-sans); letter-spacing: 0; }
.hero__figures .hint { display: block; margin-top: .45rem; font-size: .75rem; color: #7E9A98; }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 2rem; --bleed: 0px; }
  .hero__panel { margin-right: 0; border-radius: var(--radius-l); min-height: 380px; }
  .hero__stage { padding-right: clamp(1.6rem, 3vw, 2.6rem); }
  .stage-card--shift { left: clamp(.8rem, 3vw, 1.4rem); }
  .hero__figures dl { grid-template-columns: repeat(2, 1fr); }
}
/* Abaixo de 760px os cartões saem da flutuação e entram no fluxo, empilhados
   dentro do painel — sem sobreposição nem vazamento. */
@media (max-width: 760px) {
  .hero__panel { min-height: 0; }
  .hero__stage {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.1rem, 4vw, 1.6rem);
  }
  .hero__art {
    width: min(100%, 300px);
    transform: none;
    margin-inline: auto;
  }
  .stage-card,
  .stage-card--stat,
  .stage-card--shift {
    position: static;
    width: 100%;
    inset: auto;
    animation: none;
  }
}

@media (max-width: 560px) {
  .hero__art { width: min(100%, 250px); }
  .hero__figures dl { grid-template-columns: 1fr 1fr; }
  .hero__figures dd { font-size: 1.5rem; }
}

/* ==========================================================================
   Faixa de credenciais
   ========================================================================== */
.creds {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.creds__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.creds__list li {
  margin: 0;
  padding: 1.6rem clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.creds__list li:first-child { border-left: 0; padding-left: 0; }
.creds__list .ico { color: var(--brand); flex: none; margin-top: 3px; }
.creds__list strong { display: block; font-size: .9375rem; line-height: 1.35; }
.creds__list span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) {
  .creds__list { grid-template-columns: repeat(2, 1fr); }
  .creds__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .creds__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .creds__list { grid-template-columns: 1fr; }
  .creds__list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .creds__list li:first-child { border-top: 0; }
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.8fr);
  gap: clamp(1.5rem,4vw,4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
@media (max-width: 860px) { .services-head { grid-template-columns: 1fr; } }

.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) minmax(0,1.1fr) 44px;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 2.4vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .5s var(--ease);
}
.service-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--brand-050);
  z-index: -1;
  transition: width .55s var(--ease);
}
.service-item:hover { padding-left: 1.2rem; }
.service-item:hover::before { width: 100%; }
.service-item h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); }
.service-item__desc { color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.service-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.service-item__tag {
  font-size: .75rem;
  padding: .28rem .6rem;
  border-radius: 6px;
  background: var(--mist);
  color: var(--brand-deep);
  font-weight: 600;
}
.service-item__go {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: background .4s, color .4s, transform .5s var(--ease), border-color .4s;
}
.service-item:hover .service-item__go {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFF;
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .service-item { grid-template-columns: 44px minmax(0,1fr); }
  /* Título e descrição são dois <div>: sem prendê-los à segunda coluna, o
     segundo cai na coluna de 44px do número e o texto quebra letra a letra. */
  .service-item > div { grid-column: 2; }
  .service-item__go { display: none; }
}

/* ==========================================================================
   Simulador de plano de cuidado
   ========================================================================== */
.planner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.planner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  background: var(--brand-050);
}
.planner__steps { display: flex; gap: .5rem; align-items: center; }
.planner__dot {
  width: 30px; height: 4px;
  border-radius: 999px;
  background: var(--mist-deep);
  transition: background .5s var(--ease), width .5s var(--ease);
}
.planner__dot.is-active { background: var(--brand); width: 44px; }
.planner__dot.is-done { background: var(--brand-soft); }

.planner__body { padding: clamp(1.6rem, 3vw, 2.6rem); min-height: 330px; }
.planner__step { display: none; }
.planner__step.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.planner__question {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: .5rem;
}
.planner__hint { color: var(--muted); font-size: .9375rem; margin-bottom: 1.6rem; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; }
.option {
  position: relative;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: border-color .35s, background .35s, transform .4s var(--ease);
  background: var(--paper);
}
.option:hover { border-color: var(--brand-soft); transform: translateY(-2px); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__mark {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-top: 2px;
  transition: border-color .3s, background .3s;
}
.option input[type="radio"] ~ .option__mark { border-radius: 50%; }
.option__mark::after {
  content: '';
  width: 9px; height: 9px;
  border-radius: 3px;
  background: #FFF;
  transform: scale(0);
  transition: transform .35s var(--ease);
}
.option input[type="radio"] ~ .option__mark::after { border-radius: 50%; }
.option input:checked ~ .option__mark { background: var(--brand); border-color: var(--brand); }
.option input:checked ~ .option__mark::after { transform: scale(1); }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-050); }
.option input:focus-visible ~ .option__mark { outline: 2px solid var(--brand); outline-offset: 2px; }
.option strong { display: block; font-size: .9375rem; line-height: 1.3; }
.option span { font-size: .8125rem; color: var(--muted); line-height: 1.5; }

.planner__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.4rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.planner__counter { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.result-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.85fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
@media (max-width: 780px) { .result-card { grid-template-columns: 1fr; } }
.result-card__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.result-card__list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .55rem 0;
  border-top: 1px dashed var(--line);
  font-size: .9375rem;
}
.result-card__list li:first-child { border-top: 0; }
.result-card__list .ico { color: var(--brand-soft); flex: none; margin-top: 3px; }

/* ==========================================================================
   Linha do tempo (como funciona)
   ========================================================================== */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .steps-layout { grid-template-columns: 1fr; } }

.steps { counter-reset: step; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-soft), var(--line) 22%, var(--line) 78%, transparent);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(1.8rem, 3vw, 2.8rem);
}
.step:last-child { padding-bottom: 0; }
.step__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  position: relative;
  z-index: 1;
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease);
}
.step.is-in .step__num { background: var(--brand); color: #FFF; border-color: var(--brand); }
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: .9375rem; max-width: 62ch; }
.step__tag {
  display: inline-block;
  margin-top: .7rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ==========================================================================
   Números
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--ink); padding: clamp(1.6rem, 3vw, 2.4rem); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  line-height: 1;
  color: #FFF;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
.stat__value sup { font-size: .45em; vertical-align: super; color: var(--brand-soft); margin-left: 2px; }
.stat__label { margin-top: .7rem; font-size: .875rem; color: #9FBAB8; line-height: 1.5; }

/* ==========================================================================
   Equipe
   ========================================================================== */
.person {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: start;
}
@media (max-width: 620px) { .person { grid-template-columns: 1fr; } }
.person__portrait {
  aspect-ratio: 1;
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--mist) 0%, var(--mist-deep) 100%);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__initials {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--brand);
  letter-spacing: -.02em;
}
.person__role {
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: .4rem;
}
.person h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.person p { color: var(--muted); font-size: .9375rem; }
.person__coren {
  display: inline-block;
  margin-top: .8rem;
  font-size: .75rem;
  color: var(--ink-2);
  background: var(--sand);
  padding: .28rem .6rem;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================================================
   Cobertura
   ========================================================================== */
.coverage {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }
.coverage__map {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.coverage__map svg { width: 100%; height: 100%; overflow: visible; }
.coverage__pin { transform-origin: center; }
.coverage__pin circle:first-child { animation: ping 3s var(--ease) infinite; transform-origin: center; }
@keyframes ping {
  0% { transform: scale(.4); opacity: .7; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}
.coverage__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.coverage__tags span {
  font-size: .8125rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.quotes {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  scrollbar-width: none;
  cursor: grab;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.quote {
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: .6;
  color: var(--brand-100);
  margin-bottom: .6rem;
}
.quote p { font-size: .9375rem; line-height: 1.7; color: var(--ink-2); flex: 1; }
.quote__author { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  font-size: .8125rem;
  font-weight: 800;
  color: var(--brand);
  flex: none;
}
.quote__name { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.quote__meta { font-size: .75rem; color: var(--muted); }
.quote__stars { display: flex; gap: 2px; color: #E0A83C; margin-bottom: .8rem; }

.slider-nav { display: flex; gap: .5rem; }
.slider-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.slider-nav button:hover { background: var(--ink); border-color: var(--ink); color: #FFF; }
.slider-nav button:disabled { opacity: .35; pointer-events: none; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: linear-gradient(140deg, var(--mist), var(--mist-deep));
  position: relative;
  margin-bottom: 1.1rem;
}
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.05); }
.post-card__cover .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brand);
  opacity: .45;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .6rem;
  letter-spacing: .02em;
}
.post-card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .5rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -.015em; }
.post-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.post-card__foot { margin-top: auto; padding-top: 1rem; }

.prose { font-size: 1.0625rem; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.5rem,1.3rem + .8vw,2rem); color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-size: 1.35rem; color: var(--ink); margin-top: 1.8em; font-family: var(--font-sans); font-weight: 700; }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--brand-soft); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote {
  margin: 2em 0;
  padding: 1.2em 1.6em;
  background: var(--brand-050);
  border-left: 3px solid var(--brand-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-s); margin-block: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--mist); font-weight: 700; color: var(--ink); }
.prose code {
  padding: .12em .38em;
  border-radius: 5px;
  background: var(--sand);
  font: .875em/1.4 ui-monospace, Menlo, Consolas, monospace;
}
.prose pre {
  padding: 1.1em 1.3em;
  border-radius: var(--radius-s);
  background: var(--sand);
  overflow-x: auto;
  font: .875rem/1.65 ui-monospace, Menlo, Consolas, monospace;
}
.prose pre code { padding: 0; background: none; }
.prose mark { background: var(--brand-100); padding: .05em .25em; border-radius: 4px; }

/* tabela larga: rola dentro do próprio bloco, nunca empurra a página */
.prose table { display: block; overflow-x: auto; max-width: 100%; }

/* versão compacta, para blocos curtos dentro de cards */
.prose--tight { font-size: 1rem; line-height: 1.7; }
.prose--tight > * + * { margin-top: .9em; }
.prose--tight h2, .prose--tight h3 { margin-top: 1.3em; }

/* --------------- alinhamento aplicado pelo editor do painel --------------- */
.prose .ta-left    { text-align: left; }
.prose .ta-center  { text-align: center; }
.prose .ta-right   { text-align: right; }
.prose .ta-justify { text-align: justify; }

.prose figure { margin-block: 1.8em; }
.prose figure img { margin-block: 0; display: block; }
.prose figcaption {
  margin-top: .7em;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.prose .fig-full img   { width: 100%; }
.prose .fig-center     { text-align: center; }
.prose .fig-center img { margin-inline: auto; }
.prose .fig-left,
.prose .fig-right {
  max-width: min(48%, 380px);
  margin-block: .4em 1.2em;
}
.prose .fig-left  { float: left;  margin-right: 1.8em; }
.prose .fig-right { float: right; margin-left: 1.8em; }
.prose .fig-left figcaption,
.prose .fig-right figcaption { text-align: left; }

/* fecha o fluxo depois de imagens flutuantes */
.prose::after { content: ''; display: block; clear: both; }

@media (max-width: 640px) {
  .prose .fig-left,
  .prose .fig-right {
    float: none;
    max-width: 100%;
    margin-inline: 0;
  }
  .prose .fig-left figcaption,
  .prose .fig-right figcaption { text-align: center; }
}

/* ==========================================================================
   Acordeão / FAQ
   ========================================================================== */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--ink);
  transition: color .3s;
}
.acc-btn:hover { color: var(--brand); }
.acc-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .4s, border-color .4s;
}
.acc-icon::before, .acc-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform .45s var(--ease), background .3s;
}
.acc-icon::before { width: 11px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 11px; }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--brand); border-color: var(--brand); }
.acc-btn[aria-expanded="true"] .acc-icon::before,
.acc-btn[aria-expanded="true"] .acc-icon::after { background: #FFF; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); }
.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height .5s var(--ease);
}
.acc-panel__inner { padding: 0 0 1.5rem; max-width: 74ch; color: var(--muted); font-size: .9375rem; line-height: 1.75; }

/* ==========================================================================
   Chamada final + rodapé
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #E9F2F1;
  border-radius: var(--radius-l);
  padding: clamp(2.4rem, 4vw, 4.5rem);
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -40%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(38,197,182,.24), transparent 62%);
  pointer-events: none;
}
.cta-band h2 { color: #FFF; max-width: 20ch; }
.cta-band .lead { color: #A9C4C2; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.footer {
  background: var(--ink);
  color: #9FBAB8;
  padding-top: clamp(3.5rem, 5vw, 5.5rem);
  font-size: .9375rem;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer h4 {
  color: #FFF;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; }
.footer li > a,
.footer li > span { display: inline-flex; align-items: flex-start; gap: .5rem; }
.footer li .ico { flex: none; margin-top: 3px; opacity: .8; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--brand-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: #7E9A98;
}
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  transition: background .35s, border-color .35s, transform .4s var(--ease);
}
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: #FFF; transform: translateY(-2px); }

/* Botão flutuante do WhatsApp */
.whats {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.15rem .8rem .85rem;
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  font-size: .875rem;
  font-weight: 650;
  color: var(--ink);
  /* Visível por padrão: se o JavaScript falhar, o botão continua no lugar.
     A classe .is-hidden só existe enquanto o script prepara a entrada. */
  transform: none;
  opacity: 1;
  transition: transform .7s var(--ease), opacity .5s, box-shadow .4s;
}
.whats.is-hidden { transform: translateY(140%); opacity: 0; }
.whats:hover { box-shadow: var(--shadow-3); }
.whats__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: #FFF;
  flex: none;
}
/* Em telas estreitas fica só o ícone — o rótulo some, o ícone permanece. */
@media (max-width: 560px) {
  .whats__label { display: none; }
  .whats { padding: .6rem; gap: 0; }
  .whats__icon { width: 44px; height: 44px; }
}

/* Migalhas */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }

/* Paginação */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 42px;
  height: 42px;
  padding-inline: .7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 650;
  background: var(--paper);
  transition: border-color .3s, background .3s, color .3s;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFF; }
.pager .is-disabled { opacity: .4; pointer-events: none; }

/* ==========================================================================
   Cursos — cartões e catálogo
   ========================================================================== */
.course-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.course-card > a { display: flex; flex-direction: column; height: 100%; }
.course-card__cover {
  position: relative;
  aspect-ratio: 16 / 9.6;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(38,197,182,.26), transparent 60%),
    linear-gradient(150deg, #EFF8F6, #DEEFEB);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.course-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.course-card:hover .course-card__cover img { transform: scale(1.05); }
.course-card__glyph { color: var(--brand); opacity: .35; }
.course-card__format {
  position: absolute;
  top: .8rem; left: .8rem;
  background: rgba(255,255,255,.94);
  color: var(--brand-deep);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .32rem .6rem;
  border-radius: 6px;
}
.course-card__body { padding: 1.25rem 1.35rem .6rem; flex: 1; }
.course-card__meta {
  display: flex; gap: .45rem; align-items: center;
  font-size: .75rem; color: var(--muted); margin-bottom: .55rem;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
.course-card h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.32;
  margin-bottom: .5rem;
}
.course-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: .9rem; }
.course-card__facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .35rem .95rem;
  font-size: .75rem; color: var(--ink-2);
}
.course-card__facts li { margin: 0; display: flex; align-items: center; gap: .3rem; }
.course-card__facts .ico { color: var(--brand-soft); }
.course-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.35rem 1.25rem; margin-top: auto;
  border-top: 1px solid var(--line);
}
.course-card__price { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; }
.course-card__old { font-size: .8125rem; color: var(--muted); text-decoration: line-through; margin-right: .4rem; }
.course-card__inst { display: block; font-size: .75rem; color: var(--muted); }
.course-card:hover .service-item__go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }

.catalog-toolbar {
  display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between;
  padding-bottom: 1.4rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.catalog-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalog-search { position: relative; min-width: 240px; }
.catalog-search .input { padding-left: 2.6rem; }
.catalog-search .ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ============================================== página do curso (venda) */
.course-hero {
  background: var(--ink);
  color: #DCE9E8;
  padding-block: clamp(2.5rem, 4vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.course-hero::after {
  content: '';
  position: absolute; right: -10%; top: -30%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(38,197,182,.2), transparent 62%);
  pointer-events: none;
}
.course-hero h1 { color: #fff; margin-block: .8rem 1rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.course-hero .lead { color: #A9C4C2; max-width: 58ch; }
.course-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: clamp(2rem,4vw,3.5rem); position: relative; z-index: 1; }
@media (max-width: 1000px) { .course-hero__grid { grid-template-columns: 1fr; } }
.course-hero__facts { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2rem; }
.course-hero__facts div { display: flex; gap: .6rem; align-items: center; font-size: .875rem; }
.course-hero__facts .ico { color: var(--brand-soft); }

.buy-box {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.buy-box__top { padding: 1.6rem 1.6rem 1.2rem; }
.buy-box__price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.buy-box__price strong { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; }
.buy-box__price s { color: var(--muted); font-size: .9375rem; }
.buy-box__inst { font-size: .875rem; color: var(--muted); margin-top: .4rem; }
.buy-box__list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.buy-box__list li {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .5rem 0; font-size: .875rem; color: var(--ink-2);
}
.buy-box__list .ico { color: var(--brand-soft); flex: none; margin-top: 2px; }
.buy-box__foot { padding: 1.2rem 1.6rem 1.6rem; border-top: 1px solid var(--line); background: var(--bone); }
.buy-box__pay { display: flex; gap: .8rem; align-items: center; font-size: .8125rem; color: var(--muted); }

.curriculum { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.curriculum__module + .curriculum__module { border-top: 1px solid var(--line); }
.curriculum__head {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  transition: background .3s;
}
.curriculum__head:hover { background: var(--brand-050); }
.curriculum__head .index { flex: none; }
.curriculum__head strong { flex: 1; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.curriculum__head span.small { color: var(--muted); white-space: nowrap; }
.curriculum__list { list-style: none; margin: 0; padding: 0; }
.curriculum__list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.35rem .8rem 3.4rem;
  border-top: 1px dashed var(--line);
  font-size: .9375rem;
  margin: 0;
}
.curriculum__list li .ico { color: var(--muted); flex: none; }
.curriculum__list li span.dur { margin-left: auto; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.curriculum__list li.is-free { color: var(--brand-deep); }
.curriculum__list li.is-free .ico { color: var(--brand-soft); }

.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem 1.6rem; }
@media (max-width: 700px) { .outcomes { grid-template-columns: 1fr; } }
.outcomes li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: .9375rem; }
.outcomes .ico { color: var(--brand); flex: none; margin-top: 3px; }

/* ======================================================== checkout/pedido */
.checkout { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } }
.pay-methods { display: grid; gap: .75rem; }
.pay-method {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: border-color .3s, background .3s;
  position: relative;
}
.pay-method:has(input:checked) { border-color: var(--brand); background: var(--brand-050); }
.pay-method input { position: absolute; opacity: 0; }
.pay-method__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mist); color: var(--brand-deep);
  display: grid; place-items: center; flex: none;
}
.pay-method strong { display: block; font-size: .9375rem; }
.pay-method span { font-size: .8125rem; color: var(--muted); }

.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .9375rem; }
.summary-line--total {
  border-top: 1px solid var(--line);
  margin-top: .6rem; padding-top: 1rem;
  font-size: 1.125rem; font-weight: 700;
}
.summary-line--discount { color: var(--brand); }

.pix-box { text-align: center; }
.pix-box img { width: min(240px, 70%); margin: 0 auto 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: .6rem; }
.pix-code {
  display: flex; gap: .5rem; align-items: center;
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 10px; padding: .55rem .55rem .55rem .9rem;
}
.pix-code input {
  flex: 1; border: 0; background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .75rem; color: var(--ink-2); min-width: 0;
}

.status-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pendente    { background: #FDF6E9; color: #8A6516; }
.status-pago        { background: #EAF7F1; color: #147150; }
.status-cancelado,
.status-expirado    { background: #F6F2F1; color: #8A6055; }
.status-reembolsado { background: #F1F3F8; color: #4E5A78; }
.status-ativa       { background: var(--brand-050); color: var(--brand-deep); }
.status-concluida   { background: #EAF7F1; color: #147150; }
.status-novo        { background: var(--brand-050); color: var(--brand-deep); }
.status-em_contato  { background: #FDF6E9; color: #8A6516; }
.status-convertido  { background: #EAF7F1; color: #147150; }
.status-arquivado   { background: #F2F4F4; color: #667474; }

/* Carregando */
.spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.shake { animation: shake .45s var(--ease-soft); }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* Página de erro / vazio */
.empty {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 5rem) 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.empty .ico { color: var(--brand-soft); margin: 0 auto 1rem; }
.empty h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; margin-bottom: .5rem; }
.empty p { color: var(--muted); font-size: .9375rem; max-width: 42ch; margin-inline: auto; }

/* ==========================================================================
   Cabeçalho de páginas internas
   ========================================================================== */
.page-hero {
  padding-top: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -8%; top: -60%;
  width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(38,197,182,.13), transparent 62%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.page-hero__inner > * { min-width: 0; }
.page-hero__inner .eyebrow { grid-column: 1 / -1; margin-bottom: .4rem; }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; align-items: start; } }
.page-hero__inner.center {
  display: block;
  max-width: 60ch;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  font-weight: 350;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
}
.page-hero h1 em { font-style: italic; font-variation-settings: 'SOFT' 60, 'WONK' 1; }
.page-hero .lead { max-width: 46ch; }
.page-hero__inner .hero__cta { grid-column: 1 / -1; }

.service-block { display: block; position: relative; }
.service-block__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.card--hover:hover .service-block__icon { background: var(--brand); color: #fff; transform: translateY(-2px); }
.service-block .index { position: absolute; top: clamp(1.4rem,1.1rem + 1vw,2.1rem); right: clamp(1.4rem,1.1rem + 1vw,2.1rem); }
.service-block h2 {
  font-size: 1.35rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -.018em;
  margin-bottom: .4rem;
}
.service-block p { font-size: .9375rem; color: var(--muted); line-height: 1.65; }

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255,255,255,.12);
  color: #6F8C8A;
}
.footer__credit a { color: #9FBAB8; font-weight: 600; }
.footer__credit a:hover { color: var(--brand-soft); }
@media (max-width: 620px) {
  .footer__credit { padding-left: 0; border-left: 0; width: 100%; }
}

/* ==========================================================================
   Telas de acesso (login, cadastro, senha)
   ========================================================================== */
.auth-body { background: var(--bone); }
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  min-height: 100vh;
  min-height: 100dvh;
}
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } }

.auth__form {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}
.auth__logo { display: block; margin-bottom: auto; }
.auth__logo img { width: 172px; height: auto; }
.auth__inner { width: min(100%, 430px); margin: clamp(2rem, 5vh, 4rem) 0; }
.auth__inner h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  margin-bottom: .6rem;
}
.auth__inner > p.lead { margin-bottom: 2rem; font-size: 1rem; }
.auth__foot {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .8125rem;
  color: var(--muted);
  margin-top: auto;
}
.auth__foot a:hover { color: var(--brand); }

.auth__aside {
  background: var(--ink);
  color: #C8DBD9;
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .auth__aside { display: none; } }
.auth__aside::after {
  content: '';
  position: absolute;
  right: -20%; top: -20%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(38,197,182,.22), transparent 62%);
}
.auth__aside-inner { position: relative; z-index: 1; max-width: 34ch; }
.auth__aside h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 2rem; }
.auth__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.auth__list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; font-size: .9375rem; }
.auth__list .ico { color: var(--brand-soft); flex: none; margin-top: 2px; }
.auth__mark { margin-top: 3rem; opacity: .22; }
.auth__mark img { width: 110px; filter: grayscale(1) brightness(3); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.6rem 0;
  color: var(--muted);
  font-size: .8125rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.password-field { position: relative; }
.password-field .input { padding-right: 3rem; }
.password-toggle {
  position: absolute;
  right: .6rem; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.password-toggle:hover { color: var(--brand); background: var(--brand-050); }
.strength { display: flex; gap: 4px; margin-top: .5rem; }
.strength span {
  height: 3px; flex: 1;
  background: var(--line);
  border-radius: 999px;
  transition: background .4s;
}
.strength[data-level="1"] span:nth-child(1) { background: #D98A6A; }
.strength[data-level="2"] span:nth-child(-n+2) { background: #E0B45C; }
.strength[data-level="3"] span:nth-child(-n+3) { background: var(--brand-soft); }
.strength[data-level="4"] span { background: var(--brand); }

/* ==========================================================================
   Ajustes finos para telas estreitas
   ========================================================================== */
@media (max-width: 700px) {
  .wrap { width: min(100% - 2rem, var(--container)); }

  /* O botão de conversa vira só ícone; o flutuante continua disponível */
  .nav__actions .btn--sm span,
  .nav__actions .btn--sm { font-size: .875rem; }
  .nav__actions .btn:not(.nav__toggle) { padding-inline: .9rem; }

  .eyebrow {
    flex-wrap: wrap;
    letter-spacing: .14em;
    line-height: 1.5;
  }

  .hero__meta { gap: 1.2rem 1.6rem; }
  .hero__meta div { min-width: 0; flex: 1 1 30%; }
  .hero__meta dd { font-size: 1.45rem; }

  .hero__cta .btn { width: 100%; }

  /* Cards do herói entram no fluxo em vez de flutuar sobre a ilustração */
  .hero__stage { min-height: 0; display: grid; gap: .8rem; }
  .stage-card--main { position: static; }
  .stage-card--stat,
  .stage-card--shift {
    position: static;
    width: 100%;
    animation: none;
  }

  .services-head { gap: 1.2rem; }
  .service-item { grid-template-columns: 38px minmax(0, 1fr); gap: .8rem 1rem; }
  .service-item:hover { padding-left: 0; }

  .cta-band { padding: 1.8rem 1.4rem; }
  .cta-band__actions .btn { width: 100%; }

  .quote { flex: 0 0 84vw; }

  .course-hero__facts { gap: .8rem 1.4rem; }
  .buy-box { position: static; }

  .planner__head { flex-wrap: wrap; gap: .8rem; }
  .planner__foot { flex-wrap: wrap; gap: .8rem; }
  .planner__foot .btn { flex: 1 1 100%; order: 3; }
  .planner__counter { order: 2; margin-left: auto; }

  .page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 3vw, 2.6rem); }

  .table { font-size: .8125rem; }
  .app-head { gap: .8rem; }
  .app-head__actions { width: 100%; }
  .app-head__actions .btn { flex: 1; justify-content: center; }
  .sticky-actions { margin-inline: -1.1rem; padding-inline: 1.1rem; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric__value { font-size: 1.6rem; }
}

@media (max-width: 460px) {
  .metrics { grid-template-columns: 1fr; }
  .grid--sidebar, .checkout, .player-shell { gap: 1.2rem; }
  .hero__meta div { flex: 1 1 45%; }
  .topbar { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* Rede de proteção: nada pode estourar a largura da tela */
html, body { max-width: 100%; }
img, svg, video, canvas, iframe, table, pre { max-width: 100%; }
.table-wrap, .quotes { max-width: 100%; }

@media (max-width: 430px) {
  /* Em telas muito estreitas o cabeçalho fica só com marca e menu;
     a conversa continua no botão flutuante e dentro do menu. */
  .nav__actions > .btn { display: none; }
  .nav__logo img { width: 140px; }
  .drawer__list a { font-size: 1.55rem; }
  .service-item__tags { gap: .3rem; }
  .stat__value { font-size: 2.1rem; }
  .cert-card, .learn-card { grid-template-columns: 1fr; }
  .learn-card__thumb { width: 100%; height: 90px; }
}

/* Quebra defensiva: nenhum texto longo empurra o layout para fora da tela */
h1, h2, h3, h4, p, li, td, th, dd, dt, .crumbs, .badge, .chip, .cert-code,
.course-hero__facts div, .buy-box__price, .lesson-head__meta, .learn-card__meta {
  overflow-wrap: break-word;
  word-break: normal;
}
.crumbs { row-gap: .3rem; }
.course-hero__grid > *, .hero__inner > *, .grid > * { min-width: 0; }

/* Capa gerada para cursos sem imagem */
.course-card__pattern { position: absolute; inset: 0; display: block; }
.course-card__pattern svg { width: 100%; height: 100%; display: block; }
.course-card__badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--mist-deep);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: 0 6px 20px -8px rgba(12,42,44,.25);
  transition: transform .6s var(--ease);
}
.course-card:hover .course-card__badge { transform: translate(-50%, -50%) scale(1.06); }

/* ==========================================================================
   Cadastro de profissionais (Trabalhe conosco)
   ========================================================================== */
.enroll {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.enroll__head {
  padding: 1.3rem clamp(1.3rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.enroll__steps {
  display: flex;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.enroll__steps::-webkit-scrollbar { display: none; }
.enroll__steps li { margin: 0; flex: none; }
.enroll__dot {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 650;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color .3s, background .3s, border-color .3s;
}
.enroll__dot span.n {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mist-deep);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: .6875rem;
  font-weight: 800;
  flex: none;
}
.enroll__dot.is-active { color: var(--brand-deep); background: var(--brand-050); border-color: var(--brand-100); }
.enroll__dot.is-active span.n { background: var(--brand); color: #fff; }
.enroll__dot.is-done { color: var(--brand); cursor: pointer; }
.enroll__dot.is-done span.n { background: var(--brand-soft); color: #04211F; }

.enroll__bar { height: 3px; background: var(--mist-deep); }
.enroll__bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
  transition: width .55s var(--ease);
}

.enroll__body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.enroll__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}
.enroll__hint { color: var(--muted); font-size: .9375rem; margin-bottom: 1.8rem; }

.enroll__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem clamp(1.3rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.enroll__counter { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: auto; }

/* Envio de documentos */
.upload {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  padding: 1rem 1.1rem;
  transition: border-color .3s, background .3s;
  position: relative;
}
.upload:hover { border-color: var(--brand-soft); }
.upload.has-file { border-style: solid; border-color: var(--brand-100); background: var(--brand-050); }
.upload__label { display: flex; gap: .7rem; align-items: flex-start; }
.upload__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  flex: none;
}
.upload.has-file .upload__icon { background: var(--brand); color: #fff; }
.upload__label strong { display: block; font-size: .9375rem; line-height: 1.3; }
.upload__label span { font-size: .8125rem; color: var(--muted); }
.upload input[type="file"] { display: block; width: 100%; margin-top: .8rem; font-size: .8125rem; }
.upload__name { display: block; margin-top: .5rem; font-size: .8125rem; color: var(--brand-deep); font-weight: 600; }
.upload__preview { margin-top: .7rem; }
.upload__preview img {
  max-height: 110px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Documentos legais */
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1.1rem 1.2rem;
  margin-bottom: .8rem;
  background: var(--paper);
}
.legal-card__top { display: flex; gap: .9rem; align-items: flex-start; flex-wrap: wrap; }
.legal-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  flex: none;
}
.legal-card h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; }
.legal-card__meta { font-size: .75rem; color: var(--muted); }
.legal-card__actions { display: flex; gap: .5rem; margin-left: auto; flex-wrap: wrap; }
.legal-reader {
  margin-top: 1rem;
  max-height: 340px;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: .875rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.legal-reader h4 {
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 1.4rem 0 .5rem;
}
.legal-reader h4:first-child { margin-top: 0; }
.legal-reader p { margin-bottom: .9rem; }

/* Assinatura */
.signature {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  overflow: hidden;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
}
.signature.is-invalid { border-color: #C7513C; box-shadow: 0 0 0 4px rgba(199,81,60,.08); }
.signature.has-signature { border-color: var(--brand); }
.signature canvas {
  display: block;
  width: 100%;
  height: 190px;
  touch-action: none;
  cursor: crosshair;
}
.signature__line {
  position: absolute;
  left: 8%; right: 8%; bottom: 46px;
  border-top: 1px dashed var(--line-strong);
  pointer-events: none;
}
.signature__hint {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
  pointer-events: none;
}
.signature.has-signature .signature__hint,
.signature.has-signature .signature__line { opacity: 0; }
.signature__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .6rem .9rem;
  border-top: 1px solid var(--line);
  background: var(--bone);
  font-size: .8125rem;
  color: var(--muted);
}

/* Registro do aceite */
.consent-log {
  display: grid;
  gap: .5rem;
  padding: 1rem 1.2rem;
  background: var(--mist);
  border: 1px solid var(--mist-deep);
  border-radius: var(--radius-s);
  font-size: .8125rem;
  color: var(--ink-2);
}
.consent-log strong { color: var(--ink); }
.consent-log code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .75rem;
  background: rgba(255,255,255,.7);
  padding: .1rem .35rem;
  border-radius: 4px;
}
