/* PSC — tipografia justificada + motion */

html, body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── Justify (conteúdo corrido) ──────────────────────────── */
.hero-body-lead,
.hero-body-note,
.sobre-copy p,
.sobre-copy-mission p,
.eq-lead p,
.eq-section-head p,
.blog-lead,
.blog-lead-full,
.blog-card-sub,
.blog-card > p,
.article-body p,
.article-body li,
.article-disclaimer,
.faq-a,
.unidade-card > p,
.area-feature p,
.areas-header .section-sub,
.equipe-header p,
.unidades-header p,
.dep-header p,
.faq-header p,
.article-cta-inline p,
.team-modal-short,
.team-modal-long p,
.footer-brand p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.eq-cta-band,
.blog-cta-band,
.article-cta,
.cta-video-inner {
  text-align: center;
}
.eq-cta-band p,
.blog-cta-band p,
.article-cta p,
.cta-video-inner > p,
.eq-section-head p {
  text-align: center;
  text-justify: auto;
  hyphens: manual;
}

/* No mobile, justify abre espaços feios entre palavras — alinhar à esquerda */
@media (max-width: 640px) {
  .hero-body-lead,
  .hero-body-note,
  .sobre-copy p,
  .sobre-copy-mission p,
  .eq-lead p,
  .eq-section-head p,
  .blog-lead,
  .blog-lead-full,
  .blog-card-sub,
  .blog-card > p,
  .article-body p,
  .article-body li,
  .article-disclaimer,
  .faq-a,
  .unidade-card > p,
  .area-feature p,
  .areas-header .section-sub,
  .equipe-header p,
  .unidades-header p,
  .dep-header p,
  .faq-header p,
  .article-cta-inline p,
  .team-modal-short,
  .team-modal-long p,
  .footer-brand p {
    text-align: left;
    text-justify: auto;
    hyphens: manual;
    word-spacing: normal;
    letter-spacing: normal;
  }
  .hero-body-lead,
  .hero-body-note {
    color: var(--text);
    opacity: .92;
    text-align: center;
  }
  .eq-section-head p {
    text-align: center;
  }
}

/* ── Reveal genérico ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── CTAs ────────────────────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 150%;
}

.anim-cta {
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s;
}
.anim-cta.visible {
  opacity: 1;
  transform: none;
  animation: cta-soft-pulse 2.6s ease-in-out .8s 2;
}

/* Hero: entrada imediata (não espera scroll) */
#hero .anim-cta,
#hero .btn-primary.anim-cta {
  animation: hero-cta-in .75s cubic-bezier(.22, 1, .36, 1) .35s both;
}
#hero .anim-cta.visible {
  animation:
    hero-cta-in .75s cubic-bezier(.22, 1, .36, 1) .35s both,
    cta-soft-pulse 2.6s ease-in-out 1.2s 2;
}

@keyframes hero-cta-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cta-soft-pulse {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(201, 168, 76, .18);
  }
  50% {
    box-shadow: 0 10px 28px rgba(201, 168, 76, .34);
  }
}

.article-cta-inline,
.article-cta,
.blog-cta-band,
.eq-cta-band {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
}
.article-cta-inline.visible,
.article-cta.visible,
.blog-cta-band.visible,
.eq-cta-band.visible {
  opacity: 1;
  transform: none;
}

/* ── Fotos / cards ───────────────────────────────────────── */
.sobre-img,
.socio-photo,
.team-card-photo,
.unidade-photo {
  overflow: hidden;
}
.sobre-img img,
.socio-photo img,
.team-card-photo img,
.unidade-photo img {
  transition: transform .65s cubic-bezier(.22, 1, .36, 1), filter .35s;
}
.sobre-img:hover img,
.socio-card:hover .socio-photo img,
.unidade-card:hover .unidade-photo img {
  transform: scale(1.05);
}
.team-card:hover .team-card-photo img {
  transform: scale(calc(var(--photo-zoom, 1) * 1.05));
}

.socio-card,
.team-card {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1),
    border-color .25s,
    box-shadow .3s;
}
.socio-card.visible,
.team-card.visible {
  opacity: 1;
  transform: none;
}
.socio-card:nth-child(1),
.team-card:nth-child(1) {
  transition-delay: 0ms;
}
.socio-card:nth-child(2),
.team-card:nth-child(2) {
  transition-delay: 70ms;
}
.socio-card:nth-child(3),
.team-card:nth-child(3) {
  transition-delay: 140ms;
}
.socio-card:nth-child(4),
.team-card:nth-child(4) {
  transition-delay: 210ms;
}
.socio-card:nth-child(n + 5),
.team-card:nth-child(n + 5) {
  transition-delay: 280ms;
}

.blog-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.22, 1, .36, 1),
    border-color .25s,
    box-shadow .3s !important;
}
.blog-card.visible {
  opacity: 1;
  transform: none;
}
.blog-card.visible:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .anim-cta,
  .article-cta-inline,
  .article-cta,
  .blog-cta-band,
  .eq-cta-band,
  .blog-card,
  .socio-card,
  .team-card,
  #hero .anim-cta,
  #hero .btn-primary.anim-cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .sobre-img:hover img,
  .socio-card:hover .socio-photo img,
  .team-card:hover .team-card-photo img,
  .unidade-card:hover .unidade-photo img {
    transform: none !important;
  }
  .floating-whatsapp {
    transition: none;
  }
}

/* ── WhatsApp flutuante ──────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  display: block;
}
.floating-whatsapp:hover {
  transform: scale(1.06);
  background: #20bd5a;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
}
.floating-whatsapp:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: max(.9rem, env(safe-area-inset-right, 0px));
    bottom: max(.9rem, env(safe-area-inset-bottom, 0px));
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}
