* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Niramit", sans-serif;
}

body {
  background-color: #faf9f6;
}

h1,
h2,
.step-title,
.guidance-title,
.faq-question {
  font-family: "Rosario", serif;
}

.content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.first-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #faf9f6;
  position: relative;
}

.first-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(145, 89, 59, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(127, 155, 175, 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(45deg, rgba(145, 89, 59, 0.1) 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, rgba(127, 155, 175, 0.1) 25%, transparent 25%) -50px
      0;
  background-size: 100% 100%, 100% 100%, 100px 100px, 100px 100px;
  animation: backgroundFlow 15s ease-in-out infinite alternate;
  z-index: 1;
}

.first-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(145, 89, 59, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(-120deg, rgba(127, 155, 175, 0.05) 0%, transparent 50%);
  animation: pulseGradient 8s ease-in-out infinite;
  z-index: 1;
}

.first-section .content {
  display: flex;
  align-items: center;
  padding: 0;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.left-content {
  flex: 1;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.profile-info {
  flex: 1;
  padding: 60px 20px 60px 350px;
  text-align: left;
}

.profile-info h1,
.profile-info h2,
.profile-info .crp,
.profile-info .education,
.profile-info .experience,
.profile-info .service {
  color: #91593b;
  text-align: left;
}

.second-section {
  min-height: 100vh;
  padding: 60px 20px;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
  position: relative;
}

.second-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(145, 89, 59, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(127, 155, 175, 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(45deg, rgba(145, 89, 59, 0.1) 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, rgba(127, 155, 175, 0.1) 25%, transparent 25%) -50px
      0;
  background-size: 100% 100%, 100% 100%, 100px 100px, 100px 100px;
  animation: backgroundFlow 15s ease-in-out infinite alternate;
  z-index: 1;
}

.second-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(145, 89, 59, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(-120deg, rgba(127, 155, 175, 0.05) 0%, transparent 50%);
  animation: pulseGradient 8s ease-in-out infinite;
  z-index: 1;
}

.second-section .content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.left-column {
  flex: 1;
  max-width: 50%;
  padding-right: 60px;
  text-align: left;
}

.right-column {
  flex: 1;
  background-color: #7f9baf;
  border-radius: 30px;
  padding: 40px;
  color: #faf9f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  left: 35%;
  transform: translateX(-50%);
}

.right-column p {
  margin-bottom: 20px;
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
}

h1 {
  color: #91593b;
  font-size: 3em;
  margin-bottom: 30px;
}

.first-section h1 {
  text-align: center;
}

h2 {
  color: #91593b;
  font-size: 1.8em;
  margin: 30px 0 20px 0;
}

.crp {
  color: #91593b;
  font-size: 1.2em;
  margin-bottom: 30px;
  margin: 20px auto;
}

.education,
.experience,
.service,
.online-info,
.requirements {
  color: #91593b;
  margin: 25px auto;
  font-size: 1.4em;
  line-height: 1.6;
  max-width: 700px;
}

.requirements {
  margin: 15px 0;
}

.google-meet {
  font-style: italic;
}

.button {
  background-color: #91593b;
  color: #faf9f6;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
  align-self: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2);
}

.button:hover {
  background-color: #814f35;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(139, 69, 19, 0.3);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(139, 69, 19, 0.2);
}

@media (max-width: 1200px) {
  .left-content {
    margin-left: 0;
  }
  .first-section .content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .first-section::before,
  .first-section::after {
    width: 100%;
    height: 50vh;
  }

  .first-section .content {
    flex-direction: column;
  }

  .left-content {
    height: 50vh;
    width: 100%;
  }

  .profile-image {
    height: 50vh;
  }

  .profile-info {
    padding: 30px;
    text-align: center;
  }

  .profile-info h1,
  .profile-info h2,
  .profile-info .crp,
  .profile-info .education,
  .profile-info .experience,
  .profile-info .service {
    text-align: center;
  }

  .second-section::before,
  .second-section::after {
    width: 100%;
    height: 50vh;
  }

  .second-section .content {
    flex-direction: column;
    gap: 30px;
  }

  .left-column {
    padding-right: 0;
    max-width: 100%;
  }

  .right-column {
    max-width: 100%;
    margin: 0 20px;
    left: 0;
    transform: none;
  }
}

.third-section {
  min-height: 100vh;
  padding: 60px 20px;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
}

.third-section .content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.third-section h1 {
  text-align: center;
  margin-bottom: 60px;
  color: #91593b;
  font-size: 3em;
  position: relative;
}

.third-section h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #7f9baf;
  border-radius: 2px;
}

.main-text {
  color: #91593b;
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(127, 155, 175, 0.1) 0%,
    rgba(145, 89, 59, 0.1) 100%
  );
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border-left: 4px solid #91593b;
  font-style: italic;
  text-align: left;
}

.main-text::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 3em;
  color: #91593b;
  opacity: 0.2;
  font-family: "Rosario", serif;
}

.underline {
  text-decoration: underline;
}

.difficulties-grid {
  max-width: 1200px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: start;
}

.difficulty-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.difficulty-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.difficulty-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.difficulty-text {
  color: #91593b;
  font-size: 1.1em;
  line-height: 1.4;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.brain-icon {
  width: 200px;
  display: block;
  margin: 40px auto 20px;
}

.cta-button {
  background-color: #91593b;
  color: #faf9f6;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
  align-self: center;
}

@media (max-width: 768px) {
  .cta-button {
    padding: 12px 40px;
    font-size: 1em;
  }
}

.fourth-section {
  min-height: 100vh;
  padding: 60px 20px;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
}

.fourth-section h1 {
  text-align: center;
  margin-bottom: 60px;
  color: #91593b;
  font-size: 3em;
  position: relative;
}

.fourth-section h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #7f9baf;
  border-radius: 2px;
}

.therapy-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.therapy-item {
  position: relative;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.therapy-item:hover {
  transform: translateY(-10px);
}

.therapy-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #faf9f6 0%, #f5f5f5 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.therapy-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #7f9baf 0%, #91593b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.therapy-icon i {
  font-size: 1.8em;
  color: #faf9f6;
}

.therapy-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.therapy-info h3 {
  color: #91593b;
  font-size: 1.3em;
  margin-bottom: 15px;
  font-family: "Rosario", serif;
}

.therapy-info p {
  color: #666;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1200px) {
  .therapy-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .therapy-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .therapy-item {
    height: 350px;
  }

  .therapy-content {
    padding: 25px;
  }

  .therapy-icon {
    width: 60px;
    height: 60px;
  }

  .therapy-icon i {
    font-size: 1.6em;
  }

  .therapy-info h3 {
    font-size: 1.2em;
  }

  .therapy-info p {
    font-size: 0.95em;
  }
}

.fifth-section {
  min-height: 100vh;
  padding: 60px 20px;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
}

.fifth-section h1 {
  text-align: center;
  margin-bottom: 60px;
  color: #91593b;
  font-size: 3em;
  position: relative;
}

.fifth-section h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #7f9baf;
  border-radius: 2px;
}

@media (max-width: 1200px) {
  .fifth-section .therapy-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fifth-section .therapy-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .fifth-section .therapy-item {
    height: 350px;
  }

  .fifth-section .therapy-content {
    padding: 25px;
  }

  .fifth-section .therapy-icon {
    width: 60px;
    height: 60px;
  }

  .fifth-section .therapy-icon i {
    font-size: 1.6em;
  }

  .fifth-section .therapy-info h3 {
    font-size: 1.2em;
  }

  .fifth-section .therapy-info p {
    font-size: 0.95em;
  }
}

.professional-guidance {
  max-width: 1200px;
  margin: 40px auto;
  text-align: left;
}

.guidance-step {
  margin-bottom: 40px;
  color: #91593b;
}

.guidance-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.guidance-content {
  font-size: 1.2em;
  line-height: 1.6;
}

.note {
  font-size: 1em;
  font-style: italic;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .guidance-title {
    font-size: 1.2em;
  }

  .guidance-content {
    font-size: 1.1em;
  }
}

.sixth-section {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  background-color: #faf9f6;
}

.sixth-section h1 {
  text-align: center;
  margin-bottom: 60px;
  color: #91593b;
  font-size: 3em;
  position: relative;
}

.sixth-section h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #7f9baf;
  border-radius: 2px;
}

.testimonials-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #91593b;
  font-size: 1.2em;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
}

.carousel {
  padding: 60px 80px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
  position: relative;
}

.carousel-text {
  display: none;
  text-align: center;
  line-height: 1.8;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-content {
  color: #91593b;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  color: #7f9baf;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 20px;
  font-family: "Rosario", serif;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 4px solid #91593b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #faf9f6;
  position: relative;
  z-index: 2;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-text.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2.5em;
  color: #91593b;
  cursor: pointer;
  padding: 20px;
  z-index: 2;
  transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
  color: #7f9baf;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

@media (max-width: 1024px) {
  .carousel {
    padding: 40px 60px;
    margin: 0 30px;
  }

  .carousel-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .carousel {
    padding: 30px;
    min-height: 200px;
    margin: 0 20px;
  }

  .prev,
  .next {
    font-size: 2em;
    padding: 15px;
  }

  .prev {
    left: -10px;
  }

  .next {
    right: -10px;
  }

  .testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }

  .testimonial-author {
    font-size: 1.1em;
  }
}

.seventh-section {
  min-height: 100vh;
  padding: 60px 20px;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
}

.seventh-section .content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-container {
  max-width: 1200px;
  margin: 40px auto;
  width: 100%;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background-color: #91593b;
  color: #faf9f6;
  padding: 20px;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
}

.faq-question:hover {
  background-color: #9b5523;
}

.faq-answer {
  background-color: #c6ad9f;
  padding: 20px;
  border-radius: 0 0 15px 15px;
  margin-top: -15px;
  display: none;
  color: #faf9f6;
  font-size: 1.1em;
  line-height: 1.6;
  font-style: italic;
  text-align: justify;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  border-radius: 15px 15px 0 0;
}

.toggle-icon {
  font-size: 1.5em;
  font-weight: bold;
}

.schedule-button {
  background-color: #7f9baf;
  color: #faf9f6;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 40px;
  font-weight: bold;
  font-size: 1.2em;
}

.schedule-button:hover {
  background-color: #8b9cad;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1.1em;
  }

  .faq-answer {
    font-size: 1em;
  }
}

.contact-section {
  min-height: 20vh;
  padding: 20px 0;
  background-color: #faf9f6;
  display: flex;
  align-items: center;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(145, 89, 59, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(127, 155, 175, 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(45deg, rgba(145, 89, 59, 0.1) 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, rgba(127, 155, 175, 0.1) 25%, transparent 25%) -50px
      0;
  background-size: 100% 100%, 100% 100%, 100px 100px, 100px 100px;
  animation: backgroundFlow 15s ease-in-out infinite alternate;
  z-index: 1;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(145, 89, 59, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(-120deg, rgba(127, 155, 175, 0.05) 0%, transparent 50%);
  animation: pulseGradient 8s ease-in-out infinite;
  z-index: 1;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-block h3 {
  color: #91593b;
  font-size: 1.2em;
  margin-bottom: 10px;
  font-family: "Rosario", serif;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #91593b;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.contact-info i {
  font-size: 1.2em;
}

.contact-info:hover {
  color: #7f9baf;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icons a {
  color: #91593b;
  text-decoration: none;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.8;
}

.whatsapp-block {
  background-color: #7f9baf;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.whatsapp-title i {
  font-size: 1.1em;
  color: #faf9f6;
}

.whatsapp-title h3 {
  color: #faf9f6 !important;
  margin: 0;
  font-size: 1.1em;
}

.whatsapp-text {
  color: #faf9f6;
  margin: 15px 0;
  font-size: 1.1em;
  line-height: 1.4;
}

.whatsapp-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #faf9f6;
  color: #91593b;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1em;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.whatsapp-number i {
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .social-icons {
    align-items: center;
  }

  .contact-block {
    align-items: center;
  }
}

.parallax-divider {
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.parallax-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

@media (max-width: 768px) {
  .parallax-divider {
    height: 300px;
    background-attachment: scroll;
  }
}

/* Para garantir uma transição suave com o parallax */
.parallax-divider.parallax-2,
.parallax-divider.parallax-3 {
  position: relative;
  z-index: 2;
}

.third-section {
  position: relative;
  z-index: 1;
}

.therapy-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.therapy-card {
  width: 300px;
  height: 400px;
  position: relative;
  perspective: 1500px;
}

.therapy-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.therapy-card:hover .therapy-card-inner {
  transform: rotateY(180deg);
}

.therapy-card-front,
.therapy-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.therapy-card-front {
  background-color: #7f9baf;
  color: #faf9f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.therapy-card-back {
  background-color: #91593b;
  color: #faf9f6;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.therapy-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Rosario", serif;
}

.therapy-card-text {
  font-size: 1.1em;
  line-height: 1.6;
}

.therapy-card-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .therapy-cards {
    gap: 20px;
  }

  .therapy-card {
    width: 280px;
    height: 380px;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #faf9f6;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #91593b;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #91593b;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #91593b;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  font-weight: bold;
}

.nav-link.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .nav-link {
    font-size: 1em;
  }
}

.whatsapp-button {
  position: fixed;

  bottom: 50px;
  left: 40px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 15px;
    left: 15px;
  }

  .whatsapp-button img {
    width: 50px;
    height: 50px;
  }
}

.whatsapp-modal {
  display: none;
  position: fixed;
  bottom: 100px;
  left: 20px;
  background: #faf9f6;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.modal-content {
  padding: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-header h3 {
  margin: 0;
  color: #91593b;
  font-size: 1.2em;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #666;
}

.modal-body textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #faf9f6;
  border-radius: 5px;
  resize: none;
  font-family: inherit;
}

.send-message {
  background-color: #25d366;
  color: #faf9f6;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  transition: background-color 0.3s;
}

.send-message:hover {
  background-color: #128c7e;
}

.modal-show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .whatsapp-modal {
    width: calc(100% - 40px);
    bottom: 80px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 40px;
  background-color: #7f9baf;
  color: #faf9f6;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top i {
  font-size: 20px;
}

.back-to-top:hover {
  background-color: #8b4513;
  transform: translateY(-5px);
}

.back-to-top.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 30px;
    right: 20px;
    padding: 10px;
  }
}

.nav-title {
  font-family: "Rosario", serif;
  font-size: 1.5em;
  color: #91593b;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-title.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .nav-title {
    font-size: 1.2em;
  }
}

.footer {
  background-color: #91593b;
  padding: 20px 0;
  text-align: center;
  color: #faf9f6;
  font-size: 0.9em;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-divider {
  width: 4px;
  height: 4px;
  background-color: #faf9f6;
  border-radius: 50%;
}

.footer a {
  color: #faf9f6;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 0.8;
}

.developer-info {
  font-size: 0.85em;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.developer-info i {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

  .footer-divider {
    display: none;
  }
}

.whatsapp-block {
  background-color: #7f9baf;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.whatsapp-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(164, 179, 196, 0.3);
}

.whatsapp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.whatsapp-title i {
  font-size: 2em;
  color: #faf9f6;
}

.whatsapp-title h3 {
  color: #faf9f6 !important;
  margin: 0;
  font-size: 1.4em;
  font-family: "Rosario", serif;
}

.whatsapp-text {
  color: #faf9f6;
  margin: 15px 0;
  font-size: 1.1em;
  line-height: 1.4;
}

.whatsapp-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #faf9f6;
  color: #91593b;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: transform 0.3s;
}

.whatsapp-number:hover {
  transform: scale(1.05);
  background-color: #91593b;
  color: #faf9f6;
}

.whatsapp-number i {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .whatsapp-block {
    padding: 20px;
  }

  .whatsapp-title i {
    font-size: 1.5em;
  }

  .whatsapp-title h3 {
    font-size: 1.2em;
  }

  .whatsapp-text {
    font-size: 1em;
  }

  .whatsapp-number {
    font-size: 1.1em;
    padding: 10px 20px;
  }
}

.parallax-divider {
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.parallax-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.parallax-1 {
  background-image: url("img/para4.jpg");
  background-position: center -10%;
}

.parallax-2 {
  background-image: url("img/pcpara.jpeg");
  background-position: center 50%;
}

.parallax-3 {
  background-image: url("img/15.jpg");
  background-position: center -20%;
}

.parallax-4 {
  background-image: url("img/cerebropara.jpeg");
  background-position: center 10%;
}

.parallax-5 {
  background-image: url("img/para1.png");
  background-position: center -20%;
}

.parallax-6 {
  background-image: url("img/nine.jpg");
  background-position: center 70%;
}

@media (max-width: 768px) {
  .parallax-divider {
    height: 300px;
    background-attachment: scroll;
  }
}

/* Para garantir uma transição suave com o parallax */
.parallax-divider.parallax-2,
.parallax-divider.parallax-3 {
  position: relative;
  z-index: 2;
}

.third-section {
  position: relative;
  z-index: 1;
}

.therapy-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.therapy-card {
  width: 250px;
  height: 400px;
  position: relative;
  perspective: 1500px;
}

.therapy-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.therapy-card:hover .therapy-card-inner {
  transform: rotateY(180deg);
}

.therapy-card-front,
.therapy-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.therapy-card-front {
  background-color: #7f9baf;
  color: #faf9f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.therapy-card-back {
  background-color: #91593b;
  color: #faf9f6;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.therapy-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Rosario", serif;
}

.therapy-card-text {
  font-size: 1.1em;
  line-height: 1.6;
}

.therapy-card-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .therapy-cards {
    gap: 20px;
  }

  .therapy-card {
    width: 280px;
    height: 380px;
  }
}

.contact-block.right-align {
  text-align: right;
  align-items: flex-end;
}

.contact-block.right-align .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-block.right-align a.contact-info {
  flex-direction: row-reverse;
}

.contact-block.right-align a.contact-info i {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  .contact-block.right-align {
    text-align: center;
    align-items: center;
  }

  .contact-block.right-align .contact-info,
  .contact-block.right-align a.contact-info {
    align-items: center;
    flex-direction: row;
  }
}

@keyframes backgroundFlow {
  0% {
    background-position: 0% 0%, 100% 100%, 0 0, 0 0;
  }
  100% {
    background-position: 100% 100%, 0% 0%, 100px 100px, -100px -100px;
  }
}

@keyframes pulseGradient {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
