@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Lato:wght@300;400;700&display=swap");

:root {
  --color-navy: #18394e;
  --color-sky: #57c1e5;
  --color-white: #ffffff;
  --color-light: #f4f8fb;
  --color-gray: #5f5f5f;
  --color-dark: #1a1a2e;
  --color-accent: #e8f6fc;
  --gradient-navy: linear-gradient(135deg, var(--color-navy) 0%, #0d3a52 50%, #0a2a3d 100%);
  --section-padding: 80px 20px;
  --section-padding-full: 20px 0;

  --font-primary: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;

  --max-width: 1200px;
  --nav-h: 80px;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(24, 57, 78, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-primary);
  color: var(--color-navy);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--color-sky);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(87, 193, 229, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.2;
}
.section-title span {
  color: var(--color-sky);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-gray);
  margin-top: 10px;
  max-width: 600px;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: #ffffff;
}

#header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(24, 57, 78, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--color-navy);
  position: relative;
  transition: var(--transition);
}

#header.scrolled .nav-links a {
  color: var(--color-navy);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sky);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--color-sky);
}

.nav-links a.active {
  color: var(--color-sky);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-sky);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
  transform: translateY(-2px);
}
.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .hamburger span {
  background: var(--color-navy);
}
#header .hamburger span {
  background: var(--color-navy);
}
#header.scrolled .hamburger span {
  background: var(--color-navy);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
}

.mobile-nav a {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-nav a:hover {
  color: var(--color-sky);
}

.mobile-nav a.active {
  color: var(--color-sky);
}

.mobile-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
  z-index: 1002;
  padding: 10px;
}

#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
  padding: calc(var(--nav-h) + 30px) 0 90px;
}

.hero-arrows,
.hero-dots {
  z-index: 3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(24, 57, 78, 0.75) 0%,
    rgba(24, 57, 78, 0.35) 60%,
    transparent 100%
  );
}

.hero-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sky);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-sky);
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 20px;
}
.hero-title span {
  color: var(--color-sky);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.87);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-arrows {
  position: absolute;
  bottom: 36px;
  right: 36px;
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero-arrows button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrows button:hover {
  background: var(--color-sky);
  border-color: var(--color-sky);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--color-sky);
  transform: scale(1.3);
}

#cirurgias {
  padding: 100px 0 80px;
  background: var(--color-light);
}

.procedures-header {
  text-align: center;
  margin-bottom: 64px;
}
.procedures-header .section-title {
  margin-bottom: 12px;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.proc-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.proc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(24, 57, 78, 0.18);
}

.proc-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.proc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proc-card:hover .proc-card-img img {
  transform: scale(1.06);
}

.proc-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-sky);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.proc-card-body {
  padding: 28px;
}

.proc-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.proc-card-body h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proc-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.proc-link {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sky);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.proc-link:hover {
  gap: 14px;
  color: var(--color-navy);
}
.proc-link::after {
  content: "→";
}

.modal-sub-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-sub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f4f9fc;
  border: 1.5px solid var(--color-sky);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  width: 100%;
}
.modal-sub-card:hover {
  background: var(--color-sky);
  border-color: var(--color-sky);
  transform: translateX(4px);
}
.modal-sub-card:hover .modal-sub-card-title,
.modal-sub-card:hover .modal-sub-card-tagline,
.modal-sub-card:hover svg {
  color: #fff;
  stroke: #fff;
}
.modal-sub-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-sub-card-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  transition: color 0.2s;
}
.modal-sub-card-tagline {
  font-size: 0.8rem;
  color: var(--color-gray);
  transition: color 0.2s;
}
.modal-sub-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--color-sky);
  transition: stroke 0.2s;
}

.modal-back {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: var(--color-light, #f4f8fb);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0;
  color: var(--color-gray);
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
  overflow: hidden;
}
.modal-back:hover {
  background: var(--color-navy);
  color: #fff;
}
.modal-back svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-gray);
  transition: stroke 0.2s, transform 0.2s;
}
.modal-back:hover svg {
  stroke: #fff;
  transform: translateX(-2px);
}

.exams-card {
  grid-column: 1 / -1;
  background: var(--color-white);
  border: 2px solid var(--color-sky);
  border-radius: var(--radius);
  padding: 28px 36px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.exams-card:hover {
  background: var(--color-sky);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(87, 193, 229, 0.3);
}
.exams-card-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.exams-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.exams-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}
.exams-card:hover .exams-icon {
  background: var(--color-white);
}
.exams-card:hover .exams-icon svg {
  color: var(--color-sky);
}
.exams-text {
  flex: 1;
}
.exams-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.exams-text p {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin: 0;
  transition: color 0.3s ease;
}
.exams-card:hover .exams-text h3,
.exams-card:hover .exams-text p {
  color: var(--color-white);
}
.exams-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.exams-arrow svg {
  width: 100%;
  height: 100%;
  color: var(--color-sky);
  transition: all 0.3s ease;
}
.exams-card:hover .exams-arrow svg {
  color: var(--color-white);
  transform: translateX(5px);
}

#stats {
  background: var(--gradient-navy);
  padding: var(--section-padding-full);
}

.featured-banner {
  background: var(--gradient-navy);
  padding: var(--section-padding);
}

.featured-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.featured-banner .proc-featured-text h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.featured-banner .proc-featured-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 500px;
}

@media (max-width: 768px) {
  .featured-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .featured-banner .proc-featured-text p {
    max-width: 100%;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.stat-number {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-sky);
  line-height: 1;
  margin-bottom: 8px;
  counter-increment: none;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

#depoimentos {
  padding: 100px 0;
  background: var(--color-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonial-carousel {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-top: 32px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.testimonial-slide img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 1.4rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}
.testimonial-controls button:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.testimonial-controls button:active {
  background: #0f2a3a;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  padding: 0 16px;
}
.t-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.t-dot:hover {
  background: rgba(24, 57, 78, 0.1);
}
.t-dot.active {
  background: var(--color-navy);
  color: var(--color-white);
}

#localizacao {
  background: var(--color-light);
  padding: 80px 0;
  text-align: center;
}
#localizacao .section-title {
  margin-bottom: 40px;
}
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}
.map-container iframe {
  display: block;
}
.location-info {
  background: var(--color-white);
  padding: 24px 32px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#agendamento {
  background: var(--gradient-navy);
  padding: 50px 0;
  text-align: center;
}

#agendamento .section-title {
  color: var(--color-white);
  margin-bottom: 16px;
}
#agendamento p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-sky);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: var(--color-sky);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-sky);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-convenios {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.footer-convenios img {
  height: 44px;
  object-fit: contain;
}
.footer-convenios span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1185px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .whatsapp-btn {
    display: none;
  }

  #hero {
    min-height: 100svh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-arrows {
    bottom: 20px;
    right: 16px;
  }

  .procedures-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .stat-item {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-dots {
    bottom: 80px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .proc-card-img {
    height: 180px;
  }
  .exams-hero {
    padding-top: 100px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  z-index: 2;
  text-align: center;
  animation: modalFade 0.3s ease;
}

.modal-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.modal-content p {
  color: #555;
  margin-bottom: 24px;
}

.modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50px;
  padding: 16px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  overflow: hidden;
}
.modal-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.modal-cta:hover::before {
  left: 100%;
}
.modal-cta:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #075e54 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.modal-cta i {
  width: 20px;
  height: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

@keyframes modalFade {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.doctor-section {
  padding: 50px 0;
  background: #f7fbff;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.doctor-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.doctor-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #3aa6ff;
  font-weight: 700;
  margin-bottom: 10px;
}

.doctor-title {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 16px;
  font-weight: 500;
}

.doctor-text {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.6;
}

.doctor-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.whatsapp-btn:hover::before {
  left: 100%;
}
.whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #075e54 100%);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-image img {
    margin: 0 auto;
  }

  .doctor-cta {
    justify-content: center;
  }
}

.exams-hero {
  background: var(--gradient-navy);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.exams-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.exams-hero > .container {
  position: relative;
  z-index: 1;
}
.exams-hero-badge {
  display: inline-block;
  background: rgba(87, 193, 229, 0.2);
  color: var(--color-sky);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  border: 1px solid rgba(87, 193, 229, 0.3);
}
.exams-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.exams-hero > .container > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.exams-hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.exams-hero-stats .stat {
  text-align: center;
}
.exams-hero-stats .stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-sky);
  line-height: 1;
  margin-bottom: 8px;
}
.exams-hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exams-grid-section {
  padding: 80px 0;
  background: #f8fafc;
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.exam-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.exam-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(24, 57, 78, 0.15);
  border-color: var(--color-sky);
}
.exam-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f8fb 0%, #e8f4f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.exam-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.exam-card:hover .exam-img img {
  transform: scale(1.08);
}
.exam-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.exam-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.exam-info p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 20px;
  flex: 1;
}
.exam-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-sky) 0%, #2a9dc7 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.exam-btn:hover {
  background: var(--gradient-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(87, 193, 229, 0.3);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 42, 61, 0.85);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.modal.active .modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--color-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--color-gray);
}
.modal-close:hover {
  background: var(--color-navy);
}
.modal-close:hover svg {
  color: #fff;
}
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-img {
  background: linear-gradient(135deg, #f4f8fb 0%, #e8f4f8 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.modal-img img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}
.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.modal-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}
.modal-description {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.modal-description p {
  margin-bottom: 14px;
}
.modal-description ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-description ul li {
  list-style: none;
  padding-left: 4px;
}
.modal-description ul li::before {
  content: "✓ ";
  color: var(--color-sky);
  font-weight: 700;
}
.modal-indications {
  background: var(--color-light);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.modal-indications h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.modal-indications ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.modal-indications li {
  font-size: 0.85rem;
  color: var(--color-gray);
  padding-left: 20px;
  position: relative;
}
.modal-indications li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--color-sky);
  border-radius: 50%;
}
.modal-whatsapp {
  width: 100%;
  padding: 16px 24px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.modal-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@media (max-width: 768px) {
  .exams-hero {
    padding-top: 100px;
  }
  .exams-hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }
  .exams-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-img {
    min-height: 250px;
  }
  .modal-indications ul {
    grid-template-columns: 1fr;
  }
  .clinica-gallery {
    grid-template-columns: 1fr;
  }
}

/* ── Videos ── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Galeria da Clínica ── */
.clinica-section {
  padding: var(--section-padding);
  background: var(--color-white);
}

.clinica-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.clinica-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.clinica-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.clinica-img:hover img {
  transform: scale(1.04);
}
