/* ==========================
   IMPORTAÇÃO DE FONTES
========================== */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

/* ==========================
   RESET E CONFIGURAÇÕES GERAIS
========================== */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ==========================
   .topo-header
========================== */
.topo-header {
  background-image: url("../images/energiasoalr-header2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 700px;
  overflow: hidden;
}
.topo-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(228, 205, 5, 2.9),
    rgba(66, 60, 1, 0.822)
  );
  z-index: 1;
}

/* ==========================
   .container
========================== */
.container {
  width: 65%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  z-index: 10;
  position: relative; /* só se precisar para elementos internos */
}

/* ==========================
   .header
========================== */
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ==========================
   .header-description, .bg-logo, .logo
========================== */
.header-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 50%;
  padding: 20px;
  border-radius: 5px;
  /* background-color: rgba(0, 0, 0, 0.5); */
}
.bg-logo {
  width: 200px;
  height: 150px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -150px;
}
.logo {
  background-repeat: no-repeat;
  background-size: contain;
  height: 100%;
  width: 100%;
  max-width: 150px;
  max-height: 200px;
}

/* ==========================
   .titulo, .sub-titulo
========================== */
.titulo {
  font-size: 4rem;
  color: white;
  margin-top: 100px;
  text-align: left;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 4.2rem;
}
.sub-titulo {
  font-size: 1.2rem;
  color: white;
  text-align: left;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 300;
  font-style: normal;
  margin-top: 50px;
}

/* ==========================
   .form-simulation
========================== */
.form-simulation {
  width: 40%;
  background-color: #006536;
  padding: 20px;
  color: white;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.form-simulation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 3px solid transparent;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 180, 0.9),
    rgba(255, 255, 255, 0.8),
    rgba(0, 255, 180, 0.9)
  );
  background-size: 300% 300%;
  animation: energiaBordaSuave 3s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}
@keyframes energiaBordaSuave {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 300% 0%;
  }
}
.form-simulation form {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 25px;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.form-simulation input,
.form-simulation select,
.form-simulation button {
  margin: 5px 0;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: none;
}
.form-simulation button {
  color: white;
  background-color: #d3be05;
  text-transform: uppercase;
  font-weight: 800;
}

/* ==========================
   .depoimentos, .depoimento, .estrelas
========================== */
.depoimentos {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  margin-top: -20px;
}
.depoimento {
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.depoimento::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 3px solid transparent;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 180, 0.9),
    rgba(255, 255, 255, 0.8),
    rgba(0, 255, 180, 0.9)
  );
  background-size: 300% 300%;
  animation: energiaBordaSuave 3s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}
.estrelas {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* ==========================
   .empresa, .info, .selo, .local
========================== */
.empresa {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 100px;
  position: relative;
}
.info {
  font-size: 1rem;
  color: #555;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.info h3 {
  position: relative;
  font-size: 2rem;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(90deg, #1a9100 20%, #bfa800 60%, #1a9100 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eletricidade-texto 5s linear infinite;
}
@keyframes eletricidade-texto {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.selo,
.local {
  display: flex;
  align-items: center;
  gap: 12px;
}
.selo img,
.local img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.selo h3,
.local h3 {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* ==========================
   .video, .video-container, .video-frame
========================== */
.video {
  background: linear-gradient(135deg, #006536 0%, #1a9100 40%, #bfa800 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  width: 100%;
  border: 5px;
  margin-top: 50px;
}
.video-container h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  text-align: center;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  margin-top: 20px;
}
.video-container video {
  width: 100%;
  max-width: 1000px;
  border-radius: 5px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  outline: none;
}
.video-frame {
  position: relative;
  display: inline-block;
  border-radius: 10px;
}
.video-frame video {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  display: block;
}
.video-frame::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 15px;
  border: 3px solid transparent;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 180, 0.9),
    rgba(255, 255, 255, 0.8),
    rgba(0, 255, 180, 0.9)
  );
  background-size: 300% 300%;
  animation: energiaBordaSuave 3s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}

/* ==========================
   .titulo-empresa
========================== */
.titulo-empresa {
  font-size: 2.4rem;
  color: #dbd802;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  margin-top: 20px;
}

/* ==========================
   .valor-conta
========================== */
.valor-conta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 32px 24px;
  margin: 40px auto 0 auto;
  max-width: 800px;
}
.valor-conta h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  text-align: center;
  color: #1a9100;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  margin-top: 20px;
}
.valor-conta img {
  border-radius: 7px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================
   .description, .info-solucoes, .solucao
========================== */
.description {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-top: 100px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.description h3 {
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 20px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
}
.description h3 span {
  color: #1a9100;
  font-weight: 700;
}
.info-solucoes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}
.solucao {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 0;
  width: 100%;
}
.solucao h4 {
  margin: 0;
  font-size: 1.5rem;
  color: #1a9100;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  text-align: left;
}
.solucao svg {
  background: linear-gradient(135deg, #1a9100 0%, #bfa800 100%);
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  display: block;
}

/* ==========================
   .botao-simular
========================== */
.botao-simular {
  background-color: #fcb92c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease,
    transform 0.2s cubic-bezier(0.4, 2, 0.6, 1);
}
.botao-simular a {
  color: inherit;
  text-decoration: none;
}
.botao-simular:hover {
  background-color: #bfa800;
  transform: scale(1.08);
}

/* ==========================
   .garantia, .garantia-titulo, .garantia-lista, .garantia-topico
========================== */
.garantia {
  margin-top: 110px;
}
.garantia-titulo {
  text-align: center;
  font-size: 2rem;
  color: #1a9100;
  margin-bottom: 24px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}
.garantia-lista {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 65px;
  flex-wrap: wrap;
}
.garantia-topico {
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  max-width: 240px;
  flex: 1 1 200px;
  text-align: center;
}
.garantia-topico p {
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  color: black;
  font-size: 1.1rem;
  margin-top: 12px;
}
.garantia-topico img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* ==========================
   .footer, .footer-content, .footer-logo
========================== */
.footer {
  background: linear-gradient(135deg, #006536 0%, #1a9100 40%, #bfa800 100%);
  width: 100%;
  position: relative;
  margin: 0;
  left: 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 16px 0;
}
.footer-content p {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-family: "bebas Neue", sans-serif;
  font-weight: 400;
}
.footer-logo {
  width: 180px;
  height: 90px;
  background-image: url("../images/Ampervolt_white.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 5px;
}
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-content a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}

/* ==========================
   RESPONSIVIDADE
========================== */

/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 90%;
    padding: 10px;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .bg-logo {
    margin: 0 auto 0px auto;
  }
  .topo-header {
    height: 100%;
    padding: 40px 20px;
  }
  .header-description,
  .form-simulation {
    width: 100%;
    padding: 10px;
  }
  .depoimentos {
    gap: 24px;
  }
  .empresa {
    flex-direction: row;
    gap: 15px;
    margin-top: 40px;
  }
  .video-container {
    padding: 16px 0;
  }
  .video-frame {
    padding: 10px;
  }
  .video-frame::after {
    border-radius: 40px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    padding: 8px 8px 8px 8px;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .container {
    width: 98%;
    padding: 5px;
  }
  .header {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .topo-header {
    height: 100%;
    padding: 20px;
  }
  .header-description,
  .form-simulation {
    width: 100%;
    padding: 5px;
  }
  .titulo {
    font-size: 2.2rem;
    line-height: 2.4rem;
    margin-top: 40px;
    text-align: center;
  }
  .sub-titulo {
    font-size: 1rem;
    margin-top: 20px;
    text-align: center;
  }
  .bg-logo {
    width: 120px;
    height: 90px;
    margin: 0 auto 10px auto;
  }
  .depoimentos {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .depoimento {
    width: 90vw;
    max-width: 350px;
    height: auto;
    padding: 16px;
    margin-top: 50px;
  }
  .empresa {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
  }
  .video-container h2 {
    font-size: 1.7rem;
    margin-top: 10px;
  }
  .video-container h2 span {
    color: #dbd802;
    font-size: 1.7rem;
  }
  .video-container video,
  .video-frame video {
    max-width: 100vw;
    height: auto;
  }
  .video-frame {
    padding: 10px;
  }
  .video-frame::after {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    padding: 12px;
  }
  .valor-conta h2 {
    font-size: 1.9rem;
    margin-top: 10px;
  }
  .valor-conta img {
    width: 100%;
    max-width: 98vw;
    padding: 15px;
  }
  .description {
    font-size: 1rem;
    margin-top: 40px;
    padding: 0 10px;
    align-items: center;
  }
  .description h3 {
    font-size: 1.9rem;
    padding: 15px;
    margin-top: 20px;
  }
  .info-solucoes {
    gap: 10px;
    max-width: 100vw;
    padding: 0 10px;
    align-items: center;
  }
  .solucao {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
  }
  .solucao svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
  }
  .solucao h4 {
    font-size: 1.2rem;
    text-align: center;
  }
  .garantia-lista {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .garantia-topico {
    min-width: 140px;
    max-width: 98vw;
    padding: 12px 8px;
  }
  .garantia-topico img {
    width: 100px;
    height: 100px;
  }
  .footer-logo {
    width: 120px;
    height: 60px;
  }
}

/* Celulares pequenos (até 480px) */
@media (max-width: 480px) {
  .titulo {
    font-size: 1.3rem;
    line-height: 1.5rem;
    margin-top: 20px;
  }
  .footer-content p,
  .footer-content a {
    font-size: 0.7rem;
  }
  .botao-simular {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .form-simulation {
    width: 100%;
    padding: 10px;
  }
  .form-simulation input,
  .form-simulation select,
  .form-simulation button {
    font-size: 0.9rem;
    padding: 8px;
  }
  .header-description {
    width: 100%;
    padding: 10px;
  }
  .bg-logo {
    margin: 0 auto 10px auto;
  }
  .header-description h1 {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
  .header-description p {
    font-size: 0.9rem;
    margin-top: 10px;
  }
  .video-container h2 {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .video-container h2 span {
    font-size: 1.5rem;
  }
  .video-container video,
  .video-frame video {
    max-width: 100vw;
    height: auto;
  }
  .video-frame {
    padding: 8px;
  }
  .video-frame::after {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    padding: 10px;
  }
  .valor-conta h2 {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .valor-conta img {
    width: 100%;
    max-width: 98vw;
    padding: 10px;
  }
  .description {
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 0 10px;
    text-align: center;
  }
  .description h3 {
    font-size: 1.5rem;
    padding: 10px;
    margin-top: 10px;
  }
  .info-solucoes {
    gap: 8px;
    max-width: 100vw;
    padding: 0 10px;
    align-items: center;
  }
  .solucao {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
  }
  .solucao svg {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 4px;
  }
  .solucao h4 {
    font-size: 1rem;
    text-align: center;
  }
  .garantia-lista {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .footer-logo {
    width: 100px;
    height: 50px;
  }
  .footer-content p,
  .footer-content a {
    font-size: 0.6rem;
  }
  .empresa {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
  }
  .empresa img {
    width: 45px;
    height: 45px;
  }
  .empresa h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  .empresa p {
    font-size: 0.8rem;
    text-align: center;
  }
  .depoimento {
    width: 90vw;
    max-width: 350px;
    height: auto;
    padding: 12px;
    margin-top: 35px;
  }
  .depoimento p {
    font-size: 0.9rem;
    line-height: 1.2rem;
    text-align: center;
  }
  .depoimento .estrelas {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .depoimentos {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .garantia-titulo {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .garantia-topico p {
    font-size: 0.9rem;
    margin-top: 8px;
  }
  .garantia-topico img {
    width: 60px;
    height: 60px;
  }
  .garantia-lista {
    gap: 16px;
  }
  .botao-simular {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  .botao-simular:hover {
    transform: scale(1.05);
  }
  .form-simulation button {
    font-size: 0.9rem;
    padding: 8px;
  }
}
