/* ═══════════════════════════════════════════════════════════════
   Clínica Glamour — Premium Beauty Clinic Website
   Color Palette:
     Gold   : #D4A843
     Dark   : #1A1A1A
     Cream  : #FAF8F4
     Mid    : #2C2C2C
     Text   : #3D3327
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #D4A843;
  --gold-lt: #E8C46A;
  --gold-dk: #B8892A;
  --dark:    #1A1A1A;
  --dark2:   #252220;
  --dark3:   #2E2A26;
  --mid:     #2C2C2C;
  --cream:   #FAF8F4;
  --cream2:  #F2EDE5;
  --text:    #3D3327;
  --text-lt: #7A6E63;
  --white:   #FFFFFF;
  --radius:  14px;
  --shadow:  0 8px 32px rgba(0,0,0,.12);
  --trans:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ── Typography helpers ───────────────────────────────────── */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  margin-bottom: .5rem;
}
.section-title.left { text-align: left; }

.section-subtitle {
  font-size: .95rem;
  color: var(--text-lt);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,.4);
}

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

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 32px;
  transition: background var(--trans), box-shadow var(--trans);
}
.site-header.scrolled {
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--trans);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--trans);
  transform-origin: center;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-link-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover  { background: var(--gold-lt); }

/* 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(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.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); }

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1600&q=80') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,.62) 0%, rgba(26,26,26,.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: .01em;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 1.2rem;
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* decorative watermark */
.services-section::before {
  content: 'GLAMOUR';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18vw;
  font-weight: 700;
  color: rgba(212,168,67,.04);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: .15em;
}

.section-header { margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: .5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,168,67,.15), rgba(212,168,67,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.3rem;
  color: var(--gold);
  border: 1.5px solid rgba(212,168,67,.25);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .83rem;
  color: var(--text-lt);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   ABOUT / BEM-VINDO
════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--white);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left — text */
.about-text .section-title.left {
  margin-bottom: 1.4rem;
}

.about-text p {
  font-size: .95rem;
  color: var(--text-lt);
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

/* Feature badges */
.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(212,168,67,.07));
  border: 1.5px solid rgba(212,168,67,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--gold);
}

.about-feature h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .2rem;
}

.about-feature p {
  font-size: .82rem;
  color: var(--text-lt);
  margin-bottom: 0;
}

/* Right — image */
.about-image-wrap {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(145deg, #2E2A26 0%, #3D3327 50%, #2A2520 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=800&q=80') center center / cover no-repeat;
  opacity: .55;
}

.about-img-icon {
  position: relative;
  z-index: 1;
  font-size: 4rem;
  color: var(--gold);
  opacity: .5;
  display: none; /* hidden when bg-image loads */
}

.about-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(to top, rgba(26,22,18,.85) 0%, transparent 100%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  text-align: left;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   CTA — AGENDE SUA CONSULTA
════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--dark2);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* subtle radial glow */
.cta-section::before {
  content: '';
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(212,168,67,.22);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
  background: rgba(212,168,67,.04);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 80px rgba(212,168,67,.06), 0 20px 60px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}

.cta-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,168,67,.22), rgba(212,168,67,.08));
  border: 1.5px solid rgba(212,168,67,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .4rem;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin: 0;
}

.cta-text {
  font-size: .93rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  line-height: 1.85;
  text-align: center;
}

.cta-btn {
  font-size: 1rem;
  padding: 1rem 2.6rem;
  margin-top: .4rem;
}
.cta-btn .fa-whatsapp { font-size: 1.1rem; }

.cta-helper {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: -.4rem;
}
.cta-helper .fa-bolt { color: var(--gold); font-size: .7rem; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .8rem;
}

.footer-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.social-icons {
  display: flex;
  gap: .8rem;
}
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,168,67,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  transition: background var(--trans), color var(--trans);
}
.social-icons a:hover {
  background: var(--gold);
  color: var(--dark);
}

.footer-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-icon-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(212,168,67,.12);
  border: 1px solid rgba(212,168,67,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--gold);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-list li {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}
.footer-list li i {
  color: var(--gold);
  font-size: .78rem;
  margin-top: .2rem;
  flex-shrink: 0;
}
.footer-list li strong { color: rgba(255,255,255,.85); font-weight: 500; }
.footer-list .mt-sm { margin-top: .6rem; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(212,168,67,.15);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablet – 820px */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { order: -1; }
  .about-img-placeholder { aspect-ratio: 16/9; }
}

/* Mobile – 640px */
@media (max-width: 640px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(26,26,26,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .main-nav.open { max-height: 300px; }
  .nav-link {
    display: block;
    padding: 1rem 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .cta-card      { padding: 40px 24px; }
  .hero-title    { font-size: 3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
