/* ============================================
   Andv Desenvolvimento Web — Design System
   Dark + Gold Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Variables ---- */
:root {
  --green:        #e8a800;
  --green-dim:    rgba(232, 168, 0, 0.12);
  --green-border: rgba(232, 168, 0, 0.22);
  --bg:           #0a0907;
  --bg-card:      #13100a;
  --bg-surface:   #1a1610;
  --text:         #ffffff;
  --text-muted:   rgba(255,255,255,0.58);
  --text-dim:     rgba(255,255,255,0.35);
  --radius:       16px;
  --radius-lg:    24px;
  --shadow-green: 0 8px 40px rgba(232, 168, 0, 0.2);
}

/* ============================================
   BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  background: var(--bg);
  z-index: 99999;
}
.preloader span { background: var(--green) !important; }

/* ============================================
   REUSABLE
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 540px;
}

/* Green accent word */
.accent { color: var(--green); }

/* Section padding */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* divider */
.g-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border), transparent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-g {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #0a0700;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 28px rgba(232,168,0,0.3);
}
.btn-primary-g:hover {
  background: #ffbe00;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(232,168,0,0.45);
  color: #0a0700;
}

.btn-outline-g {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-g:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
}

/* ============================================
   NAVBAR
   ============================================ */
header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 16px 0;
  background: transparent;
}

header.nav-scrolled {
  background: rgba(10,9,7,0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--green-border), 0 4px 30px rgba(0,0,0,0.4);
  padding: 10px 0;
}

/* logo */
header .navbar a img {
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(232,168,0,0.5));
  transition: filter 0.3s ease;
}
header.nav-scrolled .navbar a img {
  filter: brightness(1.15) drop-shadow(0 0 14px rgba(232,168,0,0.7));
}

/* nav links */
header .nav-link {
  color: rgba(255,255,255,0.78) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}
header .nav-link:hover,
header .nav-item.active .nav-link {
  color: var(--green) !important;
  background: var(--green-dim);
}

/* CTA button in navbar */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #0a0700 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-left: 8px;
}
.nav-cta:hover {
  background: #ffbe00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,168,0,0.4);
  color: #0a0700 !important;
}

header .navbar-icon {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.8);
  margin: 5px 0;
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
#home {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
}

/* Grid dot pattern */
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232,168,0,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Green glow orb */
#home::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,168,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: var(--green);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dotBlink 1.5s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,168,0,0.09) 0%, transparent 70%);
}

.hero-visual-card img {
  border-radius: 12px;
  width: 100%;
  animation: imgFloat 5s ease-in-out infinite;
}
@keyframes imgFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Tech tags floating */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  padding: 5px 12px;
  border-radius: 6px;
  margin: 4px;
}

.hero-tags { margin-top: 20px; }

/* Floating mini-card */
.hero-mini-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--green-border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  animation: cardFloat 4s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}
.hero-mini-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-mini-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.hero-mini-card-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.hero-mini-card-1 { bottom: 20px; left: -30px; }
.hero-mini-card-2 {
  top: 20px; right: -20px;
  animation-delay: 1.5s;
  animation-direction: reverse;
}

/* ============================================
   LOGOS STRIP
   ============================================ */
.logos-strip {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.logos-strip-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.logos-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}
.logos-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.logos-track img:hover { opacity: 0.8; }

@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--bg); }

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow-green);
}

.about-badge-float {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}
.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.about-badge-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.about-badge-lbl {
  font-size: 12px;
  color: var(--text-dim);
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.about-feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232,168,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.service-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 0 1px var(--green-border);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tag {
  font-size: 12px;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}
/* connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border), var(--green-border), transparent);
}

.process-step {
  text-align: center;
  padding: 20px 16px;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  position: relative;
}
.process-step:hover .process-num {
  background: var(--green-dim);
  border-color: var(--green);
  box-shadow: 0 0 0 6px rgba(232,168,0,0.08);
}

.process-icon { font-size: 30px; }

.process-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.process-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--bg-card);
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-card {
  text-align: center;
  padding: 20px;
}
.stat-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.stat-number {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

/* ============================================
   CLIENTS SECTION (Swiper)
   ============================================ */
.clients-section {
  background: var(--bg);
  padding: 80px 0;
}

/* restyle the existing andv slider to match */
.bg-shape {
  background-image: linear-gradient(-45deg, #1a1408 0%, #0d0b05 100%) !important;
}

.product-slider__cart {
  background-image: linear-gradient(-45deg, #e8a800 0%, #c48a00 100%) !important;
  color: #0a0700 !important;
  box-shadow: 0 7px 30px rgba(232,168,0,0.3) !important;
  font-weight: 700 !important;
}

.next, .prev {
  background: var(--bg-card) !important;
  border: 1px solid var(--green-border) !important;
  color: var(--green) !important;
}
.next:hover, .prev:hover {
  background: var(--green-dim) !important;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-card);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232,168,0,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232,168,0,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner .section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  margin-bottom: 20px;
}

.cta-inner .section-desc {
  margin: 0 auto 44px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}
.cta-btn-wa:hover {
  background: #20c05c;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(37,211,102,0.4);
  color: #fff;
}

.cta-btn-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dim);
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 50px;
  border: 1px solid var(--green-border);
  transition: all 0.3s ease;
}
.cta-btn-email:hover {
  background: rgba(232,168,0,0.2);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #070604 !important;
  padding: 36px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo img {
  height: 36px;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(232,168,0,0.5));
}

.footer-copy {
  text-align: center;
  flex: 1;
}
.footer-copy p {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}
.footer-cnpj-text {
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 18px 50px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-float::before {
  content: 'Fale conosco!';
  position: absolute;
  right: 72px;
  background: rgba(3,14,9,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.whatsapp-float:hover::before { opacity: 1; }

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .process-steps {
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
  }
  .process-steps::before { display: none; }

  .hero-mini-card-1, .hero-mini-card-2 { display: none; }

  .about-badge-float { left: 10px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

@media (max-width: 767px) {
  header,
  header.transparent-menu,
  .transparent-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  #home { padding-top: 40px; }

  .section { padding: 70px 0; }

  .hero-title { font-size: 34px; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 20px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }

  .cta-inner .section-title { font-size: 28px; }

  .hero-visual { margin-top: 40px; }

  .about-badge-float { position: static; margin-top: 16px; display: inline-flex; }
}

@media (max-width: 575px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
}
