:root {
  --brand-900: #0a5358;
  --brand-700: #0d7e86;
  --brand-500: #18aeb6;
  --brand-200: #c3f2ec;
  --accent: #2dc86c;
  --text: #1e2d33;
  --surface: #f6fafb;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.section-title {
  font-family: "Fraunces", serif;
  letter-spacing: 0.2px;
}

.hero-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(198, 255, 244, 0.45), transparent 36%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(130deg, var(--brand-700), var(--brand-500));
}

.navbar {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.navbar-scrolled {
  background: rgba(8, 78, 83, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(1, 29, 31, 0.22);
}

.navbar .nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.2rem;
  width: calc(100% - 1rem);
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.hero-badge {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 600;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.82);
}

.cta-form {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(13, 126, 134, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(6, 65, 69, 0.18) !important;
}

.cta-form .form-label {
  font-size: 0.9rem;
  color: #47616a;
}

.cta-form .form-control,
#contato .form-control {
  border-color: #bcdce0;
}

.cta-form .form-control:focus,
#contato .form-control:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 0.25rem rgba(13, 126, 134, 0.2);
}

.hero-portrait {
  max-width: 500px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 28px 48px rgba(2, 28, 30, 0.25);
  animation: floatPortrait 4.8s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.hero-portrait img {
  transition: transform 0.5s ease;
}

.hero-portrait:hover img {
  transform: scale(1.05);
}

.wave-divider {
  height: 90px;
  background:
    radial-gradient(60px 34px at 12% -2px, transparent 95%, #fff 96%) repeat-x,
    radial-gradient(60px 34px at 50% -2px, transparent 95%, #fff 96%) repeat-x,
    radial-gradient(60px 34px at 88% -2px, transparent 95%, #fff 96%) repeat-x;
  background-size: 220px 100%;
  background-position: 0 0, 70px 0, 140px 0;
}

.section-title {
  font-weight: 700;
  color: #16414a;
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #87cbd0 transparent;
  padding: 0.2rem;
}

.testimonials-track::-webkit-scrollbar {
  height: 8px;
}

.testimonials-track::-webkit-scrollbar-thumb {
  background: #99d6db;
  border-radius: 999px;
}

.depo-card {
  min-width: calc(33.333% - 0.7rem);
  flex: 0 0 calc(33.333% - 0.7rem);
  scroll-snap-align: start;
}

.carousel-control-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #b9dde0;
  border-radius: 999px;
  background: #ffffff;
  color: #1d5f67;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(7, 76, 80, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.carousel-control-btn:hover {
  transform: translateY(-2px);
  background-color: #f2fbfc;
  box-shadow: 0 10px 18px rgba(7, 76, 80, 0.16);
}

.about-section {
  background:
    radial-gradient(circle at 75% 30%, rgba(24, 174, 182, 0.08), transparent 40%),
    linear-gradient(to bottom, #ffffff, var(--surface));
}

.info-box {
  background: #ffffff;
  border: 1px solid #d9ecee;
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  border-color: #bde4e7;
  box-shadow: 0 12px 22px rgba(6, 70, 74, 0.1);
}

.info-box h3 {
  color: #1d5f67;
  margin-bottom: 0.4rem;
}

.info-box p {
  color: #5d7178;
  font-size: 0.94rem;
}

.floating-form-wrap {
  background-color: #ffffff;
  border: 1px solid #d7eff0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.floating-form-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(7, 73, 77, 0.14) !important;
}

.treatments-section {
  background:
    linear-gradient(rgba(8, 63, 67, 0.84), rgba(8, 63, 67, 0.8)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
}

.pill-card {
  background: linear-gradient(90deg, rgba(24, 174, 182, 0.92), rgba(27, 195, 161, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pill-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1100;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: pulseWhatsapp 2.4s ease-in-out infinite;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float:hover {
  background-color: #1fb75a;
  color: #ffffff;
  transform: translateY(-4px);
}

.btn-success {
  background-color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}

.btn-success:hover {
  background-color: #23b560;
  border-color: #23b560;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(7, 75, 80, 0.16) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-section h1,
.hero-section .lead,
.hero-section .hero-badge,
.hero-section .cta-form,
.hero-section .hero-portrait {
  animation: fadeUpIn 0.8s ease both;
}

.hero-section .lead {
  animation-delay: 0.12s;
}

.hero-section .cta-form,
.hero-section .hero-portrait {
  animation-delay: 0.22s;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@keyframes floatPortrait {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseWhatsapp {
  0%,
  100% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.16), 0 12px 24px rgba(0, 0, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-portrait,
  .whatsapp-float {
    animation: none !important;
  }
}

@media (max-width: 991.98px) {
  .hero-portrait {
    max-width: 380px;
  }

  .wave-divider {
    height: 70px;
  }

  .depo-card {
    min-width: calc(50% - 0.5rem);
    flex-basis: calc(50% - 0.5rem);
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 0.62rem 0.86rem;
    font-size: 0.9rem;
  }

  .testimonials-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-control-btn {
    display: none;
  }

  .depo-card {
    min-width: 92%;
    flex-basis: 92%;
  }
}
