/* ===== DESIGN SYSTEM — SIHA DENTAL INSPIRED ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

:root {
  /* ── Cores da Identidade Visual — Dr. Anderson Chalegre ── */
  --bg-primary: #F4F5F7;           /* Fundo cinza claro/neutro, tom perolado suave */
  --bg-secondary: #ECEEF1;         /* Fundo de apoio em cinza neutro */
  --bg-cream: #F8F9FA;             /* Cinza claríssimo/perolado */
  --bg-card: #FFFFFF;              /* Branco puro para cards */
  --bg-dark: #141618;              /* Preto/grafite profundo (quase preto) para blocos e botões */
  --bg-dark-accent: #1D2024;       /* Grafite secundário elegante */
  --bg-dark-card: #191C20;         /* Card sobre fundo escuro */
  
  /* Tons de destaque e títulos */
  --accent-cream: #EFECE6;         /* Bege/creme claro para títulos serifados */
  --accent-beige: #DFD7CC;         /* Bege/creme clássico refinado */
  --accent-warm: #C8BCAC;          /* Bege sutil */
  --accent-gold: #C5A880;          /* Dourado / champagne suave */
  
  /* Textos */
  --text-primary: #151719;         /* Cinza grafite muito escuro */
  --text-secondary: #4D535B;       /* Cinza escuro para corpo de texto */
  --text-muted: #7E858E;           /* Cinza médio suave */
  --text-on-dark: #F5F6F8;         /* Branco suave para fundos escuros */
  --text-on-dark-muted: #B2B8C2;   /* Texto secundário em fundo escuro */
  --text-highlight-dark: #EAE3D8;  /* Título serifado em bege/creme sobre bloco escuro */

  /* Botões e Interações */
  --btn-dark: #141618;             /* Preto/grafite quase preto */
  --btn-dark-hover: #26292E;       /* Grafite para hover */
  --btn-text: #FFFFFF;             /* Texto branco */

  /* Bordas */
  --border-light: #DFE2E6;         /* Bordas sutis */
  --border-subtle: #E8EBEF;        /* Divisores imperceptíveis */
  --border-dark: #272B32;          /* Bordas de cartões escuros */
  --gold-accent: #C9A96E;          /* Estrelas Google / avaliações */
  --gold-light: #D4B97A;
  --overlay: rgba(20, 22, 24, 0.75);

  /* Mapeamento de compatibilidade */
  --green-dark: #141618;
  --green-accent: #23262B;
  --green-light: #343941;
  --brown: #8D8276;
  --brown-light: #DFD7CC;
  --brown-dark: #1C1F23;
  --white: #FFFFFF;

  /* ── Tipografia ── */
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ── Espaçamento ── */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* ── Bordas ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ── Sombras ── */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.1);

  /* ── Transições ── */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* ── Container ── */
  --container-max: 1280px;
  --container-padding: 2rem;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 1rem;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-padding-sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--brown);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover {
  background-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--green-dark);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

.section-header .header-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background-color: var(--border-light);
}

.section-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--green-dark);
  color: var(--white);
  padding: 0.6rem 2rem;
  border-radius: var(--radius-full);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== 1. HEADER / NAVBAR (ESTÉTICA REFINADA & DISPOSIÇÃO EQUILIBRADA) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(237, 231, 224, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(135, 118, 99, 0.12);
}

.header.scrolled {
  background-color: rgba(237, 231, 224, 0.98);
  box-shadow: 0 4px 24px rgba(20, 22, 24, 0.05);
  border-bottom-color: rgba(135, 118, 99, 0.18);
  padding: 0.75rem 0;
}

.header.scrolled .header-logo-mark {
  height: 36px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  gap: clamp(1rem, 2vw, 2rem);
  box-sizing: border-box;
}

/* ── Brand Logo ── */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.85rem;
}

.header-logo-mark {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-base), filter var(--transition-base);
  filter: drop-shadow(0 2px 5px rgba(156, 107, 27, 0.18));
}

.header-logo:hover .header-logo-mark {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 4px 8px rgba(156, 107, 27, 0.28));
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.header-logo-name {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.15;
  transition: color var(--transition-fast);
}

.header-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  white-space: nowrap;
  line-height: 1;
  transition: color var(--transition-fast);
  opacity: 0.92;
}

.header-logo:hover .header-logo-name {
  color: var(--brown);
}

/* ── Navigation Menu (Central) ── */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.15vw, 1.35rem);
  flex: 1 1 auto;
  margin: 0 0.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0.15rem;
  white-space: nowrap;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.85;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-dark);
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brown);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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

.nav-mobile-cta {
  display: none;
}

/* ── Header Actions (Direita) ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green-dark);
  color: var(--white);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(20, 22, 24, 0.12);
}

.nav-btn-book:hover {
  background-color: #23272c;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 16px rgba(20, 22, 24, 0.22);
  color: var(--white);
}

/* ── Mobile Hamburger Toggle (Touch-friendly 44x44) ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 13px 9px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

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

/* Transição para menu drawer responsivo abaixo de 1180px para evitar sobreposição */
@media (max-width: 1180px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(237, 231, 224, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    padding: clamp(4.5rem, 9vh, 5.5rem) 1.5rem 2.5rem;
    animation: fadeIn 0.25s var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-menu.open .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.65rem 1.25rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    opacity: 1;
  }

  .nav-menu.open .nav-link:hover,
  .nav-menu.open .nav-link.active {
    background-color: rgba(20, 22, 24, 0.06);
    color: var(--green-dark);
  }

  .nav-menu.open .nav-mobile-cta {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(135, 118, 99, 0.18);
  }

  .nav-menu.open .nav-mobile-cta .nav-btn-book {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.85rem 1.5rem;
    min-height: 48px;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ===== 2. HERO SECTION (SIHA STYLE) ===== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 3.5rem;
  background-color: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1360px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(135, 118, 99, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--space-md);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--brown);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  color: var(--brown);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 540px;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

.btn-hero-primary {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 0.95rem 2.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-base);
}

.btn-hero-primary:hover {
  background-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero-secondary {
  background-color: var(--brown);
  color: var(--white);
  padding: 0.95rem 2.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-base);
}

.btn-hero-secondary:hover {
  background-color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-accent);
  font-size: 0.85rem;
}

.proof-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  font-family: var(--font-sans);
  line-height: 1.2;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

/* Hero Image with Siha Dental Curved Geometric Arch */
.hero-image-wrapper {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 12px 0 12px;
  background: #E2DBD2;
  border: 1px solid rgba(135, 118, 99, 0.2);
  border-radius: 190px 190px 0 0;
  box-shadow: 0 20px 50px rgba(41, 52, 37, 0.08);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
}

.hero-arch-backdrop {
  display: none;
}

.hero-image-wrapper img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 6%;
  border-radius: 178px 178px 0 0;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ===== 3. TRUST BAR (SIHA 5-CARD GLOWING GRID) ===== */
.trust-bar {
  background: var(--green-dark);
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}

.trust-bar .container {
  max-width: 1360px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 65%;
  background: rgba(255,255,255,0.15);
}

.trust-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.trust-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
  font-weight: 300;
}

/* ===== 4. CORE SERVICES (SIHA DENTAL STYLE) ===== */
.core-services-section {
  background-color: var(--bg-primary);
  padding: 5rem 0;
  position: relative;
}

.core-services-section .container {
  max-width: 1360px;
}

.core-services-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.core-services-header .header-line {
  flex: 1;
  height: 1.5px;
  background-color: #80776D;
  opacity: 0.35;
}

.core-services-badge {
  background-color: var(--green-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 2.8rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(20, 33, 25, 0.12);
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.core-service-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 2.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.core-service-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.core-service-icon-box svg {
  width: 34px;
  height: 34px;
  stroke: var(--white);
  fill: none;
  transition: all 0.35s ease;
}

.core-service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  transition: color 0.35s ease;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.core-service-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  transition: color 0.35s ease;
}

/* Hover State — Smooth Dark Graphite Transition */
.core-service-card:hover {
  background-color: var(--bg-dark);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20, 22, 24, 0.22);
  border-color: var(--bg-dark);
}

.core-service-card:hover h3 {
  color: var(--accent-cream);
}

.core-service-card:hover .core-service-icon-box {
  background-color: #FFFFFF;
  color: var(--bg-dark);
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.core-service-card:hover .core-service-icon-box svg {
  stroke: var(--bg-dark);
}

.core-service-card:hover .core-service-desc {
  color: rgba(245, 246, 248, 0.85);
}

@media (max-width: 1024px) {
  .core-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .core-services-grid {
    grid-template-columns: 1fr;
  }
}

.services-cta-wrapper {
  text-align: center;
  margin-top: 2.8rem;
  padding: 0 1rem;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
}

.treatment-card:hover .treatment-link {
  gap: 0.7rem;
}

.treatment-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.treatment-card:hover .treatment-link svg {
  transform: translateX(3px);
}

/* ===== 5. JOURNEY / METHODOLOGY ===== */
.journey {
  background: var(--bg-cream);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: var(--space-xl);
  position: relative;
}

/* Connecting line */
.journey-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light), var(--brown), var(--border-light));
  z-index: 0;
}

.journey-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all var(--transition-base);
}

.step-number span {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brown);
}

.journey-step:hover .step-number {
  background: var(--brown);
  transform: scale(1.08);
}

.journey-step:hover .step-number span {
  color: var(--white);
}

.step-icon {
  width: 32px;
  height: 32px;
  color: var(--brown);
  margin: 0 auto var(--space-xs);
}

.journey-step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ===== 6. BEFORE & AFTER GALLERY ===== */
.gallery {
  background: var(--bg-primary);
}

.gallery-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-sm) 0;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

/* ===== 6. RESULTADOS / INSTAGRAM CONTINUOUS MARQUEE CAROUSEL ===== */
.gallery {
  background: var(--bg-primary);
  overflow: hidden;
}

.instagram-marquee-container {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1.5rem 0 2.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.instagram-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-smooth 42s linear infinite;
  will-change: transform;
}

@keyframes marquee-smooth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.instagram-card-wrapper {
  position: relative;
  overflow: hidden;
  flex: 0 0 350px;
  min-width: 320px;
  max-width: 360px;
  background: var(--white);
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(135, 118, 99, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-base);
}

.instagram-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 33, 25, 0.08);
}

.instagram-card-wrapper .instagram-media,
.instagram-card-wrapper iframe {
  position: relative !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(41, 52, 37, 0.25);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--green-dark);
}

.gallery-nav-btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.gallery-nav-btn svg {
  width: 18px;
  height: 18px;
}

.instagram-follow-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.instagram-follow-cta a {
  cursor: pointer;
  pointer-events: auto;
}

/* ===== 7. ABOUT / SPECIALIST ===== */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  max-height: 600px;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--brown);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.about-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--space-sm);
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.8;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.credential svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brown);
  margin-top: 2px;
}

/* ===== 8. TESTIMONIALS (PROVA SOCIAL GOOGLE 5.0) ===== */
.testimonials {
  background: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.google-rating-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-rating-score {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1;
}

.google-rating-stars {
  color: #FBBC05;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.google-rating-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-light);
  padding-left: 0.75rem;
  line-height: 1.2;
}

/* Carrossel Marquee Contínuo de Avaliações */
.testimonials-marquee-container {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0 2.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.testimonials-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonials-marquee-smooth 46s linear infinite;
  will-change: transform;
}

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

@keyframes testimonials-marquee-smooth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.testimonial-card {
  flex: 0 0 350px;
  width: 350px;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  cursor: default;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(198, 168, 125, 0.16);
  border-color: var(--accent-warm);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #FBBC05;
}

.testimonial-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.testimonial-google-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(248, 246, 242, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.testimonial-text {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.2rem;
  font-style: normal;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-cream);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  flex-shrink: 0;
  border: 1.5px solid var(--accent-warm);
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.testimonial-procedure {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== 9. FAQ ACCORDION ===== */
.faq {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: var(--brown);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  gap: 1rem;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--brown);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--brown);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== 7. LOCALIZAÇÃO / FIND US CARD (SIHA STYLE) ===== */
.location-section {
  background: var(--bg-primary);
  padding: 4rem 0 0;
  position: relative;
}

.location-card-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  margin-bottom: -5rem; /* Efeito de sobreposição elegante no footer */
}

.location-card {
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(20, 33, 25, 0.08);
  border: 1px solid rgba(135, 118, 99, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
}

.location-info {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-title {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.location-clinic-tag {
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.location-address {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.location-hospital-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(135, 118, 99, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.location-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color var(--transition-fast);
}

.location-phone:hover {
  color: var(--brown);
}

.location-hours {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-location-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  border: 1.5px solid rgba(41, 52, 37, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  text-decoration: none;
  transition: all var(--transition-base);
  width: fit-content;
}

.btn-location-action:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.location-map-wrapper {
  position: relative;
  min-height: 500px;
  width: 100%;
  height: 100%;
}

.location-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 100%;
}

/* ===== 8. FOOTER MINIMALISTA (SIHA STYLE) ===== */
.footer-siha {
  position: relative;
  z-index: 1;
  background: var(--green-dark);
  color: var(--white);
  padding: 9rem 0 3rem; /* Espaço generoso para a sobreposição do card */
}

.footer-siha .container {
  max-width: 1360px;
}

.footer-siha-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-siha-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-siha-logo {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-siha-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-light);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 400;
}

.footer-col-links a:hover {
  color: var(--white);
}

.footer-siha-btn {
  background-color: var(--brown);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  display: inline-block;
  text-align: center;
}

.footer-siha-btn:hover {
  background-color: var(--brown-dark);
  transform: translateY(-2px);
}

.footer-siha-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-action-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-action-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.footer-action-link:hover {
  color: var(--white);
}

.footer-siha-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links span,
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ===== HERO ANIMATIONS & SCROLL REVEAL ===== */
.hero-content {
  animation: heroSlideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper {
  animation: heroSlideRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Scroll reveal for other sections */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* When JS adds js-loaded class to body, apply initial hidden state only to off-screen elements */
body.js-loaded .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(25px);
}

body.js-loaded .reveal-left:not(.visible) {
  opacity: 0;
  transform: translateX(-25px);
}

body.js-loaded .reveal-right:not(.visible) {
  opacity: 0;
  transform: translateX(25px);
}

body.js-loaded .reveal-scale:not(.visible) {
  opacity: 0;
  transform: scale(0.96);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Staggered delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 0;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-lg);
  }

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

  .hero-social-proof {
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item:nth-child(4)::after,
  .trust-item:nth-child(3)::after {
    display: none;
  }

  .core-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .hero-image-wrapper::before {
    display: none;
  }

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

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .journey-steps::before {
    display: none;
  }

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

  .about-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }

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

  .location-info {
    padding: 2.5rem 2rem;
  }

  .location-map-wrapper {
    min-height: 380px;
  }

  .footer-siha {
    padding: 7rem 0 3rem;
  }

  .footer-siha-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

}

/* Mobile & Tablet Portrait */
@media (max-width: 768px) {
  .header {
    padding: 0.65rem 0;
  }

  .header .container {
    padding: 0 1.25rem;
    gap: 0.65rem;
    justify-content: space-between;
  }

  .header-logo {
    gap: 0.6rem;
  }

  .header-logo-mark {
    height: 36px;
  }

  .header-logo-name {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }

  .header-logo-sub {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .nav-btn-book {
    padding: 0.52rem 0.95rem;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .mobile-toggle {
    margin-left: 0.25rem;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 2rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
    padding: 0 1.25rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    max-width: 480px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 1.5rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
    box-sizing: border-box;
  }

  .hero-social-proof {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    align-items: center;
    padding-top: 1.25rem;
  }

  .proof-divider {
    display: none;
  }

  .proof-item {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .proof-stars {
    justify-content: center;
    width: 100%;
  }

  .hero-image-wrapper {
    max-width: 320px;
    width: 100%;
    padding: 8px 8px 0 8px;
    border-radius: 130px 130px 0 0;
    margin: 1rem auto 0;
    box-sizing: border-box;
  }

  .hero-image-wrapper img {
    border-radius: 122px 122px 0 0;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: center 6%;
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .trust-item::after {
    display: none !important;
  }

  .core-services-header {
    margin-bottom: 2rem;
    gap: 1rem;
  }

  .core-services-badge {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
  }

  .core-services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .core-service-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .services-cta-wrapper {
    margin-top: 2rem;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
  }

  .services-cta-btn {
    width: 100%;
    max-width: 340px;
    font-size: 0.78rem;
    padding: 0.85rem 1.25rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .section-header {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .section-header .header-line {
    flex: 0 1 30px;
    height: 1px;
    opacity: 0.35;
  }

  .section-title {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 1.25rem;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 10px rgba(20, 22, 24, 0.08);
  }

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

  .about-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .about-image-wrapper img {
    max-height: 420px;
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }

  .about-image-wrapper::after {
    display: none !important;
  }

  .instagram-card-wrapper {
    flex: 0 0 280px;
    min-width: 260px;
    max-width: 300px;
    padding: 0.25rem;
  }

  .instagram-marquee-container {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 1rem 0 2rem;
    overflow: hidden;
  }

  .faq-question {
    font-size: 0.92rem;
    padding: 1.15rem 1.25rem;
    min-height: 48px;
    gap: 0.75rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .location-card-container {
    margin-bottom: -2.5rem;
    padding: 0 1rem;
  }

  .location-card {
    border-radius: 20px;
    grid-template-columns: 1fr;
  }

  .location-info {
    padding: 1.75rem 1.25rem;
  }

  .location-title {
    font-size: 1.25rem;
  }

  .location-actions {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .btn-location-action {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.8rem 1rem;
    min-height: 44px;
    box-sizing: border-box;
  }

  .location-map-wrapper {
    min-height: 260px;
  }

  .footer-siha {
    padding: 5rem 0 2rem;
  }

  .footer-siha-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-siha-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-action-links {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .footer-siha-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.75rem;
  }

  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

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

/* Telas intermediárias mobile (< 640px) */
@media (max-width: 640px) {
  .nav-actions {
    display: none !important;
  }

  .header .container {
    padding: 0 1.25rem;
    justify-content: space-between;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .nav-actions {
    display: none !important;
  }

  .header .container {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .header-logo {
    gap: 0.45rem;
  }

  .header-logo-mark {
    height: 30px;
  }

  .header-logo-name {
    font-size: 0.84rem;
    letter-spacing: 0.03em;
  }

  .header-logo-sub {
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

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

  .hero-image-wrapper {
    max-width: 290px;
  }

  .core-services-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
  }

  .instagram-card-wrapper {
    flex: 0 0 260px;
    min-width: 240px;
    max-width: 270px;
  }

  .section-header .header-line {
    display: none;
  }

  .section-title {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 1.15rem;
    white-space: nowrap;
  }

  .services-cta-btn {
    max-width: 320px;
    font-size: 0.75rem;
    padding: 0.8rem 1rem;
  }

  /* Testimonials Marquee Mobile Optimization */
  .testimonials-marquee-container {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 0.75rem 0 2rem;
    mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  }

  .testimonials-marquee-track {
    gap: 1rem;
    animation-duration: 38s;
  }

  @keyframes testimonials-marquee-smooth {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 0.5rem));
    }
  }

  .testimonial-card {
    flex: 0 0 295px;
    width: 295px;
    max-width: 310px;
    padding: 1.35rem 1.25rem 1.15rem;
    border-radius: 16px;
  }

  .testimonial-text {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 0.95rem;
  }

  .google-rating-badge {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .google-rating-score {
    font-size: 1.05rem;
  }

  .google-rating-stars {
    font-size: 0.95rem;
  }

  .google-rating-label {
    font-size: 0.75rem;
    padding-left: 0.5rem;
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ===== SMILE REVEAL (CLAREAMENTO DENTAL INTERATIVO 3D) ===== */
.smile-reveal-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

body.js-loaded .smile-reveal-section .reveal:not(.visible) {
  opacity: 1;
  transform: none;
}

.smile-reveal-intro {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.smile-reveal-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 1.5rem 2rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

/* Floating Status Pills */
.smile-label-pill {
  position: absolute;
  top: 2.25rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  pointer-events: none;
  user-select: none;
}

.smile-label-natural {
  left: 2.25rem;
}

.smile-label-bleached {
  right: 2.25rem;
}

.smile-label-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.smile-label-pill .natural-dot {
  background-color: #D4B97A;
  box-shadow: 0 0 6px rgba(212, 185, 122, 0.4);
}

.smile-label-pill .bleached-dot {
  background-color: var(--green-dark);
  box-shadow: 0 0 6px rgba(41, 52, 37, 0.4);
}

/* Image Comparison Container */
.smile-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
}

.smile-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.smile-img-clipped-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  will-change: clip-path;
  clip-path: inset(0 0 0 50%);
  -webkit-clip-path: inset(0 0 0 50%);
}

/* Vertical Divider & Handle */
.smile-reveal-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 12;
  transition: opacity 0.2s ease;
}

.smile-divider-line {
  width: 2px;
  height: 100%;
  margin: 0 auto;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.95) 20%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.95) 80%,
    rgba(255, 255, 255, 0.2) 100%
  );
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.smile-divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(41, 52, 37, 0.18), 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--green-dark);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.smile-image-container:active .smile-divider-handle {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(41, 52, 37, 0.26);
}

/* Drag Hint */
.smile-drag-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(41, 52, 37, 0.85);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 14;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.smile-drag-hint.hidden {
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
}

/* Accessible Range Input */
.smile-slider-control {
  max-width: 380px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  text-align: center;
}

.smile-range-input {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  accent-color: var(--green-dark);
}

.smile-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.smile-range-input:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bottom Text & CTA */
.smile-reveal-bottom {
  text-align: center;
  margin-top: var(--space-lg);
}

.smile-bottom-note {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

/* ── RESPONSIVIDADE (MOBILE & TABLET) ── */
@media (max-width: 768px) {
  .smile-reveal-wrapper {
    padding: 1rem 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
  }

  .smile-image-container {
    border-radius: var(--radius-lg);
  }

  .smile-label-pill {
    top: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
  }

  .smile-label-natural {
    left: 1rem;
  }

  .smile-label-bleached {
    right: 1rem;
  }

  .smile-divider-handle {
    width: 44px;
    height: 44px;
  }

  .smile-bottom-note {
    font-size: 1.1rem;
  }

  .smile-slider-control {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .smile-label-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smile-reveal-wrapper,
  .smile-divider-handle,
  .smile-drag-hint {
    transition: none !important;
  }
}

/* ===== SEÇÃO DE ESTÉTICA / FACETAS EM RESINA COMPOSTA ===== */
.facets-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.facet-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-base);
}

.facet-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-warm);
  box-shadow: var(--shadow-md);
}

.facet-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-dark);
  color: var(--accent-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.facet-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.facet-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .facets-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .facets-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ===== MODAL EXPANDIDO DE SERVIÇOS (SHARED ELEMENT TRANSITION) =====
   ========================================================================== */

/* Hint de clique nos cards da grade */
.core-service-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brown);
  opacity: 0.9;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: rgba(135, 118, 99, 0.08);
}

.core-service-card:hover .core-service-expand-hint {
  color: var(--accent-cream);
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
  opacity: 1;
}

/* Fundo com Backdrop Blur & Overlay Escurecido */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(14, 16, 18, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.service-modal-overlay.is-active {
  display: flex;
}

/* Card do Modal (Elemento que se expande do card original) */
.service-modal-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 740px;
  max-height: calc(100vh - 3rem);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(135, 118, 99, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  will-change: transform, border-radius, box-shadow;
  transform-origin: 0 0;
}

/* Botão de Fechar (X) */
.service-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(20, 22, 24, 0.12);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-modal-close:hover {
  background-color: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
  transform: rotate(90deg) scale(1.06);
}

.service-modal-close:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

/* Corpo com Rolagem Interna Suave */
.service-modal-scroll-body {
  padding: 2.25rem 2.25rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.service-modal-scroll-body::-webkit-scrollbar {
  width: 6px;
}
.service-modal-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(135, 118, 99, 0.28);
  border-radius: 4px;
}

/* Header do Modal */
.service-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}

.service-modal-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(20, 22, 24, 0.18);
}

.service-modal-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: #FFFFFF;
  fill: none;
}

.service-modal-badge {
  display: inline-block;
  background-color: rgba(156, 107, 27, 0.12);
  color: #8C5F17;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.service-modal-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.service-modal-subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brown);
  margin: 0;
  line-height: 1.4;
}

/* Caixa de Descrições */
.service-modal-desc-box {
  margin-bottom: 1.35rem;
}

.service-modal-short {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-modal-full {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Pills de Destaques */
.service-modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.service-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(20, 33, 25, 0.04);
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(20, 33, 25, 0.08);
}

.service-highlight-pill svg {
  color: #8C5F17;
  flex-shrink: 0;
}

/* Galeria de Fotos Reais */
.service-modal-gallery-wrap {
  margin-top: 1.5rem;
}

.service-gallery-label {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-gallery-label svg {
  color: var(--brown);
}

.service-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.service-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background-color: #F0EDE8;
  position: relative;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(135, 118, 99, 0.12);
}

.service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-gallery-item:hover img {
  transform: scale(1.06);
}

.service-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(to top, rgba(14, 16, 18, 0.85), transparent);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
}

/* Rodapé Fixo com Botão CTA */
.service-modal-footer {
  padding: 1.15rem 2.25rem;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(135, 118, 99, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.service-modal-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--green-dark);
  color: #FFFFFF;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(20, 33, 25, 0.2);
}

.service-modal-cta:hover {
  background-color: #243529;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 33, 25, 0.28);
  color: #FFFFFF;
}

/* Transição de revelação do conteúdo interno durante expansão */
.service-modal-scroll-body,
.service-modal-footer {
  opacity: 0;
  transition: opacity 0.28s ease 0.08s;
}

.service-modal-card.is-expanded .service-modal-scroll-body,
.service-modal-card.is-expanded .service-modal-footer {
  opacity: 1;
}

/* Mobile & Tablet Responsividade */
@media (max-width: 768px) {
  .service-modal-overlay {
    padding: 0.85rem;
  }
  .service-modal-card {
    max-height: calc(100vh - 1.7rem);
    border-radius: 20px;
  }
  .service-modal-scroll-body {
    padding: 1.6rem 1.4rem 1.25rem;
  }
  .service-modal-title {
    font-size: 1.45rem;
  }
  .service-modal-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .service-modal-footer {
    padding: 0.95rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .service-modal-header {
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 2.2rem;
  }
  .service-modal-icon-box {
    width: 52px;
    height: 52px;
  }
  .service-modal-title {
    font-size: 1.3rem;
  }
  .service-modal-cta {
    font-size: 0.82rem;
    padding: 0.8rem 1rem;
  }
}

/* ==========================================================================
   ===== LAYOUT CLEAN / MINIMALISTA DO MODAL EXPANDIDO =====
   ========================================================================== */
.service-modal-clean-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0.25rem 0.25rem;
}

.service-modal-center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.service-modal-icon-center {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  margin-bottom: 0.35rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.service-modal-icon-center svg {
  width: 34px;
  height: 34px;
  stroke: #FFFFFF;
  fill: none;
}

.service-modal-icon-center:hover {
  transform: scale(1.05);
}

.service-modal-title-center {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service-modal-clean-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.service-modal-featured-image-box {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(135, 118, 99, 0.16);
  background-color: #F0EDE8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-modal-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-featured-image-box:hover .service-modal-featured-img {
  transform: scale(1.02);
}

/* Caixa e elemento de vídeo otimizados */
.service-modal-featured-video-box {
  background-color: #0d0d0d;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(135, 118, 99, 0.25);
}

.service-modal-featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  background-color: #000000;
}

/* Enquadramento e proporções otimizadas para cada procedimento (sem cortes e sem zoom excessivo) */
.service-modal-featured-implantes {
  width: min(290px, calc(54vh * 9 / 16), 85vw);
  aspect-ratio: 9 / 16;
  max-height: min(480px, 54vh);
}

.service-modal-featured-clareamento {
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

.service-modal-featured-canal {
  max-width: 520px;
  aspect-ratio: 16 / 9;
}

.service-modal-featured-extracoes {
  max-width: 380px;
  aspect-ratio: 4 / 5;
}

@media (max-width: 640px) {
  .service-modal-icon-center {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
  .service-modal-icon-center svg {
    width: 28px;
    height: 28px;
  }
  .service-modal-title-center {
    font-size: 1.45rem;
  }
  .service-modal-clean-desc {
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
  }
  .service-modal-featured-implantes {
    width: min(240px, calc(46vh * 9 / 16), 80vw);
    aspect-ratio: 9 / 16;
    max-height: 46vh;
  }
  .service-modal-featured-clareamento {
    max-width: 300px;
    aspect-ratio: 1 / 1;
  }
  .service-modal-featured-canal {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .service-modal-featured-extracoes {
    max-width: 280px;
    aspect-ratio: 4 / 5;
  }
  .service-modal-additional-case {
    margin-top: 0.85rem;
  }
  .service-modal-additional-box {
    max-width: 290px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }
}

/* ===== GRID DE COMPARAÇÃO ANTES / DEPOIS (PRÓTESES) ===== */
.service-modal-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  width: 100%;
  margin-top: 0.25rem;
}

/* Bloco Adicional de Caso Clínico Complementar */
.service-modal-additional-case {
  width: 100%;
  margin-top: 1.15rem;
}

.service-modal-additional-box {
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.service-modal-comparison-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #F0EDE8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(135, 118, 99, 0.16);
  aspect-ratio: 4 / 5;
  display: flex;
}

.service-comparison-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-comparison-item:hover .service-comparison-img {
  transform: scale(1.03);
}

/* Badges elegantes Antes e Depois */
.service-comparison-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 5;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-before {
  background-color: rgba(20, 22, 24, 0.86);
  color: #F5F6F8;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.badge-after {
  background-color: rgba(20, 33, 25, 0.92);
  color: #F3D372;
  border: 1px solid rgba(243, 211, 114, 0.45);
}

@media (max-width: 640px) {
  .service-modal-comparison-grid {
    gap: 0.65rem;
  }
  .service-modal-comparison-item {
    border-radius: 14px;
    aspect-ratio: 4 / 5;
  }
  .service-comparison-badge {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.64rem;
    padding: 0.24rem 0.58rem;
  }
}

/* ===== BOTÃO FLUTUANTE DO WHATSAPP (GLOBAL) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 72px;
  background-color: #141618;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.whatsapp-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #141618;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

body.modal-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

