:root {
  --primary: #ffd48b;
  --primary-strong: #c89b3c;
  --bg-soft: #f5e7d3;
  --bg-card: rgba(255, 248, 239, 0.90);
  --text-dark: #4c3424;
  --text-soft: #6a5240;
  --white-soft: #fffaf3;
  --shadow: rgba(72, 45, 21, 0.18);
  --border: rgba(145, 92, 38, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-soft);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url("../img/background.png") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 36px 20px 60px;
}

.hero-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LOGO MAIOR */
.logo {
  width: 400px;
  max-width: 100%;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

/* NOME SOBREPOSTO */
.nome_clinica {
  position: relative;
  margin-top: -70px; /* sobe o nome em cima do logo */
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  z-index: 2;
  letter-spacing: 0.8px;

  /* destaque visual */
  background: rgba(255, 250, 243, 0.85);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(91, 62, 27, 0.12);
}

.overlay {
  width: 100%;
  max-width: 760px;
  text-align: center;
  background: rgba(255, 250, 243, 0.84);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: 0 18px 40px var(--shadow);
  padding: 42px 28px;
}

.overlay h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.overlay h1 span {
  color: #ab6c28;
}

.overlay p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-soft);
  max-width: 700px;
  margin: 0 auto 26px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* MENU */
.menu {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: rgba(255, 244, 228, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(145, 92, 38, 0.12);
}

.menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
  background: rgba(200, 155, 60, 0.18);
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(60, 35, 15, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #2e1d12;
}

.btn-secondary {
  background: rgba(255, 248, 239, 0.9);
  color: var(--text-dark);
  border: 1px solid rgba(145, 92, 38, 0.16);
}

/* SEÇÕES */
.secao {
  padding: 70px 0;
}

.destaque {
  background: linear-gradient(to bottom, #f7ecdc, #f4e1c8);
}

.secao h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}

.secao .subtexto,
.secao p {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 22px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* CARDS */
.cards-section {
  background: #fff7ea;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.card-link {
  text-decoration: none;
}

.card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 12px 26px rgba(91, 62, 27, 0.10);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p {
  text-align: left;
  margin: 0;
}

/* CARROSSEL */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 16px 35px rgba(50, 30, 12, 0.18);
  border: 1px solid rgba(145, 92, 38, 0.14);
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 248, 239, 0.95);
  color: var(--text-dark);
  font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(50, 30, 12, 0.12);
  flex-shrink: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(145, 92, 38, 0.25);
  cursor: pointer;
}

.dot.active {
  background: #ab6c28;
}

/* PÁGINAS INTERNAS */
.pagina-interna {
  background: url("../img/background.png") center top / cover no-repeat fixed;
}

.pagina-conteudo {
  padding: 50px 0 80px;
}

.page-box {
  max-width: 950px;
  margin: 0 auto;
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 28px;
  box-shadow: 0 18px 38px var(--shadow);
}

.page-box h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  text-align: center;
}

.page-box h2 {
  margin-top: 28px;
  margin-bottom: 14px;
  text-align: center;
}

.page-box p {
  color: var(--text-soft);
  margin-bottom: 16px;
  text-align: center;
}

.profissionais-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.prof-card,
.pagamento-box {
  background: rgba(255, 248, 239, 0.95);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(91, 62, 27, 0.08);
}

.prof-card h3,
.pagamento-box h2 {
  margin-bottom: 8px;
  text-align: center;
}

.pagamento-box ul {
  list-style-position: inside;
  color: var(--text-soft);
  text-align: center;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .profissionais-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    gap: 8px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 28px 14px 40px;
  }

  .logo {
    width: 94px;
  }

  .overlay {
    padding: 32px 18px;
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }

  .menu {
    gap: 8px;
    padding: 12px;
  }

  .menu a {
    font-size: 0.92rem;
    padding: 8px 12px;
  }

  .secao {
    padding: 56px 0;
  }

  .page-box {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .carousel-btn {
    display: none;
  }

  .slide img {
    max-width: 100%;
    border-radius: 18px;
  }
}
@media (max-width: 640px) {
  .logo {
    width: 130px;
  }

  .nome_clinica {
    font-size: 1.2rem;
    margin-top: -14px;
    padding: 4px 10px;
  }
}
.pix-box {
  max-width: 700px;
  margin: 30px auto 0;
  background: rgba(255, 248, 239, 0.95);
  border: 1px solid rgba(145, 92, 38, 0.14);
  border-radius: 24px;
  padding: 30px 22px;
  box-shadow: 0 12px 28px rgba(91, 62, 27, 0.10);
  text-align: center;
}

.pix-box h2 {
  margin-bottom: 14px;
}

.pix-valor {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ab6c28;
  margin-bottom: 24px;
}

.pix-qrcode {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.pix-qrcode img {
  width: 100%;
  max-width: 260px;
  border-radius: 18px;
  border: 1px solid rgba(145, 92, 38, 0.12);
  box-shadow: 0 10px 24px rgba(91, 62, 27, 0.10);
  background: #fff;
  padding: 10px;
}

.pix-info p {
  margin-bottom: 12px;
  color: var(--text-soft);
}

.pix-chave-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 20px;
  padding: 16px 18px;
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(145, 92, 38, 0.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

#pix-chave {
  font-weight: 700;
  color: var(--text-dark);
  word-break: break-word;
  font-size: 1rem;
}
.btn-copy {
  border: none;
  background: #ab6c28;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-copy:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pix-aviso {
  margin-top: 24px;
}

.pix-aviso p {
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .pix-box {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .pix-chave-box {
    flex-direction: column;
  }

  .btn-copy {
    width: 100%;
    max-width: 220px;
  }
}
.prof-card {
  background: rgba(255, 248, 239, 0.95);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(91, 62, 27, 0.08);
  text-align: center;
}

.prof-foto1 {
  width: 115px;
  height: 150px;
  object-fit:initial;
  border-radius: 30%;
  margin: 0 auto 16px;
  border: 4px solid rgba(200, 155, 60, 0.25);
  box-shadow: 0 10px 20px rgba(91, 62, 27, 0.12);
}
.prof-foto2 {
  width: 110px;
  height: 150px;
  object-fit:inherit;
  border-radius: 30%;
  margin: 0 auto 16px;
  border: 4px solid rgba(200, 155, 60, 0.25);
  box-shadow: 0 10px 20px rgba(91, 62, 27, 0.12);
}

.prof-card h3 {
  margin-bottom: 8px;
}

.prof-card p {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-weight: 600;
}

.prof-contato {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.btn-mini:hover {
  transform: translateY(-2px);
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.telegram-btn {
  background: #0088cc;
  color: white;
}
.pix-feedback {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #4c3424;
  color: #fffaf3;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 9999;
}

.pix-feedback.mostrar {
  opacity: 1;
  transform: translateY(0);
}