/* ============================================
   MOV IN REC — CSS Principal
   Identidade Visual Oficial
   Paleta: #000000 | Gradiente #5A1FBF→#34C3FD→#F064FF | #f4f4f4
   Tipografia: Clash Grotesk (principal) + Montserrat (apoio)
   ============================================ */

/* --- Google Fonts (Montserrat como apoio) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400&display=swap');

/* --- Clash Grotesk via Fontshare --- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@200,300,400,500,600,700&display=swap');

/* ============================================
   CSS VARIABLES — Identidade Oficial
   ============================================ */
:root {
  /* Cores principais */
  --black:         #000000;
  --cultured:      #f4f4f4;
  --white:         #ffffff;

  /* Gradiente oficial: #5A1FBF → #34C3FD → #F064FF */
  --grad-start:    #5A1FBF;
  --grad-mid:      #34C3FD;
  --grad-end:      #F064FF;
  --gradient:      linear-gradient(135deg, #5A1FBF 0%, #34C3FD 50%, #F064FF 100%);
  --gradient-h:    linear-gradient(90deg, #5A1FBF 0%, #34C3FD 50%, #F064FF 100%);
  --gradient-text: linear-gradient(90deg, #5A1FBF, #34C3FD, #F064FF);

  /* Superfícies */
  --surface:       #0a0a0a;
  --surface-2:     #111111;
  --surface-3:     #1a1a1a;
  --surface-4:     #222222;
  --border:        rgba(255,255,255,0.08);
  --border-grad:   rgba(52,195,253,0.25);

  /* Tipografia */
  --font-primary:  'Clash Grotesk', 'Montserrat', sans-serif;
  --font-support:  'Montserrat', sans-serif;

  /* Espaçamentos */
  --nav-h:         72px;
  --section-py:    100px;
  --radius:        4px;
  --radius-lg:     12px;

  /* Transições */
  --trans:         0.3s ease;
  --trans-slow:    0.6s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--black);
  color: var(--cultured);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; line-height: 1.75; color: rgba(244,244,244,0.75); }

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

.text-white { color: var(--white) !important; -webkit-text-fill-color: var(--white) !important; }
.text-cultured { color: var(--cultured); }
.text-muted { color: rgba(244,244,244,0.5); }
.text-center { text-align: center; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ============================================
   GRADIENTE UTILITÁRIO
   ============================================ */
.grad-bg { background: var(--gradient); }
.grad-border {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.grad-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient);
  z-index: -1;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.98);
  border-bottom-color: rgba(52,195,253,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo na navbar */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.7);
  position: relative;
  transition: color var(--trans);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient-h);
  transition: width var(--trans);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Idioma toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 6px;
}

.lang-btn {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 16px;
  color: rgba(244,244,244,0.5);
  transition: all var(--trans);
}

.lang-btn.active {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 12px rgba(240,100,255,0.3);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cultured);
  border-radius: 2px;
  transition: var(--trans);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(0,0,0,0.98);
  border-bottom: 1px solid var(--border);
  padding: 28px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
}

.nav-mobile a {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cultured);
  letter-spacing: 0.05em;
  transition: var(--trans);
}

.nav-mobile a:hover { color: var(--grad-mid); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--trans);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 30px rgba(240,100,255,0.4), 0 0 60px rgba(52,195,253,0.2); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244,244,244,0.3);
}

.btn-outline:hover {
  border-color: var(--grad-mid);
  color: var(--grad-mid);
  box-shadow: 0 0 20px rgba(52,195,253,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--cultured);
  padding: 12px 0;
}

.btn-ghost:hover { color: var(--grad-mid); }

/* ============================================
   SEÇÃO CABEÇALHO
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
  color: var(--white);
}

.section-desc {
  max-width: 560px;
  color: rgba(244,244,244,0.65);
  font-size: 1.05rem;
}

/* Divisor gradiente */
.grad-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient);
  margin-bottom: 40px;
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.45;
}

/* Overlay gradiente conforme manual: imagem escura → logo branca */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
  z-index: 1;
}

/* Glow de marca ao fundo */
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(90,31,191,0.2) 0%, rgba(52,195,253,0.1) 40%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-logo-wrap {
  margin-bottom: 40px;
}

.hero-logo-wrap img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(52,195,253,0.3));
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grad-mid);
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(244,244,244,0.7);
  margin-bottom: 44px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cultured);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--grad-mid), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   CARROSSEL
   ============================================ */
.carousel-section {
  padding: var(--section-py) 0;
  background: var(--surface);
  overflow: hidden; /* necessário para esconder slides fora do viewport */
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  position: relative;
  background: var(--surface-2);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  /* Altura automática para fotos portrait não serem cortadas */
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

/* Coluna da foto */
.carousel-slide .slide-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-3);
}

.carousel-slide .slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 480px;
}

/* Coluna de texto */
.carousel-slide .slide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  background: var(--surface-2);
  position: relative;
  z-index: 1;
}

.carousel-slide .slide-text::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}

.carousel-slide .slide-num {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-primary);
}

.carousel-slide .slide-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.carousel-slide .slide-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.carousel-slide .slide-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244,244,244,0.6);
  margin-bottom: 32px;
}

.carousel-slide .slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grad-mid);
  transition: gap var(--trans), color var(--trans);
}

.carousel-slide .slide-cta:hover {
  gap: 14px;
  color: var(--grad-end);
}

/* Layout mobile: foto em cima, texto embaixo */
@media (max-width: 768px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: unset;
  }
  .carousel-slide .slide-img-wrap img {
    min-height: 340px;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
  }
  .carousel-slide .slide-text {
    padding: 32px 28px;
  }
  .carousel-slide .slide-num { font-size: 3rem; }
}

/* caption antigo desativado — substituído pelo layout grid */
.carousel-caption { display: none; }

/* Garantir que o track-wrap oculte corretamente slides fora da tela */
.carousel-track-wrap { overflow: hidden; }
.carousel-track { width: 100%; }

/* Overlay sobre slide: fundo escuro → logo branca (regra do manual) */
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.carousel-caption h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.carousel-caption p {
  font-size: 0.9rem;
  color: rgba(244,244,244,0.7);
}

/* Controles */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,244,244,0.25);
  cursor: pointer;
  transition: all var(--trans);
}

.dot.active {
  background: var(--grad-mid);
  box-shadow: 0 0 10px rgba(52,195,253,0.5);
  width: 24px;
  border-radius: 4px;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--trans);
}

.carousel-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(52,195,253,0.3);
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-slow);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-grad);
  box-shadow: 0 20px 60px rgba(52,195,253,0.1);
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--trans-slow);
}

.card:hover .card-img { transform: scale(1.04); }

.card-body {
  padding: 24px;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grad-mid);
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.card-text { font-size: 0.9rem; line-height: 1.7; }

/* Card de serviço (sem imagem) */
.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--trans);
}

.service-card:hover { transform: translateY(-6px); border-color: var(--border-grad); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ============================================
   STATS / NÚMEROS
   ============================================ */
.stats-strip {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.5);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   GALERIA — MASONRY GRID
   ============================================ */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--black);
}

.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(244,244,244,0.6);
  transition: all var(--trans);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 0 20px rgba(52,195,253,0.2);
}

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.gallery-overlay .zoom-icon {
  font-size: 2rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.45); }
.gallery-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; } }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 0 80px rgba(52,195,253,0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--cultured);
  cursor: pointer;
  transition: color var(--trans);
  line-height: 1;
}

.lightbox-close:hover { color: var(--grad-mid); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--cultured);
  cursor: pointer;
  padding: 16px;
  transition: color var(--trans);
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
}

.lightbox-nav:hover { color: var(--grad-mid); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ============================================
   ABOUT — SPLIT LAYOUT
   ============================================ */
.split-section {
  padding: var(--section-py) 0;
}

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

.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

.split-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}

/* Frame decorativo gradiente */
.split-img-frame {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: var(--gradient);
  z-index: -1;
  opacity: 0.5;
}

.split-content { display: flex; flex-direction: column; gap: 24px; }
.split-content .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reverse { direction: ltr; }
  .split-img { height: 380px; }
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */
.form-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grad-mid); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; color: var(--cultured); margin: 0; }

/* Form */
.form-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--grad-mid);
  box-shadow: 0 0 0 3px rgba(52,195,253,0.1);
}

.form-group select option { background: var(--surface-3); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; font-size: 0.88rem; padding: 16px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   MAPA
   ============================================ */
.map-section {
  height: 400px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  filter: grayscale(1) contrast(1.1);
  opacity: 0.8;
}

.map-section iframe {
  width: 100%; height: 100%;
  border: none;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section { padding: var(--section-py) 0; background: var(--black); }

.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--trans);
}

.faq-item.open { border-color: var(--border-grad); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cultured);
  gap: 16px;
}

.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--grad-mid);
  transition: transform var(--trans);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244,244,244,0.65);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================
   PROCESSO / STEPS
   ============================================ */
.process-section { padding: var(--section-py) 0; background: var(--surface); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-h);
  opacity: 0.3;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
}

.step-num::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
}

.step h4 { font-size: 1rem; color: var(--white); font-weight: 600; }
.step p { font-size: 0.88rem; line-height: 1.65; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-slow);
}

.team-card:hover { transform: translateY(-6px); border-color: var(--border-grad); }

.team-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================
   PAGE HERO (páginas internas)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.3;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.5) 100%),
              linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
}

.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(90,31,191,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244,244,244,0.5);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(244,244,244,0.6);
  transition: all var(--trans);
}

.footer-social a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 0 16px rgba(240,100,255,0.3);
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.4);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.9rem;
  color: rgba(244,244,244,0.6);
  transition: color var(--trans);
}

.footer-col a:hover { color: var(--grad-mid); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(244,244,244,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--grad-mid); }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float a {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--trans);
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 1500;
  background: var(--surface-2);
  border: 1px solid var(--border-grad);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  max-width: 300px;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================
   UTILITÁRIOS
   ============================================ */
.section-pad { padding: var(--section-py) 0; }
.bg-surface { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.bg-black { background: var(--black); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.hidden { display: none !important; }

/* ============================================
   RESPONSIVE GERAL
   ============================================ */
@media (max-width: 640px) {
  :root { --section-py: 64px; }
  h1 { font-size: 2.4rem; }
  .carousel-slide { height: 360px; }
  .hero-logo-wrap img { height: 40px; }
}

/* ============================================================
   FALLBACK VISUAL PARA IMAGENS EXTERNAS
   Usado quando tokens das imagens expiram
   ============================================================ */
.hero-img,
.page-hero-img {
  background: linear-gradient(160deg, #0a0a0a 0%, #120820 50%, #0a1520 100%);
}

.carousel-slide img,
.card-img,
.split-img,
.team-img,
.gallery-item img {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
}

/* Keyframe adicional para galeria */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
