/* ===================================================
   VI BEAUTY — Shared Styles
   Clínica & Academy — Queijas, Oeiras, Lisboa
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fahkwang:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&family=Quicksand:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@1,300;1,400;1,500&display=swap');

/* ─── TOKENS ─── */
:root {
  --charcoal: #2C2822;
  --charcoal-deep: #1a1612;
  --cream: #FAF7F2;
  --cream-mid: #F0EAE0;
  --gold: #B8965A;
  --gold-light: #D4AF7A;
  --gold-pale: rgba(184,150,90,0.12);
  --text-dark: #2C2822;
  --text-mid: #6B5E4E;
  --text-light: #A69580;
  --white: #FFFFFF;

  --font-title: 'Fahkwang', serif;
  --font-body: 'Quicksand', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --max-width: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --tr: 0.35s var(--ease);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── UTILITIES ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-header { max-width: 580px; }
.section-header.centered { margin: 0 auto; text-align: center; }
.section-header.centered .eyebrow { justify-content: center; }
.section-header.centered .eyebrow::before { display: none; }

.section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 8vw, 36px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.section-header h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.section-header p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 16px;
}
.on-dark h2 { color: var(--cream); }
.on-dark p { color: rgba(255,255,255,0.5); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* Hero content visible immediately — no reveal delay */
.hero .reveal {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9A7A45; transform: translateY(-1px); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-wa { background: #25D366; color: white; }
.btn-wa:hover { background: #1ebe59; transform: translateY(-2px); }

/* ─── NAVIGATION ─── */
.vib-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}
.vib-nav.scrolled {
  background: var(--cream);
  padding: 12px 20px;
  box-shadow: 0 1px 0 rgba(44,40,34,0.08);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; transition: opacity 0.3s; }
.logo-dark { display: none; }
.vib-nav.scrolled .logo-light { display: none; }
.vib-nav.scrolled .logo-dark { display: block; }

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--tr);
}
.vib-nav.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links .btn { padding: 10px 24px; font-size: 10px; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  transition: all var(--tr);
}
.vib-nav.scrolled .nav-burger span { background: var(--charcoal); }

/* Mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  transition: color var(--tr);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 36px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--charcoal);
  line-height: 1;
}

/* ─── IMAGE PLACEHOLDER ─── */
.img-ph {
  background: linear-gradient(135deg, #E4D9CC 0%, #D6C9B8 100%);
  position: relative;
  overflow: hidden;
}
.img-ph::after {
  content: attr(data-label);
  position: absolute;
  bottom: 16px; left: 16px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(44,40,34,0.35);
}

/* ─── SECTION DIVIDER ─── */
.gold-divider {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* ─── FAQ ─── */
.faq-wrap { max-width: 740px; margin: 0 auto; }
.faq-list { margin-top: 56px; }
.faq-item { border-bottom: 1px solid rgba(44,40,34,0.1); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal);
  transition: color var(--tr);
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  width: 26px; height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
  transition: all var(--tr);
}
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); color: white; transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a.open { max-height: 300px; }
.faq-a-inner { padding: 0 0 22px; font-size: 14px; line-height: 1.85; color: var(--text-mid); }

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--charcoal);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(184,150,90,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(184,150,90,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-strip-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-strip h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-top: 18px;
}
.cta-strip h2 em { font-style: italic; color: var(--gold); }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-top: 16px; }
.cta-strip .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 48px; flex-direction: column; align-items: center; }
.cta-strip .eyebrow { justify-content: center; color: rgba(255,255,255,0.35); }
.cta-strip .eyebrow::before { background: rgba(255,255,255,0.2); }

/* ─── FOOTER ─── */
.vib-footer {
  background: var(--charcoal-deep);
  padding: 72px 32px 40px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .nav-logo img { height: 48px; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.38); max-width: 280px; margin-top: 16px; }
.footer-col h4 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.42); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: column;
  text-align: center;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.35);
  transition: all var(--tr);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 150;
  transition: transform var(--tr), box-shadow var(--tr);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ─── RESPONSIVE ─── */
@media (min-width: 480px) {
  .container { padding: 0 24px; }
  .section-header h2 { font-size: clamp(28px, 3.5vw, 48px); }
}
@media (min-width: 768px) {
  .vib-nav { padding: 22px 40px; }
  .vib-nav.scrolled { padding: 14px 40px; }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; text-align: left; }
  .cta-strip { padding: 100px 32px; }
  .cta-strip .actions { flex-direction: row; align-items: flex-start; }
}
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
