/* ==========================================================================
   DR. FÁBIO CASSIMIRO DE OLIVEIRA — CIRURGIÃO-DENTISTA (BANGU/RJ)
   Design System & Styling — Corderis Site Factory
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Brand Palette (Derived from official logo & identity) */
  --navy-950: #05111E;
  --navy-900: #0A1C30;
  --navy-850: #0E243D;
  --navy-800: #143152;
  --navy-700: #1A406D;
  --navy-600: #245B98; /* Official logo blue */
  --navy-500: #2D6EB5;
  --navy-400: #4B8DD4;

  /* Luminous Cyan & Teal Accents */
  --cyan-500: #0284C7;
  --cyan-400: #0EA5E9;
  --cyan-300: #38BDF8;
  --cyan-100: #E0F2FE;
  --cyan-50:  #F0F9FF;
  
  --teal-500: #0D9488;
  --teal-400: #14B8A6;
  --teal-100: #CCFBF1;

  /* Neutrals & Surfaces */
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Accent & Status */
  --gold-500: #F59E0B;
  --gold-400: #FBBF24;
  --gold-100: #FEF3C7;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #20BA59;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad-y: clamp(64px, 9vw, 112px);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 28, 48, 0.05), 0 1px 2px rgba(10, 28, 48, 0.03);
  --shadow-md: 0 8px 24px -4px rgba(10, 28, 48, 0.08), 0 4px 8px -2px rgba(10, 28, 48, 0.03);
  --shadow-lg: 0 18px 38px -6px rgba(10, 28, 48, 0.12), 0 8px 16px -4px rgba(10, 28, 48, 0.04);
  --shadow-xl: 0 24px 50px -12px rgba(10, 28, 48, 0.18);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.25);
  --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--slate-700);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

[id] {
  scroll-margin-top: 90px;
}

/* --- Utility Container --- */
.container {
  width: min(var(--container-max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--container-wide), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--slate-900);
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-600);
  background: rgba(36, 91, 152, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(36, 91, 152, 0.12);
}

.section-tag.on-dark {
  color: var(--cyan-300);
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header.text-left {
  text-align: left;
  margin-inline: 0;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  margin-bottom: 16px;
  color: var(--navy-950);
}

.section-title.on-dark {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--slate-600);
  line-height: 1.65;
}

.section-subtitle.on-dark {
  color: var(--slate-300);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--navy-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(36, 91, 152, 0.28);
}

.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: 0 6px 20px rgba(36, 91, 152, 0.38);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--navy-600);
  color: var(--navy-600);
  background: var(--slate-100);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   TOP NOTIFICATION & ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-item svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-300);
}

.top-item strong {
  color: var(--white);
  font-weight: 600;
}

.google-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stars-group {
  display: inline-flex;
  gap: 2px;
  color: var(--gold-400);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
}

.top-phone-link:hover {
  color: var(--cyan-300);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 28, 48, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(5, 17, 30, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(14, 165, 233, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 17, 30, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 99;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--cyan-300);
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
}

.mobile-nav-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(100% 80% at 80% 20%, #16365C 0%, #0A1C30 50%, #05111E 100%);
  color: var(--white);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 100px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(36, 91, 152, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #245B98 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.68;
  margin-bottom: 32px;
}

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

.hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.proof-item svg {
  color: var(--cyan-400);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.proof-item strong {
  color: var(--white);
}

/* Hero Media Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.hero-card-image-wrap {
  position: relative;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #081729;
}

.hero-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover .hero-card-image {
  transform: scale(1.03);
}

.hero-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 17, 30, 0.88) 0%, rgba(5, 17, 30, 0.2) 40%, transparent 100%);
  pointer-events: none;
}

.hero-card-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.hero-doctor-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-doctor-spec {
  font-size: 0.875rem;
  color: var(--cyan-300);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(10, 28, 48, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float-badge 4s ease-in-out infinite alternate;
}

@keyframes float-badge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-badge.badge-top-left {
  top: 30px;
  left: -20px;
}

.floating-badge.badge-bottom-right {
  bottom: -20px;
  right: -15px;
  animation-delay: -2s;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-icon-box.gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: var(--white);
}

.badge-text-box b {
  display: block;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

.badge-text-box span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   AUTHORITY / STATS STRIP
   ========================================================================== */
.authority-strip {
  background: var(--navy-900);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
  color: var(--white);
}

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

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(36, 91, 152, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  flex-shrink: 0;
}

.stat-info b {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-info p {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.4;
}

/* ==========================================================================
   ABOUT SECTION (SOBRE O DR. FÁBIO)
   ========================================================================== */
.about-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.about-visual-group {
  position: relative;
}

.about-main-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  position: relative;
  background: var(--slate-100);
}

.about-main-img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top center;
}

.about-badge-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 28, 48, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--white);
}

.about-badge-card .doctor-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.about-badge-card .doctor-cro {
  font-size: 0.8125rem;
  color: var(--cyan-300);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.about-content h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.about-narrative {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-quote {
  border-left: 3px solid var(--navy-600);
  padding: 14px 20px;
  background: var(--slate-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 28px;
  font-style: italic;
  color: var(--slate-800);
  font-size: 1rem;
}

.about-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(36, 91, 152, 0.12);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-text b {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate-900);
  font-weight: 600;
}

.check-text span {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ==========================================================================
   SERVICES / ESPECIALIDADES (THE 9 CONFIRMED SERVICES)
   ========================================================================== */
.services-section {
  padding: var(--section-pad-y) 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-600), var(--cyan-400));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 91, 152, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
  border-color: rgba(36, 91, 152, 0.35);
  box-shadow: var(--shadow-md);
}

.service-card.featured::before {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(36, 91, 152, 0.08);
  border: 1px solid rgba(36, 91, 152, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-600);
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--navy-600);
  color: var(--white);
  border-color: var(--navy-600);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy-950);
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-600);
  transition: gap var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--cyan-500);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

.service-pill-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(36, 91, 152, 0.08);
  color: var(--navy-600);
}

/* ==========================================================================
   DIFFERENTIALS / POR QUE ESCOLHER
   ========================================================================== */
.differentials-section {
  padding: var(--section-pad-y) 0;
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.differentials-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}

.diff-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}

.diff-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(36, 91, 152, 0.4), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  margin-bottom: 22px;
}

.diff-card h3 {
  font-size: 1.1875rem;
  color: var(--white);
  margin-bottom: 12px;
}

.diff-card p {
  color: var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   DEPOIMENTOS SECTION (STRICTLY TITLED "Depoimentos")
   ========================================================================== */
.depoimentos-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.depoimentos-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

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

.testimonial-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  background: var(--white);
  border-color: var(--navy-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold-500);
}

.google-icon-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
}

.author-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--cyan-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info b {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate-900);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-tag {
  color: var(--teal-500);
  font-weight: 600;
}

/* ==========================================================================
   CLINIC ENVIRONMENT / CONSULTÓRIO
   ========================================================================== */
.clinic-section {
  padding: var(--section-pad-y) 0;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
}

.clinic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.clinic-visual-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-300);
  background: var(--navy-900);
}

.clinic-main-img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 5%;
}

.clinic-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 28, 48, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--white);
}

.clinic-floating-badge b {
  display: block;
  font-size: 1.0625rem;
  color: var(--white);
}

.clinic-floating-badge span {
  font-size: 0.8125rem;
  color: var(--cyan-300);
}

.clinic-content h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.clinic-lead {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.clinic-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.clinic-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.clinic-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(36, 91, 152, 0.1);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clinic-feat-text b {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.clinic-feat-text span {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ==========================================================================
   LOCATION & CONTACT SECTION
   ========================================================================== */
.location-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: stretch;
}

.location-info-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0;
}

.loc-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.loc-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-detail-text strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.loc-detail-text p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-900);
}

.loc-detail-text a {
  color: var(--navy-600);
}

.loc-detail-text a:hover {
  color: var(--cyan-500);
  text-decoration: underline;
}

.map-embed-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  min-height: 380px;
  height: 100%;
  position: relative;
  background: var(--slate-200);
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: var(--section-pad-y) 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.faq-container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-950);
  cursor: pointer;
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--navy-600);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.68;
}

/* ==========================================================================
   FINAL CONVERSION CTA BANNER
   ========================================================================== */
.final-cta-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: radial-gradient(100% 90% at 50% 10%, #16365C 0%, #0A1C30 60%, #05111E 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15), transparent 70%);
  pointer-events: none;
}

.final-cta-card {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.final-cta-card h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta-card p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 36px;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.cta-support-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-300);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  color: var(--cyan-400);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--cyan-300);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-whatsapp);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.float-whatsapp-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.float-whatsapp-btn svg {
  width: 26px;
  height: 26px;
}

.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--navy-700);
  border-color: var(--cyan-400);
  color: var(--cyan-300);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP / TABLET / MOBILE)
   ========================================================================== */
@media (min-width: 640px) {
  .hero-proof-bar {
    gap: 32px;
  }

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .clinic-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

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

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .header-btn {
    display: inline-flex;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3.25rem;
  }
}

@media (max-width: 639px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-badge.badge-top-left {
    left: -8px;
    top: 15px;
    padding: 8px 12px;
  }

  .floating-badge.badge-bottom-right {
    right: -8px;
    bottom: -15px;
    padding: 8px 12px;
  }

  .badge-icon-box {
    width: 36px;
    height: 36px;
  }

  .float-whatsapp-text {
    display: none;
  }

  .float-whatsapp-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

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