/* ===== Home — Tema clínica (delicado e acolhedor) ===== */
.page-home.tema-clinica {
  overflow-x: hidden;
  background: transparent;
}

.page-home.tema-clinica .site-header-spacer {
  display: none;
}

.page-home.tema-clinica main {
  margin-top: 0;
}

/* Efeitos de scroll */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.section-reveal.section-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp e Chat flutuantes – alinhados verticalmente */
.site-float-actions {
  position: relative;
  z-index: 2600;
}
.btn-whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  z-index: 4100;
}
.btn-whatsapp-float.has-chat {
  bottom: 6.25rem;
}
.btn-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp-float svg { flex-shrink: 0; }
.chat-widget-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat-widget-slot > iframe,
.chat-widget-slot > div {
  margin-top: 0;
}
@media (max-width: 768px) {
  .btn-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }
  .btn-whatsapp-float.has-chat {
    bottom: 5.75rem;
  }
}

/* Toast */
.site-toast { border-radius: 12px; font-size: 0.9375rem; }
.site-toast-success {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
}
.site-toast-error {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #fff;
}
.site-toast-icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; flex-shrink: 0;
}
.site-toast-icon.success { background: rgba(255,255,255,0.25); }
.site-toast-icon.error { background: rgba(255,255,255,0.25); }

/* ----- Hero ----- */
.hero-section { margin-top: 0; }
.hero-slide {
  height: 82vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}
.hero-placeholder {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--tema-primary) 0%, var(--tema-secondary) 42%, color-mix(in srgb, var(--tema-terciaria) 18%, #ffffff) 100%);
  position: relative;
}
/* ----- Banners dinâmicos (hero = altura da imagem; logos = carrossel contínuo) ----- */
.banner-section { margin-top: 0; }
.banner-section-hero .carousel-item { overflow: hidden; }
.banner-hero-link { display: block; line-height: 0; }
.banner-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 90vh;
}
.banner-section-hero.banner-parallax .carousel-item {
  overflow: hidden;
}
.banner-section-hero.banner-parallax .banner-hero-parallax-media {
  width: 100%;
  height: clamp(360px, 70vh, 860px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.banner-section-hero.banner-parallax .banner-hero-img {
  height: clamp(320px, 62vh, 760px);
  max-height: none;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.22);
  transform-origin: center center;
  will-change: transform;
}
@media (max-width: 991px) {
  .banner-section-hero.banner-parallax .banner-hero-parallax-media {
    background-attachment: scroll;
    height: clamp(280px, 52vh, 540px);
  }
}
.banner-section-logos {
  overflow: hidden;
  padding: 1.5rem 0;
  background: transparent;
}
.banner-logos-wrap {
  width: 100%;
  overflow: hidden;
}
.banner-logos-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: banner-logos-scroll 50s linear infinite;
  width: max-content;
}
.banner-logos-track:hover { animation-play-state: paused; }
.banner-logos-item {
  flex-shrink: 0;
  display: block;
  padding: 0;
  background: transparent;
  transition: opacity 0.2s;
}
.banner-logos-item:hover { opacity: 0.85; }
.banner-logos-item img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
@keyframes banner-logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' fill-opacity='0.04' d='M0 0h24v24H0V0zm24 24h24v24H24V24z'/%3E%3C/svg%3E");
}
.hero-placeholder-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2.5rem 1.5rem;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.15);
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.btn-hero-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--tema-terciaria);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* ----- Índices ----- */
.indices-section {
  padding: 5rem 0;
  background: #fff;
}
.indices-section .container { max-width: 960px; }
.indices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .indices-grid { grid-template-columns: repeat(2, 1fr); }
}
.indice-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: radial-gradient(circle at top left, rgba(226, 243, 236, 0.9), #f9fafb);
  border-radius: 16px;
  border: 1px solid #eef1f5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.indice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tema-primary), var(--tema-secondary));
  opacity: 0.9;
}
.indice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #e2e8f0;
}
.indice-numero {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--tema-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.indice-titulo {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
}

/* ----- Seções (comum) ----- */
.section {
  padding: 3rem 0;
}
.section-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.875rem;
  color: #0f172a;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-head::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--tema-primary), var(--tema-secondary));
  border-radius: 2px;
  margin: 0.875rem auto 0;
}
.section-head.light { color: #fff; }
.section-head.light::after { background: rgba(255,255,255,0.6); }
.section-empty {
  text-align: center;
  color: #64748b;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ----- Botões ----- */
.btn-theme {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--tema-secondary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-theme:hover {
  background: var(--tema-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-theme.outline, .btn-theme-sm.outline {
  background: transparent;
  color: var(--tema-secondary);
  border: 2px solid var(--tema-secondary);
}
.btn-theme.outline:hover, .btn-theme-sm.outline:hover {
  background: var(--tema-secondary);
  color: #fff;
}
.btn-theme-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--tema-secondary);
  color: var(--tema-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-theme-outline:hover {
  background: var(--tema-secondary);
  color: #fff;
}
.btn-theme-sm {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--tema-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-theme-sm:hover {
  color: #fff;
  background: var(--tema-primary);
  transform: translateY(-1px);
}
.btn-theme.light {
  background: #fff;
  color: var(--tema-primary);
}
.btn-theme.light:hover {
  background: #f8fafc;
  color: var(--tema-primary);
}

/* ----- Sobre ----- */
.sobre-section { background: #fff; }
.sobre-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.sobre-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}
.sobre-content p { margin-bottom: 1rem; }

/* ----- Produtos / Serviços / Blog — cards ----- */
.produtos-section {
  background: #f8fafc;
}
.servicos-section { background: #fff; }
.blog-section { background: #f8fafc; }

.page-home .container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.cards-grid-produtos.cards-count-1,
.cards-grid-servicos.cards-count-1 { grid-template-columns: 1fr; }
.cards-grid-produtos.cards-count-2,
.cards-grid-servicos.cards-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid-produtos.cards-count-3,
.cards-grid-servicos.cards-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid-produtos.cards-count-4,
.cards-grid-servicos.cards-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .cards-grid-produtos.cards-count-1,
  .cards-grid-servicos.cards-count-1 { grid-template-columns: 1fr; }
  .cards-grid-produtos,
  .cards-grid-servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .cards-grid,
  .cards-grid-produtos,
  .cards-grid-servicos { grid-template-columns: 1fr !important; }
}

.cards-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cards-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  padding: 0.25rem 0.1rem 0.5rem;
}
.cards-carousel-track::-webkit-scrollbar { height: 8px; }
.cards-carousel-track::-webkit-scrollbar-thumb { background: rgba(15, 118, 110, 0.28); border-radius: 999px; }
.cards-carousel-item {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 280px;
  scroll-snap-align: start;
}
.cards-carousel-arrow {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  line-height: 1;
  font-size: 1.5rem;
}
@media (max-width: 991px) {
  .cards-carousel-item { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 768px) {
  .cards-carousel {
    gap: 0.5rem;
  }
  .cards-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
  .cards-carousel-item {
    flex-basis: 100%;
    min-width: 100%;
  }
}
.card-theme {
  background: #fff;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #eef1f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card-theme:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: #e2e8f0;
}

.card-theme-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.card-theme-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-theme-img-placeholder {
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2.5rem;
}
.card-theme.card-clickable:hover .card-theme-img::after { opacity: 1; }

.card-theme-body {
  padding: 1.5rem 1.5rem;
}
.card-theme.card-clickable { cursor: pointer; }
.card-theme.card-clickable .card-theme-img {
  transition: transform 0.45s ease;
}
.card-theme.card-clickable:hover .card-theme-img {
  transform: scale(1.04);
}

.card-theme-body::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--tema-secondary);
  border-radius: 2px;
  margin-bottom: 0.875rem;
}
.card-theme-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.card-theme-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.card-blog .card-theme-img-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.card-blog .card-theme-img { height: 192px; }
.card-blog .card-theme-body::before { width: 28px; }
.card-blog-title-link {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}
.card-blog-title-link:hover { color: var(--tema-secondary); }

/* ----- Modal Produto/Serviço ----- */
.modal-ps-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 24px 56px rgba(0,0,0,0.16);
}
.modal-ps-header {
  background: linear-gradient(135deg, var(--tema-primary) 0%, var(--tema-secondary) 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border: none;
}
.modal-ps-header .modal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.modal-ps-body { padding: 0; display: flex; flex-wrap: wrap; }
.modal-ps-gallery {
  width: 100%;
  max-width: 400px;
  background: #f8fafc;
}
.modal-ps-gallery .carousel-inner { border-radius: 0; }
.modal-ps-gallery .carousel-item {
  height: 260px;
  background-size: cover;
  background-position: center;
}
.modal-ps-gallery.single-image .carousel-control-prev,
.modal-ps-gallery.single-image .carousel-control-next { display: none; }
.modal-ps-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.modal-ps-thumbs .thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
}
.modal-ps-thumbs .thumb:hover { opacity: 1; }
.modal-ps-thumbs .thumb.active { border-color: var(--tema-primary); opacity: 1; }
.modal-ps-info {
  flex: 1;
  min-width: 260px;
  padding: 1.5rem 1.5rem;
}
.modal-ps-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.modal-ps-meta {
  font-size: 0.875rem;
  color: #64748b;
}
.modal-ps-meta .meta-item { margin-bottom: 0.35rem; }
.modal-ps-meta strong { color: #0f172a; }
@media (min-width: 992px) {
  .modal-ps-body { flex-wrap: nowrap; }
}

/* ----- Planos (faixa premium: fundo primário, título secundária, cards claros) ----- */
.planos-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.75rem 0 5.25rem;
  background: linear-gradient(152deg,
    var(--tema-primary) 0%,
    color-mix(in srgb, var(--tema-primary) 55%, var(--tema-secondary)) 52%,
    var(--tema-secondary) 100%
  );
}
.planos-section::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(ellipse 900px 480px at 10% 18%, color-mix(in srgb, var(--tema-terciaria) 42%, transparent), transparent 58%),
    radial-gradient(ellipse 760px 440px at 92% 88%, rgba(255, 255, 255, 0.14), transparent 52%),
    radial-gradient(ellipse 520px 380px at 50% 50%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.planos-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23ffffff'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.planos-section .container {
  position: relative;
  z-index: 1;
}
.planos-section .section-head {
  color: var(--tema-secondary);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  margin-bottom: 2.75rem;
}
.planos-section .section-head::after {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--tema-secondary) 85%, #fff),
    var(--tema-terciaria),
    rgba(255, 255, 255, 0.75)
  );
  opacity: 1;
  margin-top: 1rem;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--tema-secondary) 35%, transparent);
}
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
}
.plano-card {
  position: relative;
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.plano-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(15, 23, 42, 0.18),
    0 0 0 1px color-mix(in srgb, var(--tema-terciaria) 40%, transparent) inset;
  border-color: color-mix(in srgb, var(--tema-secondary) 22%, #fff);
}
.plano-nome {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.plano-valor {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tema-secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.plano-itens {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
}
.plano-itens li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.plano-itens li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tema-secondary);
  font-weight: 700;
}
.planos-section .section-cta {
  margin-top: 3rem;
}
.planos-section .section-cta .btn-theme {
  background: #fff;
  color: var(--tema-primary);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.planos-section .section-cta .btn-theme:hover {
  background: color-mix(in srgb, #fff 88%, var(--tema-terciaria));
  color: color-mix(in srgb, var(--tema-primary) 88%, #000);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

/* ----- Contato ----- */
.contato-section {
  padding: 4rem 0;
}
.contato-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
}
.contato-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}
.contato-form .form-group-theme { margin-bottom: 0; }
.contato-section .contato-form label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.35rem;
}
.contato-section .form-theme {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contato-section .form-theme::placeholder { color: #94a3b8; }
.contato-section .form-theme:focus {
  outline: none;
  border-color: var(--tema-terciaria);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tema-terciaria) 18%, transparent);
}
.contato-form .form-group-theme:last-of-type,
.contato-form .form-group-theme:nth-last-child(2) {
  grid-column: 1 / -1;
}
.contato-form #btn-enviar-contato {
  grid-column: 1 / -1;
  background: var(--tema-terciaria);
  border-color: var(--tema-terciaria);
}
@media (max-width: 767.98px) {
  .contato-form {
    grid-template-columns: 1fr;
  }
}

/* ----- Depoimentos ----- */
.depoimentos-section {
  padding: 4rem 0;
  background: transparent;
}
.depoimentos-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.depoimentos-track-wrapper {
  overflow: hidden;
  flex: 1;
}
.depoimentos-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  transition: transform 0.4s ease;
}
.depoimentos-arrow {
  border: none;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
  color: #0f172a;
  cursor: pointer;
}
.depoimentos-arrow:hover {
  background: color-mix(in srgb, var(--tema-primary) 12%, #fff);
}
.depoimento-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.depoimento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.depoimento-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.depoimento-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--tema-primary), var(--tema-secondary));
}
.depoimento-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.depoimento-foto-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 2rem;
  font-weight: 700;
  font-family: Georgia, serif;
}
.depoimento-texto {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 1.25rem;
  flex: 1;
  font-style: italic;
}
.depoimento-texto::before {
  content: '"';
  color: var(--tema-primary);
  opacity: 0.6;
}
.depoimento-autor {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.depoimento-nome {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
}
.depoimento-cargo {
  font-size: 0.875rem;
  color: #64748b;
}

/* responsivo: 3 / 2 / 1 cards visíveis */
.depoimentos-carousel[data-visible="3"] { --visible: 3; }
@media (max-width: 991.98px) {
  .depoimentos-carousel[data-visible="3"] { --visible: 2; }
}
@media (max-width: 639.98px) {
  .depoimentos-carousel[data-visible="3"] { --visible: 1; }
}
.depoimento-card {
  min-width: calc((100% - (var(--visible, 3) - 1) * 1.5rem) / var(--visible, 3));
}

/* Footer: estilos em assets/css/main.css */

/* =========================================================
   Tema Clínica — Home overrides “caprichado”
   ========================================================= */

/* Seções com sensação de “almofadado” */
.page-home.tema-clinica .section {
  padding: 5.25rem 0;
}
.page-home.tema-clinica .section-head {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-home.tema-clinica .section-head::after {
  height: 4px;
  width: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--tema-primary) 85%, #fff),
    var(--tema-terciaria),
    color-mix(in srgb, var(--tema-secondary) 80%, #fff)
  );
  opacity: 0.9;
}

/* Hero: mais suave, com “halo” e cartão de CTA */
.page-home.tema-clinica .hero-placeholder {
  background: transparent;
  min-height: 78vh;
}
.page-home.tema-clinica .hero-placeholder::before {
  background:
    radial-gradient(700px 520px at 18% 28%, rgba(123, 163, 154, 0.28), transparent 62%),
    radial-gradient(820px 620px at 82% 22%, rgba(91, 138, 114, 0.22), transparent 64%),
    radial-gradient(620px 520px at 70% 78%, rgba(232, 221, 255, 0.18), transparent 62%),
    url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230f172a' fill-opacity='0.035' d='M21 0c11.6 0 21 9.4 21 21S32.6 42 21 42 0 32.6 0 21 9.4 0 21 0z'/%3E%3C/svg%3E");
  opacity: 1;
}
.page-home.tema-clinica .hero-placeholder-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  text-align: left;
  color: #0f172a;
}
.page-home.tema-clinica .hero-title {
  text-shadow: none;
  color: #0f172a;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.08;
}
.page-home.tema-clinica .hero-subtitle {
  color: rgba(15, 23, 42, 0.70);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 1.65rem;
}
.page-home.tema-clinica .btn-hero-cta {
  border-radius: 999px;
  padding: 0.95rem 2.1rem;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--tema-primary) 92%, #fff),
    color-mix(in srgb, var(--tema-secondary) 88%, #fff)
  );
  color: #fff;
  box-shadow: 0 18px 46px rgba(91, 138, 114, 0.24);
}
.page-home.tema-clinica .btn-hero-cta:hover {
  color: #fff;
  box-shadow: 0 24px 62px rgba(91, 138, 114, 0.28);
}

/* Cards: mais arredondados e “macios” */
.page-home.tema-clinica .card-theme,
.page-home.tema-clinica .plano-card,
.page-home.tema-clinica .depoimento-card,
.page-home.tema-clinica .indice-card {
  border-radius: 22px;
}
.page-home.tema-clinica .card-theme {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.page-home.tema-clinica .card-theme:hover {
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.10);
}
.page-home.tema-clinica .card-theme-title {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}
.page-home.tema-clinica .btn-theme,
.page-home.tema-clinica .btn-theme-outline,
.page-home.tema-clinica .btn-theme-sm {
  border-radius: 999px;
}
.page-home.tema-clinica .btn-theme,
.page-home.tema-clinica .btn-theme-outline,
.page-home.tema-clinica .btn-theme-sm,
.page-home.tema-clinica .btn-theme.outline,
.page-home.tema-clinica .btn-theme-sm.outline,
.page-home.tema-clinica .btn-hero-cta {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--tema-primary) !important;
  border: 2px solid var(--tema-primary) !important;
  color: #fff !important;
}
.page-home.tema-clinica .btn-theme:hover,
.page-home.tema-clinica .btn-theme-outline:hover,
.page-home.tema-clinica .btn-theme-sm:hover,
.page-home.tema-clinica .btn-theme.outline:hover,
.page-home.tema-clinica .btn-theme-sm.outline:hover,
.page-home.tema-clinica .btn-hero-cta:hover {
  background: var(--tema-secondary) !important;
  border-color: var(--tema-secondary) !important;
  color: #fff !important;
}

/* Índices: mais “clínica” */
.page-home.tema-clinica .indices-section {
  background: transparent;
}
.page-home.tema-clinica .indice-card {
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.page-home.tema-clinica .indice-numero { color: color-mix(in srgb, var(--tema-primary) 92%, #000); }

/* Contato: caixa com vidro e bordas suaves */
.page-home.tema-clinica .contato-wrap {
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.page-home.tema-clinica .form-theme {
  border-radius: 16px;
  border: 2px solid rgba(15, 23, 42, 0.08);
}
.page-home.tema-clinica .form-theme:focus {
  border-color: color-mix(in srgb, var(--tema-primary) 55%, #fff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tema-primary) 18%, transparent);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .section { padding: 2rem 0; }
  .section-head { font-size: 1.5rem; margin-bottom: 1.75rem; }
  .page-home .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-placeholder { min-height: 60vh; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .btn-hero-cta { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
  .indices-section { padding: 3rem 0; }
  .indice-card { padding: 1.5rem 1rem; }
  .indice-numero { font-size: 1.75rem; }
  .card-theme-img { height: 160px; }
  .card-theme-body { padding: 1.25rem; }
  .card-theme-title { font-size: 1rem; }
  .plano-card { padding: 1.5rem 1.25rem; }
  .plano-valor { font-size: 1.5rem; }
  .contato-wrap { padding: 1.5rem; }
  .depoimento-card { padding: 1.5rem; }
  .depoimento-foto { width: 56px; height: 56px; }
  .depoimento-texto { font-size: 0.95rem; }
  .depoimentos-arrow { width: 36px; height: 36px; }
  .modal-ps-gallery .carousel-item { height: 200px; }
  .modal-ps-info { padding: 1.25rem; min-width: auto; }
  .banner-hero-img { max-height: 60vh; }
}
@media (max-width: 768px) {
  .planos-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .section { padding: 1.5rem 0; }
  .hero-placeholder { min-height: 50vh; }
}
