/* style-identificador.css */

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body.modal-aberto {
  overflow: hidden;
}


.produto {
  padding: 60px 20px;
  background: linear-gradient(to right, #0061a7, #34b2d9);
  color: white;
  margin: 0; /* zera margens externas */
  border: none; /* garante que não haja bordas */
}

.produto .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.produto .categoria {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.produto h1 {
  font-size: 32px;
  margin: 10px 0;
}

.produto p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.produto h1,
.produto p,
.produto .categoria {
  color: white;
}

.botoes .botao {
  display: inline-block;
  padding: 12px 20px;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.botao.primario {
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.botao.primario:hover {
  background-color: #eab308;
}

.botao.primario:hover {
  background-color: #eab308;
}


.botao.secundario {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  transition: background 0.3s, color 0.3s;
}
.botao.secundario:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}


.imagem img {
  width: 100%;
  border-radius: 12px;
}

.caracteristicas {
  padding: 60px 20px;
  background: white;
}

.titulo-secao {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.icones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}

.icones li {
  background: #f0f4ff;
  border-left: 4px solid #0072ff;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
}

.galeria img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 200px;
}

.galeria {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.especificacoes {
  padding: 60px 20px;
  background: #f9f9f9;
}

.especificacoes table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.especificacoes table td {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.especificacoes table tr:last-child td {
  border-bottom: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.botao.primario {
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.botao.primario:hover {
  background-color: #eab308;
}

.botao.primario:hover {
  background-color: #eab308;
}


.botao.secundario {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  transition: background 0.3s, color 0.3s;
}
.botao.secundario:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}


.galeria-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .galeria-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .galeria-thumbs {
    grid-template-columns: 1fr;
  }
}

.thumb iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.thumb {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  position: relative;
}

.thumb div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* opcional: fundo para contraste */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.thumb:hover {
  transform: scale(1.02);
}

.thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.thumb.video {
  position: relative;
}

.thumb.video .play-icon {
  position: absolute;
  font-size: 40px;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-shadow: 0 0 10px #000;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}


.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 95vw;
  width: auto;
  max-height: 95vh;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}



.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  object-fit: contain;
}


.produto .imagem {
  display: flex;
  justify-content: center;
  align-items: center;
}


.produto .imagem img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

.produto .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .produto .grid {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 60px;
  }}

    .produto .imagem {
    margin-top: 60px;
  }

    .produto .botoes {
    justify-content: center;
    flex-wrap: wrap;
  }

    .produto .botoes .botao {
    margin-bottom: 10px;
  }

  /* Modal Bitrix */
#modalBitrix {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#modalBitrix 
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 95vw;
  width: auto;
  max-height: 95vh;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.scroll-wrapper {
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 10px;
}

.faq-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.faq-box {
  background: #2563eb;
  color: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle .icon {
  transition: transform 0.2s ease;
}

.faq-toggle.active .icon {
  transform: rotate(180deg);
}

.faq-content {
  background: white;
  color: #333;
  padding: 16px 20px;
  display: none;
  font-size: 16px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

#modalDemonstração {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#modalDemonstração 
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 95vw;
  width: auto;
  max-height: 95vh;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


#modalDemonstração .scroll-wrapper {
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 10px;
}

.faq-botoes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.botao {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.botao.primario {
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.botao.primario:hover {
  background-color: #eab308;
}

.botao.primario:hover {
  background-color: #eab308;
}


.botao.secundario {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  transition: background 0.3s, color 0.3s;
}
.botao.secundario:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}


.cta-final {
  background-color: #2563eb; /* azul forte */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.cta-final h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-final p {
  max-width: 900px;
  margin: 0 auto 32px auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-final .botao.primario {
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.botao.primario:hover {
  background-color: #eab308;
}

.cta-final .botao.primario:hover {
  background-color: #eab308;
}


.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  object-fit: contain;
}

.youtube-lazy {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 12px;
  margin-bottom: 20px;
}
.youtube-lazy .play-button {
  width: 70px;
  height: 50px;
  background: url('https://i.imgur.com/TxzC70f.png') no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#youtube-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#youtube-container {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: black;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

#youtube-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
