/* ============================================
   INOVASOFT - ESTILOS GLOBAIS
   ============================================ */

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

:root {
  /* Paleta de Cores */
  --azul-corporativo: #003366;
  --ciano-solucao: #00BFFF;
  --verde-sucesso: #33CC33;
  --branco-puro: #FFFFFF;
  --cinza-suave: #CCCCCC;
  --cinza-escuro: #AAAAAA;
  --fundo-claro: #F5F5F5;

  /* Tipografia */
  --font-titulo: 'Montserrat', sans-serif;
  --font-corpo: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corpo);
  color: #333;
  line-height: 1.6;
  background-color: var(--branco-puro);
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titulo);
  font-weight: 700;
  color: var(--azul-corporativo);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: var(--ciano-solucao);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--azul-corporativo);
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

header {
  background-color: var(--branco-puro);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo-section img {
  height: 40px;
  width: 40px;
}

.logo-section span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--azul-corporativo);
  font-family: var(--font-titulo);
}

.nav-menu {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--branco-puro);
  border-top: 1px solid var(--cinza-suave);
  padding: 1rem;
  gap: 1rem;
}

.nav-menu a {
  color: var(--azul-corporativo);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--ciano-solucao);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background-color: transparent;
    border-top: none;
    padding: 0;
    gap: 2rem;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.4rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--azul-corporativo);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-titulo);
}

.btn-primary {
  background-color: var(--verde-sucesso);
  color: white;
}

.btn-primary:hover {
  background-color: #2BB82B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 204, 51, 0.3);
}

.btn-secondary {
  background-color: var(--azul-corporativo);
  color: white;
}

.btn-secondary:hover {
  background-color: #002244;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--azul-corporativo) 0%, #001F4D 100%);
  color: white;
  padding: 5rem 0;
  text-align: left;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* ============================================
   SEÇÕES
   ============================================ */

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--azul-corporativo);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--ciano-solucao);
  margin-bottom: 2rem;
  text-align: center;
}

.bg-light {
  background-color: var(--fundo-claro);
}

.bg-primary {
  background-color: var(--azul-corporativo);
  color: white;
}

.bg-primary h2,
.bg-primary h3 {
  color: white;
}

.bg-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--ciano-solucao);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  margin: 1rem 0;
}

.card li {
  padding: 0.5rem 0;
  color: #666;
}

.card li:before {
  content: "✓ ";
  color: var(--verde-sucesso);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ============================================
   GRID
   ============================================ */

.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

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

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

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

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

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

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

/* ============================================
   FORMULÁRIO
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--azul-corporativo);
  font-family: var(--font-titulo);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--cinza-suave);
  border-radius: 0.5rem;
  font-family: var(--font-corpo);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ciano-solucao);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--azul-corporativo);
  color: white;
  padding: 3rem 0 1rem;
}

footer h4 {
  color: white;
  margin-bottom: 1rem;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--ciano-solucao);
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2rem;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

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

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-4 {
  gap: 2rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }
}