/* ==========================================================================
   1. Variáveis e Fontes
   ========================================================================== */
:root {
  --Azul-escuro: #0f2f56;
  --azul: #22576d;
  --azul-petroleo: #296872;
  --verde: #045243;
  --verde-escuro: #00494b;
  --verde-claro: #006d5d;
  --cinza-escuro: #3f4a59;
  --cinza: #79828d;
  --azul-oceano: #007682;
  --ciano: #1fbbb1;
  --ciano-claro: #90f1f1;
  --azul-claro: #0c608f;
  
  /* Cores Destaque Copa */
  --copa-azul: #0b3d91;
  --copa-amarelo: #ffdf00;
}

@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
}

/* ==========================================================================
   2. Cabeçalho e Navegação (Estilo Copa)
   ========================================================================== */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(0deg, var(--verde) 0%, var(--Azul-escuro) 100%);
  padding-bottom: 20px;
}

#logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

#logo img {
  width: 120px;
  height: auto;
  padding: 20px 0;
}

#logo h1 {
  color: white;
  font-family: "Bree serif", serif;
  font-weight: bold;
  font-size: 2.8em;
  margin: 0;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  max-width: 800px;
  margin-top: 10px;
}

nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.2em; /* Tamanho melhorado para composição */
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Hover no estilo Copa & Dados */
nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

#instagram { color: rgb(255, 94, 94); }
#linkedin { color: rgb(87, 87, 252); }

/* ==========================================================================
   3. Seções Principais (Sobre, Copa, Serviços)
   ========================================================================== */
main {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Sobre a Laplace */
#projeto {
  border: 1px solid #ddd;
  margin: 40px 20px;
  border-radius: 15px;
  padding: 40px 30px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#projeto h2 {
  text-align: center;
  font-size: 2.1em;
  margin-bottom: 30px;
  color: var(--Azul-escuro);
}

.content {
  margin: 0;
  text-align: justify;
  font-size: 1.2em;
  line-height: 1.6;
}

/* Seção Destaque Copa */
#destaque-copa {
  border: 2px solid var(--copa-azul);
  margin: 0 20px 60px 20px;
  border-radius: 15px;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.05) 0%, rgba(0, 156, 59, 0.05) 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center; /* ALINHAMENTO ADICIONADO PARA CENTRALIZAR O BOTÃO */
}

#destaque-copa h2 {
  text-align: center;
  font-size: 2.1em;
  margin-bottom: 20px;
  color: var(--copa-azul);
}

.btn-copa {
  display: block; /* Mudado de inline-block para block */
  width: fit-content; /* Garante que o botão não ocupe a tela toda, apenas o tamanho do texto */
  margin: 25px auto 0 auto; /* O 'auto' nas laterais força a centralização absoluta, ignorando o text-align */
  
  background-color: var(--copa-azul);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-copa:hover {
  background-color: var(--copa-amarelo);
  color: #111;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Serviços */
#servicos {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 3px dotted #ddd;
  padding-top: 50px;
}

#servicos h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 10px;
  color: var(--Azul-escuro);
}

.servicos-items {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}

.servicos-items div {
  border: 1px solid #ddd;
  border-radius: 15px;
  background-color: white;
  text-align: center;
  width: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.servicos-items div:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.servicos-items img {
  width: 100%;
  height: 200px; /* Reduzido de 300px para melhor proporção do card */
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.servicos-items h3 {
  color: var(--verde-escuro);
  padding: 0 15px;
  font-size: 1.3em;
}

.servicos-items p {
  padding: 0 15px;
  color: var(--cinza-escuro);
}

/* Botão de Contato Geral (Unificado) */
.contato-servicos {
  margin: 20px 0 60px 0;
}

.contato-servicos a {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: var(--verde-escuro);
  background-color: white;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid var(--verde-claro);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contato-servicos a:hover {
  background-color: var(--verde-escuro);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   4. Rodapé (Footer)
   ========================================================================== */
footer {
  background-color: #111;
  color: #e0e0e0;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-family: 'Bree Serif', serif;
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--ciano);
}

.footer-section p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-contato i {
  margin-right: 12px;
  color: var(--ciano);
  width: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: white;
  font-size: 2.2em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--ciano-claro);
  transform: translateY(-4px);
}

.footer-bottom {
  background-color: #000;
  text-align: center;
  padding: 25px 20px;
  margin-top: 50px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9em;
  color: #aaa;
}

/* ==========================================================================
   5. Responsividade (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  #logo {
    flex-direction: column;
    gap: 5px;
  }

  #logo img {
    width: 80px;
    padding: 10px;
  }
  
  #logo h1 {
    font-size: 1.8em;
  }
  
  nav a {
    font-size: 1em;
    padding: 8px 15px;
  }
  
  #projeto h2, #destaque-copa h2 {
    font-size: 1.6em;
  }

  .content {
    font-size: 1em;
    text-align: left;
  }
  
  .servicos-items div {
    width: 100%;
    max-width: 350px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icons {
    justify-content: center;
  }
}