:root {
  --navy: #0b1f3a;
  --navy-2: #123862;
  --blue: #2474b8;
  --cyan: #20d6e3;
  --green: #21a67a;
  --green-soft: #e9f8f2;
  --blue-soft: #eef7ff;
  --ink: #162033;
  --muted: #647084;
  --line: #d9e5ee;
  --surface: #ffffff;
  --page: #f7fafc;
  --shadow: 0 18px 48px rgba(11, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.topbar,
.hero,
.alert-band,
.clinic-band,
.section-intro,
.services-layout,
.quick-help,
.training-grid,
.psychosocial-panel,
.monthly-packages,
.story,
.consequence,
.cta,
.contact {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(217, 229, 238, 0.85);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.topnav,
.actions,
.button,
.service-block__header {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.topnav {
  justify-content: center;
  gap: 24px;
  color: #405066;
  font-size: 0.95rem;
  font-weight: 800;
}

.topnav a,
.topbar__button,
.button {
  text-decoration: none;
}

.topbar__button {
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(32, 214, 227, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  padding: 58px 0 28px;
}

.hero__copy,
.hero-card,
.alert-band,
.clinic-band,
.psychosocial-panel,
.monthly-packages,
.quick-help article,
.service-block,
.training-card,
.story,
.consequence,
.cta,
.contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__copy {
  min-height: 520px;
  padding: 58px;
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-soft) 56%, var(--green-soft) 100%);
  box-shadow: 0 0 0 1px rgba(32, 214, 227, 0.16), 0 20px 60px rgba(11, 31, 58, 0.12);
}

.quick-help {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 26px;
}

.hero-highlight {
  display: grid;
  gap: 6px;
  max-width: 650px;
  margin-top: 22px;
  border: 1px solid rgba(33, 166, 122, 0.28);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 28px rgba(32, 214, 227, 0.14);
}

.hero-highlight strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.hero-highlight span {
  color: var(--muted);
  line-height: 1.5;
}

.quick-help article {
  padding: 22px;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
}

.quick-help strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.quick-help span {
  color: var(--muted);
  line-height: 1.55;
}

.kicker,
.category {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before,
.category::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  color: var(--navy);
  font-size: 4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 14px 0 16px;
  color: var(--navy);
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.actions--center {
  justify-content: center;
}

.button {
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.2), 0 0 26px rgba(36, 116, 184, 0.2);
}

.button--secondary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(33, 166, 122, 0.2), 0 0 26px rgba(32, 214, 227, 0.18);
}

.hero-card {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px;
  background: var(--navy);
  color: #fff;
}

.hero-card__logo {
  width: 100%;
  max-width: 390px;
  border-radius: 8px;
  justify-self: center;
}

.hero-card__body {
  display: grid;
  gap: 8px;
}

.hero-card__body span {
  color: #98d9c5;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card__body strong {
  font-size: 1.45rem;
  line-height: 1.35;
}

.hero-card__metrics {
  display: grid;
  gap: 10px;
}

.hero-card__metrics div,
.contact__grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-card__metrics strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.hero-card__metrics span {
  color: rgba(255, 255, 255, 0.74);
}

.alert-band,
.clinic-band,
.consequence {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
}

.alert-band {
  border-color: rgba(33, 166, 122, 0.34);
  background: linear-gradient(135deg, #ffffff, #f0fbf6);
  box-shadow: 0 18px 54px rgba(33, 166, 122, 0.16);
}

.clinic-band {
  border-color: rgba(36, 116, 184, 0.26);
  background: linear-gradient(135deg, #ffffff, var(--blue-soft));
}

.psychosocial-panel,
.monthly-packages {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
}

.psychosocial-panel {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 56, 98, 0.96));
  color: #fff;
  box-shadow: 0 0 42px rgba(32, 214, 227, 0.18);
}

.psychosocial-panel h2,
.psychosocial-panel p,
.monthly-packages h2 {
  color: #fff;
}

.psychosocial-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.risk-cards {
  display: grid;
  gap: 12px;
}

.risk-cards article {
  border: 1px solid rgba(32, 214, 227, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.risk-cards strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.risk-cards span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.section-intro {
  padding: 64px 0 18px;
}

.section-intro h2,
.section-intro p {
  max-width: 820px;
}

.services-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 12px 0 46px;
}

.services-layout--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-block {
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-block:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 116, 184, 0.34);
  box-shadow: 0 24px 58px rgba(11, 31, 58, 0.15);
}

.service-block__header {
  gap: 16px;
  align-items: flex-start;
}

.icon-wrap {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
  color: var(--navy-2);
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-block p {
  margin: 18px 0 0;
}

.service-block ul {
  margin: 22px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 26px;
  list-style: none;
}

.services-layout--three .service-block ul {
  columns: 1;
}

.service-block li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 9px;
  padding-left: 22px;
  color: #334155;
  line-height: 1.5;
}

.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.consequence {
  margin-bottom: 22px;
  background: #fff;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 0 46px;
}

.training-card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(36, 116, 184, 0.24);
  background: linear-gradient(135deg, #ffffff, #f8fcff);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.training-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 166, 122, 0.58);
  box-shadow: 0 22px 54px rgba(11, 31, 58, 0.14), 0 0 24px rgba(32, 214, 227, 0.16);
}

.training-card summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
  list-style: none;
}

.training-card summary::-webkit-details-marker {
  display: none;
}

.training-card summary::before {
  content: "NR";
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  box-shadow: 0 0 18px rgba(36, 116, 184, 0.24);
  font-size: 0.82rem;
  font-weight: 900;
}

.training-card summary::after {
  content: "Ver detalhes";
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.training-card[open] summary::after {
  content: "Ocultar";
  background: var(--blue-soft);
  color: var(--blue);
}

.training-card summary span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.training-card[open] {
  border-color: rgba(36, 116, 184, 0.42);
  box-shadow: 0 22px 54px rgba(11, 31, 58, 0.13), 0 0 26px rgba(33, 166, 122, 0.14);
}

.training-card p,
.training-card small {
  display: block;
  margin: 0;
  padding: 0 20px 14px 60px;
}

.training-card small {
  padding-bottom: 20px;
  color: var(--blue);
  font-weight: 800;
  line-height: 1.45;
}

.monthly-packages {
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(33, 166, 122, 0.94), rgba(36, 116, 184, 0.94));
  color: #fff;
  box-shadow: 0 0 44px rgba(33, 166, 122, 0.2);
}

.monthly-packages p {
  color: rgba(255, 255, 255, 0.82);
}

.monthly-packages ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.monthly-packages li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: 34px;
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}

.cta {
  padding: 44px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta h2,
.cta p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  margin-top: 22px;
  margin-bottom: 64px;
  padding: 34px;
}

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

.contact__grid article {
  border-color: var(--line);
  background: var(--page);
}

.contact__grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact__grid span,
.contact__grid a {
  color: var(--muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.contact__grid a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .alert-band,
  .clinic-band,
  .services-layout,
  .services-layout--three,
  .quick-help,
  .training-grid,
  .psychosocial-panel,
  .monthly-packages,
  .story,
  .consequence,
  .contact {
    grid-template-columns: 1fr;
  }

  .topnav {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 680px) {
  .topbar,
  .hero,
  .alert-band,
  .clinic-band,
  .section-intro,
  .services-layout,
  .quick-help,
  .training-grid,
  .psychosocial-panel,
  .monthly-packages,
  .story,
  .consequence,
  .cta,
  .contact {
    width: min(100% - 22px, 1180px);
  }

  .topbar {
    top: 8px;
    grid-template-columns: 1fr auto;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__copy,
  .hero-card,
  .alert-band,
  .clinic-band,
  .psychosocial-panel,
  .monthly-packages,
  .quick-help article,
  .service-block,
  .training-card,
  .story,
  .consequence,
  .cta,
  .contact {
    padding: 22px;
  }

  .hero__copy {
    min-height: auto;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .button {
    width: 100%;
  }

  .service-block__header {
    display: grid;
  }

  .service-block ul,
  .contact__grid {
    columns: 1;
    grid-template-columns: 1fr;
  }

  .training-card p,
  .training-card small {
    padding-left: 20px;
  }

  .training-card summary {
    grid-template-columns: auto 1fr;
  }

  .training-card summary::after {
    grid-column: 1 / -1;
    width: fit-content;
  }
}
