/* Instituto Social Moxuara — visual wellness (cápsulas + creme + verde da logo) */
:root {
  --cream: #f5f3ed;
  --cream-2: #ebe7de;
  --white: #ffffff;
  --ink: #2a322c;
  --muted: #6b756e;
  --green: #2d3e33;
  --green-deep: #1f2e25;
  --green-soft: #8da38c;
  --folha: #6b9f45;
  --ouro: #c4a035;
  --ceu: #9ec9df;
  --radius-pill: 999px;
  --radius-card: 2rem;
  --shadow: 0 18px 50px rgba(45, 62, 51, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(45, 62, 51, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(45, 62, 51, 0.2);
}

.btn--green:hover {
  background: var(--green-deep);
}

.btn--gold {
  background: var(--ouro);
  color: var(--green-deep);
  box-shadow: 0 10px 24px rgba(196, 160, 53, 0.28);
}

.btn--gold:hover {
  background: #d4b24a;
}

.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(45, 62, 51, 0.06);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
  margin-right: 0.5rem;
  background: var(--white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--green);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.55fr;
  gap: 1.5rem;
  align-items: center;
}

.hero__copy h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 12ch;
}

.hero__copy p {
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  font-size: 1.02rem;
}

.hero__photo {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__photo:hover img {
  transform: scale(1.05);
}

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stat-pill {
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 1.35rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-pill strong {
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-pill span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* Partners strip */
.partners {
  padding: 1.5rem 0 2.5rem;
}

.partners__inner {
  text-align: center;
}

.partners__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 1rem;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.72;
}

.partners__sep {
  width: 1px;
  height: 1.1rem;
  background: rgba(45, 62, 51, 0.2);
}

/* About */
.about {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__copy h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.about__copy > p {
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.about__vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about__vm h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.6rem 0 0.35rem;
  color: var(--green);
}

.about__vm p {
  font-size: 0.92rem;
  color: var(--muted);
}

.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--folha);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.icon-dot svg {
  width: 20px;
  height: 20px;
}

.about__photos {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.pill-img {
  width: min(100%, 380px);
  height: 460px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

/* Services */
.services {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: var(--white);
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 46, 37, 0.94), rgba(45, 62, 51, 0.9)),
    url("../images/foto-04.jpg") center / cover;
  border-radius: 0;
}

.services__inner {
  position: relative;
  z-index: 1;
}

.services__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.services__head h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.1;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.services__grid .service-card:nth-child(4) {
  grid-column: 1 / 2;
  justify-self: stretch;
}

@media (min-width: 1025px) {
  .services__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .services__grid .service-card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .services__grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .services__grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 2.25rem;
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.service-card__icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--green);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
  flex: 1;
}

/* Why */
.why {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.why__photo {
  width: min(100%, 460px);
  aspect-ratio: 4 / 3;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  justify-self: center;
  background: var(--cream-2);
}

.why__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.why__copy h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.why__copy > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

.why__list {
  display: grid;
  gap: 0;
}

.why__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(45, 62, 51, 0.1);
}

.why__list li:first-child {
  border-top: 1px solid rgba(45, 62, 51, 0.1);
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.why__list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--green);
}

.why__list p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Banner CTA */
.banner {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.banner__inner {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: clamp(2.2rem, 5vw, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(31, 46, 37, 0.88), rgba(45, 62, 51, 0.75)),
    url("../images/foto-02.jpg") center / cover;
}

.banner__inner h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.banner__inner p {
  color: rgba(255, 255, 255, 0.8);
}

/* Contact */
.contact {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.contact__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.contact__side {
  background: var(--white);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(45, 62, 51, 0.08);
}

.contact__mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 50%;
  padding: 0.55rem;
  margin-bottom: 1.25rem;
}

.contact__side h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--green);
}

.contact__side > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact__meta {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact__meta a {
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--ouro);
  width: fit-content;
}

.contact__form {
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 0.95rem;
}

.contact__form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  border: 1.5px solid rgba(45, 62, 51, 0.12);
  background: var(--cream);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.15rem;
  outline: none;
  color: var(--ink);
}

.contact__form textarea {
  border-radius: 1.25rem;
  resize: vertical;
  min-height: 110px;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--green-soft);
}

.contact__form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-status {
  font-size: 0.88rem;
  color: var(--folha);
  min-height: 1.2em;
}

/* Footer */
.footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__brand p {
  max-width: 28ch;
  font-size: 0.92rem;
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 0.9rem;
}

.footer a,
.footer p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Consent banner */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem;
  background: rgba(31, 46, 37, 0.96);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.consent[hidden] {
  display: none !important;
}

.consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.consent p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 52rem;
  line-height: 1.45;
}

.consent a {
  color: var(--ouro);
  font-weight: 700;
  text-decoration: underline;
}

/* Legal / política */
.legal__content {
  background: var(--white);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  max-width: 48rem;
}

.legal__content h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--green);
  margin: 1.75rem 0 0.6rem;
}

.legal__content p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal__content a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid var(--ouro);
}

/* Page transparência */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.page-hero p,
.page-hero__lead {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chips span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--ouro);
}

.docs-section {
  padding: 1rem 0 4rem;
}

.doc-empty {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.docs {
  display: grid;
  gap: 1rem;
}

.doc {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.doc__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--folha);
  margin-bottom: 0.35rem;
}

.doc__title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.doc__desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.3rem 0;
}

.doc__meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.topics article {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.topics h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.topics p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .stat-pill {
    flex: 1;
  }

  .about__grid,
  .why__grid,
  .contact__card,
  .footer__grid,
  .topics {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__photos {
    min-height: 320px;
  }

  .why__photo {
    order: -1;
  }
}

@media (max-width: 768px) {
  .site-header__cta {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(45, 62, 51, 0.06);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy h1,
  .hero__copy p {
    margin-inline: auto;
  }

  .hero__photo {
    width: min(100%, 280px);
  }

  .hero__stats {
    flex-direction: column;
  }

  .about__vm,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__photos {
    min-height: auto;
  }

  .about__photos .pill-img {
    width: min(100%, 300px);
    height: 380px;
  }

  .partners__sep {
    display: none;
  }

  .doc {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
