/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Zen+Dots&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Sora:wght@100..800&family=Zen+Dots&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --first-color: hsl(11, 72%, 55%);
  --first-color-dark: hsl(11, 63%, 50%);
  --title-color: hsl(180, 4%, 98%);
  --title-color-black: hsl(180, 4%, 12%);
  --text-color: hsl(180, 4%, 72%);
  --body-color: hsl(180, 12%, 8%);
  --container-color: hsl(180, 6%, 12%);

  /*========== Font family ==========*/
  --body-font: 'Space Grotesk', sans-serif;
  --second-font: 'Zen Dots', sans-serif;

  /*========== Font sizes ==========*/
  --big-font-size: 5rem;
  --h1-font-size: 2.75rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 1rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semibold: 600;
}

/* Responsive typography */
@media screen and (max-width: 1024px) {
  :root {
    --big-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

p {
  line-height: 150%;
}

img {
  display: block;
  max-width: 100%;
}

input,
button {
  border: none;
  outline: none;
  background-color: transparent;
}
.user-name{
  color: var(--first-color);
  font-size: var(--h3-font-size);
}

/* Corrigindo a classe do fundo com máscara */
.hero-login {
  position: fixed;
  top: 0;
  left: 0;
  padding: 3rem;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Fundo com máscara */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.hero-login-container {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
}

/* Ajustando a estilização do modal */
.close-modal {
  position: absolute;
  top: 2px;
  right: 10px; /* Define a distância à direita */
  background: transparent;
  border: none;
  font-size: 44px;
  color: black;
  cursor: pointer;
  /* Removido o margin-right duplicado */
}

/* Estilo moderno para o container do modal */
.hero-login-container {
background-color: #fff;
padding: 3rem;
border-radius: 28px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
max-width: 500px;
width: 90%;
padding: 3rem;

}

.hero-login h2 {
margin-bottom: 1rem;
font-size: 1.8rem;
}

.hero-login p {
margin-bottom: 1.5rem;
color: #555;
}

.button {
margin: 0.5rem;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s;
}

.button-flex {
display: inline-flex;
align-items: center;
}

/* Exemplos de cores para os botões */
#login-google {
background-color: #dd4b39;
color: #fff;
margin-left: 3.5rem;
}
#login-google:hover {
background-color: #c23321;
}

#login-email {

color: black;
}
#login-email:hover {
color: black;
}

#register {
background-color: hsl(180, 6%, 12%);
color: #fff;
}
#register:hover {
background-color: hsl(180, 3%, 20%);
}

/* Estilo para exibir o nome do usuário no header */
.user-info {
position: absolute;
top: 10px;
right: 10px;
font-weight: bold;
color: #333;
}

.hero-login-container h2{
  color: black;
}

.button-modal{
  border-radius: 50%;height: 5rem;
  width: 5rem;align-items: center;
  justify-items: center;
  display: flex;
  justify-content: center;
}
.hero-login-container img{
  display:inline-block;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.main-logo{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-family: var(--second-font);
  font-size: var(--h3-font-size);
  margin-top: 20px;
}
.main-logo-img{
  width: 20px;
}
.button {
  display: inline-block;
  padding: 1.25rem 2rem;
  background-color: var(--first-color);
  color: var(--title-color-black);
  font-size: var(--small-font-size);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: background 0.3s;
}
.button:hover {
  background-color: var(--first-color-dark);
}

.button-flex{
  display: inline-flex;
  justify-content: center;
  column-gap: 0.5rem;
  align-items: center
;}
.button i {
  font-size: 1.25rem;
  transition: transform 0.3s;
}

.button-flex:hover i {
  transform: translateX(0.35rem);
}

.section {
  padding-top: 8rem;
}
.section-title {
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.section-title::before{
  content: attr(data-title);
  display: block;
 font-size: var(--h3-font-size);
  color: var(--first-color);
  transform: rotate(-2deg);
  
  margin-bottom: 1.25rem;
}

.title-center{
  text-align: center;
}
.description{
  max-width: 460px;
  margin-bottom: 3rem;
}
/*=============== LAYOUT ===============*/
.container{

  max-width: 1224px;
  margin-inline: auto;
  padding-inline: 1.25rem;}

  .grid{
    display: grid;
  }

  .home-container, .calculate-container, .marquee-container, .footer-container{
    grid-template-columns: 7fr 5fr;
  }

  .logos-container, .choose-container, .choose-data ,.calculate-form{
    grid-template-columns: repeat(var(--column), 1fr);
  }

.choose-container , .calculate-container{
  align-items: center;
  column-gap: 8rem;
}
  .program-container,.pricing-container{
    display: flex;
    gap: 1.5rem;
    padding-top: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 11rem;
  }
  .program-card,.pricing-card{
    flex: 1 1 0;
    max-width: calc(33.333% - 1rem);
    min-width: var(--min-width);
  }
/*=============== HEADER & NAV ===============*/
.header{
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
   transition: background 0.3s;
}

.nav, .nav-list{
display: flex;
align-items: center;
}

.nav{
  justify-content: space-between;
  height: 5.5rem;
}

.nav-link,.nav-close, .nav-toggle{
  color: var(--title-color);}
  .nav-list{
    column-gap: 4rem  ;
  }
  .nav-link{
transition:  color 0.3s;
  }
  .nav-link:hover{
    color: var(--first-color);
  }

  .nav-button{
    background-color: var(--title-color)  ;
  }

  .nav-toggle, .nav-close{
    display: none;
  }
 /* Active link */
.active-link{
  color: var(--first-color);
}
/* Change background header */
.bg-header{
  background-color: var(--container-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 70px;
}

/* Para telas maiores */


/* Para telas menores */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--container-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }

  .nav-menu.show-menu {
    right: 0;
  }

  .nav-toggle {
    display: inline-flex;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .modal-map-container iframe {
    width: 100%;
    height: 400px; /* ajuste esse valor conforme necessário */
  }
}

/*=============== MAIN ===============*/
.main {
 overflow: hidden;
}	
/*=============== HOME ===============*/
.home-container{
  padding-top: 2rem;
}
.home-data{
  padding-top: 4rem;
}

.home-subtitle{
  color: var(--first-color);
  font-size: var(--h1-font-size);
}
 .home-title{
  font-size: var(--big-font-size);
  margin-block: 0.75rem 1.5rem;
 }

/*=============== LOGOS ===============*/
.logos{
  padding-block: 3.5rem 1rem;

}

.logos-container{
  display: grid;
  --column: 4;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
/*=============== CHOOSE US ===============*/
.choose-content{
  margin-left: 1.3rem ;
}
.choose-container,.choose-data{
  --column:2;
}
.choose-timing{
  background: var(--first-color)
  ;
  padding: 1.5rem;
}

.choose-timing-title, .choose-time{
  color: var(--title-color-black);
  text-align: center;
}

.choose-timing-title{
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem ;
}

.choose-data{
  row-gap: 2.5rem;
}

.choose-no {
  font-size: var(--h2-font-size);
  margin-bottom: 0.25rem;
}

.choose-data-subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color);
}


/*=============== PROGRAM ===============*/
.program-content{
  padding: 2rem;
  ;
}
.program-card{
--min-width: 305px;
background: var(--container-color);
border-radius: 1rem;
height: 25rem; /* Defina a altura fixa desejada */
transition: margin-bottom 0.3s ease, transform 0.3s ease, background 0.3s ease;
position: relative;
}

/* Ao adicionar a classe 'with-img', somente a margem inferior do card aumenta */
.program-card.with-img {
  margin-bottom: 2rem; /* ajuste o valor conforme necessário */
}

/* Configure a imagem para que, por padrão, fique oculta (mas continue no fluxo) */
.program-img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 2s, transform 2s;
  display: block;
}

/* Quando a imagem estiver visível */
.program-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.program-no{
  font-family: var(--second-font);
  font-size: var(--h1-font-size);
  color: var(--first-color);
}
.program-title{
  font-size: var(--h3-font-size);
  margin-block: 1rem ;
}

.program-no, .program-title,.program-description{
  transition: color 0.5s;
}
.program-img {
  width: 100%;
  padding: 0;
  border-bottom-right-radius: 1rem;
   border-bottom-left-radius: 1rem;
   margin-top: 2rem;
   height: 13rem;
 
   display: none;
   opacity: 0;
   transform: translateY(-100%);
   transition: opacity 2s, transform 2s;
 
}

.program-card:hover .program-img {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.program-img {
  display: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 2s, transform 2s;
}

.program-img.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.program-img.hide {
  opacity: 0;
  transform: translateY(100%);
}

/* Card hover */
.program-img:hover{
  transform: scale(2);
}
.program-card:hover{
  background: var(--first-color); transform: scale(1.04 ) translateY(-1rem);
}
.program-card:hover :is(.program-no, .program-title, .program-description){
  color: var(--title-color-black);
}

.program-img {
    transition: margin-bottom 0.3s ease;
}



/* Quando o card estiver em hover, o card imediatamente seguinte terá um margin-top maior */
.program-card:hover + .program-card {
  margin-top: 5rem; /* ajuste o valor conforme necessário */
  transition: margin-top 0.3s ease;
}

.program-card.hover,
.program-card:hover {
    background: var(--first-color);
    transform: scale(1.04) translateY(-1rem);
    transition: transform 0.3s ease, background 0.3s ease;
}

.program-card.hover :is(.program-no, .program-title, .program-description),
.program-card:hover :is(.program-no, .program-title, .program-description) {
    color: var(--title-color-black);
}

/*=============== PRICING ===============*/
.pricing-card{
  --min-width: 325px;
  background: var(--container-color);
  border-radius: 1rem;
  padding: 2rem 3rem;
  transition: background 0.3s, transform 0.3s;
}

.pricing-title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}
.pricing-no{

  font-size: var(--h2-font-size);
  color: var(--first-color);
}

.pricing-list{
  margin-block: 2.5rem;
}
.pricing-item{
  display: flex;

  column-gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}
.pricing-item i{
  color: var(--first-color);
  font-size: 1.25rem;
}  

.pricing-button{
  display: flex;
  border-radius: 0.5rem;
}
.pricing-button,.pricing-button:hover{
  background:  var(--title-color);
}
/* Active card */
.pricing-card-active{
  background: var(--first-color);
  
}

.pricing-card-active :is(.pricing-no, .pricing-title, .pricing-item i , .pricing-item){
  color: var(--title-color-black);
}
/*=============== CALCULATE ===============*/
.calculate-form{
  --column: 2;
 gap: 1rem;
}

.calculate-box{
  position: relative;
  margin-top: 10px;
  border: 2px solid var(--text-color);
}
.calculate-input{
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
 
}
.calculate-label{
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  color: var(--title-color);
}

.calculate-form .button{
  grid-column: 1/3;
}

.calculate-input::-webkit-outer-spin-button, .calculate-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
 
}

.calculate-input[type=number]{
  -moz-appearance: textfield;
}

.calculate-message{
  position: relative;
  transform: translateY(1rem);
max-width: 616px;
  text-align: left; /* Centraliza o texto */
  margin-top: 1rem; /* Adiciona um espaço acima da mensagem */
 padding-bottom: 2rem;
}

.calculate-message-large {
  font-size: var(--h2-font-size); /* Ajusta o tamanho da fonte para h2 */
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
}

.calculate-message{
position: absolute;
transform: translateY(1rem);
}

.calculate-message-large {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
}

.calculate-message-small {
  font-size: var(--small-font-size); /* Ajusta o tamanho da fonte para ser menor */
  color: var(--title-color);
  font-family: var(--body-font);
  font-weight: var(--font-regular);
}

.calculate-images{

  border-radius: 0 0 100vw 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.calculate-images::before{
  content: '';
  position: absolute;
  inset: auto 0 0 ;
  aspect-ratio:1/1;
  border-radius: 50%;
  background-color: var(--first-color);
}

.calculate-img{
  z-index: 10;
  width: clamp(13rem, 6.6934rem + 17.5182vw, 19rem);
  position: relative;
}
/*=============== MARQUEE ===============*/
.marquee{
 margin-top: 10rem;
}
.marquee-bg{
  background: var(--first-color);
  padding-block: 1.75rem ;
  overflow: hidden;
  font-family: var(--second-font);
}

.marquee-list, .marquee-item,.marquee-bg{
  display: flex;
  --gap :  1.75rem;
  column-gap: var(--gap);
}
.marquee-list{
flex-shrink: 0;
animation: marquee 18s linear infinite;
}

.marquee-item{
  align-items: center;
  color: var(--title-color-black);
  font-family: var (--second-font);
  font-size: var(--h2-font-size);
}
.marquee-item i{
  font-size: 1.25rem;
  
}

/* Animation */

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
/*=============== FOOTER ===============*/

.footer {
  padding-bottom: 3rem;
}
.footer-container,.footer-content {
  grid-template-columns: repeat(var(--column), max-content);
}
.footer-container{
    --column:2;
    justify-content: space-between;
}

.footer-content{
  --column:3;
  column-gap: 5rem;
}
.footer-logo{
  margin-bottom: 1.5rem;
}

.footer-description{
  margin-bottom: 2rem;
}
.footer-social{
  display: flex;
  column-gap: 1.5rem;
}
.footer-social i{
  font-size: 1.5rem;
  color: var(--first-color);
}
.footer-title{
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.footer-links li:not(:last-child){
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--title-color);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--first-color);
}

.footer-copy{
font-size: var(--small-font-size);
}
.footer-group{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7rem;
}

.footer-social-link{
  display: inline-flex;
  padding: 0.35rem;
 
  border-radius: 50%;
  font-size: 1.25rem;
  column-gap: 1.5rem;
  align-items: center;
}
/*=============== SCROLL BAR ===============*/

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  bottom: -30%;
  right:3rem;
  z-index: 1000;
  background-color: var(--first-color);
  color: var(--title-color-black);
  font-size: 1.5rem;
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition:  0.3s;
}

.scrollup:hover {
  background-color: var(--first-color-dark);
  transform: translateY(-0.25rem);
}

/* Show scroll up */
.show-menu {
 right: 0;
}
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 1200px) {
  .choose-container,.calculate-container{
    column-gap: 4rem;
  }
  .footer-content{
    column-gap: 3rem;
  }

  ;.scrollup{
    right: 1rem;
  }
}

@media screen and (max-width: 1024px) {
}
.nav{
  height: 3.5rem;
}

.nav-menu{
  position: fixed;
  top: 0;
  right: -100%; /* Inicialmente oculto fora da tela */
  border-left: 2px solid var(--text-color);
  backdrop-filter: blur(32px);
  background: hsl(180, 12%, 8%, 0.8);
  width: 50%;
  height: 100%;
  transition: right 0.3s ease;
}
.nav-list{
   flex-direction: column;
   align-items: flex-start;
   row-gap: 2.5rem;
   
}

.nav-close,.nav-toggle{
  display: inline-flex;
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-close{
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.section{
  padding-top: 6rem;
}

.home-img {
  width: 320px;
  margin-inline: auto; 
}

.logo-img {
  width: 120px;
}

.choose-container,.calculate-container{
column-gap: 2.5rem;

}
.choose-timing{
  padding: 1rem;
}
.program-container,.pricing-container{
  padding-top: 1rem;
}
.calculate-container{
  grid-template-columns: 6.5fr 5.5fr;
}
.marquee-bg{
  padding-block: 1.25rem;
}

.footer{
  padding-bottom: 2rem;
}

.show-scroll{
  bottom: 2rem;
}
/* For medium devices */
@media screen and (max-width: 768px) {
.nav-menu{
  width: 80%;
}
.modal-map-container{
  max-width: 100%;
}
  .home-container,.calculate-container,.choose-container,.marquee-container,.footer-container{
   
grid-template-columns: 1fr;
row-gap: 3rem;
  }

  .home-data{
    padding-top: 0 ;
  }

.home-data,.choose-content,.calculate-content{
  text-align: center;
}
.modal-titl{
  font-size: 1.5rem;
}
  .description,.choose-group,.calculate-form,.calculate-images{
   margin-inline: auto;
  }

  .logos-container{
    --column:2;
    align-items: center;
    justify-content: center;
  }

  .choose-group ,.footer-copy{
    order: 1;
  }

  .calculate-form{
max-width: 505px;
grid-template-columns: 1fr;
  }

  .calculate-form,.button{
    grid-column: initial ;
  
  }
.choose-group,.calculate-images{max-width: 320px;}
.choose-group,.calculate-images,.calculate-form{
  width: 100%;
}

.calculate-images{
  margin-top: 10rem;
} 


  .calculate-form {
    --column: 1;
    grid-template-columns: repeat(var(--column), 1fr);
  }

  .calculate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .calculate-box {
    width: 100%;
    max-width: 320px;
  }

  .calculate-form .button {
    width: 100%;
    max-width: 320px;
    
  }
  

  .footer-group{
    flex-direction: column;
    row-gap: 2rem;
    margin-top: 5rem;
  }

 
}
@media screen and (max-width: 485px) {
  .hero-login-container{
    background-color: #fff;
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    /* max-width: 500px; */
    width: 100%;
    padding: 3rem;
  }
  .main-logo{
    margin-top: 0 ;
    font-size: 1.3rem;
  }
.nav{
  height: 4.5rem;
}
  #login-google{
    margin-left: 0;
  }
  .footer-content{
    --column:2;
    margin-left: 50px;
    row-gap: 2rem
    ;
  }
  .calculate-images{
    margin-top: 13rem;
  } 
  #register{
    margin-left: -40px;
   min-width: 146px;
   max-height: 4.4rem;
  margin-top: 14px;
  }
}

/* For small devices */
@media screen and (max-width: 360px) {
  .container{
    padding-inline: 1rem;
  }
  .program-card,.pricing-card{
  --min-width: 100%;
  }
  .pricing-card{
    padding-inline: 1.5rem;
  }
  
}

/* For very large devices */
@media screen and (min-width: 1440px) {
  .nav-toggle,.nav-close {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    gap: 2rem;
    margin-top: 20px;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    border-left: none;
    backdrop-filter: none;
    display: flex;
    align-items: center;
  }

  .nav-link {
    margin: 0 1rem;
  }
}

.modal-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Inicia oculto */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.modal-map-container {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.modal-title {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

/* Estilo para o botão de registro */
#btn-register {
  cursor: pointer;
}

/* Mostrar o modal de login quando a classe 'show' estiver presente */
.hero-login.show {
  display: flex;
}
