:root {
  --primary-bg: #1d1d1d;
  --accent-color: #f4d0ae;
  --text-light: #ffffff;
  --gold: #ccba8d;
}

a {
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites/background-hero.png');
  background-position: center;
  background-size: cover;
  padding: 0 0 0 0;
  background-color: #1d1d1d;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.hero-image img {
  max-width: 100%;
  width: 500px;
  height: auto;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.logo {
  max-width: 265px;
  width: 100%;
}

.hero-description {
  font-size: 1.3rem;
  margin: 3rem 3rem;
  width: 70%;
  text-align: center;
}

/*Motivation Section*/
.motivation {
  background-color: #1d1d1d;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;
}

.title-motivation {
  font-weight: 200;
  margin-bottom: 4rem;
}

.title-motivation span {
  color: #CCBA8D;
  font-style: italic;
  font-weight: 600;
}

.groups-motivations {
  gap: 3rem;
}

.groups-motivations,
.group-motivations {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-motivation {
  height: 100px;
  width: 100px;
}

.icon-motivation.king {
  width: 80px;
  margin-top: 1rem;
}

.icon-motivation.rocket {
  margin-top: 2rem;
}

/* About Doctor Section */
.about-doctor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0 5rem 0;
}

.doctor-image {
  height: 700px;
}

.doctor-image-mobile {
  display: none;
}

.info-doctor-mobile {
  display: none;
}

.content-doctor {
  height: 100%;
}

.name-doctor-img {
  width: 350px;
}

.description-doctor {
  margin-top: 2rem;
  color: #1d1d1d;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 18px;
}

.text-personalize {
  font-weight: 600;
  font-style: italic;
}

/*Carrossel de videos*/
.rg-carousel-container {
  width: 100%;
  max-width: 1100px;
  margin: 5rem auto 0 auto;
  position: relative;
  padding: 0 2rem;
}

.rg-carousel {
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: all 0.4s ease;
}

.rg-iframe {
  width: 240px;
  height: 430px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
  border-radius: 12px;
  border: none;
  pointer-events: none;
}

.rg-iframe.active {
  width: 320px;
  height: 540px;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 100%;
}

.rg-carousel-btn,
.rg-carousel-btn {
  color: rgb(170, 170, 170);
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  background: none;
  border-width: 2px;
  border-style: solid;
  border-color: rgba(204, 186, 141, 0.5);
  border-image: initial;
  border-radius: 50%;
  transition: 0.2s;
}

.rg-btn-prev {
  position: absolute;
  left: 0px;
}

.rg-btn-next {
  position: absolute;
  right: 4rem;
}

/* Features Section */
.features {
  padding: 0 0 0 4rem;
}

.features-footer {
  font-size: 1.5rem;
}

.separator {
  width: 90px;
  height: 1px;
  background-color: var(--gold);
  margin: 4rem auto;
}

.separator-small {
  width: 120px;
  height: 1px;
  background-color: var(--gold);
  margin: 2rem auto;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 6rem;
  width: 50%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.features-grid p {
  font-weight: 200;
}

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

.feature-card img {
  height: 114px;
  width: auto;
  margin-bottom: 2rem;
}

/* Testimonials Section */
.testimonials {
  position: relative;
  height: fit-content;
}

.testimonials-bg {
  width: 100%;
  height: 100%;
  position: relative;
}

.testimonials-bg::after {
  content: '';
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 800px;
}

.testimonials-content {
  position: relative;
  z-index: 1;
  padding-top: 134px;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.testimonials-header {
  margin-top: -6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-logo {
  width: 416px;
  height: 200px;
  object-fit: cover;
}

.testimonials-description {
  width: 494px;
  margin-top: 36px;
  font-size: 20px;
  color: #1d1d1d;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.features-list {
  width: 554px;
  display: flex;
  width: 554px;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item img {
  width: 27px;
  height: 25px;
}

.feature-item span {
  font-size: 20px;
  font-weight: 300;
  color: #1d1d1d;
}

.testimonials-tagline {
  position: relative;
  text-align: center;
  font-style: italic;
  font-weight: 100;
  font-size: 20px;
  margin-top: 2rem;
  z-index: 5;
  opacity: .9;
}

.doctors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 8rem 0;
}

.doctors-image {
  width: 1760px;
  height: auto;
  border-radius: 8px;
}

.call-gallery {
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites/layer-1.svg');
  background-position: -480px 0;
  background-repeat: no-repeat;
  background-size: auto 90%;
}

/* Call To Action Section */
.cta-section {
  padding: 0 0 4rem 0;
}

.cta-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.cta-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.2rem;
}

.cta-logo {
  width: 149px;
  height: 146px;
}

.cta-cards {
  max-width: 1162px;
  margin: 0 auto;
}

.cta-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-cards-row.two-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.cta-card {
  background-color: var(--gold);
  border-radius: 10px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-weight: 600;
  color: #1d1d1d;
  font-size: 1.25rem;
}

.cta-tagline {
  text-align: center;
  font-style: italic;
  font-weight: 200;
  font-size: 20px;
  opacity: .9;
  padding: 5rem 0 0 0;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
}

.gallery-content {
  display: flex;
  gap: 4rem;
}

.gallery-image {
  flex: 1;
}

.gallery-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.gallery-text {
  flex: 1;
}

.gallery-text h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.gallery-text * .bold {
  font-weight: 700;
  font-size: 48px;
}

.gallery-text * .light {
  font-weight: 300;
  font-size: 35px;
}

.steps-list {
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-item img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: auto;
}

.step-item span {
  font-size: 2.2rem;
  font-weight: 200;
  margin-left: 2rem;
}

/* Reality Section */

.reality {
  width: 100%;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 0 2rem 0;
}

.reality .title-reality span {
  color: #F4D0AE;
}

.reality .group-info {
  display: flex;
}

.reality,
.comparation {
  background-color: #1d1d1d;
}

.header-reality {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.reality .title-reality {
  padding-bottom: 1rem;
}

.divisor-reality {
  height: 1px;
  background-color: #e9c4a1;
  margin: 1rem 0 2rem 0;
  width: 250px;
}

.title-reality {
  font-size: 32px;
  letter-spacing: 8px;
}

.sub-title-reality {
  font-weight: 100;
  letter-spacing: 5px;
  font-size: 14px;
}

.sub-title-reality.bottom {
  margin: 3rem 0 2rem 0;
  text-align: center;
}

.sub-title-reality.gold {
  color: #CCBA8D;
}

.sub-title-reality span {
  font-weight: 600;
  font-style: italic;
}

.group-info {
  display: flex;
  gap: 1rem;
}

.imagine-description {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 18px;
  font-weight: 300;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Comparation Section */
.comparation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 580px;
}

.comparation-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 4rem;
}

.cta-button.comparation-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: none;
  background-color: #1d1d1d;
  color: #ffffff;
  font-size: 16px;
  width: fit-content;
  padding: .8rem 1rem;
  width: 330px;
  line-height: 18px;
  bottom: 4rem;
  left: 2.5rem;
  text-align: center;
}

.price-comparation {
  position: relative;
  width: fit-content;
}

.section-content-comparation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-content-comparation.last {
  align-items: start;
}

.section-content-comparation img {
  width: 220px;
}

.section-content-comparation p,
.list-comparation li {
  font-size: 20px;
  font-weight: 200;
}

.section-content-comparation span {
  font-weight: 600;
  font-style: italic;
}

.comparation-backgroung {
  width: 75%;
}

.image-comparation {
  height: 500px;
}

.comparation-backgroung img {
  width: 100%;
  height: 100%;
}

.image-comparative-text {
  width: 350px !important;
}

.list-comparation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0 0 3rem !important;
}

/* FAQ Section */
.faq {
  padding: 2rem 0;
  background-color: #1d1d1d;
  position: relative;
  overflow: hidden;
}

.background-faq-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites/background-faq.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  opacity: 0.1;
}

.faq .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  z-index: 2;
  color: #fff;
}

.faq .container * {
  z-index: 2;
}

.faq .container .cta-button {
  font-size: 18px;
  font-style: italic;
  padding: 1rem 2rem;
  font-weight: 700;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.faq-title {
  font-size: 28px;
  color: #f4f2f2;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 2rem;
}

.faq-item {
  border-bottom: 1px solid #f4d0ae85;
  margin-bottom: 1rem;
  width: 100%;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-family: 'Baskervville', serif;
  font-size: 28px;
  text-align: left;
  padding: 2rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

.faq-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  min-height: 150px;
  height: fit-content;
}

.faq-answer p {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  padding: 2rem;
  line-height: 1.5;
}

.icon-calendar {
  width: 50px !important;
  height: 50px !important;
}

.icon-graphic {
  margin-left: .7rem;
}

.icon-calendar {
  margin-left: .4rem;
}

/* Footer Section */
.footer {
  position: relative;
  width: 100%;
}

.text-footer {
  font-size: 18px;
  font-weight: 200;
}

.text-footer span {
  font-weight: 600;
}

.groups-footer {}

.group-footer-content {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.group-footer-content img {
  width: 60px;
  height: 60px;
}

.footer * {
  color: #ffffff;
}

.footer .container {
  padding: 3rem 0;
}

.bg-image-footer {
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites//layer-1-1.svg');
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: .1;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.footer-text {
  width: 420px;
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logos {
  border-top: 1px solid #f4d0ae5d;
  text-align: center;
  padding-top: 3rem;
  margin-top: 5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.footer-logo {
  width: 200px;
}

.icon-footer {
  margin-right: 1rem;
}

.footer-info {
  text-align: start;
}

.footer-info p {
  font-weight: 200;
}

/* Utility Classes */
.light {
  font-weight: 100;
}

.bold {
  font-weight: 700;
}

.accent {
  color: var(--accent-color);
}

.text-center {
  text-align: center;
}

.italic {
  font-style: italic;
}

/* Button Styles */
.cta-button {
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites/cta-background.png');
  background-size: cover;
  background-repeat: no-repeat;
  color: rgb(18, 18, 18);
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: rgba(219, 189, 149, 0.3) 0px 8px 25px;
  background-position: center center;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  padding: 15px 30px;
  border-radius: 50px;
  transition: 0.3s;
  white-space: nowrap;
  transform: translateY(0px);
}

.btn-section-two {
  padding: 5rem 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button:hover {
  background-color: #e9c4a1;
  box-shadow: rgba(219, 189, 149, 0.3) 0px 8px 25px 0px;
  transform: translateY(-3px);
}

.cta-button.gold {
  background-color: var(--gold);
}

.cta-button.gold:hover {
  background-color: #b8a87d;
}

/* Responsividade */
@media (max-width: 1440px) {
  .testimonials-content {
    align-items: center;
  }

  .features-list {
    margin-left: 0;
    width: 100%;
    max-width: 554px;
    margin-top: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .hero-image {
    display: none;
    width: 80%;
  }

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

  .testimonials-bg::after {
    height: 1400px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .testimonials-content {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .features-list {
    width: 100%;
  }

  .testimonials-logo {
    width: 100%;
    height: auto;
  }

  .carousel-container {
    height: auto;
  }

  .card-about-doctor {
    width: 90%;
  }

  .gallery-content {
    flex-direction: column;
    gap: 4rem;
  }

  .cta-cards-row {
    grid-template-columns: 1fr;
  }

  .cta-cards-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .hero-image {
    display: none;
  }

  .hero-description {
    font-size: 1.2rem;
    margin: 3rem 0;
    width: 90%;
  }

  .hero-media,
  wistia-player {
    width: 100% !important;
  }

  .rg-carousel {
    flex-direction: column;
    align-items: center;
  }

  .rg-iframe {
    display: none;
  }

  .rg-iframe {
    width: 275px !important;
    height: 480px !important;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.3s ease;
    border-radius: 12px;
    border: none;
    pointer-events: none;
  }

  .rg-iframe.active {
    display: block;
    width: 100%;
    height: auto;
  }

  .rg-btn-prev,
  .rg-btn-next {
    top: auto;
    bottom: -60px;
  }

  .rg-btn-prev {
    left: 10%;
  }

  .rg-btn-next {
    right: 20%;
  }

  .rg-carousel-container {
    max-width: 100%;
  }

  .rg-video {
    height: 400px;
  }

  .cta-button {
    width: fit-content;
    font-size: 18px;
  }

  .features {
    padding: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    margin-bottom: 4rem;
  }

  .feature-card {
    padding: 0.5rem;
  }

  .feature-card img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
  }

  .feature-card p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
  }

  .feature-item {
    justify-content: center;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }

  .groups-motivations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .name-doctor-img {
    width: 250px;
  }

  .imagine-description {
    font-size: 16px;
  }

  .content-group-info {
    display: flex;
  }

  .reality .group-info {
    display: flex;
    flex-direction: column;
  }

  .info-img {
    width: 60px;
    height: 60px;
  }

  .comparation {
    height: 300px;
  }

  .comparation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1080px;
  }

  .section-content-comparation.last {
    align-items: center;
  }

  .comparation-content {
    flex-direction: column;
  }

  .comparation-backgroung {
    width: 80%;
  }

  .description-doctor {
    font-size: 16px;
  }

  .title-reality {
    font-size: 24px;
  }

  .icon-motivation {
    width: 70px;
    height: 70px;
  }
  
  .icon-motivatio.rocket {
    width: 80px;
  }

  .icon-motivation.king{
    width: 60px;
  }

  .icon-motivation p {
    font-size: 16px;
  }

  .doctor-image {
    height: 500px;
  }

  .testimonials {
    height: auto;
  }

  .testimonials-logo {
    width: 50%;
    height: auto;
  }

  .testimonials-description {
    width: 100%;
    font-size: 1.2rem;
  }

  .testimonials-description p br {
    display: none;
  }

  .testimonials-header {
    text-align: center;
  }

  .testimonials-content {
    padding-top: 100px;
  }

  .testimonials-bg::after {
    height: 1150px;
  }

  .card-about-doctor {
    padding: 1rem;
  }

  .step-item:nth-child(1) img {
    left: -1.9rem;
    top: 5rem;
  }

  .step-item:nth-child(2) img {
    left: -1.5rem;
    top: 5rem;
  }

  .step-item:nth-child(3) img {
    left: -1rem;
    top: 8rem;
  }

  .step-item:nth-child(4) img {
    left: -1rem;
    top: 8rem;
  }

  .gallery-text {
    position: relative;
  }

  .cta-button.gold {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .arrow {
    top: 30% !important;
  }

  .arrow.left {
    left: 25% !important;
  }

  .arrow.right {
    right: 25% !important;
  }

  .gallery {
    padding: 0 !important;
  }

  .step-item span {
    font-size: 1.5rem !important;
  }

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

  .image-doctor {
    height: 300px;
  }

  .guarantee-card h2 {
    font-size: 3rem;
  }

  .guarantee-card {
    margin-bottom: 2rem;
    border: none;
  }

  .guarantee-card h2 {
    font-size: 2rem;
  }

  .guarantee-text .light {
    font-size: 1rem !important;
    padding: 0 1rem;
    font-weight: 300;
  }

  .guarantee-text .bold {
    font-size: 1.3rem !important;
    padding: 0 1rem;
    font-weight: 600;
  }

  .card {
    padding: 15px 20px !important;
  }

  .step-item img {
    width: 15px;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .step-item:nth-child(1) img {
    left: -.5rem;
    top: 3.5rem;
  }

  .step-item:nth-child(2) img {
    left: -.5rem;
    top: 3.5rem;
  }

  .step-item:nth-child(3) img {
    left: -1rem;
    top: 4rem;
  }

  .step-item:nth-child(4) img {
    left: -1rem;
    top: 4rem;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-list {
    padding: 0 2rem;
  }

  .faq-question {
    font-size: 20px;
    padding: 1rem 1rem .5rem .5rem;
  }

  .faq-answer p {
    font-size: 16px;
    font-weight: 100;
  }

  .faq-icon {
    font-size: 1rem;
  }

  .footer .container {
    width: 90%;
    padding: 3rem 0 0 0;
  }

  .footer-info {
    display: flex;
    flex-direction: column;
  }

  .footer-logos {
    gap: 2rem;
    margin-top: 2rem;
  }

  .footer-logo {
    width: 150px;
  }

  .logo-circle {
    width: 70px;
  }

  .footer-info p {
    font-size: 16px;
  }

  .group-footer-content img {
    width: 50px;
    height: 50px;
  }

  .icon-calendar {
    width: 35px !important;
    height: 35px !important;
  }

  .text-footer {
    font-size: 14px;
  }

}

@media (max-width: 480px) {

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-logo {
    position: relative;
    overflow: hidden;
    /*background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites//imagem-dobra-1-1.png');
    background-size: cover;
    background-position: center;*/
  }

  .hero-media,
  wistia-player {
    margin-top: -.5rem !important;
    width: 100% !important;
  }

  .hero-text>.cta-button {
    font-size: 16px;
    padding: .8rem 1rem;
  }

  .header-reality {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
  }

  .sub-title-reality {
    font-weight: 200;
  }

  .motivation {
    padding: 2rem 0 0 0;
  }

  .title-motivation {
    font-size: 18px;
    margin-bottom: 2rem;
  }

  .groups-motivations {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 1rem;
  }

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

  .icon-motivation.king {
    width: 55px;
    height: 65px;
  }

  .group-motivations {
    align-items: center;
  }

  .group-motivations p {
    font-size: 16px;
    font-weight: 200;
  }

  .testimonials-bg {
    height: 140%;
    background-size: cover;
    background-position: top center;
  }

  .testimonials-content {
    padding-top: 70px;
    gap: 0;
  }

  .testimonials-bg::after {
    height: 1000px;
    top: 20px;
  }

  .testimonials-logo {
    margin-top: 1rem;
    width: 65%;
    height: auto;
  }

  .testimonials-description {
    font-size: .9rem !important;
    text-align: center;
    margin-top: 1rem;
    font-weight: 300;
    gap: 1rem;
    padding: 0;
  }

  .testimonials-description p br {
    display: none;
  }

  .testimonials-tagline {
    font-size: 1rem;
    margin-top: 2rem;
  }

  .testimonials-header {
    text-align: center;
    margin-bottom: 1rem;
  }

  .feature-item {
    justify-content: start;
  }

  .about-doctor {
    position: relative;
  }

  .about-doctor {
    flex-direction: column;
  }

  .info-doctor-mobile {
    display: flex;
    color: #ac9868;
    flex-direction: column;
    align-items: center;
  }

  .info-doctor-mobile h1 {
    font-family: 'Baskervville', sans-serif;
    font-weight: 500;
    font-size: 32px;
  }

  .info-doctor-mobile p {
    font-size: 14.4px;
  }

  .doctor-image,
  .name-doctor-img {
    display: none;
  }

  .doctor-image-mobile {
    display: block;
    height: 100px;
    margin-bottom: 1rem;
  }

  .description-doctor p {
    text-align: center;
    font-weight: 300;
  }

  .about-doctor {
    gap: 0;
    padding: 0 1rem 1rem 1rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .reality {
    border-radius: 0;
    margin-top: 2rem;
    padding-top: 2rem !important;
  }

  .title-reality {
    font-size: 18px;
    text-align: center;
  }

  .imagine-description {
    font-size: 14px;
    margin: 0 1rem 1.5rem 1rem;
  }

  .content-group-info {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
  }

  .info-img {
    width: 40px;
    height: 40px;
  }

  .info-text {
    font-size: 14px;
  }

  .info-text br {
    display: none;
  }

  .comparation {
    display: none;
  }

  .comparation {
    display: flex;
    background-color: #1d1d1d;
    align-items: center;
    flex-direction: column;
    position: relative;
    height: fit-content;
    padding: 1rem 0;
  }

  .comparation-content {
    gap: 0;
    justify-content: start;
  }

  .comparation p {
    font-weight: 200;
    font-size: 16px;
  }

  .comparation p span {
    font-style: italic;
    font-weight: 600;
  }

  .logo-circle {
    width: 100px !important;
    margin-bottom: 1rem;
  }

  .image-comparation {
    height: 390px;
    margin-top: 2rem;
  }

  .image-comparative-text {
    margin: 3rem 0 1rem 0;
    width: 230px !important;
  }

  .cta-button.comparation-btn {
    background-image: none;
    background-color: #1d1d1d;
    color: #ffffff;
    font-size: 12px;
    width: fit-content;
    padding: .5rem 2rem;
    line-height: 13px;
    bottom: 3.5rem;
  }

  .list-comparation {
    width: 80%;
    padding-left: 0 !important;
  }

  .list-comparation li {
    font-weight: 200;
    font-size: 16px !important;
  }

  .features-list {
    gap: 0;
  }

  .feature-item {
    gap: 1rem;
  }

  .feature-item span {
    font-size: .9rem !important;
  }

  .carousel-container {
    height: auto !important;
    padding: 1rem 0 3rem 0 !important;
    border-radius: 0 !important;
  }

  .carousel {
    height: 750px !important;
    padding-top: 3rem;
  }

  .card-about-doctor {
    width: 100%;
    background-position: 50% 10% !important;
    background-size: 100% !important;
  }

  .image-doctor {
    height: 350px !important;
  }

  .doctor-info {
    font-size: 1.5rem;
  }

  .card {
    font-size: .8rem !important;
  }

  .name-doctor {
    font-size: 1.5rem !important;
  }

  .function-doctor {
    font-size: 18px !important;
  }

  .arrow {
    top: 40% !important;
    width: 30px;
    height: 30px;
  }

  .arrow.left {
    left: 4% !important;
  }

  .arrow.right {
    right: 4% !important;
  }

  .guarantee-card {
    padding: 2rem 1rem;
  }

  .guarantee-text .light {
    font-size: 1.2rem;
  }

  .guarantee-text .bold {
    font-size: 1.5rem;
  }

  .features {
    padding: 2rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .feature-card {
    background-color: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .feature-card img {
    height: 35px;
    width: auto;
    margin-bottom: 0;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-light);
    font-weight: 300;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0;
    width: 100%;
  }

  .separator {
    width: 60px;
    margin: 2rem auto;
  }

  .cta-section>.container {
    width: 100%;
  }

  .features-footer {
    font-size: 1rem;
    margin-top: 2rem;
  }

  .features-footer .light {
    font-weight: 200;
  }

  .btn-section-two {
    padding: 2rem 0 0 0;
  }

  .cta-button {
    width: 100%;
    font-size: 1.2rem;
    padding: 1rem;
  }

  .cta-button.gold {
    position: absolute;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 3rem;
  }

  .gallery {
    padding: 0 !important;
  }

  .fade-in {
    padding: 1rem;
  }

  .fade-in>.container {
    width: 100%;
  }

  .cta-heading {
    padding-top: 3rem;
  }

  .cta-heading * {
    font-size: 1rem !important;
  }

  .cta-heading {
    margin: 0;
  }

  .cta-heading>h2>span {
    overflow-wrap: break-word;
    white-space: nowrap;
  }

  .cta-logo {
    width: 70px;
    height: fit-content;
    margin-bottom: 1.2rem;
  }

  .cta-cards-row {}

  .cta-card {
    width: 100%;
    font-size: 1rem;
    height: fit-content;
    padding: 1rem;
  }

  .cta-tagline {
    font-size: 1rem;
    padding: 4rem 0 0 0;
  }

  .gallery-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .gallery-text .light {
    font-weight: 100;
    font-size: 1.1rem !important;
  }

  .gallery-text .bold {
    font-size: 1.5rem !important;
  }

  .steps-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    gap: 1.5rem;
    padding: 0 1rem 8rem 1rem;
  }

  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80%;
    position: relative;
    margin-bottom: 0;
  }

  .step-item span {
    font-size: 1rem !important;
  }

  .step-item img {
    width: 13px;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .step-item:nth-child(1) img {
    left: -1.9rem;
    top: 1rem;
    transform: rotate(45deg);
  }

  .step-item:nth-child(2) img {
    left: -1.5rem;
    top: 1.3rem;
    transform: rotate(0);
  }

  .step-item:nth-child(3) img {
    left: -1rem;
    top: 2.3rem;
    transform: rotate(0deg);
  }

  .step-item:nth-child(4) img {
    left: -1rem;
    top: 2rem;
    transform: rotate(0deg);
  }

  .step-item span {
    margin: 0;
  }

  .gallery-text button {
    position: absolute;
    bottom: -1rem;
    font-size: 1.2rem;
    left: 15%;
    transform: translateY(-50%);
  }

  .guarantee-card h2 {
    font-size: 1.5rem;
  }

  .guarantee-text {
    font-size: 1rem !important;
  }

  .faq-title {
    font-size: 18px;
  }

  .faq-list {
    margin-top: 1rem;
    padding: 0;
    margin-bottom: 1rem;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 14px;
    font-weight: 200;
  }

  .footer .container {
    padding: 0;
  }

  .group-footer-content img {
    width: 40px;
    height: 40px;
  }

  .groups-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    margin: 0;
    padding: 0 2rem;
  }

  .footer-cta {
    font-size: 1.2rem;
    height: fit-content;
    width: fit-content;
    padding: 1rem;
  }

  .footer-logos {
    display: flex;
    flex-direction: column;
  }

  .footer-text {
    font-size: 1rem;
  }

  .footer-info {
    gap: .5rem;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 5rem 0;
  background-color: #1d1d1d;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
}

.carousel {
  display: flex;
  width: 100%;
  justify-content: center;
  transition: transform 0.5s ease;
  cursor: grab;
}

.carousel.dragging {
  cursor: grabbing;
}

.card-about-doctor {
  background-image: url('https://clinicarigatti.s3-accelerate.amazonaws.com/imagens_sites/layer-1.svg');
  background-position: center top 2rem;
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 600px;

  /* define estado “inativo”: escala menor e opacidade reduzida */
  opacity: 0.3;
  transform: scale(0.9);

  /* transições suaves para escala e opacidade */
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Apenas o card que tiver a classe “active” ficará em scale(1) e opacity 1 */
.card-about-doctor.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  /* para ficar sobre os outros */
}

.card {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(204, 186, 141, 0.5);
  color: rgb(241, 241, 241);
  box-shadow: rgba(0, 0, 0, 0.5) 6px 6px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  flex: 1 1 auto;
}

.image-doctor {
  height: 450px;
  margin-bottom: -1rem;
}

.doctor-info {
  font-family: "Playfair Display", Arial, sans-serif;
  font-size: 36px;
  color: rgb(241, 241, 241);
  letter-spacing: -1.1px;
  margin-top: 15px;
  line-height: 1.1;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

.name-doctor {
  /* estilos opcionais */
}

.function-doctor {
  font-size: 20px;
  color: rgb(204, 186, 141);
  letter-spacing: 1.5px;
  font-style: italic;
  margin-bottom: 0px;
  font-weight: 400;
  margin-top: 5px;
  opacity: 0.8;
}

.arrow {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  background: none;
  border: 2px solid rgba(204, 186, 141, 0.5);
  color: #aaa;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  transition: .2s ease;
}

.arrow:hover {
  border-color: rgb(204, 186, 141);
  ;
  color: #fff;
}

.arrow.left {
  left: 32%;
}

.arrow.right {
  right: 32%;
}