/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #0a0a0d;
  --bg-alt: #0e0e12;
  --surface: #FFFFFF;
  --surface-1: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f5f5f4;
  --text-dim: #a7a7ae;
  --text-dimmer: #6f6f77;

  --gold: #c9a24d;
  --gold-light: #e8cd8a;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;

  --gradient-brand: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 35%, var(--violet) 100%);
  --gradient-cta: linear-gradient(120deg, var(--violet) 0%, #6d3ff0 100%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection { background: var(--violet); color: #fff; }

/* subtle grain overlay for premium texture */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(139,92,246,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(139,92,246,0.7); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--gold); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(10,10,13,0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 54px; height: 54px; object-fit: contain; }
.brand-text { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text strong { font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative; font-size: 0.92rem; color: var(--text-dim); font-weight: 500;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--gradient-brand); transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
  animation: float 16s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: var(--violet); top: -180px; left: -120px; }
.blob-2 { width: 460px; height: 460px; background: var(--gold); bottom: -160px; right: -140px; animation-delay: -8s; }
.blob-3 { width: 480px; height: 480px; background: var(--violet); top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.25; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 75%);
  opacity: 0.5;
}

.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface-1); font-size: 0.82rem; color: var(--text-dim);
  margin-bottom: 28px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 26px;
}
.hero-subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }

.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; justify-content: center; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-num, .hero-stat-plus {
  font-family: var(--font-head); font-weight: 700; font-size: 2.1rem;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat-label { font-size: 0.85rem; color: var(--text-dimmer); margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--border-strong); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-indicator span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ SECTIONS ============ */
.section { position: relative; padding: 130px 0; }
.section-alt { background: var(--bg-alt); }
.section-alt::before, .section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }

.section-head { max-width: 720px; margin: 0 auto 64px; }
.section-tag {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.section-lead { color: var(--text-dim); font-size: 1.05rem; max-width: 56ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ SOBRE ============ */
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; align-items: center; }
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.about-card {
  position: relative; width: 100%; aspect-ratio: 1/1; max-width: 380px;
  background: linear-gradient(160deg, var(--surface-2), transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.about-logo { width: 78%; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5)); }
.about-glow {
  position: absolute; width: 60%; height: 60%; border-radius: 50%;
  background: var(--violet); filter: blur(100px); opacity: 0.3; z-index: -1;
}

.section-lead { margin-bottom: 30px; }
.about-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.diff-item { display: flex; gap: 14px; align-items: flex-start; }
.diff-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.diff-item h3 { font-size: 1rem; margin-bottom: 4px; }
.diff-item p { font-size: 0.9rem; color: var(--text-dim); }

/* ============ SERVIÇOS ============ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  padding: 32px 26px; border-radius: var(--radius-md);
  background: var(--surface-1); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(201,162,77,0.15), rgba(139,92,246,0.15));
  color: var(--gold-light);
  transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); color: var(--violet-light); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-dim); }

/* ============ METODOLOGIA ============ */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}
.timeline-item { position: relative; z-index: 1; padding: 0 6px; }
.timeline-num {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  background: var(--bg); border: 1.5px solid var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 0 6px var(--bg);
}
.timeline-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.87rem; color: var(--text-dim); }

/* ============ RESULTADOS ============ */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.result-card {
  text-align: center; padding: 38px 20px; border-radius: var(--radius-md);
  background: var(--surface-1); border: 1px solid var(--border);
}
.result-num, .result-suffix {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result-card p { color: var(--text-dim); font-size: 0.9rem; margin-top: 8px; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  padding: 30px; border-radius: var(--radius-md);
  background: var(--surface-1); border: 1px solid var(--border);
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-cta); font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-dimmer); }

/* ============ PILARES ============ */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar-card {
  padding: 34px 26px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), transparent);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.pillar-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  color: transparent; -webkit-text-stroke: 1px var(--border-strong);
  margin-bottom: 18px;
}
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.9rem; color: var(--text-dim); }

/* ============ CTA + CONTATO ============ */
.section-cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }

.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface-1);
  font-size: 0.95rem; font-weight: 500;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.contact-method:hover { border-color: var(--gold); background: var(--surface-2); transform: translateX(4px); }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--gold-light);
}
.whatsapp-icon { color: #25D366; }

.contact-form {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; backdrop-filter: blur(8px);
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text); font-size: 0.95rem; resize: vertical;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.05); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-dimmer); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-dimmer); margin-top: 16px; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface-1); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 500; font-size: 1rem;
}
.faq-question svg { flex-shrink: 0; transition: transform .35s var(--ease); color: var(--gold); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-answer p { padding: 0 26px 22px; color: var(--text-dim); font-size: 0.92rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 18px 0 22px; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }

.footer-col h4 { font-size: 0.9rem; margin-bottom: 18px; color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-plain { font-size: 0.9rem; color: var(--text-dim); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--text-dimmer); }

/* ============ WHATSAPP FLOAT ============ */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6);
  animation: pulse 2.4s ease infinite;
  transition: transform .3s var(--ease);
}
.wa-float-btn:hover { transform: scale(1.08); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 30px -6px rgba(37,211,102,0.6); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 10px 30px -6px rgba(37,211,102,0.6); } }

.wa-float-menu {
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-float-item {
  background: var(--surface); color: #111; background: #17171b; color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5);
}
.wa-float-item:hover { border-color: #25D366; }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); color: var(--gold-light); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .about-card { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; top: 68px; left: 16px; right: 16px; z-index: 999;
    background: rgba(14,14,18,0.97); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 12px;
  }
  .main-nav.open .nav-link { width: 100%; padding: 12px 10px; border-radius: 10px; }
  .main-nav.open .nav-link:hover { background: var(--surface-2); }

  .header-actions .btn-sm { display: none; }

  .cta-grid { grid-template-columns: 1fr; }
  .about-diff { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .services-grid, .pillars-grid, .results-grid, .testimonials { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-form { padding: 26px; }
  .wa-float, .back-to-top { transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
