/* =========================================
   CLÍNICA ANA GONÇALVES — STYLES
   Paleta: Dourado #C9A96E + Branco — fiel ao logotipo
   ========================================= */

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

:root {
  /* BRAND GOLD — retirado do logotipo */
  --gold:         #C9A96E;
  --gold-dark:    #A8884A;
  --gold-deeper:  #8A6E38;
  --gold-mid:     #B89558;
  --gold-light:   #E8D5A8;
  --gold-pale:    #F5EDD8;
  --gold-ultra:   #FAF6EE;

  /* NEUTRALS */
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --cream:        #F7F3EC;
  --charcoal:     #1C1C1C;
  --gray-dark:    #3D3D3D;
  --gray-mid:     #6B6B6B;
  --gray-light:   #B8B8B0;
  --border:       #E8E2D6;
  --border-gold:  rgba(201,169,110,.25);

  /* SHADOWS */
  --shadow-sm:    0 2px 12px rgba(168,136,74,.08);
  --shadow-md:    0 8px 32px rgba(168,136,74,.14);
  --shadow-lg:    0 20px 60px rgba(168,136,74,.18);

  /* SHAPE */
  --radius:       16px;
  --radius-pill:  999px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);

  /* FONTS */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }

/* --- TYPOGRAPHY --- */
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}
h3 { font-family: var(--font-serif); font-weight: 600; }

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
}
.tag-light  { color: rgba(255,255,255,.65); }
.text-white { color: var(--white) !important; }
.text-muted { color: rgba(255,255,255,.72); line-height: 1.75; }

.section-divider {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px 0 28px;
}
.divider-center { margin-left: auto; margin-right: auto; }

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-sub { color: var(--gray-mid); margin-top: 16px; font-size: 1rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,169,110,.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,136,74,.45);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* =========================================
   LOADING SCREEN — EEG Brainwave
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.done      { display: none; }

/* --- ANÉIS DE PULSO (sonar / ondas) --- */
.loader-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: ring-expand 3.2s ease-out infinite;
  animation-delay: calc(var(--ri) * .8s);
}
@keyframes ring-expand {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: .7; }
  100% { transform: translate(-50%,-50%) scale(7);   opacity: 0; }
}

/* --- INNER WRAPPER --- */
.loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding: 24px;
}

/* --- ONDA CEREBRAL EEG --- */
.brainwave-wrap {
  width: min(420px, 88vw);
  position: relative;
}
.brainwave-svg {
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.35));
}

/* Linha que se desenha da esquerda para a direita */
.brainwave-path {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: draw-eeg 1.6s cubic-bezier(.4,0,.2,1) .2s forwards;
}
@keyframes draw-eeg {
  to { stroke-dashoffset: 0; }
}

/* Ponto brilhante que corre sobre a linha */
.brainwave-dot {
  opacity: 0;
  filter: drop-shadow(0 0 6px white);
  animation: dot-run 1.6s cubic-bezier(.4,0,.2,1) .2s forwards;
}
@keyframes dot-run {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { opacity: 0; }
}

/* --- NOME E ESPECIALIDADES --- */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  opacity: 0;
  animation: brand-in .6s ease 1.5s forwards;
}
@keyframes brand-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Especialidades — cada uma entra individualmente */
.loader-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.loader-spec, .loader-sep {
  opacity: 0;
  animation: spec-in .35s ease forwards;
  animation-delay: calc(1.8s + var(--sd));
}
.loader-spec { color: rgba(255,255,255,.95); }
.loader-sep  { color: rgba(255,255,255,.4);  font-size: .6rem; }
@keyframes spec-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  /* Transparent on hero (gold-pale bg) */
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 13px 0;
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: color var(--transition);
}
.logo-orbital {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(201,169,110,.3);
}
.logo-orbital svg { width: 30px; height: 30px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.2rem; font-weight: 700; color: var(--charcoal); }
.logo-text span { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-mid); }

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--gray-dark);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(201,169,110,.3);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(168,136,74,.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--gold-ultra);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
  position: relative;
}
/* Subtle gold pattern in bg */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(201,169,110,.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}

/* LEFT */
.hero-left { padding-right: 20px; }
.hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 20px;
}
.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
}
.hero-divider {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 22px 0;
}
.hero-sub {
  color: var(--gray-mid);
  font-size: .97rem;
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* CENTER — photo */
.hero-center { display: flex; justify-content: center; }
.hero-photo-wrap {
  width: 300px;
  height: 420px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--gold-pale);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(201,169,110,.15);
  flex-shrink: 0;
}
.hero-photo { width: 100%; height: 100%; object-position: top center; }

/* RIGHT — stats */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-left: 24px;
  border-left: 1px solid var(--border-gold);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* =========================================
   PARTNERS BAR
   ========================================= */
.partners-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.partners-bar .container {
  display: flex;
  align-items: center;
  gap: 48px;
}
.partners-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.partners-list {
  display: flex;
  gap: 48px;
  align-items: center;
  flex: 1;
  justify-content: space-between;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.partner-item:hover { color: var(--gold-dark); }
.partner-item svg { color: var(--gold-light); }

/* =========================================
   SOBRE
   ========================================= */
.sobre { background: var(--white); }
.sobre-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-text h2 { margin-bottom: 0; }
.sobre-text > p { color: var(--gray-mid); margin-bottom: 32px; }

.sobre-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sobre-col {
  padding: 20px;
  background: var(--gold-ultra);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.sobre-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.sobre-col p { font-size: .875rem; color: var(--gray-mid); line-height: 1.65; }

.sobre-images {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 480px;
}
.sobre-img-pill { border-radius: var(--radius-pill); overflow: hidden; flex-shrink: 0; }
.pill-tall { width: 48%; height: 100%; }
.sobre-img-col { flex: 1; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.pill-short { height: calc(50% - 8px); border-radius: var(--radius-pill); overflow: hidden; }
.sobre-img-pill img, .pill-short img { width: 100%; height: 100%; }

/* =========================================
   SERVIÇOS — fundo dourado escuro
   ========================================= */
.servicos-dark { background: var(--gold-deeper); }
.servicos-dark .section-tag  { color: rgba(255,255,255,.55); }
.servicos-dark h2             { color: var(--white); }
.servicos-dark .section-divider { background: rgba(255,255,255,.3); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--gold-dark); }
.service-card h3 { font-size: 1.05rem; color: var(--charcoal); margin-bottom: 10px; }
.service-card p { font-size: .875rem; color: var(--gray-mid); line-height: 1.65; flex: 1; margin-bottom: 24px; }
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 10px 18px;
  background: var(--gold-pale);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  transition: var(--transition);
}
.btn-service:hover { background: var(--gold); color: var(--white); }

/* =========================================
   POR QUE ESCOLHER
   ========================================= */
.porque { background: var(--cream); }
.porque-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.porque-image { position: relative; }
.porque-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.porque-img-wrap img { width: 100%; height: 100%; }
.porque-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.porque-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}
.porque-badge span { font-size: .75rem; opacity: .85; }

.porque-text h2 { margin-bottom: 0; }
.porque-items { display: flex; flex-direction: column; gap: 20px; }
.porque-item { display: flex; gap: 16px; align-items: flex-start; }
.check-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.porque-item h4 { font-size: .97rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.porque-item p { font-size: .87rem; color: var(--gray-mid); line-height: 1.6; }

/* =========================================
   EQUIPE
   ========================================= */
.equipe-light { background: var(--gold-ultra); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--gold-light);
}
.team-photo-wrap img { width: 100%; height: 100%; }
.team-card h3 { font-size: 1rem; color: var(--charcoal); margin-bottom: 4px; }
.team-role { font-size: .72rem; font-weight: 600; color: var(--gold-mid); letter-spacing: .04em; margin-bottom: 10px; }
.team-card > p { font-size: .83rem; color: var(--gray-mid); line-height: 1.6; margin-bottom: 16px; }
.team-social { display: flex; gap: 8px; justify-content: center; }
.team-social a {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  transition: var(--transition);
}
.team-social a:hover { background: var(--gold); color: var(--white); }

/* =========================================
   DEPOIMENTOS — sticky stack layout
   ========================================= */
.depoimentos { background: var(--white); }

/* Two-column grid */
.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* LEFT — sticky */
.testi-left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Tag badge */
.testi-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-mid);
  background: var(--off-white);
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.2); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.1); }
}

.testi-left h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.15; margin-bottom: 0; }
.testi-desc { color: var(--gray-mid); font-size: .97rem; line-height: 1.75; }

/* Stats grid 3 cols */
.testi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.testi-stat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.testi-stat-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.testi-stat-card span { font-size: .72rem; color: var(--gray-mid); line-height: 1.4; }

/* CTAs */
.testi-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold-dark);
  border: 1.5px solid var(--border-gold);
  transition: var(--transition);
  background: transparent;
}
.btn-ghost-gold:hover {
  background: var(--gold-ultra);
  border-color: var(--gold);
}

/* RIGHT — stacking cards container */
.testi-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Height = enough for all cards to stack and scroll */
  padding-bottom: 40px;
}

/* Individual sticky card */
.testi-card {
  position: sticky;
  top: calc(88px + var(--i) * 28px);   /* stagger: each card peeks 28px below the previous */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  margin-bottom: 16px;
  /* Scale down slightly as they stack to show depth */
  transform: scale(calc(1 - var(--i) * 0.008));
  transform-origin: top center;
  transition: box-shadow var(--transition);
}
.testi-card:hover { box-shadow: 0 8px 40px rgba(168,136,74,.15); }

/* Card top: avatar + name */
.testi-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testi-avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid var(--gold-light);
}
.testi-author strong { display: block; font-size: 1rem; font-weight: 600; color: var(--charcoal); }
.testi-author span   { font-size: .8rem; color: var(--gray-mid); }

/* Rating row */
.testi-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.testi-rating-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.testi-stars {
  display: flex;
  gap: 2px;
}
.testi-stars svg {
  width: 16px; height: 16px;
  color: #facc15;  /* yellow-400 */
}

/* Service tag badge inside card */
.testi-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-dark);
  background: var(--gold-ultra);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 12px;
}

/* Quote */
.testi-quote {
  font-size: .93rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin: 0;
}

/* =========================================
   RESPONSIVE — depoimentos
   ========================================= */
@media (max-width: 900px) {
  .testi-layout { grid-template-columns: 1fr; gap: 48px; }
  .testi-left   { position: static; }
  .testi-card   { position: relative; top: auto !important; transform: none !important; margin-bottom: 16px; }
  .testi-right  { padding-bottom: 0; }
}

/* =========================================
   AGENDAMENTO — fundo dourado escuro
   ========================================= */
.agendamento { background: var(--gold-deeper); }
.agendar-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.agendar-info .section-divider { background: rgba(255,255,255,.25); }
.agendar-info h2 { margin-bottom: 0; }
.agendar-info > p { margin-bottom: 36px; }

.agendar-lista { display: flex; flex-direction: column; gap: 12px; }
.agendar-lista li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  padding: 14px 18px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  border-left: 2px solid var(--gold-light);
}
.lista-icon { color: var(--gold-light); font-size: .8rem; flex-shrink: 0; }

.agendar-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.agendar-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
textarea { resize: vertical; min-height: 96px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-success {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--gold-ultra);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  color: var(--gold-deeper);
  font-size: .88rem;
  text-align: center;
}

/* =========================================
   CONTATO
   ========================================= */
.contato { background: var(--cream); }
.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contato-info h2 { margin-bottom: 0; }
.contato-items { display: flex; flex-direction: column; gap: 24px; margin-top: 4px; }
.contato-item { display: flex; gap: 16px; align-items: flex-start; }
.contato-icon {
  font-size: 1.2rem;
  width: 46px; height: 46px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-item strong { display: block; font-size: .78rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 4px; letter-spacing: .05em; text-transform: uppercase; }
.contato-item p { font-size: .9rem; color: var(--gray-mid); line-height: 1.6; margin: 0; }

.mapa-placeholder {
  background: var(--gold-ultra);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--gold-light);
}
.mapa-inner { text-align: center; color: var(--gray-mid); }
.mapa-inner span { font-size: 3rem; display: block; margin-bottom: 12px; }
.mapa-inner p { font-weight: 600; color: var(--gold-dark); margin-bottom: 4px; }
.mapa-inner small { font-size: .82rem; }

/* =========================================
   LEGAL STRIP (links para páginas legais)
   ========================================= */
.legal-strip {
  background: var(--gold-pale);
  padding: 40px 0;
  border-top: 1px solid var(--border-gold);
}
.legal-strip .container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.legal-strip-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.legal-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gold-dark);
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  background: var(--white);
}
.legal-link:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  color: rgba(255,255,255,.85);
  padding: 16px 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: .84rem;
  line-height: 1.5;
  transform: translateY(0);
  transition: transform .4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-banner p { flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.cookie-accept { background: var(--gold); color: var(--white); }
.cookie-accept:hover { background: var(--gold-dark); }
.cookie-decline { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.cookie-decline:hover { background: rgba(255,255,255,.18); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--charcoal); padding: 60px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.footer .logo-text strong { color: var(--white); }
.footer .logo-text span   { color: var(--gold-light); }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.4); margin-top: 12px; max-width: 220px; line-height: 1.6; }
.footer-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 6px;
  font-size: .7rem;
  color: var(--gold-light);
  letter-spacing: .06em;
}

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav h4 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.footer-nav a { font-size: .86rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact h4 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer-contact p { font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--white); }
.social-btn.whatsapp { background: #25d366; color: var(--white); }
.social-btn.whatsapp:hover { background: #1eba58; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: .76rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold-light); }

/* =========================================
   WHATSAPP FLOAT & BACK TO TOP
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 80px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 900;
  transition: var(--transition);
  color: var(--white);
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.1); }

.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--gold-dark); }

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-left   { padding-right: 0; }
  .hero-sub    { margin-left: auto; margin-right: auto; }
  .hero-center { order: -1; }
  .hero-photo-wrap { width: 240px; height: 340px; }
  .hero-right {
    flex-direction: row;
    justify-content: center;
    border-left: none;
    border-top: 1px solid var(--border-gold);
    padding-left: 0;
    padding-top: 28px;
    gap: 48px;
  }
  .hero-stat { text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .sobre-layout  { grid-template-columns: 1fr; gap: 48px; }
  .porque-layout { grid-template-columns: 1fr; gap: 48px; }
  .porque-badge  { right: 16px; bottom: 16px; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--charcoal) !important; }
  .nav-links .nav-cta { padding: 12px 36px; }
  .hamburger { display: flex; }

  .partners-bar .container { flex-direction: column; gap: 16px; }
  .partners-list { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .sobre-images    { height: 280px; }
  .services-grid   { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .agendar-layout  { grid-template-columns: 1fr; gap: 40px; }
  .agendar-form    { padding: 28px 20px; }
  .form-row        { grid-template-columns: 1fr; }
  .contato-layout  { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .footer-legal    { justify-content: center; }
  .legal-strip .container { flex-direction: column; gap: 16px; }

  .cookie-banner   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .team-grid  { grid-template-columns: 1fr; }
  .hero-right { flex-direction: column; gap: 20px; }
  .sobre-cols { grid-template-columns: 1fr; }
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-hero {
  background: var(--gold-ultra);
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--border);
}
.legal-breadcrumb {
  font-size: .78rem;
  color: var(--gray-light);
  margin-bottom: 16px;
}
.legal-breadcrumb a { color: var(--gold-dark); }
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.legal-hero p { color: var(--gray-mid); font-size: .95rem; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--gold-pale);
  border-radius: var(--radius-pill);
  font-size: .76rem;
  color: var(--gold-dark);
  font-weight: 600;
  border: 1px solid var(--border-gold);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}

.legal-toc {
  position: sticky;
  top: 90px;
}
.legal-toc h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 14px;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 4px; }
.legal-toc a {
  font-size: .83rem;
  color: var(--gray-mid);
  padding: 6px 12px;
  border-radius: 8px;
  display: block;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.legal-toc a:hover,
.legal-toc a.active {
  color: var(--gold-dark);
  background: var(--gold-ultra);
  border-left-color: var(--gold);
}

.legal-content section {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.legal-content section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-dark);
  margin: 24px 0 10px;
}
.legal-content p { color: var(--gray-dark); margin-bottom: 14px; line-height: 1.75; font-size: .93rem; }
.legal-content ul, .legal-content ol { margin: 12px 0 16px 20px; }
.legal-content li { color: var(--gray-dark); font-size: .93rem; line-height: 1.7; margin-bottom: 8px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-highlight {
  background: var(--gold-ultra);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.legal-highlight p { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem; }
.legal-table th { background: var(--gold-pale); color: var(--charcoal); font-weight: 600; padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--gold-light); }
.legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--gray-dark); vertical-align: top; }
.legal-table tr:hover td { background: var(--gold-ultra); }

.rights-card {
  background: var(--gold-ultra);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rights-number {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.rights-card h4 { font-weight: 600; color: var(--charcoal); margin-bottom: 4px; font-size: .95rem; }
.rights-card p  { color: var(--gray-mid); font-size: .87rem; line-height: 1.6; margin: 0; }

.duty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.duty-card h4 { font-weight: 600; color: var(--charcoal); margin-bottom: 4px; font-size: .95rem; }
.duty-card p  { color: var(--gray-mid); font-size: .87rem; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc    { display: none; }
}

@media print {
  .navbar, .footer, .whatsapp-float, .back-top, .cookie-banner, .legal-toc { display: none !important; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-hero { padding: 20px 0; }
  body { font-size: 12pt; }
}
