/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corrige rolagem para seções com menu fixo */
section[id] {
  scroll-margin-top: 80px;
}

/* Opcional: rolagem suave */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  background: #004e64;
  color: white;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.banner {
  background: linear-gradient(
      rgba(0, 64, 128, 0.7),
      rgba(0, 64, 128, 0.7)
    ),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1350&q=80')
      no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
}

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

/* HERO */
.hero {
  background: url('assets/banner.jpg') center/cover no-repeat;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.buttons {
  margin-top: 1rem;
}
.btn {
  background: #007a99;
  color: white;
  padding: 0.4rem 1rem;
  margin: 0.3rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}
.btn-outline {
  border: 2px solid white;
  background: transparent;
}

/* FORMULÁRIO */
form input, form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  background: #004e64;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* LAYOUT IMAGEM E TEXTO */
.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-image img {
  width: 100%;
  border-radius: 10px;
}

.split-text-quem-somos {
  font-size: 0.9rem;
  text-align: justify;
}

.split-text-sucessos {
  font-size: 0.9rem;
  text-align: justify;
}

.split-text {
  font-size: 1rem;
  text-align: justify;
}

@media (min-width: 768px) {
  .split {
    flex-direction: row;
    align-items: center;
  }

  .split:nth-child(even) {
    flex-direction: row-reverse;
  }

  .split-image,
  .split-text,
  .split-text-quem-somos,
  .split-text-sucessos {
    flex: 1;
  }
}

.tabela {
  table-layout: fixed;
  width: 100%;
}

.tabela td:nth-child(1) {
  width: 30%;
}

.tabela td:nth-child(2) {
  width: 30%;
}

.tabela td:nth-child(3) {
  width: 40%;
}

td, th {
  padding-left: 5px;
  padding-right: 5px;
}
/* FOOTER */
footer {
  background: #004e64;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
