/* ==========================================================
   THEME: Elegance
   Minimal, airy, refined — portfólios, consultórios, marcas premium
   Loaded AFTER core.css; user CSS variables override this.
   ========================================================== */

:root {
  /* ── Border Radii: rounded, soft ── */
  --radius-sm:   0.625rem;   /* 10px */
  --radius-md:   0.75rem;    /* 12px */
  --radius-lg:   1rem;       /* 16px */
  --radius-xl:   1.375rem;   /* 22px */
  --radius-2xl:  1.875rem;   /* 30px */

  /* ── Motion: slow, cubic ── */
  --transition:      360ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 720ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Layout: more breathing room ── */
  --section-py: 6.5rem;
  --header-h:   5rem;
}

/* ── Typography: lighter weights, tracked ── */
h1, h2      { font-weight: 300; letter-spacing: -0.028em; }
h3, h4      { font-weight: 400; letter-spacing: -0.015em; }
h1          { font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2          { font-size: clamp(2rem, 4vw, 3.5rem); }
p           { opacity: 0.75; }

/* ── Buttons: pill-shaped, lighter weight ── */
.btn {
  border-radius: var(--radius-full);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.875rem;
}
.btn-sm { padding: 0.5rem 1.25rem; }
.btn-lg { padding: 1rem 2.5rem; }
.btn-xl { padding: 1.25rem 3rem; border-radius: var(--radius-full); }
.btn-primary:hover,
.btn-secondary:hover,
.btn-accent:hover { transform: translateY(-2px); }

/* ── Cards: generous padding, shadow-based hover (no border flash) ── */
.card {
  padding: 2rem;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255,255,255,0.04);
}
.card:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255,255,255,0.07);
  transform: translateY(-5px);
}
.card-feature {
  padding: 2.5rem;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255,255,255,0.04);
}
.card-feature:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99,102,241, 0.3);
  transform: translateY(-6px);
}
.card-feature-icon {
  border-radius: var(--radius-full);
  width: 4rem;
  height: 4rem;
}
.card-glass { border: 1px solid rgba(255,255,255, 0.06); }

/* ── Section tag: bordered, transparent ── */
.section-tag {
  border: 1px solid var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  background: transparent;
  opacity: 1;
}

/* ── Hero: airy, softer gradient, tall ── */
.hero { min-height: var(--hero-min-height, 95vh); }
.hero h1 { font-weight: 200; }
.hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(99, 102, 241, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(139, 92, 246, 0.07) 0%, transparent 60%);
}
.hero-badge {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-weight: 300;
  letter-spacing: 0.06em;
}
.hero-stats { margin-top: 5rem; }
.hero-stat-value { font-weight: 300; }

/* ── Nav: pill links ── */
.nav-link { border-radius: var(--radius-full); }

/* ── Nav: item destacado — outline elegante ── */
.nav-link--highlight {
  border: 1.5px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: transparent !important;
  opacity: 1 !important;
}
.nav-link--highlight:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}

/* ── Badges: pill ── */
.badge { border-radius: var(--radius-full); }

/* ── Scroll reveal: very slow, graceful ── */
.reveal {
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── About: more space ── */
.about-visual { border-radius: var(--radius-2xl); }
.about-list li::before { border-radius: var(--radius-full); }

/* ── Testimonials ── */
.testimonial-card {
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255,255,255,0.04);
}
.testimonial-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* ── Header: logo bug fix — DM Serif Display adds extra visual weight ── */
.site-logo { font-size: 1.2rem; gap: 0.5rem; }
.site-logo img { height: 1.75rem; }

/* ── Hero: outline CTA — luxo/premium, sem preenchimento ── */
.hero .btn-primary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,.28);
  letter-spacing: 0.06em;
  font-weight: 300;
}
.hero .btn-primary:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.5);
  box-shadow: none;
  transform: translateY(-2px);
}
[data-theme="light"] .hero .btn-primary {
  border-color: rgba(0,0,0,.22);
  color: var(--color-text);
}
[data-theme="light"] .hero .btn-primary:hover {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.4);
}

/* ── Footer: deep dark, tipografia fina e espaçada ── */
.footer--elegance {
  background: #0d0d1a;
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 5rem 0 2rem;
}
.footer-elegance-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer--elegance .footer-col h4 {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .3;
  margin-bottom: 1.125rem;
  font-family: var(--font-body);
}
.footer--elegance .footer-links a { font-size: .875rem; opacity: .45; letter-spacing: .01em; }
.footer--elegance .footer-links a:hover { opacity: .85; }
.footer--elegance .footer-brand p { font-size: .9rem; opacity: .45; }
.footer--elegance .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.04);
  padding-top: 1.75rem;
  opacity: .35;
  font-size: .8125rem;
}
.footer-credit-link { color: var(--color-primary) !important; text-decoration: none; opacity: 1 !important; }
.footer-credit-link:hover { opacity: .75 !important; }

/* Social icon row in elegance footer brand column */
.footer-socials-row { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  opacity: .35; transition: opacity var(--transition); color: var(--color-text);
}
.footer-social-link:hover { opacity: .85; }
.footer-social-link svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }

/* Newsletter row */
.footer-newsletter-row {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 2rem;
  margin-top: .25rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nl-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.footer-nl-form .form-control { max-width: 220px; font-size: .875rem; }

@media(max-width:768px) {
  .footer-elegance-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-newsletter-row { flex-direction: column; gap: 1rem; }
}
[data-theme="light"] .footer--elegance { background: #f0eff8; border-top-color: rgba(0,0,0,.06); }

/* ── Light mode adjustments ── */
[data-theme="light"] .card,
[data-theme="light"] .card-feature,
[data-theme="light"] .testimonial-card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .card:hover,
[data-theme="light"] .card-feature:hover {
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.07);
}
