/* -------------------------------------------------------
   Clínica de Estética | Tema Luxo (Preto + Dourado)
   Arquivo: assets/css/style.css
   ------------------------------------------------------- */

:root{
  --gold: #CFAF6E;
  --gold-2: #9f7c35;
  --black: #000000;
  --black-2: #0b0b0b;
  --white: #ffffff;
}

html{
  scroll-behavior: smooth; /* fallback (JS também faz smooth + offset) */
}

body{
  background: var(--black);
  color: var(--white);
}

/* Texto selecionado */
::selection{
  background: rgba(207, 175, 110, 0.35);
}

/* Cabeçalho (estado ao scroll) */
.header-scrolled{
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

/* Links do menu (hover + ativo) */
.nav-link{
  position: relative;
  color: rgba(255,255,255,0.82);
  transition: color .25s ease;
}

.nav-link:hover{
  color: rgba(255,255,255,0.98);
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width .25s ease;
  opacity: .95;
}

.nav-link:hover::after{
  width: 100%;
}

.nav-link.active{
  color: var(--gold);
}

.nav-link.active::after{
  width: 100%;
}

/* Botões */
.btn-gold{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0b0b0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 25px rgba(207, 175, 110, 0.25);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.btn-gold:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 40px rgba(207, 175, 110, 0.28);
}

.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(207, 175, 110, 0.35);
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.03);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.btn-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(207, 175, 110, 0.55);
}

/* Cards com efeito “glass” */
.glass-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(207, 175, 110, 0.22);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-card.hover-lift{
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.glass-card.hover-lift:hover{
  transform: translateY(-4px);
  border-color: rgba(207, 175, 110, 0.45);
  background: rgba(255,255,255,0.045);
}

/* Títulos de seção */
.section-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(207, 175, 110, 0.95);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

.section-eyebrow::before{
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(207, 175, 110, 0.75);
}

/* Fundo com “spotlights” */
.spotlight{
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(600px 220px at 20% 30%, rgba(207,175,110,0.15), transparent 60%),
    radial-gradient(520px 220px at 80% 70%, rgba(207,175,110,0.10), transparent 60%),
    radial-gradient(420px 180px at 50% 10%, rgba(255,255,255,0.05), transparent 55%);
  filter: blur(0px);
}

/* Hero parallax */
.parallax-layer{
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* Swiper */
.swiper-pagination-bullet{
  background: rgba(255,255,255,0.35);
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background: var(--gold);
}

.swiper-button-next, .swiper-button-prev{
  color: rgba(255,255,255,0.85);
  transition: color .2s ease, transform .2s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover{
  color: var(--gold);
  transform: scale(1.02);
}

/* Inputs */
.field{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  padding: .9rem 1rem;
  color: rgba(255,255,255,0.92);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.field:focus{
  border-color: rgba(207,175,110,0.55);
  background: rgba(255,255,255,0.04);
}

/* Mensagens do formulário */
.form-status{
  border-radius: 14px;
  padding: .85rem 1rem;
  font-weight: 600;
  font-size: .95rem;
}

/* Ajuste de âncora para header fixo */
section[id]{
  scroll-margin-top: 92px;
}

/* Acessibilidade: reduzir movimentos */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{
    animation: none !important;
    transition: none !important;
  }
}

/* Swiper overrides (controles no fluxo, com ícones do Font Awesome) */
.swiper-button-next,
.swiper-button-prev{
  position: static !important;
  margin: 0 !important;
  inset: auto !important;
}

.swiper-button-next::after,
.swiper-button-prev::after{
  content: none !important;
}

.swiper-pagination{
  position: relative !important;
  inset: auto !important;
}

/* FAQ Accordion */
.faq-question{
  cursor: pointer;
  user-select: none;
}

.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer > div{
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

.faq-answer.open > div{
  padding-top: 0.75rem;
}

.faq-icon{
  transition: transform 0.3s ease;
}
