@font-face {
  font-family: "Satoshi";
  src: url("assets/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1d3a;
  --navy-deep: #071427;
  --turquoise: #12b8c6;
  --turquoise-soft: #e3f7f9;
  --science-blue: #2357d8;

  --lilac: #ab89ac;
  --lilac-dark: #8a6b8b;
  --gold: #e3ce8e;
  --pediatra-fg: #3f2f45;

  --font-variclass: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-pediatra: "Nunito", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
}

body {
  display: flex;
  justify-content: center;
}

main {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Signature */
.signature {
  display: flex;
  justify-content: center;
  padding: 32px 24px 20px;
  background: var(--navy);
}

.signature-logo {
  width: 240px;
  height: auto;
}

/* VariClass block */
.block-variclass {
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-variclass);
  padding: 8px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.block-variclass h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.variclass-tagline {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  max-width: 34ch;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--turquoise);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(18, 184, 198, 0.35);
  margin-bottom: 14px;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: transparent;
  color: var(--turquoise-soft);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-weight: 500;
  font-size: 0.9rem;
  min-height: 48px;
}

.btn-secondary:hover {
  border-color: var(--turquoise);
  color: #ffffff;
}

/* Divider */
.divider {
  position: relative;
  height: 72px;
  background: var(--navy);
  overflow: hidden;
}

.divider-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Consultório block */
.block-consultorio {
  background: #ffffff;
  font-family: var(--font-pediatra);
  padding: 12px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.consultorio-logo {
  height: 88px;
  width: auto;
  margin: 4px 0 24px;
}

.block-consultorio .btn-outline {
  background: #ffffff;
  color: var(--pediatra-fg);
  border: 1.5px solid var(--lilac);
  font-weight: 700;
  margin-bottom: 14px;
}

.block-consultorio .btn-outline:hover {
  background: var(--lilac);
  border-color: var(--lilac);
  color: #ffffff;
}

.block-consultorio .btn-outline:last-of-type {
  margin-bottom: 0;
}

/* Footer */
.page-footer {
  text-align: center;
  padding: 20px 24px 32px;
  background: #ffffff;
  font-family: var(--font-pediatra);
}

.page-footer p {
  margin: 0;
  color: var(--lilac-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (min-width: 480px) {
  main {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
  }
}
