@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    max-width: 100vw;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;   
    background-color: rgb(128, 128, 128);
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #003366 rgb(255, 255, 255);
  }
  
  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  *::-webkit-scrollbar-track {
    background: #003366;
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: #FFF;
    border-radius: 20px;
  }

  
  /*INÍCIO CARROSSEL dos Anúncios do Início*/
    #inicio {
      position: relative;
      width: 100%;
      height: 70vh;
      overflow: hidden;
      margin-top: 60px;
    }
    
    .carrossel-container {
      position: relative;
      width: 100%;
      height: 100%;
    }
    
    .carrossel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease;
      background-size: cover;
      background-position: center;
    }
    
    .carrossel-slide.ativo {
      opacity: 1;
      z-index: 1;
    }
    
    .conteudo-slide {
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 30px;
      border-radius: 10px;
      width: 100vw;
      height: 70vh;
      text-align: center;
    }
    
    #slide-sobre {
        background-image: url('./arquivos/caue.jpg'); /* Imagem simples sobre a empresa */
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    #slide-sobre h1 {
      font-size: 2.4rem;
      font-weight: 800;
      color: #fff;
      text-shadow: 0 0 10px #000, 2px 2px 8px rgba(0, 0, 0, 0.7);
    }
    
    #slide-qrcode {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        font-family: 'Segoe UI', sans-serif;
        color: #003366;
        background: rgb(183, 229, 255) url('./arquivos/nuvens.webp') repeat-x;
        background-size: contain;
        animation: moverNuvens 60s linear infinite;
    }

    @keyframes moverNuvens {
      from { background-position: 0 0; }
      to { background-position: 1000px 0; }
    }

    .textos_memoria_viva {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .textos_memoria_viva h1 {
      font-size: 3.6rem;
    }

    .textos_memoria_viva p {
      font-size: 1.8rem;
      font-weight: 600;
    }

    .div_imagens_qr {
      display: flex;
      align-items: center;
    }

    .img_qr_code {
      height: 30rem;
    }

    .img_modelo_qr_code {
      height: 50rem;
    }

    /* Responsivo */
  @media (max-width: 1100px) {
    .img_qr_code {
      height: 30rem;
    }

    .img_modelo_qr_code {
      height: 50rem;
    }
  }

  @media (max-width: 750px) {
    .div_imagens_qr {
      flex-direction: column;
    }

    .img_qr_code {
      height: 20rem;
      margin-bottom: 32px;
    }

    .img_modelo_qr_code {
      height: 40rem;
    }
  }
  
  @media (max-width: 470px) {
    .img_qr_code {
      height: 15rem;
    }

    .img_modelo_qr_code {
      height: 35rem;
    }
  }

  @media (max-width: 390px) {
    .img_qr_code {
      height: 15rem;
    }

    .img_modelo_qr_code {
      height: 35rem;
    }
  }

  @media (max-width: 345px) {
    .img_qr_code {
      height: 15rem;
    }

    .img_modelo_qr_code {
      height: 35rem;
    }
  }
  /*FIM CARROSSEL dos Anúncios do Início*/

  /* Início do Container Sobre Nós e CEO */

  .container_CEO {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    font-family: 'Segoe UI', sans-serif;
    max-width: 100vw;         /* ⛔ impede que ultrapasse a largura da viewport */
    overflow: hidden;         /* corta qualquer coisa que sair do limite */
  }

  /* Fundo azul */
  .fundo_base {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #006ddc;
    z-index: 0;
  }

  /* Imagem triangular que sobrepõe o CEO */
  .fundo_angular {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url("./arquivos/imagem_fundo_retangular.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    z-index: 2;
  }

  /* Texto acima de tudo */
  .texto_CEO {
    z-index: 3;
    width: 53%;
    height: 250px; /* ajuste conforme o tamanho do texto */
    padding: 80px 60px;
    font-size: 1.6rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeSlideLeft 1s ease forwards;
  }

  .bloco_texto {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bloco_texto.ativo {
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Imagem do CEO, atrás do triângulo */
  .imagem_CEO {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    animation: fadeSlideUp 1.2s ease forwards;
  }

  .imagem_CEO img:first-child {
    height: 100rem;
    position: absolute;
    bottom: -720;
    right: -240;
    margin-bottom: 2rem;
    z-index: 1;
    object-fit: contain;
  }

  /* Logo */
  .logo_funeraria {
    position: absolute;
    bottom: 0;
    right: 30;
    width: 16rem;
    margin-bottom: 2rem;
    z-index: 3;
  }

  /* Animações */
  @keyframes fadeSlideLeft {
    from {
      opacity: 0;
      transform: translateX(-40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsivo */
  @media (max-width: 1100px) {
    .container_CEO {
      flex-direction: column;
      height: 90vh;
    }

    .texto_CEO {
      width: 100%;
      padding: 60px 30px;
      text-align: center;
    }

    .imagem_CEO {
      width: 80%;
      z-index: 2;
    }
    
    .imagem_CEO img:first-child {
        bottom: -720;
        right: -240;
        margin-bottom: 2rem;
        z-index: 2;
    }

    .logo_funeraria {
      width: 80px;
    }
  }

  @media (max-width: 900px) {
    .imagem_CEO img:first-child {
        bottom: -720;
        right: -240;
    }
  }
  
  @media (max-width: 858px) {
    .imagem_CEO img:first-child {
        bottom: -540;
        right: -240;
    }
  }

  @media (max-width: 710px) {
    .fundo_angular {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-image: url("./arquivos/imagem_fundo_retangular_menor.png");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: left;
      z-index: 3;
    }

    .imagem_CEO img:first-child {
        bottom: -420;
        right: -240;
    }
  }

  @media (max-width: 600px) {
    .imagem_CEO img:first-child {
        bottom: -420;
        right: -240;
    }
  }

  @media (max-width: 500px) {
    .imagem_CEO img:first-child {
        bottom: -420;
        right: -240;
    }
  }
  
  @media (max-width: 470px) {
    .imagem_CEO img:first-child {
        height: 80rem;
        bottom: -400;
        right: -240;
    }
  }

  @media (max-width: 390px) {
    .imagem_CEO img:first-child {
        bottom: -400;
        right: -240;
    }
  }

  @media (max-width: 300px) {
    .imagem_CEO img:first-child {
        bottom: -410;
        right: -240;
    }
  }
  
  @media (max-width: 280px) {
    .imagem_CEO img:first-child {
        bottom: -300;
        right: -180;
    }
  }
  /* FIM do Container Sobre Nós e CEO */

  /* Início do Container PLANOS */

  .container_planos {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    font-family: 'Segoe UI', sans-serif;
    max-width: 100vw;         /* ⛔ impede que ultrapasse a largura da viewport */
    overflow: hidden;         /* corta qualquer coisa que sair do limite */
    background-image: url("./arquivos/fundo_planos2.png");
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* Texto acima de tudo */
  .textos_principais {
    z-index: 3;
    width: 53%;
    height: 250px; /* ajuste conforme o tamanho do texto */
    padding: 80px 60px;
    font-size: 1.6rem;
    color: rgb(0, 94, 170);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeSlideLeft 1s ease forwards;
  }

  .texto_plano {
    font-size: 1.8rem;
    font-weight: 600;
  }

  .texto_saibaMais {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 3rem;
  }

  /* Imagem do CEO, atrás do triângulo */
  .container_imagem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    animation: fadeSlideUp 1.2s ease forwards;
  }

  .container_imagem img {
    height: 70rem;
    margin-top: 28rem;
  }

  /* Animações */
  @keyframes fadeSlideLeft {
    from {
      opacity: 0;
      transform: translateX(-40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsivo */
  @media (max-width: 1100px) {
    .container_planos {
      flex-direction: column;
      height: 90vh;
    }

    .textos_principais {
      width: 100%;
      padding: 60px 30px;
      text-align: center;
    }
  }
  
  @media (max-width: 470px) {
    .container_imagem img {
      height: 50rem;
    }
  }

  @media (max-width: 390px) {
    .container_imagem img {
      height: 40rem;
    }
  }
  /* FIM do Container PLANOS */


  .div-iframe {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  }

  .div-iframe iframe {
    border-radius: 12px;
  }

    .div-mapa {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
        width: 100%;
        max-width: 800px; /* Tamanho máximo desejado */
        height: auto;
    }

    .texto-localizacao {
        color: #000e88;
        font-size: 2.4rem;
        font-weight: 800;
        font-style: italic;
        margin-bottom: 16px;
    }

    .map-container {
        position: relative;
        width: 100%;
        max-width: 800px; /* Tamanho máximo desejado */
        padding-bottom: 56.25%; /* Proporção 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        margin: 0 auto; /* Centraliza o container */
    }

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

  .divisoria {
    width: 2px;
    height: 50vh;
    background-color: #9c9c9c;
  }

  .div-contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    margin: 16px;
    background-color: #dbdbdb;
    border-radius: 16px;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  }

  .div-contato h2 {
    color: #000e88;
    font-weight: 800;
    font-style: italic;
    font-size: 2.4rem;
    margin-bottom: 16px;
  }

  .div-contato p {
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .div-contato label {
    font-weight: 500;
    font-size: 1.2rem;
  }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    textarea {
        width: 100%;
        padding: 10px 15px;
        font-size: 16px;
        font-family: "Roboto", sans-serif;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: border-color 0.3s, box-shadow 0.3s;
        outline: none;
        background-color: #fff;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="number"]:focus,
    textarea:focus {
        border-color: #4A90E2;
        box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
    }

    button {
        background-color: #4A90E2;
        color: #fff;
        border: none;
        padding: 12px 24px;
        font-size: 16px;
        font-family: "Roboto", sans-serif;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    button:hover {
        background-color: #357ABD;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    button:active {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }


  .centralizador {
    display: flex;
    align-items: center;
    justify-content: center;
  }

/* Ícone WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  filter: invert(1); /* se for um SVG preto puro, isso deixa ele branco */
}
/* Fim Ícone WhatsApp */


/* INÍCIO DA ESTILIZAÇÃO DA PÁGINA DOS PLANOS */

.planos {
    margin-top: 5rem;
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.planos h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.planos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.plano-card {
    position: relative;
    border-radius: 16px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: white;
    transition: transform 0.3s;
}

.plano-card:hover {
    transform: translateY(-5px);
}

.plano-card h3 {
    font-size: 1.5rem;
    color: #222;
}

.plano-frase {
    font-weight: 600;
    font-style: italic;
    color: #000;
    margin: 10px 0 15px;
}

.plano-preco {
    font-size: 1.25rem;
    color: #006400;
    font-weight: bold;
    margin-bottom: 15px;
}

.plano-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plano-card ul li {
    font-weight: 500;
    margin-bottom: 8px;
    padding-left: 1em;
    position: relative;
}

.plano-card ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
    color: #2e8b57;
}

/* Brilho animado */
.plano-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
}

.plano-card:hover::after {
    animation: brilho 1.5s forwards;
}

@keyframes brilho {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.fonte-preta {
    color: #000;
}

/* Estilo individual por plano */
.simples {
    background: linear-gradient(135deg, #cd7f32, #b87333); /* Bronze */
    color: #000;
}

.intermediario {
    background: linear-gradient(135deg, #c0c0c0, #a9a9a9); /* Prata */
    color: #000;
}

.premium {
    background: linear-gradient(135deg, #b8860b, #ffd700); /* Dourado */
    color: #000;
}

.whatsapp-button {
    background-color: #2e8b57;
    color: #fff;
    border: none;
    padding: 12px 24px;
    margin-top: 12px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.whatsapp-button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.whatsapp-button i {
  font-size: 18px;
}

/* FIM DA ESTILIZAÇÃO DA PÁGINA DOS PLANOS */


/* INÍCIO RODAPÉ */

.footer {
    background-color: #003366; /* Cor de fundo do footer */
    color: #fff; /* Corgb(136, 136, 136) texto */
    padding: 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-logos img {
    max-width: 12.0rem;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon svg {
  fill: #666;
  transition: fill 0.3s;
}

.social-icon.instagram:hover svg { fill: #FF0069; }
.social-icon.facebook:hover svg { fill: #0866FF; }
.social-icon.whatsapp:hover svg { fill: #25D366; }

.footer-rights {
    margin-top: 20px;
}

.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 255, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-logos {
        margin-bottom: 20px;
    }

    .footer-links {
        margin-bottom: 20px;
    }
}


/* FIM RODAPÉ */

@media (max-width: 858px) {
    html {
        font-size: 52%;
    }

    .opcoes_navegacao {
        display: none;
    }

    .menu-deslogado ul {
        display: block;
        position: fixed;
        width: 30%;
        height: 100vh;
        background: rgb(124, 124, 124);
        top: 8vh;
        right: -100%;
        text-align: center;
        transition: all .5s;
    }

    .checkbtn-deslogado {
        display: block;
        margin-right: 32px;
    }
    
    .menu ul {
        position: fixed;
        width: 30%;
        height: 100vh;
        background: rgb(82, 82, 82);
        top: 8vh;
        right: -100%;
        text-align: center;
        transition: all .5s;
    }

    .menuPC {
        display: none;
    }
    
    .mais-opcoes {
        display: block;
    }

    nav ul li {
        display: block;
        margin: 3.5rem 0;
        line-height: 1rem;
    }

    #check:checked ~ ul {
        right: 0;
    }

    .div-iframe {
        flex-direction: column;
    }

  .divisoria {
    width: 50vh;
    height: 2px;
  }



}

@media (max-width: 710px) {
    html {
        font-size: 45%;
    }
}

@media (max-width: 575px) {
    html {
        font-size: 40%;
    }

  .map-container {
    max-width: 100%; /* Em telas pequenas, utilize toda a largura disponível */
    padding-bottom: 75%; /* Se desejar uma proporção diferente para pequenos dispositivos */
  }
}

@media (max-width: 470px) {
    html {
        font-size: 50%;
    }

  .divisoria {
    width: 30vh;
  }
}

@media (max-width: 400px) {
    
}

@media (max-width: 320px) {

}

@media (max-width: 280px) {
    html {
        font-size: 40%;
    }
}