/* ===================================================================
 * CLÍNICA GOIANA LP — frontend.css
 * Adaptado de _referencia.html (protótipo aprovado pelo cliente).
 * Todas as classes do plugin são prefixadas com .cg- pra evitar
 * conflitos com o tema do WordPress que estiver ativo.
 * Crafted by ArtWeb Studio.
 * ================================================================ */
:root {
  --copper-900: #4A2F1F;
  --copper-800: #5C3D26;
  --copper-700: #7A5235;
  --copper-600: #8B5A3C;
  --copper-500: #A67651;
  --copper-400: #B98F6E;
  --copper-300: #D4A373;
  --copper-200: #E5C4A1;
  --copper-100: #F2E0CC;
  --copper-50:  #FAF4ED;

  --peach-500: #E5AB8A;
  --peach-400: #EFC4AB;
  --peach-200: #F8DDCB;
  --peach-100: #FCEDE2;

  --sage-500: #8FA68F;
  --sage-300: #B8C9B8;
  --sage-100: #DFE7DF;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --warm-900: #2A211C;
  --warm-800: #3D332C;
  --warm-700: #5C4F45;
  --warm-600: #7A6B5F;
  --warm-500: #98897C;
  --warm-300: #D4C9BB;
  --warm-200: #E8DFD3;
  --warm-100: #F4EDE3;
  --warm-50:  #FAF6F0;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --shadow-xs: 0 1px 2px rgba(74, 47, 31, 0.04);
  --shadow-sm: 0 1px 3px rgba(74, 47, 31, 0.05);
  --shadow-md: 0 4px 8px rgba(74, 47, 31, 0.05);
  --shadow-lg: 0 8px 16px rgba(74, 47, 31, 0.06);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--warm-800);
  background: var(--warm-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
img, svg { max-width: 100%; }

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

/* ============================================
   HEADER
   ============================================ */
.cg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-200);
  transition: padding 0.3s var(--ease);
}
.cg-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.cg-header-logo { height: 52px; }
.cg-header-logo img { height: 100%; width: auto; }
.cg-header-nav { display: flex; gap: 32px; align-items: center; }
.cg-header-nav a {
  color: var(--warm-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
  position: relative;
}
.cg-header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--copper-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.cg-header-nav a:hover { color: var(--copper-700); }
.cg-header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.cg-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.25s var(--ease);
}
.cg-header-cta:hover { background: var(--whatsapp-dark); }
.cg-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--copper-700);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.2s var(--ease);
}
.cg-menu-toggle:hover { background: rgba(122, 82, 53, 0.08); }

/* ============================================
   DRAWER MOBILE
   ============================================ */
.cg-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.32s;
}
.cg-drawer.cg-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.cg-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.55);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cg-drawer.cg-open .cg-drawer-backdrop { opacity: 1; }
.cg-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: var(--warm-50);
  display: flex;
  flex-direction: column;
  padding: 20px 22px 28px;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
  box-shadow: -16px 0 40px rgba(74, 47, 31, 0.12);
}
.cg-drawer.cg-open .cg-drawer-panel { transform: translateX(0); }
.cg-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--warm-200);
}
.cg-drawer-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.cg-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-100);
  color: var(--warm-700);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.cg-drawer-close:hover { background: var(--warm-200); }
.cg-drawer-close:active { transform: scale(0.94); }
.cg-drawer-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4px 0;
}
.cg-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--warm-800);
  text-decoration: none;
  border-bottom: 1px solid var(--warm-200);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}
.cg-drawer-nav a::after {
  content: '→';
  font-family: var(--font-body);
  color: var(--copper-400);
  font-weight: 400;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.cg-drawer-nav a:hover {
  color: var(--copper-700);
  padding-left: 8px;
}
.cg-drawer-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.cg-drawer.cg-open .cg-drawer-nav a {
  opacity: 1;
  transform: translateX(0);
}
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(1) { transition-delay: 0.10s, 0.10s, 0s, 0s; }
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(2) { transition-delay: 0.14s, 0.14s, 0s, 0s; }
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(3) { transition-delay: 0.18s, 0.18s, 0s, 0s; }
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(4) { transition-delay: 0.22s, 0.22s, 0s, 0s; }
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(5) { transition-delay: 0.26s, 0.26s, 0s, 0s; }
.cg-drawer.cg-open .cg-drawer-nav a:nth-child(6) { transition-delay: 0.30s, 0.30s, 0s, 0s; }
.cg-drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 12px;
  background: var(--whatsapp);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition:
    background 0.2s var(--ease),
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.cg-drawer-cta:hover {
  background: var(--whatsapp-dark);
}
.cg-drawer.cg-open .cg-drawer-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}
html.cg-drawer-open,
body.cg-drawer-open { overflow: hidden; overscroll-behavior: none; touch-action: none; }

@media (min-width: 901px) {
  .cg-drawer { display: none; }
}

/* ============================================
   BOTÕES (compartilhados)
   ============================================ */
.cg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  color: white;
}
.cg-btn-whatsapp { background: var(--whatsapp); color: white; }
.cg-btn-whatsapp:hover { background: var(--whatsapp-dark); }

.cg-btn-outline {
  background: transparent;
  color: var(--copper-700);
  border: 1px solid var(--copper-300);
}
.cg-btn-outline:hover { border-color: var(--copper-700); background: var(--copper-50); }

.cg-btn-primary { background: var(--copper-700); color: white; }
.cg-btn-primary:hover { background: var(--copper-800); }

.cg-btn-arrow { transition: transform 0.25s var(--ease); display: inline-block; }
.cg-btn:hover .cg-btn-arrow { transform: translateX(4px); }

.cg-btn-lg { padding: 16px 32px; font-size: 1rem; }
.cg-btn-xl { padding: 18px 36px; font-size: 1.0625rem; }

/* Reset defensivo para links que não são botões */
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* ============================================
   HERO CINEMATIC — fullscreen + Ken Burns + stats
   ============================================ */
.cg-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  max-height: 900px;
  overflow: hidden;
  background: var(--copper-900);
}

.cg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cg-hero-bg .cg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s var(--ease);
}
.cg-hero-bg .cg-slide.cg-active { opacity: 1; }

.cg-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(95deg,
      rgba(74, 47, 31, 0.85) 0%,
      rgba(122, 82, 53, 0.6) 35%,
      rgba(122, 82, 53, 0.3) 65%,
      rgba(74, 47, 31, 0.45) 100%);
}
.cg-hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 47, 31, 0.2) 0%, transparent 30%, transparent 70%, rgba(74, 47, 31, 0.4) 100%);
}
.cg-hero-overlay::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.25), transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  animation: blob-float-hero 20s ease-in-out infinite;
}
@keyframes blob-float-hero {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.cg-hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.cg-hero-inner-content {
  max-width: 640px;
  padding-top: 80px;
}

.cg-hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--copper-200);
  margin-bottom: 20px;
  letter-spacing: 0.005em;
  display: block;
  animation: fadeUp 0.8s var(--ease-out) backwards;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.cg-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.cg-hero-title .cg-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-reveal 0.55s var(--ease-out) forwards;
}
.cg-hero-title em {
  font-style: normal;
  color: inherit;
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
@keyframes word-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.cg-hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  max-width: 540px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  animation: fadeUp 0.7s var(--ease-out) 1s backwards;
}

.cg-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.7s var(--ease-out) 1.1s backwards;
}

.cg-btn-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.cg-btn-glass:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.cg-hero-whatsapp-shadow {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}
.cg-hero-whatsapp-shadow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

.cg-hero-stats {
  display: flex;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  animation: fadeUp 0.7s var(--ease-out) 1.2s backwards;
}
.cg-hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--copper-300);
  line-height: 1;
  margin-bottom: 6px;
}
.cg-hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

.cg-slide-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.cg-slide-dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.cg-slide-dot.cg-active {
  background: var(--copper-300);
  width: 40px;
}

/* Header acima do hero — transparente */
.cg-header.cg-hero-header-mode {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.cg-header.cg-hero-header-mode .cg-header-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.cg-header.cg-hero-header-mode .cg-header-nav a {
  color: rgba(255,255,255,0.85);
}
.cg-header.cg-hero-header-mode .cg-header-nav a:hover { color: white; }
.cg-header.cg-hero-header-mode .cg-menu-toggle { color: white; }

/* Quando rola, header vira solido */
.cg-header.cg-hero-header-mode.cg-scrolled {
  position: fixed;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-200);
}
.cg-header.cg-hero-header-mode.cg-scrolled .cg-header-logo img {
  filter: none;
  opacity: 1;
}
.cg-header.cg-hero-header-mode.cg-scrolled .cg-header-nav a { color: var(--warm-700); }
.cg-header.cg-hero-header-mode.cg-scrolled .cg-header-nav a:hover { color: var(--copper-700); }
.cg-header.cg-hero-header-mode.cg-scrolled .cg-menu-toggle { color: var(--copper-700); }

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

/* ============================================
   DIVISORES SUAVES ENTRE SEÇÕES
   ============================================ */
.cg-section-transition {
  position: relative;
  height: 80px;
  margin-top: -80px;
  pointer-events: none;
  z-index: 1;
}
.cg-section-transition::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--warm-50));
}

.cg-section-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: 12px;
}
.cg-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--copper-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cg-section-text {
  color: var(--warm-700);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 540px;
}

/* ============================================
   EXAMES
   ============================================ */
.cg-exams {
  padding: 96px 0;
  background: var(--warm-100);
  position: relative;
}
.cg-exams::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-300), transparent);
}
.cg-section-header-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.cg-section-header-center .cg-section-title { margin-bottom: 16px; }
.cg-section-header-center .cg-section-text { margin: 0 auto; }

.cg-exams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cg-exam-card {
  background: white;
  border: 1px solid var(--warm-200);
  border-radius: 16px;
  padding: 36px 32px 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cg-exam-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--copper-600), var(--copper-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cg-exam-card:hover { transform: translateY(-6px); border-color: var(--copper-300); box-shadow: var(--shadow-md); }
.cg-exam-card:hover::before { transform: scaleX(1); }

.cg-exam-tag {
  display: inline-block; align-self: flex-start;
  background: var(--peach-100);
  color: var(--copper-800);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cg-exam-icon-wrap {
  width: 56px; height: 56px;
  background: var(--copper-50);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--copper-700);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.cg-exam-card:hover .cg-exam-icon-wrap {
  background: var(--copper-700);
  color: white;
  transform: rotate(-4deg) scale(1.04);
}

.cg-exam-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--copper-900);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.cg-exam-card p {
  font-size: 0.9375rem;
  color: var(--warm-700);
  margin-bottom: 24px;
  line-height: 1.6;
  flex: 1;
}
.cg-exam-card .cg-btn { width: 100%; justify-content: center; }

/* ============================================
   DIFERENCIAIS
   ============================================ */
.cg-differentials {
  padding: 96px 0;
  background: var(--warm-50);
}
.cg-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--warm-200);
  border-left: 1px solid var(--warm-200);
}
.cg-diff-item {
  padding: 40px 36px;
  border-right: 1px solid var(--warm-200);
  border-bottom: 1px solid var(--warm-200);
  display: flex;
  gap: 24px;
  transition: background 0.25s var(--ease);
}
.cg-diff-item:hover { background: white; }
.cg-diff-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--copper-50);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--copper-700);
  transition: transform 0.3s var(--ease);
}
.cg-diff-item:hover .cg-diff-icon { transform: scale(1.05) rotate(-3deg); }
.cg-diff-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--copper-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cg-diff-content p {
  font-size: 0.9375rem;
  color: var(--warm-700);
  line-height: 1.6;
}
.cg-diff-cta-wrap { margin-top: 56px; text-align: center; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
.cg-testimonials {
  padding: 96px 0;
  background: var(--warm-50);
}

/* Quando essa classe está presente, a seção fica oculta.
   Pra ativar, basta REMOVER a classe .cg-testimonials-hidden do HTML. */
.cg-testimonials-hidden { display: none; }

.cg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.cg-testimonial-card {
  background: white;
  border: 1px solid var(--warm-200);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.cg-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--copper-300);
  box-shadow: var(--shadow-md);
}

.cg-testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--copper-500);
  margin-bottom: 20px;
}

.cg-testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--warm-800);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.cg-testimonial-divider {
  height: 1px;
  background: var(--warm-200);
  margin-bottom: 20px;
}

.cg-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cg-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-400), var(--copper-600));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.cg-testimonial-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--copper-900);
  font-size: 0.9375rem;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}

.cg-testimonial-context {
  font-size: 0.8125rem;
  color: var(--warm-600);
}

@media (max-width: 960px) {
  .cg-testimonials { padding: 64px 0; }
  .cg-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
}

/* ============================================
   CIDADES + LOCALIZAÇÃO
   ============================================ */
.cg-location { padding: 96px 0; background: var(--copper-900); color: white; position: relative; overflow: hidden; }
.cg-location::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.1), transparent 70%);
  border-radius: 50%;
  animation: blob-float 24s ease-in-out infinite;
}
.cg-location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.cg-location .cg-section-eyebrow { color: var(--copper-300); }
.cg-location .cg-section-title { color: white; margin-bottom: 24px; }
.cg-location .cg-section-text { color: rgba(255,255,255,0.75); }

.cg-cities-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.cg-city-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
  opacity: 0;
  transform: scale(0.85) translateY(8px);
}
.cg-city-tag.cg-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.cg-city-tag:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--copper-300);
  color: white;
  transform: translateY(-2px) !important;
}

.cg-location-info {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
}
.cg-location-info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cg-location-info-row:last-child { border: none; padding-bottom: 0; }
.cg-location-info-row:first-child { padding-top: 0; }
.cg-location-info-icon {
  flex-shrink: 0;
  color: var(--copper-300);
  margin-top: 2px;
}
.cg-location-info-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 500;
}
.cg-location-info-value {
  color: white;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ============================================
   CONVÊNIOS
   ============================================ */
.cg-insurance { padding: 96px 0; background: var(--warm-50); }
.cg-insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.cg-insurance-card {
  background: white;
  border: 1px solid var(--warm-200);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s var(--ease);
}
.cg-insurance-card:hover { border-color: var(--copper-300); box-shadow: var(--shadow-md); }
.cg-insurance-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--copper-700);
  background: var(--copper-50);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cg-insurance-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--copper-900);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.cg-insurance-card p {
  font-size: 0.9375rem;
  color: var(--warm-700);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cg-payment-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.cg-payment-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--warm-100);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--warm-800);
  font-weight: 500;
  transition: background 0.2s var(--ease);
}
.cg-payment-pill:hover { background: var(--copper-100); }
.cg-payment-pill svg { color: var(--copper-600); }

.cg-insurance-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-bottom: 24px;
}
.cg-insurance-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem;
  color: var(--warm-800);
  padding: 8px 0;
}
.cg-insurance-item svg { color: var(--copper-500); flex-shrink: 0; }

/* Grid de LOGOS dos convênios */
.cg-insurance-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 8px;
}
.cg-insurance-logo {
  background: var(--warm-50);
  border: 1px solid var(--warm-200);
  border-radius: 10px;
  padding: 14px 12px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.cg-insurance-logo:hover {
  border-color: var(--copper-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cg-insurance-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 0.2s var(--ease);
}
.cg-insurance-logo:hover img {
  filter: grayscale(0);
}
.cg-insurance-logo-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--copper-700);
  letter-spacing: -0.005em;
}
.cg-insurance-logo-text span { line-height: 1.2; text-align: center; }

.cg-insurance-cta-wrap { margin-top: 48px; text-align: center; }

/* ============================================
   FAQ
   ============================================ */
.cg-faq { padding: 96px 0; background: var(--warm-100); }
.cg-faq-list { max-width: 800px; margin: 48px auto 0; }
.cg-faq-item {
  border-bottom: 1px solid var(--warm-200);
}
.cg-faq-item:first-child { border-top: 1px solid var(--warm-200); }
.cg-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--copper-900);
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
}
.cg-faq-question:hover { color: var(--copper-700); }
.cg-faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--copper-50);
  color: var(--copper-700);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.cg-faq-item.cg-open .cg-faq-toggle {
  background: var(--copper-700);
  color: white;
  transform: rotate(45deg);
}
.cg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.cg-faq-answer-inner {
  padding: 0 0 24px;
  color: var(--warm-700);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.cg-faq-item.cg-open .cg-faq-answer { max-height: 300px; }

/* ============================================
   CTA FINAL
   ============================================ */
.cg-final-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--copper-50) 0%, var(--peach-100) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cg-final-cta::before, .cg-final-cta::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 90, 60, 0.08), transparent 70%);
}
.cg-final-cta::before { top: -200px; left: -100px; animation: blob-float 20s ease-in-out infinite; }
.cg-final-cta::after { bottom: -200px; right: -100px; animation: blob-float 24s ease-in-out infinite reverse; }

.cg-final-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cg-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--copper-900);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cg-final-cta p {
  font-size: 1.125rem;
  color: var(--warm-700);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cg-final-cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cg-final-cta-note {
  font-size: 0.8125rem;
  color: var(--warm-600);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.cg-footer {
  background: var(--warm-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
  font-size: 0.875rem;
}
.cg-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
}
.cg-footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.cg-footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  max-width: 320px;
  line-height: 1.6;
}
.cg-footer-col h4 {
  color: white;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.cg-footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.cg-footer-col a:hover { color: var(--copper-300); }
.cg-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}

/* ============================================
   FAB DESKTOP
   ============================================ */
.cg-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  z-index: 99;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.4s var(--ease);
  text-decoration: none;
}
.cg-fab:hover { transform: scale(1.06); background: var(--whatsapp-dark); }
.cg-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ripple 3s var(--ease) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   STICKY MOBILE BAR — sua sugestão
   Aparece após o hero, some no rodapé
   ============================================ */
.cg-mobile-sticky {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 99;
  background: var(--whatsapp);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.25s var(--ease);
}
.cg-mobile-sticky.cg-visible {
  opacity: 1;
  transform: translateY(0);
}
.cg-mobile-sticky:active { background: var(--whatsapp-dark); }
.cg-mobile-sticky-arrow {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.cg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cg-reveal.cg-visible { opacity: 1; transform: translateY(0); }

.cg-reveal-left { transform: translateX(-30px); }
.cg-reveal-left.cg-visible { transform: translateX(0); }
.cg-reveal-right { transform: translateX(30px); }
.cg-reveal-right.cg-visible { transform: translateX(0); }
.cg-reveal-scale { transform: scale(0.94); }
.cg-reveal-scale.cg-visible { transform: scale(1); }

.cg-reveal-delay-1 { transition-delay: 0.1s; }
.cg-reveal-delay-2 { transition-delay: 0.2s; }
.cg-reveal-delay-3 { transition-delay: 0.3s; }
.cg-reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .cg-location-inner, .cg-insurance-grid, .cg-footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* Hero cinematic adaptado — tablet */
  .cg-hero { min-height: 620px; height: auto; padding: 100px 0 60px; }
  .cg-hero-content { padding: 0 20px; }
  .cg-hero-inner-content { padding-top: 0; max-width: 100%; }
  .cg-hero-script { font-size: 1.875rem; }
  .cg-hero-stats { gap: 32px; flex-wrap: wrap; }
  .cg-hero-stat-num { font-size: 1.625rem; }
  .cg-slide-indicators { bottom: 20px; }

  .cg-exams-grid { grid-template-columns: 1fr; }
  .cg-diff-grid { grid-template-columns: 1fr; }
  .cg-insurance-list { grid-template-columns: 1fr; }
  .cg-insurance-logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cg-insurance-logo { height: 64px; padding: 10px 8px; }
  .cg-header-nav { display: none; }
  .cg-header-cta { display: none; } /* esconde CTA do header no mobile, sticky bar resolve */
  .cg-menu-toggle { display: inline-flex; }
  .cg-exams, .cg-differentials, .cg-location, .cg-insurance, .cg-faq { padding: 64px 0; }
  .cg-final-cta { padding: 80px 0; }
  .cg-footer-grid { gap: 32px; }
  /* Esconde FAB no mobile pq tem sticky bar */
  .cg-fab { display: none; }
  /* Mostra sticky bar no mobile */
  .cg-mobile-sticky { display: flex; }
}

@media (max-width: 600px) {
  .cg-container { padding: 0 16px; }

  /* Header */
  .cg-header-inner { padding: 12px 16px; }
  .cg-header-logo { height: 32px; }

  /* Hero cinematic adaptado — mobile */
  .cg-hero { min-height: 580px; padding: 90px 0 80px; }
  .cg-hero-script { font-size: 1.5rem; margin-bottom: 14px; }
  .cg-hero-title { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
  .cg-hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .cg-hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 36px; }
  .cg-hero-ctas .cg-btn { width: 100%; justify-content: center; }
  .cg-hero-stats { gap: 20px 32px; padding-top: 24px; }
  .cg-hero-stat-num { font-size: 1.5rem; }
  .cg-hero-stat-label { font-size: 0.75rem; }
  .cg-slide-indicators { padding: 8px 12px; }
  .cg-slide-dot { width: 20px; }
  .cg-slide-dot.cg-active { width: 28px; }

  /* Section spacing */
  .cg-exams, .cg-differentials, .cg-location, .cg-insurance, .cg-faq { padding: 56px 0; }
  .cg-final-cta { padding: 64px 0; }
  .cg-section-header-center { margin: 0 auto 40px; }
  .cg-section-text { font-size: 0.9375rem; }

  /* Exams */
  .cg-exams-grid { gap: 16px; }
  .cg-exam-card { padding: 28px 24px 24px; border-radius: 14px; }
  .cg-exam-card h3 { font-size: 1.25rem; }
  .cg-exam-card p { font-size: 0.875rem; margin-bottom: 20px; }

  /* Differentials */
  .cg-diff-item { padding: 28px 20px; gap: 16px; }
  .cg-diff-icon { width: 44px; height: 44px; }
  .cg-diff-content h3 { font-size: 1.125rem; }
  .cg-diff-content p { font-size: 0.875rem; }
  .cg-diff-cta-wrap { margin-top: 36px; }
  .cg-diff-cta-wrap .cg-btn { width: 100%; justify-content: center; }

  /* Location */
  .cg-location-info { padding: 20px; }
  .cg-location-info-row { padding: 14px 0; gap: 12px; }
  .cg-location-info-value { font-size: 0.875rem; }
  .cg-cities-tags { gap: 6px; margin-bottom: 32px; }
  .cg-city-tag { font-size: 0.75rem; padding: 6px 12px; }

  /* Insurance */
  .cg-insurance-grid { gap: 20px; margin-top: 32px; }
  .cg-insurance-card { padding: 28px 22px; border-radius: 14px; }
  .cg-insurance-card h3 { font-size: 1.25rem; }
  .cg-insurance-card p { font-size: 0.875rem; }
  .cg-payment-methods { gap: 8px; }
  .cg-payment-pill { padding: 9px 14px; font-size: 0.8125rem; }
  .cg-insurance-logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cg-insurance-logo { height: 60px; padding: 10px 6px; border-radius: 8px; }
  .cg-insurance-logo-text { font-size: 0.8125rem; }
  .cg-insurance-cta-wrap { margin-top: 36px; }
  .cg-insurance-cta-wrap .cg-btn { width: 100%; justify-content: center; }

  /* FAQ */
  .cg-faq-list { margin-top: 36px; }
  .cg-faq-question { font-size: 1rem; padding: 20px 0; gap: 14px; }
  .cg-faq-answer-inner { font-size: 0.875rem; padding-bottom: 20px; }
  .cg-faq-item.cg-open .cg-faq-answer { max-height: 400px; }

  /* Final CTA */
  .cg-final-cta-buttons { width: 100%; }
  .cg-final-cta-buttons .cg-btn { width: 100%; justify-content: center; }
  .cg-final-cta .cg-btn-xl { padding: 16px 24px; font-size: 1rem; }

  /* Footer */
  .cg-footer { padding: 40px 0 24px; }
  .cg-footer-grid { gap: 28px; margin-bottom: 28px; }
  .cg-footer-tagline { font-size: 0.8125rem; }
  .cg-footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Mobile sticky */
  .cg-mobile-sticky { font-size: 0.875rem; padding: 13px 18px; bottom: 12px; left: 12px; right: 12px; }
}

/* Telas muito pequenas (iPhone SE 1ª/2ª gen, etc.) */
@media (max-width: 380px) {
  .cg-hero-stat-num { font-size: 1.375rem; }
  .cg-hero-stats { gap: 16px 24px; }
  .cg-city-tag { font-size: 0.6875rem; padding: 5px 10px; }
  .cg-exam-card { padding: 24px 20px 20px; }
  .cg-diff-item { padding: 24px 16px; gap: 14px; }
  .cg-insurance-card { padding: 24px 18px; }
}

/* ============================================
   ISOLAMENTO DO TEMA WP
   - Elimina faixa clara abaixo do footer só nas páginas que têm a landing
     (escopo via :has() — não afeta outras páginas do site).
   - Reforça tamanho da logo do footer contra "img { height: auto }" de temas.
   ============================================ */
body:has(> .cg-landing),
body:has(.cg-landing) {
  background-color: var(--warm-900);
}
.cg-landing {
  background-color: var(--warm-900);
}
.cg-landing .cg-footer {
  margin-bottom: 0;
}
.cg-landing .cg-footer .cg-footer-logo {
  height: 38px;
  width: auto;
  max-width: 234px;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
@media (max-width: 600px) {
  .cg-landing .cg-footer .cg-footer-logo {
    height: 26px;
    max-width: 160px;
  }
}