/* Base visual do projeto Instituto Montcare. Documentação e organização por Matheu Silva. */
/* Tokens globais de cor, tipografia e imagens de fundo. */
:root {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: #ffffff;
  background: #111111;
  --brand-primary: #035569;
  --brand-secondary: #abb6b1;
  --brand-surface: #ffffff;
  --brand-support-light: #c0d4d9;
  --brand-neutral: #eaedeb;
  --surface-dark: rgba(3, 85, 105, 0.94);
  --text-light: rgba(255, 255, 255, 0.94);
  --line-soft: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.3);
  --hero-bg-desktop: url("/bg-hero.webp");
  --hero-bg-mobile: url("/bg-hero-mobile.webp");
}

* {
  box-sizing: border-box;
}

/* Ajustes globais de viewport e prevenção de overflow lateral. */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #090909;
  overflow-x: clip;
}

body.body-mobile-menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

[data-reveal],
.reveal-item {
  opacity: 0;
  transform: translateY(58px) scaleY(0.88);
  transform-origin: center top;
  filter: blur(12px);
  clip-path: inset(0 0 22% 0 round 0.65rem);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter, clip-path;
}

[data-footer-reveal] {
  opacity: 0.82;
  transform: translateY(34px);
  filter: none;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

[data-footer-credit-reveal] {
  opacity: 1;
  transform: translateY(-10px);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

[data-footer-credit-reveal].is-visible {
  transform: translateY(0);
}

[data-reveal].is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 0.65rem);
}

.about-media[data-reveal],
.rehab-plan-media[data-reveal],
.rehab-about-media[data-reveal],
.about-media.reveal-item,
.rehab-plan-media.reveal-item,
.rehab-about-media.reveal-item {
  transform: translateX(58px) scaleY(0.92);
}

.about-media[data-reveal].is-visible,
.rehab-plan-media[data-reveal].is-visible,
.rehab-about-media[data-reveal].is-visible,
.about-media.reveal-item.is-visible,
.rehab-plan-media.reveal-item.is-visible,
.rehab-about-media.reveal-item.is-visible {
  transform: translateX(0) scaleY(1);
}

/* Estrutura-base da aplicação. */
#root {
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

/* Header e navegação principal. */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  min-height: 82px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.1rem;
  background: linear-gradient(180deg, rgba(3, 85, 105, 0.97), rgba(3, 85, 105, 0.9));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 205px;
  height: 64px;
  object-fit: contain;
}

.mobile-menu-toggle,
.mobile-menu-backdrop,
.contact-button-mobile,
.mobile-drawer {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mobile-menu-toggle span {
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0.98rem;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 1.45rem;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 1.92rem;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  top: 1.45rem;
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  top: 1.45rem;
  transform: rotate(-45deg);
}

.contact-button-desktop {
  display: inline-flex;
}

.contact-button-mobile {
  display: none !important;
}

@media (min-width: 1181px) {
  .navbar {
    gap: clamp(4rem, 7vw, 7.75rem);
  }
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex: 0 1 auto;
}

.mobile-drawer {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.8rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-support-light), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1.6rem;
}

.nav-link-with-caret {
  gap: 0.45rem;
}

.nav-caret {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.95rem);
  left: 50%;
  z-index: 20;
  min-width: 310px;
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(3, 85, 105, 0.14);
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.92rem 1.15rem;
  color: var(--brand-primary);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: var(--brand-neutral);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 142px;
  min-height: 46px;
  padding: 0 1.1rem 0 1.35rem;
  color: var(--brand-primary);
  background: linear-gradient(135deg, var(--brand-surface) 0%, var(--brand-neutral) 100%);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 24px rgba(3, 85, 105, 0.18);
  transition: transform 180ms ease, filter 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.contact-arrow {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--brand-primary);
  border-radius: 999px;
}

.contact-arrow::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg) translate(-1px, 1px);
}

.floating-whatsapp {
  position: fixed;
  right: clamp(1rem, 2.3vw, 1.9rem);
  bottom: clamp(1rem, 2.3vw, 1.9rem);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  color: #ffffff;
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(5, 34, 17, 0.26), 0 0 0 8px rgba(37, 211, 102, 0.16);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.03);
  box-shadow: 0 20px 42px rgba(5, 34, 17, 0.32), 0 0 0 10px rgba(37, 211, 102, 0.18);
}

.floating-whatsapp svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: currentColor;
}

/* Hero principal da home. */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 6, 6, 0.96) 0%, rgba(8, 8, 8, 0.82) 32%, rgba(8, 8, 8, 0.35) 58%, rgba(8, 8, 8, 0.18) 100%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 88px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5), transparent 58%),
    #ffffff;
  clip-path: polygon(0 48%, 16% 60%, 34% 46%, 52% 58%, 70% 44%, 86% 56%, 100% 46%, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: right top;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8.3rem 2.4rem 3rem;
}

.hero-content {
  max-width: 760px;
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.05vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: uppercase;
  max-width: 22ch;
  text-wrap: balance;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
}

.hero-title span {
  display: inline;
}

.hero-subtitle {
  max-width: 420px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  font-weight: 700;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
  min-height: 58px;
  padding: 0 1rem 0 1.35rem;
  border-radius: 999px;
  color: var(--brand-primary);
  font-size: 0.98rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-surface) 0%, var(--brand-neutral) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 24px rgba(3, 85, 105, 0.18);
  overflow: hidden;
  isolation: isolate;
  animation: hero-button-enter 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.hero-button::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 42%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.14) 58%,
    transparent 80%
  );
  transform: translateX(-140%) skewX(-22deg);
  animation: hero-button-shine 4.6s ease-in-out infinite;
  z-index: -1;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 32px rgba(3, 85, 105, 0.24);
}

.hero-button-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--brand-primary);
  border-radius: 999px;
  transition: transform 220ms ease, background 220ms ease;
}

.hero-button-icon::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg) translate(-1px, 1px);
}

.hero-button:hover .hero-button-icon,
.hero-button:focus-visible .hero-button-icon {
  transform: translateX(2px) rotate(-8deg);
  background: #04677f;
}

/* Bloco institucional "Quem Somos". */
.about-section {
  position: relative;
  padding: 6.5rem 2rem 5.5rem;
  background:
    radial-gradient(circle at top left, rgba(192, 212, 217, 0.22), transparent 26%),
    #ffffff;
  overflow: hidden;
}

.about-section,
.team-section,
.procedures-section,
.specialties-section,
.faq-section,
.testimonials-section,
.rehab-story-section,
.rehab-plan-section,
.rehab-process-section,
.rehab-about-section,
.rehab-faq-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.about-section::after,
.team-section::after,
.specialties-section::after,
.testimonials-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 58px;
  background: linear-gradient(180deg, transparent, rgba(3, 85, 105, 0.055));
  clip-path: polygon(0 44%, 20% 58%, 42% 45%, 63% 61%, 82% 48%, 100% 56%, 100% 100%, 0 100%);
  pointer-events: none;
}

.about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 495px);
  gap: 4rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.about-copy {
  color: #14313d;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #1c2022;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section-title {
  margin: 0 0 1.75rem;
  color: var(--brand-primary);
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.about-copy p {
  margin: 0 0 1.2rem;
  color: #1b3540;
  font-size: 1.08rem;
  line-height: 1.5;
}

.about-text-block {
  margin-top: 1.4rem;
}

.about-text-block h3 {
  margin: 0 0 0.8rem;
  color: #15323c;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  font-weight: 800;
}

.about-text-block-secondary {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(3, 85, 105, 0.14);
}

.about-copy strong {
  font-weight: 800;
}

.about-highlight {
  color: var(--brand-primary);
  font-weight: 800;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 64px;
  margin-top: 1rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  background: linear-gradient(180deg, #0f657a 0%, #035569 100%);
  box-shadow: 0 18px 35px rgba(3, 85, 105, 0.18);
  transition: transform 180ms ease, filter 180ms ease;
}

.about-button:hover,
.about-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 2rem;
  color: var(--brand-primary);
  font-size: 1rem;
}

.about-signature strong {
  color: #15323c;
}

.about-media {
  display: flex;
  justify-content: flex-end;
}

.about-image-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #d8e5e3 0%, #edf2ef 100%);
  box-shadow:
    0 28px 58px rgba(10, 49, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.about-image-frame::after,
.rehab-photo-frame::after,
.rehab-about-photo-frame::after,
.rehab-faq-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 32%),
    linear-gradient(0deg, rgba(3, 85, 105, 0.16), transparent 38%);
  pointer-events: none;
}

.about-image {
  display: block;
  width: 100%;
  height: 660px;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease, filter 420ms ease;
}

.about-image-frame:hover .about-image {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.02);
}

/* Carrossel do corpo clínico. */
.team-section {
  position: relative;
  padding: 5.8rem 2rem 6rem;
  background:
    radial-gradient(circle at right top, rgba(192, 212, 217, 0.18), transparent 22%),
    linear-gradient(180deg, #f8fbfb 0%, #ffffff 100%);
  overflow: hidden;
}

.team-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.team-header {
  max-width: 720px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.team-eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  color: #6f8f97;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.team-title {
  margin: 0;
  color: var(--brand-primary);
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.team-description {
  margin: 1rem 0 0;
  color: #496670;
  font-size: 1.02rem;
  line-height: 1.65;
}

.team-carousel {
  overflow: hidden;
  width: 100%;
}

.team-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: team-marquee 36s linear infinite;
  will-change: transform;
}

.doctor-card {
  width: 230px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(3, 85, 105, 0.08);
  border-radius: 0.25rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 48, 60, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 3px solid rgba(3, 85, 105, 0.8);
}

.doctor-card:hover,
.doctor-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(3, 85, 105, 0.16);
  box-shadow: 0 18px 38px rgba(7, 48, 60, 0.09);
}

.doctor-photo {
  display: block;
  width: calc(100% - 1.1rem);
  height: 185px;
  margin: 0.55rem auto 0;
  object-fit: contain;
  object-position: center bottom;
  background: #f4f6f6;
  border-radius: 0.18rem;
  transition: transform 320ms ease, filter 320ms ease;
}

.doctor-card:hover .doctor-photo,
.doctor-card:focus-within .doctor-photo {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.04) contrast(1.02);
}

.doctor-card-body {
  padding: 0.95rem 0.95rem 1rem;
  text-align: center;
}

.doctor-card h3 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
}

.doctor-role {
  margin: 0.65rem 0 0;
  color: #56676d;
  font-size: 0.77rem;
  line-height: 1.45;
}

.doctor-crm {
  display: inline-block;
  margin-top: 0.62rem;
  color: #75848a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.doctor-divider {
  width: 100%;
  height: 1px;
  margin: 0.8rem 0 0.7rem;
  background: #edf1f1;
}

.doctor-summary {
  margin: 0;
  color: #6f7d82;
  font-size: 0.72rem;
  line-height: 1.45;
}

.team-carousel:hover .team-track {
  animation-play-state: paused;
}

/* Grade de procedimentos em destaque. */
.procedures-section {
  position: relative;
  padding: 6rem 2rem 6.25rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.88), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(3, 85, 105, 0.12), transparent 28%),
    linear-gradient(180deg, #d9eef0 0%, #edf7f6 100%);
  overflow: hidden;
}

.procedures-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(300deg, rgba(3, 85, 105, 0.08), transparent 30%);
  pointer-events: none;
}

.procedures-section::after,
.faq-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 64px;
  background: #f7faf9;
  clip-path: polygon(0 52%, 18% 40%, 38% 55%, 58% 43%, 78% 58%, 100% 46%, 100% 100%, 0 100%);
  pointer-events: none;
}

.procedures-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.procedures-title {
  margin: 0 0 3.6rem;
  text-align: center;
  color: var(--brand-primary);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.solutions-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 44px rgba(4, 36, 44, 0.16);
  backdrop-filter: blur(8px);
}

.solutions-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.solutions-row:first-child {
  border-top: 0;
}

.solutions-head {
  background: rgba(255, 255, 255, 0.1);
}

.solutions-cell {
  margin: 0;
  padding: 1.35rem 1.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.solutions-group-cell {
  color: #ffffff;
  font-weight: 800;
}

.solutions-head .solutions-cell {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.solutions-list a,
.solutions-list strong {
  color: #ffffff;
  font-weight: 800;
}

.solutions-list a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 180ms ease, color 180ms ease;
}

.solutions-list a:hover,
.solutions-list a:focus-visible {
  color: #eaf5f6;
  text-decoration-color: #ffffff;
}

.solutions-grid {
  display: grid;
  gap: 0.9rem;
  max-width: 1180px;
  margin: 0 auto;
}

.solution-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.solution-group-title {
  margin: 0;
  color: var(--brand-primary);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
}

.solution-items {
  display: grid;
  grid-auto-columns: calc((100% - 3.4rem) / 5);
  grid-auto-flow: column;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.1rem 0.1rem 0.45rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.solution-items::-webkit-scrollbar {
  height: 7px;
}

.solution-items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(3, 85, 105, 0.24);
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 168px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 0.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.16) 100%),
    rgba(9, 107, 127, 0.1);
  box-shadow:
    0 24px 46px rgba(3, 85, 105, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  scroll-snap-align: start;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.solution-card:hover,
.solution-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 30px 58px rgba(3, 85, 105, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.solution-art {
  position: relative;
  display: grid;
  min-height: 118px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.44) 34%, transparent 62%),
    linear-gradient(145deg, rgba(3, 85, 105, 0.02), rgba(255, 255, 255, 0.22));
}

.solution-art::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(3, 85, 105, 0.08);
  border-radius: 999px;
}

.solution-art img {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(3, 85, 105, 0.2)) contrast(1.08) saturate(1.08);
  transition: transform 320ms ease, filter 320ms ease;
}

.solution-card:hover .solution-art img,
.solution-card:focus-within .solution-art img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 16px 24px rgba(3, 85, 105, 0.24));
}

.solution-art-ray {
  position: absolute;
  left: 15%;
  right: 15%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), rgba(3, 85, 105, 0.18), transparent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.42);
}

.solution-art-ray-one {
  top: 44%;
  transform: rotate(-16deg);
}

.solution-art-ray-two {
  top: 52%;
  transform: rotate(14deg);
}

.solution-card-body {
  padding: 0.75rem 0.72rem 0.85rem;
}

.solution-card h3 {
  margin: 0;
  color: #092f3a;
  font-size: 0.86rem;
  line-height: 1.08;
  font-weight: 800;
}

.solution-card h3 span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72em;
  font-weight: 700;
}

.solution-card p {
  margin: 0.75rem 0 0;
  color: #254a55;
  font-size: 0.92rem;
  line-height: 1.45;
}

.solution-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.55rem 0.62rem 0.7rem;
}

.solution-link,
.solution-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.solution-link {
  padding: 0 0.72rem;
  border: 1px solid rgba(3, 85, 105, 0.34);
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.34);
  transition: transform 180ms ease, background 180ms ease;
}

.solution-link:hover,
.solution-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.58);
}

.solution-chip {
  display: none;
  max-width: 55%;
  padding: 0 0.8rem;
  color: #ffffff;
  background: rgba(3, 85, 105, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
}

.procedure-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 1.7rem 1.5rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 44px rgba(4, 36, 44, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.procedure-item:hover,
.procedure-item:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 52px rgba(4, 36, 44, 0.22);
}

.procedure-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 800;
}

.procedure-copy p {
  margin: 0.7rem 0 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.55;
}

.procedure-copy span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.procedures-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 240px;
  min-height: 56px;
  margin: 3.2rem auto 0;
  padding: 0 1.6rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(180deg, #0f657a 0%, #035569 100%);
  box-shadow: 0 16px 34px rgba(3, 85, 105, 0.2);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.procedures-button:hover,
.procedures-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 20px 40px rgba(4, 36, 44, 0.22);
}

/* Grade de especialidades. */
.specialties-section {
  position: relative;
  padding: 6.5rem 2rem 6.5rem;
  background:
    radial-gradient(circle at left 180px top 240px, rgba(192, 212, 217, 0.14) 0, rgba(192, 212, 217, 0.14) 180px, transparent 181px),
    linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
  overflow: hidden;
}

.specialties-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 330px;
  background: rgba(192, 212, 217, 0.18);
  border-bottom-right-radius: 120px;
}

.specialties-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.specialties-title {
  margin: 0;
  text-align: center;
  color: var(--brand-primary);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.specialties-eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  text-align: center;
  color: #6f8f97;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.specialties-description {
  max-width: 660px;
  margin: 1.1rem auto 3.2rem;
  text-align: center;
  color: #496670;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.specialty-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 240px;
  padding: 1.7rem 1.55rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.96));
  border: 1px solid rgba(3, 85, 105, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 38px rgba(7, 48, 60, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.specialty-card:hover,
.specialty-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(3, 85, 105, 0.18);
  box-shadow: 0 28px 52px rgba(7, 48, 60, 0.11);
}

.specialty-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(3, 85, 105, 0.08);
}

.specialty-icon-frame {
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  margin: 1.15rem 0 0.35rem;
  border-radius: 1.9rem;
  background: linear-gradient(180deg, rgba(3, 85, 105, 0.08), rgba(3, 85, 105, 0.03));
}

.specialty-icon {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  transition: transform 260ms ease;
}

.specialty-card:hover .specialty-icon,
.specialty-card:focus-within .specialty-icon {
  transform: scale(1.08) rotate(-3deg);
}

.specialty-card-line {
  width: 56px;
  height: 2px;
  margin: 1rem 0 1.2rem;
  background: linear-gradient(90deg, var(--brand-primary), transparent);
}

.specialty-card h3 {
  margin: 0;
  color: #1b2a33;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
}

.specialty-card p {
  margin: 0.85rem 0 0;
  color: #506871;
  font-size: 0.98rem;
  line-height: 1.6;
}

.specialties-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 260px;
  min-height: 54px;
  margin: 3.4rem auto 0;
  padding: 0 1.5rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(180deg, #0f657a 0%, #035569 100%);
  box-shadow: 0 18px 35px rgba(3, 85, 105, 0.18);
  transition: transform 180ms ease, filter 180ms ease;
}

.specialties-button:hover,
.specialties-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* FAQ principal da home. */
.faq-section {
  position: relative;
  padding: 5.5rem 2rem 6rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, #0f6a7c 0%, #0a5c6d 100%);
  overflow: hidden;
}

.faq-shell {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.faq-copy {
  width: 100%;
}

.faq-title,
.faq-button {
  margin-left: auto;
  margin-right: auto;
}

.faq-title {
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 1.15rem;
}

.faq-button {
  margin-top: 1.4rem;
}

.faq-title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 16px 34px rgba(4, 36, 44, 0.12);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.95rem 1rem 1rem;
  list-style: none;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question span:first-child {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.faq-item[open] .faq-icon {
  color: #ffffff;
  background: var(--brand-primary);
}

.faq-answer {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 215px;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  background: linear-gradient(180deg, #0f657a 0%, #035569 100%);
  box-shadow: 0 18px 35px rgba(3, 85, 105, 0.18);
  transition: transform 180ms ease, filter 180ms ease;
}

.faq-button:hover,
.faq-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Carrossel de depoimentos. */
.testimonials-section {
  position: relative;
  padding: 6rem 2rem 6.5rem;
  background:
    radial-gradient(circle at top right, rgba(192, 212, 217, 0.16), transparent 22%),
    linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
  overflow: hidden;
}

.testimonials-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials-header {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.testimonials-eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  color: #6f8f97;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.testimonials-title {
  margin: 0;
  color: var(--brand-primary);
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.testimonials-description {
  margin: 1rem 0 0;
  color: #496670;
  font-size: 1.02rem;
  line-height: 1.65;
}

.testimonials-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonials-marquee 30s linear infinite;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  width: calc((1120px - 4.5rem) / 4);
  min-height: 280px;
  padding: 1.8rem 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.96));
  border: 1px solid rgba(3, 85, 105, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 38px rgba(7, 48, 60, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(3, 85, 105, 0.18);
  box-shadow: 0 22px 42px rgba(7, 48, 60, 0.09);
}

.testimonials-carousel:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-rating {
  display: flex;
  gap: 0.18rem;
  color: #d2a84f;
  font-size: 1rem;
}

.testimonial-quote {
  margin: 1rem 0 0;
  color: #26414a;
  font-size: 1rem;
  line-height: 1.75;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.4rem;
}

.testimonial-author strong {
  color: #15323c;
  font-size: 1rem;
}

.testimonial-author span {
  color: #6a8188;
  font-size: 0.92rem;
}

/* Rodapé institucional e créditos. */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: #0a5b6b;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 16%),
    radial-gradient(circle at 86% 72%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, #0d6a7e 0%, #0a5b6b 100%);
  color: #ffffff;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(320px, 1.1fr) minmax(180px, 0.75fr);
  gap: 2.2rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.4rem 2rem 3.6rem;
}

.footer-brand,
.footer-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-kicker {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo {
  width: 196px;
  max-width: 100%;
  height: auto;
}

.footer-summary {
  max-width: 340px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: justify;
}

.footer-legal {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact h3,
.footer-nav h3 {
  margin: 0 0 1rem;
  font-size: 1.04rem;
  font-weight: 800;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  width: 100%;
  padding: 0.9rem 1rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 20px rgba(4, 36, 44, 0.12);
}

.footer-contact-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item:hover,
.footer-contact-item:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-contact-item span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1;
}

.footer-contact-item strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.footer-contact-item small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.25rem;
  min-width: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem 1rem 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  background: #0a5b6b;
  border: 0;
  box-shadow: none;
  outline: 0;
  margin: 0;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-credit-logo {
  display: block;
  width: 112px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-social-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.footer-social-list a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-social-list a:hover,
.footer-social-list a:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

.seo-content-section {
  background: #f6f8f8;
  color: #142126;
  padding: clamp(3.2rem, 7vw, 5rem) 1.25rem;
}

.seo-content-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.seo-content-eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-content-shell h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--brand-primary);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.seo-content-shell > p {
  max-width: 850px;
  margin: 0 0 0.9rem;
  color: rgba(20, 33, 38, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.seo-answer-card {
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(3, 85, 105, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 16px 36px rgba(12, 35, 43, 0.08);
}

.seo-answer-card h3 {
  margin: 0 0 0.65rem;
  color: var(--brand-primary);
  font-size: 1.02rem;
  line-height: 1.3;
}

.seo-answer-card p {
  margin: 0;
  color: rgba(20, 33, 38, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Animações decorativas e feedbacks visuais. */
@keyframes hero-button-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-button-shine {
  0%,
  62%,
  100% {
    transform: translateX(-140%) skewX(-22deg);
  }

  82% {
    transform: translateX(155%) skewX(-22deg);
  }
}

@keyframes testimonials-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes team-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

@media (max-width: 1120px) and (min-width: 901px) {
  .navbar {
    gap: 0.95rem;
    padding-inline: 0.85rem;
  }

  .brand-logo {
    height: 56px;
    max-width: 180px;
  }

  .nav-menu-desktop {
    gap: 0.9rem;
  }

  .nav-link {
    font-size: 0.86rem;
  }

  .contact-button {
    min-width: 120px;
    padding-inline: 1rem;
  }
}

/* Ajustes responsivos intermediários das páginas internas. */
@media (max-width: 900px) {
  .seo-answer-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 1rem 1.2rem;
  }

  .brand {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }

  .nav-menu-desktop {
    order: 3;
    width: 100%;
    gap: 1rem 1.35rem;
    flex-wrap: wrap;
  }

  .contact-button {
    min-width: 126px;
  }

  .hero-section,
  .hero-overlay {
    min-height: 100vh;
  }

  .hero-overlay {
    padding: 10rem 1.4rem 2.5rem;
    align-items: flex-end;
  }

  .hero-content {
    max-width: 100%;
  }

  .about-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-media {
    justify-content: center;
  }

  .about-image-frame {
    max-width: 560px;
  }

  .doctor-card {
    width: 250px;
  }

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

  .solutions-grid {
    max-width: 720px;
  }

  .solution-group {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .solution-items {
    grid-auto-columns: calc((100% - 1.7rem) / 3);
  }

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

  .testimonial-card {
    width: calc((100vw - 4.75rem) / 2);
  }

.footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 460px;
  }
}

/* Ajustes compactos da home para telas pequenas. */
/* Ajustes finos para telas pequenas nas páginas internas. */
@media (max-width: 560px) {
  .navbar {
    gap: 1rem;
    padding-inline: 0.85rem;
  }

  .nav-menu-desktop,
  .contact-button {
    justify-content: center;
    width: 100%;
  }

  .dropdown-menu {
    left: 0;
    min-width: 100%;
    transform: translateY(0.35rem);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: translateY(0);
  }

  .hero-title {
    font-size: 1.9rem;
    max-width: 22ch;
  }

  .hero-button {
    width: 100%;
    justify-content: space-between;
  }

  .about-section {
    padding: 4.5rem 1rem;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .about-button {
    width: 100%;
    min-width: 0;
  }

  .about-image {
    height: 460px;
  }

  .team-section {
    padding: 4.5rem 1rem 5rem;
  }

  .team-track {
    gap: 1rem;
  }

  .doctor-card {
    width: 100%;
    max-width: 100%;
  }

  .procedures-section {
    padding: 4.5rem 1rem 4.75rem;
  }

  .procedures-title {
    margin-bottom: 2.6rem;
  }

  .procedures-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .solutions-grid {
    gap: 1.25rem;
  }

  .solution-group {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .solution-group-title {
    font-size: 1rem;
  }

  .solution-items {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }

  .solution-card {
    min-height: 190px;
  }

  .solution-art {
    min-height: 124px;
  }

  .solution-art img {
    width: 90px;
    height: 90px;
  }

  .solution-card-actions {
    align-items: center;
    flex-direction: row;
  }

  .solution-chip {
    max-width: 100%;
  }

  .solutions-board {
    border-radius: 0.45rem;
  }

  .solutions-head {
    display: none;
  }

  .solutions-row {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .solutions-row:nth-child(2) {
    border-top: 0;
  }

  .solutions-cell {
    display: block;
    padding: 0 1.1rem 1.15rem;
    font-size: 0.96rem;
  }

  .solutions-group-cell {
    padding: 1.15rem 1.1rem 0.45rem;
    font-size: 1.05rem;
  }

  .procedure-item {
    min-height: auto;
  }

  .specialties-section {
    padding: 4.5rem 1rem 5rem;
  }

  .specialties-section::before {
    width: 180px;
    height: 240px;
    border-bottom-right-radius: 90px;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: auto;
  }

  .specialties-button {
    width: 100%;
    min-width: 0;
  }

  .faq-section {
    padding: 4.5rem 1rem 5rem;
  }

  .faq-button {
    width: 100%;
  }

  .testimonials-section {
    padding: 4.5rem 1rem 5rem;
  }

  .testimonials-track {
    gap: 1rem;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1rem 3rem;
  }

  .footer-summary {
    max-width: none;
  }

.footer-bottom {
  font-size: 0.85rem;
}

}

/* Shell e heros das páginas internas de procedimentos. */
.navbar-solid {
  position: sticky;
}

.procedure-link-card {
  display: block;
}

.procedure-link-card:hover,
.procedure-link-card:focus-visible {
  text-decoration: none;
}

.rehab-page-shell {
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(192, 212, 217, 0.22), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
}

.rehab-hero {
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(17, 29, 39, 0.56) 0%, rgba(17, 29, 39, 0.48) 100%),
    linear-gradient(90deg, rgba(8, 14, 18, 0.48) 0%, rgba(8, 14, 18, 0.18) 100%),
    var(--hero-bg-desktop) center center / cover no-repeat;
}

.art-hero {
  background:
    linear-gradient(180deg, rgba(18, 28, 34, 0.62) 0%, rgba(18, 28, 34, 0.5) 100%),
    linear-gradient(90deg, rgba(5, 27, 36, 0.52) 0%, rgba(5, 27, 36, 0.22) 100%),
    var(--hero-bg-desktop) center center / cover no-repeat;
}

.infil-hero {
  background:
    linear-gradient(180deg, rgba(20, 31, 35, 0.58) 0%, rgba(20, 31, 35, 0.46) 100%),
    linear-gradient(90deg, rgba(7, 46, 58, 0.5) 0%, rgba(7, 46, 58, 0.18) 100%),
    var(--hero-bg-desktop) center center / cover no-repeat;
}

.mini-hero {
  background:
    linear-gradient(180deg, rgba(18, 29, 34, 0.58) 0%, rgba(18, 29, 34, 0.44) 100%),
    linear-gradient(90deg, rgba(6, 54, 70, 0.54) 0%, rgba(6, 54, 70, 0.2) 100%),
    var(--hero-bg-desktop) center center / cover no-repeat;
}

.rehab-hero-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  padding: 8.5rem 2rem 4.5rem;
}

.rehab-hero-content {
  max-width: 860px;
  text-align: center;
}

.rehab-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.rehab-hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.rehab-hero-content p {
  max-width: 720px;
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.14rem;
  line-height: 1.7;
}

.rehab-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 54px;
  margin-top: 2rem;
  padding: 0 1.4rem;
  color: #ffffff;
  background: linear-gradient(180deg, #0f6f86 0%, #035569 100%);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(3, 85, 105, 0.22);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.rehab-primary-button:hover,
.rehab-primary-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 22px 44px rgba(3, 85, 105, 0.28);
}

.rehab-story-section,
.rehab-plan-section {
  padding: 6rem 2rem;
}

.rehab-story-shell,
.rehab-plan-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 3.5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.rehab-story-copy,
.rehab-plan-copy {
  color: #1b3540;
}

.rehab-story-copy h2,
.rehab-plan-copy h2 {
  margin: 0 0 1.4rem;
  color: var(--brand-primary);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}

.rehab-story-copy p,
.rehab-plan-copy p {
  margin: 0 0 1rem;
  color: #264651;
  font-size: 1rem;
  line-height: 1.72;
}

.rehab-illustration-card {
  position: relative;
  min-height: 340px;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(3, 85, 105, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #edf6f7 100%);
  border: 1px solid rgba(3, 85, 105, 0.08);
  box-shadow: 0 28px 60px rgba(10, 49, 60, 0.1);
  overflow: hidden;
}

.rehab-illustration-grid {
  position: absolute;
  inset: 1.2rem;
  background-image:
    linear-gradient(rgba(3, 85, 105, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 85, 105, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
}

.rehab-illustration-seat {
  position: absolute;
  left: 4.8rem;
  bottom: 3.2rem;
  width: 10.6rem;
  height: 7.8rem;
  background: #304f5d;
  border-radius: 48% 48% 38% 38%;
  box-shadow: inset -20px -8px 0 rgba(255, 255, 255, 0.08);
}

.rehab-illustration-seat::before,
.rehab-illustration-seat::after {
  content: "";
  position: absolute;
  bottom: -1.6rem;
  width: 4px;
  height: 2.6rem;
  background: #866754;
  border-radius: 999px;
}

.rehab-illustration-seat::before {
  left: 2.2rem;
  transform: rotate(18deg);
}

.rehab-illustration-seat::after {
  right: 2.4rem;
  transform: rotate(-16deg);
}

.rehab-illustration-person span {
  position: absolute;
  display: block;
}

.rehab-head {
  right: 8rem;
  top: 4.7rem;
  width: 3rem;
  height: 3rem;
  background: #ffd7c4;
  border-radius: 50%;
}

.rehab-body {
  right: 6.3rem;
  top: 7rem;
  width: 6.3rem;
  height: 7.5rem;
  background: #ff7d66;
  border-radius: 42% 42% 32% 32%;
  transform: rotate(8deg);
}

.rehab-arm {
  right: 8rem;
  top: 11.2rem;
  width: 4.8rem;
  height: 1rem;
  background: #ffd7c4;
  border-radius: 999px;
  transform: rotate(18deg);
  transform-origin: left center;
}

.rehab-leg {
  right: 7rem;
  top: 13.7rem;
  width: 6.6rem;
  height: 1.3rem;
  background: #233b4a;
  border-radius: 999px;
  transform-origin: left center;
}

.rehab-leg-front {
  transform: rotate(52deg);
}

.rehab-leg-back {
  right: 10.4rem;
  width: 5.7rem;
  transform: rotate(92deg);
}

.rehab-illustration-panel {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: grid;
  gap: 0.55rem;
  min-width: 140px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(3, 85, 105, 0.08);
  border-radius: 1.2rem;
  box-shadow: 0 18px 34px rgba(10, 49, 60, 0.08);
}

.rehab-illustration-panel strong {
  color: var(--brand-primary);
  font-size: 0.92rem;
}

.rehab-illustration-panel span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  color: #36535e;
  background: #edf6f7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.rehab-plan-section {
  background:
    radial-gradient(circle at right top, rgba(192, 212, 217, 0.18), transparent 24%),
    #ffffff;
}

.rehab-plan-media {
  display: flex;
  justify-content: flex-end;
}

.rehab-photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.35rem;
  box-shadow:
    0 28px 58px rgba(10, 49, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.rehab-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.rehab-photo-frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.02);
}

.rehab-photo-frame-compact {
  max-width: 360px;
}

.rehab-photo-frame-compact img {
  min-height: 340px;
}

.rehab-highlight-list {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 2.2rem;
}

.rehab-highlight-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.rehab-highlight-item p {
  margin: 0;
}

.rehab-highlight-dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #0f6f86 0%, #035569 100%);
  box-shadow: 0 0 0 6px rgba(3, 85, 105, 0.08);
}

.rehab-benefits {
  margin-bottom: 2rem;
}

.rehab-benefits h3 {
  margin: 0 0 1rem;
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.rehab-benefits ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rehab-benefits li {
  position: relative;
  padding-left: 1.9rem;
  color: #264651;
  line-height: 1.5;
}

.rehab-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.95rem;
  height: 0.95rem;
  border: 1.5px solid rgba(3, 85, 105, 0.35);
  border-radius: 50%;
}

.rehab-benefits li::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.7rem;
  width: 0.35rem;
  height: 0.18rem;
  border-left: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: rotate(-45deg);
}

.art-visual-card {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 24px 54px rgba(10, 49, 60, 0.14);
}

.art-visual-card-pain {
  background:
    radial-gradient(circle at 62% 35%, rgba(255, 112, 67, 0.78), transparent 10%),
    radial-gradient(circle at 50% 55%, rgba(255, 88, 47, 0.24), transparent 18%),
    linear-gradient(180deg, #131a1f 0%, #36454f 100%);
}

.art-pain-silhouette {
  position: absolute;
  inset: 2rem 2.2rem 1.6rem;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.8) 0 10%, transparent 11%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18));
  clip-path: polygon(43% 0%, 57% 0%, 63% 12%, 68% 24%, 76% 38%, 74% 55%, 63% 78%, 57% 100%, 43% 100%, 37% 78%, 26% 55%, 24% 38%, 32% 24%, 37% 12%);
  opacity: 0.88;
  filter: blur(0.4px);
}

.art-pain-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 8.4rem;
  height: 8.4rem;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 108, 54, 0.95) 0%, rgba(255, 108, 54, 0.72) 24%, rgba(255, 108, 54, 0.08) 58%, transparent 70%);
  filter: blur(2px);
}

.art-pain-glow::before,
.art-pain-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4rem;
  height: 0.32rem;
  background: rgba(255, 219, 199, 0.95);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(32deg);
  box-shadow: 0 -1rem 0 rgba(255, 219, 199, 0.8), 0 1rem 0 rgba(255, 219, 199, 0.8);
}

.art-pain-glow::after {
  transform: translate(-50%, -50%) rotate(-32deg);
}

.art-visual-card-spine {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 208, 255, 0.38), transparent 18%),
    linear-gradient(180deg, #0f4472 0%, #0d77ba 46%, #73d6ff 100%);
}

.art-visual-card-spine::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 16px,
      transparent 16px,
      transparent 32px
    );
  opacity: 0.4;
}

.art-spine-column {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.art-spine-column::before {
  content: "";
  position: absolute;
  top: -1.2rem;
  bottom: -1.2rem;
  left: 50%;
  width: 0.8rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(211, 245, 255, 0.2), rgba(255, 255, 255, 0.52), rgba(211, 245, 255, 0.18));
  filter: blur(1px);
}

.art-spine-column span {
  position: relative;
  display: block;
  width: 4.2rem;
  height: 1.55rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(232, 251, 255, 0.96), rgba(169, 235, 255, 0.88));
  box-shadow:
    0 0 26px rgba(214, 248, 255, 0.38),
    inset 0 -4px 8px rgba(42, 128, 168, 0.18);
}

.art-spine-column span:nth-child(2n) {
  width: 3.6rem;
}

.art-spine-column span:nth-child(3) {
  width: 4.5rem;
}

.art-spine-column span:nth-child(6) {
  width: 4.8rem;
}

.art-visual-card-surgeon {
  background:
    radial-gradient(circle at 50% 22%, rgba(134, 213, 255, 0.45), transparent 24%),
    linear-gradient(180deg, #f7fbfd 0%, #deeff5 100%);
}

.mini-surgeon-head,
.mini-surgeon-body,
.mini-surgeon-mask,
.mini-surgeon-arm,
.mini-surgeon-table {
  position: absolute;
}

.mini-surgeon-head {
  left: 50%;
  top: 4.2rem;
  width: 4.1rem;
  height: 4.1rem;
  transform: translateX(-50%);
  background: #35a7db;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(53, 167, 219, 0.22);
}

.mini-surgeon-mask {
  left: 50%;
  top: 6rem;
  width: 2.8rem;
  height: 1.25rem;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 0.35rem 0.35rem 0.6rem 0.6rem;
}

.mini-surgeon-body {
  left: 50%;
  top: 7.6rem;
  width: 9.5rem;
  height: 10.2rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #35c09a 0%, #20966f 100%);
  clip-path: polygon(24% 0%, 76% 0%, 100% 100%, 0% 100%);
  border-radius: 1rem;
}

.mini-surgeon-arm {
  top: 11.3rem;
  width: 5rem;
  height: 1rem;
  background: #35c09a;
  border-radius: 999px;
}

.mini-surgeon-arm-left {
  left: calc(50% - 5.5rem);
  transform: rotate(32deg);
}

.mini-surgeon-arm-right {
  right: calc(50% - 5.5rem);
  transform: rotate(-32deg);
}

.mini-surgeon-table {
  left: 50%;
  bottom: 4.5rem;
  width: 11rem;
  height: 2.3rem;
  transform: translateX(-50%);
  background: #2f7fa9;
  border-radius: 1rem;
  box-shadow: 0 16px 28px rgba(47, 127, 169, 0.18);
}

.mini-surgeon-table::before,
.mini-surgeon-table::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  width: 2.8rem;
  height: 0.3rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.mini-surgeon-table::before {
  left: 1.25rem;
  transform: rotate(-18deg);
}

.mini-surgeon-table::after {
  right: 1.25rem;
  transform: rotate(18deg);
}

.rehab-section-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #6f8f97;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.rehab-process-section {
  padding: 5rem 2rem 5.4rem;
  background: linear-gradient(180deg, #0f6a7c 0%, #08586a 100%);
}

.rehab-process-shell {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.rehab-process-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.rehab-process-header .rehab-section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.rehab-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.rehab-process-card {
  padding: 0.8rem 0.7rem;
  color: #ffffff;
}

.rehab-process-number {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rehab-process-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 800;
}

.rehab-process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.rehab-process-button,
.rehab-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 228px;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, filter 180ms ease;
}

.rehab-process-button {
  color: var(--brand-primary);
  background: linear-gradient(180deg, #efe9d9 0%, #ddd4bf 100%);
}

.rehab-inline-button {
  color: #ffffff;
  background: linear-gradient(180deg, #0f6f86 0%, #035569 100%);
  box-shadow: 0 18px 36px rgba(3, 85, 105, 0.18);
}

.rehab-process-button:hover,
.rehab-process-button:focus-visible,
.rehab-inline-button:hover,
.rehab-inline-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.rehab-about-section,
.rehab-faq-section {
  padding: 5.4rem 2rem;
  background: #ffffff;
}

.rehab-faq-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  align-items: start;
  justify-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.rehab-about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 2.8rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.rehab-about-copy h2,
.rehab-faq-copy h2 {
  margin: 0 0 1.15rem;
  color: var(--brand-primary);
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.rehab-about-copy p,
.rehab-faq-copy p {
  color: #264651;
}

.rehab-faq-copy {
  text-align: center;
  width: 100%;
  max-width: 760px;
}

.rehab-faq-copy .rehab-faq-list,
.rehab-faq-copy .rehab-faq-answer,
.rehab-faq-copy .rehab-faq-question {
  text-align: left;
}

.rehab-doctor-quote {
  margin-top: 1.7rem;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(180deg, #f7fbfb 0%, #eef5f6 100%);
  border-left: 4px solid var(--brand-primary);
  border-radius: 1rem;
}

.rehab-doctor-quote strong {
  display: block;
  color: var(--brand-primary);
  font-size: 1rem;
}

.rehab-doctor-quote span {
  display: block;
  margin-top: 0.25rem;
  color: #64808a;
  font-size: 0.88rem;
  font-weight: 700;
}

.rehab-doctor-quote p {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.rehab-about-media,
.rehab-faq-media {
  display: flex;
  justify-content: center;
}

.rehab-about-photo-frame,
.rehab-faq-photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.25rem;
  box-shadow:
    0 24px 54px rgba(10, 49, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rehab-about-photo-frame {
  max-width: 300px;
}

.rehab-faq-photo-frame {
  max-width: 390px;
}

.rehab-about-photo-frame img,
.rehab-faq-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.rehab-about-photo-frame:hover img,
.rehab-faq-photo-frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.02);
}

.rehab-about-photo-frame img {
  min-height: 380px;
  object-position: center top;
}

.rehab-faq-photo-frame img {
  min-height: 520px;
}

.rehab-faq-section {
  padding-top: 1.4rem;
}

.rehab-faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.rehab-faq-item {
  border: 1px solid rgba(3, 85, 105, 0.16);
  border-radius: 0.2rem;
  background: #ffffff;
  overflow: hidden;
}

.rehab-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  color: #14313d;
  font-size: 0.94rem;
  font-weight: 800;
}

.rehab-faq-question::-webkit-details-marker {
  display: none;
}

.rehab-faq-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
  background: #b6c4c7;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.rehab-faq-item[open] .rehab-faq-icon {
  transform: rotate(45deg);
  background: var(--brand-primary);
}

.rehab-faq-answer {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: #496670;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .navbar-solid {
    position: relative;
  }

  .rehab-hero,
  .rehab-hero-overlay {
    min-height: auto;
  }

  .rehab-hero-overlay {
    padding: 7.4rem 1.5rem 3.8rem;
  }

  .rehab-story-section,
  .rehab-plan-section {
    padding: 4.8rem 1.5rem;
  }

  .rehab-story-shell,
  .rehab-plan-shell {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .rehab-story-copy h2,
  .rehab-plan-copy h2 {
    max-width: none;
  }

  .rehab-plan-media {
    justify-content: center;
  }

  .rehab-photo-frame {
    max-width: 560px;
  }

  .rehab-photo-frame img {
    min-height: 420px;
  }

  .rehab-photo-frame-compact {
    max-width: 420px;
  }

  .rehab-photo-frame-compact img {
    min-height: 320px;
  }

  .art-visual-card {
    min-height: 340px;
  }

  .rehab-process-grid,
  .rehab-about-shell {
    grid-template-columns: 1fr 1fr;
  }

  .rehab-process-grid {
    gap: 1.5rem 1rem;
  }

  .rehab-faq-photo-frame img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .rehab-hero-overlay {
    padding: 7rem 1rem 3.2rem;
  }

  .rehab-hero-content h1 {
    font-size: 2.3rem;
  }

  .rehab-hero-content p {
    font-size: 1rem;
  }

  .rehab-primary-button {
    width: 100%;
    min-width: 0;
  }

  .rehab-story-section,
  .rehab-plan-section {
    padding: 4rem 1rem;
  }

  .rehab-illustration-card {
    min-height: 300px;
    border-radius: 1.6rem;
  }

  .rehab-illustration-seat {
    left: 1.8rem;
    bottom: 2.4rem;
    width: 8.2rem;
    height: 6.4rem;
  }

  .rehab-head {
    right: 4.8rem;
    top: 5rem;
  }

  .rehab-body {
    right: 3.6rem;
    width: 5.3rem;
    height: 6.6rem;
  }

  .rehab-arm {
    right: 5rem;
    top: 10.6rem;
    width: 4rem;
  }

  .rehab-leg {
    right: 3.8rem;
    top: 12.9rem;
    width: 5.7rem;
  }

  .rehab-leg-back {
    right: 6.7rem;
    width: 5rem;
  }

  .rehab-illustration-panel {
    top: 1rem;
    left: 1rem;
    min-width: 0;
    padding: 0.85rem;
  }

  .rehab-photo-frame img {
    min-height: 320px;
  }

  .rehab-photo-frame-compact {
    max-width: 100%;
  }

  .rehab-photo-frame-compact img {
    min-height: 260px;
  }

  .rehab-process-section,
  .rehab-about-section,
  .rehab-faq-section {
    padding-inline: 1rem;
  }

  .rehab-process-grid,
  .rehab-about-shell,
  .rehab-faq-shell {
    grid-template-columns: 1fr;
  }

  .rehab-process-section {
    padding-top: 4rem;
    padding-bottom: 4.2rem;
  }

  .rehab-process-card {
    padding-inline: 0;
  }

  .rehab-process-button,
  .rehab-inline-button {
    width: 100%;
    min-width: 0;
  }

  .rehab-about-section {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .rehab-faq-section {
    padding-top: 0.5rem;
    padding-bottom: 4.2rem;
  }

  .rehab-about-photo-frame {
    max-width: 100%;
  }

  .rehab-about-photo-frame img {
    min-height: 320px;
  }

  .rehab-faq-photo-frame img {
    min-height: 320px;
  }

  .art-visual-card {
    min-height: 300px;
  }

  .art-pain-glow {
    width: 6.6rem;
    height: 6.6rem;
  }

  .art-spine-column span {
    width: 3.6rem;
    height: 1.3rem;
  }
}

/* Ajustes de tablet e desktop compacto. */
@media (max-width: 1180px) {
  .navbar {
    gap: 1rem;
    padding-inline: 1.25rem;
  }

  .brand {
    min-width: 210px;
  }

  .brand-logo {
    max-width: 190px;
    height: 56px;
  }

  .nav-menu-desktop {
    gap: 1.15rem;
  }

  .contact-button {
    min-width: 160px;
    padding-inline: 1rem;
  }

  .hero-overlay,
  .about-shell,
  .team-shell,
  .procedures-shell,
  .specialties-shell,
  .faq-shell,
  .testimonials-shell,
  .footer-shell,
  .rehab-story-shell,
  .rehab-plan-shell,
  .rehab-process-shell,
  .rehab-about-shell,
  .rehab-faq-shell {
    max-width: 1000px;
  }

  .procedures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    width: 320px;
  }

  .footer-shell {
    grid-template-columns: 1.1fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }
}

/* Breakpoint principal do layout mobile. */
@media (max-width: 760px) {
  .navbar {
    position: relative;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    min-height: 72px;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .brand-logo {
    max-width: 170px;
    height: 52px;
  }

  .mobile-menu-toggle,
  .mobile-menu-backdrop,
  .contact-button-mobile,
  .mobile-drawer {
    display: inline-flex;
  }

  .contact-button-desktop {
    display: none;
  }

  .nav-menu-desktop {
    display: none;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(4, 15, 19, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    width: min(86vw, 340px);
    height: 100dvh;
    padding: 5.25rem 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(3, 85, 105, 0.995), rgba(3, 85, 105, 0.975));
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 220ms ease, visibility 220ms ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-drawer.mobile-drawer-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer-link,
  .mobile-drawer-sublink {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 0.95rem 0.2rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
  }

  .mobile-drawer-group {
    display: grid;
    gap: 0;
    padding: 0.2rem 0 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-drawer-label {
    display: block;
    padding: 0.9rem 0.2rem 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-drawer-sublink {
    min-height: 42px;
    padding: 0.7rem 0.2rem 0.7rem 0.8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    font-weight: 600;
    border-bottom: 0;
  }

  .mobile-drawer-link:hover,
  .mobile-drawer-link:focus-visible,
  .mobile-drawer-sublink:hover,
  .mobile-drawer-sublink:focus-visible {
    color: #ffffff;
  }

  .contact-button-mobile {
    width: 100%;
    margin-top: 0.8rem;
    justify-content: space-between;
    display: inline-flex !important;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 3.55rem;
    height: 3.55rem;
  }

  .floating-whatsapp svg {
    width: 2.05rem;
    height: 2.05rem;
  }

  [data-reveal],
  .reveal-item,
  [data-footer-reveal],
  [data-footer-credit-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
    will-change: auto;
  }

  .team-track,
  .testimonials-track {
    animation: none;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .team-carousel,
  .testimonials-carousel {
    overflow-x: auto;
  }

  .doctor-card,
  .testimonial-card {
    scroll-snap-align: start;
  }

  .hero-section,
  .hero-overlay {
    min-height: 540px;
  }

  .hero-section {
    background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(8, 12, 14, 0.74) 0%, rgba(8, 12, 14, 0.5) 100%);
  }

  .hero-media img {
    object-position: center 44%;
  }

  .hero-overlay {
    padding: 7.75rem 1rem 3.25rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 620px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.85rem, 6vw, 2.45rem);
  }

  .hero-title span {
    display: inline;
  }

  .hero-button {
    width: 100%;
    justify-content: space-between;
    max-width: 360px;
    margin-inline: auto;
  }

  .about-section,
  .team-section,
  .procedures-section,
  .specialties-section,
  .faq-section,
  .testimonials-section,
  .rehab-story-section,
  .rehab-plan-section,
  .rehab-process-section,
  .rehab-about-section,
  .rehab-faq-section {
    padding-inline: 1rem;
  }

  .about-shell,
  .rehab-about-shell,
  .rehab-story-shell,
  .rehab-plan-shell,
  .rehab-faq-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-copy,
  .rehab-story-copy,
  .rehab-plan-copy,
  .rehab-about-copy,
  .faq-copy,
  .rehab-faq-copy {
    text-align: left;
  }

  .about-copy[data-reveal],
  .about-media[data-reveal],
  .about-copy.reveal-item,
  .about-media.reveal-item,
  .about-copy.reveal-item.is-visible,
  .about-media.reveal-item.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }

  .section-title,
  .team-title,
  .procedures-title,
  .specialties-title,
  .faq-title,
  .testimonials-title,
  .rehab-process-header h2,
  .rehab-about-copy h2,
  .rehab-faq-copy h2,
  .rehab-story-copy h2,
  .rehab-plan-copy h2,
  .rehab-hero-content h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .about-copy p,
  .team-description,
  .specialties-description,
  .testimonials-description,
  .faq-answer,
  .rehab-story-copy p,
  .rehab-plan-copy p,
  .rehab-about-copy p,
  .rehab-faq-answer {
    font-size: 0.98rem;
  }

  .about-button,
  .procedures-button,
  .specialties-button,
  .faq-button,
  .rehab-primary-button,
  .rehab-process-button,
  .rehab-inline-button {
    width: 100%;
    min-width: 0;
    max-width: 360px;
  }

  .doctor-card,
  .testimonial-card {
    width: min(320px, 100%);
    max-width: 100%;
  }

  .procedures-grid,
  .solutions-grid,
  .specialties-grid,
  .rehab-process-grid {
    grid-template-columns: 1fr;
  }

  .procedure-item,
  .specialty-card {
    min-height: auto;
  }

  .procedure-copy h3,
  .specialty-card h3 {
    font-size: 1.12rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.4rem 1rem 3rem;
  }

  .footer-brand,
  .footer-contact,
  .footer-nav {
    grid-column: auto;
    max-width: none;
  }

  .footer-contact-item {
    padding: 0.85rem 0.9rem;
  }

  .footer-bottom {
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.5;
  }

  .rehab-hero-overlay {
    padding: 7.4rem 1rem 3.2rem;
  }

  .rehab-hero,
  .art-hero,
  .infil-hero,
  .mini-hero {
    background:
      linear-gradient(180deg, rgba(14, 24, 29, 0.72) 0%, rgba(14, 24, 29, 0.52) 100%),
      var(--hero-bg-mobile) center top / cover no-repeat,
      linear-gradient(180deg, #16323b 0%, #0d2026 100%);
  }

  .rehab-hero-content {
    max-width: 720px;
  }

  .rehab-hero-content p {
    font-size: 1rem;
  }

  .rehab-photo-frame,
  .rehab-photo-frame-compact,
  .rehab-about-photo-frame {
    max-width: 100%;
  }

  .rehab-photo-frame img,
  .rehab-about-photo-frame img {
    min-height: 300px;
  }

  .rehab-photo-frame-compact img {
    min-height: 240px;
  }

  .rehab-process-card {
    padding-inline: 0;
  }

  .rehab-faq-copy {
    max-width: 100%;
  }
}
