/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montagu+Slab:wght@500&family=Montserrat:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --banner-height: 6rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(230, 62%, 56%);
  --title-color: hsl(230, 70%, 16%);
  --text-color: hsl(230, 16%, 45%);
  --border-color: hsl(230, 50%, 90%);
  --white-color: hsl(0, 0%, 100%);
  --container-color: hsl(230, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Montagu Slab", serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

  :root{
    --hero-red:#e31f2a;
    --hero-pink:#d92b82;
    --hero-yellow:#ffcc3a;
    --white:#ffffff;
  }


/*=============== WHATSAPP FLOAT ===============*/
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  z-index: calc(var(--z-fixed) + 1);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #0b5a2a;
  outline-offset: 3px;
}

.whatsapp-float__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/*=============== Galery ===============*/


.gallery__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 📱 mobile */
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .gallery__container {
    grid-template-columns: repeat(3, 1fr); /* 🖥 desktop */
  }
}

.gallery__container img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery__container img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* 👈 espaçamento lateral */
}

.galery__cta {
    margin: 2.5rem 0 4rem;
    display: flex;
    justify-content: center;
}

.galery__cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

  .hero-urgencia{
    /* “Container” igual ao print */
    min-height: 520px;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 54px 18px;
    background: linear-gradient(90deg, var(--hero-red) 0%, #e01f3a 35%, var(--hero-pink) 100%);
    position: relative;
    overflow: hidden;
  }

  /* glow suave na esquerda (igual o print) */
  .hero-urgencia::before{
    content:"";
    position:absolute;
    left:-220px;
    top:50%;
    width:540px;
    height:540px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
    filter: blur(2px);
    pointer-events:none;
  }

  .hero-urgencia__inner{
    width: min(980px, 92vw);
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
  }

  .hero-urgencia__pill{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .2px;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    margin-bottom: 18px;
  }
  .hero-urgencia__pill i{
    opacity: .95;
  }

  .hero-urgencia__title{
    margin: 0 0 14px;
    line-height: 1.02;
    font-weight: 900;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: clamp(42px, 5vw, 62px);
  }
  .t-white{ color: #fff; }
  .t-yellow{ color: var(--hero-yellow); }

  .hero-urgencia__subtitle{
    margin: 0 auto 26px;
    max-width: 860px;
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
  }
  .hero-urgencia__subtitle .hl{
    color: var(--hero-yellow);
    font-weight: 900;
  }

  .hero-urgencia__cta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .hero-urgencia__btn{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 26px;
    border-radius: 999px;
    background: #fff;
    color: #d7182f;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.55);
    transition: transform .15s ease, filter .15s ease;
  }
  .hero-urgencia__btn:hover{
    transform: translateY(-1px);
    filter: brightness(0.98);
  }
  .btn-ico{
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d7182f;
    color: #fff;
    font-size: 18px;
    flex: 0 0 34px;
  }

  .hero-urgencia__meta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    font-size: 16px;
  }
  .hero-urgencia__meta i{
    font-size: 18px;
    opacity: .95;
  }

  /* Ajuste fino no mobile */
  @media (max-width: 520px){
    .hero-urgencia{ min-height: 560px; }
    .hero-urgencia__subtitle{ font-size: 16px; }
    .hero-urgencia__btn{ width: 100%; justify-content: center; }
  }

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

@media screen and (min-width: 768px) {
  :root {
    --banner-height: 4.5rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  --title-color: hsl(230, 48%, 85%);
  --text-color: hsl(230, 16%, 70%);
  --border-color: hsl(230, 12%, 18%);
  --body-color: black;
  --container-color: hsl(230, 12%, 12%);
  background-color: white;
}

input,
button {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4,
h6 {
  color: var(--title-color);
  font-family: var(--first-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1220px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}



.section__title {
  text-align: center;
  color: #04D9B2;
  font-size: var(--biggest-font-size);
  font-family: var(--first-font);
  margin-bottom: 0.5rem;
}

.main {
  overflow: hidden;
  padding-top: calc(var(--banner-height) + var(--header-height) * 0.4);
  /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
/* Whatsapp ribbon ------------------------------------------------------- */
.txtCenter {
  text-align: center;
}

.whatsAppRodape {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #089c4c;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  z-index: 40;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: opacity .4s ease;
  opacity: 1;
  width: calc(100% - 2.5rem);
  max-width: 420px;
}

/* estado opaco */
.whatsAppRodape.is-transparent {
  opacity: .86;
  backdrop-filter: blur(4px);
}

/* estado opaco */
.whatsAppRodape.is-transparent:hover {
  opacity: 100;
}



.whatsAppRodape a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--white);
  font-weight: 600;
  text-align: center;
}

.e18 {
  font-size: 1.05rem;
}

.e14 {
  font-size: 0.9rem;
}

.fBranco {
  color: var(--white);
}

.fMax {
  font-weight: 600;
}

.header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  background-color: #66e7a4ff;
  z-index: var(--z-fixed);
  transition: box-shadow .4s, background-color .4s;
  backdrop-filter: blur(12px);
}

.logo{
  width: 30%;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.nav__logo i {
  font-size: 1.25rem;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 -8px 32px hsla(0, 0%, 0%, .1);
    transition: background-color .4s;
  }
}

.logo{
  width: 20%;
}

.nav__list {
  display: flex;
  justify-content: space-between;
}

.nav__link {
  color: black;
  transition: color .4s;
}

.nav__link span {
  display: none;
}

.nav__link i {
  font-size: 1.25rem;
}

.nav__link:hover {
  color: hsl(34, 54%, 47%);
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__actions i {
  font-size: 1.25rem;
  color: hsl(34, 54%, 47%);
  cursor: pointer;
  transition: color .4s;
}

.nav__acions i:hover {
  color: hsl(34, 54%, 47%);
}

/* Add shadow header */
.shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, .15);
  background-color: rgba(102, 231, 164, 0.95);
}

.shadow-header:hover {
  background-color: rgba(102, 231, 164, 0.25);
}

/* Active link */
.active-link {
  color: hsl(34, 54%, 47%);
}

/*=============== HOME ===============*/
.home__swiper {
  margin: initial;
}

.home__container {
  row-gap: 2.5rem;
  justify-items: center;
}

strong{
  color: #04D9B2;
}

.home__data {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  color: #04D9B2;
  margin-bottom: 1rem;
}

.home__description {
  color: black;
  margin-bottom: 2rem;
}

.home__main-img {
  width: min(100%, 360px);
  display: block;
  height: auto;
}

.home__images {
  display: grid;
}

.home__article,
.home__img {
  width: 220px;
  transition: scale .4s;
}

.home__article {
  scale: .8;
}

/* Swiper class */
.swiper-slide-active,
.swiper-slide-duplicate-active {
  scale: 1;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  border-radius: 0.5rem;
  background-color: #00aa51;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 1.5rem;
  transition: box-shadow .4s;
}

.button:hover {
  box-shadow: 0 4px 32px hsla(230, 72%, 32%, .4);
}

.home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.home__actions .button.btn {
  flex: 1 1 220px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/*=============== SERVICES ===============*/
.services__container {
  row-gap: 3rem;
}

.services__card {
  text-align: center;
}

.services__card i {
  display: block;
  font-size: 3rem;
  color: green;
  margin-bottom: 1rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

/*=============== FEATURED ===============*/
.featured__card {
  position: relative;
  text-align: center;
  background-color: white;
  padding: 2rem;
  overflow: hidden;
  transition: border .4s, background-color .4s;
}

.featured__img {
  width: 400px;
  border-radius: 8px;
  margin: 0 auto 1.75rem;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  color: #ffffffff;
  font-weight:700;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  cursor:pointer;
}

.btn:hover{ filter: brightness(1.03); }
.btn--ghost{
  background: rgba(255,255,255,.05);
  color: var(--text);
}

.featured__img__bt {
  width: 300px;
  border-radius: 10px;
  margin: 0 auto .75rem;
  border: 2px solid #dfaf67;
}

.featured__title {
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.featured__prices {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .75rem;
  margin-bottom: 1.25rem;
  color: white;
}

.featured__card .button {
  cursor: pointer;
}

.featured__actions {
  display: inline-flex;
  flex-direction: column;
  row-gap: .75rem;
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  transition: right .4s;
}

.featured__actions button {
  background: none;
  font-size: 1.25rem;
  color: var(--first-color);
  cursor: pointer;
}

.featured__card:hover .featured__actions {
  right: 1.5rem;
}

/* Swiper class */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  background-color: hsl(34, 54%, 47%);
  border-radius: 10px;
  padding: .5rem;
  font-size: 1.5rem;
  color: black;
  transition: border .4s background-color .4s;
}

/*=============== DISCOUNT ===============*/
.discount__container {
  row-gap: 3.5rem;
}

.discount__data {
  text-align: center;
}

.discount__title {
  margin-bottom: 1rem;
}

.discount__description {
  color: white;
  margin-bottom: 2rem;
}

.discount__images {
  display: flex;
  justify-content: center;
}

/*=============== NEW ===============*/
.new__card {
  display: flex;
  align-items: center;
  column-gap: 2.5rem;
  background-color: var(--container-color);
  padding: 1.5rem 1rem;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  transition: border .4s, background-color .4s;
}

.new__card:hover {
  border: 2px solid var(--text-color);
}

.new__img {
  width: 100px;
}

.new__title {
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.new__prices {
  display: flex;
  align-items: center;
  column-gap: .75rem;
  margin-bottom: .75rem;
}

.new__discount {
  color: var(--title-color);
}

.new__price {
  font-size: var(--small-font-size);
  text-decoration: line-through;
}

.new__stars {
  color: var(--first-color);
}

.new__swiper:nth-child(1) {
  margin-bottom: 2rem;
}

/*=============== JOIN ===============*/
.join.section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: calc(var(--z-fixed) + 5);
  padding-block: 0;
  margin: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: opacity .4s ease;
  opacity: 1;
}

/* estado opaco */
.join.section.is-transparent {
  opacity: .86;
  backdrop-filter: blur(4px);
}

.join__container {
  position: relative;
  padding-block: 0;
  height: var(--banner-height);
  overflow: hidden;
}

.join__bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajusta a imagem para cobrir toda a área */
  display: block;
}

.button__join {
  position: absolute;
  bottom: 20px; /* ajusta a distância da parte de baixo */
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background-color: green;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: box-shadow .4s;
  /* se quiser, ajuste o tamanho ou largura aqui */
}

  
  .button__join:hover {
    box-shadow: 0 4px 32px hsla(230, 72%, 32%, .4);
  }

/*=============== TESTIMONIAL ===============*/
.testimonial__card {
  text-align: center;
  background-color: hsl(34, 54%, 47%);
  border-radius: 1rem;
  /* Remova qualquer margin ou max-width que empurre o card para baixo no mobile,
     já que ele será empilhado por padrão. */
  margin: 0 auto 1.5rem; /* Isso é para o mobile, entre os cards empilhados */
  padding: 2rem 3rem 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%; /* Garante que não exceda a largura do pai no mobile */
}

/* Efeito de hover */
.testimonial__card:hover {
  background-color: hsl(34, 54%, 57%); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.47); 
  cursor: pointer;
}

.testimonial__img {
  width: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.testimonial__title {
  font-size: var(--h2-font-size);
  color: white;
  margin-bottom: .75rem;
}

/*=============== STRUCTURE ===============*/
.structure__card {
  text-align: center;
  background-color: #08c8b9;
  border-radius: 1rem;
  /* Remova qualquer margin ou max-width que empurre o card para baixo no mobile,
     já que ele será empilhado por padrão. */
  margin: 0 auto 1.5rem;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%; /* Garante que não exceda a largura do pai no mobile */
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
}

.structure__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform .4s ease;
}

.structure__card:hover .structure__img {
  transform: scale(1.08);
}

.structure__title {
  font-size: var(--h2-font-size);
  color: white;
  margin: 0 auto;
}

.footer__copy {
  display: block;
  text-align: center;
  color: black;
  font-size: var(--small-font-size);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(230, 16%, 85%);
}

::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(230, 16%, 65%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(230, 16%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsl(34, 54%, 47%);
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, .1);
  border-radius: 10px;
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s, background-color .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 6rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .nav__menu {
    padding-inline: 3rem;
  }

  .discount__img-1,
  .discount__img-2 {
    width: 140px;
  }

  .new__card {
    flex-direction: column;
  }

  .testimonial__card {
    padding-inline: 1rem;
  }

  .structure__card {
    padding-inline: 1rem;
  }
  

  .logo{
    width: 20%;
  }

  .footer__data {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 390px) {
  .featured__card {
    width: 290px;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .logo{
    width: 20%;
  }

  .new__card {
    width: 390px;
  }

  .testimonial__card {
    width: 320px;
  }

  .structure__card {
    width: 320px;
  }
}

@media screen and (min-width: 576px) {
  .logo{
    width: 20%;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .login__form {
    width: 400px;
    justify-self: center;
  }

  .nav__menu {
    width: 10px;
    margin-inline: auto;
  }

  .home__container,
  .discount__container {
    grid-template-columns: 420px;
    justify-content: center;
  }

  .join__form {
    width: 328px;
    justify-self: center;
  }

  .footer__data {
    grid-template-columns: repeat(3, max-content);
  }

  .structure__cards-wrapper {
    display: flex; /* Transforma o div sem classe em um container flexível */
    justify-content: center; /* Centraliza os cards horizontalmente */
    gap: 20px; /* Espaço entre os cartões */
    flex-wrap: wrap; /* Permite que os cards quebrem para a próxima linha */
  }

  .structure__card {
    width: 320px; /* largura fixa dos cartões */
    margin: 0; /* remove margin auto que centraliza na coluna */
  }

  .structure__container {
    display: flex;
    justify-content: center; /* centraliza os cartões na linha */
    gap: 20px; /* espaço entre os cartões */
    flex-wrap: wrap; /* quebra em múltiplas linhas se necessário */
  }
}

@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: 580px;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  
  .testimonial__cards-wrapper {
    display: flex; /* Transforma o div sem classe em um container flexível */
    justify-content: center; /* Centraliza os cards horizontalmente */
    gap: 20px; /* Espaço entre os cartões */
    flex-wrap: wrap; /* Permite que os cards quebrem para a próxima linha */
  }

  .testimonial__card {
    width: 320px; /* largura fixa dos cartões */
    margin: 0; /* remove margin auto que centraliza na coluna */
  }

  .testimonial__container {
    display: flex;
    justify-content: center; /* centraliza os cartões na linha */
    gap: 20px; /* espaço entre os cartões */
    flex-wrap: wrap; /* quebra em múltiplas linhas se necessário */
  }

  .structure__cards-wrapper {
    display: flex; /* Transforma o div sem classe em um container flexível */
    justify-content: center; /* Centraliza os cards horizontalmente */
    gap: 20px; /* Espaço entre os cartões */
    flex-wrap: wrap; /* Permite que os cards quebrem para a próxima linha */
  }

  .structure__card {
    width: 320px; /* largura fixa dos cartões */
    margin: 0; /* remove margin auto que centraliza na coluna */
  }

  .structure__container {
    display: flex;
    justify-content: center; /* centraliza os cartões na linha */
    gap: 20px; /* espaço entre os cartões */
    flex-wrap: wrap; /* quebra em múltiplas linhas se necessário */
  }

  .logo{
    width: 20%;
  }

  .home__data {
    width: 420px;
    justify-self: center;
  }

  .services__container {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: 5rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }

}

/* For large devices */
@media screen and (min-width: 1150px) {
  .section {
    padding-block: 8rem 1rem;
  }

  .logo{
    width: 20%;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 4rem;
  }

  .nav__link i{
    display: none;
  }

  .nav__link span{
    display: block;
  }

  .nav__menu{
    width: initial;
    margin-inline: auto 0;
  }

  .nav__list{
    column-gap: 4rem;
  }

  .nav__link{
    font-weight: var(--font-medium);
  }

  .dark-theme .nav__menu{
    box-shadow: none;
  }

  .home__data{
    width: initial;
  }

  .services__container{
    column-gap: 10rem;
  }

  .services__card i{
    font-size: 3.5rem;
  }

  .featured__container{
    padding-top: 2rem;
  }

  .featured__title{
    font-size: var(--h3-font-size);
  }

  .discount__container{
    grid-template-columns: 615px 500px;
    justify-content: space-between;
    align-items: center;
  }

  .discount__data{
    order: 1;
  }

  .discount__data,
  .discount__title{
    text-align: initial;
  }
  
  .discount__description{
    margin-bottom: 3.5rem;
  }

  .discount__img-1,
  .discount__img-2 {
    width: 300px;
  }

  .new__container{
    padding-top: 2rem;
  }

  .new__card{
    padding: 1.5rem;
  }

  .new__img{
    width: 120px;
  }

  .new__title{
    font-size: var(--h3-font-size);
  }

  .join__bg {
    width: 100%;
    height: 400px; /* ou uma altura fixa, ex: 400px */
    object-fit: cover;
    object-position: center; /* ou center, ou valores ajustados */
  }

  .testimonial__container{
    padding-top: 3rem;
  }

  .testimonial__card{
    width: 320px;
  }

  .testimonial__title{
    font-size: var(--h3-font-size);
  }

  .testimonial__description{
    font-size: var(--normal-font-size);
  }

  .structure__container{
    padding-top: 3rem;
  }

  .structure__card{
    width: 320px;
  }

  .structure__title{
    font-size: var(--h3-font-size);
  }

  .structure__description{
    font-size: var(--normal-font-size);
  }

  .footer{
    padding-block: 6rem 3rem;
  }

  .footer__data{
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }

  .footer__logo,
  .footer__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }

  .footer__links{
    row-gap: 1rem;
  }

  .footer__social{
    column-gap: 1.5rem;
  }

  .footer__social-link{
    font-size: 1.5rem;
  }

  .footer__copy{
    margin-top: 2.5rem;
  }

  .scrollup{
    right: 3rem;
  }

  .show-scroll{
    bottom: 3rem;
  }
}

@media screen and (min-width: 1220px){
  .container{
    margin-inline: auto;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .home__container{
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    justify-items: center;
  }

  .home__data{
    text-align: center;
  }

  .home__description{
    margin-bottom: 2rem;
  }

  .home__article,
  .home__img{
    width: 290px;
  }

  .testimonial__description{
    font-size: var(--normal-font-size);
  }

  .structure__container{
    padding-top: 3rem;
  }

  .structure__card{
    width: 320px;
  }

  .structure__title{
    font-size: var(--h3-font-size);
  }

  .structure__description{
    font-size: var(--normal-font-size);
  }

  .footer{
    padding-block: 6rem 3rem;
  }

  .footer__data{
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }

  .footer__logo,
  .footer__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }

  .footer__links{
    row-gap: 1rem;
  }

  .footer__social{
    column-gap: 1.5rem;
  }

  .footer__social-link{
    font-size: 1.5rem;
  }

  .footer__copy{
    margin-top: 2.5rem;
  }

  .scrollup{
    right: 3rem;
  }

  .show-scroll{
    bottom: 3rem;
  }
}

@media screen and (min-width: 1220px){
  .container{
    margin-inline: auto;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .home__container{
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    justify-items: center;
  }

  .home__data{
    text-align: center;
  }

  .home__description{
    margin-bottom: 2rem;
  }

  .home__article,
  .home__img{
    width: 290px;
  }
ize);
  }

  .testimonial__description{
    font-size: var(--normal-font-size);
  }

  .structure__container{
    padding-top: 3rem;
  }

  .structure__card{
    width: 320px;
  }

  .structure__title{
    font-size: var(--h3-font-size);
  }

  .structure__description{
    font-size: var(--normal-font-size);
  }

  .footer{
    padding-block: 6rem 3rem;
  }

  .footer__data{
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }

  .footer__logo,
  .footer__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }

  .footer__links{
    row-gap: 1rem;
  }

  .footer__social{
    column-gap: 1.5rem;
  }

  .footer__social-link{
    font-size: 1.5rem;
  }

  .footer__copy{
    margin-top: 2.5rem;
  }

  .scrollup{
    right: 3rem;
  }

  .show-scroll{
    bottom: 3rem;
  }
}

@media screen and (min-width: 1220px){
  .container{
    margin-inline: auto;
  }

  .section {
    padding-block: 3rem 1rem;
  }

  .home__container{
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    justify-items: center;
  }

  .home__data{
    text-align: center;
  }

  .home__description{
    margin-bottom: 2rem;
  }

  .home__article,
  .home__img{
    width: 290px;
  }
}
