@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap");
:root {
  --ink: #0e2a36; /* texto principal / fundos escuros */
  --ink-soft: #35606f; /* texto secundário */
  --ink-faint: #6b93a1; /* texto terciário / meta */
  --paper: #edf5f9; /* fundo da página */
  --paper-alt: #deebf1; /* fundo alternado das seções */
  --accent: #82bed8; /* cor de marca — usada em superfícies/gráficos */
  --accent-soft: #b9dcea; /* tom claro do accent — linhas, halos, hover */
  --accent-deep: #1f5972; /* tom escuro do accent — ícones, textos de destaque */
  --line: #c9dee7; /* linhas finas */
  --line-strong: #a9c7d4; /* linhas/bordas mais visíveis */

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans:
    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --pad-inline: clamp(1.25rem, 4vw, 3.5rem);
  --radius-sm: 3px;
  --radius-card: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 0 0 0.6em 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-inline);
}
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.section.active {
  opacity: 1;
  transform: translateY(0);
}
.section-border-top {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.35rem);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.btn-primary {
  position: relative;
  background: var(--ink);
  color: var(--line);
  overflow: hidden;
  text-transform: uppercase;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.233);
}
.btn-primary::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-deep),
    var(--accent)
  );
  padding: 3px;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.7s ease;
}
.btn-primary:hover::after {
  opacity: 1;
  clip-path: inset(0);
}
.btn-primary:hover {
  background: #1d7398a3;
  transition:
    background,
    box-shadow,
    color 0.7s ease-in-out;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.441);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.488);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-faint);
  border: 2px solid var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent-deep);
}
.btn-on-dark {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.612);
}
.btn-on-dark:hover {
  background: var(--accent-soft);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.651);
  transition: background, box-shadow .7s ease-in-out;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 245, 249, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    padding 0.25s ease,
    background-color 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(237, 245, 249, 0.97);
  
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.15rem var(--pad-inline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: padding 0.25s ease;
}
.site-header.scrolled .header-inner {
  padding-block: 0.75rem;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-crp {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 54, 0.4);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  background-image: url(./image/bg-final.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
  
}
#heroSentinel { position:absolute; top:0; height:1px; width:1px; }
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad-inline) clamp(3rem, 7vw, 5rem);
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fade-in 3s ease forwards;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 2.5rem);
  line-height: 1.16;
  max-width: 15ch;
  color: var(--paper-alt);
}
.hero-sub {
  color: var(--paper-alt);
  max-width: 44ch;
  margin-top: 1.1rem;
}
.moeda-psi {
  width: 150px;
  height: 150px;
  position: absolute;
  top: 25%;
  left: 55%;
  animation: float 6.3s ease-in-out infinite, fade-in 3s ease forwards;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.342);
  backdrop-filter: blur(2px);
  opacity: 0;
}
.moeda-brain {
  position: absolute;
  bottom: 25%;
  right: 1%;
  width: 160px;
  height: 160px;
  animation: float 7.0s ease-in-out infinite, fade-in 4s ease forwards;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.333);
  backdrop-filter: blur(2px);
  opacity: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}
.hero-note {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-faint);
}

/* =========================================================
   ABOUT
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-tag {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--ink);
}
.about-image {
  width: 70%;
  height: auto;
}
.about-img img {
  width: 100%;
  height: 100%;
}
.about-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 58ch;
}
.about-body p:first-child {
  color: var(--ink);
}

/* =========================================================
   APPROACH (TCC)
========================================================= */
.approach {
  background: var(--paper-alt);
}
.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  margin-top: 2.5rem;
}
.triad-item {
  background: var(--paper-alt);
  padding: 2rem 1.75rem;
}
.triad-item h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.triad-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}
.triad-icon {
  width: 35px;
  height: 35px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.approach-close {
  margin-top: 2.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  border-left: 2px solid var(--accent-deep);
  padding-left: 1.25rem;
}

/* =========================================================
   FOR WHOM
========================================================= */
.reasons__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
.group--wide {
  grid-column: span 7;
}
.group--narrow {
  grid-column: span 5;
}
.group--half {
  grid-column: span 6;
}
.reasons--ready:not(.is-visible) .chip {
  opacity: 0;
}
.reasons.is-visible .chip {
  animation: chip-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 35ms);
}
.group {
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  background: #fff;
}
.group:nth-child(even) {
  border-color: transparent;
  background: var(--paper-alt);
}
.group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  list-style: none;
}
.group__summary::-webkit-details-marker {
  display: none;
}
.group__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  list-style: none;
}
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.3;
}
.group:nth-child(even) .chip {
  background: #fff;
}
.reasons__cta {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  align-items: center;
}
.reasons__cta-text {
  margin: 0;
}
/* =========================================================
   ATENDIMENTO
========================================================= */
.sessions {
  background: var(--paper-alt);
}
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
  border: 1px solid var(--line-strong);
}
.session-card {
  padding: 2.25rem;
  border-right: 1px solid var(--line-strong);
}
.session-card:last-child {
  border-right: none;
}
.session-icon {
  width: 35px;
  height: 35px;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.session-card h3 {
  font-size: 1.25rem;
}
.session-card p {
  color: var(--ink-soft);
  font-size: 0.99rem;
}

/* =========================================================
   PROCESS
========================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-line {
  position: absolute;
  top: 15px;
  left: 3%;
  right: 20%;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.process-line.in-view {
  transform: scaleX(1);
}
.process-step {
  position: relative;
  padding-top: 0;
}
.step-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--accent-deep);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 2;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================================
   FAQ
========================================================= */
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-question .chevron {
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
}
.faq-answer.open {
  opacity: 1;
}
.faq-answer p {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 0;
}

/* =========================================================
   FINAL CTA
========================================================= */
.cta-final {
  background: var(--ink);
  color: var(--paper);
}
.cta-final .wrap {
  text-align: left;
  max-width: 44rem;
}
.cta-final h2 {
  color: var(--paper);
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  line-height: 1.22;
}
.cta-final p {
  color: var(--accent-soft);
  font-size: 1.05rem;
  margin-top: 1rem;
}
.cta-final .hero-actions {
  margin-top: 2rem;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand-name {
  font-size: 1.3rem;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 500;
  margin: 0 0 0.9rem 0;
}
.footer-col ul li {
  margin-bottom: 0.65rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.footer-link:hover {
  color: var(--ink);
}
.footer-link svg {
  width: 16px;
  height: 16px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.footer-crisis {
  margin-top: 2rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  max-width: 60ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .process-line {
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
  .reasons.is-visible .chip {
    animation: none;
  }
  .group__summary::after {
    transition: none;
  }
}
@media (min-width: 861px) {
  .nav .nav-cta {
    display: none;
  }
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--line);
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav .nav-cta {
    display: block;
    margin-top: 1.5rem;
    padding: .7rem 1.5rem;
    color: var(--accent-soft);
    text-align: center;
  }
  .header-actions .header-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .moeda-brain {
    width: 130px;
    height: 130px;
  }
  .moeda-psi {
    width: 130px;
    height: 130px;

  }
  
}
@media (max-width: 820px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 3.2rem;
    padding-bottom: 2.2rem;
  }
  .step-index {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
    background: var(--paper);
  }
  .process-line {
    top: 0;
    bottom: 15%;
    left: 15px;
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .process-line.in-view {
    transform: scaleY(1);
  }
}
@media (max-width: 800px) {
  .about-image {
    width: 80%;
  }
}
@media (max-width: 760px) {
  .hero {
    background-image: url(./image/bg-mobile.jpg);
    padding-top: 90%;
  }
  .hero-inner {
    position: initial;
    text-align: center;
  }
  .hero-text h1 {
    max-width: 90vw;
  }
  .hero-actions {
    justify-content: center;
  }
  .btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.7rem;
  }
  .moeda-brain {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 3%;
  }
  .moeda-psi {
    width: 120px;
    height: 120px;
    left: 5%;
  }
  .triad-icon, .session-icon {
    width: 45px;
    height: 45px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-image {
    justify-self: center;
  }
  .approach .triad-item h3 {
    flex-direction: column;
    justify-content: center;
  }
  .reasons__grid {
    grid-template-columns: 1fr;
  }
  .group--wide,
  .group--narrow,
  .group--half {
    grid-column: auto;
  }
  .group__summary {
    padding-bottom: 1.25rem;
    cursor: pointer;
  }
  .group__summary::after {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .group[open] .group__summary::after {
    transform: rotate(225deg);
  }
  #sobre > .wrap, .cta-final > .wrap, #para-quem .wrap .section-head, .approach, .sessions {
    text-align: center;
  }
  .sessions-grid {
    grid-template-columns: 1fr;
  }
  .session-card {
    border-right: none;
    border-bottom: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1.2rem;
  }
  .session-card:last-child {
    border-bottom: none;
  }
  .triad {
    grid-template-columns: 1fr;
  }
  .reasons__cta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ANIMAÇÕES */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
