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

:root {
  --bg-dark:       #0d0d0d;
  --bg-dark2:      #111111;
  --bg-dark3:      #161616;
  --bg-card:       #1a1a1a;
  --bg-card-hover: #222222;
  --border:        #2a2a2a;
  --text-primary:  #f0f0f0;
  --text-secondary:#a0a0a0;
  --text-muted:    #666666;
  --green:         #25D366;
  --green-dark:    #1da851;
  --green-glow:    rgba(37, 211, 102, 0.35);
  --green-glow2:   rgba(37, 211, 102, 0.15);
  --accent:        #25D366;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-green:  0 0 30px rgba(37,211,102,0.25);
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 16px; }

.highlight { color: var(--green); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--green-glow);
}

.btn-whatsapp.nav-btn  { padding: 10px 22px; font-size: 0.9rem; }
.btn-whatsapp.btn-lg   { padding: 16px 36px; font-size: 1.05rem; }
.btn-whatsapp.btn-xl   { padding: 20px 44px; font-size: 1.15rem; }
.btn-whatsapp.btn-sm   { padding: 10px 20px; font-size: 0.85rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border: 2px solid var(--border);
  color: var(--text-secondary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Pulse animation */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.pulse { animation: pulse-ring 2.2s infinite; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}
.logo-icon { color: var(--green); font-size: 0.7rem; }
.logo-text strong { color: var(--green); }

/* Logo image */
.logo-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.footer-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 4px;
}

/* Mobile: manter tamanho original */
@media (max-width: 768px) {
  .logo-img {
    height: 44px;
    width: 44px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.6) 60%, rgba(13,13,13,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  margin: 0 auto;
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0; transform: scaleY(0.5) translateY(-10px); }
  50% { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-icon { font-size: 1.1rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-dark  { background: var(--bg-dark);  padding: 100px 0; }
.section-dark2 { background: var(--bg-dark2); padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: rgba(37,211,102,0.4);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--green-glow2);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; color: var(--text-primary); }
.card p  { color: var(--text-secondary); font-size: 0.95rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #0a1a0f 0%, #0d1a10 50%, #0a1a0f 100%);
  border-top: 1px solid rgba(37,211,102,0.15);
  border-bottom: 1px solid rgba(37,211,102,0.15);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-text h2 { margin-bottom: 12px; }
.cta-text p  { color: var(--text-secondary); max-width: 480px; }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  transition: border-color var(--transition), transform var(--transition);
}
.step:hover { border-color: rgba(37,211,102,0.4); transform: translateY(-4px); }

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}
.step h3 { margin-bottom: 10px; }
.step p  { color: var(--text-secondary); font-size: 0.9rem; }

.step-arrow {
  font-size: 2rem;
  color: var(--green);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--bg-dark3); padding: 80px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.75) saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.85) saturate(1);
}
.gallery-main { min-height: 500px; }
.gallery-col .gallery-item { min-height: 235px; }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 28px 24px 20px;
}
.gallery-caption h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gallery-caption p  { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--bg-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p  { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.05rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: rgba(37,211,102,0.4); transform: translateY(-4px); }
.contact-icon { font-size: 2.4rem; margin-bottom: 14px; }
.contact-card h3 { margin-bottom: 10px; }
.contact-card a, .contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 320px;
}

/* ===== FOOTER COLLAPSIBLE SECTIONS ===== */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}

.footer-toggle:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(37, 211, 102, 0.08);
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.footer-toggle.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.footer-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.footer-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.footer-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-content a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-content a:hover {
  color: var(--green);
}

.company-info li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.company-info strong {
  color: var(--text-primary);
}

.company-info a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.company-info a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover {
  background: var(--green-dark);
  transform: scale(1.1);
}
.whatsapp-float:hover .float-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

.float-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { min-height: 320px; }
  .gallery-col .gallery-item { min-height: 220px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 600px) {
  .hero-content { padding: 60px 0; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .trust-items { gap: 16px; }
  .trust-item { font-size: 0.8rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
}
