/* Recovery Trino | Six Plus e Be Fit */

:root {
  --bg: #07090b;
  --bg-2: #0c1216;
  --bg-3: #111a1f;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --fg: #f3f5f5;
  --fg-2: #b6c2c6;
  --fg-3: #8e9ca2;
  --yellow: #f2e600;
  --yellow-hover: #fff34a;
  --ink: #0a0a0a;

  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: 6px;   /* cards e fotos */
  --pill: 999px;   /* botoes */
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em { font-style: normal; color: var(--yellow); }
h2 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); }

.section { padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }

/* ---------- revelar ao rolar (a classe js entra no head, sem piscar) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .trio .card:nth-child(2).is-in { transition-delay: .09s; }
.js .trio .card:nth-child(3).is-in { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- cabecalho ---------- */
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding-block: 10px;
}
.brand-six { justify-self: start; display: inline-flex; }
.brand-six img { width: 48px; height: 48px; display: block; object-fit: contain; }
.brand-trino { justify-self: center; height: 36px; width: auto; display: block; }
.brand-befit { justify-self: end; display: block; height: 42px; width: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 65% at 74% 42%, rgba(28, 104, 132, .42), transparent 70%),
    radial-gradient(35% 45% at 96% 88%, rgba(18, 78, 104, .30), transparent 72%);
}
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 7.4vw, 6.6rem); line-height: .9; }
.hero h1 em { display: block; }
.lead {
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 40ch;
}

.hero-visual { position: relative; }
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%), linear-gradient(to top, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 18%), linear-gradient(to top, transparent 0, #000 14%);
  mask-composite: intersect;
}
.hero-practices {
  list-style: none;
  margin: -6px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.hero-practices li {
  border-left: 1px solid var(--line-2);
  padding-left: 12px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.hero-practices b { display: block; color: var(--yellow); font-weight: 600; }

@media (max-width: 979px) {
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 24px; }
  .hero-practices { position: absolute; right: 0; top: 12%; flex-direction: column; gap: 22px; margin: 0; }
}

/* ---------- dados do evento ---------- */
.event-details {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 0;
}
.event-details li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  border-left: 1px solid var(--line-2);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.event-details li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.event-details i { font-size: 1.6rem; line-height: 1; color: var(--yellow); }

@media (min-width: 1100px) {
  .event-details { grid-template-columns: repeat(5, auto); justify-content: start; }
  .event-details li:nth-child(3n+1) { border-left: 1px solid var(--line-2); padding-left: 12px; }
  .event-details li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- botao ---------- */
.cta-block { margin-top: 30px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 38px 12px;
  border-radius: var(--pill);
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .03em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out);
}
.button i { font-size: 1.05rem; transition: transform .25s var(--ease-out); }
.button:hover { background: var(--yellow-hover); }
.button:hover i { transform: translateX(3px); }
.button:active { transform: scale(.98); }
.button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 560px) { .button { min-width: 340px; } }
.cta-note {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ---------- secoes divididas (foto + texto) ---------- */
.split-grid { display: grid; gap: 36px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.9);
}
.split-copy h2 { margin-bottom: 22px; }
.split-copy h2 em { display: block; }
.split-copy p { color: var(--fg-2); max-width: 60ch; }
.split-copy strong { color: var(--fg); }
.split-copy .statement {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--fg);
}
@media (min-width: 900px) {
  .split-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 72px); }
  .split-media img { aspect-ratio: 4 / 5; }
}

/* ---------- metodo ---------- */
.method-head { display: grid; gap: 20px; align-items: end; }
.method-head h2 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
.kicker {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--fg);
}
.method-intro { margin: 0; padding-left: 18px; border-left: 1px solid var(--line-2); color: var(--fg-2); }
@media (min-width: 900px) {
  .method-head { grid-template-columns: 1fr minmax(0, 420px); gap: 48px; }
}

.trio { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-media { position: relative; }
.card-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, var(--bg-3), transparent);
}
.card-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: -44px auto 10px;
}
.card-body { padding: 4px 24px 28px; }
.card h3 { font-size: 1.95rem; line-height: 1; }
.card-sub {
  margin: 8px 0 12px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--yellow);
}
.card-body p:last-child { color: var(--fg-2); font-size: .98rem; }

/* ---------- linhas de icones ---------- */
.benefits { background: var(--bg-2); }
.center-title { text-align: center; font-size: clamp(2.2rem, 4.2vw, 3.2rem); }

.icon-row {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 30px;
}
.icon-row li {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  text-align: center;
}
.icon-row i { font-size: 2.8rem; line-height: 1; color: var(--fg); }
.icon-row span {
  max-width: 17ch;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
}
@media (min-width: 720px) { .icon-row li { flex-basis: 33.333%; } }
@media (min-width: 1040px) {
  .icon-row { flex-wrap: nowrap; }
  .icon-row li { flex: 1 1 0; }
  .icon-row li + li { border-left: 1px solid var(--line); }
}

.modalities { margin: 28px 0; row-gap: 22px; }
.modalities li { flex-basis: 33.333%; gap: 9px; padding: 0 8px; }
.modalities i { font-size: 2.1rem; }
.modalities span { max-width: 14ch; font-size: .74rem; color: var(--fg); }

/* ---------- quem conduz ---------- */
.author { position: relative; overflow: hidden; }
.author::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(45% 70% at 12% 50%, rgba(28, 104, 132, .28), transparent 70%);
}
.author-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.author-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); max-width: 420px; }
.author-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.author-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.author-name {
  margin: 6px 0 10px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--yellow);
}
.author-copy p { color: var(--fg-2); }
.author-copy .author-role { color: var(--fg); font-weight: 600; }
.creds { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.creds li { display: flex; align-items: baseline; gap: 10px; }
.creds li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  transform: translateY(-2px);
}
.author-quote { margin: 0; padding-left: 24px; border-left: 1px solid var(--line-2); }
.author-quote p { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; font-style: italic; color: var(--fg); }
.author-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
@media (min-width: 960px) {
  .author-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, .75fr); gap: 44px; }
}

/* ---------- perguntas ---------- */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow);
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.faq details p { margin: 0 0 22px; color: var(--fg-2); max-width: 66ch; }

/* ---------- inscricao final ---------- */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/gelo-textura.jpg") center / cover no-repeat;
  opacity: .4;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 50% 50%, rgba(7, 9, 11, .2), rgba(7, 9, 11, .88));
}
.final-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final-logo { display: block; width: min(560px, 86%); height: auto; }
.final-tag {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: .03em;
  line-height: 1.1;
}
.final .event-details { justify-content: center; margin-top: 34px; }
.final .event-details li { align-items: center; text-align: center; }
.final-help { margin-top: 16px; font-size: .92rem; color: var(--fg-2); }
@media (max-width: 1099px) {
  .final .event-details { grid-template-columns: repeat(3, auto); justify-content: center; }
}

/* ---------- rodape ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 26px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.footer-six img { display: block; width: 40px; height: 40px; object-fit: contain; }
.footer-words {
  margin: 0;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.footer .brand-befit { height: 32px; }

/* ---------- celular ---------- */
@media (max-width: 560px) {
  .header-inner { min-height: 70px; }
  .brand-trino { height: 24px; }
  .brand-six img { width: 38px; height: 38px; }
  .brand-befit { height: 32px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-words { grid-column: 1 / -1; order: 3; letter-spacing: .1em; }
}

/* ---------- pagina de obrigado ---------- */
.thanks {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(56px, 8vw, 96px) clamp(56px, 7vw, 88px);
}
.thanks::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 70% at 50% 30%, rgba(28, 104, 132, .38), transparent 70%);
}
.thanks-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.thanks h1 { font-size: clamp(3.2rem, 8vw, 5.8rem); line-height: .9; }
.thanks .lead { margin-inline: auto; max-width: 46ch; }
.thanks .button i { font-size: 1.45rem; }
.thanks .event-details { grid-template-columns: repeat(3, auto); justify-content: center; margin-top: 40px; }
.thanks .event-details li { align-items: center; text-align: center; }

.steps-wrap { max-width: 780px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step-n { font-family: var(--display); font-size: 2.6rem; line-height: .9; color: var(--yellow); }
.steps h3 { font-size: 1.75rem; line-height: 1; margin-bottom: 8px; }
.steps p { color: var(--fg-2); margin-bottom: 10px; }
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-weight: 600;
  text-underline-offset: 3px;
}
.link-inline i { font-size: 1.2rem; }
.copy-link { display: inline; word-break: break-all; }
.note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
  color: var(--fg-2);
  font-size: .95rem;
}

/* ---------- barra de progresso (obrigado) ---------- */
.thanks-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.thanks-status i { font-size: 1.3rem; }
.progress { width: min(560px, 100%); margin: 30px auto 6px; text-align: left; }
.progress-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.progress-label { font-size: 1.02rem; font-weight: 700; line-height: 1.3; color: var(--fg); transition: color .4s var(--ease-out); }
.progress-pct {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: .85;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.progress-pct small { margin-left: 2px; font-size: 1.3rem; color: var(--fg-2); }
.progress-track { height: 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transform-origin: left center;
  transform: scaleX(.8);
  animation: progress-in 1.2s var(--ease-out) .25s backwards;
  transition: transform .7s var(--ease-out);
}
.progress.is-done .progress-fill { transform: scaleX(1); }
.progress.is-done .progress-label { color: var(--yellow); }
@keyframes progress-in { from { transform: scaleX(0); } }
.progress-msg { margin: 12px 0 0; color: var(--fg-2); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) {
  .progress-fill { animation: none; transition: none; }
}
