/* Every reusable piece of UI: buttons, navigation, marquees, rotating badges,
   the four card types, the FAQ accordion, forms and the mobile menu. */

/* --- buttons -------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding-inline: clamp(28px, 2.9vw, 42px);
  border-radius: 999px;
  font-family: var(--font-roman);
  font-size: var(--fs-small);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
/* the sweep of light that crosses the button on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.5) 52%, transparent 70%);
  translate: -130% 0;
}
.btn:hover::after,
.btn:focus-visible::after { animation: btn-sheen 0.85s var(--ease) forwards; }

.btn--primary { background: var(--blue-deep); color: var(--white); }
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(55, 112, 155, 0.75), 0 0 0 6px rgba(75, 139, 188, 0.14);
}
.btn--primary:active { transform: translateY(0); }

.btn--light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn--light:hover,
.btn--light:focus-visible {
  color: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--blue-soft), 0 12px 26px -12px rgba(55, 112, 155, 0.5), 0 0 0 6px rgba(75, 139, 188, 0.1);
}
.btn--light:active { transform: translateY(0); }
/* on a white button a white sheen is invisible — tint it with the brand blue */
.btn--light::after { background: linear-gradient(105deg, transparent 30%, rgba(75, 139, 188, 0.16) 48%, rgba(94, 156, 144, 0.16) 52%, transparent 70%); }

.btn--sm { min-height: 56px; padding-inline: clamp(20px, 1.9vw, 28px); font-size: var(--fs-meta); }

/* text + arrow link, used for "saiba mais" / "programas" / "ler mais" */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1vw, 14px);
  min-height: 40px;
  font-family: var(--font-roman);
  font-size: var(--fs-small);
  line-height: 1;
  text-transform: uppercase;
  color: var(--sage-deep);
  transition: color var(--dur) var(--ease);
}
.btn-link--ink { color: var(--ink); }
.btn-link:hover { color: var(--blue-deep); }
.btn-link svg { width: clamp(26px, 2.4vw, 34px); height: auto; fill: currentColor; transition: transform var(--dur) var(--ease); }
.btn-link:hover svg { transform: translateX(6px); }

/* --- header navigation ---------------------------------------------------- */
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-deep); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--blue-deep); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn--menu { display: none; }
.icon-btn--menu svg { width: 26px; height: 26px; }

/* --- marquee -------------------------------------------------------------- */
.marquee { overflow: hidden; padding-block: clamp(26px, 3vw, 44px); }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 33.2s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.2;
  color: var(--sage-mid);
  white-space: nowrap;
  padding-inline: 0.3em;
}

/* --- rotating circular badges --------------------------------------------- */
.badge { position: relative; display: grid; place-items: center; width: clamp(88px, 8.2vw, 118px); aspect-ratio: 1; color: var(--ink); }
.badge__ring { width: 100%; height: 100%; animation: badge-spin 22s linear infinite; }
.badge__ring text { font-family: var(--font-roman); font-size: 9.4px; letter-spacing: 0.16em; fill: currentColor; text-transform: uppercase; }
.badge__arrow { position: absolute; width: 22%; fill: currentColor; }
.badge__arrow--up { transform: rotate(180deg); }
.badge--link:hover { color: var(--blue-deep); }

/* --- mission quote -------------------------------------------------------- */
.mission__quote-mark svg { width: 100%; height: auto; fill: currentColor; }

/* --- program card --------------------------------------------------------- */
.program-card { display: grid; justify-items: center; }
.program-card__media { width: clamp(200px, 20vw, 286px); }
/* arch: fully rounded top, flat base — the same silhouette as the hero portrait */
.program-card__media img { width: 100%; aspect-ratio: 329 / 445; object-fit: cover; border-radius: 50% 50% 0 0 / 32% 32% 0 0; }
.program-card__body {
  width: 100%;
  background: var(--mist);
  padding: clamp(20px, 2vw, 28px) clamp(20px, 2.2vw, 32px) clamp(24px, 2.6vw, 36px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 0.9vw, 12px);
}
/* reserve two lines so a longer track name keeps the three cards aligned */
.program-card__name { color: var(--ink); min-height: 2.3em; display: grid; align-content: center; }
.program-card__meta {
  font-family: var(--font-roman);
  font-size: var(--fs-body);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.program-card__text { max-width: 330px; }
.program-card__buy {
  font-family: var(--font-roman);
  font-size: var(--fs-body);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: clamp(6px, 0.8vw, 10px);
  transition: color var(--dur) var(--ease);
}
.program-card__buy:hover { color: var(--blue-deep); }

/* --- process card --------------------------------------------------------- */
.process-card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  background: var(--mist);
  min-height: clamp(140px, 13.2vw, 190px);
  padding: clamp(20px, 2.2vw, 32px) clamp(22px, 2.6vw, 38px);
}
.process-card__num { flex: none; color: var(--sage-mid); }
.process-card h3 { max-width: 460px; }

/* --- testimonial ---------------------------------------------------------- */
.testimonial__quote { font-size: var(--fs-quote); line-height: 1.4; }
.testimonial__role {
  font-family: var(--font-roman);
  font-size: var(--fs-meta);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 4px;
}

/* --- accordion ------------------------------------------------------------ */
.accordion { display: grid; }
.accordion__item { border-bottom: 1px solid var(--hairline); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: clamp(12px, 1.3vw, 18px);
  text-align: left;
}
.accordion__trigger h3 { font-size: var(--fs-h4); line-height: 1.4; }
.accordion__icon { flex: none; width: 16px; height: 11px; fill: var(--ink); }
.accordion__answer { padding-bottom: clamp(16px, 1.8vw, 26px); max-width: 800px; }

/* --- newsletter form ------------------------------------------------------ */
.subscribe { display: grid; gap: 10px; margin-top: clamp(14px, 1.6vw, 20px); }
.subscribe label {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  color: var(--ink);
}
.subscribe input {
  width: 100%;
  height: 42px;
  padding-inline: 12px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--ink);
  font-size: var(--fs-meta);
}
.subscribe input::placeholder { color: var(--ink-soft); }
.subscribe input:focus { border-color: var(--blue); outline: none; }
.subscribe button {
  height: 42px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  text-transform: uppercase;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.subscribe button:hover,
.subscribe button:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(55, 112, 155, 0.7);
}
.subscribe input { border-radius: 999px; padding-inline: 18px; }
.subscribe__status { font-size: var(--fs-meta); color: var(--sage-deep); min-height: 1.2em; }

/* --- footer bits ---------------------------------------------------------- */
.site-footer__social a { display: block; width: 22px; transition: opacity var(--dur) var(--ease); }
.site-footer__social a:hover { opacity: 0.65; }
.site-footer__nav a {
  font-family: var(--font-roman);
  font-size: var(--fs-meta);
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.site-footer__nav a:hover { color: var(--blue-deep); }

/* --- floating WhatsApp shortcut ------------------------------------------- */
/* Above the sticky header (60), below the full-screen mobile menu (80). */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: clamp(52px, 4.2vw, 60px);
  height: clamp(52px, 4.2vw, 60px);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(31, 58, 70, 0.45);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.whatsapp-float svg { width: 58%; height: 58%; fill: currentColor; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px -8px rgba(31, 58, 70, 0.55);
}
.whatsapp-float:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }

/* --- mobile menu ---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(20px, 3vw, 34px);
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__close { position: absolute; top: 26px; right: 26px; display: grid; place-items: center; width: 34px; height: 34px; color: var(--paper); }
.mobile-menu__close svg { width: 18px; height: 18px; fill: currentColor; }
.mobile-menu nav { display: grid; justify-items: center; gap: clamp(12px, 1.8vw, 20px); }
.mobile-menu nav a { font-family: var(--font-display); font-size: clamp(28px, 6vw, 40px); color: var(--paper); }
.mobile-menu nav a:hover { color: var(--blue-soft); }

body.is-locked { overflow: hidden; }

@media (max-width: 1024px) {
  .site-header .nav,
  .site-header .icon-btn--search,
  .site-header .btn--sm { display: none; }
  .icon-btn--menu { display: grid; }
}

/* --- pillars strip --------------------------------------------------------- */
.pillar {
  font-family: var(--font-roman);
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.pillar:not(:last-child)::after {
  content: "·";
  margin-inline-start: clamp(9px, 1.7vw, 28px);
  letter-spacing: 0;
  color: var(--sage-soft);
}

/* --- trilha panel ---------------------------------------------------------- */
/* The mentoring tracks have no photography yet, so each card opens with a brand
   arch carrying its Roman numeral — same silhouette as the portraits. */
.trilha {
  width: clamp(200px, 20vw, 286px);
  aspect-ratio: 329 / 445;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  background: linear-gradient(158deg, var(--blue-mid) 0%, var(--sage) 100%);
  display: grid;
  place-items: center;
}
.trilha span {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--white);
  padding-inline-start: 0.08em;
}

/* --- pull quote ------------------------------------------------------------ */
.quote__mark { width: clamp(56px, 5vw, 74px); color: var(--sage-soft); }
.quote__mark svg { width: 100%; height: auto; fill: currentColor; }
.quote__source {
  font-family: var(--font-roman);
  font-size: var(--fs-meta);
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 4px;
}
