:root {
  --pink: #f0c4d4;
  --pink-light: #f8e8ef;
  --pink-dark: #d69ab0;
  --blue: #b8d8e8;
  --blue-light: #e8f4f8;
  --blue-dark: #8ab8d0;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(214, 154, 176, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 154, 176, 0.45);
}

.btn-full {
  width: 100%;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-weight: 600;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(248, 232, 239, 0.5);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
}

.logo span {
  font-style: italic;
  font-weight: 400;
  color: var(--pink-dark);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--gray-900);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hero-video.fade-out {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 232, 239, 0.85) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(232, 244, 248, 0.85) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-content h1 span {
  font-style: italic;
  font-weight: 400;
  color: var(--pink-dark);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.servicos {
  padding: 100px 0;
  background: var(--white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.servico-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(184, 216, 232, 0.2);
  border-color: var(--pink-light);
}

.servico-card:hover::before {
  opacity: 1;
}

.servico-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--pink-dark);
  transition: all 0.4s ease;
  position: relative;
}

.servico-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.servico-card:hover .servico-icon {
  background: linear-gradient(135deg, var(--pink-dark), var(--blue-dark));
  color: var(--white);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 154, 176, 0.35);
}

.servico-card:hover .servico-icon::after {
  opacity: 1;
}

.servico-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.servico-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sobre {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 100%);
}

.sobre-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-content h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.3;
}

.sobre-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--pink-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 6px;
  display: block;
}

.sobre-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-shape {
  width: 350px;
  height: 350px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
  box-shadow: 0 20px 60px rgba(184, 216, 232, 0.3);
  position: relative;
}

.sobre-shape::before {
  content: '🏥';
  font-size: 5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.depoimentos {
  padding: 100px 0;
  background: var(--white);
}

.depoimentos-carrossel {
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
  min-height: 260px;
}

.depoimento-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--gray-50);
  border-radius: 24px;
  border: 1px solid var(--gray-100);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(10px);
  pointer-events: none;
}

.depoimento-card.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.depoimento-stars {
  color: #f4b942;
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.depoimento-card p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.depoimento-author strong {
  display: block;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1rem;
}

.depoimento-author span {
  color: var(--gray-400);
  font-size: 0.85rem;
}

.carrossel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.carrossel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray-600);
}

.carrossel-btn:hover {
  background: var(--pink-light);
  border-color: var(--pink);
  color: var(--pink-dark);
}

.carrossel-btn svg {
  width: 20px;
  height: 20px;
}

.carrossel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: var(--pink);
  width: 28px;
  border-radius: 100px;
}

.contato {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--white) 100%);
}

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

.contato-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--gray-800);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(240, 196, 212, 0.2);
}

.form-group textarea {
  resize: vertical;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  color: var(--pink-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.info-item p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 64px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer .logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--pink);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray-400);
}

.social-icons a:hover {
  background: var(--pink-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-400);
}

.modal-icon svg {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: 60vh;
  }

  .hero-container,
  .sobre-container,
  .contato-container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .sobre-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .social-icons {
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .contato-form {
    padding: 24px;
  }
}
