/* =============================================
   GREENLIGHT MONTADORA DE STANDS — style.css
   ============================================= */

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

:root {
  --green:   #39ff14;
  --green-d: #22cc00;
  --dark:    #0a0d0a;
  --dark2:   #111711;
  --dark3:   #1a211a;
  --soft:    #f5f7f4;
  --text:    #e8ede8;
  --muted:   #8a9e8a;
  --white:   #ffffff;
  --radius:  12px;
  --gap:     clamp(1rem, 3vw, 2rem);
  --max-w:   1200px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--green-d); border-radius: 3px; }

/* ===================== NAV ===================== */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  background: transparent;
  transition: background .35s, backdrop-filter .35s;
}
.topnav.scrolled {
  background: rgba(10,13,10,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57,255,20,.12);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: 1.2rem; color: var(--white);
  flex-shrink: 0;
}
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand em { color: var(--green); font-style: normal; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.75);
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem;
  background: var(--green); color: var(--dark);
  border-radius: 999px; font-size: .8rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--green-d); transform: translateY(-1px); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.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; height: 100svh; min-height: 580px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,30,0,.6) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 760px; padding: 0 clamp(1rem, 5vw, 3rem);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); margin-bottom: .9rem;
}
.eyebrow.dark { color: var(--green-d); }
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--green); }
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center;
  padding: .85rem 1.8rem;
  background: var(--green); color: var(--dark);
  border-radius: 999px; font-weight: 800; font-size: .95rem;
  letter-spacing: .02em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 0 0 rgba(57,255,20,0);
}
.btn-primary:hover {
  background: var(--green-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(57,255,20,.35);
}
.btn-primary.large { padding: 1rem 2.4rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: .85rem 1.8rem;
  border: 2px solid rgba(255,255,255,.4); color: var(--white);
  border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
}
.scroll-cue span {
  display: block; width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.4); border-radius: 12px;
  position: relative;
}
.scroll-cue span::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--green); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{opacity:1;top:6px} 80%{opacity:0;top:20px} }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

.dark-section { background: var(--dark2); }
.soft-section  { background: var(--soft); color: #1a1a1a; }
.soft-section .eyebrow.dark { color: var(--green-d); }

.section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1.2rem; color: var(--white);
}
.section h2.light { color: var(--white); }
.soft-section h2 { color: #111; }

.section-lead {
  font-size: 1.05rem; color: var(--muted); margin-bottom: 2.5rem;
  max-width: 580px;
}
.soft-section .section-lead { color: #555; }

/* ===================== ABOUT ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-text .lead {
  font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem;
}
.soft-section .about-text .lead { color: #444; }

.stat-row { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-head); font-size: 2.2rem;
  color: var(--green); line-height: 1;
}
.stat span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.badge-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.abeoc-badge { width: 132px; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.35); flex-shrink: 0; }
.badge-row p { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.badge-row strong { color: var(--text); }

.about-media img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* ===================== SERVIÇOS ===================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.service-card {
  background: var(--dark3);
  border: 1px solid rgba(57,255,20,.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(57,255,20,.12);
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(57,255,20,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--green);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ===================== PORTFÓLIO — galeria ===================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}
.photo-card {
  position: relative; overflow: hidden;
  border-radius: 8px; cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--dark3);
}
.photo-card.wide { grid-column: span 2; aspect-ratio: 16/9; }
.photo-card.tall { grid-row: span 2; aspect-ratio: auto; }

.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.photo-card:hover::after { background: rgba(0,0,0,.18); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(92vw, 1080px); max-height: 88vh;
  border-radius: 8px; object-fit: contain;
  box-shadow: 0 0 60px rgba(0,0,0,.8);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2.2rem;
  cursor: pointer; line-height: 1; padding: .25rem;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; padding: .6rem .9rem;
  border-radius: 8px; transition: background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(57,255,20,.3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* video hero do portfólio */
.portfolio-video-wrap {
  margin-top: 2.5rem; margin-bottom: 1rem;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; background: #000;
}
.portfolio-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}

/* ===================== INSTAGRAM LINK ===================== */
.insta-link {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 2.5rem;
  font-weight: 700; font-size: .9rem;
  color: var(--green); letter-spacing: .04em;
  transition: color .2s;
}
.insta-link:hover { color: var(--green-d); }
.insta-link svg { width: 20px; height: 20px; }

/* ===================== PROCESSO ===================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
  counter-reset: none;
}
.process-step {
  position: relative; padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.6rem; font-weight: 600;
  color: var(--green-d); line-height: 1;
  margin-bottom: .8rem;
}
.process-step h3 { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: .5rem; }
.process-step p { font-size: .875rem; color: #555; line-height: 1.6; }

/* ===================== FOOTER / CONTATO ===================== */
.closing {
  background: var(--dark2);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(57,255,20,.1);
}
.closing-inner { text-align: center; }
.closing h2 { color: var(--white); margin-bottom: .8rem; }
.closing-lead { color: var(--muted); margin-bottom: 2.5rem; }

.contact-grid {
  display: flex; justify-content: center; gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap; margin-top: 3rem; margin-bottom: 3rem;
}
.contact-grid > div { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.contact-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--green); }
.contact-grid a, .contact-grid span { font-size: .95rem; color: var(--text); transition: color .2s; }
.contact-grid a:hover { color: var(--green); }

.signature {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.signature img { width: 48px; height: 48px; object-fit: contain; }
.signature div { display: flex; flex-direction: column; text-align: left; }
.signature strong { color: var(--white); font-size: .95rem; }
.signature span { font-size: .8rem; color: var(--muted); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-group .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .3s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-card.wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,13,10,.97);
    padding: 1.5rem clamp(1rem,4vw,2rem);
    border-bottom: 1px solid rgba(57,255,20,.15); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-card.wide { grid-column: span 2; }
  .photo-card.tall { grid-row: auto; aspect-ratio: 1; }
  .contact-grid { gap: 1.5rem; }
}
@media (max-width: 400px) {
  .photo-grid { grid-template-columns: 1fr 1fr; gap: .4rem; }
}
