/* ===== Tokens ===== */
:root {
  --bg: #070914;
  --bg-alt: #0c0f1e;
  --surface: #11142688;
  --border: #ffffff14;
  --text: #f4f4f8;
  --muted: #a7acc4;
  --gold: #ffb627;
  --red: #ff4d6d;
  --blue: #3da9fc;
  --green: #35e08d;
  --magenta: #d946ef;
  --whatsapp: #25d366;
  --radius: 18px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, .logo-text {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--red) 60%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-sub.center, p.eyebrow.center { max-width: 640px; }

.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }

.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.section-sub { color: var(--muted); max-width: 560px; margin-bottom: 50px; font-size: 1.02rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--whatsapp), #1fb855);
  color: #06130a;
  box-shadow: 0 8px 24px -8px #25d36688;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px #25d366aa; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: #ffffff0d; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-nav { padding: 10px 20px; font-size: .9rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: #070914cc;
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.logo-img { height: 48px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}
#fireworksCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, #1a0f0577, transparent),
    linear-gradient(180deg, #07091400, var(--bg) 92%);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-kicker {
  color: var(--gold);
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-trust div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-trust strong { font-family: 'Poppins', sans-serif; font-size: 1.3rem; color: var(--gold); }
.hero-trust span { color: var(--muted); font-size: .85rem; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid var(--border);
  border-radius: 20px;
  position: relative;
}
.scroll-cue span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%,100% { opacity: 1; top: 6px; } 50% { opacity: .3; top: 16px; } }

/* ===== Sobre ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-copy h2 { margin-bottom: 20px; }
.about-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
}
.about-list li::before {
  content: '✺';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}
.glow-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #141833, #0b0d1c);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.glow-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.glow-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #07091400 40%, #070914ee 95%);
  z-index: 1;
}
.mini-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; mix-blend-mode: screen; }
.glow-card p {
  position: relative; z-index: 2;
  font-weight: 600;
  background: #000000aa;
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* ===== Serviços ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.service-card {
  background: linear-gradient(160deg, #12152b, #0b0d1c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #ffb62755;
  box-shadow: 0 20px 40px -24px #ffb62755;
}
.service-icon { font-size: 2.1rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; }

/* ===== Diferenciais ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.diff-item {
  padding: 28px 22px;
  border-left: 2px solid var(--border);
}
.diff-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.diff-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.diff-item p { color: var(--muted); font-size: .92rem; }

.process-strip {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: #ffffff08;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  font-size: .92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.process-step span {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: #1a0a00;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Galeria ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1030, #0b0d1c 60%);
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.ph::before {
  content: '✺';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  opacity: .25;
  background: linear-gradient(90deg, var(--gold), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: #000000aa;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Reels (Instagram embeds) ===== */
.reels-heading { margin-top: 64px; }
.reels-title { margin-bottom: 34px; }
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  justify-items: center;
}
.reels-grid iframe { border-radius: var(--radius) !important; }
.instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 400px !important;
}
.reel-video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0b0d1c;
}

/* ===== CTA banner ===== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #2a1500, var(--bg) 70%);
}
#ctaCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-banner p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

/* ===== Contato ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff08;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
a.contact-card:hover { border-color: #ffb62766; transform: translateX(4px); }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card span { color: var(--muted); font-size: .88rem; }
.contact-icon { font-size: 1.4rem; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--border);
  filter: grayscale(.2) contrast(1.1);
}

/* ===== Footer ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-img { height: 56px; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: .9rem; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 14px; align-items: flex-start; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ffffff0d;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--gold); color: #1a0a00; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

/* ===== Floating WhatsApp ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  color: #06130a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -6px #25d366aa;
  z-index: 90;
  animation: floatPulse 2.6s infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 28px -6px #25d366aa; }
  50% { box-shadow: 0 10px 28px -2px #25d366ff; }
}

/* ===== Noise overlay ===== */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  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");
  mix-blend-mode: overlay;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid, .process-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #0a0c18f2;
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .btn-nav { order: 10; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards-grid, .diff-grid, .process-strip, .gallery-grid, .reels-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero-trust { gap: 28px; }
}
