@charset "UTF-8";
/* =============================================
   Design System — Dr. Caio Dutra Landing Page
   Clean, Modern, Premium
   ============================================= */


:root {
  /* Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #93bbfd;
  --primary-subtle: #eff6ff;
  --accent: #0ea5e9;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
em { font-style: normal; color: var(--primary); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 4px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.navbar:not(.scrolled) .logo-icon {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text);
}
.logo-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar:not(.scrolled) .logo-name,
.navbar:not(.scrolled) .logo-sub { color: var(--white); }

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

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-secondary);
}

.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
.navbar:not(.scrolled) .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link:hover { color: var(--primary); background: var(--primary-subtle); }

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  padding: 10px 20px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar:not(.scrolled) .nav-toggle span { background: var(--white); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(37, 99, 235, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
  padding: 120px 24px 80px;
  margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-greeting {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
  max-width: 720px;
  min-width: 0;
  overflow-wrap: break-word;
}

.hero-name-line {
  display: block;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-light);
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  min-width: 0;
}

.hero-description {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  min-width: 0;
  overflow-wrap: break-word;
}

.hero-description span {
  display: block;
}

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

.hero-image {
  position: absolute;
  right: max(40px, calc((100vw - 1200px) / 2 + 40px));
  bottom: 0;
  z-index: 2;
}

.hero-duo {
  position: relative;
  width: 470px;
  height: 500px;
}

.hero-image-wrapper {
  position: absolute;
  bottom: 0;
  width: 285px;
  height: 430px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.15);
  border-bottom: none;
  background: rgba(255,255,255,0.08);
}

.hero-image-wrapper--joao {
  left: 0;
  z-index: 2;
}

.hero-image-wrapper--caio {
  right: 0;
  bottom: 42px;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: normal;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  font-size: 17px;
  padding: 18px 36px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-choice-panel {
  width: min(440px, 100%);
  margin: 20px auto 0;
  padding: 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.whatsapp-choice-panel[hidden] {
  display: none;
}

.whatsapp-choice-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--primary);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.whatsapp-choice-panel a:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.social-links {
  width: min(520px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 100px;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-sm:hover {
  background: var(--primary);
  color: var(--white);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--primary-subtle);
  border-radius: 100px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.section-header--light .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--primary-light);
}
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-desc { color: rgba(255,255,255,0.7); }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: 82px 0 120px;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-card-image {
  height: 280px;
  overflow: hidden;
}
.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.about-card:first-child .about-card-image img {
  object-position: center 35%;
}
.about-card:nth-child(2) .about-card-image img {
  object-position: center 16%;
}
.about-card:hover .about-card-image img { transform: scale(1.04); }

.about-card-content {
  padding: 32px;
}
.about-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-card-content blockquote {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}
.about-focus {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  padding: 120px 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.procedures-more {
  margin: 30px auto 0;
  text-align: center;
}

.text-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-toggle:hover {
  color: var(--primary-dark);
}

.info-panel {
  width: min(520px, 100%);
  margin: 14px auto 0;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.info-panel[hidden] {
  display: none;
}

.info-panel ul {
  list-style-position: inside;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}

.team-photo {
  position: absolute;
  inset: 0;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: var(--white);
}
.team-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 4px;
}
.team-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* =============================================
   CLINIC SECTION
   ============================================= */
.clinic {
  padding: 120px 0;
  background: var(--bg);
}

.clinic-gallery {
  width: min(1120px, 100%);
  margin: 0 auto 44px;
}

.clinic-img {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.clinic-img--main {
  aspect-ratio: 16 / 8.2;
  min-height: 610px;
  overflow: hidden;
  animation: none;
}

.clinic-img--main::after {
  display: none;
}

.clinic-img--main::before {
  display: none;
}

.clinic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.6s ease;
}
.clinic-img--main img {
  mask-image: none;
  -webkit-mask-image: none;
}
.clinic-img:hover img { transform: scale(1.025); }

@keyframes clinicMainFade {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@supports (animation-timeline: view()) {
  .clinic-img--main {
    animation: none;
    opacity: 1;
  }

  @keyframes clinicMainScrollFade {
    0%,
    100% {
      opacity: 0.25;
      transform: translateY(24px) scale(0.98);
    }
    22%,
    78% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

.clinic-img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.clinic-address {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.address-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-text {
  flex: 1;
}
.address-text strong {
  font-size: 15px;
  display: block;
  margin-bottom: 2px;
}
.address-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  overflow: hidden;
  max-width: 100vw;
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 32px 0;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
  background: rgba(255,255,255,0.1);
}
.footer-brand strong {
  color: var(--white);
  font-size: 14px;
  display: block;
}
.footer-brand p {
  font-size: 12px;
  margin-top: 2px;
}

.footer-copy {
  font-size: 13px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.about-card:nth-child(2) { transition-delay: 0.15s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    position: relative;
    flex-shrink: 0;
    margin-left: 12px;
    z-index: 1001;
  }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
  }
  .nav-menu.active { right: 0; }
  .nav-link { color: var(--text) !important; width: 100%; }
  .nav-menu .nav-cta {
    color: var(--white) !important;
    text-align: center;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 80px;
    height: auto;
    min-height: 100vh;
  }
  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    z-index: 2;
  }
  .hero-duo {
    width: min(430px, calc(100vw - 32px));
    height: 350px;
  }
  .hero-image-wrapper {
    width: min(235px, 55vw);
    height: 320px;
    border-radius: var(--radius-xl);
    border-bottom: 3px solid rgba(255,255,255,0.15);
  }
  .hero-image-wrapper--caio { bottom: 20px; }
  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 120px 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

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

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

  .clinic-gallery {
    width: 100%;
    overflow: hidden;
  }
  .clinic-img--main {
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
  }

  .clinic-img--main img {
    object-fit: contain;
    object-position: center center;
  }

  .clinic-address {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .footer-brand .logo-icon {
    margin: 0 auto;
  }

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

  .hero-scroll {
    display: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-header,
  .cta-content {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-tag {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title,
  .section-desc,
  .cta-content h2,
  .cta-content p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-badge { border-radius: var(--radius-sm); }
  .hero-title { font-size: clamp(31px, 8.5vw, 34px); }
  .hero-subtitle { font-size: 15px; letter-spacing: 1px; }
  .hero-title,
  .hero-subtitle,
  .hero-description {
    width: 100%;
    max-width: calc(100vw - 48px);
  }
  .hero-description { max-width: min(300px, calc(100vw - 48px)); font-size: 16px; }
  .hero-duo {
    width: min(340px, calc(100vw - 32px));
    height: 300px;
  }
  .hero-image-wrapper {
    width: min(190px, 55vw);
    height: 280px;
  }
  .hero-image-wrapper--caio { bottom: 12px; }

  .cta { padding: 60px 0; }
  .cta-content {
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .btn-whatsapp {
    font-size: 15px;
    padding: 16px 20px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }
  .whatsapp-choice-panel {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .social-links {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  section, .cta, .footer, .clinic, .team, .services, .about {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .footer { padding: 24px 0; }
  .footer-brand strong { font-size: 13px; }

  .clinic-address { padding: 20px 16px; }

  .clinic-img--main {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .clinic-img--main img {
    object-fit: contain;
    object-position: center center;
  }
}

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