*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

nav {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    padding: 40px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background 0.5s, color 0.5s;
}

nav ul li a:hover {
    background: rgba(255, 165, 0, 0.2);
    color: orange;
}

#home {
    background-image: url('./imagens/logo.jpeg');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

#home::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 0%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

#home h1,
#home p {
    position: relative;
    z-index: 1;
}

#home h1 {
    font-size: 40px;
}

#home p {
    font-size: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

section {
    padding: 80px 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

form label {
    text-align: left;
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: black;
    color: white;
    padding: 10px;
    cursor: pointer;
    margin-top: 15px;
}

form button:hover {
    background: orange;
}

footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background: gray;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

footer ul li {
    display: inline-block;
    margin: 0 15px;
}

footer a {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sobre-section {
    padding: 120px 20px 80px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    color: black;
}

.sobre-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffa500;
}

.sobre-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 18px;
}

.sobre-imagens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.sobre-imagens img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.sobre-imagens img:hover {
    transform: scale(1.05);
}

.tabela-section {
    padding: 120px 20px 80px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    color: #f0f0f0;
}

.tabela-section h2 {
    font-size: 36px;
    color: #ffa500;
    margin-bottom: 30px;
}

.tabela-infraestrutura sanitária {
    width: 100%;
    border-collapse: collapse;
    background-color: #1f1f1f;
    border: 1px solid #444;
    color: #e0e0e0;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
}

.tabela-infraestrutura sanitária th, .tabela-infraestrutura sanitária td {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.tabela-infraestrutura sanitária thead {
    background-color: #203a43;
}

.tabela-infraestrutura sanitária th {
    color: #ffa500;
    text-transform: uppercase;
    font-weight: bold;
}

.tabela-infraestrutura sanitária tbody tr:hover {
    background-color: rgba(255, 165, 0, 0.1);
    transition: background 0.3s;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    #home h1 {
        font-size: 28px;
    }

    #home p {
        font-size: 16px;
    }

    .sobre-imagens img {
        width: 90%;
    }

    .tabela-section,
    .sobre-section {
        padding: 60px 15px;
    }

    .tabela-infraestrutura sanitária th,
    .tabela-infraestrutura sanitária td {
        padding: 10px;
        font-size: 14px;
    }
}
    .nav-toggle {
      display: none;
      font-size: 28px;
      background: none;
      color: white;
      border: none;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .nav-toggle.rotate {
      transform: rotate(90deg);
    }

@media (max-width: 768px) {
      .nav-toggle {
        display: block;
}

nav ul {
        display: none;
        flex-direction: column;
        background-color: #2c5364;
        width: 100%;
        padding: 10px 0;
}

nav ul.active {
        display: flex;
        animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
}
    }
.rodape {
    position: absolute;
    width: 100%;
}
.video-container {
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ffa500;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.whatsapp-destaque {
    position: absolute;
    top: 90px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 18px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-destaque:hover {
    transform: scale(1.05);
    background-color: #1ebc59;
}

.whatsapp-destaque span {
  display: inline-block;
}
#titulo{
    color: black;
    margin-left: 500px;
}
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body > footer {
    margin-top: auto;
}
footer {
    width: 100%;
    background: gray;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}
.localizacao-section {
      padding: 120px 20px 80px;
      text-align: center;
      max-width: 1000px;
      margin: auto;
      color: white;
}

.localizacao-section h2 {
      font-size: 36px;
      color: #ffa500;
      margin-bottom: 20px;
}

.localizacao-section p {
      font-size: 18px;
      margin-bottom: 40px;
}

.mapa-container {
      width: 100%;
      height: 450px;
      border: 3px solid #ffa500;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      border-radius: 10px;
      overflow: hidden;
}

iframe {
      width: 100%;
      height: 100%;
      border: 0;
}
#vendas {
    text-align: center;

}