body{
    background-color: #3f3f3f; 
    color: #c2c2c2;
}
.cabecalho{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-around;
}
.item-menu{
    padding: 24px 10px;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color:black;
}
.item-menu:hover{
    color: rgb(206, 27, 27);
    transition: 0.8s;
}
#img-cabecalho{
    width: 100px;
    background-image: none;
    border: none;
    background-color:none ;
}
#menu-cabecalho{
    display: flex;
    gap: 40px;
}

.conteudo{
    border-top: 0.4px solid black;
    margin-bottom: 50px;
}
.conteudo-principal{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.conteudo-principal-escrito{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.conteudo-principal-escrito-titulo{
    font-family: poppins, sans-serif;
    font-size: 50px;
    line-height: 0.9;
}
#preco{
    font-size: 30px;
}
.conteudo-principal-escrito-subtitulo{
    font-family: poppins, sans-serif;
    color:rgb(206, 27, 27);
    font-size: 35px;
    line-height: 1.5;
}
.botao-callme{
    font-family: "poppins";
    background-color: rgb(30, 201, 30);
    width: 270px;
    height: 70px;
    border: none;
    border-radius: 20px;
    box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-style: normal;
    font-size: 35px;
    padding-bottom: 70px;
}
.botao-callme:hover{
    background-color: rgb(28, 167, 28);
    transition: 0.4s;
    width: 275px;
    cursor: pointer;
}
.foto-principal{
    height: 500px;
    border-radius: 30px;
    padding: 20px;
}
#whatsapp-menu{
    height: 32px;
    padding-top: 20px;
}
.logo-wpp-botao{
    height: 30px;
    padding-left: 10px;
    padding-top: 20px;
}
.conteudo-secundario{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}
.conteudo-secundario-titulo{
    /*border-top: 0.4px solid black;*/
    padding-top: 90px;
    font-family: poppins;
    font-style: normal;
    font-size: 35px;
    margin-bottom: 16px;
}
.conteudo-secundario-frase{
    font-family: poppins;
    font-size: 20px;
    margin-bottom: 15px;
}

#duvida{
    font-family: poppins;
    color: rgb(206, 27, 27);
    font-size: 25px;

}
.botao-callme-footer{
    font-family: "poppins";
    background-color: rgb(30, 201, 30);
    width: 230px;
    height: 50px;
    border: none;
    border-radius: 40px;
    box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-style: normal;
    font-size: 35px;
    padding-bottom: 70px;
    align-items: center;
    text-decoration: none;
    color: black;
}
.botao-callme-footer:hover{
    background-color: rgb(28, 167, 28);
    transition: 0.4s;
    width: 240px;
    cursor: pointer;
}
#rodape{
    display: flex;
    flex-direction: row;
    border-top: 0.4px solid black;
    padding: 40px;
    justify-content: center;
}
#tag-jprm{
    font-family: poppins;
    font-size: 20px;
    font-weight: 400;
    padding-left: 100px;
    padding-top: 20px;
}
.botao-ima{
    background-color: transparent;
    border: none;
}

.botao-rede .botao-instagram{
        position: absolute;
        height: 32px;
        width: 32px;
        opacity: 1;
        z-index:1;
        cursor: pointer;
        margin-top: 20px;
}
.botao-rede .botao-instagram-hover{
        position: absolute;
        height: 32px;
        width: 32px;
        cursor: pointer;
        margin-top: 20px;
}
.botao-instagram:hover {
        opacity:0;
        transition: 0.8s;
        width: 32px;
        height: 32px;
}

.botao-rede .botao-wpp{
    position: absolute;
    height: 32px;
    width: 32px;
    opacity: 1;
    z-index:1;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 20px;
}
.botao-rede .botao-wpp-hover{
    position: absolute;
    height: 32px;
    width: 32px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 20px;
}
.botao-wpp:hover {
    opacity:0;
    transition: 0.8s;
    width: 32px;
    height: 32px;
}
.botao-transparente-rede{
    background-color: transparent;
    padding-bottom: 70px;
    border: none;
}
body{
    animation: fadein 3s;
}


.topico {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 80px auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

/* Texto dos tópicos */
.texto-topico {
  flex: 1 1 450px;
  text-align: left;
}

.topico h2 {
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  color: #c2c2c2;
  margin-bottom: 16px;
}

.topico p {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #c2c2c2;
  line-height: 1.6;
  max-width: 600px;
}

/* Imagens gerais dos tópicos (reduzidas em 30%) */
.imagem-topico {
  flex: 1 1 350px;
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Alternância das posições */
.topico-direita {
  flex-direction: row;
}

.topico-esquerda {
  flex-direction: row;
}

/* Último tópico (carrossel) centralizado */
.topico-central {
  flex-direction: column;
  gap: 10px;          /* reduz o espaço entre o texto e o comparador */
  margin: 40px auto;  /* reduz espaço acima/abaixo do container */
}

.topico-central .texto-topico {
  margin: 0;          /* remove margens internas do texto */
}
.topico-central h2 {
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  color: #c2c2c2;
  margin-bottom: 10px;
}

.topico-central p {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #c2c2c2;
  line-height: 1.5;
  margin: 0 auto 15px auto; /* centraliza e controla o espaçamento */
  max-width: 600px;
}

/* --- Tópico especial com duas imagens --- */
.topico-duas-imagens {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap; /* evita quebrar linha em telas grandes */
  text-align: center;
}

.imagem-topico-menor {
  width: 250px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.texto-centralizado {
  text-align: center;
  flex: 1 1 100%;
}

/* Divisórias mais espaçadas */
.divisoria {
  border: none;
  height: 1px;
  background-color: black;
  width: 80%;
  margin: 70px auto;
}

.topico-duas-imagens .imagem-topico-menor {
  width: 300px;
  flex-shrink: 0;
}

.topico-duas-imagens .texto-centralizado {
  flex: 1;
  max-width: 600px;
  text-align: center;
}

/* Responsividade */
@media (max-width: 900px) {
  .topico,
  .topico-direita,
  .topico-esquerda,
  .topico-duas-imagens {
    flex-direction: column;
    text-align: center;
  }

 .texto-topico {
    display: flex;
    flex-direction: column;
    align-items: center;  /* centraliza todos os filhos (h2, p, botão) */
    gap: 15px;            /* espaçamento entre título, texto e botão */
}

  .imagem-topico,
  .imagem-topico-menor {
    max-width: 90%;
  }
}

.comparador {
  width: 800px; /* ou um tamanho máximo tipo 800px */
  max-width: 800px; 
  height: 400px; /* ajusta a altura do antes/depois */
  overflow: hidden;
  margin-top: -250px;
}

.imagem-container {
  position: relative;
  width: 100%;
  height: 350px;          /* altura fixa */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imagem.depois {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0); /* começa no meio */
  transition: clip-path 0.1s linear;
}

.slider {
  width: 100%;
  margin-top: 15px;
  -webkit-appearance: none;
  height: 6px;
  background: #c2c2c2;
  border-radius: 3px;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(206, 27, 27);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Responsividade */
@media (max-width: 700px) {
  .imagem-container {
    height: 250px;
  }
}

.botao-callme2{
    font-family: "poppins";
    background-color: rgb(30, 201, 30);
    width: 480px;
    height: 45px;
    border: none;
    border-radius: 20px;
    box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
    padding-bottom: 70px;
}

.botao-callme2:hover{
    background-color: rgb(28, 167, 28);
    transition: 0.4s;
    width: 505px;
    cursor: pointer;
}

@media (max-width: 768px) {

  /* CABEÇALHO */
  .cabecalho {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  #menu-cabecalho {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .item-menu {
    font-size: 18px;
    padding: 10px;
    color: #000;
  }

  #img-cabecalho {
    width: 80px;
  }

  /* CONTEÚDO PRINCIPAL */
  .conteudo-principal {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 10px;
  }

  .conteudo-principal-escrito-titulo {
    font-size: 28px;
    line-height: 1.2;
  }

  #preco {
    font-size: 18px;
  }

  .conteudo-principal-escrito-subtitulo {
    font-size: 22px;
  }

  .botao-callme {
    width: 220px;
    height: 55px;
    font-size: 22px;
    padding: 0;
  }

  .foto-principal {
    width: 90%;
    height: auto;
    border-radius: 15px;
  }

  /* TÓPICOS */
  .topico {
    flex-direction: column !important;
    gap: 25px;
    text-align: center;
    margin: 40px 10px;
  }

  .texto-topico {
    align-items: center;
  }

  .topico h2 {
    font-size: 26px;
  }

  .topico p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 90%;
  }

  .imagem-topico,
  .imagem-topico-menor {
    width: 90%;
    max-width: 320px;
  }

  .botao-callme2 {
    width: 250px;
    height: 50px;
    font-size: 20px;
    padding: 0;
  }

  /* COMPARADOR */
  .comparador {
    width: 100%;
    max-width: 90%;
    height: auto;
    margin: -100px auto 0 auto;
  }

  .imagem-container {
    height: 220px;
  }

  .slider {
    margin-top: 10px;
  }

  /* RODAPÉ */
  #rodape {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    text-align: center;
  }

  #tag-jprm {
    font-size: 14px;
    padding: 0;
  }

  /* GERAL */
  h1, h2, h3, p {
    word-wrap: break-word;
  }
}

/* ======== AJUSTE DO CABEÇALHO PARA MOBILE ======== */
@media (max-width: 768px) {

    /* Container geral */
    .cabecalho {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 0;
    }

    /* Menu contendo os itens */
    #menu-cabecalho {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 5px;
    }

    /* Remove gambiarras que quebram tudo no mobile */
    .botao-transparente-rede {
        padding: 0;         /* antes tinha 70px */
        border: none;
        background: none;
    }

    /* Corrige os ícones que estavam usando position absolute */
    .botao-rede .botao-instagram,
    .botao-rede .botao-instagram-hover,
    .botao-rede .botao-wpp,
    .botao-rede .botao-wpp-hover {
        position: relative;
        margin: 0;
    }

    /* Ajusta o tamanho dos ícones no mobile */
    .botao-rede img {
        width: 28px;
        height: 28px;
    }

    /* O item “Início” */
    .item-menu {
        padding: 8px;
        font-size: 18px;
        color: black;
    }
}
/* ======== REMOVER ÍCONES VERMELHOS NO MOBILE ======== */
@media (max-width: 768px) {

    /* Esconde totalmente o ícone vermelho */
    .botao-instagram-hover,
    .botao-wpp-hover {
        display: none !important;
    }

    /* Garante que o preto fique sempre visível */
    .botao-instagram,
    .botao-wpp {
        opacity: 1 !important;
    }

    /* Remove o efeito de hover no mobile */
    .botao-instagram:hover,
    .botao-wpp:hover {
        opacity: 1 !important;
    }
}
/* ===== Ajuste dos botões WhatsApp no mobile ===== */
@media (max-width: 768px) {
    /* Botões verdes como flex container */
    .botao-callme,
    .botao-callme2,
    .botao-callme-footer {
        display: inline-flex;        /* transforma em flex */
        align-items: center;         /* centraliza verticalmente */
        justify-content: center;     /* centraliza horizontalmente */
        gap: 10px;                   /* espaço entre texto e logo */
        width: auto;                 /* deixa largura automática */
        padding: 10px 20px;          /* ajusta padding para caber no mobile */
        font-size: 18px;             /* reduz tamanho da fonte no mobile */
    }

    /* Logo do WhatsApp dentro do botão */
    .botao-callme .logo-wpp-botao,
    .botao-callme2 .logo-wpp-botao,
    .botao-callme-footer .logo-wpp-botao {
        width: 24px;                 /* reduz o tamanho da logo */
        height: 24px;
    }
    .botao-callme,
    .botao-callme2,
    .botao-callme-footer {
        display: inline-flex;
        align-items: center;    /* centraliza verticalmente */
        justify-content: center;
        gap: 10px;
    }
    .botao-callme .logo-wpp-botao,
    .botao-callme2 .logo-wpp-botao,
    .botao-callme-footer .logo-wpp-botao {
        margin: 0;
        padding: 0;
        height: 24px;  /* tamanho ajustado para mobile */
        width: 24px;
    }

}
