@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");


.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-baskerville-bold {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-baskerville-regular-italic {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}

:root {
  --modern-font: "Poppins", sans-serif;
  --background-color: #a5d6a7; /* Cor clara */
  --title-color: #2b5938; /* Cor escura */
  --simple-text-color: #222; /* Cor bem escura */
  --card-color: white;
  --card-title-color: #6d4c41;
  --hero-width: 50%;
}

li {
  font-family: var(--modern-font);
}

iframe {
  margin-left: 25%;
  margin-right: 50%;

}


.cardbig{
  display: flex;
  flex-direction: row;
}

.card {
  width: 300px;
  height: 300px;
  border: 4px solid darkgreen;
  border-radius: 50px;
}


/* Hero banner */
img.hero-banner{
  max-width: var(--hero-width);
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  padding:20px;
  border-radius:58px;
}

.hero-banner{
  max-width: var(--hero-width);
  margin:0 auto 1rem;
}
.hero-banner img{
  width:100%;
  height:auto;
  display:block;
  padding: 20px;
  border-radius:58px;
}

/* Material exclusive images */

/* Consultoria promotional image */
#img01 {
  max-width:40%;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  border-radius:40px;
}

/* Respire promotional image */
.imagem {
  max-width:60%;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  border-radius:40px;
}

.imagem3 {
  max-width:90%;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  border-radius:40px;
}

/* Cheiroso promotional image */
img[src*="cheiroso.jpg"]{
  max-width:40%;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  border-radius:40px;
}


/* Metabolismo promotional image */
img[src*="metabolismo.jpg"]{
  max-width:40%; /* smaller width */
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  border-radius:40px;
}

.material-img{
  max-width: var(--hero-width);
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 1rem;
  padding:20px;
  border-radius:58px;
}

.imagem2 {
  width: 40%;
  height: auto;
  border-radius: 20px;
}


p {
  color: var(--simple-text-color);
  font-family: var(--modern-font);
  font-weight: 500;
  padding: 5px;
}

.p-especial {
  background-color: #20422a;
  color: #f5f8f2;
  font-family: var(--modern-font);
  font-size: 1.5rem;
  line-height: 2rem;
}

.subtitulo {
  color: var(--title-color);
  font-family: var(--modern-font);
  text-align: center;
  width: 100%;
}

body {
  background-color: var(--background-color);
  margin: auto;
  font-family: var(--modern-font);
  width: 70%;
}

/* 70% central container for main sections */
.consultoria,
.produtos {
  max-width: 70%;
  margin: 0 auto;
}

img {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  /* border-radius: 10px; */
}

/* Tag bar */
.tag-bar {
  position: sticky;
  top: 90px; /* height of navbar */
  z-index: 999;
  background-color: var(--background-color);
  padding: 0.5rem 0;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  border-bottom: 1px solid var(--title-color);
}

.tag-bar button {
  cursor: pointer;
  border: 2px solid var(--title-color);
  background-color: transparent;
  color: var(--title-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.tag-bar button.active {
  background-color: var(--title-color);
  color: #fff;
}

.tag-bar button:hover {
  background-color: var(--title-color);
  color: #fff;
}

/* Disabled nav link */
.disabled-link{
  pointer-events:none;
  opacity:0.5;
  cursor:default;
}

/* Telegram link buttons */
.links-quem{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
  margin:1rem 0;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  margin:1rem 0;
}
.tg-btn{
  background-color:#2AABEE;
  color:#fff;
  text-decoration:none;
  font-family:var(--modern-font);
  font-weight:600;
  padding:0.45rem 1rem;
  width:180px;
  border-radius:30px;
  text-align:center;
  transition:background-color .2s ease, transform .1s ease;
  background-color:#2AABEE;
  color:#fff;
  text-decoration:none;
  font-family:var(--modern-font);
  font-weight:600;
  padding:0.55rem 1.2rem;
  border-radius:30px;
  text-align:center;
  transition:background-color .2s ease, transform .1s ease;
}
.tg-btn:hover{
  background-color:#1c8dc5;
  transform:translateY(-2px);
}

/* Hide navbar */
.navbar{display:none !important;}

/* Cards container */

/* Mobile adjustments */
@media (max-width:600px){
  body{width:95%;margin:0 auto;}
  .descricao-hero{max-width:90%;font-size:0.9rem;margin:0 auto;}
  .hero-banner{max-width:100%!important;margin:0;}
  .hero-banner img{padding:0;border-radius:0;}
  .cards-container{justify-content:stretch;width:100%;}
  .consultoria-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;width:100%;}
  .consult-card{width:100%;aspect-ratio:1/1;margin:0;max-width:none;font-size:0.8rem;}
  .material-img{width:90%;height:auto;display:block;margin:0 auto;}
}

.cards-container{
  display:flex;
  justify-content:center;
  width:100%;
}

/* Consultoria grid */
.consultoria-grid .consult-card:nth-child(2){
  background-image:url('./images/card_img_02.jpg');
}
.consultoria-grid{
  display:grid;
  grid-template-columns: repeat(3, 200px);
  gap:0;
  justify-content:center;
  padding:0;
  
}
.consult-card{
  max-width:200px;
  margin:0;
  aspect-ratio:1/1;
  background:url('./images/card_img.jpg') center/cover;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  color:#fff;
  border:2px solid var(--title-color);
  border-radius:12px;
  padding:0.3rem;
  font-size:0.85rem;
  text-align:center;
  font-weight:600;
  cursor:pointer;
  user-select:none;
  transition:all .2s ease;
}
.consult-card:nth-child(1){
   background-image:url('./images/card_img_01.jpg');
 }

 .consult-card.active{
  /* mantém a imagem de fundo */
  outline: 3px solid var(--title-color);
  filter: brightness(0.85);


  color:#fff;
}
.consult-card.disabled{
  opacity:.4;
  cursor:default;
}

.btn-back{
  display:block;
  margin:0.5rem auto; position:sticky; top:70px; z-index:998;
  background-color:var(--title-color);
  color:#fff;
  border:none;
  padding:0.75rem 2rem;
  font-family:var(--modern-font);
  font-size:1.1rem;
  font-weight:600;
  border-radius:30px;
  cursor:pointer;
  transition:background-color .2s ease;
}
.btn-back:hover{
  background-color:#1a3521; /* shade of green */
}

/* Navbar refined */
.navbar nav{
  width:100%;
  max-width:600px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:2rem;
}
.navbar nav a{
  font-size:18px;
  color:#fff;
  padding:0.4rem 1rem;
  border-radius:18px;
  text-decoration:none;
  transition:background-color .2s ease,color .2s ease;
}
.navbar nav a.active,
.navbar nav a:hover{
  background-color:#fff;
  color:var(--title-color);
}

/* Cards grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card {
  border: 2px solid var(--title-color);
  background-color: var(--card-color);
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--card-title-color);
}

/* Páginas */

/* Mobile */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding: 0px;
    background-color: var(--background-color);
    /* Alinhar o body no centro e reduzir o tamanho dele*/
    margin: 0px auto;
    width: 100%;
  }

  .titulo-hero {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    margin: 0px auto;
    width: 100%;
    /* border: 1px solid black; */
    text-align: center;
    font-weight: bold;
    line-height: 5rem;
  }

  /* Sobre a navbar */
  .navbar {
    height: 90px;
    /* border: 10px solid black; */
    background-color: var(--title-color);
  }

  nav {
    /* border: 1px solid blue; */
    width: 100%;
    margin: 0 auto;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav a {
    padding: 10px;
    /* border: 1px solid red; */
    width: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 70px;
    line-height: 80px;
    font-size: 18px;
    transition:background-color .2s ease, color .2s ease;
    border-radius:16px;
    color: white;
  }

  .consultoriatexto {
    background-color: #20422a;
  }

  section,
  .container {
    padding: 0rem 0rem;
  }
  .product-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .btn-primary {
    width: 100%;
    box-sizing: border-box;
  }

  /* Navbar no Mobile */
  /* header, nav, .navbar {
    flex-direction: row;
    align-items: flex-start;
    padding: 1rem 0.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  } */
}
