.background-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../assets/main-background.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--color-primary), transparent 60%);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  bottom: 20px;

  z-index: 100;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  pointer-events: none;

  color: var(--color-text-1);
  font-size: 1.1rem;
  text-align: center;
}

.arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--color-grey-1);
  border-bottom: 3px solid var(--color-grey-1);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

.navbar.scrolled {
  height: 70px;
  background-color: color-mix(in srgb, var(--color-primary), transparent 20%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-initial-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease;
}

.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-column {
  flex: 1;
  height: 300px;
  justify-content: space-around;
}

.column-name {
  align-items: center;
}

.info-divisor {
  width: 400px;
}
.crp {
  font-size: 1.2rem;
  opacity: 0.9;
}

.message {
  font-size: 1.2rem;
  max-width: 500px;
}

.logo-big {
  width: 280px;
  border-radius: 50%;
  border: 4px solid var(--color-grey-1);
}
.profile-big {
  width: 320px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-scrolled-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-scrolled-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

.navbar.scrolled .nav-initial-content {
  opacity: 0;
  pointer-events: none;
}
.navbar.scrolled .nav-scrolled-content {
  opacity: 1;
  pointer-events: auto;
}

.logo-small {
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-grey-1);
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3000;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger.toggle {
  position: fixed;
  top: 20px;
  right: 40px;
}
.hamburger div {
  width: 30px;
  height: 3px;
  background-color: var(--color-grey-1);
  margin: 6px;
  transition: all 0.3s ease;
}

.hamburger.toggle .line1 {
  transform: rotate(-45deg) translate(-6px, 7px);
}
.hamburger.toggle .line2 {
  opacity: 0;
}
.hamburger.toggle .line3 {
  transform: rotate(45deg) translate(-6px, -7px);
}

.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--color-grey-1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 100px 40px;
  padding-top: 120px;
  margin-top: 70px;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.side-menu.open {
  right: 0;
}

.side-menu a {
  text-decoration: none;
  color: var(--color-text-3);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 5px;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 5px;
  margin-bottom: 25px;
}

.side-menu a:hover {
  color: var(--color-primary);
}

.side-menu a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);

  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease-out;
}

.side-menu a:hover::after {
  transform: scaleX(1);
}

.side-menu a:not(:hover)::after {
  transform-origin: bottom left;
  transform: scaleX(0);
  transition: transform 0.3s ease-in;
}

main {
  padding-top: 100vh;
}

.reveal-section {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  height: auto;
}

.reveal-section span {
  background-color: var(--color-text-2);
}

.faq-slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: 280px;
}

.faq-slider-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.faq-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.faq-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  min-width: 100%;
  height: 100%;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  overflow-y: auto;
}

.faq-slide h2 {
  margin: 0 0 15px 0;
  flex-shrink: 0;
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.slider-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primary);
  padding: 10px;
  z-index: 10;
  transition: transform 0.2s;
}

.slider-arrow:hover {
  transform: scale(1.2);
}

.container {
  width: 100%;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 3.2;
}
.container h2 {
  color: var(--color-text-3);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.especialidade-col-left,
.especialidade-col-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background: var(--color-grey-2);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--color-primary);
  min-height: auto;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px; /* Cria o espaço que você pediu entre o texto e o botão */
  background-color: #25d366;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;

  white-space: nowrap;
  width: fit-content;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background-color: #20ba5a;
}

footer {
  display: flex;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-text-1);
  text-align: center;
  padding: 20px 30px;
  gap: 1.1rem;
}

.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 20px;

  padding: 20px;
}

.instagram-icon {
  width: 2rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.instagram-icon:hover {
  transform: scale(1.2);
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-initial-content {
    flex-direction: column;
    /* margin-bottom: 70px; */
  }

  .info-column {
    height: auto;
    gap: 32px;
  }

  .info-column h1 {
    font-size: 2.4rem;
  }

  .info-crp {
    font-size: 1.1rem;
  }

  .message {
    font-size: 0.9rem;
    max-width: 400px;
  }

  .logo-big {
    width: 160px;
  }

  .info-divisor {
    width: 246px;
  }

  .profile-big {
    width: 190px;
  }

  .container {
    padding: 30px;
  }

  .scroll-indicator {
    font-size: 0.9rem;
  }
  .arrow {
    width: 16px;
    height: 16px;
  }

  .side-menu {
    width: 200px;
  }

  .side-menu a {
    font-size: 1.1rem;
  }

  .grid {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-height: 320px;
    overflow-y: auto;
    padding: 15px;
    gap: 25px;

    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    width: 100%;
  }

  .card {
    width: 90%;
    max-width: 320px;
    min-width: 280px;

    margin: 0 auto;
    flex-shrink: 0;
    padding: 20px;
    font-size: 1rem;
    text-align: center;

    display: block;
  }

  .faq-slider-wrapper {
    height: 320px;
  }

  .reveal-section {
    /* height: auto; */
    padding: 60px 20px;
  }

  .btn-whatsapp {
    white-space: normal;
    text-align: center;
    max-width: 280px;
    padding: 12px 20px;
    line-height: 1.2;
    font-size: 0.95rem;
    gap: 10px;
  }

  .wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  footer p {
    font-size: 1rem;
  }

  .profile-image-container {
    margin-bottom: 60px;
  }

  .scroll-indicator {
    bottom: 1.8dvh;
  }

  .scroll-indicator span {
    font-size: 0.8rem;
  }

  .arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--color-grey-1);
    border-bottom: 2px solid var(--color-grey-1);
  }
}

@media (max-height: 600px) {
  .scroll-indicator {
    display: none;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}
