/* ==========================================================================
   SITE INSTITUCIONAL V0.1 — GRUPO COMPETITIVA
   Domínio: grupocompetitiva.com.br
   ========================================================================== */

:root {
  /* Cores Institucionais */
  --navy-900: #030C1C;
  --navy-800: #061630;
  --navy-700: #0B1E3D;
  --navy-600: #122B52;

  --orange-500: #E85A0C;
  --orange-600: #D44F08;
  --orange-100: #FFF3EB;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 20px rgba(6, 22, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 22, 48, 0.12);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--gray-50);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   BARRA SUPERIOR INSTITUCIONAL (HEADER)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(6, 22, 48, 0.05);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.brand-tag-sub {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  text-transform: uppercase;
  border-left: 2px solid var(--gray-300);
  padding-left: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange-500);
}

/* Menu Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   HERO / BANNER DE APRESENTAÇÃO BREVE
   -------------------------------------------------------------------------- */
.institutional-hero {
  background: radial-gradient(circle at 80% 20%, #122B52 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  color: var(--white);
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: rgba(232, 90, 12, 0.12);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 90, 12, 0.3);
}

.institutional-hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.institutional-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CARDS DE CHAMADA (PROGRAMAS E DIAGNÓSTICO)
   -------------------------------------------------------------------------- */
.solutions-section {
  padding: 70px 0 90px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 90, 12, 0.35);
}

.card-header-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  background: var(--orange-100);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.15rem;
  align-self: flex-start;
}

.solution-card h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.solution-card p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Botões com igual destaque */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--orange-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 90, 12, 0.3);
}

.btn-primary:hover {
  background-color: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 90, 12, 0.4);
}

/* --------------------------------------------------------------------------
   RODAPÉ INSTITUCIONAL (PADRÃO COMPETITIVA)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 50px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav-link:hover {
  color: var(--orange-500);
}

.footer-legal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-tech-signature {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

.tech-signature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tech-text-white {
  color: var(--white);
}

.tech-text-orange {
  color: var(--orange-500);
  font-weight: 700;
}

/* Responsividade Mobile */
@media (max-width: 868px) {
  .header-container {
    height: 74px;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .main-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .institutional-hero h1 {
    font-size: 2.15rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 1.75rem 1.5rem;
  }

  .footer-top, .footer-legal-bottom {
    flex-direction: column;
    text-align: center;
  }
}
