/* ============================================================
   Matheus Moraes — Landing Page
   Estilo inspirado em The Simple Gym: minimalismo monocromático,
   tipografia grande, muito respiro, preto e branco.
   ============================================================ */

:root {
  --paper:   oklch(0.985 0.003 95);   /* base off-white */
  --paper-2: oklch(0.955 0.004 95);   /* painel claro */
  --ink:     oklch(0.17 0.006 95);     /* preto (texto, botões) */
  --ink-2:   oklch(0.135 0.006 95);    /* seções escuras */
  --muted:   oklch(0.46 0.008 95);     /* cinza */
  --on-dark: oklch(0.97 0.003 95);     /* texto sobre escuro */
  --mut-dark:oklch(0.72 0.008 95);     /* cinza sobre escuro */
  --line:    oklch(0.17 0.01 95 / 0.15);
  --line-d:  oklch(0.97 0.01 95 / 0.16);
  --accent:  rgb(38 47 109);           /* índigo — pequenos detalhes */

  --font: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
strong { font-weight: 700; }

/* ---------- Tipografia ---------- */
.display {
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.bignum { font-weight: 800; font-size: clamp(2.8rem, 8vw, 5.4rem); letter-spacing: -0.045em; line-height: 1; margin-bottom: 0.3rem; }
.label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}

/* ---------- Botões (pílula sólida, estilo Simple) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.97rem;
  padding: 1rem 1.7rem; border-radius: 100px;
  border: 1.5px solid var(--ink); cursor: pointer;
  background: var(--ink); color: var(--paper);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn:hover svg { transform: translateX(4px); }
.btn--out { background: transparent; color: var(--ink); }
.btn--out:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1.03rem; }
.btn--full { width: 100%; }
/* sobre fundo escuro: inverte */
.s-dark .btn, .nav--solid .btn { }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { opacity: 0.9; }
.btn--lout { background: transparent; color: var(--on-dark); border-color: var(--line-d); }
.btn--lout:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Foto P&B ---------- */
.bw { position: relative; overflow: hidden; background: var(--paper-2); }
.bw img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 0.8s var(--ease); }
.bw:hover img { transform: scale(1.04); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s; }
.nav.is-scrolled { background: oklch(0.985 0.003 95 / 0.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 1.05rem var(--pad-x); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; text-transform: uppercase; }
.brand__mark { display: inline-grid; place-items: center; color: var(--accent); background: none; }
.footer .brand__mark { color: var(--on-dark); }
.brand span { color: var(--muted); }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; font-weight: 500; font-size: 0.94rem; }
.nav__links a { position: relative; padding: 0.3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.35s var(--ease); }
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }
.nav .btn { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 0.2rem; padding: 1rem var(--pad-x) 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav__mobile:not([hidden]) { display: flex; }
.nav__mobile a:not(.btn) { padding: 0.9rem 0.2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 0.9rem; }

/* ============================================================
   HERO (texto + foto com sangria à direita)
   ============================================================ */
.hero { min-height: clamp(620px, 92svh, 900px); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(7rem, 14vh, 10rem) clamp(2rem, 4vw, 4rem) clamp(3rem, 6vh, 5rem) var(--pad-x); }
.hero__ey { margin-bottom: 1.5rem; }
.hero__title { font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 1.6rem; }
.hero__title em { font-style: normal; color: var(--muted); }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 44ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__media { position: relative; overflow: hidden; background: var(--ink-2); min-height: 320px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.06); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; padding: 1rem 0; animation: scrollx 32s linear infinite; }
.trust__track span { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.trust__track b { color: var(--accent); }
.trust__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SEÇÃO genérica
   ============================================================ */
.sec { max-width: var(--container); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad-x); }
.sec__head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec__head .label { display: block; margin-bottom: 1rem; }
.s-dark { background: var(--ink-2); color: var(--on-dark); }
.s-dark .label, .s-dark .muted, .s-dark .lead, .s-dark p { color: var(--mut-dark); }
.s-dark .h2, .s-dark .display { color: var(--on-dark); }
.s-alt { background: var(--paper-2); }

/* ---------- PILARES (palavras grandes, estilo Simple) ---------- */
.pillars__grid { border-top: 1px solid var(--line); }
.s-dark .pillars__grid { border-top-color: var(--line-d); }
.pcell {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.9rem) 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), color 0.3s;
}
.s-dark .pcell { border-bottom-color: var(--line-d); }
.pcell:hover { padding-left: clamp(0.6rem, 2vw, 1.4rem); }
.pcell__word { font-weight: 800; font-size: clamp(1.8rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; transition: color 0.35s var(--ease); }
.pcell__desc { font-size: 0.95rem; color: var(--mut-dark); max-width: 30ch; text-align: right; flex-shrink: 1; }
.s-dark .pcell__word { color: var(--mut-dark); }
.s-dark .pcell:hover .pcell__word { color: var(--on-dark); }

/* ---------- SOBRE ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.events { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.events__text { min-width: 0; }
.events__photo { min-width: 0; aspect-ratio: 4/5; border-radius: 6px; }
.about__photo { min-width: 0; aspect-ratio: 4/5; border-radius: 4px; }
.about__text { min-width: 0; }
.about__text .h2 { margin-bottom: 1.4rem; }
.about__text .lead { margin-bottom: 1.1rem; color: var(--ink); }
.about__text > p { color: var(--muted); margin-bottom: 1.2rem; max-width: 56ch; }
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 2rem; }
.creds li { font-size: 0.8rem; font-weight: 600; border: 1px solid var(--line); padding: 0.42rem 0.85rem; border-radius: 100px; transition: border-color 0.3s, color 0.3s; }
.creds li:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- VÍDEO ---------- */
.video__frame { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--ink-2); max-width: var(--container); margin: 0 auto; }
.video__frame--vert { aspect-ratio: 9/16; max-width: 380px; box-shadow: 0 30px 70px -34px rgba(0,0,0,0.5); }
.video__frame video, .video__frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; cursor: pointer; border: 0; background: none; }
.video__poster { position: absolute; inset: 0; object-fit: cover; filter: grayscale(1) brightness(0.45); }
.video__play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.video__play::before { content: ""; width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink); }
.video__ph:hover .video__play { transform: scale(1.08); }
.video__cap { position: relative; color: var(--on-dark); font-weight: 600; font-size: 0.9rem; background: oklch(0.1 0.005 95 / 0.5); padding: 0.4rem 1rem; border-radius: 100px; }

/* ---------- MÉTODO ---------- */
.mlist { border-top: 1px solid var(--line); }
.s-dark .mlist { border-top-color: var(--line-d); }
.mrow { display: grid; grid-template-columns: 4rem 1fr; gap: clamp(1rem, 4vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.4s var(--ease); }
.s-dark .mrow { border-bottom-color: var(--line-d); }
.mrow:hover { padding-left: 0.6rem; }
.mrow__n { font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.7rem); color: var(--accent); }
.mrow__c h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.mrow__c p { color: var(--muted); max-width: 60ch; }
.s-dark .mrow__n { color: var(--mut-dark); }
.s-dark .mrow__c p { color: var(--mut-dark); }

/* ---------- PLANOS ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border: 1px solid var(--line-d); border-radius: 8px; overflow: hidden; }
.plan { padding: 2.2rem 1.9rem; display: flex; flex-direction: column; border-right: 1px solid var(--line-d); }
.plan:last-child { border-right: 0; }
.plan--hot { background: oklch(0.97 0.003 95 / 0.05); }
.plan__name { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
.plan__tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut-dark); margin: 0.3rem 0 1.3rem; }
.plan__desc { color: var(--mut-dark); font-size: 0.95rem; margin-bottom: 1.4rem; }
.plan__list { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.plan__list li { font-size: 0.93rem; color: var(--on-dark); padding-left: 1.3rem; position: relative; }
.plan__list li::before { content: "—"; position: absolute; left: 0; color: var(--mut-dark); }
.plan .btn { margin-top: auto; }

/* ---------- RESULTADOS (carrossel) ---------- */
.proof__vp { overflow: hidden; position: relative; }
.proof__track { display: flex; gap: 1.4rem; padding: 0.4rem 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.proof__track::-webkit-scrollbar { display: none; }
.proof__track.is-drag { cursor: grabbing; }
.proof__track.is-drag .quote { pointer-events: none; }
.quote { flex: 0 0 350px; width: 350px; display: flex; flex-direction: column; padding: 1.9rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.quote blockquote { font-size: 1rem; line-height: 1.6; margin-bottom: 1.3rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote__avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 2px var(--accent); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 1.4rem 0.2rem; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc__body > p { overflow: hidden; }
.acc[open] .acc__body { grid-template-rows: 1fr; }
.acc__body p { padding: 0 0.2rem 1.4rem; color: var(--muted); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .display { margin: 0 auto 1.6rem; max-width: 14ch; }
.cta p { color: var(--mut-dark); font-size: 1.1rem; max-width: 42ch; margin: 0 auto 2.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink-2); color: var(--on-dark); padding: clamp(3rem, 6vw, 4.5rem) var(--pad-x) 2rem; }
.footer__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-d); }
.footer__brand p { color: var(--mut-dark); max-width: 38ch; margin-top: 1rem; font-size: 0.95rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a, .footer__ig { color: var(--mut-dark); font-weight: 500; transition: color 0.3s; }
.footer__nav a:hover, .footer__ig:hover { color: var(--on-dark); }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer__loc { color: var(--mut-dark); font-size: 0.9rem; }
.footer__bottom { max-width: var(--container); margin: 1.5rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: var(--mut-dark); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px -10px oklch(0.1 0.01 95 / 0.4); transform: translateY(120%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s, background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s; }
.wa-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover { transform: translateY(-3px); }
/* sobre seção escura: vira branco (círculo claro, ícone escuro) pra destacar */
.wa-float.on-dark { background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px -10px oklch(0 0 0 / 0.5); }

/* ---------- TRAJETÓRIA (timeline horizontal arrastável) ---------- */
.tl-vp { overflow: hidden; position: relative; }
/* degradês de borda (substituem a máscara, que bugava na gravação de tela no iOS) */
.proof__vp::before, .proof__vp::after, .tl-vp::before, .tl-vp::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(20px, 6vw, 60px); z-index: 3; pointer-events: none; }
.proof__vp::before { left: 0; background: linear-gradient(90deg, rgb(250 249 246), rgb(250 249 246 / 0)); }
.proof__vp::after { right: 0; background: linear-gradient(270deg, rgb(250 249 246), rgb(250 249 246 / 0)); }
.tl-vp::before { left: 0; background: linear-gradient(90deg, rgb(242 241 238), rgb(242 241 238 / 0)); }
.tl-vp::after { right: 0; background: linear-gradient(270deg, rgb(242 241 238), rgb(242 241 238 / 0)); }
.tl {
  display: flex; gap: 1.2rem; margin: 0; list-style: none;
  padding: 0.5rem 0 1.5rem;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.tl::-webkit-scrollbar { display: none; }
.tl.is-drag { cursor: grabbing; }
.tl.is-drag .tl-item { pointer-events: none; }
.tl-item {
  flex: 0 0 340px; width: 340px; min-height: 520px;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.3rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tl-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.tl-item__media { position: relative; aspect-ratio: 4/3; border-radius: 5px; overflow: hidden; background: var(--ink-2); flex-shrink: 0; }
.tl-item__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 0.6s var(--ease); }
.tl-item:hover .tl-item__media img { transform: scale(1.04); }
.tl-item__media--doc { background: #fff; padding: 8px; display: flex; align-items: center; justify-content: center; }
.tl-item__media--doc img { object-fit: contain; }
.tl-item:hover .tl-item__media--doc img { transform: none; }
.tl-item__body { display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.tl-item__year { font-weight: 800; font-size: 1.9rem; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.tl-item__title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; letter-spacing: -0.01em; }
.tl-item__text { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.tl-item__text strong { color: var(--ink); }
.tl-item__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tl-item__badge { font-size: 0.72rem; font-weight: 600; padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line); }

/* ---------- Reveal / load ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.load { animation: rise 0.7s var(--ease) both; animation-delay: calc(0.15s + var(--d, 0) * 0.07s); }

/* ---------- Intro / tela preta de abertura (some em fade) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #0d0d0e; display: grid; place-items: center;
  animation: introOut 0.75s var(--ease) 1.3s forwards;
}
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; animation: introIn 0.8s var(--ease) 0.15s both; }
.intro__mark { color: #fff; line-height: 0; }
.intro__mark svg { width: 52px; height: 52px; }
.intro__name { font-weight: 800; font-size: clamp(1.9rem, 6vw, 3.4rem); letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.intro__name span { color: #7c7c86; }
.intro__line { width: 0; height: 2px; background: var(--accent); border-radius: 2px; animation: introLine 0.7s var(--ease) 0.5s both; }
@keyframes introOut { to { transform: translateY(-100%); } }
@keyframes introIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes introLine { from { width: 0; } to { width: 96px; } }
.reveal { opacity: 0; transform: translateY(24px) scale(0.99); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 0.08s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animações extras ---------- */
/* barra de progresso de scroll */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; transition: width 0.12s linear; }
/* navbar esconde ao descer, reaparece ao subir */
.nav { transition: background 0.4s, border-color 0.4s, transform 0.45s var(--ease); }
.nav--hidden { transform: translateY(-100%); }
/* foto do hero: zoom lento contínuo */
.hero__media img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.11); } }
/* pilares: stagger + seta que desliza no hover */
.pillars__grid .pcell:nth-child(2) { --d: 1; }
.pillars__grid .pcell:nth-child(3) { --d: 2; }
.pillars__grid .pcell:nth-child(4) { --d: 3; }
.pillars__grid .pcell:nth-child(5) { --d: 4; }
.pcell__word { display: inline-flex; align-items: center; gap: 0.55rem; }
.pcell__word::after { content: "\2192"; font-size: 0.5em; opacity: 0; transform: translateX(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.pcell:hover .pcell__word::after { opacity: 1; transform: translateX(0); }
/* hover dos cards */
.plan { transition: background 0.4s, transform 0.4s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.quote { transition: transform 0.4s var(--ease), border-color 0.3s; }
.quote:hover { transform: translateY(-4px); border-color: var(--accent); }
/* botão: brilho suave ao passar o mouse */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
/* botões do hero: halo pulsante + hover mais vivo */
.hero__cta .btn--primary { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(38, 47, 109, 0); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(38, 47, 109, 0.18); transform: scale(1.025); }
}
.hero__cta .btn:hover { transform: translateY(-3px) scale(1.03); }
.hero__cta .btn:active { transform: translateY(-1px) scale(0.99); }
/* o halo continua piscando suave; some no hover pra não competir com o brilho */
.hero__cta .btn--primary:hover { animation-play-state: paused; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: 2; min-height: 60vh; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; order: -1; }
  .events { grid-template-columns: 1fr; }
  .events__photo { max-width: 460px; order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .pcell__desc { display: none; }
}
@media (max-width: 700px) {
  .nav__links, .nav .btn--nav { display: none; }
  .nav__toggle { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; }
  .quote { flex-basis: 82vw; width: 82vw; }
  .tl-item { flex-basis: 80vw; width: 80vw; min-height: 470px; }
  .mrow { grid-template-columns: 2.6rem 1fr; gap: 1rem; }
}
/* "Reduzir movimento": mantemos as animações do site (são essenciais à marca),
   apenas desligamos o zoom contínuo da foto do hero, que é o mais incômodo. */
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; }
}
