/* =========================================================
   CORUJA ESPERTA - CSS BASE
   Inclui: Layout, Tipografia, Cores, Formulários, Cabeçalho, Rodapé e Componentes Gerais
========================================================= */


/* ===============================
      FONTES E BASE GERAL
=============================== */

@import url("https://fonts.googleapis.com/css2?family=Gupter:wght@400;500;700&family=Meddon&family=Special+Elite&family=UnifrakturMaguntia&display=swap");

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: var(--header-height, 100px);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #fff;
  color: #333;
}

a {
  color: #0078d4;
  text-decoration: none;
}

a:hover {
  color: #005fa3;
  /* text-decoration: underline; */
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  padding-top: 72px;
}

/* Fontes Especiais */
.meddon-regular {
  font-family: "Meddon", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
}

.unifrakturmaguntia-regular {
  font-family: "UnifrakturMaguntia", cursive;
  font-weight: 400;
  font-style: normal;
}

.special-elite-regular {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
}


/* ===============================
     FORMULÁRIOS
=============================== */

input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 15px;
  background-color: #0078d4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #005fa3;
}


/* ===============================
     COMPONENTES
=============================== */

.botao {
  display: inline-block;
  padding: 10px 15px;
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.botao:hover {
  background-color: #005fa3;
  color: white;
}

.botao-secundario {
  background-color: #e0e0e0;
  color: #333;
}

.botao-secundario:hover {
  background-color: #c7c7c7;
  color: #333;
}



/* ===============================
      CABEÇALHO FIXO
=============================== */

.cabecalho-fixo {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #f5f5f5;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cabecalho-conteudo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px;
}

.logo img {
  height: 55px;
}

.menu-login-container {
  display: flex;
  align-items: center;
}

.menu ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.separador {
  width: 1px;
  background-color: #ccc;
  height: 36px;
  margin: 0 15px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  content: "";
}

.hamburguer {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 18px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: 15px;
}

.hamburguer span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-login-container {
    display: flex;
    align-items: center;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f5f5f5;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 10px 0;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .hamburguer {
    display: flex;
    order: 2;
  }

  .botao-login {
    order: 1;
  }

  .separador {
    display: none;
  }
}


/* ===============================
      RODAPÉ
=============================== */

.rodape-coruja {
  background-color: #f5f5f5;
  color: #333;
  font-size: 0.95em;
}

.rodape-newsletter {
  background-color: #eaf4ff;
  padding: 30px 20px;
  text-align: center;
}

.rodape-newsletter h4 {
  font-size: 1.6em;
  font-family: "Gupter", serif;
  margin: 10px;
  font-weight: 600;
}

.rodape-newsletter p {
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.rodape-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.rodape-newsletter small {
  display: block;
  margin-top: 10px;
  font-size: 0.85em;
  color: #555;
}

.rodape-links {
  padding: 30px 20px;
}

.rodape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-items: start;
}

.rodape-logo img {
  max-height: 130px;
}

.rodape-links h5 {
  margin: 10px 0;
  font-weight: 600;
  font-size: 1em;
}

.rodape-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape-links li {
  margin-bottom: 6px;
}

.rodape-links a {
  color: #333;
  text-decoration: none;
}

.rodape-links a:hover {
  text-decoration: underline;
}

.rodape-social .social-icons {
  display: flex;
  margin-bottom: 10px;
}

.rodape-social .social-icons a {
  color: #333;
  font-size: 1.5em;
  transition: color 0.3s;
}

.rodape-social .social-icons a:hover {
  color: #0078d4;
}

.footer-divider hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 0;
}

.footer-bottom {
  font-size: 0.85em;
  color: #777;
  background-color: #f5f5f5;
}

.footer-bottom .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px;
}

.footer-bottom .footer-bottom-content p.copyright {
  margin: 0;
  text-align: left;
  flex: 1;
}

.footer-bottom .footer-bottom-content .eficace-logo img {
  max-height: 40px;
}