/*CABEÇALHO DO SITE*/
header {
  position: sticky;
  inset: 0 0 auto 0;
  z-index: 10;
  box-shadow: 0 0 5px #67bc2c;
  background-color: var(--background);
}

header .logo img {
  width: 16rem;
}

header .area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

header .menu-opener {
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

header .hamburguer-icon {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

header .hamburguer-icon span {
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: var(--secondary);
}

header .close-icon {
  display: none;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

header .close-icon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: var(--secondary);
}

header .close-icon span:first-child {
  transform: rotate(45deg);
}

header .close-icon span:last-child {
  transform: rotate(-45deg);
}

header nav {
  background-color: var(--background);
  color: var(--secondary);
  overflow-y: hidden;
  max-height: 0;
  transition: all ease 0.5s;
}

header nav.opened {
  max-height: 100vh;
}

header nav ul {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

header nav li {
  padding: 1rem 2rem;
}

header nav a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 2rem;
}

header nav a:hover {
  opacity: 0.7;
  color: var(--thirdground);
}

header .button {
  margin-top: -0.8rem;
}
/*FIM DO CABEÇALHO DO SITE*/

/*BANNER DO SITE 1º CONTEÚDO*/
.hero {
  background-image: url("../images/hero.jpg");
  background-size: auto 40rem;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-color: var(--hero-background);
}

.hero .box {
  padding: 4rem 2rem 42rem 2rem;
  max-width: 60rem;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 5rem;
  line-height: 6rem;
}

.hero h2 {
  font-size: 2rem;
  font-weight: normal;
  margin: 3rem 0;
}
/*FIM DO BANNER DO SITE 1º CONTEÚDO*/

/*INÍCIO PLANOS DE INTERNET*/
.plans-text h1 {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  color: var(--thirdground);
}

.plans-text h2 {
  text-align: center;
  color: var(--thirdground);
  margin-bottom: 2rem;
}

.plans .grid {
  background-color: var(--background);
  margin: 0 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 1px 2px 3px var(--primary-light);
}

.plans .plan {
  text-align: center;
  border-right: 0;
  border-bottom: 1px solid var(--primary-light);
  color: var(--primary);
  padding: 5rem 2rem;
}

.plans .plan:last-child {
  border-right: 0;
  border-bottom: 0;
}

/*PLANOS ITEM*/

.plan-icon {
  width: 7rem;
  height: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--secondary-foreground);
  margin: auto;
}

.plan-icon img {
  width: 4rem;
  height: 4rem;
}

.plan-title {
  font-weight: bold;
  font-size: 5rem;
  margin: 1rem 0;
  color: var(--foreground);
}

.plan-desc {
  font-size: 1.7rem;
  line-height: 2.5rem;
}

.plan-sub {
  margin-top: 5rem;
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--foreground);
}

.plan-txt {
  font-size: 1.7rem;
  line-height: 2.5rem;
}

.plan-value {
  font-size: 5rem;
  font-weight: bold;
  margin: 3rem;
  color: var(--foreground);
}

.plan-value span {
  font-size: 3rem;
}

.plan-txt .button {
  width: 100%;
  margin-top: 2rem;
}

/*FIM DOS PLANOS DE INTERNET*/

/*QUEM SOMOS*/
.companys {
  padding: 5rem 3rem;
  background-color: var(--foreground);
  margin-top: 3rem;
}

.companys .company {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 4rem;
}

.companys .company .left,
.companys .company .right {
  flex: 1;
}

.companys .company .left h2 {
  max-width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  letter-spacing: -0.1rem;
  font-size: 5rem;
  margin: 1rem 0;
  color: var(--primary-light);
}

.companys .company .left p {
  margin-top: 2rem;
}

.companys .company .right h2 {
  max-width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  letter-spacing: -0.1rem;
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--primary-light);
}

.companys .company p {
  font-size: 1.7rem;
  line-height: 2rem;
  color: var(--primary);
  text-align: justify;
  margin-top: -2rem;
}

.companys .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
/*FIM DE QUEM SOMOS*/

/*DÚVIDAS FREQUENTES*/
.faq {
  margin-top: 6rem;
  padding: 0 3rem;
}

.faq h2 {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  letter-spacing: -0.1rem;
  font-size: 4.5rem;
  margin-bottom: 2rem;
  color: var(--thirdground);
}

.faq .accordion .item {
  border-bottom: 2px solid var(--foreground);
}

.faq .accordion .item:last-child {
  border-bottom: 0;
}

.faq .accordion .item .title {
  font-size: 2rem;
  color: var(--primary-light);
  background-color: var(--foreground);
  margin-top: 1rem;
  border-radius: 10px 10px 0 0;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
}

.faq .accordion .item .title p {
  margin-left: 1rem;
}

.faq .accordion .item .title img {
  width: 4rem;
  height: 4rem;
  transition: all ease 0.5s;
}

.faq .accordion .item .body {
  line-height: 2.5rem;
  overflow-y: hidden;
  max-height: 0;
  transition: all ease 0.5;
}

.faq .accordion .item .body p {
  padding-bottom: 2rem;
  text-align: justify;
}

.faq .accordion .item.opened .body {
  max-height: 100vh;
}

.faq .accordion .item.opened .title img {
  transform: rotate(180deg);
}

/*FIM DAS DÚVIDAS FREQUENTES*/

/*FOOTER*/
footer {
  margin-top: 8rem;
}

footer img {
  width: 200px;
}

footer .container {
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

footer nav p {
  font-weight: bold;
}

footer nav li {
  margin: 1rem 0;
}

footer nav a {
  color: var(--secondary);
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

.link-whatsapp {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 20px;
  bottom: 40px;
}

footer .bar {
  background-color: var(--primary-light);
  text-align: right;
  padding: 0.5rem 3rem;
  margin-top: 1rem;
}

footer .bar a {
  color: var(--foreground);
  text-decoration: none;
}

footer .bar a:hover {
  text-decoration: underline;
}
/*FIM DO FOOTER*/

/* AJUSTE DO BLOCO DE NOTÍCIAS */
.info-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile primeiro */
  gap: 2rem;
  margin: 0 2rem;
}

/* ESTILO DOS CARDS COM ANIMAÇÃO */
.info-card {
  background-color: var(--background);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 1px 2px 3px var(--primary-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  /* Transição suave para a animação */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

/* Efeito ao passar o mouse */
.info-card:hover {
  transform: translateY(-10px); /* O card sobe 10 pixels */
  box-shadow: 0 10px 20px rgba(103, 188, 44, 0.3); /* Sombra mais profunda e suave */
  border: 1px solid var(--primary-light); /* Realça a borda levemente */
}

.info-card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.info-card-icon img {
  width: 80px;
  height: 80px;
  margin-top: -10px;
}

.info-card-title {
  font-size: 2.2rem;
  color: var(--thirdground);
  margin-bottom: 1.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

.info-card-content p {
  font-size: 1.7rem;
  color: var(--foreground);
}

.info-card-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.info-card-list li {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.info-card-list a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1.8rem;
  display: block;
}

.info-card-list a:hover {
  color: var(--thirdground);
}
