/* ============================================
   SIMPLILOG - IDENTIDADE VISUAL OFICIAL
   Cores: Preto #0A0A0A | Amarelo #FFC220 | Branco #FFFFFF
   ============================================ */

:root {
  --black: #0A0A0A;
  --black-light: #111111;
  --black-card: #161616;
  --black-border: #222222;
  --yellow: #FFC220;
  --yellow-dark: #E5A800;
  --yellow-light: #FFD45A;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #A0A0A0;
  --gray-600: #666666;
  --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
  --gradient-yellow: linear-gradient(135deg, #FFC220 0%, #FFD45A 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(255,194,32,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

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

/* ============ PAGE TRANSITION OVERLAY ============ */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

#page-transition.visible {
  opacity: 1;
  pointer-events: all;
}

/* Logo que aparece no overlay */
#page-transition .pt-logo {
  width: 160px;
  height: auto;
  mix-blend-mode: normal; /* fundo já é preto, sem necessidade de screen aqui */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease 0.08s, transform 0.22s ease 0.08s;
}

#page-transition.visible .pt-logo {
  opacity: 1;
  transform: translateY(0);
}

/* Barra de progresso animada */
#page-transition .pt-bar-track {
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.22s ease 0.12s;
}

#page-transition.visible .pt-bar-track {
  opacity: 1;
}

#page-transition .pt-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  border-radius: 99px;
  animation: none;
}

#page-transition.visible .pt-bar-fill {
  animation: pt-progress 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.15s;
}

@keyframes pt-progress {
  0%   { width: 0%; }
  60%  { width: 72%; }
  85%  { width: 88%; }
  100% { width: 100%; }
}

/* Fade-in da página ao chegar */
body.page-entering {
  animation: page-fade-in 0.35s ease forwards;
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.text-yellow { color: var(--yellow); }
.text-gray { color: var(--gray-400); }
.text-white { color: var(--white); }

/* ============ LAYOUT ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--black-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(255,194,32,0.12);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,194,32,0.25);
  margin-bottom: 16px;
}

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

.section-title span {
  color: var(--yellow);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,194,32,0.35);
}

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

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ============ HEADER / NAV ============ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  /*
    Logo PNG original: 300×95px, proporção ~3.16:1
    mix-blend-mode: screen elimina o fundo preto visualmente
    em qualquer fundo escuro, mantendo branco e amarelo intactos
  */
  width: 190px;
  height: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

/* Fallback logo-text (usado quando SVG falha) */
.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-name span { color: var(--yellow); }

.logo-tagline {
  font-size: 0.6rem;
  color: var(--gray-400);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
}

.nav-links .dropdown-menu a:hover {
  color: var(--yellow);
  background: rgba(255,194,32,0.08);
}

.nav-links .dropdown-menu a i {
  width: 18px;
  color: var(--yellow);
  font-size: 0.85rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

/* ============ MOBILE NAV ============ */
.mobile-nav {
  display: none;
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  padding: 16px 24px 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--gray-400);
  border-bottom: 1px solid var(--black-border);
}

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

.mobile-nav .mobile-nav-section {
  padding: 8px 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  font-weight: 700;
  margin-top: 8px;
}

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

/* Foto de fundo real — visível, não apagada */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Overlay escuro sobre a foto — garante legibilidade do texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5, 5, 5, 0.90) 0%,
    rgba(5, 5, 5, 0.75) 45%,
    rgba(5, 5, 5, 0.45) 75%,
    rgba(5, 5, 5, 0.30) 100%
  );
}

/* Grid sutil sobre o overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,194,32,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,194,32,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Container dentro do hero precisa estar acima do overlay */
#hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,194,32,0.1);
  border: 1px solid rgba(255,194,32,0.3);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge i { font-size: 0.75rem; }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title .highlight {
  color: var(--yellow);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ CLIENTS MARQUEE ============ */
#clients {
  padding: 32px 0;
  background: var(--black-light);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  margin-bottom: 20px;
  font-weight: 600;
}

.clients-track {
  display: flex;
  gap: 60px;
  overflow: hidden;
}

.clients-inner {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}

.client-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
}

.client-item:hover { color: var(--gray-400); }
.client-item i { color: var(--yellow); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============ WHO WE SERVE ============ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.serve-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.serve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.serve-card:hover::before {
  transform: scaleX(1);
}

.serve-card:hover {
  border-color: rgba(255,194,32,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.serve-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,194,32,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--yellow);
  transition: var(--transition);
}

.serve-card:hover .serve-icon {
  background: var(--yellow);
  color: var(--black);
}

.serve-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.serve-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag { margin-bottom: 16px; }

.about-text {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-locations {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,194,32,0.08);
  border: 1px solid rgba(255,194,32,0.2);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
}

.location-badge i { font-size: 0.85rem; }

.about-visual {
  position: relative;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1;
}

.about-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img:hover img { transform: scale(1.05); }

.about-img.large {
  grid-row: span 2;
}

.about-numbers {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  width: calc(100% - 24px);
  box-shadow: var(--shadow-card);
}

.about-number {
  flex: 1;
  text-align: center;
}

.about-number-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.about-number-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.about-number + .about-number {
  border-left: 1px solid var(--black-border);
}

/* ============ SOLUTIONS ============ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,194,32,0.3);
}

.solution-img {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.7;
}

.solution-card:hover .solution-img img {
  transform: scale(1.08);
  opacity: 0.9;
}

.solution-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
}

.solution-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solution-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,194,32,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

.solution-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.solution-body p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.solution-link:hover {
  gap: 10px;
}

/* ============ DIFFERENTIALS ============ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.diff-item:hover {
  border-color: rgba(255,194,32,0.25);
  transform: translateY(-3px);
}

.diff-check {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
}

.diff-text h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.diff-text p {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============ INFRASTRUCTURE ============ */
.infra-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.infra-cell {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.infra-cell.large {
  grid-row: span 2;
}

.infra-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  opacity: 0.75;
  transition: opacity 0.3s, transform 0.5s;
}

.infra-cell:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.infra-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

/* ============ CTA SECTION ============ */
#cta {
  background: linear-gradient(135deg, #111111 0%, #0A0A0A 100%);
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,194,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,194,32,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,194,32,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

/* ============ FOOTER ============ */
footer {
  background: var(--black-light);
  border-top: 1px solid var(--black-border);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--black-card);
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--yellow);
  margin-top: 2px;
  font-size: 0.875rem;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--yellow); }

/* ============ PAGE HEADER (inner pages) ============ */
.page-header {
  padding: 148px 0 80px;
  background: var(--black-light);
  border-bottom: 1px solid var(--black-border);
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,194,32,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,194,32,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--yellow); }
.breadcrumb i { font-size: 0.6rem; color: var(--gray-600); }

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============ SERVICE DETAIL ============ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--black-border);
}

.process-step:last-child { border-bottom: none; }

.step-number {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

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

.benefit-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  border-left: 3px solid var(--yellow);
}

.benefit-card:hover {
  border-color: var(--yellow);
  transform: translateX(4px);
}

.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--yellow);
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.service-cta-box {
  background: linear-gradient(135deg, rgba(255,194,32,0.08) 0%, rgba(255,194,32,0.03) 100%);
  border: 1px solid rgba(255,194,32,0.25);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.service-cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.service-cta-box p {
  color: var(--gray-400);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ============ FEATURE LIST ============ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--yellow);
  border-radius: 50%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%230A0A0A' d='M10 3L5 8.5 2 5.5l-1 1 4 4 6-7z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ INFO BOX ============ */
.info-box {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 32px;
}

.info-box h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--yellow);
}

/* ============ TWO COLUMN LAYOUT ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ============ TAG LIST ============ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(255,194,32,0.1);
  border: 1px solid rgba(255,194,32,0.2);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}

/* ============ STATS ROW ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-box {
  background: var(--black-card);
  padding: 32px 24px;
  text-align: center;
}

.stat-box .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .label {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ ICON GRID ============ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: var(--transition);
}

.icon-box:hover {
  border-color: rgba(255,194,32,0.3);
  transform: translateY(-4px);
}

.icon-box i {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 12px;
}

.icon-box h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.icon-box p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* (logo-img defined in HEADER section above) */

/* ============ SC BENEFIT CARDS ============ */
.sc-benefit-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
}

.sc-benefit-card:hover {
  border-color: rgba(255,194,32,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.sc-benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,194,32,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 14px;
  transition: var(--transition);
}

.sc-benefit-card:hover .sc-benefit-icon {
  background: var(--yellow);
  color: var(--black);
}

.sc-benefit-card h4 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sc-benefit-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============ INTEGRATION BADGE ============ */
.integration-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: var(--transition);
}

.integration-badge:hover {
  border-color: rgba(255,194,32,0.3);
  color: var(--white);
}

.integration-badge i {
  color: var(--yellow);
  font-size: 0.75rem;
}

/* ============ SC GRID RESPONSIVE ============ */
@media (max-width: 900px) {
  .sc-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ============ ORCAMENTO / SPIN SELLING ============ */
.orcamento-container {
  max-width: 760px;
  margin: 0 auto;
}

.spin-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.spin-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.spin-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black-card);
  border: 2px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: var(--transition);
  z-index: 1;
}

.spin-step.active .spin-step-dot {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.spin-step.done .spin-step-dot {
  background: rgba(255,194,32,0.2);
  border-color: var(--yellow);
  color: var(--yellow);
}

.spin-step-label {
  font-size: 0.7rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.spin-step.active .spin-step-label { color: var(--yellow); }

.spin-connector {
  width: 60px;
  height: 2px;
  background: var(--black-border);
  margin: 0 4px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.spin-connector.done { background: var(--yellow); }

.spin-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 40px;
  display: none;
}

.spin-card.active { display: block; }

.spin-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.spin-card .spin-subtitle {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 8px;
}

.form-group label span.required {
  color: var(--yellow);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  background: var(--black);
  border: 1.5px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,194,32,0.1);
}

.form-control::placeholder { color: var(--gray-600); }

.form-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  border: 1.5px solid var(--black-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  color: var(--gray-400);
}

.form-option:hover {
  border-color: rgba(255,194,32,0.4);
  color: var(--white);
}

.form-option.selected {
  border-color: var(--yellow);
  background: rgba(255,194,32,0.08);
  color: var(--white);
}

.form-option i {
  color: var(--yellow);
  font-size: 1rem;
  width: 20px;
}

.spin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--black-border);
}

.spin-counter {
  font-size: 0.82rem;
  color: var(--gray-600);
}

.success-card {
  text-align: center;
  padding: 60px 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,194,32,0.12);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--yellow);
  margin: 0 auto 24px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}

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

/* ============ SCROLL INDICATOR ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 9999;
  transition: width 0.1s;
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-numbers { position: static; transform: none; width: 100%; margin-top: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .infra-cell.large { grid-row: span 1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .logo-img { width: 160px; }
  .serve-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-number { font-size: 1.4rem; }
  .infra-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  /* Hero mobile: overlay mais escuro para legibilidade */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0.80) 0%,
      rgba(5, 5, 5, 0.70) 60%,
      rgba(5, 5, 5, 0.85) 100%
    );
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
}

@media (max-width: 480px) {
  .logo-img { width: 130px; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 1.3rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .about-numbers { flex-direction: column; gap: 16px; }
  .about-number + .about-number { border-left: none; border-top: 1px solid var(--black-border); padding-top: 16px; }
  .icon-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
