* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  background: #182059;
  padding-top: 90px;
}

.container {
  max-width: 1200px;
  /* ou o mesmo que você usa na hero */
  margin: 0 auto;
  color: #000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
}

/* Colocar o conteúdo do header dentro do container */
.header .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo img {
  height: 5rem;
  /* controla o tamanho da logo */
  display: block;
}


.menu {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu a {
  position: relative;
  color: #005085;
  /* pode trocar pra branco se quiser destacar no fundo azul */
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #005085;
  /* mesma cor do texto */
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  background: #182059;
  color: #fff;
  text-align: center;
  padding: 100px 2rem;
  /* mais espaço em cima/baixo */
}

.hero-container {
  max-width: 1000px;
  /* centraliza e limita largura */
  margin: 0 auto;
  padding: 0;
}

.hero-container h1 {
  font-size: 4rem;
  /* aumenta a fonte */
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 2px;
  /* abre um pouco as letras */
  max-width: 1100px;
  /* limita a largura */
  margin-left: auto;
  margin-right: auto;
  /* centraliza */
}

.hero-container p {
  font-size: 1.3rem;
  /* subtítulo maior */
  margin-bottom: 40px;
  color: #cfcfcf;
}

.hero .btn {
  display: inline-block;
  padding: 16px 40px;
  /* botão maior */
  border: 2px solid #fff;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #fff;
  color: #182059;
}

/* Cards */
.cards {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px 20px;
  /* card maior */
  width: 400px;
  transition: transform 0.3s, background 0.3s;
}

.card h3 {
  font-size: 1.5rem;
  /* título maior */
  margin-bottom: 15px;
  color: #fff;
}

.card p {
  font-size: 1.05rem;
  color: #cfcfcf;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  /* leve zoom no hover */
  background: rgba(255, 255, 255, 0.15);
}

/* Hero-2 */

.hero-2 {
  background: #182059;
  color: #fff;
  text-align: center;
  padding: 100px 2rem;
  /* mais espaço em cima/baixo */
}

.hero-2-container h3 {
  font-size: 3rem;
  /* aumenta a fonte */
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 2px;
  /* abre um pouco as letras */
  max-width: 1100px;
  /* limita a largura */
  margin-left: auto;
  margin-right: auto;
  /* centraliza */
}

.cards-2 {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.card-2 {
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, background 0.3s;
  background-color: #fff;
  border-radius: 24px;
  width: 400px;
  overflow: hidden;
  /* ensures rounded corners clip the image */
  display: flex;
  flex-direction: column;
  /* stack image, then text */
}

.card-2 h6 {
  font-size: 1.5rem;
  /* título maior */
  color: #000;
  padding: 1rem;
}

.card-2 p {
  font-size: 1.05rem;
  color: #000;
  line-height: 1.6;
  padding: 1rem;
}

.card-2 img {
  width: 100%;
  height: 350px;
  /* controls image height */
  object-fit: cover;
  /* keeps proportions without stretching */
  border-radius: 24px 24px 0 0;
}

.card-2:hover {
  transform: translateY(-8px) scale(1.02);
  /* leve zoom no hover */
  background: rgba(255, 255, 255, 0.15);
}


/* ===== Footer ===== */
.footer {
  background: #0f1850;
  color: #fff;
  font-size: 14px;
  width: 100%;
  border-top: 1px solid #eee;
  display: flex;
  /* centraliza o conteúdo */
  justify-content: center;
  /* horizontal */
  align-items: center;
  /* vertical (no caso de alturas pequenas) */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centraliza internamente */
  align-items: center;
  /* centraliza colunas no centro */
}

/* Grid das colunas */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8rem;
  align-items: start;
  justify-content: center;
  width: 100%;
}

/* Colunas */
.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* centraliza o texto e a logo */
  text-align: center;
  color: #fff;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-text {
  line-height: 1.6;
  max-width: 320px;
}

/* Logo */
.footer-logo-inline {
  display: block;
  width: clamp(120px, 12vw, 150px);
  height: auto;
  margin-bottom: 12px;
}

/* Links */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin: 5px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #0a66c2;
}

/* Redes sociais */
.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.footer-socials .social-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 8px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.footer-socials .social-icon:hover {
  transform: scale(1.1);
  background: #0a66c2;
}

#linhafooter {
  border-top: 1px solid #eee;
  width: 100%;
  background: #0f1850;
}

/* ============= Footer final =========== */
.footer-bottom {
  background: #0f1850;
  color: #fff;
  padding: 18px 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-bottom-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  /* separa texto e logos */
  align-items: center;
}

/* Texto à esquerda */
.footer-bottom-inner p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  flex-shrink: 0;
  /* impede de encolher */
}

/* ===== Imagens à direita ===== */
.footer-images {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;

}

.footer-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-img:hover {
  transform: scale(1.05);
  opacity: 1;
}



/* Remove setas de inputs numéricos (só por segurança) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ====== Seção Soluções ====== */
.solucoes {
  background: #fff;
  text-align: center;
  padding: 70px 2rem;
  color: #111;
}

.solucoes h2 {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #111;
}

.solucoes p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}



/* Cards soluções */
.solucoes {
  background: #fff;
  text-align: center;
  padding: 100px 2rem;
  color: #111;
}

.solucoes h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.solucoes p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

/* ====== Cards ====== */
.solucoes-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.solucao-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 399px;
  text-align: left;
}

.solucao-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.solucao-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin: 15px 0 8px 7.5px;
}

.solucao-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin: 0 20px 25px 7.5px;
}



/* ===== Soluções Inovadoras ===== */
.solucoes-inovadoras {
  background: #fff;
  color: #111;
  text-align: center;
  padding: 75px 2rem;
}

.solucoes-inovadoras h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.solucoes-inovadoras p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 60px;
}

/* Grid principal */
.grid-solucoes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card individual */
.card-solucoes {
  background: #fff;
  border-radius: 16px;
  text-align: left;
  padding: 0 0 20px 0;
  position: relative;
  width: 120%;
  max-width: 550px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-solucoes img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}

.card-solucoes h3 {
  font-size: 1.3rem;
  margin: 20px 20px 10px 20px;
  color: #000;
}

.card-solucoes p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 20px 25px 20px;
}

/* Seta → */
.card-solucoes .seta {
  position: absolute;
  right: 25px;
  bottom: 20px;
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.card-solucoes:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card-solucoes:hover .seta {
  transform: translateX(5px);
}

/* ===== Seção de Depoimento ===== */
.depoimento {
  background: #fff;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.depoimento-container {
  display: flex;
  width: 90%;
  max-width: 1200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ===== Lado da imagem ===== */
.depoimento-img {
  flex: 1;
}

.depoimento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Lado do texto ===== */
.depoimento-texto {
  flex: 1;
  background: #8fc0e3;
  /* tom de roxo */
  color: #fff;
  padding: 80px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-style: italic;
}

.estrelas {
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.depoimento-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px auto;
}

/* ===== Autor ===== */
.autor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.autor img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 4px;
}

.autor h4 {
  font-weight: 500;
  font-size: 1rem;
}

/* == Formulario == */
#contato {
  background: url(assets/contato.png) no-repeat center/cover;
  display: flex;
  flex-direction: column;
  /* empilha texto e formulário */
  justify-content: center;
  align-items: center;
  background-color: #182059;
  min-height: 100vh;
  padding: 140px 20px 100px;
  /* deixa espaço pro header fixo */
  font-family: "Open Sans", sans-serif;
}

/* ===== Seção de texto acima do formulário ===== */
#text-contato {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  /* espaço entre o texto e o formulário */
}

#text-contato .text-container {
  max-width: 800px;
  margin: 0 auto;
}

#text-contato h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

#text-contato p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #e0e0e0;
}

#formulario {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 50px 60px;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Labels ===== */
#formulario label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  margin-top: 16px;
}

/* ===== Inputs e Textarea ===== */
#formulario input,
#formulario textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#formulario input::placeholder,
#formulario textarea::placeholder {
  color: #aaa;
}


/* ===== Foco ===== */
#formulario input:focus,
#formulario textarea:focus {
  border-color: #9b59b6;
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
  outline: none;
}

/* ===== Layout em duas colunas ===== */
.row {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.row .col {
  flex: 1;
}

/* ===== Botão ===== */
#formulario button {
  display: block;
  margin: 30px auto 0 auto;
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#formulario button:hover {
  background: linear-gradient(90deg, #8e44ad, #9b59b6);
  transform: scale(1.03);
}

/*termos de uso*/

.termos {
  background: #182059;
  color: #fff;
  line-height: 1.6;
}

.termos .container {
  max-width: 1000px;
  margin: 0 auto;
}

.termos h1 {
  color: #fff;
  padding-top: 20px;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.termos hr {
  border: none;
  border-top: 1px solid #fff;
  margin: 20px 0;
}

.termos h2 {
  color: #fff;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.termos h3 {
  color: #fff;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.termos p {
  color: #fff;
  margin-bottom: 15px;
}




/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Direções diferentes */
.reveal.left {
  transform: translateX(-40px);
}

.reveal.right {
  transform: translateX(40px);
}

.reveal.zoom {
  transform: scale(0.9);
}

/* Quando ativar */
.reveal.left.active,
.reveal.right.active,
.reveal.zoom.active {
  transform: none;
}

/* ============================
   RESPONSIVIDADE
   ============================ */

/* <= 1200px (notebooks) */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 90px 1.5rem;
  }

  .hero-container h1 {
    font-size: 3.2rem;
    max-width: 900px;
  }

  .cards {
    gap: 24px;
  }

  .card {
    width: min(100%, 360px);
  }

  .cards-2 {
    gap: 20px;
  }

  .card-2 {
    width: min(100%, 380px);
  }

  .grid-solucoes {
    gap: 28px;
  }

  .card-solucoes img {
    height: 320px;
  }

  body {
    padding-top: 84px;
  }

  /* header fixo menor */
}

/* <= 992px (tablets landscape) */
@media (max-width: 992px) {
  .header {
    height: auto;
    padding: 10px 0;
  }

  .header .logo img {
    height: 100px;
  }

  .menu {
    gap: 18px;
    flex-wrap: wrap;
  }

  .menu a {
    font-size: 15px;
  }

  .hero {
    padding: 80px 1.25rem;
  }

  .hero-container {
    max-width: 880px;
  }

  .hero-container h1 {
    font-size: 2.6rem;
    letter-spacing: 1px;
  }

  .hero-container p {
    font-size: 1.1rem;
  }

  .hero .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
  }

  .cards,
  .cards-2,
  .solucoes-cards {
    gap: 18px;
  }

  .solucao-card,
  .card-2,
  .card {
    width: 100%;
    max-width: 640px;
  }

  .solucao-card img {
    height: 220px;
  }

  .grid-solucoes {
    grid-template-columns: 1fr;
    /* 2 col → 1 col */
    gap: 24px;
    max-width: 760px;
  }

  .card-solucoes {
    width: 100%;
    max-width: 720px;
  }

  .card-solucoes img {
    height: 260px;
  }

  .depoimento-container {
    width: 94%;
  }

  .depoimento-texto {
    padding: 56px 40px;
  }

  #formulario {
    padding: 40px;
    max-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    /* 3 col → 2 col */
    gap: 3rem;
  }

  body {
    padding-top: 76px;
  }

  /* compensa header menor */
}

/* <= 768px (tablets portrait / celulares grandes) */
@media (max-width: 768px) {
  .header .logo img {
    height: 50px;
  }

  .menu {
    gap: 14px;
  }

  .menu a {
    font-size: 14px;
  }

  body {
    padding-top: 72px;
  }

  .hero {
    padding: 72px 1rem;
  }

  .hero-container h1 {
    font-size: 2.1rem;
  }

  .hero-container p {
    font-size: 1rem;
  }

  .cards,
  .cards-2,
  .solucoes-cards {
    justify-content: center;
  }

  .card,
  .card-2,
  .solucao-card {
    max-width: 520px;
  }

  .card-2 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .solucao-card img {
    height: 200px;
  }

  .grid-solucoes {
    max-width: 640px;
  }

  .card-solucoes img {
    height: 220px;
  }

  .depoimento-container {
    flex-direction: column;
    /* lado a lado → empilhado */
  }

  .depoimento-texto {
    padding: 40px 24px;
  }

  .estrelas {
    font-size: 1.3rem;
  }

  #contato {
    min-height: auto;
    padding: 100px 16px 80px;
  }

  .row {
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner {
    padding: 2.5rem 1.25rem 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    /* 2 col → 1 col */
    gap: 2rem;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-images {
    justify-content: center;
    gap: 16px;
  }
}

/* <= 560px (celulares) */
@media (max-width: 560px) {
  .menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding: 64px 12px;
  }

  .hero-container h1 {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }

  .hero-container p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero .btn {
    width: 100%;
    max-width: 360px;
  }

  .card,
  .card-2,
  .solucao-card,
  .card-solucoes {
    max-width: 100%;
  }

  .card-solucoes {
    border-radius: 14px;
  }

  .card-solucoes img {
    height: 200px;
    border-radius: 14px 14px 0 0;
  }

  #formulario {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .footer-socials .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-img {
    height: 32px;
  }

  body {
    padding-top: 66px;
  }
}

/* <= 400px (bem estreito) */
@media (max-width: 400px) {
  .menu a {
    font-size: 13px;
  }

  .hero-container h1 {
    font-size: 1.6rem;
  }

  .hero .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .solucao-card h3 {
    font-size: 1.1rem;
  }

  .solucao-card p {
    font-size: 0.95rem;
  }

  #formulario button {
    width: 100%;
  }
}

.hero-container h1,
.solucoes h2,
.solucoes-inovadoras h2 {
  text-wrap: balance;
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.active,
  .reveal.left,
  .reveal.right,
  .reveal.zoom {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Foco visível para teclado (acessibilidade) */
:focus-visible {
  outline: 2px dashed #0a66c2;
  outline-offset: 2px;
}

/* Otimiza pintura/scroll de cards em telas longas */
@supports (content-visibility: auto) {

  .card,
  .card-2,
  .solucao-card,
  .card-solucoes {
    content-visibility: auto;
    contain-intrinsic-size: 300px 400px;
    /* reserva espaço e evita layout shift */
  }
}

/* Melhor clique em botões/links no mobile */
@media (max-width: 560px) {

  a,
  .btn,
  button {
    min-height: 44px;
    /* alvos tocáveis confortáveis */
  }
}

/* Guarda-chuva de contrastes em hovers (evita sumir no tema escuro) */
@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    color: #7db9ff;
  }
}

/* Safárea iOS – evita header colar na barra notch */
body {
  padding-top: calc(var(--header-offset, 90px) + env(safe-area-inset-top));
}