/* ==========================================================================
   VARIÁVEIS GLOBAIS DE COR (ROOT)
   ========================================================================== */
:root {
    --cor-principal: #D4AF37;      /* Cor primária (Textos e Círculo Ativo) */
    --cor-secundaria: #333333;     /* Cor secundária (Círculos Inativos) */
    --cor-estrelas: #fdda17;       /* Cor fixa e independente para as estrelas */
}


/* ==========================================================================
   ESTILOS DO DEPOIMENTO COM VARIÁVEIS
   ========================================================================== */

.dp_strs{
	color: var(--cor-estrelas);
	margin: 10px auto 0 auto;
}

@-webkit-keyframes check {
  50% {
    outline-color: var(--cor-principal);
    box-shadow: 0 0 0 12px var(--cor-principal), 
                0 0 0 36px color-mix(in srgb, var(--cor-principal) 20%, transparent); 
  }
  100% {
    outline-color: var(--cor-principal);
    box-shadow: 0 0 0 0 var(--cor-principal), 
                0 0 0 0 color-mix(in srgb, var(--cor-principal) 0%, transparent); 
  } 
}

@keyframes check {
  50% {
    outline-color: var(--cor-principal);
    box-shadow: 0 0 0 12px var(--cor-principal), 
                0 0 0 36px color-mix(in srgb, var(--cor-principal) 20%, transparent); 
  }
  100% {
    outline-color: var(--cor-principal);
    box-shadow: 0 0 0 0 var(--cor-principal), 
                0 0 0 0 color-mix(in srgb, var(--cor-principal) 0%, transparent); 
  } 
}

.testimonials-section {
  height: 400px;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 0; 
}

/* Altura points nav (Círculos inativos usam a cor secundária) */
.slider__nav { 
  width: 30px;
  height: 30px;
  margin: 60px 8px;
  border-radius: 50%;
  z-index: 10;
  outline: 6px solid var(--cor-secundaria);
  outline-offset: -6px;
  box-shadow: 0 0 0 0 var(--cor-principal), 0 0 0 0 var(--cor-principal);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; 
}

.slider__nav:checked {
  -webkit-animation: check 0.4s linear forwards;
  animation: check 0.4s linear forwards; 
}

.slider__nav:checked:nth-of-type(1) ~ .slider__inner {
  left: 0%; 
}

.slider__nav:checked:nth-of-type(2) ~ .slider__inner {
  left: -100%; 
}

.slider__nav:checked:nth-of-type(3) ~ .slider__inner {
  left: -200%; 
}

.slider__nav:checked:nth-of-type(4) ~ .slider__inner {
  left: -300%; 
}

.slider__nav:checked:nth-of-type(5) ~ .slider__inner {
  left: -400%; 
}

/* Altura image text */
.slider__inner {
  position: absolute;
  top: -90px;
  left: 0;
  width: 300%;
  height: auto;
  -webkit-transition: left 0.4s;
  transition: left 0.4s;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap; 
}

.slider__contents {	
  height: 100%;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-flex-flow: column nowrap;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0px auto 0 auto;
}

.slider__contents img {
	width: 114px;
  -webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	margin: 10px auto -40px auto;
}

.slider__caption {
  font-size: 14px;
  color: var(--cor-principal);
  opacity: 1;
  font-weight: 600; 
}

.slider__txt {
  font-weight: 300;
  line-height: 1.7;
  color: var(--cor-principal);
  margin-top: -20px;
  margin-bottom: 20px;
  max-width: 750px;
  text-align: center;
}

img.timg {
  padding: 5rem; 
}

@media only screen and (max-width: 1201px) {	
  .testimonilas-box{
    width: 95%;
  }	
	
  .testimonials-section {  
    height: 450px;  
  }

  .slider__nav { 
    margin: 60px 8px;
  }
}