@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}


:root {
  --primary-blue: #0D7F84;
  --dark-blue: #005467;
  --white: #FFFFFF;
  --icon-bg: #E5E7EB;
}


.header {
  width: 100%;
  min-height: 150px;
  padding: 25px 5%;

  background-color: var(--primary-blue);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LOGO */

.header-logo {
  flex-shrink: 0;
  margin-left: -3%;
}

.logo-header {
  width: 220px;
  height: auto;
  display: block;
}



.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}


@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        width: 95px;
        height: auto;
    }
}


/* CONTATOS */

.header-buttons {
  display: flex;
  align-items: center;
  gap: 38px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;

  transition: opacity 0.3s ease;
}

.header-contact:hover {
  opacity: 0.8;
}



.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;

  background-color: var(--icon-bg);
  color: var(--primary-blue);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 23px;
  flex-shrink: 0;

  transition: transform 0.3s ease;
}

.header-contact:hover .contact-icon {
  transform: translateY(-3px);
}



@media (max-width: 900px) {
  .header {
    padding: 20px 4%;
    gap: 20px;
  }

  .header-buttons {
    gap: 15px;
  }

  .contact-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .header {
    min-height: 100px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .header-buttons {
    gap: 10px;
  }
}


/* HAMBURGER */

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: white;
  font-size: 27px;
  cursor: pointer;
}

.hamburger span {
  width: 27px;
  height: 3px;
  background: white;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* MENU MOBILE */

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .header {
    min-height: 90px;
    padding: 15px 6%;
    position: relative;
  }

  .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }

  .header-buttons {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;

    background: var(--dark-blue);
    padding: 0 6%;

    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;

    transition:
      max-height 0.35s ease,
      opacity 0.3s ease,
      padding 0.3s ease;
  }

  .mobile-menu.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 12px 6% 22px;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 14px 8px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }


}

@media (prefers-reduced-motion: reduce) {
  .hamburger span,
  .mobile-menu {
    transition: none;
  }
}


/* NAVBAR DESKTOP */

.desktop-navbar {
  position: relative;
  z-index: 10;

  width: max-content;
  max-width: calc(100% - 40px);

  margin: -28px auto -28px;
  padding: 0 38px;

  background-color: var(--dark-blue);
  border-radius: 50px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.navbar-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;

  list-style: none;
  min-height: 56px;
}

.navbar-list li {
  flex-shrink: 0;
}

.navbar-list a {
  display: inline-block;
  padding: 18px 0;

  color: var(--white);
  text-decoration: none;

  font-size: 14px;
  font-weight: 400;

  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-list a:hover {
  color: #00878b;
  transform: translateY(-2px);
}

/* ESCONDER NAVBAR NO MOBILE */

@media (max-width: 768px) {
  .desktop-navbar {
    display: none;
  }
}

/* AJUSTE PARA TELAS INTERMEDIÁRIAS */

@media (min-width: 769px) and (max-width: 1100px) {
  .desktop-navbar {
    padding: 0 20px;
  }

  .navbar-list {
    gap: 16px;
  }

  .navbar-list a {
    font-size: 12px;
  }
}


/* ==========================
   FOOTER
========================== */

.site-footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 100px;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F2F9FA 12%,
    #DDF1F2 25%,
    #0D7F84 48%,
    #005467 68%,
    #003E50 85%,
    #002430 100%
  );
}

/* CONTAINER */

.footer-container {
  width: min(1400px, 92%);
  margin: 0 auto;
  padding: 110px 0 75px;

  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* MARCA */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-logo {
  width: min(260px, 100%);
  height: auto;
  object-fit: contain;

  filter: drop-shadow(
    0 8px 20px rgba(0, 0, 0, 0.12)
  );
}

.footer-description {
  max-width: 320px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

/* COLUNAS */

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-title {
  margin-bottom: 12px;

  color: #FFFFFF;

  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.88);

  font-size: 15px;
  line-height: 1.7;
}

/* LINKS DE CONTATO */

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  width: fit-content;

  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;

  font-size: 15px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-link i {
  width: 20px;
  font-size: 19px;
  color: #8DDDE0;

  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-link:hover i {
  color: #FFFFFF;
}

/* LINKS DE NAVEGAÇÃO */

.footer-nav-link {
  width: fit-content;

  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;

  font-size: 15px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-nav-link:hover {
  color: #8DDDE0;
  transform: translateX(4px);
}

/* BARRA INFERIOR */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  padding: 25px 20px 30px;

  background: rgba(0, 15, 25, 0.18);

  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);

  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 1100px) {
  .site-footer {
    padding-top: 80px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px 35px;

    padding: 100px 0 60px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-description {
    max-width: 500px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 700px) {
  .site-footer {
    padding-top: 65px;

    background: linear-gradient(
      180deg,
      #FFFFFF 0%,
      #F2F9FA 8%,
      #DDF1F2 18%,
      #0D7F84 34%,
      #005467 52%,
      #003E50 72%,
      #002430 100%
    );
  }

  .footer-container {
    width: min(88%, 500px);

    grid-template-columns: 1fr;
    gap: 40px;

    padding: 115px 0 55px;
  }

  .footer-brand,
  .footer-column {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: min(220px, 75%);
  }

  .footer-description {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.75;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .footer-text,
  .footer-link,
  .footer-nav-link {
    font-size: 14px;
  }

  .footer-link,
  .footer-nav-link {
    justify-content: center;
  }

  .footer-bottom {
    padding: 22px 18px 28px;
  }

  .footer-bottom p {
    font-size: 12px;
    line-height: 1.6;
  }
}


