/* ============================================
   LANDING PAGE — Estilos adicionais
   (Complementa o main.min.css do tema WP)
   ============================================ */

/* ── TOP BAR CTA ── */
.topbar-cta {
  background: var(--secondary);
  padding: 10px 0;
  position: relative;
  z-index: 100;
}

.topbar-cta .container {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
}

.topbar-cta__btn {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.topbar-cta__btn:hover {
  opacity: 0.85;
}

.topbar-cta__close {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  line-height: 1;
  padding: 0 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.topbar-cta__close:hover {
  opacity: 1;
}

/* ── HEADER — Botão agendar ── */
.btn--header {
  border-radius: 999px;
  padding: 0.625rem 1.5rem !important;
  font-size: 0.8125rem !important;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Ajuste de padding no header por causa da topbar ── */
header#header {
  top: 0;
}

body {
  padding-top: 0;
}

/* ── Social icons — cor visível no header escuro ── */
header#header .social a svg {
  color: var(--white, #fff);
}

header#header .social a:hover svg {
  color: var(--secondary);
}

/* ── BANNER LANDING ── */
#banner-landing {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  padding: 14rem 0 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

#banner-landing .container {
  position: relative;
  z-index: 2;
}

#banner-landing .texts {
  max-width: 28rem;
  width: 100%;
}

#banner-landing .texts h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 110%;
}

#banner-landing .texts h1 strong {
  font-weight: 800;
  color: var(--secondary);
}

#banner-landing .texts p {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  max-width: 22rem;
  width: 100%;
  opacity: 0.85;
  line-height: 160%;
}

#banner-landing .bg-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#banner-landing .bgLeft {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 52.5%;
  object-position: right center;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: hard-light;
  height: 100%;
  object-fit: cover;
}

#banner-landing .bgRight {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 47.5%;
  object-position: left center;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: hard-light;
  height: 100%;
  object-fit: cover;
}

/* ── TRATAMENTOS GRID ESTÁTICO ── */
#treatments .treatmentsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 3.5rem;
}

/* ── DEPOIMENTOS ── */
#depoimentos {
  padding: 5.5rem 0;
  background-color: var(--tertiary);
}

#depoimentos .mediumTitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.depoimento-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.depoimento-card .stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.depoimento-card p {
  font-size: 0.9375rem;
  line-height: 170%;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.depoimento-author {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
}

.depoimento-author .avatar {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.depoimento-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
}

.depoimento-author span {
  font-size: 0.75rem;
  color: var(--quaternary);
}

/* ── CTA FINAL ── */
#cta-final {
  background: var(--secondary);
  padding: 5.5rem 0;
  text-align: center;
}

#cta-final .mediumTitle {
  margin-bottom: 1rem;
}

#cta-final p {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 160%;
}

#cta-final .btn {
  margin: 0 auto;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1rem;
  padding: 1.125rem 2.5rem;
  border-radius: 0.625rem;
}

#cta-final .btn:hover {
  background: var(--quaternary);
  color: var(--white);
}

#cta-final .cta-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--primary);
  opacity: 0.6;
}

/* ── FLOATING WHATSAPP — PULSE ── */
.float-pulse {
  position: relative;
}

.float-pulse a {
  animation: whats-pulse 2.5s infinite;
}

.float-pulse a:hover {
  animation: none;
}

@keyframes whats-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(37, 211, 102, 0.6));
  }
}

/* ── TOOLTIP WHATSAPP ── */
.tooltip-whats {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.icon-whats:hover .tooltip-whats {
  opacity: 1;
}

/* ── TECNOLOGIA ── */
#tecnologia {
  padding: 5.5rem 0;
  background: var(--primary);
}

#tecnologia .mediumTitle {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1rem;
}

.tecnologia-subtitle {
  text-align: center;
  color: var(--white);
  opacity: 0.8;
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-size: 0.9375rem;
  line-height: 160%;
}

.tecnologia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tecnologia-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.tecnologia-card:hover {
  transform: translateY(-4px);
}

.tecnologia-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.tecnologia-card h3 {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.25rem 1.5rem 0.5rem;
}

.tecnologia-card p {
  color: var(--white);
  opacity: 0.8;
  font-size: 0.875rem;
  line-height: 160%;
  padding: 0 1.5rem 1.5rem;
}

/* ── ESTRUTURA ── */
#estrutura {
  padding: 5.5rem 0;
  background: var(--gray, #F4F5F6);
}

#estrutura .mediumTitle {
  text-align: center;
  margin-bottom: 2.5rem;
}

.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.estrutura-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s;
}

.estrutura-img:hover {
  transform: scale(1.03);
}

/* ── ESPECIALIDADES ── */
#especialidades {
  padding: 5.5rem 0;
  background: var(--white);
}

#especialidades .mediumTitle {
  text-align: center;
  margin-bottom: 3rem;
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.especialidade-item {
  padding: 1.5rem;
  border: 1px solid rgba(43, 58, 71, 0.1);
  border-radius: 0.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.especialidade-item:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.especialidade-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.especialidade-item p {
  font-size: 0.8125rem;
  line-height: 160%;
  color: var(--primary);
  opacity: 0.7;
}

/* ── BANNER CTA GROUP ── */
.banner-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-cta-group .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-cta-group .btn svg {
  flex-shrink: 0;
}

.btn--call {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease !important;
}

.btn--call:hover {
  background: var(--white) !important;
  color: var(--primary) !important;
  border-color: var(--white) !important;
}

/* ── FLOATING BUTTONS CONTAINER ── */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Override position:fixed da main.min.css para funcionar dentro do container */
.floating-buttons .icon-whats {
  position: relative;
  bottom: auto;
  right: auto;
  width: 56px;
}

.floating-buttons .icon-whats a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--secondary);
  text-decoration: none;
  color: var(--secondary);
}

/* ── FLOATING CALL BUTTON ── */
.icon-call {
  position: relative;
}

.icon-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  border: 2px solid var(--secondary);
}

.icon-call a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.icon-call a svg path {
  fill: var(--secondary);
}

/* ── FLOATING CALL PULSE ── */
.float-pulse-call a {
  animation: call-pulse 2.5s infinite;
}

.float-pulse-call a:hover {
  animation: none;
}

@keyframes call-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(226, 255, 88, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(226, 255, 88, 0.5));
  }
}

/* ── TOOLTIP CALL ── */
.tooltip-call {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.icon-call:hover .tooltip-call {
  opacity: 1;
}

/* ── TRUST BAR ── */
#trust-bar {
  background: var(--secondary);
  padding: 1.75rem 0;
}

.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0 1rem;
}

.trust-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0.7;
  line-height: 1.3;
}

.trust-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ── COMO FUNCIONA ── */
#como-funciona {
  padding: 5.5rem 0;
  background: var(--gray, #F4F5F6);
  text-align: center;
}

#como-funciona .mediumTitle {
  margin-bottom: 0.75rem;
}

.como-funciona-subtitle {
  font-size: 0.9375rem;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 3rem;
}

.como-funciona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.como-funciona-step {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.como-funciona-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.como-funciona-step p {
  font-size: 0.875rem;
  line-height: 160%;
  color: var(--primary);
  opacity: 0.7;
}

/* ── FAQ ── */
#faq {
  padding: 5.5rem 0;
  background: var(--white);
}

#faq .mediumTitle {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(43, 58, 71, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--secondary);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
  background: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 170%;
  color: var(--primary);
  opacity: 0.75;
}

/* ── RESPONSIVO ── */
@media (max-width: 1280px) {
  #banner-landing {
    padding: 12rem 0 5rem;
  }
}

@media (max-width: 980px) {
  .trust-bar-grid {
    justify-content: center;
    gap: 1.5rem;
  }

  .como-funciona-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  #banner-landing .texts h1 {
    font-size: 1.75rem;
  }

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

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

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

@media (max-width: 768px) {
  .topbar-cta {
    display: none;
  }

  .btn--header {
    display: none;
  }

  #banner-landing {
    padding: 8rem 0 3rem;
    min-height: auto;
  }

  #banner-landing .bg-banner {
    opacity: 0.35;
  }

  #banner-landing .bgLeft,
  #banner-landing .bgRight {
    display: none;
  }

  #banner-landing .texts h1 {
    font-size: 1.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  #banner-landing .texts p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  #treatments .treatmentsGrid {
    grid-template-columns: 1fr;
  }

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

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

  .banner-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 12px;
  }

  .icon-call a {
    width: 50px;
    height: 50px;
  }
}

