/* ═══════════════════════════════════════════════
   CLÍNICA ESTÉTICA — CSS
   Tema: Claro Lima Pálido (#f4fcdc) — leve e elegante
═══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* Fundos claros — paleta #f4fcdc */
  --dark-1: #f4fcdc; /* fundo principal (lima pálido) */
  --dark-2: #f4fcdc; /* seções (unificado com body)   */
  --dark-3: #ffffff; /* cards brancos                 */
  --dark-4: #e8f4b8; /* hover / bordas leves          */

  /* Verde Oliva — cor de ação (legível sobre fundos claros) */
  --accent: #4a6820; /* botões / CTA               */
  --accent-h: #3b5518; /* hover de botão             */
  --accent-2: #5a7a25; /* ícones / destaques         */
  --accent-text: #f4fcdc; /* texto sobre botão oliva    */

  /* Texto sobre fundos CLAROS */
  --t-white: #1a2208; /* títulos principais   */
  --t-light: rgba(26, 34, 8, 0.78); /* corpo de texto       */
  --t-muted: rgba(26, 34, 8, 0.5); /* muted                */
  --t-dim: rgba(26, 34, 8, 0.3); /* dim                  */

  /* Sobre (branco puro) */
  --sobre-bg: #ffffff;
  --sobre-txt: #1e2210;
  --sobre-muted: #5a7025;

  /* Misc */
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.3s ease;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--dark-1);
  color: var(--t-light);
  line-height: 1.65;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* ════════════════════════════════════════
   BTN-CTA  (oliva escuro sobre fundo claro)
════════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  /* Shimmer precisa de overflow hidden */
  position: relative;
  overflow: hidden;
  transition:
    background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
/* Shimmer — reflexo de luz que varre o botão */
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-cta:hover::after {
  left: 150%;
}
.btn-cta:hover {
  background: var(--accent-h);
  color: var(--accent-text);
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(74, 104, 32, 0.32),
    0 4px 12px rgba(74, 104, 32, 0.16);
}
.btn-cta-sm {
  padding: 11px 22px;
  font-size: 0.82rem;
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 40px;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(244, 252, 220, 0.96);
  backdrop-filter: blur(14px);
  padding: 14px 40px;
  box-shadow: 0 2px 24px rgba(74, 104, 32, 0.12);
}

.header-inner {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--t-white);
}
.logo-icon {
  color: var(--accent-2);
  opacity: 0.9;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.logo-footer .logo-main {
  font-size: 1.25rem;
}

/* Nav em pílula */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(26, 34, 8, 0.06);
  border: 1px solid rgba(26, 34, 8, 0.1);
  border-radius: 50px;
  padding: 6px 8px;
  backdrop-filter: blur(8px);
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--t-muted);
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition:
    background var(--transition),
    color var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--t-white);
  background: rgba(26, 34, 8, 0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--t-white);
  border-radius: 2px;
  transition: var(--transition);
}
.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);
}

/* Mobile nav — overlay CLARO */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(244, 252, 220, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile-overlay.open {
  display: flex;
}
.nav-mobile-overlay .nav-link {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  font-weight: 400;
  padding: 10px 24px;
  color: var(--t-white);
}
.nav-mobile-overlay .nav-link:hover {
  color: var(--accent-2);
  background: rgba(26, 34, 8, 0.06);
}

/* ════════════════════════════════════════
   HERO — fundo claro, texto escuro
════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      to right,
      #f4fcdc 0%,
      #f4fcdc 35%,
      /* A cor sólida para mais cedo */ transparent 55%
        /* Fica totalmente transparente ANTES do rosto dela */
    ),
    url("image/doutora1.png") right top / cover no-repeat;
}

.hero-overlay-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Fade sutil na base para legibilidade dos botões */
  background: linear-gradient(
    to top,
    rgba(244, 252, 220, 0.55) 0%,
    transparent 28%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin-inline: auto;
  padding: 0 32px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--t-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Traço editorial antes do título hero */
.hero-title::before {
  content: "";
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--accent-2);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Destaque itálico dentro do título hero */
.hero-title em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 300;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--t-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Limita o bloco de texto à metade esquerda — foto da doutora aparece à direita */
.hero-text-wrap {
  max-width: 48%;
  padding-right: 2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Google badge — vidro claro */
.google-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(74, 104, 32, 0.15);
  border-radius: 50px;
  padding: 10px 18px;
  backdrop-filter: blur(6px);
}
.google-badge-logo {
  display: flex;
  align-items: center;
}
.google-badge-info {
  display: flex;
  flex-direction: column;
}
.google-stars {
  color: #fbbc05;
  font-size: 0.9rem;
  letter-spacing: 2px;
  line-height: 1;
}
.google-badge-info span {
  font-size: 0.73rem;
  color: var(--t-light);
  line-height: 1.3;
  margin-top: 2px;
}

/* ════════════════════════════════════════
   SEÇÃO BASE (clara)
════════════════════════════════════════ */
.section {
  padding: 100px 0;
  background: var(--dark-2);
  border-top: 1px solid rgba(74, 104, 32, 0.07);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 14px;
}
/* Traço charmoso acima da etiqueta de seção */
.section-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--accent-2);
  border-radius: 2px;
}
/* Seções escuras: traço claro lima */
.section-diferenciais .section-tag::before {
  background: rgba(205, 232, 154, 0.65);
}
.section-tag-dark {
  color: var(--sobre-muted);
  align-items: flex-start;
}
.section-tag-dark::before {
  background: var(--accent-2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--t-white);
  line-height: 1.2;
}
.section-title em {
  font-style: italic;
  color: var(--accent-2);
}

/* Subtítulo introdutório de seção */
.section-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--t-light);
  line-height: 1.75;
  max-width: 560px;
  margin: 18px auto 0;
}

/* ════════════════════════════════════════
   ESPECIALIDADES — 4 cards em grid 2×2
════════════════════════════════════════ */
.servicos-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
  perspective: 1400px;
}

.servico-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  /* Transição lenta e suave — sensação de peso e luxo */
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(74, 104, 32, 0.1);
}
.servico-card:hover {
  /* Lift: flutua para cima em vez de escalar */
  transform: translateY(-10px);
  box-shadow:
    0 32px 56px rgba(74, 104, 32, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.07);
}

.servico-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.servico-img-ph {
  width: 100%;
  height: 100%;
}
.servico-img-ph-1 {
  background: linear-gradient(160deg, #b8d860 0%, #9cc84a 50%, #88b435 100%);
  position: relative;
}
.servico-img-ph-1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 40% 30%,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 60%
  );
}
.servico-img-ph-2 {
  background: linear-gradient(160deg, #a8d050 0%, #92c038 50%, #7caa28 100%);
  position: relative;
}
.servico-img-ph-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 60%,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 55%
  );
}
/* Quando tiver fotos reais:
   .servico-card-img img { width:100%; height:100%; object-fit:cover; } */

.servico-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 32px;
  background: linear-gradient(
    to top,
    rgba(20, 24, 10, 0.9) 0%,
    rgba(20, 24, 10, 0.2) 65%,
    transparent 100%
  );
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
/* Linha verde no topo do texto */
.servico-card-body::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #f4fcdc;
  margin-bottom: 10px;
  border-radius: 2px;
}
.servico-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 6px;
}
.servico-card-body p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.servicos-cta {
  text-align: center;
}

/* ════════════════════════════════════════
   CASES
════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.case-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.case-item:hover .case-ph {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(74, 104, 32, 0.13);
}

.case-ph {
  aspect-ratio: 3/4;
  background: #ffffff;
  border: 1.5px solid rgba(74, 104, 32, 0.09);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(74, 104, 32, 0.07);
}
/* Círculo placeholder — sugere foto */
.case-ph::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 104, 32, 0.18);
  background: rgba(74, 104, 32, 0.05);
}
/* Traço duplo — sugere "antes | depois" sem ser texto */
.case-ph::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(74, 104, 32, 0.18);
  border-radius: 2px;
  box-shadow:
    0 7px 0 rgba(74, 104, 32, 0.18),
    0 -7px 0 rgba(74, 104, 32, 0.18);
}

/* ════════════════════════════════════════
   SOBRE — seção branca com padrão
════════════════════════════════════════ */
.section-sobre {
  position: relative;
  padding: 110px 0;
  background: var(--sobre-bg);
  overflow: hidden;
}

/* Padrão geométrico de fundo (losangos) */
.sobre-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cellipse cx='20' cy='20' rx='7' ry='12' stroke='%23a8cc60' stroke-width='0.8' transform='rotate(0 20 20)'/%3E%3Cellipse cx='20' cy='20' rx='7' ry='12' stroke='%23a8cc60' stroke-width='0.8' transform='rotate(90 20 20)'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.sobre-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Wrapper com posição relativa para o ghost frame */
.sobre-foto {
  position: relative;
  padding-bottom: 18px;
  padding-right: 18px;
}

/* Ghost frame: bloco deslocado atrás da foto */
.sobre-foto::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  background: rgba(74, 104, 32, 0.13);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.sobre-foto-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(74, 104, 32, 0.14);
  border: 5px solid var(--sobre-bg);
}
.sobre-foto-ph {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #eef8c8 0%, #ddf0a0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(120, 160, 50, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.sobre-foto-ph::after {
  content: "foto da equipe";
  text-transform: uppercase;
}

.sobre-texto .section-tag-dark {
  display: block;
  margin-bottom: 14px;
}

.sobre-titulo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--sobre-txt);
  line-height: 1.2;
  margin-bottom: 28px;
}

.sobre-texto p {
  font-size: 0.92rem;
  color: var(--sobre-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.sobre-texto strong {
  color: var(--sobre-txt);
  font-weight: 600;
}
.destaque-texto {
  color: var(--accent-2);
  font-weight: 500;
}

/* ════════════════════════════════════════
   DIFERENCIAIS — seção ESCURA (contraste premium)
════════════════════════════════════════ */
.section-diferenciais {
  position: relative;
  padding: 100px 0;
  background: #1a2208;
  overflow: hidden;
}

/* Textura sutil de fundo */
.section-diferenciais::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 15% 50%,
      rgba(244, 252, 220, 0.07) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 85% 30%,
      rgba(244, 252, 220, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.diferenciais-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.diferenciais-card {
  width: 100%;
  max-width: 960px;
  background: rgba(18, 22, 7, 0.78);
  border: 1px solid rgba(244, 252, 220, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 60px 56px;
  text-align: center;
}

.diferenciais-card .section-tag {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.diferenciais-card .section-title {
  margin-bottom: 48px;
  color: #ffffff;
}
.diferenciais-card .section-title em {
  color: #cde89a;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.dif-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.dif-item:hover {
  background: rgba(244, 252, 220, 0.08);
  border-color: rgba(244, 252, 220, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dif-icon {
  color: #cde89a;
  margin-bottom: 14px;
  opacity: 1;
}

.dif-item p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}
.dif-item strong {
  color: #ffffff;
  font-weight: 600;
}

/* ════════════════════════════════════════
   DEPOIMENTOS — grid estático 3 colunas
════════════════════════════════════════ */
.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.depo-card {
  background: var(--dark-3);
  border: 1px solid rgba(74, 104, 32, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 20px rgba(74, 104, 32, 0.06);
  transition:
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}
.depo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 104, 32, 0.2);
  box-shadow: 0 14px 36px rgba(74, 104, 32, 0.11);
}

/* Topo: foto circular + nome + estrelas */
.depo-topo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.depo-foto {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(74, 104, 32, 0.18);
}
.depo-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.depo-foto-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5a7a25, #8aaa3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.depo-topo strong {
  display: block;
  font-size: 0.9rem;
  color: var(--t-white);
  margin-bottom: 4px;
}
.depo-stars {
  color: #c8a800;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.depo-card p {
  font-size: 0.86rem;
  color: var(--t-light);
  line-height: 1.72;
}

.depo-cta {
  text-align: center;
}

/* ════════════════════════════════════════
   LOCALIZAÇÃO / MAPA
════════════════════════════════════════ */
.localizacao-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.localizacao-header .section-tag {
  margin-bottom: 10px;
  display: block;
}
.localizacao-header .section-title {
  text-align: left;
}

.loc-cidade {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.loc-cidade svg {
  color: var(--accent-2);
}

/* Mapa card com overlays sobre o iframe */
.mapa-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(74, 104, 32, 0.15);
  height: 520px;
  box-shadow: 0 4px 24px rgba(74, 104, 32, 0.08);
}

.mapa-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Overlays flutuando no rodapé do mapa */
.mapa-overlays {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(
    to top,
    rgba(240, 252, 215, 0.9) 0%,
    transparent 100%
  );
  flex-wrap: wrap;
}

.mapa-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 252, 220, 0.92);
  border: 1px solid rgba(74, 104, 32, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.mapa-pill div {
  display: flex;
  flex-direction: column;
}
.mapa-pill strong {
  font-size: 0.82rem;
  color: var(--t-white);
  font-weight: 600;
  line-height: 1.3;
}
.mapa-pill span {
  font-size: 0.76rem;
  color: var(--t-muted);
}

.mapa-cta-overlay {
  margin-left: auto;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FOOTER — âncora escura (premium)
════════════════════════════════════════ */
.footer {
  background: #1a2208;
  padding: 56px 0 0;
}

/* Card com bordas arredondadas no topo */
.footer-box {
  background: #131a06;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  max-width: 1340px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 56px 56px 40px;
}

/* Lado esquerdo: logo grande */
.footer-brand {
  flex: 1;
  min-width: 0;
}

.logo-footer .logo-icon {
  color: rgba(255, 255, 255, 0.38);
}
.logo-sub-big {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo-footer .logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logo-footer .logo-main {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-sans);
  font-weight: 400;
}

.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.46);
  margin: 20px 0 24px;
  line-height: 1.5;
}

.footer-icons {
  display: flex;
  gap: 12px;
}
.footer-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}
.footer-icon-btn:hover {
  border-color: #cde89a;
  background: rgba(244, 252, 220, 0.06);
  color: #cde89a;
}

/* Lado direito: duas colunas */
.footer-right {
  display: flex;
  gap: 64px;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-col a,
.footer-col span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: #cde89a;
}

/* Linha inferior do footer */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.26);
}
.footer-bottom strong {
  color: rgba(255, 255, 255, 0.42);
}

/* ════════════════════════════════════════
   WHATSAPP FLUTUANTE
════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #4a6820;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4fcdc;
  box-shadow: 0 4px 20px rgba(74, 104, 32, 0.4);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(74, 104, 32, 0.6);
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(74, 104, 32, 0.4);
  }
  50% {
    box-shadow: 0 4px 28px rgba(74, 104, 32, 0.65);
  }
}

/* ════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA — LUXURY
════════════════════════════════════════ */

/* Elemento único flutua para cima */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger: filhos animam em cascata ── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Filhos 1-4 (primeira fileira) */
[data-stagger].visible > *:nth-child(1) {
  transition-delay: 0s;
}
[data-stagger].visible > *:nth-child(2) {
  transition-delay: 0.1s;
}
[data-stagger].visible > *:nth-child(3) {
  transition-delay: 0.2s;
}
[data-stagger].visible > *:nth-child(4) {
  transition-delay: 0.3s;
}
/* Filhos 5-8 (segunda fileira — offset leve) */
[data-stagger].visible > *:nth-child(5) {
  transition-delay: 0.08s;
}
[data-stagger].visible > *:nth-child(6) {
  transition-delay: 0.18s;
}
[data-stagger].visible > *:nth-child(7) {
  transition-delay: 0.28s;
}
[data-stagger].visible > *:nth-child(8) {
  transition-delay: 0.38s;
}
[data-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   RESPONSIVO
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .sobre-container {
    gap: 48px;
  }
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }
  .header.scrolled {
    padding: 12px 20px;
  }

  .nav-pill {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.6rem;
  }
  .hero-text-wrap {
    max-width: 100%;
  }

  /* No mobile, gradiente vertical: foto aparece no topo, texto na base */
  .hero-photo-placeholder {
    background:
      linear-gradient(
        to bottom,
        rgba(244, 252, 220, 0.12) 0%,
        rgba(244, 252, 220, 0.94) 50%,
        #f4fcdc 100%
      ),
      url("image/doutora1.png") center top / cover no-repeat;
  }

  .servicos-cards {
    grid-template-columns: 1fr;
  }

  .sobre-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .diferenciais-card {
    padding: 36px 24px;
  }
  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .depo-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    padding: 40px 28px 32px;
    gap: 36px;
  }
  .footer-right {
    flex-direction: column;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 28px;
  }

  .localizacao-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mapa-card {
    height: 420px;
  }
  .mapa-overlays {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mapa-cta-overlay {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }
  .section-sobre {
    padding: 72px 0;
  }
  .section-diferenciais {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
  .diferenciais-card {
    padding: 28px 18px;
  }
  .container {
    padding-inline: 20px;
  }
}

/* ════════════════════════════════════════
   MICRO-DETALHES DE UI — Awwwards level
════════════════════════════════════════ */

/* ── Seleção de texto personalizada ── */
::selection {
  background: rgba(90, 122, 37, 0.18);
  color: #1a2208;
}
::-moz-selection {
  background: rgba(90, 122, 37, 0.18);
  color: #1a2208;
}

/* ── Scrollbar elegante (webkit) ── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f4fcdc;
}
::-webkit-scrollbar-thumb {
  background: rgba(74, 104, 32, 0.28);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 104, 32, 0.5);
}

/* ── Barra de progresso de scroll (injetada por JS) ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #4a6820, #8aaa3a, #cde89a);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.08s linear;
  pointer-events: none;
}

/* ── Performance hints ── */
.hero-photo-placeholder,
.servico-card,
[data-animate],
[data-stagger] > * {
  will-change: transform;
}

/* ── Refinamento de letter-spacing nos títulos ── */
.hero-title {
  letter-spacing: 0.055em;
}
.sobre-titulo {
  letter-spacing: 0.01em;
}
.section-tag {
  letter-spacing: 0.22em;
}

/* ── Cursor pointer em todos os elementos interativos ── */
.servico-card,
.case-item,
.depo-card,
.footer-icon-btn,
.nav-link {
  cursor: pointer;
}

/* ── Nav link transição suavizada ── */
.nav-link {
  transition:
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Parallax: permite que o elemento do hero se mova ── */
.hero-photo-placeholder {
  transition: transform 0s linear; /* JS controla em tempo real */
}
/* ════════════════════════════════════════
   ESTILOS PARA AS IMAGENS REAIS
════════════════════════════════════════ */

/* Imagens dos Cards de Serviços */
.servico-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Faz a foto preencher o card como um papel de parede, sem distorcer */
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito de zoom suave ao passar o mouse no card de serviço */
.servico-card:hover .servico-img-real {
  transform: scale(1.05);
}

/* Imagem da Seção Sobre Nós */
.sobre-img-real {
  width: 100%;
  height: 100%;
  position: absolute; /* Prende a imagem dentro do card */
  top: 0;
  left: 0;
  object-fit: cover;
  display: block;
}

/* Garante que o card da seção Sobre mantenha a proporção vertical (retrato) */
.sobre-foto-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* Força o formato de retrato elegante */
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(74, 104, 32, 0.14);
  border: 5px solid var(--sobre-bg);
}

/* ════════════════════════════════════════
   PRELOADER — Logo animado de entrada
════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f4fcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.7s linear;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: preloaderBreathe 1.8s ease-in-out infinite;
}
.preloader-svg {
  color: #5a7a25;
  animation: preloaderSpin 4s linear infinite;
}
.preloader-line {
  width: 52px;
  height: 1.5px;
  background: rgba(74, 104, 32, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #5a7a25, #8aaa3a);
  border-radius: 2px;
  animation: preloaderSweep 1.4s ease-in-out infinite;
}
@keyframes preloaderBreathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes preloaderSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

/* ════════════════════════════════════════
   HERO PARTICLES — Canvas de partículas
════════════════════════════════════════ */
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════════════════
   CASES SCROLLER — Horizontal drag-to-scroll
════════════════════════════════════════ */
.cases-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 32px 32px;
  margin-top: 8px;
}
.cases-scroller::-webkit-scrollbar {
  display: none;
}
.cases-scroller.grabbing {
  cursor: grabbing;
}
.cases-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.cases-track .case-item {
  flex-shrink: 0;
  width: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cases-track .case-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(74, 104, 32, 0.14);
}
.cases-track .case-ph {
  aspect-ratio: 3/4;
  background: #ffffff;
  border: 1.5px solid rgba(74, 104, 32, 0.09);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(74, 104, 32, 0.07);
}
/* Pseudo-elementos apenas para divs placeholder (sem foto real) */
.cases-track div.case-ph::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 104, 32, 0.18);
  background: rgba(74, 104, 32, 0.05);
}
.cases-track div.case-ph::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(74, 104, 32, 0.18);
  border-radius: 2px;
  box-shadow:
    0 7px 0 rgba(74, 104, 32, 0.18),
    0 -7px 0 rgba(74, 104, 32, 0.18);
}

/* Imagens reais no scroller de cases */
.cases-track img.case-ph {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1.5px solid rgba(74, 104, 32, 0.09);
  box-shadow: 0 4px 18px rgba(74, 104, 32, 0.07);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.cases-track .case-item:hover img.case-ph {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(74, 104, 32, 0.13);
}

/* ════════════════════════════════════════
   STATS ROW — Contadores animados (Diferenciais)
════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0;
}
.stat-item {
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 300;
  color: #cde89a;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════
   DEPOIMENTOS — Carrossel por toque no mobile
════════════════════════════════════════ */
@media (max-width: 768px) {
  .depo-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 20px;
    scrollbar-width: none;
    margin-bottom: 24px;
  }
  .depo-grid::-webkit-scrollbar {
    display: none;
  }
  .depo-card {
    min-width: 84vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .cases-scroller {
    padding: 8px 20px 24px;
  }
  .cases-track .case-item {
    width: 170px;
  }
}

