/* ===============================
   RESET E FONTE
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #000;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p, a, li, span, button {
  font-weight: 400;
}

.btn, .btn-cta {
  font-weight: 500;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: relative;
}

.logo img {
  height: 60px;
}

/* LINKS */
.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

.nav-links ul li a:hover {
  color: #e63946;
}

/* MENU HAMBURGUER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s;
}



/* RESPONSIVO NAVBAR */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-container {
    flex-direction: row-reverse;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 30px;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===============================
   DARK MODE
   =============================== */
body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

body.dark-mode .navbar {
  background: #1f1f1f;
}

body.dark-mode .nav-links ul li a {
  color: #fff;
}

body.dark-mode .nav-links ul li a.active::after {
  background: #fff;
}

body.dark-mode .nav-links ul li a:hover {
  color: #e63946;
}

body.dark-mode .menu-toggle span {
  background: #fff;
}

/* ===============================
   HERO
   =============================== */
.hero {
  height: 100vh;
  background: url("../img/fundomain.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  background: #0a1a2f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #e63946;
}

.btn-alt {
  background: #e63946;
}

.btn-alt:hover {
  background: #0a1a2f;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===============================
   SOBRE NÓS
   =============================== */
.sobre {
  background: #fff;
  padding: 80px 20px;
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.sobre-texto {
  flex: 1 1 500px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpSobre 1s ease forwards;
  animation-delay: 0.3s;
}

.sobre-texto h2 {
  font-size: 2rem;
  color: #0a1a2f;
  margin-bottom: 20px;
  position: relative;
}

.sobre-texto h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 3px;
  background: #e63946;
}

.sobre-texto h2:hover { transform: scale(1.05); }

.sobre-texto p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSobre 1s ease forwards;
  animation-delay: 0.6s;
}

.valores {
  list-style: none;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSobre 1s ease forwards;
  animation-delay: 0.9s;
}

.valores li { margin-bottom: 10px; font-size: 1rem; }
.valores strong { color: #e63946; }

.sobre-imagem {
  flex: 1 1 400px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSobre 1s ease forwards;
  animation-delay: 1.2s;
}

.sobre-imagem img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@keyframes fadeInUpSobre {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .sobre-container { flex-direction: column; gap: 30px; }
  .sobre-texto, .sobre-imagem { animation-delay: 0.3s; }
}

/* ===============================
   SERVIÇOS
   =============================== */
.servicos {
  padding: 80px 20px;
  background: #f9f9f9;
  color: #222;
}

.servicos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.servicos h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #0a1a2f;
  position: relative;
}

.servicos h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e63946;
  margin: 10px auto 0;
  border-radius: 2px;
}

.servico-area {
  margin-bottom: 60px;
}

.servico-area h3 {
  font-size: 1.8rem;
  color: #e63946;
  margin-bottom: 25px;
}

.servico-area h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #e63946;
  margin-top: 8px;
  border-radius: 2px;
}

.servico-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.servico-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card img {
  width: 80px; height: 80px; object-fit: contain; margin-bottom: 15px;
}

.servico-card h4 { font-size: 1.3rem; margin-bottom: 12px; color: #0a1a2f; }
.servico-card p { font-size: 0.95rem; color: #555; line-height: 1.5; }

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

/* ===============================
   PARCEIROS
   =============================== */
.parceiros {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.parceiros-container {
  max-width: 1200px;
  margin: 0 auto;
}

.parceiros-container h2 {
  font-size: 2.2rem;
  color: #0a1a2f;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.parceiros-container h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 3px;
  background: #e63946;
}

.parceiros-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.parceiro-card {
  width: 150px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpParceiros 1s ease forwards;
  transition: transform 0.3s ease;
}

.parceiro-card img {
  max-width: 100%;
  height: auto;
}

.parceiro-card:hover { transform: translateY(-5px); }

@keyframes fadeInUpParceiros {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .parceiros-logos { gap: 20px; }
  .parceiro-card { width: 120px; padding: 15px; }
}

/* ===============================
   CONTACTOS
   =============================== */
.contactos {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contactos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contactos-container h2 {
  font-size: 2.2rem;
  color: #0a1a2f;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.contactos-container h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 3px;
  background: #e63946;
}

.contactos-content {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.contactos-info {
  flex: 1; min-width: 250px;
  text-align: left;
  color: #333;
  line-height: 1.6;
}

.contact-form {
  flex: 1; min-width: 250px;
  display: flex; flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #0a1a2f;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #e63946;
}

.contactos-info p {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contactos-info i {
  color: #e63946;
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .contactos-content { flex-direction: column; align-items: center; }
  .contactos-info, .contact-form { width: 100%; }
}

/* ===============================
   CTA
   =============================== */
.cta {
  background: linear-gradient(to right, #ffffff, #f2f4f8, #e3ecf9);
  color: #000;
  padding: 80px 20px;
  text-align: center;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.cta h2 { font-size: 2.2rem; margin-bottom: 20px; }
.cta p { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }

.btn-cta {
  display: inline-block;
  padding: 15px 35px;
  background: #fff;
  color: #0a1a2f;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #e63946;
  color: #fff;
  transform: scale(1.05);
}

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: #0a1a2f;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s, filter 0.3s;
}

.footer-social a img {
  width: 70px; height: 70px;
}

.footer-social a:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
}

.footer p {
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 10px;
}








/* Contador */
.contador {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.contador-item h2 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contador-item p {
  font-size: 18px;
  color: #555;
}

.contador-item a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.contador-item a:hover {
  transform: scale(1.1);
}


/* =======================
   Projetos
======================= */
.page-header {
  text-align: center;
  padding: 80px 20px 40px;
  background: #f4f6fb;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #0a1f44;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

.projectos {
  padding: 60px 20px;
  background: #fff;
}

.projectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.projectos-container h2 {
  text-align: center;
  margin-bottom: 40px; /* espaço abaixo do título */
  color: #003366; /* opcional: cor do título */
  font-size: 32px; /* opcional: tamanho da fonte */
  font-weight: 700; /* opcional: deixa em negrito */
}


.projeto-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.projeto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.projeto-card h3 {
  font-size: 1.3rem;
  margin: 15px 0 10px;
  color: #0a1f44;
}

.projeto-card p {
  font-size: 1rem;
  padding: 0 15px 20px;
  color: #555;
}

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


/* Botão Ver Mais */
.btn-vermais {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.btn-vermais:hover {
  background: #cc0000;
}

/* Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background: rgba(0,0,0,0.8);
  padding-top: 60px;
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 700px;
  text-align: center;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-content h3 {
  margin-bottom: 10px;
  color: #003366;
}

.modal-content p {
  color: #333;
  font-size: 15px;
}

/* Fechar */
.modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal .close:hover {
  color: #cc0000;
}


/* Seção Prêmios */
.premios {
  padding: 60px 20px;
  background: #f4f4f4;
  text-align: center;
}

.premios h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}
