:root {
  --primaria: #0081b6;       
  --secundaria: #00a1ab;       
  --fundo-claro: #f0fbfd;     
  --texto-principal: #082c3d;  
  --texto-secundario: #17627a; 
  --cinza-suave: #c4e4ec;      
  --hover-claro: #00b6c2;      
  --branco: #ffffff;           
  --azul-profundo: #00536e;    
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--fundo-claro);
  font-family: 'monospace', sans-serif;
  color: var(--texto-principal);
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 200px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

main {
  max-width: 800px;
  flex: 1;
  padding: 20px;
  background-color: var(--branco);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.topo {
  display: flex;
  justify-content: space-evenly; 
  align-items: center;
  background-color: var(--primaria);
  padding: 4px 16px;
  box-sizing: border-box;
  width: 100%;
}

.topo-esquerda .logo {
  width: 60px;
}

.menu {
  flex: 1;
}

.menu > ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  padding-left: 0;
  margin-left: 32px;
  justify-content: space-between;
}

.dropdown-menu li {
  list-style: none;
}

.menu a {
  color: var(--branco);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--hover-claro);
  border-bottom: 2px solid var(--branco);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primaria);
  border-radius: 0 0 8px 8px;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  color: var(--branco);
  padding: 10px 16px;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.3s;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  color: var(--branco);
  padding: 6px 12px;
  font-size: 0.95rem;
  list-style: none;
  cursor: default;
}

.dropdown {
  position: relative;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--hover-claro);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--branco);
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 768px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .menu.active {
    display: block;
  }

  .topo {
    justify-content: space-between !important;
    padding: 8px 0; 
    width: 100vw;   
  }

  .topo-esquerda {
    display: flex;
    align-items: center;
    flex: none;
    padding-left: 16px;
  }

  .hamburger {
    display: block;
    z-index: 10001;
    padding-right: 16px;
  }

.menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--primaria);
  width: 240px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding-top: 56px;
  max-height: 100vh;
  overflow-y: auto;
  z-index: 10000;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
  touch-action: auto;
  overscroll-behavior: contain;
  transform: translateZ(0);
}

  .menu.active {
    display: flex;
  }

  .menu > ul {
    flex-direction: column;
    margin-left: 0;
    gap: 0;
    width: 100%;
  }

  .menu > ul > li > a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
  }

  .dropdown-menu {
    display: none;
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    padding-left: 16px;
    border-radius: 0;
    min-width: unset;
    width: 100%;
  }

  .dropdown-menu a {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .submenu-active {
    display: block !important;
  }
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f0f4f8;
  border: 2px solid #007BFF;
  border-radius: 10px;
  padding: 30px 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
  color: #007BFF;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #0056b3;
}

#modalLogin,
#modalCadastro,
#modalRedefinir {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f0f4f8;
  border: 2px solid #007BFF;
  border-radius: 10px;
  padding: 30px 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form h2 {
  margin-bottom: 10px;
  color: #007BFF;
  text-align: center;
}

form input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

form input:focus {
  border-color: #007BFF;
  outline: none;
}

form button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

form p {
  text-align: center;
  font-size: 14px;
}

form p a {
  color: #007BFF;
  text-decoration: none;
  transition: text-decoration 0.3s;
}

form p a:hover {
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
}

.banner {
  position: relative;
  width: 100vw; 
  height: 500px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: opacity 1s ease-in-out;
}

.banner-slide.ativo {
  opacity: 1;
  z-index: 1;
}

.banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.banner-conteudo {
  position: relative;
  z-index: 2;
  color: white;
  text-align: right;
  padding: 40px 80px;
  max-width: 600px;
}

.banner-conteudo h1 {
  font-size: 3rem;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
}

.banner-conteudo h2 {
  font-size: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  margin-bottom: 30px;
}

.banner-conteudo button {
  background: radial-gradient(#00b6c2, #0081b6);
  color: white;
  padding: 12px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Segoe UI', sans-serif;
  transition: background-color 0.3s ease;
}

.banner-conteudo button:hover {
  background-color: #005F6E;
}

.linha-separadora {
  height: 2px;
  background-color: var(--secundaria);
  margin-top: 0;
}

@media (max-width: 768px) {
  .banner {
    width: 100vw; 
    height: 300px;
  }

  .banner-img {
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw; 
    object-fit: cover;
    object-position: center;
  }

  .banner-conteudo {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 100%;
    padding: 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 2;
  }

  .banner-conteudo h1,
  .banner-conteudo h2 {
    font-size: 1rem;
    margin: 5px 0;
    font-weight: 500;
  }

  .banner-conteudo h2 {
    font-weight: 300;
  }

  .banner-conteudo button {
    font-size: 0.9rem;
    padding: 10px 24px;
    margin: 5px 0;
  }
}

.chat-toggle-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: radial-gradient(#00b6c2, #0081b6);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: background 0.3s ease;
}

.chat-toggle-btn:hover {
  background-color: #005F6E;
}

.chat-container {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background-color: #f0f4f8;
  border: 1px solid #0081b6;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.chat-header {
  background-color: #0081b6;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: white;
  cursor: pointer;
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.chat-input-area {
  display: flex;
  border-top: 1px solid #ccc;
  padding: 8px;
  background-color: #f8f9fa;
}

.chat-input-area input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  outline: none;
}

.chat-input-area button {
  background-color: #00b6c2;
  border: none;
  color: white;
  margin-left: 8px;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.chat-input-area button:hover {
  background-color: #0081b6;
}

@media (max-width: 600px) {
  .chat-toggle-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
    bottom: 120px; 
    background: radial-gradient(#00b6c2, #0081b6); 
  }

  .chat-container {
    width: 95%;
    right: 2.5%;
    bottom: 180px;
  }
}

.sobre {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

.sobre-conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.sobre-conteudo img {
  width: 400px;
  height: 650px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.texto-sobre {
  flex: 1;
  color: #333;
}

.texto-sobre h2 {
  font-size: 2rem;
  color: #004B5F;
  margin-bottom: 10px;
}

.texto-sobre h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #00778B;
  margin-bottom: 25px;
  font-style: italic;
}

.texto-sobre p {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: justify;
}

@media (max-width: 768px) {
  .sobre {
    margin: 40px 16px; 
    padding: 20px;    
  }

  .sobre-conteudo {
    flex-direction: column;
    align-items: center; 
    text-align: center;  
  }

  .sobre-conteudo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
  }

  .texto-sobre {
    text-align: left; 
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container-localizacao {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.info-local {
  text-align: left;
  flex: 1;
  min-width: 280px;
}

.info-local h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #003B4F;
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-box {
  text-align: left;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #007B8F;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.local-box h3 {
  text-align: left;
  font-size: 1.3rem;
  color: #004B5F;
  margin-bottom: 10px;
}

.local-box p {
  text-align: left;
  margin: 5px 0;
  color: #333;
  font-size: 1rem;
}

.mapa-local {
  flex: 1;
  min-width: 300px;
}

.mapa-local iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .container-localizacao {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }

  .local-box {
    width: 100%;
    max-width: 100%;
    padding: 24px;
  }

  .mapa-local {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .mapa-local iframe {
    width: 100%;
    max-width: 100%;
    height: 300px;
  }
}

footer {
  width: 100%;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: var(--cinza-suave);
  color: var(--texto-secundario);
  font-size: 14px;
}

.social a {
  margin: 0 15px;
  display: inline-block;
}

.social img {
  width: 40px;
  transition: transform 0.3s;
}

.social img:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  footer {
    margin-top: 20px;
    padding: 16px;
  }
}

