/* ==========================================================================
   TYPOGRAPHY — fonte única: Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');

html {
  font-family: var(--font-sans);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--gray-900);
  font-size: 1rem;
}

/* ---------- Escala ---------- */
.fs-display { font-size: clamp(2.75rem, 3.2rem + 3vw, 6rem); line-height: 1.02; letter-spacing: -0.03em; }
.fs-h1      { font-size: clamp(2.25rem, 2.1rem + 2.4vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; }
.fs-h2      { font-size: clamp(1.75rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; }
.fs-h3      { font-size: clamp(1.25rem, 1.15rem + .6vw, 1.625rem); line-height: 1.25; letter-spacing: -0.01em; }
.fs-lead    { font-size: clamp(1.125rem, 1.05rem + .5vw, 1.375rem); line-height: 1.5; }
.fs-body    { font-size: 1rem; line-height: 1.65; }
.fs-small   { font-size: .875rem; line-height: 1.55; }
.fs-caption { font-size: .75rem; line-height: 1.4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: lowercase;
  color: var(--primary);
}
.slide--dark .eyebrow,
.eyebrow--dark { color: var(--on-dark-dim); }

/* Eyebrow no tamanho/peso do corpo — uso pontual (slide-02) */
.eyebrow--body-size {
  font-size: clamp(1.125rem, 1.05rem + .5vw, 1.375rem);
  font-weight: 400;
  letter-spacing: normal;
}

/* ---------- Palavra de marca (logo + "SeuMed") ---------- */
.brand-word { font-family: 'Poppins', var(--font-sans); font-weight: 100; }

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- Pesos ---------- */
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ---------- Cor de texto ---------- */
.text-gray-900 { color: var(--gray-900); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-400 { color: var(--gray-400); }
.text-primary  { color: var(--primary); }
.text-on-dark  { color: var(--on-dark); }
.text-on-dark-dim { color: var(--on-dark-dim); }
.text-white { color: var(--white); }

/* ---------- Uso ---------- */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

strong, b { font-weight: 600; }

.slide--dark strong,
.slide--dark b { font-weight: 500; color: var(--white); }

/* ---------- Acessibilidade ---------- */
.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: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: var(--primary);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-lg);
  font-size: .85rem;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }
