* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-family: 'Montserrat', sans-serif;
}

:root {
  --primary-color: #08133D;
  --secondary-color: #F0EEE8;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

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

h1 {
  font-size: 40px;
  font-weight: 600;
}

p {
  font-size: 1.5rem;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

#bloco1 {
  background-image: url(./assets/background-bloco1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#bloco1 .backdrop-filter {
  height: 100svh;
  width: 100%;
  display: flex;
  background-color: #f0eee8d4;
}

.intro {
  margin: auto;
  max-width: 1140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 20px;
}

#bloco1 .intro img {
  max-width: 300px;
}

#bloco1 .intro p {
  max-width: 1100px;
  color: var(--primary-color);
  font-size: 1.6rem;
  text-align: center;
}

#bloco1 .intro h1 {
  max-width: 1100px;
  color: var(--primary-color);
  font-size: clamp(28px, 7vw, 34px);
  font-weight: 600;
  text-align: center;
}

.wtp-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background-color: var(--primary-color);
  padding: 14px 20px;
  border-radius: 9999px;
  box-shadow: -2px 18px 36px -15px rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  cursor: pointer;
  color: white;
}

.wtp-contact i {
  font-size: 24px;
} 

.wtp-contact span {
  font-size: 18px;
}

.wtp-contact:hover {
  background-color: #3a4778;
  transition: 200ms;
}

#bloco2 {
  background-color: var(--secondary-color);
}

#bloco2 .wrapper {
  padding: 50px 20px;
}

.quemSomos-container {
  display: flex;
  gap: 20px;
}

.quemSomos {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 50%;
}

.quemSomos h1 {
  color: var(--primary-color);
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--primary-color), transparent) 1;
}

.quemSomos p {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-size: clamp(1.3rem, 3vw, 1.5rem);
}

.officeImg {
  display: flex;
  width: 50%;
}

.officeImg img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

#bloco2 h2 {
  text-align: center;
  padding: 40px 0 0;
  color: var(--primary-color);
}

.boxes-container {
  padding-top: 40px;
  gap: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

#bloco2 .boxes {
  box-shadow: rgba(0, 0, 0, 0.568) 0px 2px 5px 0px;
  border-radius: 15px;
  background: white;
  width: 180px;
  height: 180px;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  padding: 20px;

}

#bloco3 {
  background-color: var(--primary-color);
  isolation: isolate;
  position: relative;
}

#bloco3::before {
  content: "";
  background-image: url(./assets/background-bloco3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed, scroll;
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.2;
}

#bloco3 .backdrop-filter {
  backdrop-filter: blur(10px);
}

#bloco3 .wrapper {
  padding: 40px 20px;
}

#bloco3 .wrapper h1 {
  color: var(--secondary-color);
  font-size: 40px;
  text-align: center;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, transparent, var(--secondary-color), transparent) 1;
}

.accordion {
  max-width: 850px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
}

.accordion-item {
  background-color: white;
  margin: 1rem 0;
  border-radius: 6px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}

.accordion-item-header {
  padding: 15px 20px;
  min-height: 3.5rem;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  justify-content: space-between;
  gap: 20px;
  color: var(--primary-color);
  user-select: none;
}

.accordion-item-header h2 {
  width: 100%;
  text-align: center;
  line-height: 1.5;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 500;
}

.accordion-item-header i {
  font-size: 18px;
  transform: rotate(270deg);
  transition: 0.2s;
  user-select: none;
  color: var(--primary-color);
}

.accordion-item-header.active i {
  transform: rotate(360deg);
  transition: 0.2s;
  color: white;
}

.accordion-item-header.active {
  background-color: #3a4778;
  transition: 0.3s;
  border-top-left-radius: 4.5px;
  border-top-right-radius: 4.5px;
}

.accordion-item-header.active h2 {
  color: white;
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  font-size: 20px;
  gap: 14px;
  color: var(--primary-color);
  /* border-image: linear-gradient(to right, transparent, #34495e, transparent) 1; */
}

.accordion-item-body-content p {
  font-size: 22px;
  text-align: center;
}

#bloco4 {
  background-color: var(--secondary-color);
}

#bloco4 .wrapper {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--primary-color);
  text-align: center;
}

#bloco4 .wrapper h1 {
  text-align: center;
}

#bloco4 .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#bloco4 .box {
  border: 3px solid var(--primary-color);
  border-radius: 15px;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 15px;
  padding: 20px 20px 20px 20px;
  box-shadow: 0px 16px 11px -11px rgb(39 50 68 / 73%);
  gap: 20px;
}

#bloco4 .box p {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

#bloco4 .box p span {
  font-size: clamp(18px, 4vw, 22px);
}

#bloco4 .box p i {
  font-size: clamp(18px, 4vw, 22px);
}

.testimonial-carousel {
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background-color: white;
  border-radius: 15px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.467);
}

.testimonial-slides {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
}

.testimonial-slide {
  color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: .2s ease;
  z-index: 1;
  min-height: 335px;
  padding: 50px 20px 20px;
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.testimonial-slide img {
  max-width: 50px;
  width: 100%;
}

.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.testimonial-text {
  font-size: 1.4rem;
  margin-top: 1rem;
}

#carousel button {
  border: none;
  background: white;
  color: var(--primary-color);
  font-size: 20px;
  cursor: pointer;
  margin: auto 10px;
  width: 100%;
  max-width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 5px 10px #3337;
}

#carousel button:hover {
  color: white;
  background-color: var(--primary-color);
  transition: 0.2s ease;
}

.user-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
}

footer {
  background: var(--primary-color);
}

#bloco5 {
  background-color: var(--primary-color);
}

#bloco5 img {
  max-width: 230px;
  padding: 40px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

#bloco5 .wrapper {
  padding: 40px 20px 40px;
  display: flex;
  color: var(--secondary-color);
  width: 100%;
  justify-content: center;
}

#bloco5 .wrapper > div {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.2rem;
  align-items: center;
  text-align: center;
}

#bloco5 .wrapper > div > p {
  font-size: 21px;
}

#bloco5 .wrapper > div > a {
  display: flex;
  gap: 12px;
  width: fit-content;
  align-items: baseline;
}

iframe {
  width: 50%;
  display: flex;
  margin: 0 auto;
  border-radius: 10px;
}

#bloco6 {
  background-color: #070f2e;
}

#bloco6 .wrapper {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#bloco6 img {
  margin-bottom: 40px;
}

#form {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 700px;
}

#bloco6 p {
  text-align: center;
  color: var(--secondary-color);
}

#form label {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-top: 20px;
}

#form input {
  padding: 1rem 1rem 1rem 0;
  background-color: transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  outline: none;
  font-size: 1.3rem;
}

#form textarea {
  margin-top: 20px;
  padding: 1rem;
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  color: var(--secondary-color);
  outline: none;
  font-size: 1.3rem;
  min-height: 160px;
}

#form input::placeholder, #form textarea::placeholder {
  color: #757da7;
}

#form button {
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.6rem;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.4rem;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color .2s;
  margin-top: 2rem;
  width: 100%;
}

#form button:hover {
  background-color: #f0eee8c2;
  transition: 300ms ease-in-out;
}

.erro {
  color: rgb(242, 84, 91);
  margin-top: 10px;
  font-size: 18px;
}

.copyright {
  background-color: #04091c;
  color: var(--secondary-color);
  padding: 15px;
  text-align: center;
}

.copyright span {
  font-size: 20px;
}

.wtp-btn {
  height: 70px;
  width: 70px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 5;
  cursor: pointer;
  text-decoration: none;
}

.wtp-btn i {
  font-size: 40px;
  z-index: 10;
  background-color: transparent;
  color: white;
}

.wtp-btn:hover::before, .wtp-btn:hover::after {
  background-color: #128c7e;
  transition: 200ms;
}

.wtp-btn::before, 
.wtp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 50%;
}

.wtp-btn:before {
  background-color: #25d366;
  z-index: 10;
}

.wtp-btn::after {
  background-color: #25d366;
  z-index: 1;
  animation: pulso 1300ms infinite;
}

@keyframes pulso {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
    pointer-events: none;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
    pointer-events: none;
  }
}

@media screen and (max-width: 480px) {
  #bloco2 .boxes {
    height: 80px;
  }
  #bloco2 .boxes {
    width: 100%;
  }
  #carousel button {
    display: none;
  }
  .wtp-btn {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }
  .wtp-btn i {
    font-size: 35px;
  } 
  .copyright {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .quemSomos-container {
    flex-wrap: wrap;
  }
  .quemSomos, .officeImg, form input {
    width: 100%;
    text-align: center;
  }
  .quemSomos h1 {
    border-image: linear-gradient(to right, transparent, var(--primary-color), transparent) 1;
  }
}

@media screen and (max-width: 1024px) {
  #bloco5 .wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    align-items: center;
  }
  #bloco5 .wrapper > div {
    align-items: center;
    width: 100%;
  }
  iframe {
    width: 100%;
  }
}

.emailSent {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
  text-align: center;
  padding: 20px;
}

.emailSent > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.emailSent p {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 28px;
}

.emailSent a {
  color: var(--primary-color);
  font-size: 22px;
  text-decoration: underline;
}