/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #222;
  scroll-behavior: smooth;
  padding-top: 0px;
  margin: 0;
}

/* === HEADER === */
header {
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 0;
  position: relative;
}
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo {
  height: 100px;
  margin-bottom: 18px;
  display: block;
}
.menu {
  display: flex;
  gap: 56px;
  justify-content: center;
  margin-bottom: 20px;
}
.menu a {
  color: #003366;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.18rem;
  transition: color .2s;
  padding: 4px 0;
}
.menu a:hover {
  color: #f8c426;
}

/* === BANNER === */
.banner-fixo {
  width: 100vw;
  min-width: 100vw;
  overflow-x: auto;
  background: #003366;
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}
.banner-bloco {
  display: block;
  width: 16.666vw;
  min-width: 240px;
  max-width: 400px;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-500vw); }
}

/* === PRODUTOS === */
.produtos {
  padding: 60px 20px;
  text-align: center;
}
.produtos h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #f8c426;
  letter-spacing: .02em;
  font-weight: 800;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 26px 24px 24px 24px;
  text-align: left;
  box-shadow: 0 4px 28px #f8c4261a, 0 2px 8px #11728b09;
  color: #333;
  transition: box-shadow .2s, border-color .2s, transform .18s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card:hover {
  box-shadow: 0 8px 36px #f8c42644, 0 2px 8px #11728b22;
  border-color: #f8c426;
  transform: translateY(-3px) scale(1.03);
}
.card h3 {
  font-size: 17px;
  color: #003366;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}
.card p {
  font-size: 14px;
  margin-bottom: 14px;
  color: #444;
  text-align: center;
}
.card a {
  color: #fff;
  background: linear-gradient(90deg, #ff9800 0%, #f8c426 100%);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 10px #f8c42655;
  border: none;
  transition: background .18s, color .15s;
  margin-top: auto;
}
.card a:hover {
  background: #ff9800;
  color: #fff;
}
.card-icon {
  height: 54px;
  margin-bottom: 12px;
  max-width: 76px;
  width: auto;
  display: block;
}

/* === BANCOS PARCEIROS === */
.bancos-parceiros {
  padding: 60px 20px;
  background: #f0f4f8;
  color: #003366;
  text-align: center;
}
.bancos-parceiros h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #f8c426;
  letter-spacing: .02em;
  font-weight: 800;
}
.bancos-parceiros .sub {
  font-size: 16px;
  margin-bottom: 40px;
  color: #555;
}
.banco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.banco-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px #f8c42620, 0 1px 3px #11728b08;
  text-align: center;
  position: relative;
  transition: box-shadow .2s, border-color .2s, transform .18s;
  border: 1px solid #eee;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banco-card:hover {
  box-shadow: 0 8px 36px #f8c42630, 0 2px 8px #11728b22;
  border-color: #f8c426;
  transform: translateY(-3px) scale(1.04);
}
.banco-card img {
  max-width: 76px;
  max-height: 60px;
  width: 100%;
  height: auto;
  margin: 0 auto 10px auto;
}
.banco-info {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: #444;
  text-align: left;
}
.banco-card.open .banco-info {
  display: block;
}
.titulo-info {
  color: #003366;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 4px;
}
.banco-info p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* === SOBRE NÓS === */
.sobre-nos {
  background: #ffffff;
  color: #003366;
  padding: 60px 20px;
  text-align: center;
}
.sobre-nos h2 {
  color: #f8c426;
  font-size: 32px;
  margin-bottom: 18px;
  font-weight: 800;
}
.sobre-nos p {
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  color: #333;
  letter-spacing: 0.2px;
  background: #f7f7fa;
  padding: 30px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 24px #f8c42615;
}

/* === AVALIAÇÕES (CARROSSEL) === */
.avaliacoes-section {
  margin: 60px 0;
  text-align: center;
}
.avaliacoes-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}
.avaliacoes-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  min-height: 260px;
}
.avaliacao-card {
  background: #fff;
  border-radius: 18px;
  border: 2px solid #eee;
  box-shadow: 0 4px 28px #f8c42618, 0 2px 8px #11728b09;
  padding: 32px 18px 24px 18px;
  min-width: 320px;
  max-width: 320px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 
    opacity 0.25s, 
    transform 0.35s cubic-bezier(.8,-0.2,.2,1.2),
    box-shadow 0.25s;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.avaliacao-card.center {
  opacity: 1;
  transform: translateX(-50%) scale(1.06);
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 6px 30px #f8c4262e, 0 2px 8px #11728b22;
}
.avaliacao-card.side-left {
  opacity: 0.7;
  transform: translateX(calc(-50% - 340px)) scale(0.92);
  z-index: 2;
  pointer-events: auto;
}
.avaliacao-card.side-right {
  opacity: 0.7;
  transform: translateX(calc(-50% + 340px)) scale(0.92);
  z-index: 2;
  pointer-events: auto;
}
.avaliacao-card.hide {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.85);
}
.avatar-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid #f8c426;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avaliacao-info {
  width: 100%;
  text-align: center;
}
.avaliacao-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #003366;
  font-weight: 700;
}
.stars {
  color: #ffc107;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.avaliacao-info p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  margin-top: 0;
}
.google-logo {
  width: 28px;
  margin-top: 10px;
  display: block;
  margin: 18px auto 0 auto;
}
.avaliacao-card .avaliacao-info,
.avaliacao-card .avaliacao-info p,
.avaliacao-card .avaliacao-info strong {
  color: #003366 !important;
}

/* === FORMULÁRIO === */
.form-container {
  background: #fff;
  padding: 32px 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
  margin: 60px auto 32px auto;
  color: #003366;
  box-shadow: 0 4px 28px #f8c42618;
  border: 2px solid #f0f4f8;
}
.form-container h2 {
  color: #f8c426;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
label {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #003366;
}
input,
select {
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid #d6d6e0;
  outline: none;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #003366;
  background: #f9fafd;
  transition: border-color .18s;
}
input:focus,
select:focus {
  border-color: #f8c426;
}
button[type="submit"], .form-container button, .form-container input[type="submit"] {
  background: linear-gradient(90deg, #ff9800 0%, #f8c426 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 12px;
  transition: background 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px #f8c42644;
}
button[type="submit"]:hover, .form-container button:hover, .form-container input[type="submit"]:hover {
  background: #ff9800;
}
.input-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 40px;
  right: 32px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  padding: 12px 24px 12px 16px;
  border-radius: 48px;
  box-shadow: 0 6px 24px #0002;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-decoration: none;
  transition: box-shadow 0.2s;
  min-width: 250px;
  max-width: 400px;
  gap: 16px;
  cursor: pointer;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 #25D36644; }
  60% { box-shadow: 0 0 14px 8px #25D36666; }
}
.emoji-bubble {
  background: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-right: 10px;
  box-shadow: 0 2px 8px #0001;
  flex-shrink: 0;
}
.wpp-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wpp-title {
  font-size: 1.13rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.18;
}
.wpp-status {
  font-size: 1rem;
  font-weight: 500;
  background: #10a65b;
  border-radius: 12px;
  padding: 2px 14px;
  width: fit-content;
  color: #eaffde;
  animation: blink 1.6s infinite;
  margin-top: 2px;
  margin-left: 0;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px #0002;
}
.wpp-icon {
  width: 32px;
  height: 32px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes blink {
  0%, 100% { opacity: 1;}
  40% { opacity: 0.8;}
  80% { opacity: 0.3;}
}

/* === RODAPÉ MODERNO === */
.rodape-footer {
  background: #0A1F44;
  color: #fff;
  padding: 36px 0 18px 0;
  font-family: 'Montserrat', sans-serif;
}
.rodape-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}
.rodape-logo {
  width: 170px;
  margin-bottom: 16px;
}
.rodape-footer h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #00FFC2;
}
.rodape-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rodape-footer ul li {
  margin-bottom: 4px;
}
.rodape-footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color .15s;
}
.rodape-footer ul li a:hover {
  color: #f8c426;
}
.rodape-icon {
  width: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.rodape-cert {
  text-align: center;
  margin-top: 22px;
  color: #b7c2d6;
  font-size: 13px;
}
.rodape-cert img {
  height: 60px;
  margin-right: 8px;
  vertical-align: middle;
}
.rodape-legal, .rodape-copy {
  text-align: center;
  margin-top: 10px;
  color: #9baacb;
  font-size: 13px;
}

@media (max-width: 900px) {
  .header-center { padding: 0 8px; }
  .menu { gap: 14px; font-size: 16px; }
  .produtos, .bancos-parceiros, .sobre-nos, .avaliacoes-section, .form-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .card-grid, .banco-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 !important;
  }
  .card, .banco-card {
    padding: 14px 4vw !important;
    font-size: 15px;
    max-width: 96vw;
  }
  .card-icon, .banco-card img {
    height: 46px !important;
    max-width: 60vw !important;
    margin-bottom: 12px;
  }
  .avaliacao-card {
    min-width: 94vw;
    max-width: 96vw;
    padding: 20px 10px;
  }
  .rodape-footer {
    padding: 24px 0 10px 0;
  }
  .rodape-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .rodape-logo { margin: 0 auto 8px auto; }
  .footer, .rodape-footer, .rodape-container, .rodape-legal, .rodape-cert, .rodape-copy {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
}

/* Extra: Garanta que nada "corte" nas laterais */
html, body {
  width: 100vw !important;
  overflow-x: hidden !important;
}
* {
  box-sizing: border-box !important;
}
@media (max-width: 900px) {
  .menu {
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    align-items: flex-start;
    padding: 0 12px;
    width: 100%;
    margin-bottom: 10px;
  }
  .menu a {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: left;
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .menu {
    gap: 12px !important;
    flex-wrap: wrap;
    font-size: 15px !important;
    justify-content: center;
    padding: 0 4vw !important;
    margin-bottom: 8px !important;
  }
  .menu a {
    padding: 6px 2px;
    font-size: 15px !important;
  }
}

@media (max-width: 500px) {
  .menu {
    gap: 5px !important;
    font-size: 13px !important;
  }
}
/* Bancos Parceiros: sempre em grid no mobile */
.banco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Ajuste para telas menores: no mínimo 2 por linha */
@media (max-width: 700px) {
  .banco-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px;
  }
  .banco-card img {
    max-width: 80px;
  }
}
@media (max-width: 430px) {
  .banco-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }
  .banco-card img {
    max-width: 60px;
  }
}
/* Nossos Produtos: 2 colunas no mobile */
@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px;
  }
  .card {
    padding: 12px 6px !important;
    font-size: 14px;
  }
}
@media (max-width: 430px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }
  .card {
    padding: 8px 2px !important;
  }
}
@media (max-width: 900px) {
  .menu {
    flex-direction: row !important;  /* Mantém em linha! */
    flex-wrap: nowrap !important;
    gap: 6px !important;
    font-size: 13px !important;
    padding: 0 2vw !important;
    width: 100vw !important;
    justify-content: center !important;
  }
  .menu a {
    padding: 2px 2px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

/* Ainda mais compacto para telas mínimas */
@media (max-width: 500px) {
  .menu {
    gap: 1vw !important;
    font-size: 11px !important;
    padding: 0 0.5vw !important;
  }
  .menu a {
    font-size: 11px !important;
  }
}
