:root{
    --cor_primaria: #00d9f8;
    --cor_secundaria: #1da3b8;
    --Backgroud: #dfdfdf;
    --CP_darkmode: #213872;
    --CS_darkmode: #0e2555;
    --BKG_darkmode: #303030;

    --Border_radius: 45px;
    --box-shadow: 7px 7px 9px 0px rgba(0, 0, 0, 0.3);
    --tamanho_fonte: 19px;
    --borda: 0.9px #1da3b8 solid;
    --borda-dk: 0.9px #213872 solid;
}

h2{
    margin-top: 10%;
    font-size: 250%;
}

/*=============================================================================================================
Banner
=============================================================================================================*/
.banner-home{
    background-image: url('../Imagens/Imagens_home/TreinodeForçanoGinásio.png');
    object-fit: cover;
    object-position: bottom;
    width: 100%;
    height: 55%;
    margin: 0;
    padding-bottom: 20px;
    margin-bottom: 12px;
}

.conteiner-header-home{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.logo-home{
    width: 70px;
    height: 70px;
    border-radius: 100%;
}

.empresa{
    display: flex;
    margin: 1%;
}

.empresa h2{
    font-size: 190%;
    margin-top: 16px;
    margin-left: 2%;
}

.links ul {
    display: flex;
    list-style-type: none;
    gap: 20px; /* espaçamento entre os itens */
    flex-wrap: nowrap; /* impede quebra de linha */
    margin: 0;
    margin-top: 1%;
    padding: 0;
    align-items: center; /* alinha verticalmente */
}

.links li {
    width: auto; /* remove largura fixa */
    margin-right: 0; /* remove margem direita */
    white-space: nowrap; /* impede quebra de texto */
}

.links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px; /* adiciona espaçamento interno */
    display: block;
}

.links a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* efeito hover */
    border-radius: 5px;
    transition: 0.4s;
}

.texto-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* alinha à esquerda */
    justify-content: center;
    padding: 20px; /* espaçamento interno */
    max-width: 100%; /* largura máxima */
    margin: 0 auto; /* centraliza o container */
    height: 100%; /* ocupa toda a altura do banner */
    margin-top: -12px;
    
}

.titulo-banner-home {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left; /* texto alinhado à esquerda */
}

.texto-banner-home {
    font-size: 1.5rem;
    color: white;
    text-align: left; /* texto alinhado à esquerda */
    max-width: 600px; /* largura máxima do texto */
}

.botoes-banner{
    justify-content: left;
    margin-left: 10%;
    display: flex;
    margin-bottom: 2%;
    margin-top: -0px;
}

.entrar-banner{
    background-color: transparent;
    border: 2px var(--cor_primaria) solid;
    font-size: 220%;
    border-radius: 10px;
    padding: 7px;
    width: 130px;
}

.entrar-banner a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.entrar-banner:hover{
    background-color: var(--cor_primaria);
    transition: 0.3s;
}

.cadastro-banner{
    margin-left: 3%;
    background-color: var(--cor_primaria);
    border: 2px var(--cor_primaria) solid;
    border-radius: 10px;
    font-size: 220%;
}

.cadastro-banner a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.cadastro-banner:hover{
    background-color: var(--cor_secundaria);
    border-color: var(--cor_secundaria);
    transition: 0.3s;
}

/*=============================================================================================================
Nossos serviços
=============================================================================================================*/

.SN_home{
    font-size: 3rem;
    width: 750px;
    display: block;
    margin: 0 auto;

}

h3{
    margin-top: 100px;
    font-size: 40px;
}

.nossos-servicos{
    width: 100%;
    background-color: rgba(0, 217, 248, 0.2);
}

.nossos-servicos-container{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15%;
}

.ns-texto{
    max-width: 610px;
    font-size: 21px;
    margin-left: 30px;
}

.ns-img{
    width: 300px;
    height: 300px;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

/*=============================================================================================================
Benefícios
=============================================================================================================*/
section{
    display: flex;
    justify-content: center;
    margin: auto;
}

section img{
    width: 170px;
}

.Beneficio_site{
    margin-bottom: 100px;
}


.beneficios-card{
    width: 178px;
    background-color: var(--cor_primaria);
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 60px;
    border-radius: 10px;
    margin-bottom: 3%;
}

.beneficios-card:hover{
    width: 192px;
    box-shadow: var(--box-shadow);
    font-size: 23px;
    transition: 0.3s;
}

.beneficios-card img{
    margin-top: 3%;
    width: 50%;
    display: block;
    margin: auto;
}

.beneficios-card p{
    font-size: 20px;
    display: block;
    margin: auto;
    text-align: center;
    margin-bottom: 2%;
}

/*=============================================================================================================
Opiniões
=============================================================================================================*/
.opinioes{
    background-color: rgba(0, 217, 248, 0.2);
    display: block;
    padding-bottom: 2%;
    padding-top: 1%;
}

.outras-op {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center; /* centraliza o conteúdo horizontalmente */
    margin-bottom: 50px;
}

.ops {
    display: flex;
    justify-content: center; /* centraliza os itens dentro */
    flex-wrap: wrap; /* para quebrar linha caso tenha mais opiniões */
    gap: 20px; /* espaçamento entre opiniões */
    width: 100%; /* ocupa toda a largura disponível */
    max-width: 900px; /* limite máximo para não ficar esticado demais */
}


.Pessoa {
    margin-left: 19px;
    margin-top: 20px;
    width: 400px;
    border: 2px var(--cor_secundaria) solid;
    border-radius: 20px;
}

.Pessoa p{
    margin: 7px;
    font-size: 25px;
}


.Pessoa:hover{
    width: 280px;
    margin-left: 22px;
    box-shadow: var(--box-shadow);
    transition: 0.3s;
}

/* e coloca isso */
.Pessoa:hover p {
    font-size: 18px;
    transition: 0.3s;
}


.Perfil_pessoa{
    display: flex;
    margin-left: 10px;
    margin-top: 10px;
}

.Perfil_pessoa img{
    width: 50px;
    height: 50px;
    margin-right: 5px;
    
}

.jainsol{
    border: 1px var(--cor_primaria) solid;
    border-radius: 100%;
}

.Perfil_pessoa p{
    font-size: 14px;
}

.estrela-critica {
    width: 25px !important;
    height: auto !important;
    margin: 0px;
}

/*=============================================================================================================
Carrossel
=============================================================================================================*/
/* Estilos do carrossel */
.carrossel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 50px;
    overflow: hidden;
}

.carrossel-opinioes {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrossel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
}

.carrossel-item.active {
    opacity: 1;
    position: relative;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carrossel-btn:hover {
    background-color: var(--cor_primaria);
}

.carrossel-prev {
    left: 10px;
}

.carrossel-next {
    right: 10px;
}

.carrossel-indicadores {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicador.active {
    background-color: var(--cor_primaria);
    transform: scale(1.2);
}

.indicador:hover {
    background-color: var(--cor_secundaria);
}
/* Ajuste para a pessoa no carrossel */
.carrossel-item .Pessoa {
    margin: 10px;
    width: 300px;
    max-width: 90%;
}

body.darkmode .NS_texto{
    border: 0.8px var(--CP_darkmode) solid;
}

body.darkmode .Casa{
    border: 0.8px var(--CP_darkmode) solid;
}

/*=============================================================================================================
Planos
=============================================================================================================*/
.planos-home{
    width: 100%;

}
/*Plano básico*/
.plano-basico{
    border: 1px var(--cor_primaria) solid;
    border-radius: 11px;
    width: 25%;
    margin-right: 5%;
}

.plano-basico h3{
    font-size: 150%;
    margin-top: 2%;
}

.plano-basico p{
    font-size: 120%;
    margin: 6%;
}

.plano-basico a{
    text-decoration: none;
    color: var(--CS_darkmode);
    font-weight: bold;
    margin-left: 8%;
}

/*Plano adaptado*/
.plano-adaptado{
    border: 1px var(--cor_primaria) solid;
    border-radius: 11px;
    background-color: var(--cor_secundaria);
    width: 25%;
    margin-right: 5%;
}

.plano-adaptado h3{
    font-size: 150%;
    margin-top: 2%;
}

.plano-adaptado p{
    font-size: 120%;
    margin: 6%;
}

.plano-adaptado a{
    text-decoration: none;
    color: var(--CS_darkmode);
    font-weight: bold;
    margin-left: 8%;
}

/*Plano avançado*/
.plano-avancado{
    border: 1px var(--cor_primaria) solid;
    border-radius: 11px;
    background-color: var(--CS_darkmode);
    width: 25%;
}

.plano-avancado h3{
    font-size: 150%;
    margin-top: 2%;
    color: white;
}

.plano-avancado p{
    font-size: 120%;
    margin: 6%;
    color: white;
}

.plano-avancado a{
    text-decoration: none;
    color: var(--cor_primaria);
    font-weight: bold;
    margin-left: 8%;
}

.plano-basico:hover{
    width: 28%;
    box-shadow: var(--box-shadow);
    transition: 0.3s;
}

.plano-adaptado:hover{
    width: 28%;
    box-shadow: var(--box-shadow);
    transition: 0.3s;
}

.plano-avancado:hover{
    width: 28%;
    box-shadow: var(--box-shadow);
    transition: 0.3s;
}

/*=============================================================================================================
Responsividade
=============================================================================================================*/
@media(max-width: 1024px){
    .plano-basico, .plano-adaptado, .plano-avancado{
        width: 45%;
    }
}

@media (max-width: 901px) {
  /* HEADER */
  .conteiner-header-home {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .links ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .links a{
    font-size: 18px;
  }

  .empresa h2 {
    font-size: 150%;
    margin: 0;
  }

  /* BANNER */
  .texto-banner {
    align-items: center;
    text-align: center;
  }

  .titulo-banner-home {
    font-size: 2rem;
  }

  .texto-banner-home {
    font-size: 1rem;
    max-width: 90%;
  }

  .botoes-banner {
    margin-left: 0;
    justify-content: center;
  }

  /* NOSSOS SERVIÇOS */
  .nossos-servicos-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ns-img {
    display: none;
  }

  /* BENEFÍCIOS */
  section {
    flex-wrap: wrap;
    gap: 20px;
  }

  .beneficios-card {
    width: 38%;
    margin: 10px 0;
  }
  .beneficios-card:hover{
    width: 40%;
  }
  
  .opinioes{
    margin-top: 2rem;
  }

  /* PLANOS */
  .planos-home {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .plano-basico{
    width: 92%;
    font-size: 120%;
    display: block;
    margin: auto;
  }
  .plano-adaptado{
    width: 92%;
    font-size: 120%;
    display: block;
    margin: auto;
  }
  .plano-avancado{
    width: 92%;
    font-size: 120%;
    display: block;
    margin: auto;
  }

  .plano-basico:hover{
    width: 95%;
  }

  .plano-adaptado:hover{
    width: 95%;
  }

  .plano-avancado:hover{
    width: 95%;
  }

  /* CARROSSEL */
  .carrossel-container {
    max-width: 90%;
  }

  .carrossel-item .Pessoa {
    width: 90%;
  }
  .carrossel-item .Pessoa:hover{
    width: 92%;
  }
}

@media (max-width: 770px){
    .logo-home{
        max-width: 100px;
        width: 80px;
        height: auto;
    }
}

@media (max-width: 480px) {
  /* HEADER */
  .empresa img{
    width: 60px;
    height: 60px;
  }
  .links ul {
    
    align-items: center;
    gap: 5px;
    margin-bottom: -70px;
  }

  .links a {
    padding: 8px 12px;
    font-size: 18px;
  }

  /* BANNER */
  .titulo-banner-home {
    font-size: 2rem;
  }

  .texto-banner-home {
    font-size: 19px;
  }

  .ns-texto{
    max-width: 400px;
    display: block;
    margin: auto;
  }

  .entrar-banner,
  .cadastro-banner {
    font-size: 140%;
    width: auto;
    padding: 6px 12px;
  }

  /* BENEFÍCIOS */
  .beneficios-card {
    width: 90%;
  }
  .beneficios-card:hover{
    width: 93%;
  }
  .beneficios-card p{
    font-size: 30px;
  }


  /* PESSOAS DO CARROSSEL */
  .opinioes{
    display: none;
    }
}

@media (max-width: 322px){
    .links{
        margin-bottom: -20px;
    }
    .links ul{
        gap: 14px;
    }
    .links a{
        padding: 0;
        padding-block: 5px;
        font-size: 18px;
    }
    .beneficios-card{
        margin: auto;
        margin-bottom: 10px;
    }
}