*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1C1C1C;
  background: #FAF8F4;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #FAF8F4; }
::-webkit-scrollbar-thumb { background: #C9A96E; border-radius: 10px; }

/* — Buttons — */
.btn-gold {
  background: linear-gradient(135deg, #C9A96E 0%, #A07840 100%);
  color: #fff;
  transition: all .3s ease;
  box-shadow: 0 4px 18px rgba(201,169,110,.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b8965a 0%, #8d6530 100%);
  box-shadow: 0 8px 28px rgba(201,169,110,.55);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid #C9A96E;
  color: #C9A96E;
  transition: all .3s ease;
}
.btn-outline:hover { background: #C9A96E; color: #fff; transform: translateY(-2px); }

/* — Nav — */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 1px;
  background: #C9A96E; transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* — Decorative lines — */
.gold-line {
  display: block; width: 52px; height: 1.5px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  margin: 0 auto 1.5rem;
}
.gold-line-left {
  display: block; width: 52px; height: 1.5px;
  background: linear-gradient(90deg, #C9A96E, transparent);
  margin-bottom: 1.5rem;
}
.section-label {
  display: block;
  letter-spacing: .2em; font-size: .72rem;
  text-transform: uppercase; color: #C9A96E; font-weight: 500;
}

/* — FAQ — */
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s ease; }
.faq-answer.open { max-height: 400px; opacity: 1; }
.faq-chevron { transition: transform .35s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* — Header scroll — */
#header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.09);
  background: rgba(250,248,244,.97);
  backdrop-filter: blur(10px);
}

/* — WhatsApp FAB — */
#wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 9999; transition: transform .3s ease; }
#wa-fab:hover { transform: scale(1.12) translateY(-3px); }

/* — Mobile menu — */
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
#mobile-menu.open { max-height: 440px; }

/* — Scroll reveal — */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════
   TIPOGRAFIA GLOBAL — SEÇÕES
═══════════════════════════════════ */

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #1C1C1C;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.section-sub {
  color: #7A7A7A;
  font-size: .875rem;
  line-height: 1.75;
  margin-top: .75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* ═══════════════════════════════════
   HERO — TIPOGRAFIA
═══════════════════════════════════ */

.hero-text-block {
  max-width: 520px;
}

/* Badge de localização */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6B6B6B;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 100px;
  padding: 5px 14px;
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

/* Pílulas de especialidade */
.hero-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.hero-pill {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C9A96E;
}

.hero-pill-sep {
  font-size: .65rem;
  color: #C9A96E;
  opacity: .5;
}

/* Título hero desktop */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #1C1C1C;
  letter-spacing: -.02em;
  margin-bottom: 0;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

/* Título hero mobile */
.hero-title-mobile {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 7vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: #1C1C1C;
  letter-spacing: -.015em;
  margin-bottom: 0;
}

.hero-title-mobile em {
  font-style: italic;
  font-weight: 400;
}

/* Divisória dourada */
.hero-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #C9A96E, #E8D5A3);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* Subtítulo hero */
.hero-sub {
  color: #4A4A4A;
  font-size: .95rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 420px;
}

/* ═══════════════════════════════════
   HERO FULL-BLEED
═══════════════════════════════════ */

/* Imagem ocupa 100% do hero como background */
.hero-fullbg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullbg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 35%;
  display: block;
}

/* Gradiente lateral esquerdo — cria fundo para o texto no desktop */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(250,248,244,1)   0%,
      rgba(250,248,244,.95) 20%,
      rgba(250,248,244,.78) 40%,
      rgba(250,248,244,.25) 65%,
      rgba(250,248,244,0)   100%
    );
}

/* No mobile o gradiente vem de baixo para cima (texto fica na base) */
@media (max-width: 1023px) {
  .hero-overlay {
    background:
      linear-gradient(to top,
        rgba(250,248,244,1)    0%,
        rgba(250,248,244,.95)  25%,
        rgba(250,248,244,.5)   55%,
        rgba(250,248,244,0)   100%
      );
  }
}


/* ═══════════════════════════════════
   CARROSSEL — BASE
═══════════════════════════════════ */

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #C9A96E;
  background: #fff;
  color: #C9A96E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #C9A96E;
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .carousel-btn { display: none; }
}

/* ═══════════════════════════════════
   SERVIÇOS — CARROSSEL
═══════════════════════════════════ */

.services-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  will-change: scroll-position;
}
.services-track::-webkit-scrollbar { display: none; }
.services-track:active { cursor: grabbing; }

.svc-card {
  flex: 0 0 min(268px, 78vw);
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E5DDD0;
  box-shadow: 0 3px 14px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.09);
}

.svc-card-dark {
  background: linear-gradient(160deg, #1A1008, #2E1A0E);
  border-color: rgba(201,169,110,.2);
}

.svc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F5ECD8;
  color: #C9A96E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin: 20px 20px 0;
  flex-shrink: 0;
  transition: all .3s ease;
}

.svc-card-dark .svc-card-icon {
  background: rgba(201,169,110,.15);
  color: #C9A96E;
}

.svc-card:hover .svc-card-icon {
  background: #C9A96E;
  color: #fff;
}

.svc-card-body {
  padding: 14px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: #1C1C1C;
  margin-bottom: 7px;
  line-height: 1.3;
}

.svc-card-dark .svc-card-body h3 { color: #E8D5A3; }

.svc-card-body p {
  font-size: .78rem;
  color: #6B7280;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.svc-card-dark .svc-card-body p { color: #9A8A7A; }

.svc-btn {
  display: inline-flex;
  align-items: center;
  font-size: .73rem;
  font-weight: 600;
  color: #C9A96E;
  letter-spacing: .03em;
  transition: color .2s ease;
  text-decoration: none;
  margin-top: auto;
}

.svc-btn:hover { color: #A07840; }
.svc-btn-light { color: #E8D5A3; }
.svc-btn-light:hover { color: #F5ECD8; }

/* ═══════════════════════════════════
   DEPOIMENTOS — CARROSSEL
═══════════════════════════════════ */

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  will-change: scroll-position;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:active { cursor: grabbing; }

.review-card {
  flex: 0 0 min(320px, 84vw);
  scroll-snap-align: start;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #E5DDD0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 3px 14px rgba(0,0,0,.04);
}

.review-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #C9A96E;
  opacity: .15;
  position: absolute;
  top: -4px;
  left: 14px;
  line-height: 1;
  pointer-events: none;
}

.review-card-dark {
  background: linear-gradient(135deg, #1C1C1C, #2D2D2D);
  border-color: rgba(201,169,110,.15);
}

/* ═══════════════════════════════════
   BEFORE / AFTER SLIDER
═══════════════════════════════════ */

.comparison-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.comparison-wrap .comp-base {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.comparison-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  transition: none;
}

.comparison-after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.65) brightness(.92);
}

.comparison-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.comp-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}

.comp-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  color: #C9A96E;
  font-size: 10px;
}

.comparison-slider {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 20;
  margin: 0; padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.comp-label {
  position: absolute;
  top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,.45);
  pointer-events: none;
  z-index: 15;
  transition: opacity .2s ease;
}

.comp-label-after {
  left: 14px;
  background: rgba(20,20,20,.55);
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.1);
}

.comp-label-before {
  right: 14px;
  background: linear-gradient(90deg, #9A7240, #F5ECD8, #C9A96E, #E8D5A3, #9A7240);
  background-size: 350% 100%;
  color: #2E1A0E;
  font-weight: 700;
  border: 1px solid rgba(232,213,160,.7);
  box-shadow: 0 0 16px rgba(201,169,110,.65), 0 2px 8px rgba(0,0,0,.3);
  animation: shimmer-gold 2.8s ease-in-out infinite;
  text-shadow: 0 1px 1px rgba(255,255,255,.4);
}

.comp-label-before::before {
  content: '✦ ';
  font-size: 8px;
  vertical-align: middle;
}

@keyframes shimmer-gold {
  0%   { background-position: 100% 50%; }
  50%  { background-position:   0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ═══════════════════════════════════
   SEÇÕES — ENTRADA POR ROLAGEM
═══════════════════════════════════ */
.sec-anim {
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1);
}
.sec-no-tr      { transition: none !important; }
.sec-from-below { opacity: 0; transform: translateY(60px); }
.sec-from-above { opacity: 0; transform: translateY(-40px); }
.sec-visible    { opacity: 1 !important; transform: none !important; }

/* ═══════════════════════════════════
   DOBRAS DE PÁGINA — WAVE DIVIDERS
═══════════════════════════════════ */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  margin: -1px 0;
  position: relative;
  z-index: 5;
}
.wave-divider svg { display: block; width: 100%; }
