:root {
  --header-height: 7.5rem;
  --nav-blur: 1rem;
  --subtitle-line-height: 2px;
  --color-surface-glass: rgb(255 255 255 / 75%);
  --color-nav-surface: rgb(255 255 255 / 96%);
  --shadow-nav: 0 4px 20px rgb(0 0 0 / 6%);
  --transition-ui: 300ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-button: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --reveal-duration: 1500ms;
  --reveal-distance: 2.25rem;
  /* --- TEMA CLARO --- */
  /* Cores Principais */
  --primary: #1b6b51;
  --on-primary: #ffffff;
  --primary-container: #a6f2d1;
  /* Cores Secundárias */
  --secondary: #4c6359;
  --secondary-container: #cee9db;
  --on-secondary-container: #354b41;
  /* Cores Terciárias */
  --tertiary: #3e6374;
  --tertiary-container: #c2e8fd;
  /* Superfícies e Fundos */
  --surface: #f5fbf5;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff5f0;
  --surface-container-high: #e4eae4;
  --surface-container-highest: #dee4df;
  --on-surface: #171d1a;
  --surface-variant: #404944;
  --outline: #707974;
  --outline-variant: #bfc9c2;
  --inverse-primary: #8bd6b6;
  /* Utilitários */
  --shadow: #000000;
  /* Fontes */
  --font-titulo: "Plus Jakarta Sans", sans-serif;
  --font-corpo: "Inter", sans-serif;
  --font-logo: "Outfit", sans-serif;
}

[data-theme="dark"] {
  /* --- TEMA ESCURO --- */
  /* Cores Principais */
  --primary: #8bd6b6;
  --on-primary: #ffffff;
  --primary-container: #00513b;
  /* Cores Secundárias */
  --secondary: #b3ccbf;
  --secondary-container: #354b41;
  --on-secondary-container: #cee9db;
  /* Cores Terciárias */
  --tertiary: #093544;
  --tertiary-container: #264b5c;
  /* Superfícies e Fundos */
  --surface: #0f1512;
  --surface-container-lowest: #0a0f0d;
  --surface-container-low: #171d1a;
  --surface-container-high: #252b28;
  --surface-container-highest: #303633;
  --on-surface: #dee4df;
  --surface-variant: #bfc9c2;
  --outline: #89938d;
  --outline-variant: #404944;
  --inverse-primary: #1b6b51;
  /* Utilitários */
  --shadow: #000000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background-color: var(--surface);
  font-family: var(--font-corpo);
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--surface-container-lowest);
  color: var(--primary);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  padding-top: var(--header-height);
  min-width: 0;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
}

main > section,
.navbar > *,
.cards-grid-metrics > * {
  min-width: 0;
}

.main-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 0.75rem;
}

.navbar {
  pointer-events: auto;
  box-shadow: var(--shadow-nav);
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 88.75rem;
  min-height: 5rem;
  border-radius: 1.125rem;
  background-color: var(--color-nav-surface);
  border: 1px solid #e2e8f0;
  -webkit-backdrop-filter: blur(var(--nav-blur));
  backdrop-filter: blur(var(--nav-blur));
  transition: background-color var(--transition-ui);
  padding: 1.125rem 1.75rem;
  gap: 1.25rem;
  position: relative;
  flex-wrap: nowrap;
  flex-direction: row;
  display: flex;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  flex-shrink: 0;
}

.logo-icon img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 1.4375rem;
  font-weight: 400;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-text strong {
  color: var(--primary);
  font-weight: 700;
}

.menu {
  flex: 1;
}

.menu ul {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.5rem clamp(1.5rem, 2.75vw, 2.75rem);
}

.menu ul li a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
  color: #4a5568;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.menu ul li a[aria-current="location"] {
  font-weight: 700;
  color: var(--primary);
}

.menu ul li a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.5rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 500ms ease-in-out;
}

.menu ul li a:hover::after,
.menu ul li a:focus-visible::after {
  transform: scaleX(1);
}

.main-header.is-scrolled {
  --color-nav-surface: rgb(255 255 255 / 78%);
}

.menu ul li a:hover {
  color: var(--primary);
}

.main-header .btn-plataforma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12.5625rem;
  max-width: 100%;
  min-height: 2.75rem;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  gap: 0.625rem;
  background: linear-gradient(110deg, var(--primary) 0%, var(--tertiary) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-plataforma:hover .seta-link,
.btn-testar:hover .seta-link {
  transform: translate(0.125rem, -0.125rem);
}

.seta-link {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  transition: transform var(--transition-button);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  margin: 0.625rem auto 0;
  width: 100%;
  max-width: 88.75rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.subtitle-line {
  display: block;
  width: 20px;
  flex-shrink: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 34rem;
  min-width: 0;
  padding-top: 2.25rem;
  gap: 1.625rem;
}

.hero-content .subtitle {
  width: 32.1875rem;
  max-width: 100%;
  min-height: 1.125rem;
}

.hero-content .title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--on-surface);
  font-weight: 800;
}

.hero-content .title .destaque {
  color: var(--primary);
}

.hero-content .description {
  width: 34rem;
  max-width: 100%;
  min-height: 4.875rem;
  color: var(--on-surface);
  font-family: var(--font-corpo);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.625;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 34rem;
  max-width: 100%;
  align-items: flex-start;
  gap: 0.75rem;
}

.btn-testar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-corpo);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  width: 15.0625rem;
  min-height: 3.375rem;
  color: var(--on-primary);
  background: linear-gradient(110deg, var(--primary) 0%, var(--tertiary) 100%);
  padding: 0.75rem 1.375rem;
  border-radius: 0.75rem;
}

.btn-demonstracao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17.3125rem;
  max-width: 100%;
  min-height: 3.375rem;
  font-family: var(--font-corpo);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: normal;
  color: var(--primary);
  border: 0.0625rem solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(
        92.18deg,
        color-mix(in srgb, var(--primary) 80%, transparent) 0%,
        color-mix(in srgb, var(--outline) 40%, transparent) 100%
      )
      border-box;
  padding: 0.75rem 1.375rem;
  border-radius: 0.75rem;
  gap: 0.625rem;
  cursor: pointer;
}

.btn-demonstracao .icone-play {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn-demonstracao:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-content .description-extra > img {
  display: block;
  flex-shrink: 0;
}

.description-extra {
  font-family: var(--font-titulo);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--on-surface);
}

.subtitle-extra {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--on-surface);
  line-height: 160%;
  letter-spacing: 0;
  margin-top: 0.25rem;
}

/* Composição ancorada à doutora. Ajuste os offsets em rem abaixo. */

.image-doctor {
  --consult-top: 10.5rem;
  --consult-left: 0rem;
  --satisfaction-top: 2.5rem;
  --satisfaction-right: 1.5rem;
  --reminder-top: 15rem;
  --reminder-right: 0rem;
  position: relative;
  width: 100%;
  max-width: 37.5rem;
  min-width: 0;
  justify-self: center;
  align-self: center;
  padding-top: 1rem;
  isolation: isolate;
}

.image-doctor::before {
  content: "";
  position: absolute;
  inset: -2rem -1rem 4rem;
  z-index: -1;
  border-radius: 48% 48% 1.5rem 1.5rem;
  background: radial-gradient(
    ellipse at center,
    var(--primary-container),
    transparent 72%
  );
  inset-inline: 0;
}

.image-doctor > img {
  display: block;
  width: 100%;
  height: auto;
}

.image-doctor .tag-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  border: 0.0625rem solid var(--outline-variant);
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--on-surface);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--shadow) 9%, transparent);
  z-index: 2;
  border-color: transparent;
  border-radius: 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.625rem 0.75rem;
}

.tag-badge svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-doctor .consult {
  top: var(--consult-top);
  left: var(--consult-left);
}

.image-doctor .satisfaction {
  top: var(--satisfaction-top);
  right: var(--satisfaction-right);
}

.image-doctor .reminder {
  top: var(--reminder-top);
  right: var(--reminder-right);
}

.product-preview {
  position: relative;
  z-index: 3;
  margin: -5.5rem 1.5rem 0 2.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 0.0625rem solid transparent;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0.875rem 1.75rem
    color-mix(in srgb, var(--shadow) 13%, transparent);
  color: var(--surface-variant);
  font-size: 0.625rem;
  line-height: 1.5;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.preview-header h2 {
  font-family: var(--font-titulo);
  color: var(--on-surface);
  margin: 0;
  font-size: 0.75rem;
}

.preview-indicators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.preview-indicators > div {
  background: var(--surface-container-low);
  border: 0.0625rem solid transparent;
  border-top: 0.125rem solid var(--primary);
  min-width: 0;
  min-height: 4.125rem;
  padding: 0.4375rem;
  border-radius: 0.5rem;
}

.preview-indicators dd {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.25rem;
  white-space: nowrap;
  line-height: 1.2;
}

.preview-indicators dd span {
  display: block;
  font-weight: 500;
  color: var(--surface-variant);
  white-space: normal;
  font-size: 0.40625rem;
  margin-top: 0.25rem;
}

.preview-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.preview-panels > section {
  min-width: 0;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border-top: 0.125rem solid var(--primary);
  background: var(--surface-container-low);
  min-height: 5.625rem;
}

.preview-panels h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.5625rem;
  color: var(--on-surface);
  margin-bottom: 0.375rem;
}

.preview-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.25rem;
  text-align: center;
}

.preview-week > span {
  padding: 0.3rem 0;
  border-radius: 0.375rem;
  font-size: 0.5rem;
  font-weight: 400;
}

.preview-week b {
  display: block;
  font-size: 0.6875rem;
  margin-top: 0.125rem;
  font-weight: 500;
}

.preview-week .selected {
  background: var(--secondary-container);
  color: var(--primary);
}

.preview-notifications > p {
  display: flex;
  align-items: start;
  margin-top: 0.5rem;
  font-size: 0.40625rem;
  gap: 0.375rem;
}

.notification-dot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--secondary-container);
  color: var(--primary);
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 0.125rem;
  font-size: 0.4375rem;
}

.product-preview > footer {
  text-align: left;
  font-size: 0.5rem;
  margin-top: 0.75rem;
}

.metrics-overview {
  max-width: 88.75rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
}

.cards-grid-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.metrics-carousel-controls[hidden] {
  display: none;
}

.metrics-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.metrics-carousel-controls button {
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.metrics-carousel-controls button:focus-visible,
.cards-grid-metrics:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.carousel-dot::before {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin: auto;
  border-radius: 50%;
  background: var(--secondary-container);
  transition:
    background-color var(--transition-ui),
    transform var(--transition-ui);
}

.carousel-dot[aria-current="true"]::before {
  background: var(--primary);
  transform: scale(1.25);
}

.connected-carousel-controls .carousel-dot::before {
  border-radius: 1rem;
  transition:
    width var(--transition-button),
    background-color var(--transition-button);
}

.connected-carousel-controls .carousel-dot[aria-current="true"]::before {
  width: 1.5rem;
  transform: none;
}

.connected-carousel-controls .carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  transition: color var(--transition-button);
}

.connected-carousel-controls .carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.connected-carousel-controls
  .carousel-arrow:enabled:is(:hover, :focus-visible) {
  color: var(--on-secondary-container);
}

.carousel-arrow svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metrics-overview .card {
  background: var(--color-surface-glass);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 1rem;
  border: 0.0625rem solid rgb(255 255 255 / 24%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}

.card-results h3,
.card-results .card-title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.card-results img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.card-description {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--on-surface);
}

.card-description-extra {
  font-size: 0.9rem;
  color: var(--surface-variant);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  width: 100%;
  max-width: 88.75rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
}

.about-section > *,
.roi-header > *,
.timeline-item > * {
  min-width: 0;
}

.timeline-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--secondary-container);
}

.timeline-icon img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--surface-variant);
}

.roi-calculator {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 0.0625rem solid rgb(255 255 255 / 60%);
  border-radius: 2rem;
  background: var(--color-surface-glass);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--shadow) 7%, transparent);
  color: var(--surface-variant);
  scroll-margin-top: 1rem;
}

.roi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.roi-header svg {
  color: var(--primary);
  flex-shrink: 0;
}

.roi-header h3 {
  font-family: var(--font-titulo);
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--on-surface);
}

.roi-header p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.roi-label,
.roi-range-limits {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.roi-label output {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.roi-field input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0.125rem 0;
  accent-color: var(--primary);
  cursor: pointer;
  height: 2.75rem;
  border: 0;
  background: transparent;
  --range-progress: 0%;
}

.roi-field input::-webkit-slider-runnable-track {
  height: 0.375rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(
    to right,
    var(--primary) var(--range-progress),
    var(--secondary-container) var(--range-progress)
  );
}

.roi-field input::-moz-range-track {
  height: 0.375rem;
  border: 0;
  border-radius: 1rem;
  background: var(--secondary-container);
}

.roi-field input::-moz-range-progress {
  height: 0.375rem;
  border: 0;
  border-radius: 1rem;
  background: var(--primary);
}

.roi-field input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: -0.375rem;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgb(0 0 0 / 16%);
  transition:
    box-shadow var(--transition-ui),
    transform var(--transition-ui);
}

.roi-field input::-moz-range-thumb {
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgb(0 0 0 / 16%);
  transition:
    box-shadow var(--transition-ui),
    transform var(--transition-ui);
}

.roi-field input:hover::-webkit-slider-thumb,
.roi-field input:focus-visible::-webkit-slider-thumb,
.roi-field input:active::-webkit-slider-thumb,
.roi-field input:hover::-moz-range-thumb,
.roi-field input:focus-visible::-moz-range-thumb,
.roi-field input:active::-moz-range-thumb {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgb(27 107 81 / 12%);
}

.roi-field input:focus-visible {
  outline: 0.125rem solid var(--primary);
  outline-offset: 0.25rem;
  border-radius: 0.25rem;
}

.roi-range-limits {
  color: var(--outline);
  font-size: 0.75rem;
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.roi-results > div {
  min-width: 0;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--secondary-container);
}

.roi-results output {
  display: block;
  font-family: var(--font-titulo);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.roi-results p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.roi-assumptions {
  font-size: 0.75rem;
  line-height: 1.6;
}

.roi-assumptions h4 {
  font-weight: 500;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.roi-assumptions p + p {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--outline-variant);
}

/* Reserva inicial sem JS; ResizeObserver acompanha a altura real da navbar. */

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stat-value {
  font-variant-numeric: tabular-nums;
  min-width: 5ch;
}

.stat-value [data-count] {
  display: inline-block;
  width: 6ch;
  white-space: nowrap;
}

/* Ativado apenas pelo JS, com a área observada fixa durante a transição. */

.reveal-ready {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--reveal-duration) cubic-bezier(0.22, 0.61, 0.36, 1)
      var(--reveal-delay, 0ms),
    transform var(--reveal-duration) cubic-bezier(0.22, 0.61, 0.36, 1)
      var(--reveal-delay, 0ms);
}

.reveal-anchor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(0);
  transition: transform var(--reveal-duration) cubic-bezier(0.22, 0.61, 0.36, 1)
    var(--reveal-delay, 0ms);
}

.reveal-ready.reveal-pending {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: none;
}

.reveal-ready.reveal-pending > .reveal-anchor {
  transform: translateY(calc(-1 * var(--reveal-distance)));
  transition: none;
}

/* O foco de teclado deve ser visível imediatamente, sem atraso. */

.reveal-ready.reveal-focused,
.reveal-ready.reveal-focused > .reveal-anchor {
  transition: none;
}

:focus-visible {
  outline: 0.125rem solid var(--primary);
  outline-offset: 0.25rem;
}

/* Proporções do hero conforme a referência: imagem alta e prévia sobreposta. */

.preview-header time {
  display: block;
  font-size: 0.5625rem;
  margin-top: 0.1875rem;
}

.preview-header > .preview-status {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.375rem;
  padding-top: 0.25rem;
  font-size: 0.4375rem;
  color: var(--secondary);
}

.preview-status::before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
}

.preview-calendar .preview-week {
  margin-top: 0.75rem;
  margin-inline: 1.25rem;
}

.preview-notifications h3 {
  margin-bottom: 0;
}

.preview-alerts {
  display: block;
  font-size: 0.4375rem;
  color: var(--outline);
}

.preview-notifications strong {
  display: block;
  margin-bottom: 0.125rem;
  font-weight: 500;
  color: var(--primary);
  font-size: 0.40625rem;
}

.title-line {
  display: block;
}

.hero-content .description-extra,
.hero-content .subtitle-extra {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
}

.hero-content .subtitle-extra .subtitle-line {
  width: 1.75rem;
}

.preview-indicators dt {
  font-size: 0.46875rem;
  white-space: nowrap;
}

.preview-calendar h3 {
  padding-inline: 0;
  font-weight: 400;
}

.preview-calendar-toolbar,
.preview-calendar-controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.preview-calendar-toolbar {
  justify-content: space-between;
  font-size: 0.46875rem;
  color: var(--secondary);
}

.preview-calendar-controls {
  color: var(--primary);
}

.preview-today {
  padding: 0.0625rem 0.375rem;
  border-radius: 0.1875rem;
  background: var(--primary);
  color: var(--on-primary);
}

.notification-dot-new {
  background: var(--tertiary-container);
  color: var(--tertiary);
}

/* 03 / Tudo conectado — composição da referência. */

.overview-section {
  width: 100%;
  max-width: 70.625rem;
  margin: 0 auto;
  padding: 3rem 2.1875rem;
  color: var(--surface-variant);
}

.overview-section .section-header h2 span {
  color: var(--primary);
}

.features-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 2rem 0;
}

.features-nav .nav-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 5.0625rem;
  padding: 1rem 0.875rem;
  border: 0.0625rem solid var(--surface-container-highest);
  border-radius: 0.875rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.25rem 0.75rem
    color-mix(in srgb, var(--shadow) 4%, transparent);
  color: var(--on-secondary-container);
  font: normal 600 13px/1.5 var(--font-titulo);
  letter-spacing: 0;
  text-align: left;
}

.features-nav .nav-item > span {
  white-space: nowrap;
}

.features-nav .nav-item.active {
  background: var(--secondary-container);
  border-color: var(--primary-container);
  box-shadow: none;
}

.features-nav svg,
.schedule-calendar-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features-nav .active svg {
  stroke: var(--on-secondary-container);
}

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 1.875rem;
  padding: 1.6875rem;
  border: 0.0625rem solid
    color-mix(
      in srgb,
      var(--tertiary-container) 35%,
      var(--surface-container-high)
    );
  border-radius: 1.625rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.25rem 1.125rem
    color-mix(in srgb, var(--shadow) 5%, transparent);
}

.feature-detail > * {
  min-width: 0;
}

.feature-text {
  padding-top: 1.5rem;
}

.feature-text .sub-tag {
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.feature-text h3 {
  font-family: var(--font-titulo);
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 1.5rem 0;
}

.feature-text > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--secondary);
}

.feature-text .check-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-text .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font: normal 500 14px/1.6 var(--font-titulo);
  letter-spacing: 0;
}

.feature-check {
  width: 20px;
  height: 20px;
  margin-top: max(0px, calc((1lh - 20px) / 2));
  flex-shrink: 0;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-preview,
.modulos-preview {
  --dashboard-accent: #009b7d;
  --dashboard-ink: #09231e;
  --dashboard-muted: #7e9a91;
  --dashboard-panel: #f5f7fa;
}

.feature-preview {
  position: relative;
  container: schedule-preview / inline-size;
  aspect-ratio: 1.24;
  overflow: hidden;
  background: var(--dashboard-panel);
  color: #273a34;
  font-family: "Outfit", sans-serif;
}

.feature-detail [hidden] {
  display: none !important;
}
.feature-preview.has-example {
  aspect-ratio: auto;
  min-height: 22rem;
}
.feature-preview.is-selected-preview {
  opacity: 1;
  transform: none;
  transition: none;
}
.feature-example {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 22rem;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--secondary);
  background: var(--surface-container-low);
}
.feature-example h4 {
  color: var(--on-surface);
  font: 600 1.25rem/1.4 var(--font-titulo);
}
.feature-example > p {
  font-size: 0.875rem;
  line-height: 1.6;
}
.feature-example > :last-child {
  margin-top: auto;
}
.feature-example .connected-card-icon {
  margin-bottom: 0;
}

.schedule-dashboard {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 27% minmax(0, 1fr);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.125rem;
  background: var(--dashboard-ink);
  color: var(--dashboard-muted);
  border-right: 1px solid #23473c;
  font-size: 0.6875rem;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.5rem 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #17634f;
}

.dashboard-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dashboard-brand strong {
  font-size: 0.8125rem;
  color: white;
  white-space: nowrap;
}

.dashboard-brand strong span {
  font-weight: 400;
}

.dashboard-brand small,
.dashboard-person small {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  margin-top: 0.125rem;
  color: var(--dashboard-muted);
}

.dashboard-brand small {
  color: #25836a;
}

.dashboard-menu-label {
  padding-bottom: 0.5rem;
  font-size: 0.625rem;
}

.dashboard-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
}

.dashboard-menu-item.active {
  color: #7cebd8;
  background: #103e36;
  border-color: #187c69;
}

.dashboard-menu-item.active > span {
  color: var(--dashboard-accent);
}

.dashboard-menu-item svg,
.dashboard-tool svg,
.dashboard-signout svg,
.dashboard-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-sidebar-profile {
  margin-top: auto;
  padding: 0.75rem;
  background: #132f29;
  border: 1px solid #1b4238;
  border-radius: 0.5rem;
}

.dashboard-person {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.dashboard-person strong {
  color: white;
  font-size: 0.625rem;
  font-weight: 500;
}

.dashboard-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dashboard-accent);
  color: white;
  font-size: 0.6875rem;
  font-weight: 500;
}

.dashboard-signout {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.875rem;
  color: #2b8a70;
  font-size: 0.5625rem;
}

.dashboard-workspace {
  min-width: 0;
  overflow: hidden;
}

.dashboard-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.375rem;
  height: 3.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--dashboard-ink);
  color: #7cebd8;
  border-bottom: 1px solid #264f43;
}

.dashboard-date,
.dashboard-tool,
.dashboard-account {
  border: 1px solid #1c5b4c;
  border-radius: 0.5rem;
  background: #103a32;
}

.dashboard-date {
  padding: 0.375rem 0.5rem;
  font-size: 0.625rem;
  white-space: nowrap;
}

.dashboard-tool {
  display: grid;
  place-items: center;
  padding: 0.25rem;
  color: var(--dashboard-muted);
}

.dashboard-account {
  padding: 0.25rem 0.5rem;
  min-width: 7.5rem;
}

.dashboard-account .dashboard-avatar {
  width: 24px;
  height: 24px;
  font-size: 0.625rem;
}

.dashboard-chevron {
  margin-left: auto;
  color: var(--dashboard-muted);
}

.dashboard-content {
  padding: 2.25rem 1.125rem 1.125rem;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.schedule-header h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.schedule-header p {
  font-size: 0.625rem;
  color: var(--secondary);
  line-height: 1.5;
}

.schedule-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.125rem;
  padding: 0.5rem 1rem;
  border: 0.0625rem solid var(--dashboard-accent);
  border-radius: 0.375rem;
  background: var(--dashboard-accent);
  color: var(--on-primary);
  font-size: 0.5625rem;
  font-weight: 600;
  white-space: nowrap;
}

.schedule-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem;
  margin-bottom: 1rem;
  border: 0.0625rem solid #163c30;
  border-radius: 0.5rem;
  background: #0b2a25;
  color: var(--secondary-container);
}

.schedule-calendar-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--primary) 35%, transparent);
}

.schedule-calendar-icon svg {
  stroke: var(--inverse-primary);
}

.schedule-banner strong {
  display: block;
  font-size: 0.5rem;
}

.schedule-banner p {
  font-size: 0.5rem;
  line-height: 1.5;
}

.schedule-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--inverse-primary);
  fill: none;
  stroke: currentColor;
}

.schedule-table-scroll {
  border: 0.0625rem solid #e3e8ef;
  border-radius: 0.6875rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.schedule-table-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
}

.schedule-table-heading h5 {
  font:
    600 0.8125rem/1.5 "Outfit",
    sans-serif;
}

.schedule-table-heading h5 span {
  margin-left: 0.75rem;
  color: var(--primary);
}

.schedule-table-heading > span {
  color: var(--primary);
}

.schedule-patient {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-patient > span:last-child {
  white-space: nowrap;
  line-height: 1.25;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.6875rem;
  line-height: 1.5;
  white-space: nowrap;
}

.schedule-table th,
.schedule-table td {
  padding: 0.25rem 0.375rem;
  font-weight: 400;
}

.schedule-table thead th {
  font-size: 0.625rem;
  padding-bottom: 0.375rem;
}

.schedule-table thead th:first-child {
  width: 15%;
  font-weight: 400;
  padding-left: 0;
}

.schedule-table tbody th {
  color: var(--primary);
  font-weight: 700;
  padding-left: 0;
}

.schedule-table tbody td:first-of-type {
  font-weight: 600;
}

.schedule-table tbody td {
  background: color-mix(in srgb, var(--surface-container-low) 25%, transparent);
}

.schedule-status {
  display: block;
  border: 0.0625rem solid;
  border-radius: 1rem;
  font-size: 0.4375rem;
  text-align: center;
  line-height: 1.4;
  padding: 0 0.375rem;
  width: 3.625rem;
}

.schedule-status.confirmed {
  color: #1aa66a;
  background: #dcfce7;
  border-color: #a6f2d1;
}

.schedule-status.pending {
  color: #6b621b;
  background: #fff9c4;
  border-color: #f5e88a;
}

.schedule-status.cancelled {
  color: #e34c56;
  background: #ffe4e6;
  border-color: #ffbec4;
}

.schedule-status.completed {
  color: #389ccb;
  background: #e0f2fe;
  border-color: #b6e5fd;
}

.schedule-note {
  font-size: 0.5625rem;
  line-height: 1.5;
}

.overview-section > .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.overview-section > .cards-grid .card {
  border: 0.0625rem solid var(--outline-variant);
  border-radius: 0.875rem;
  padding: 1.25rem;
  background: var(--surface-container-lowest);
  font-size: 0.875rem;
  line-height: 1.6;
}

.overview-section > .cards-grid h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.schedule-table tbody tr {
  height: 2.75rem;
}

.schedule-table thead tr {
  height: 1.25rem;
}

.schedule-table th:last-child {
  width: 4.25rem;
}

.overview-section > .connected-cards {
  gap: 1.125rem;
}

.overview-section > .connected-cards .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 17.125rem;
  padding: 1.25rem;
  border-color: color-mix(
    in srgb,
    var(--tertiary-container) 40%,
    var(--surface-container-high)
  );
  border-radius: 1.125rem;
  box-shadow: 0 0.375rem 1rem color-mix(in srgb, var(--shadow) 6%, transparent);
}

.connected-cards .card > h4 {
  min-height: 3rem;
}

.connected-cards .card > p {
  flex: 1;
}

.connected-card-icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.overview-section > .connected-cards h4 {
  color: var(--surface-variant);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.overview-section > .connected-cards .card > p {
  font-size: 0.75rem;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.reminder-example,
.record-example,
.revenue-example {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface-container-low);
  font-size: 0.625rem;
  line-height: 1.6;
}

.reminder-example {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--secondary-container);
  margin-top: auto;
  box-shadow: 0 0.5rem 0.875rem
    color-mix(in srgb, var(--shadow) 9%, transparent);
}

.reminder-example > p {
  font-size: 0.6875rem;
  line-height: 1.5;
}

.reminder-example > span {
  display: block;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.5625rem;
}

.record-example {
  margin-top: auto;
}

.record-example strong {
  font-weight: 500;
  font-size: 0.6875rem;
}

.record-example > p {
  margin: 0.375rem 0;
}

.record-tags {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.record-tags span {
  padding: 0.125rem 0.5rem;
  font-weight: 500;
}

.record-tags span:first-child {
  border-radius: 0.375rem;
  background: var(--secondary-container);
}

.revenue-example {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-top: auto;
}

.revenue-example > div:first-child {
  min-width: 0;
}

.revenue-example strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0.375rem 0;
  line-height: 1.4;
  white-space: nowrap;
}

.revenue-example small {
  display: block;
  font-size: 0.5625rem;
}

.revenue-bars {
  display: flex;
  align-items: end;
  gap: 0.625rem;
  height: 4rem;
  flex-shrink: 0;
}

.revenue-bars i {
  width: 0.6875rem;
  border-radius: 0.1875rem;
  background: var(--primary-container);
  height: 38%;
}

.revenue-bars i:nth-child(2) {
  height: 59%;
}

.revenue-bars i:nth-child(3) {
  height: 50%;
}

.revenue-bars i:nth-child(4) {
  height: 80%;
}

.revenue-bars i:nth-child(5) {
  height: 100%;
  background: var(--primary);
}

.modules-section {
  width: 100%;
  max-width: 70.625rem;
  margin: 0 auto;
  padding: 5rem 2.1875rem 3rem;
  color: var(--surface-variant);
}

.modulos-preview {
  margin-top: 2.5rem;
  border: 0.0625rem solid #e3e8ef;
  overflow: hidden;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.5rem 1.375rem
    color-mix(in srgb, var(--shadow) 5%, transparent);
  --module-accent: #0d9488;
  font-family: "Outfit", sans-serif;
}

.module-app {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  min-height: 48.75rem;
}

.module-workspace {
  min-width: 0;
}

.module-content {
  padding: 2rem 1.75rem 3rem;
}

.module-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.module-titlebar h3 {
  color: #4a5568;
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.module-titlebar p {
  color: #4a5568;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.module-specialty-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--secondary-container);
  color: var(--primary);
  border-radius: 0.375rem;
}

.module-available {
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  background: var(--secondary-container);
  color: var(--primary);
  font-size: 0.5rem;
}

.module-specialty-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connected-cards .reminder-example,
.connected-cards .revenue-example,
.connected-cards .record-example {
  margin-top: auto;
  min-height: 6.25rem;
}

/* Prévia completa de tipos de consulta — seis especialidades da referência. */

.module-avatar {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--module-accent);
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
}

.module-specialties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.module-specialty-card {
  min-width: 0;
  min-height: 15rem;
  border: 0.0625rem solid
    color-mix(
      in srgb,
      var(--tertiary-container) 40%,
      var(--surface-container-high)
    );
  border-radius: 0.6875rem;
  padding: 1rem;
  color: var(--surface-variant);
}

.module-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.6875rem;
}

.module-specialty-card h4 {
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.module-specialty-card > p {
  font-size: 0.6875rem;
  line-height: 1.6;
}

.module-professional {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #f7f9fa;
  padding: 0.5rem;
  border-radius: 0.375rem;
  margin-top: 0.625rem;
}

.module-professional strong {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.5;
  font-weight: 600;
}

.module-professional small {
  display: block;
  font-size: 0.625rem;
  line-height: 1.5;
  color: var(--outline);
  margin-top: 0.125rem;
}

.module-learn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--module-accent);
  color: white;
  border-radius: 0.3125rem;
  min-height: 2.5rem;
  margin: 0.625rem 0.375rem 0 0;
  padding: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
}

.module-learn-more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modules-section > .preview-note {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.625rem;
  line-height: 1.6;
}

.modules-section > .preview-note svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  margin-top: 0.0625rem;
}

/* Subtítulos de seção: 12 px na base de 16 px. */

.sub-tag {
  font-size: 0.75rem;
}

/* Navegação adaptável: painel ancorado ao cabeçalho com vidro translúcido. */

.navbar-links {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 1.25rem;
}

.navbar-links .menu {
  order: 0;
  width: auto;
  flex: 1;
}

.navbar-links .menu ul {
  display: flex;
  flex-wrap: nowrap;
}

.nav-toggle,
.nav-toggle[hidden] {
  display: none;
}

@keyframes nav-panel-in {
  from {
    opacity: 0;
    transform: translateY(-0.375rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* O vidro do cabeçalho fica em uma camada própria para não limitar o blur do painel. */

/* 05 / Benefícios na prática */

.comparison-section {
  width: 100%;
  max-width: 70.625rem;
  margin-inline: auto;
  padding: clamp(6rem, 15vw, 16rem) 2.1875rem 3rem;
  color: var(--surface-variant);
  background: radial-gradient(
    ellipse 45% 45% at 55% 55%,
    color-mix(in srgb, var(--primary-container) 20%, transparent),
    transparent 100%
  );
}

.comparison-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2.75rem;
}

.comparison-card {
  position: relative;
  min-width: 0;
  padding: 2.5rem 2.25rem;
  border: 1px solid
    color-mix(
      in srgb,
      var(--outline-variant) 55%,
      var(--surface-container-lowest)
    );
  border-radius: 1.5rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--shadow) 4%, transparent);
}

.comparison-card h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2rem;
  margin: 0;
  padding-bottom: 1.875rem;
  border-bottom: 1px solid #e2e8f0;
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.comparison-card h3 svg {
  width: 1.625rem;
  height: 1.625rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.comparison-card ul {
  display: grid;
  gap: 3.125rem;
  padding-top: 1.75rem;
}

.comparison-card li {
  position: relative;
  padding-left: 2.125rem;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.comparison-card li::before {
  content: "";
  position: absolute;
  left: 0.1875rem;
  top: 0.65rem;
  width: 0.875rem;
  height: 0.125rem;
  border-radius: 1px;
  background: var(--outline);
}

.comparison-card.automation {
  background: var(--secondary-container);
  border-color: var(--primary-container);
  color: var(--on-secondary-container);
}

.comparison-card.automation h3 {
  padding-right: 7.75rem;
}

.comparison-card.automation li {
  color: var(--on-secondary-container);
  font-weight: 500;
}

.comparison-card.automation li::before {
  top: 0.375rem;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: none;
  border-radius: 0;
  transform: rotate(-45deg);
}

.comparison-card .badge {
  position: absolute;
  top: 2.5625rem;
  right: 2.25rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.625rem;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

/* 06 / O impacto do cuidado organizado */

.impact-section {
  width: 100%;
  max-width: 70.625rem;
  margin-inline: auto;
  padding: 5rem 2.1875rem 3rem;
  color: var(--surface-variant);
}

.impacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
}

.testimonial-card,
.metrics-card {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--shadow) 5%, transparent);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 2.5rem 2.5rem;
}

.quote-tag,
.metrics-tag {
  color: var(--primary);
  font-family: var(--font-titulo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quote-tag {
  padding-right: 2.5rem;
  line-height: 1;
}

.testimonial-card::after {
  content: "❞";
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: #28ae79;
  font-size: 2.75rem;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 2.5rem 0 3.5rem;
  color: var(--on-surface);
  font: 500 1.5rem/1.5 var(--font-titulo);
  letter-spacing: -0.035em;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.author-info strong {
  display: block;
  color: var(--on-surface);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.author-info span {
  display: block;
  margin-top: 0.375rem;
  color: var(--secondary);
  font-size: 1rem;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.75rem;
  padding: 0.75rem;
  border: 1px solid #d7e2da;
  border-radius: 0.875rem;
  background: var(--surface);
  box-shadow: 0 0.375rem 1rem #00000005;
}

.audio-player button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #28ae79;
  color: white;
  opacity: 1;
}

.audio-player svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  height: 2rem;
  flex: 1;
  min-width: 0;
}

.waveform i {
  width: 1.625rem;
  max-width: 9%;
  height: 0.625rem;
  border-radius: 2px;
  background: #28ae79;
}

.waveform i:nth-child(2n) {
  height: 1rem;
}

.waveform i:nth-child(3n) {
  height: 1.375rem;
}

.waveform i:nth-child(5) {
  height: 1.75rem;
}

.waveform i:nth-child(7) {
  height: 2rem;
}

.duration {
  flex-shrink: 0;
  color: var(--secondary);
  font-size: 0.6875rem;
  white-space: nowrap;
}

.audio-caption {
  align-self: flex-start;
  margin-top: 0.875rem;
  color: var(--secondary);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.testimonial-dot {
  width: 1.75rem;
  height: 0.375rem;
  border-radius: 1rem;
  background: #28ae79;
}

.testimonial-navigation > div {
  display: flex;
  gap: 0.625rem;
}

.testimonial-navigation > div > span {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid #dce4ed;
  border-radius: 50%;
  color: var(--on-surface);
}

.testimonial-navigation svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metrics-card {
  padding: 2rem 1.625rem;
  container-type: inline-size;
}

.metrics-tag {
  display: block;
  line-height: 1.6;
  white-space: nowrap;
}

.metrics-card h3 {
  margin: 1.75rem 0 2rem;
  color: var(--on-surface);
  font: 600 1.5rem/1.3 var(--font-titulo);
  letter-spacing: -0.035em;
}

.stats-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat .number {
  display: block;
  color: var(--primary);
  font: 700 2.5rem/1.2 var(--font-titulo);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.stat .label {
  display: block;
  margin-top: 0.75rem;
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.chart-container {
  margin-top: 1.75rem;
}

.chart-container img {
  display: block;
  width: 100%;
}

.chart-caption {
  margin-top: 1.75rem;
  color: var(--outline);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Chamada final e rodapé */

.cta-section {
  width: 100%;
  max-width: 70.625rem;
  margin-inline: auto;
  padding: 5rem 2.1875rem 4.5rem;
  background: radial-gradient(
    ellipse 45% 50% at 55% 50%,
    color-mix(in srgb, var(--primary-container) 35%, transparent),
    transparent 100%
  );
}

.cta-container {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: start;
  gap: 3.5rem;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.5rem 1.5rem #00000004;
}

.cta-text {
  min-width: 0;
  color: var(--surface-variant);
}

.cta-text h2 {
  margin: 1.125rem 0;
  color: var(--on-surface);
  font: 700 2rem/1.2 var(--font-titulo);
  letter-spacing: -0.04em;
}

.cta-text > p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.cta-text .check-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cta-text .check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.cta-text .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url("../../assets/icons/circle-check.svg") center/contain
    no-repeat;
}

.cta-text > .lgpd-note {
  position: relative;
  padding-left: 1.875rem;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.lgpd-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url("../../assets/icons/privacy-shield.svg") center/contain
    no-repeat;
}

.form-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.125rem;
  background: var(--surface-container-lowest);
  box-shadow: 0 0.25rem 1rem #00000008;
  color: var(--on-surface);
}

.form-card h3 {
  font: 700 1.125rem/1.4 var(--font-titulo);
  letter-spacing: -0.035em;
}

.form-card > p {
  margin-top: 0.375rem;
  color: var(--surface-variant);
  font-size: 0.6875rem;
  line-height: 1.6;
}

.form-card form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-group {
  min-width: 0;
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-group input {
  width: 100%;
  min-width: 0;
  height: 2.625rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  background-color: var(--surface-container-lowest);
  background-position: 0.625rem center;
  background-size: 1.25rem;
  background-repeat: no-repeat;
  color: var(--on-surface);
  font: 400 0.75rem/1.5 var(--font-titulo);
}

.form-group input::placeholder {
  color: var(--outline);
  opacity: 1;
}

.form-group input:focus-visible,
.form-checkbox input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-group input[name="name"] {
  background-image: url("../../assets/icons/field-user.svg");
}

.form-group input[type="email"] {
  background-image: url("../../assets/icons/field-email.svg");
}

.form-group input[name="clinic_name"] {
  background-image: url("../../assets/icons/field-clinic.svg");
}

.form-group input[type="tel"] {
  background-image: url("../../assets/icons/field-phone.svg");
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--outline);
}

.form-checkbox input {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.form-checkbox label {
  flex: 1;
  min-width: 0;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.form-group input[aria-invalid="true"] {
  border-color: #a42b2b;
}
.form-error,
.form-status {
  color: #a42b2b;
  font-size: 0.75rem;
  line-height: 1.5;
}
.form-error[hidden],
.form-status:empty {
  display: none;
}
.form-checkbox .form-error {
  flex-basis: 100%;
  margin-left: 1.375rem;
}
.form-card .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
[data-theme="dark"] :is(.form-error, .form-status) {
  color: #ffb4ab;
}
[data-theme="dark"] .form-group input[aria-invalid="true"] {
  border-color: #ffb4ab;
}

.form-card .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.875rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(110deg, var(--primary), var(--tertiary));
  color: #fff;
  font: 600 0.75rem/1.5 var(--font-titulo);
  cursor: pointer;
}

.form-card .btn-primary svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-nav [aria-disabled="true"],
.social-placeholder {
  opacity: 0.55;
}

/* Efeito compartilhado dos botões de ação. */
:is(.btn-plataforma, .btn-testar, .btn-demonstracao, .form-card .btn-primary) {
  box-shadow: 0 2px 6px rgb(27 107 81 / 10%);
  transition:
    filter var(--transition-button),
    transform var(--transition-button),
    box-shadow var(--transition-button),
    color var(--transition-button),
    border-color var(--transition-button),
    background-color var(--transition-button);
}

:is(
  .btn-plataforma,
  .btn-testar,
  .btn-demonstracao,
  .form-card .btn-primary
):is(:hover, :focus-visible) {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgb(27 107 81 / 16%);
}

:is(
  .btn-plataforma,
  .btn-testar,
  .btn-demonstracao,
  .form-card .btn-primary
):active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgb(27 107 81 / 12%);
}

.form-note {
  color: var(--outline);
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.6;
}

.main-footer {
  padding: 3.25rem max(1rem, calc((100% - 66.25rem) / 2)) 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: var(--surface-container-lowest);
  color: var(--surface-variant);
  font-family: var(--font-titulo);
  font-weight: 400;
}

.footer-top {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.8fr);
}

.footer-brand .logo {
  gap: 0.5rem;
}

.footer-brand .logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
}

.footer-brand .logo-icon img {
  transform: scale(1.1);
}

.footer-brand > p {
  margin: 1.375rem 0 1.25rem;
  line-height: 1.6;
  max-width: 14.5rem;
  font-size: 0.8125rem;
}

.social-links {
  display: flex;
  gap: 0.625rem;
}

.social-links :is(a, .social-placeholder) {
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.social-links svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 1rem;
  height: 1rem;
  stroke-width: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-nav .nav-column h4 {
  margin-bottom: 1rem;
  color: var(--on-surface);
  font-family: var(--font-titulo);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.nav-column ul {
  display: grid;
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-nav .nav-column a {
  color: inherit;
}

.main-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.25rem;
  border-top: 1px solid #e2e8f0;
  line-height: 1.6;
  align-items: center;
  padding-top: 2.125rem;
  font-size: 0.75rem;
}

.security-badges {
  display: flex;
  gap: 1rem;
  color: var(--surface-variant);
}

/* Rodapé: proporções e iconografia da referência. */

.footer-brand .logo-text {
  color: var(--secondary);
  letter-spacing: -0.025em;
  font-size: 1.4375rem;
}

.security-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.security-badges svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Padrão único de identificação das seções, do hero à chamada final. */

.section-tag,
.hero-content .subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-family: var(--font-titulo);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  display: block;
  width: 20px;
  flex: 0 0 20px;
}

/* Bordas mantêm a espessura nítida mesmo em posições fracionárias do layout. */

.subtitle-line,
.section-tag::before {
  box-sizing: border-box;
  height: var(--subtitle-line-height);
  border-top: var(--subtitle-line-height) solid var(--primary);
}

/* Redes sociais: borda e sombra verdes com realce ao interagir. */

.main-footer .social-links :is(a, .social-placeholder) {
  border-color: color-mix(in srgb, var(--primary) 28%, transparent);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--primary) 10%, transparent);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.main-footer .social-links a:hover,
.main-footer .social-links a:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background-color: color-mix(
    in srgb,
    var(--primary) 5%,
    var(--surface-container-lowest)
  );
  box-shadow: 0 3px 9px color-mix(in srgb, var(--primary) 20%, transparent);
}

/* Equipe: perfis públicos e dados locais definidos na configuração. */
.team-section {
  padding: 4rem clamp(1rem, 4vw, 3rem) 2rem;
  background: linear-gradient(165deg, var(--surface) 5%, #b9f2d5 100%);
  color: var(--surface-variant);
}

.team-container {
  max-width: 75rem;
  margin-inline: auto;
}

.team-header,
.developers-grid {
  max-width: 60rem;
  margin-inline: auto;
}

.team-header {
  margin-bottom: 2.5rem;
}

.team-header h2 {
  margin-top: 1rem;
  color: var(--on-surface);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
}

.developers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.developer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 23rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--surface-container-lowest);
}

.developer-avatar {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--surface-container-low);
  color: var(--secondary);
}

.developer-avatar svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.developer-avatar img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.developer-avatar .developer-photo-pending {
  opacity: 0;
}

.developer-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--on-surface);
  font-family: var(--font-titulo);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.developer-bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-block: 0.5rem 1.5rem;
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.developer-role {
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.developer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.developer-link {
  --developer-transition: 600ms cubic-bezier(0.45, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background-color: var(--surface-container-low);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 rgb(27 107 81 / 0%);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background-color var(--developer-transition),
    border-color var(--developer-transition),
    color var(--developer-transition),
    box-shadow var(--developer-transition),
    transform var(--developer-transition);
}

.developer-link:is(:hover, :focus-visible) {
  background-color: color-mix(in srgb, var(--primary) 90%, transparent);
  border-color: rgb(255 255 255 / 65%);
  color: #ffffff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 16%, transparent);
  transform: translateY(-2px);
}

a.developer-link:active {
  transform: translateY(0);
}

.team-section .footer-bottom {
  border-top: 0;
}

.developer-status,
.developer-notice {
  color: var(--secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.developer-notice {
  margin-block: 0.5rem 1rem;
}
.developer-card [hidden] {
  display: none;
}

.developer-card-loading
  :is(.developer-avatar, .developer-name, .developer-bio, .developer-links) {
  color: transparent;
  border-color: transparent;
  border-radius: 0.5rem;
  background: var(--surface-container-low);
  animation: developer-pulse 1.5s ease-in-out infinite alternate;
}

.developer-card-loading .developer-avatar {
  border-radius: 50%;
}
.developer-card-loading .developer-avatar svg {
  visibility: hidden;
}
.developer-card-loading .developer-name {
  width: 85%;
  min-height: 1.575rem;
  white-space: nowrap;
}
.developer-card-loading .developer-bio {
  width: 100%;
  min-height: 4.2rem;
}
.developer-card-loading .developer-links {
  width: 11rem;
  min-height: 2.75rem;
}

@keyframes developer-pulse {
  to {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .developer-card-loading * {
    animation: none;
  }
}

/* Cabeçalhos das seções numeradas. */
main .section-header > h2 {
  margin: 1rem 0;
  color: var(--on-surface);
  font-family: var(--font-titulo);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

main .section-header > p {
  color: var(--surface-variant);
  font-size: 0.875rem;
  line-height: 1.65;
}

main .section-header > p + p {
  margin-top: 1rem;
}

.metrics-overview > .section-header,
.about-content > .section-header {
  margin-bottom: 1.5rem;
}
