/* ========== RESET E BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #1a2a3a;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

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

/* ========== TIPOGRAFIA ========== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #0b2b44;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #0b2b44;
  border-left: 5px solid #0077b6;
  padding-left: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
  color: #1a2a3a;
}

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

/* ========== HEADER COMPLETO ========== */
header {
  background: linear-gradient(135deg, #0b2b44 0%, #0a1e30 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #0077b6;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff, #b0e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo::before {
  content: "🔧 ";
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #0077b6;
  text-shadow: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
}

nav ul li a:hover {
  color: #5bc0ff;
  border-bottom-color: #0077b6;
}

.phone-header {
  background-color: #0077b6;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.phone-header::before {
  content: "📞";
  font-size: 1rem;
}

.phone-header:hover {
  background-color: #005f8c;
  transform: scale(1.02);
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #0b2b44 0%, #124263 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

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

.hero .subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 500;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  text-align: justify;
}

.btn {
  display: inline-block;
  background: #0077b6;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn:hover {
  background: #005f8c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

/* ========== SEÇÕES GERAIS ========== */
section {
  padding: 3rem 0;
  border-bottom: 1px solid #e9ecef;
}

section:last-of-type {
  border-bottom: none;
}

/* ========== SERVIÇOS GRID ========== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.servico-item {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #0077b6;
}

.servico-item h3 {
  color: #0077b6;
  margin-bottom: 1rem;
  border-left: 3px solid #0077b6;
  padding-left: 0.8rem;
}

.servico-item p {
  text-align: justify;
}

/* ========== DIFERENCIAIS GRID ========== */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.diferenciais-grid > div {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.diferenciais-grid > div:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0077b6;
}

.diferenciais-grid strong {
  color: #0b2b44;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ========== PROCESSO DE ATENDIMENTO ========== */
.processo {
  background: #f8f9fa;
}

.processo p {
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid #0077b6;
}

/* ========== AUTORIDADE E EDUCATIVO ========== */
.autoridade, .educativo {
  background: #ffffff;
}

.autoridade p, .educativo p {
  text-align: justify;
  font-size: 1.05rem;
}

/* ========== FAQ MINI ========== */
.faq-mini .container > div {
  background: #f8f9fa;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #0077b6;
}

.faq-mini strong {
  color: #0b2b44;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ========== EMPRESA REGULARIZADA ========== */
.empresa-regularizada {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  text-align: center;
  border-radius: 0;
}

.empresa-regularizada h3 {
  color: #0b2b44;
  font-size: 1.6rem;
}

/* ========== ENCERRAMENTO ========== */
.encerramento {
  background: #ffffff;
  text-align: center;
}

/* ========== PÁGINAS INTERNAS ========== */
.page-content {
  min-height: 60vh;
  padding: 3rem 0;
}

.page-content h1 {
  border-bottom: 3px solid #0077b6;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-list > div {
  background: #f8f9fa;
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #0077b6;
}

.faq-list strong {
  color: #0b2b44;
}

/* ========== FOOTER COMPLETO ========== */
footer {
  background: #0b2b44;
  color: #e0e0e0;
  padding: 2rem 0 1rem;
  margin-top: 3rem;
  border-top: 3px solid #0077b6;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid > div {
  flex: 1;
  min-width: 200px;
}

.footer-grid strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-grid p, .footer-grid div {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e0;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid #2c4c6e;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header-flex {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    justify-content: center;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .servicos-grid, .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .phone-header {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn, .phone-header {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .hero {
    padding: 2rem 0;
  }
}

/* ========== BANNER DE COOKIES PERSONALIZADO ========== */
#cookie-banner > div {
  background: #0b2b44 !important;
  border-top: 3px solid #0077b6 !important;
  font-family: 'Segoe UI', sans-serif !important;
}

#cookie-banner button {
  background: #0077b6;
  border: none;
  color: white;
  padding: 8px 20px;
  margin-left: 15px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

#cookie-banner button:hover {
  background: #005f8c;
}

#cookie-banner a {
  color: #5bc0ff;
  margin-left: 15px;
}

/* ========== ANIMAÇÕE SUTIS ========== */
a, button, .btn, .servico-item, .diferenciais-grid > div {
  transition: all 0.2s ease-in-out;
}

/* ========== ACESSIBILIDADE ========== */
:focus {
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}

::-moz-selection {
  background: #0077b6;
  color: white;
}

::selection {
  background: #0077b6;
  color: white;
}