/* Ajustes da Odonto com Você sobre o layout de referência */

.logo__imagem {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.secao-decor__logo {
  width: 34px;
  height: 34px;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.hero__micro {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--cor-texto);
  max-width: 320px;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero__bg-img {
  min-height: 100%;
}

.porque__intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cor-texto);
}

.abordagem {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.abordagem__numero {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cor-primaria);
}

.abordagem__card .card__texto {
  margin-bottom: 0;
}

#como-funciona .secao__cabecalho {
  max-width: 860px;
}

.local {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sombra-card);
  overflow: hidden;
}

.local__endereco {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: var(--cor-primaria);
  color: #fff;
  padding: 1.75rem 1.8rem;
}

.local__endereco h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.local__endereco p {
  color: #e7f6f4;
  font-size: 0.95rem;
  line-height: 1.45;
}

.local__endereco a {
  color: #fff;
  font-weight: 700;
  margin-top: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.local__info {
  padding: 1.75rem 1.8rem 1.6rem;
}

.local__info h3 {
  font-size: 1.2rem;
  color: var(--cor-texto-escuro);
  margin-bottom: 0.75rem;
}

.local__info ul {
  margin: 0 0 1.15rem;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--cor-texto);
}

.local__info .btn {
  width: auto;
}

.especialidades__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  cursor: pointer;
}

.card__icone {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
}

.card--destaque {
  box-shadow: 0 8px 28px rgba(8, 153, 144, 0.16);
  outline: 2px solid var(--cor-primaria);
}

.porque-card {
  padding-bottom: 2rem;
}

.formulario-box__aviso {
  min-height: 1.2em;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.formulario-box__aviso--erro {
  color: #ffe1e1;
}

.formulario-box .btn--escuro:disabled {
  opacity: 0.7;
  cursor: wait;
}

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  background: #fff;
  border-radius: var(--raio);
  box-shadow: var(--sombra-card);
  margin-bottom: 0.85rem;
  padding: 0.2rem 1.25rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cor-texto-escuro);
  padding: 1rem 0;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--cor-primaria);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  padding-bottom: 1rem;
  font-size: 0.92rem;
}

.footer {
  background: #063f3c;
}

.footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.whatsapp-flutuante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #128c7e;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.whatsapp-flutuante:hover {
  background: #0e6f64;
  color: #fff;
}

.whatsapp-flutuante .icon,
.footer .icon {
  color: #fff;
}

@media (max-width: 1200px) {
  .especialidades__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .local {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .especialidades__grid,
  .abordagem {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.72) 46%,
      rgba(255, 255, 255, 0.2) 100%
    );
  }

  .hero__bg-img {
    object-position: center bottom;
  }

  .whatsapp-flutuante span {
    display: none;
  }

  .whatsapp-flutuante {
    right: 12px;
    bottom: 12px;
    padding: 0.9rem;
  }
}

/* Aparição ao rolar a página */
@keyframes hero-entrar {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.hero__conteudo {
  animation: hero-entrar 0.85s ease both;
}

.js .revelar {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s ease, translate 0.7s ease;
}

.js .revelar.visivel {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__conteudo {
    animation: none;
  }

  .js .revelar {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
