* {
  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;
  flex-direction: column;
  /* empilha: conteúdo (3 colunas) → linha → faixa inferior */
  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 (25%) ===== */
.depoimento-img {
  flex: 0 0 25%;
  overflow: hidden;
}

.depoimento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s ease;
}
.depoimento-img img.trocando {
  opacity: 0;
}

/* ===== Lado do texto (75%) ===== */
.depoimento-texto {
  flex: 1;
  background: linear-gradient(135deg, #36b4e5 0%, #2596c4 100%);
  color: #fff;
  padding: 100px 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: #36b4e5;
  box-shadow: 0 0 0 3px rgba(54, 180, 229, 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, #36b4e5, #2596c4);
  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, #2596c4, #36b4e5);
  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: 360px;
  }

  .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: 360px;
  }

  .depoimento-container {
    flex-direction: column;
    /* lado a lado → empilhado */
  }

  /* No mobile, a imagem ocupa 100% da largura com altura controlada
     (no desktop ela tem 25% da largura) */
  .depoimento-img {
    flex: 0 0 auto;
    width: 100%;
    height: 360px;
  }
  .depoimento-img img { object-position: center top; }

  .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));
}



/* ===================================================== */
/* CSS — Seção Parceiros + Carrossel contínuo            */
/* Cole no FINAL do seu style.css                        */
/* ===================================================== */




/* ---- Bloco de texto institucional ---- */
.sobre-texto {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: justify;
}
.sobre-texto p { margin-bottom: 18px; line-height: 1.7; }

.parceiros {
  padding: 60px 20px;
  text-align: center;
}

.parceiros h2 {
  margin-bottom: 10px;
  color: #fff;
}

.parceiros-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  color: #fff;
  line-height: 1.6;
}

/* Container: botões + esteira, centralizado */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Janela que recorta a esteira */
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  /* desvanece as bordas esquerda/direita suavemente */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* A esteira que desliza */
.carousel-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: parceiros-scroll 40s linear infinite;
}

/* Pausa (hover ou navegação manual) */
.carousel-track.paused {
  animation-play-state: paused;
}

/* Como duplicamos os logos, -50% completa um ciclo perfeito e reinicia sem salto */
@keyframes parceiros-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card padronizado: todos do mesmo tamanho, logo centralizado */
.parceiro-card {
  flex: 0 0 auto;
  width: 220px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Padroniza os logos: mesma área visual, escala de cinza que colore no hover */
.parceiro-card img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.parceiro-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Botões de navegação */
.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #36b4e5;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(54, 180, 229, 0.35);
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-btn:hover {
  background: #2596c4;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .parceiro-card { width: 140px; height: 95px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 15px; }
}

/* ---- (2) Carrossel de depoimentos ---- */
.depoimento-texto { position: relative; }

.depo-carousel {
  position: relative;
  /* altura definida via JS (--depo-h) para caber o maior depoimento;
     o min-height serve de fallback antes do JS rodar */
  min-height: 340px;
  height: var(--depo-h, auto);
  padding: 20px 40px 80px;
  display: flex;
  align-items: center;
}

/* Todos os slides ficam absolutos e centralizados — assim a altura
   do carrossel NÃO muda ao trocar de depoimento (fim do "pulo") */
.depo-slide {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
  padding: 0 8px;
}
.depo-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Setas */
.depo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #2596c4;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: background .25s ease, transform .25s ease, color .25s ease;
  z-index: 2;
}
.depo-btn:hover { background: #1a2b3c; color: #fff; transform: translateY(-50%) scale(1.08); }
.depo-prev { left: 0; }
.depo-next { right: 0; }

/* Pontinhos */
.depo-dots {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.depo-dot {
  width: 10px; height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.depo-dot.active { background: #fff; transform: scale(1.2); }

@media (max-width: 600px) {
  /* No mobile, libera a altura forçada: cada slide ocupa altura natural,
     evitando que textos longos sejam cortados. O "pulo" não importa aqui
     porque a tela é pequena e o carrossel ocupa a largura total. */
  .depo-carousel {
    padding: 20px 28px 60px;
    min-height: 0;
    height: auto !important;
    display: block;
  }
  .depo-slide {
    position: relative;
    top: auto;
    transform: none;
  }
  .depo-slide:not(.active) {
    display: none;
  }
  .depo-btn { width: 30px; height: 30px; font-size: 13px; }
  .depo-dots { bottom: 14px; gap: 10px; align-items: center; }
  .depo-dot { width: 9px; height: 9px; min-height: 9px; flex: 0 0 auto; border-radius: 50%; }
}

.solucoes-cards .solucao-card img {
  width: 100%;
  max-width: 280px;      /* limita o tamanho da imagem quadrada */
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;        /* centraliza no card */
  border-radius: 10px;
  display: block;
}

/* ============================================================ */
/* CARDS DE MISSÃO / VISÃO / VALORES (padrão Grupo Glatz)       */
/* ============================================================ */
.empresas-painel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.empresa-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.empresa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.empresa-card h3 {
  margin: 0;
  color: #2596c4;
  font-size: 1.2rem;
}
.empresa-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}
@media (max-width: 900px) {
  .empresas-painel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .empresas-painel { grid-template-columns: 1fr; }
}


/* ============================================================ */
/* MENU HAMBÚRGUER MOBILE (CSS puro, sem JavaScript)            */
/* ============================================================ */

/* Botão e checkbox ficam ocultos no desktop */
.menu-toggle { display: none; }
.menu-btn { display: none; }

@media (max-width: 768px) {
  /* Garante o header como referência de posição para o dropdown */
  .header .container { position: relative; flex-wrap: nowrap; }

  /* Mostra o botão hambúrguer (3 barrinhas) */
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 9px;
    border-radius: 8px;
    background: transparent;
    z-index: 1002;
  }
  .menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #005085;
    border-radius: 3px;
    transition: transform .3s ease, opacity .3s ease;
  }

  /* Anima o ícone para "X" quando aberto */
  .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* O menu vira um painel dropdown abaixo do cabeçalho */
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    padding: 0;
    /* fechado por padrão: some e não ocupa espaço */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
    /* anula o scroll horizontal antigo */
    overflow-x: hidden;
    -webkit-overflow-scrolling: auto;
  }

  /* Abre o menu quando o checkbox está marcado */
  .menu-toggle:checked ~ .menu {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
    padding: 8px 0;
  }

  .menu a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid #eef2f7;
  }
  .menu a:last-child { border-bottom: none; }
  .menu a::after { display: none; } /* remove o sublinhado animado no mobile */
}


/* ============================================================ */
/* JOTADEV — seções específicas (tecnologias e CTA)            */
/* mantém a paleta da Glatzon (#36b4e5 / #2596c4)              */
/* ============================================================ */

/* --- Seção Tecnologias --- */
.tecnologias {
  padding: 80px 20px;
  text-align: center;
  background: #f4f8fb;
}
.tecnologias h2 {
  font-size: 2rem;
  color: #1a2b3c;
  margin-bottom: 36px;
}
.tec-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.tec-card {
  background: #fff;
  border: 1.5px solid #d7e6f2;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  color: #2596c4;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.tec-card:hover {
  background: linear-gradient(135deg, #36b4e5, #2596c4);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(54,180,229,.3);
}

/* --- Seção CTA --- */
.cta {
  padding: 90px 20px;
  background: linear-gradient(135deg, #36b4e5 0%, #2596c4 100%);
  text-align: center;
}
.cta-container {
  max-width: 680px;
  margin: 0 auto;
  color: #fff;
}
.cta-container h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.cta-container p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: .95;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #2596c4;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

@media (max-width: 600px) {
  .tecnologias, .cta { padding: 60px 16px; }
  .tecnologias h2, .cta-container h2 { font-size: 1.6rem; }
}


/* --- Cookie banner (harmonizado com a paleta Glatzon) --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a2b3c;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  z-index: 2000;
  display: none; /* o JS exibe como flex quando necessário */
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner a { color: #36b4e5; text-decoration: underline; }
.cookie-banner button {
  background: #36b4e5;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background .2s ease;
}
.cookie-banner button:hover { background: #2596c4; }


/* --- Ajustes da página de Termos (Jotadev) --- */
.termos {
  padding: 130px 20px 70px; /* afasta do header fixo */
}
.termos .container-termos { width: 100%; }
.termos .texto h2,
.termos .texto h3,
.termos .texto p { color: #fff; }
.termos .texto p { margin: 10px 0; opacity: .95; }
