/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #123456;
}

h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #c94f7c; /* Rosa claro profissional */
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

p {
  margin-bottom: 12px;
}

ul,
ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: white;
  z-index: 999;
  transition: all 0.3s ease;
  border-bottom: 0px solid transparent;
  background-color: #f7faff;
}
.navbar.scrolled {
  background-color: #f7faff;
  border-bottom: 1px solid #dbe9f4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background-color: #f7faff;
}
.logo {
  font-size: 22px;
  font-weight: 600;
  color: #2d9cdb;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #123456;
  font-weight: 500;
}
.btn-agendar {
  background-color: #123456;
  color: white !important;
  padding: 10px 18px;
  border-radius: 6px;
}

.btn-agendar:hover {
  background-color: #2d9cdb;
  color: #ffffff !important; /* Mantém o branco no hover */
}

.mobile-menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

section {
  padding: 40px 20px;
}
body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: #f7faff;
  color: #1f1f1f;
}

/* Container centralizado */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 20px;
  background-color: #f7faff;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
}

.hero-content .beats {
  position: absolute;
}
.hero-content .beats.beats-1 {
  left: -52px;
  width: 228px;
  top: 10px;
}

.hero-content .beats.beats-2 {
  right: -26px;
  width: 165px;
  top: 72px;
}

.hero-text {
  max-width: 600px;
  margin-top: -50px;
}
.hero-text .name {
  font-size: 20px;
  color: rgb(96, 165, 250);
  margin-bottom: 10px;
}
.hero-text h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: #123456;
}
.hero-text .sub-title {
  font-size: 20px;
  margin-bottom: 40px;
  color: #8996a6;
}
.cta-button {
  background-color: #3b82f6;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 2px 5px 8px rgba(96, 165, 250, 0.4);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 2px 10px 24px rgba(96, 165, 250, 0.6);
}

.hero-image {
  position: relative;
  max-width: 430px;
  width: 100%;
  margin-bottom: 120px;
}

.hero-image .main-photo {
  position: relative;
  width: 489px;
  margin-left: -48px;
  margin-bottom: -43px;
  z-index: 2;
}

.hero-image .bg-shape {
  position: absolute;
  bottom: -115px;
  right: 0;
  height: 105%;
  width: 100%;
  z-index: 1;
  object-fit: contain;
}

.hero-text,
.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-image {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doctor-info-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background-color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 16px 32px;
  margin: -40px auto 40px;
  z-index: 2;
  position: relative;
  max-width: 780px;
  flex-wrap: nowrap;
  position: absolute;
  bottom: -160px;
  width: 1293px;
  height: 80px;
  z-index: 0;
  right: 0;
  z-index: 1000;
}

.doctor-info-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.info-text {
  display: flex;
  flex-direction: column;
  line-height: 0.6;
}

.info-text strong {
  color: #1e3a8a;
  font-size: 15px;
}

.info-text span {
  font-size: 14px;
  color: #64748b;
}
.floating-icon {
  background: #fbbf24;
  border-radius: 10px;
  padding: 8px;
  position: absolute;
  width: 60px;
  height: 60px;
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

.icon-1 {
  left: -40px;
  top: 60px;
  animation-delay: 0s;
  padding: 10px;
}

.icon-2 {
  left: -70px;
  bottom: 60px;
  animation-delay: 3s;
}

/* Animação circular leve */
@keyframes floaty {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-5px, -10px);
  }
  50% {
    transform: translate(0px, -20px);
  }
  75% {
    transform: translate(5px, -10px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@media (max-width: 1140px) {
  .hero-image .bg-shape {
    bottom: -90px;
  }
}
@media (max-width: 1118px) {
  .hero-image .bg-shape {
    bottom: -92px;
  }
}
@media (max-width: 1117px) {
  .hero-image .bg-shape {
    bottom: -90px;
  }
}

@media (max-width: 1102px) {
  .hero-image .bg-shape {
    bottom: -100px !important;
  }
}

@media (max-width: 1103px) {
  .hero-image .bg-shape {
    bottom: -100px !important;
  }
}

@media (max-width: 1026px) {
  .hero-image .bg-shape {
    bottom: -103px;
  }
}

@media (max-width: 1091px) {
  .hero-image .bg-shape {
    bottom: -103px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: white;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-links.show-menu {
    display: flex;
  }
  .mobile-menu-icon {
    display: block;
  }

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

  .hero-content .beats.beats-2 {
    top: unset;
    bottom: 376px;
  }

  .hero-text {
    margin-top: 24px;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .hero-text .sub-title {
    font-size: 16px;
  }
  .hero-image .main-photo {
    width: 372px;
  }

  .doctor-info-card {
    border-radius: 100px;
    left: 50% !important;
    transform: translate(-50%, 0);
    max-width: 700px;
  }
  .icon-1 {
    left: 0px;
  }
  .icon-2 {
    left: unset;
    right: -30px;
  }
}
@media screen and (max-width: 640px) {
  .doctor-info-card {
    bottom: -170px;
    height: 90px;
    gap: 24px;
  }

  .info-item {
    flex-direction: column; /* 🔁 quebra o ícone e texto */
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    gap: 0;
  }

  .info-item img {
    margin-bottom: 8px;
  }

  .info-text strong {
    font-size: 16px;
  }

  .info-text span {
    font-size: 14px;
  }
}
@media (min-width: 2690px) {
  .doctor-info-card {
    left: 50% !important;
    transform: translate(-50%, 0);
    border-radius: 100px;
  }
}

.how-it-works {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  flex: 1 1 300px;
  min-width: 260px;
  padding: 24px;
  border-radius: 16px;
  background-color: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step img {
  width: 56px;
  margin-bottom: 16px;
  fill: #3b82f6;
  transition: transform 0.3s ease;
}

.step:hover img {
  transform: scale(1.1);
}

.step:nth-child(1) {
  transition-delay: 0s;
}
.step:nth-child(2) {
  transition-delay: 0.15s;
}
.step:nth-child(3) {
  transition-delay: 0.3s;
}

.step h3 {
  font-size: 20px;
  color: #1e293b;
  margin-bottom: 8px;
}

.step p {
  font-size: 16px;
  color: #475569;
  line-height: 1.5;
}

.benefits-section {
  background-color: #f7faff;
  padding: 60px 20px;
  text-align: center;
}

.benefits-section .subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #64748b;
  font-size: 18px;
}

.benefits-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.benefit-card {
  flex: 1 1 300px;
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 60, 120, 0.06);
  transition: 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 60, 120, 0.1);
}

.benefit-card img {
  height: 48px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  color: #0f172a;
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.5;
}

.benefit-card img {
  transition: transform 0.3s ease;
}

.benefit-card:hover img {
  transform: scale(1.1);
}

.benefit-card:nth-child(1) {
  transition-delay: 0s;
}
.benefit-card:nth-child(2) {
  transition-delay: 0.15s;
}
.benefit-card:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-section {
  position: relative;
  background-color: #ffffff;
  padding: 180px 20px 80px;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  position: relative;
  flex-wrap: wrap;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.about-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card {
  background-color: #2d9cdb;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgb(79 79 79 / 32%);
  padding: 48px;
  max-width: 771px;
  position: relative;
  z-index: 1;
  margin-right: 66px;
  padding-right: 332px;
}

.about-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: white;
}

.about-card p {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.about-image {
  position: absolute;
  right: 181px;
  bottom: -3px;
  z-index: 100;
}

.about-image img {
  width: 365px;
}

.doctor-name {
  font-size: 20px !important;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.doctor-subtitle {
  font-size: 18px !important;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .about-section {
    padding-top: 24px;
  }
  .about-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .about-card {
    padding: 32px;
    max-width: 100%;
    margin: auto;
  }

  .about-image {
    position: static;
    transform: none;
    margin-bottom: -2px;
  }

  .about-image img {
    max-width: 80%;
    height: auto;
  }
}

.faq-section {
  padding: 80px 20px;
  background-color: #f4f9ff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .section-title {
  text-align: center;
  font-size: 32px;
  color: #003366;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.06);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 18px;
  padding: 20px;
  color: #003366;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  color: #333;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer p {
  line-height: 1.5;
}

.cta-section {
  background-color: white;
  color: #0f172a;
  text-align: center;
  padding: 64px 20px;
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-whatsapp {
  display: inline-block;
  background-color: #1e90ff;
  color: #fff;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-whatsapp:hover {
  background-color: #123456;
}

.icon-whatsapp {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-right: 10px;
}

.footer {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 60px 20px 30px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #ffffff;
}

.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-contact a {
  text-decoration: none;
  color: #2490ff;
}

.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: 0.2s ease;
}

.footer-social img:hover {
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: #94a3b8;
  font-size: 13px;
}
