@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  background-color: #E5ECF4;
}

body.theme-light {
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #F4F9FF;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #E5ECF4;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== NAVBAR ===== */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #21336D;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-navbar .navbar-menu {
  position: relative;
}

/* Garantir que no mobile o menu seja fixed */
@media (max-width: 960px) {
  .main-navbar .navbar-menu {
    position: fixed !important;
  }
}

.navbar-inner {
  width: 100%;
  padding: 0px 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
}

/* Logo à esquerda */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo-image {
  height: 100%;
  width: 120%;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-logo-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.navbar-logo-bold {
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin-top: 2px;
}

/* Botão Menu Mobile */
.navbar-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1001;
}

.navbar-menu-toggle i {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 24px;
}

/* Menu centralizado */
.navbar-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

/* Esconder ações mobile no desktop */
.navbar-actions-mobile {
  display: none;
}

.navbar-link {
  font-family: Source Sans Pro, Sora, sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  padding: 8px 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.navbar-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.navbar-link.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  opacity: 1;
}

/* Ações à direita */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang {
  position: relative;
}

.lang-pill {
  background: none;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s;
  white-space: nowrap;
}

.lang-pill:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.chev {
  font-size: 12px;
  opacity: 1;
  margin-left: 2px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 150px;
  list-style: none;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1002;
}

.lang-menu[aria-hidden="false"],
.lang-menu.is-open {
  display: block;
}

/* Menu mobile - dropdown de idioma */
.lang-mobile .lang-menu {
  position: static;
  margin-top: 0;
  width: 100%;
  border-top: none;
  border-radius: 0;
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.1);
}

.lang-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #222;
}

.lang-menu li a:hover {
  background-color: #f5f5f5;
}

.btn-contact {
  background-color: #025D92;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-contact:hover {
  background-color: #0d8bc4;
  text-decoration: none;
}

/* ===== MAIN CONTENT ===== */
.site-main {
  /* margin-top: 80px; */
  width: 100%;
  flex: 1;
}

/* ===== FOOTER IDÊNTICO AO PROTÓTIPO ===== */

.prototype-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* SEÇÃO 1: Contatos (E-mail, Telefone, Redes Sociais) */
.footer-contacts-section {
  background-color: #E8FBCE;
  padding: 60px 0;
}

.footer-contacts-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  gap: 16px;
}

.footer-contact-icon {
  width: 60px;
  height: 60px;
  background-color: #66A630;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon img,
.footer-contact-icon i {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.footer-contact-text {
  margin: 0;
  font-size: 16px;
  color: #555;
}

.footer-contact-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #555;
}

.footer-contact-social-link img,
.footer-contact-social-link i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* LINHA DIVISÓRIA COLORIDA */
.footer-stripes {
  height: 18px;
  width: 100%;
  background: linear-gradient(
    to right,
    #1F4181 0 20%,
    #df3b3b 20% 40%,
    #ff9f1c 40% 60%,
    #219653 60% 80%,
    #0e9edc 80% 100%
  );
}

/* SEÇÃO 2: Logo, Menu e Redes Sociais */
.footer-middle-section {
  background-color: #FBF8F4;
  color: #424242;
  padding: 60px 0;
}

.footer-middle-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.footer-middle-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-middle-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.footer-column-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #424242;
  font-family: Source Sans Pro, Sora, sans-serif;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
}

.footer-menu-link {
  padding: 4px 0;
  font-weight: 400;
  color: #424242;
  transition: text-decoration 0.2s;
}

.footer-menu-link.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  font-family: Source Sans Pro, Sora, sans-serif;

}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-weight: 400;
  color: #424242;
}

.footer-social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.footer-social-link i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #424242;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* SEÇÃO 3: Copyright com logo ATI */
.footer-bottom-section {
  background-color: #1d357a;
  color: #ffffff;
  padding: 40px 0;
  align-items: center;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
  display: flex;
  gap: 12px;
  flex-direction: column;
  justify-content: center;
}

.footer-ati-logo {
  height: 70px;
  width: auto;
  flex-shrink: 0;
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1200px) {
  .navbar-inner {
    padding: 0 32px;
    gap: 30px;
  }

  .navbar-menu {
    gap: 30px;
  }

  .navbar-logo-text {
    font-size: 12px;
  }

  .navbar-logo-bold {
    font-size: 14px;
  }

  .footer-contacts-inner,
  .footer-middle-inner {
    gap: 40px;
  }
  .hero-section {
    min-height: 70vh;
  }
}

@media (max-width: 960px) {
  .navbar-inner {
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .navbar-logo {
    width: 100%;
    justify-content: center;
  }

  .navbar-menu {
    width: 100%;
    justify-content: center;
    order: 3;
    gap: 20px;
  }

  .navbar-actions {
    margin-left: auto;
    order: 2;
  }

  .footer-contacts-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-middle-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-middle-col {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .main-navbar {
    padding: 16px 0;
  }

  .navbar-inner {
    padding: 0 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .navbar-logo {
    justify-content: flex-start;
    gap: 12px;
  }

  .navbar-logo-image {
    width: 60px;
    height: 60px;
  }

  .navbar-logo-text {
    font-size: 10px;
  }

  .navbar-logo-bold {
    font-size: 12px;
  }

  .navbar-menu {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    justify-content: flex-start;
  }

  .navbar-actions {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }

  .btn-contact {
    padding: 8px 16px;
    font-size: 12px;
  }

  

  .footer-contacts-section {
    padding: 40px 0;
  }

  .footer-contacts-inner {
    padding: 0 24px;
  }

  .footer-middle-section {
    padding: 40px 0;
  }

  .footer-middle-inner {
    padding: 0 24px;
  }

  .footer-bottom-section {
    padding: 20px 0;
  }

  .footer-bottom-inner {
    padding: 0 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-ati-logo {
    height: 40px;
  }

  .footer-copyright {
    font-size: 12px;
  }
}


