
:root {
  --verde: #0b5960;
  --verde-escuro: #093f45;
  --texto: #253334;
  --cinzento: #687272;
  --branco: #ffffff;
  --fundo: #faf9f6;
  --linha: #e5e8e5;
  --largura: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--branco);
  color: var(--texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--largura), calc(100% - 80px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--linha);
}

.header-container {
  width: min(1370px, calc(100% - 90px));
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 35px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 160px;
  height: 80px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.navigation a {
  position: relative;
  padding: 10px 0;
  color: #404a4b;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.navigation a:hover,
.navigation a.active {
  color: var(--verde);
}

.navigation a.active {
  font-weight: 700;
}

.navigation a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--verde);
  bottom: 2px;
  left: 0;
  right: 0;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 13px 22px;
  background: var(--verde);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-button:hover {
  background: var(--verde-escuro);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--linha);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--verde);
  margin: 5px auto;
}

.menu-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  background: var(--fundo);
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-content h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--texto);
}

.menu-divider {
  width: 45px;
  height: 2px;
  margin: 30px 0;
  background: var(--verde);
}

.menu-content h2 {
  margin-bottom: 18px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--texto);
}

.menu-content p {
  max-width: 500px;
  color: var(--cinzento);
  font-size: 15px;
  line-height: 1.9;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 35px;
  padding: 14px 30px;
  background: var(--verde);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.menu-button:hover {
  background: var(--verde-escuro);
}

.footer {
  background: #103e43;
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 65px;
  padding: 65px 0 55px;
}

.footer-about img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  background: #ffffff;
}

.footer-about p {
  margin-top: 17px;
  color: #d0dfdd;
  font-size: 13px;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-links h3 {
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a {
  color: #cfdddb;
  font-size: 13px;
  line-height: 1.7;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #c4d6d3;
  font-size: 11px;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 1050px) {
  .header-container {
    width: calc(100% - 60px);
    gap: 20px;
  }

  .navigation {
    gap: 20px;
  }

  .brand img {
    width: 135px;
  }
}

@media (max-width: 940px) {
  .header-container {
    height: 85px;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 15px 30px 25px;
    background: #ffffff;
    border-top: 1px solid var(--linha);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    padding: 15px 0;
    border-bottom: 1px solid var(--linha);
  }

  .navigation a.active::after {
    display: none;
  }

  .header-button {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-container {
    width: calc(100% - 35px);
    height: 77px;
  }

  .brand img {
    width: 115px;
    height: 65px;
  }

  .header-button {
    display: none;
  }

  .navigation {
    padding: 12px 25px 25px;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .menu-section {
    padding: 80px 0;
  }

  .menu-content h1 {
    font-size: 48px;
  }

  .menu-content h2 {
    font-size: 28px;
  }

  .menu-content p {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 55px 0 45px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
