/* ===================================================================
   BLUE SOLUÇÕES CORPORATIVAS · Site Institucional
   Estética: corporate consultoria, cream-dominant, editorial sóbrio
   Inspiração: aioxsquad (typography massive + brackets) adaptada
   pra paleta Blue (navy + laranja + cream), com tom autoridade B2B
   =================================================================== */

:root {
  --bg:            #FAF7F2;
  --bg-soft:       #F5EFE6;
  --bg-card:       #FFFFFF;
  --ink:           #0E2241;
  --ink-soft:      #1F3050;
  --ink-mute:      #5B6477;
  --ink-faint:     #9AA3B2;
  --accent:        #FF7A1A;
  --accent-deep:   #D85015;
  --accent-soft:   rgba(255, 122, 26, 0.08);
  --dark-band:     #0E2241;
  --dark-band-2:   #061632;
  --on-dark:       #FAF7F2;
  --on-dark-mute:  rgba(250, 247, 242, 0.72);
  --hairline:      rgba(14, 34, 65, 0.10);
  --hairline-dark: rgba(255, 255, 255, 0.12);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
}

/* Display headings em Fraunces (serif refinada) */
.font-display {
  font-family: 'Fraunces', 'Tiempos Headline', Georgia, serif;
  letter-spacing: -0.02em;
}

/* Mono pra eyebrows e labels técnicos */
.font-mono {
  font-family: 'JetBrains Mono', 'Geist Mono', ui-monospace, monospace;
}

/* Bracket label estilo aioxsquad ([15] anos · [+50] empresas) */
.bracket-stat {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

/* Grid texture sutil pra hero */
.bg-grid {
  background-image:
    linear-gradient(rgba(14, 34, 65, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 34, 65, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.bg-grid-dark {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Fade in animation */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  opacity: 0;
  animation: fade-in-up 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Pill CTA primary (laranja) */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  border: none;
  cursor: pointer;
}
.cta-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(14, 34, 65, 0.30);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  transition: border-color 220ms ease, background 220ms ease;
}
.cta-secondary:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

/* Card lift refined */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  position: relative;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--accent) !important;
  box-shadow: 0 16px 50px -16px rgba(255, 122, 26, 0.20);
}

/* Number stamp pros pilares (estilo editorial) */
.num-stamp {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Outline text huge (footer signature) */
.text-stroke {
  -webkit-text-stroke: 1px rgba(14, 34, 65, 0.12);
  color: transparent;
}

/* Section padding rhythm (96px standard, 64px mobile) */
.section-y { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 768px) {
  .section-y { padding-top: 64px; padding-bottom: 64px; }
}

/* Selection accent */
::selection {
  background: var(--accent);
  color: var(--on-dark);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { opacity: 1; transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-hover:hover { transform: none; }
}
