/* ==========================================================================
   CSS PRINCIPAL - DRA. CINTHIA VIANNA (COLOPROCTOLOGISTA)
   Design System Premium: Inspirado na Mayo Clinic & Hospitais Americanos
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS DE DESIGN & CONFIGURAÇÕES GERAIS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de Cores - Verde Sage da Marca (#8DB2A3) */
  --color-sage: hsl(156, 21%, 63%);         /* Verde Sage exato da marca (#8DB2A3) - acentos, ícones, tags */
  --color-brand: hsl(157, 23%, 43%);        /* Sage mais fechado para botões/links (texto branco legível) */
  --color-brand-dark: hsl(158, 27%, 28%);   /* Sage profundo - hover e títulos */
  --color-brand-light: hsl(156, 28%, 93%);  /* Sage muito suave para fundos e tags */

  --color-bg-light: hsl(48, 20%, 96%);      /* Creme Claro Off-White (#f5f4f0) */
  --color-bg-alt: hsl(48, 12%, 91%);        /* Creme Médio para seções alternadas (#e8e6df) */
  --color-bg-dark: hsl(158, 24%, 16%);      /* Fundo sage escuro para a seção de tecnologia laser */
  
  --color-accent: hsl(38, 30%, 55%);        /* Dourado/Bronze Accent (#b59357) */
  --color-accent-hover: hsl(38, 35%, 48%);  /* Dourado mais saturado para hover */
  
  --color-text-main: hsl(140, 8%, 15%);     /* Cinza/Slate escuro para leitura confortável (#222623) */
  --color-text-muted: hsl(140, 6%, 40%);    /* Texto secundário/suave */
  --color-text-light: hsl(0, 0%, 98%);      /* Texto em fundos escuros */
  
  /* Tipografia */
  --font-headers: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Efeitos e Bordas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50%;
  
  --shadow-sm: 0 4px 6px -1px rgba(34, 38, 35, 0.05), 0 2px 4px -1px rgba(34, 38, 35, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(34, 38, 35, 0.08), 0 4px 6px -2px rgba(34, 38, 35, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(34, 38, 35, 0.1), 0 10px 10px -5px rgba(34, 38, 35, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(141, 178, 163, 0.22);

  /* Transições */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Limites de Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET MODERNO & ESTILOS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 40px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-light);
}

/* --------------------------------------------------------------------------
   3. CLASSES UTILITÁRIAS & COMPONENTES REUSÁVEIS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--color-brand);
  color: var(--color-text-light);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn-outline:hover {
  background-color: var(--color-brand);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

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

/* Seções de Texto */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-brand-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.light-subtitle {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-text-light);
}

/* Animações de Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   4. ANNOUNCEMENT BAR & HEADER (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.announcement-bar {
  background-color: var(--color-brand-dark);
  color: var(--color-text-light);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-badge {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 6px;
  letter-spacing: 0.5px;
}

.link-direct {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.link-direct:hover {
  border-color: var(--color-accent);
  color: var(--color-text-light);
}

/* Sticky Header with Glassmorphism */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(245, 244, 240, 0.85); /* Tom creme semitransparente */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(75, 128, 87, 0.08);
  transition: var(--transition-smooth);
}

/* Classe adicionada via JS ao rolar */
.main-header.scrolled {
  height: 70px;
  background-color: rgba(245, 244, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.main-header.scrolled .header-logo {
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-brand-dark);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-top: 2px;
}

.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 8px 0;
  position: relative;
}

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

.nav-link:hover {
  color: var(--color-brand);
}

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

/* Link ativo na seção visível */
.nav-link.active-section {
  color: var(--color-brand);
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-dark);
  transition: var(--transition-smooth);
}

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

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

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

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-bg-light);
  box-shadow: var(--shadow-lg);
  padding: 120px 40px 40px 40px;
  z-index: 105;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-brand-dark);
}

.mobile-link:hover {
  color: var(--color-brand);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-tagline {
  display: inline-block;
  background-color: var(--color-brand-light);
  color: var(--color-brand-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--color-brand-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-main);
}

.highlight-icon {
  color: var(--color-accent);
  font-size: 1.1rem;
}

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

/* Hero Image Column with unique backdrop design */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 90%;
  height: 90%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-brand);
  z-index: 1;
}

.hero-image {
  position: relative;
  width: 90%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background-color: var(--color-bg-alt);
}

.hero-experience-badge {
  position: absolute;
  bottom: 5%;
  left: -5%;
  background-color: var(--color-brand-dark);
  color: var(--color-text-light);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--color-accent);
}

.badge-num {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   6. DIFFERENTIALS SECTION
   -------------------------------------------------------------------------- */
.differentials-section {
  padding: 60px 0;
  background-color: var(--color-bg-alt);
}

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

.diff-card {
  background-color: var(--color-bg-light);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.diff-icon-wrapper {
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.diff-card h3 {
  font-family: var(--font-headers);
  font-size: 1.3rem;
  color: var(--color-brand-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.diff-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. SPECIALTIES SECTION
   -------------------------------------------------------------------------- */
.specialties-section {
  padding: 100px 0;
}

.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.specialty-card {
  flex: 0 1 calc((100% - 64px) / 3);
  min-width: 280px;
  max-width: 380px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(75, 128, 87, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(75, 128, 87, 0.15);
}

.specialty-img-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.specialty-tag-top {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-brand-dark);
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specialty-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-content h3 {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  color: var(--color-brand-dark);
  margin-bottom: 12px;
}

.specialty-content > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.specialty-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specialty-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.specialty-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   8. ABOUT DRA. CINTHIA VIANNA
   -------------------------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
}

.about-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

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

.about-image-backdrop {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--color-brand-light);
  z-index: 1;
}

.about-image {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background-color: var(--color-bg-light);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-credentials {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-brand);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background-color: var(--color-bg-light);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-brand);
}

.stat-number {
  display: block;
  font-family: var(--font-headers);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-dark);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. LASER TECHNOLOGY SPOTLIGHT
   -------------------------------------------------------------------------- */
.laser-section {
  padding: 100px 0;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
}

.laser-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.laser-intro {
  font-size: 1.2rem;
  color: var(--color-brand-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.laser-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.benefit-item {
  display: flex;
  gap: 16px;
}

.benefit-icon {
  flex-shrink: 0;
  background-color: var(--color-brand);
  color: var(--color-text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}

.benefit-item h4 {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.benefit-item p {
  color: var(--color-bg-alt);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Interactive Visual Graphic */
.laser-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.laser-badge-interactive {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.laser-core {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--color-accent) 0%, var(--color-brand) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(181, 147, 87, 0.4);
}

.laser-power-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-text-light);
  letter-spacing: 1.5px;
}

.laser-tech-title {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-top: 2px;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  animation: pulse-animation 2.5s infinite ease-out;
  z-index: 1;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.laser-card-info {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--radius-md);
  width: 100%;
}

.laser-card-info h3 {
  font-family: var(--font-headers);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.laser-card-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.laser-card-info li {
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.laser-card-info li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   10. CLINIC LOCATIONS / ONDE ATENDO
   -------------------------------------------------------------------------- */
.locations-section {
  padding: 100px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.location-card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(75, 128, 87, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(75, 128, 87, 0.15);
}

.location-banner {
  background-color: var(--color-brand);
  padding: 24px 32px;
  color: var(--color-text-light);
}

.location-card:nth-child(2) .location-banner {
  background-color: var(--color-brand-dark);
}

.location-card:nth-child(3) .location-banner {
  background-color: hsl(38, 25%, 35%);
}

.location-banner h3 {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.location-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 6px;
}

.location-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

.loc-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.location-desc-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 12px 0 24px 0;
  line-height: 1.6;
  flex-grow: 1;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Insurance/Convenios Section */
.insurance-wrapper {
  background-color: var(--color-bg-alt);
  padding: 48px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px dashed rgba(75, 128, 87, 0.2);
}

.insurance-wrapper h3 {
  font-family: var(--font-headers);
  font-size: 1.25rem;
  color: var(--color-brand-dark);
  margin-bottom: 24px;
}

.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.insurance-badge {
  background-color: var(--color-bg-light);
  color: var(--color-brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.insurance-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   11. FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
}

.faq-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-lead-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 20px 0 32px 0;
}

.faq-cta-box {
  background-color: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-cta-box h4 {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  color: var(--color-brand-dark);
  margin-bottom: 8px;
}

.faq-cta-box p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Accordion Styling */
.faq-accordion-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.faq-item:hover {
  border-color: rgba(75, 128, 87, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  transition: var(--transition-fast);
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

/* Accordion Toggle animation */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(75, 128, 87, 0.05);
}

/* --------------------------------------------------------------------------
   12. FOOTER SECTION
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--color-brand-dark);
  color: var(--color-text-light);
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

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

.footer-logo-row h3 {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--color-brand-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-crm {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-bg-alt);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--color-bg-alt);
}

.social-links {
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

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

.medical-disclaimer {
  font-size: 0.75rem;
  color: var(--color-bg-alt);
  max-width: 900px;
  line-height: 1.5;
}

.copyright-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   13. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 99;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  background-color: #128c7e;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVIDADE E ADAPTAÇÃO MOBILE
   -------------------------------------------------------------------------- */

/* Telas Grandes (Desktops e Notebooks de Alta Resolução) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Notebooks e Desktops menores (Laptops) */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-container {
    gap: 40px;
  }
  
  .laser-container {
    gap: 40px;
  }
  
  .faq-container {
    gap: 40px;
  }
}

/* Tablets e iPads */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .desktop-nav, .header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 20px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-highlights {
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-column {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  
  .laser-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .laser-visual {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-logo-row {
    justify-content: center;
  }
  
  .footer-contact {
    align-items: center;
  }
}

/* Smartphnes (Mobile e Telas Pequenas) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .insurance-wrapper {
    padding: 32px 20px;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 20px;
  }
  
  .faq-answer-inner {
    padding: 0 20px 20px 20px;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* --------------------------------------------------------------------------
   AJUSTES 2026: textos justificados, foto na seção laser, sage accents
   -------------------------------------------------------------------------- */
.about-text p,
.laser-intro,
.specialty-content > p {
  text-align: justify;
  text-justify: inter-word;
}

.laser-doctor-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center top;
  background-color: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

/* Hero de sub-página em retrato (foto vertical mostrada por inteiro) */
.subpage-hero-img.hero-portrait {
  aspect-ratio: 3 / 4;
  background-color: var(--color-brand-light);
}
.subpage-hero-img.hero-portrait img {
  object-fit: contain;
  object-position: center;
}

/* Acento sage exato da marca em ícones e tags */
.specialty-tag-top,
.hero-tagline,
.section-subtitle {
  color: var(--color-brand);
}

/* Chamada de Instagram na biografia */
.about-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--color-brand-light);
  color: var(--color-brand-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.about-instagram:hover {
  background-color: var(--color-sage);
  color: #fff;
  transform: translateY(-2px);
}
.about-instagram svg { flex-shrink: 0; }

/* Slots de imagem (IA) nos cards de especialidade */
.specialty-img-placeholder { position: relative; overflow: hidden; }
.specialty-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.specialty-tag-top { z-index: 2; }
.specialty-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--color-brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.specialty-link:hover { color: var(--color-brand-dark); }
.specialty-link span { transition: var(--transition-fast); display: inline-block; }
.specialty-link:hover span { transform: translateX(4px); }

/* ==========================================================================
   SUB-PÁGINAS (Colonoscopia, Cirurgia a Laser, Blog)
   ========================================================================== */
.subpage-hero {
  margin-top: var(--header-height);
  background-color: var(--color-brand-light);
  position: relative;
  overflow: hidden;
}
.subpage-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.subpage-hero-text .section-subtitle { color: var(--color-brand); }
.subpage-hero-text h1 {
  font-family: var(--font-headers);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--color-brand-dark);
  margin: 0.5rem 0 1rem;
}
.subpage-hero-text p { font-size: 1.1rem; color: var(--color-text-muted); max-width: 60ch; }
.subpage-hero-actions { margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.subpage-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16 / 10;
  background-color: var(--color-sage);
}
.subpage-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-brand); font-weight: 600; }

.content-section { padding: 4rem 0; }
.content-narrow { max-width: 820px; margin: 0 auto; }
.article-prose h2 {
  font-family: var(--font-headers);
  font-size: 1.6rem;
  color: var(--color-brand-dark);
  margin: 2.5rem 0 1rem;
}
.article-prose h3 {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin: 1.75rem 0 0.75rem;
}
.article-prose p,
.article-prose li { text-align: justify; line-height: 1.8; color: var(--color-text-main); margin-bottom: 1rem; }
.article-prose ul { margin: 0 0 1.5rem 1.25rem; }
.article-prose ul li { list-style: disc; text-align: left; margin-bottom: 0.5rem; }
.article-prose strong { color: var(--color-brand-dark); }

.callout-box {
  background-color: var(--color-brand-light);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.callout-box h3 { margin-top: 0; color: var(--color-brand-dark); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.info-grid .info-card {
  background: #fff;
  border: 1px solid var(--color-brand-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.info-grid .info-card h3 { margin: 0 0 0.5rem; color: var(--color-brand-dark); font-size: 1.05rem; }
.info-grid .info-card p { font-size: 0.95rem; color: var(--color-text-muted); }

.page-cta {
  text-align: center;
  background-color: var(--color-brand-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin: 3rem 0 0;
}
.page-cta h2 { color: #fff; font-family: var(--font-headers); font-size: 1.8rem; margin-bottom: 0.75rem; }
.page-cta p { color: rgba(255,255,255,0.85); max-width: 55ch; margin: 0 auto 1.5rem; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16 / 9; background-color: var(--color-brand-light); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-family: var(--font-headers); color: var(--color-brand-dark); font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.95rem; color: var(--color-text-muted); flex-grow: 1; }
.blog-card-body .specialty-link { margin-top: 1rem; }

/* Avaliações Google */
.reviews-section { padding: 4rem 0; background-color: var(--color-bg-alt); }
.reviews-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
  max-width: 980px;
  margin: 0 auto;
}
.reviews-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.reviews-score { display: flex; flex-direction: column; line-height: 1.1; }
.reviews-num { font-family: var(--font-headers); font-size: 2.6rem; font-weight: 700; color: var(--color-text-main); }
.reviews-stars { color: #FBBC05; font-size: 1.3rem; letter-spacing: 2px; }
.reviews-label { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 600; }
.reviews-text { flex: 1 1 360px; }
.reviews-text .section-title { margin: 0.3rem 0 0.75rem; }
.reviews-text p { color: var(--color-text-muted); margin-bottom: 1.5rem; max-width: 52ch; }
@media (max-width: 640px) {
  .reviews-inner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; gap: 1.5rem; }
  .reviews-text p { margin-left: auto; margin-right: auto; }
}

/* Carrossel de avaliações (rolagem lateral) */
.reviews-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1.75rem 0.25rem 1.5rem;
  margin-top: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-sage) transparent;
}
.reviews-carousel::-webkit-scrollbar { height: 8px; }
.reviews-carousel::-webkit-scrollbar-thumb { background: var(--color-sage); border-radius: 10px; }
.reviews-carousel::-webkit-scrollbar-track { background: transparent; }
.review-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-brand-light);
  display: flex;
  flex-direction: column;
}
.review-stars { color: #FBBC05; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-text { color: var(--color-text-main); font-style: italic; line-height: 1.7; flex-grow: 1; margin-bottom: 1.25rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-headers);
  flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.3; }
.review-meta strong { color: var(--color-text-main); font-size: 0.95rem; }
.review-meta span { font-size: 0.8rem; color: var(--color-text-muted); }
@media (max-width: 640px) { .review-card { flex-basis: 80%; } }

@media (max-width: 768px) {
  .subpage-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .article-prose p, .article-prose li { text-align: left; }
}

@media (max-width: 768px) {
  .about-text p,
  .laser-intro,
  .specialty-content > p {
    text-align: left;
  }
}
