/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #404040;
  background-color: #fafaff;
}

/* HEADER */
header {
  background-color: #090b3c;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 0.33rem 0.6rem rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.transparent {
  background-color: rgba(9, 11, 60, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 0.33rem 0.6rem rgba(0, 0, 0, 0.1);
}

header .logo {
  position: absolute;
  left: 2.5rem;
  width: clamp(100px, 20vw, 220px); /* responsivo: min 100px, max 220px */
  height: auto;
}

/* MENU DESKTOP */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.list-item-header a {
  text-decoration: none;
  color: #8f9aad;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.list-item-header a:hover {
  color: azure;
}

/* MENU HAMBURGUER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 2.5rem;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #8f9aad;
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVIDADE MENU */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #090b3c;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
  }

  nav ul.list-item-header.active {
    max-height: 500px;
  }

  nav ul li {
    text-align: center;
    padding: 1rem 0;
  }

  .menu-toggle {
    display: flex;
  }
}

/* CONTAINER */
.container {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HERO */
.section-hero {
  position: relative;
  background: url("img/hero.png") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.section-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.container-hero {
  position: relative;
  z-index: 2;
  max-width: 90rem;
  margin: 0 auto;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-paragraph {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.hero-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.56rem;
  font-size: 2.7rem;
  font-weight: 700;
  color: #e5e5e5;
  text-decoration: none;
  border-radius: 3rem;
  background-image: linear-gradient(180deg, #090b3c, #0096c7);
  border-bottom: 0.3rem solid #0077b6;
  border-right: 0.3rem solid #0077b6;
  box-shadow: 0 0.33rem 0.8rem rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-image: linear-gradient(180deg, #0077b6, #0096c7);
  border-color: #023e8a;
}

/* DIFERENCIAIS */
.section-differentials {
  padding: 5.54rem 2rem;
  background-color: #fafaff;
}

.container-differentials {
  max-width: 100rem;
  margin: 0 auto;
}

.division-blue-dif {
  color: #fff;
  padding: 4rem;
  border-radius: 2rem 2rem 0 0;
  background: linear-gradient(-225deg, #0353a4, #4895ef);
}

.box-dif-h2 {
  border-left: 0.4rem solid #8f9aad;
  padding-left: 1.5rem;
}

.dif-h2 {
  font-size: 3rem;
  font-weight: 600;
}

.dif-h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #005e88;
  margin: 2rem 0 1rem 0;
  line-height: 2.5rem;
}

.dif-p {
  line-height: 2rem;
  font-size: 1.6rem;
}

.rest-dif {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 3rem;
}

.innerbox {
  position: relative;
  flex: 1 1 30%;
  min-width: 280px;
  padding: 3rem 2rem 2rem 2rem;
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0 0.33rem 0.6rem rgba(0, 0, 0, 0.2);
  text-align: center;
}

.innerbox-image {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 10rem;
  background-color: #ffd966;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innerbox-image img {
  width: 70%;
  height: 70%;
}

/* PARCEIROS */
.section-partners {
  padding: 5rem 2rem;
  background-color: #edede9;
  text-align: center;
}

.partners-logos img {
  width: 120px;
  height: auto;
  margin: 1rem;
  filter: grayscale(100%) brightness(80%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.05);
}

/* FOOTER */
footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding: 4rem;
  width: 100%;
  background: linear-gradient(145deg, #6f80a2, #a3b0d1);
  color: #fff;
  font-family: "Roboto", sans-serif;
  position: relative;
}

.footer-logo {
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 3rem;
  transition: transform 0.3s ease;
}

.footer-logo img {
  max-width: 80%;
  height: auto;
  border-radius: 3rem;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: #fff;
}

.footer-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #11023a;
  margin-top: 5px;
  border-radius: 2px;
}

.footer-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.footer-link {
  font-size: 1.6rem;
  color: #ffd966;
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: #ff6600;
  transform: translateX(5px);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.footer-item:hover {
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
}

.box-footer {
  color: #1a77a4;
  padding: 2rem;
  border-radius: 2.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-footer:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.box-footer form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.box-footer input {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
}

.box-footer input:focus {
  outline: none;
  border-color: #090b3c;
  box-shadow: 0 0 10px rgba(32, 12, 104, 0.5);
}

.box-footer button {
  padding: 1rem;
  border-radius: 10px;
  border: none;
  background-color: #090b3c;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.6rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.box-footer button:hover {
  background: #5c98e6;
  transform: scale(1.05);
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 3rem;
  font-size: 1.4rem;
  color: #eee;
}

.footer-bottom hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
/* cookies */
.cookies-msg {
  width: 80%;
  background-color: #ccc;
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%);
  border-radius: 1.5rem;
  display: none;
  z-index: 2000;
}

.cookies-msg.removed {
  display: block;
}

.cookies-msg .cookies-txt {
  display: flex;
  align-items: center;
  text-align: justify;
  padding: 20px;
}

.cookies-msg .acceptCookies {
  margin-left: 3rem;
}

.cookies-msg .acceptCookies button {
  background-color: #090b3c;
  color: #ccc;
  border-radius: 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.cookies-msg .acceptCookies button:hover {
  transform: scale(0.9);
}

/* RESPONSIVO GERAL */
@media (max-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  .hero-paragraph {
    font-size: 1.6rem;
  }

  .dif-h3 {
    font-size: 2rem;
  }

  .innerbox {
    flex: 1 1 100%;
  }

  footer {
    padding: 2rem;
    gap: 2rem;
  }

  .footer-logo img {
    max-width: 60%;
  }

  .social-links {
    justify-content: center;
  }
}

/*quemsomos*/
/* REMOVE MARGENS/PADDINGS DAS LISTAS NOS INNERBOX */
.innerbox ul {
  list-style: none;
  padding-left: 0; /* remove recuo padrão */
  margin: 0;
}

.innerbox ul li {
  margin-bottom: 0.8rem; /* espaçamento uniforme entre os itens */
  text-align: left; /* garante alinhamento à esquerda */
  line-height: 2rem;
}
/* Mensagens do formulário */
#form-message {
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  display: none;
}

#form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.hidden {
  display: none;
}
/* =============================== */
/* FORMULÁRIO DE CONTATO */
/* =============================== */
.contact-form {
  max-width: 900px; /* largura maior */
  width: 100%; /* ocupa toda a largura disponível */
  margin: 3rem auto; /* centralizado com espaçamento */
  padding: 2rem; /* respiro interno */
  background: #fff; /* fundo destacado */
  border-radius: 1.2rem;
  box-shadow: 0 0.33rem 1rem rgba(0, 0, 0, 0.15);
}

.contact-form label {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  color: #090b3c;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  margin-bottom: 1.5rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #090b3c;
  box-shadow: 0 0 8px rgba(9, 11, 60, 0.4);
  outline: none;
}

.contact-form button {
  background-color: #090b3c;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #5c98e6;
  transform: scale(1.05);
}

/* responsivo */
@media (max-width: 768px) {
  .contact-form {
    max-width: 100%;
    padding: 1.5rem;
  }
}

/* under construction */
.under-construction {
  text-align: center;
  padding: 6rem 3rem;
  background-color: #ddd;
  color: #0077b6;
}
