/* === VARIÁVEIS CSS === */
:root {
  /* Cores principais */
  --laranja:        #FF3613;
  --laranja-hover:  #E02D0F;
  --laranja-glow:   rgba(255, 54, 19, 0.3);
  --azul-escuro:    #0A1A42;
  --azul-medio:     #0D2154;
  --branco:         #FFFFFF;
  --branco-suave:   #F8F8F8;
  --cinza-claro:    #F0F0F0;

  /* Textos */
  --texto-escuro:   #0A1A42;
  --texto-medio:    #334155;
  --texto-claro:    rgba(255, 255, 255, 0.85);
  --texto-muted:    rgba(255, 255, 255, 0.55);

  /* Bordas */
  --borda-escura:   rgba(255, 255, 255, 0.08);
  --borda-clara:    rgba(10, 26, 66, 0.12);

  /* Partículas e brilhos */
  --faísca-1:       #FF3613;
  --faísca-2:       #FF6B35;
  --faísca-3:       #FFB347;
  --faísca-4:       #FFF0A0;

  /* Containers */
  --container:      1140px;
  --container-sm:   820px;

  /* Espaçamentos */
  --secao-padding:  7rem 0;
  --secao-padding-sm: 4rem 0;

  /* Bordas arredondadas */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;

  /* Transições */
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sombras */
  --sombra-sm:      0 2px 8px rgba(0,0,0,0.15);
  --sombra-md:      0 8px 32px rgba(0,0,0,0.25);
  --sombra-lg:      0 24px 64px rgba(0,0,0,0.35);
  --sombra-laranja: 0 8px 32px rgba(255, 54, 19, 0.4);
  --sombra-laranja-lg: 0 16px 48px rgba(255, 54, 19, 0.5);
}

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

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

body {
  font-family: 'Barlow', sans-serif;
  color: var(--texto-escuro);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* === CONTAINER === */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.container-sm {
  width: 90%;
  max-width: var(--container-sm);
  margin: 0 auto;
}

/* === SEÇÕES === */
.secao {
  padding: var(--secao-padding);
  position: relative;
}

.secao-escura {
  background: var(--azul-escuro);
  color: var(--branco);
}

.secao-escura p {
  color: var(--texto-claro);
}

.secao-clara {
  background: var(--branco);
  color: var(--texto-escuro);
}

.secao-suave {
  background: var(--branco-suave);
  color: var(--texto-escuro);
}

.secao-laranja {
  background: var(--laranja);
  color: var(--branco);
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
}

/* === BOTÕES === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primario {
  background: var(--laranja);
  color: var(--branco);
  box-shadow: var(--sombra-laranja);
}

.btn-primario:hover {
  background: var(--laranja-hover);
  box-shadow: var(--sombra-laranja-lg);
  transform: translateY(-2px);
}

.btn-primario:active {
  transform: scale(0.97);
}

.btn-secundario {
  background: transparent;
  color: var(--laranja);
  border-color: var(--laranja);
}

.btn-secundario:hover {
  background: var(--laranja);
  color: var(--branco);
  box-shadow: var(--sombra-laranja);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-grande {
  font-size: 1.15rem;
  padding: 1.25rem 3rem;
}

/* === LABEL / BADGE === */
.label-secao {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laranja);
  background: rgba(255, 54, 19, 0.1);
  border: 1px solid rgba(255, 54, 19, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.secao-escura .label-secao {
  background: rgba(255, 54, 19, 0.15);
  border-color: rgba(255, 54, 19, 0.35);
}

/* === DIVISOR DE SEÇÃO === */
.divisor-faísca {
  width: 60px;
  height: 3px;
  background: var(--laranja);
  margin: 1.5rem 0;
  position: relative;
  overflow: visible;
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
