/* ============================================================
   Érica Galhardo · Landing · Styles
   ============================================================ */
html, body { margin: 0; padding: 0; background: var(--bg-main); color: var(--fg1); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img, svg, video, iframe, table { max-width: 100%; }
img { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Section rhythm ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg-soft { background: var(--bg-soft); }
.section-bg-alt { background: var(--bg-alt); }
.section-bg-white { background: var(--white); }

/* ---- Headings ---- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display:block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.2; color: var(--fg1); font-weight: 400; text-wrap: balance; }
.section-head h2 em { font-style: italic; color: var(--primary); }
.section-head .sub { font-family: var(--font-body); font-size: 16px; color: var(--fg2); margin-top: 14px; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.65; }

/* ---- Buttons (premium base) ---- */
.btn { font-family: var(--font-body); font-weight: 500; font-size: 15px; border: 0; cursor: pointer; padding: 16px 28px; border-radius: 14px; display: inline-flex; align-items: center; gap: 10px; transition: transform 320ms cubic-bezier(.22,1,.36,1), box-shadow 320ms cubic-bezier(.22,1,.36,1), background-color 320ms cubic-bezier(.22,1,.36,1), color 320ms cubic-bezier(.22,1,.36,1), border-color 320ms cubic-bezier(.22,1,.36,1); text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 2; }
.btn .btn__label { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.btn svg { transition: transform 360ms cubic-bezier(.22,1,.36,1); position: relative; z-index: 2; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,161,95,0.36), 0 2px 6px rgba(74,63,56,0.10); }
.btn-primary:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 10px rgba(201,161,95,0.25); transition-duration: 90ms; }

.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,161,95,0.22); border-color: var(--primary-hover); }
.btn-ghost:active { transform: scale(0.98); transition-duration: 90ms; }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,255,255,0.22), 0 2px 6px rgba(0,0,0,0.10); }
.btn-white:active { transform: scale(0.98); transition-duration: 90ms; }

.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 8px 20px rgba(255,255,255,0.18); }
.btn-outline-white:active { transform: scale(0.98); transition-duration: 90ms; }

/* ---- Universal: arrow march on hover ---- */
.btn:hover svg { transform: translateX(5px); }

/* ============================================================
   "Agendar..." CTAs → Fill slide + icon march + sheen sweep
   Apply via .btn-fill class
   ============================================================ */
.btn-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-hover, #B08A4C);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms cubic-bezier(.65,0,.35,1);
  z-index: 1;
  pointer-events: none;
}
.btn-fill:hover::after { transform: scaleX(1); }

/* Sheen sweep — slow shimmer that runs continuously on all fill buttons */
.btn-fill::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,0.42) 50%,
    transparent 70%,
    transparent 100%);
  z-index: 3;
  pointer-events: none;
  animation: btnSheenSweep 3.6s ease-in-out infinite;
}
@keyframes btnSheenSweep {
  0% { left: -120%; }
  60%, 100% { left: 130%; }
}

/* Pause sheen on hover so the fill slide can take the spotlight */
.btn-fill:hover::before { animation-play-state: paused; opacity: 0; transition: opacity 200ms; }

/* White-variant fill slide goes to the gold tone */
.btn-white.btn-fill::after { background: var(--primary, #C9A15F); }
.btn-white.btn-fill:hover { color: #fff; }

/* Ghost-variant fill slide */
.btn-ghost.btn-fill::after { background: var(--primary, #C9A15F); }
.btn-ghost.btn-fill:hover { color: #fff; border-color: var(--primary, #C9A15F); }

/* Outline-white fill slide */
.btn-outline-white.btn-fill::after { background: rgba(255,255,255,0.18); }

/* On-hover label color: keep text crisp white over the dark-gold fill */
.btn-fill:hover .btn__label,
.btn-fill:hover svg { color: #fff; }

/* ============================================================
   Hero CTA → Pulsing glow (extra emphasis on top of fill+sheen)
   Apply via .btn-pulse class
   ============================================================ */
.btn-pulse {
  animation: btnPulseGlow 2.4s ease-in-out infinite;
}
@keyframes btnPulseGlow {
  0%, 100% {
    box-shadow:
      0 6px 18px rgba(201,161,95,0.30),
      0 0 0 0 rgba(201,161,95,0.55),
      0 0 0 0 rgba(201,161,95,0.0);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(201,161,95,0.42),
      0 0 0 8px rgba(201,161,95,0.0),
      0 0 0 16px rgba(201,161,95,0.0);
  }
}
.btn-pulse:hover { animation-play-state: paused; }

/* Reduced motion: turn off pulse + sheen */
@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
  .btn-fill::before { animation: none; display: none; }
  .btn:hover { transform: none !important; }
  .btn:hover svg { transform: none !important; }
  .btn-fill::after { display: none; }
}

/* ---- Card ---- */
.card-surface { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-card); transition: transform 360ms cubic-bezier(.22,1,.36,1), box-shadow 360ms cubic-bezier(.22,1,.36,1), border-color 360ms cubic-bezier(.22,1,.36,1); }
.card-surface:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(74,63,56,0.12), 0 4px 10px rgba(74,63,56,0.06); border-color: rgba(201,161,95,0.35); }

/* ---- Icon circle ---- */
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: transform 360ms cubic-bezier(.22,1,.36,1), background 360ms ease, color 360ms ease; }
.icon-circle-outline { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: transform 360ms cubic-bezier(.22,1,.36,1), background 360ms ease, color 360ms ease, border-color 360ms ease; }
.card-surface:hover .icon-circle { transform: scale(1.08) rotate(-3deg); background: var(--primary); color: #fff; }
.card-surface:hover .icon-circle-outline { transform: scale(1.08); border-color: var(--primary-hover); background: var(--primary-soft); }

/* ============================================================
   Scroll reveal — soft fade + lift
   ============================================================ */
/* sem will-change: eram 13 seções segurando camada de composição no celular */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms cubic-bezier(.22,1,.36,1), transform 800ms cubic-bezier(.22,1,.36,1); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
/* Hero never hides (above the fold) */
.eg-hero.reveal, .eg-hero--B.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card-surface:hover { transform: none; }
  .card-surface:hover .icon-circle, .card-surface:hover .icon-circle-outline { transform: none; }
}

/* ---- Scroll anchors ---- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }

/* Eyebrow — estava inline no componente; em CSS para os breakpoints alcançarem. */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  cursor: pointer;
}
.wa-float::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #25D366;
  animation: waPulse 2.2s infinite ease-out;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: #fff; color: var(--fg1);
  padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  white-space: nowrap; box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transition: opacity 240ms;
}
.wa-tooltip::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #fff;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
  .wa-tooltip { display: none; }
}

/* ---- Section divider accent ---- */
.divider-dots { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.divider-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: 0.4; }
.divider-dots span:nth-child(2) { opacity: 0.7; }
.divider-dots span:nth-child(3) { opacity: 0.4; }

/* Conteúdo semântico para leitores de tela e buscadores (não é texto oculto de spam:
   repete o assunto real da página, o mesmo do <title>). */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
