/* global.css */

/* Estilos globais aplicáveis a várias páginas */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 60px;
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 20px;
    background: #fff;
}

h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

a {
    color: #005b7f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #555;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
}

/* Ajuda.php */
.faq details {
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background-color: #fafafa;
}

.faq summary {
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.faq p {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: #333;
}

.faq a {
  color: #0077cc;
  text-decoration: none;
}

.faq a:hover {
  text-decoration: underline;
}

/* sobre.php, termos.php, privacidade.php */
.sobre-conteudo p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333;
}

.sobre-conteudo h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.sobre-conteudo a {
  color: #0077cc;
  text-decoration: none;
}

.sobre-conteudo a:hover {
  text-decoration: underline;
}

/* contato.php */
.form-contato {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif; /* Garante a aplicação da fonte */
  max-width: 600px;
  margin: 0 auto;
}

.form-contato label {
  margin-top: 1rem;
  font-weight: 500;
}

.form-contato input,
.form-contato textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.form-contato button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  transition: background-color 0.3s ease;
  align-self: center;
}

.form-contato button:hover {
  background-color: #004c99;
}

.sucesso {
  background: #e6ffe6;
  border: 1px solid #00a000;
  padding: 1rem;
  border-radius: 6px;
  color: #006000;
  font-family: inherit;
}

.erro {
  background: #ffe6e6;
  border: 1px solid #cc0000;
  padding: 1rem;
  border-radius: 6px;
  color: #990000;
  font-family: inherit;
}

.g-recaptcha {
  margin-top: 1rem;
  align-self: center;
  transform: scale(1.05);
  transform-origin: center;
}

/* mapa.php */
.mapa-site ul {
  list-style: disc inside;
  margin-bottom: 2rem;
}
.mapa-site li {
  margin: 0.25rem 0;
}
.mapa-site section ul ul {
  list-style-type: circle;
  margin-left: 1rem;
}

/* Menu superior Topo fixo */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #1e293b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza a logo */
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.topbar .logo a {
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  font-weight: 600;
}

/* Botão hambúrguer fixado à esquerda */
.hamburger {
  position: absolute;
  left: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}

/* Menu lateral */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background-color: #0f172a;
  color: white;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 999;
  padding-top: 60px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.sidebar.active {
  left: 0;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-menu li a {
  color: #e2e8f0;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  gap: 10px;
  transition: background 0.2s;
}

.sidebar-menu li a:hover {
  background-color: #1e293b;
  border-left: 4px solid #38bdf8;
  padding-left: 16px;
  color: #ffffff;
}

/* Ícones feather */
.sidebar-menu i {
  width: 20px;
  height: 20px;
}

/* Rodapé */
.site-footer {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-conteudo {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background-color: #1e293b;
}

.footer-coluna {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-coluna h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #334155;
  padding-bottom: 6px;
}

.footer-coluna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-coluna ul li {
  margin-bottom: 10px;
}

.footer-coluna ul li a {
  display: inline-flex;
  gap: 6px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}

.footer-coluna ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-creditos {
  text-align: center;
  border-top: 1px solid #334155;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #64748b;
  background-color: #1e293b;
}

@media (max-width: 768px) {
  .footer-conteudo {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-coluna {
    margin-bottom: 30px;
    margin-left: 30px;
  }
}