/* ==========================================================================
   SOWETO POWERED BY BUSINESSCOM NETWORKS - GLOBAL STYLES & LAYOUT (MAIN.CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');
@import url('variables.css');
@import url('components.css');
@import url('animations.css');

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Selection */
::selection {
  background: var(--accent-cyan);
  color: #FFFFFF;
}

/* Global Typography & Kinetic Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Redução Ajustada dos Títulos H1 e H2 */
h1 {
  font-size: clamp(1.8rem, 3.2vw + 0.5rem, 2.75rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.45rem);
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 4rem;
  text-align: left;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-title,
.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.section-title {
  max-width: 850px;
  font-size: clamp(1.75rem, 2.8vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #0F172A 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #0F172A 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent-cyan);
  position: relative;
  display: inline-block;
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}