/* =====================================================================
   ANDRE RICHEST COSTA · RICHEST ACADEMY
   Design system — grafite, ouro fosco e branco
   Referência estética: banner oficial da marca
   ===================================================================== */

@import url('fonts.css');

/* ---------- 1. TOKENS ---------- */
:root {
  /* superfícies */
  --bg:          #0B0B0C;
  --bg-2:        #0F0F12;
  --surface:     #141417;
  --surface-2:   #1B1B20;
  --graphite:    #26262C;

  /* ouro da marca (amostrado do logotipo oficial) */
  --gold:        #DBB167;
  --gold-soft:   #C6B089;
  --gold-deep:   #8E6B2F;
  --gold-glow:   rgba(219, 177, 103, .14);

  /* texto */
  --white:       #FFFFFF;
  --text:        #CFCFD6;
  --muted:       #93939C;
  --faint:       #6C6C76;

  /* traços */
  --line:        rgba(219, 177, 103, .16);
  --line-soft:   rgba(255, 255, 255, .07);

  /* tipografia */
  --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* escala fluida */
  --h1: clamp(2.1rem, 1.15rem + 4.2vw, 4.5rem);
  --h2: clamp(1.75rem, 1.15rem + 2.4vw, 3rem);
  --h3: clamp(1.15rem, .98rem + .75vw, 1.6rem);
  --lead: clamp(1rem, .95rem + .35vw, 1.2rem);

  /* ritmo */
  --wrap: 1240px;
  --gut: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 4px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* compensa o cabeçalho fixo ao pular para âncoras */
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--white);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: .005em; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-soft); }

strong, b { color: var(--white); font-weight: 600; }
::selection { background: var(--gold); color: #0B0B0C; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--alt { background: var(--bg-2); }
.section--surface { background: var(--surface); }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* etiqueta dourada acima dos títulos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-head--center .eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lead { font-size: var(--lead); color: var(--muted); line-height: 1.75; }
.gold { color: var(--gold); }
.gold-soft { color: var(--gold-soft); }

/* texturas de fundo */
.facets {
  background-image: url('../img/pattern-facets.svg');
  background-size: 220px 220px;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(ellipse at 50% 0%, var(--gold-glow), transparent 62%);
}

/* ---------- 4. BOTÕES ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #0B0B0C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover {
  color: #0B0B0C;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -12px rgba(219, 177, 103, .55);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost:hover {
  background: rgba(219, 177, 103, .1);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover { background: var(--gold); color: #0B0B0C; }

.btn--sm { padding: .7rem 1.3rem; font-size: .7rem; }
.btn--wide { width: 100%; }

/* link com seta */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.arrow-link::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- 5. CABEÇALHO ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(11, 11, 12, .88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 84px;
  transition: height .4s var(--ease);
}
.header.is-stuck .header__bar { height: 70px; }

.brand { display: flex; align-items: center; gap: .85rem; margin-right: auto; }
.brand img { flex: none; height: 46px; width: auto; max-width: none; transition: height .4s var(--ease); }
.header.is-stuck .brand img { height: 40px; }
.brand__text { display: none; line-height: 1.2; white-space: nowrap; }
.brand__name {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--white);
  text-transform: uppercase;
}
.brand__role {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
/* o nome só acompanha o logotipo quando há folga real ao lado do menu */
@media (min-width: 1500px) { .brand__text { display: block; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.9rem, .2rem + .9vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  padding-block: .4rem;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
@media (min-width: 1024px) { .nav { display: block; } }

.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* botão hambúrguer */
.burger {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* painel mobile */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11, 11, 12, .97);
  backdrop-filter: blur(10px);
  padding: 110px var(--gut) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line-soft); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--gold); }

/* ---------- 6. CARROSSEL PRINCIPAL ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: grid;
  isolation: isolate;
  background: var(--bg);
  overflow: hidden;
}
.hero__viewport { display: grid; grid-template-areas: 'stack'; }

.slide {
  grid-area: stack;
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(100svh, 940px);
  padding-block: 130px 90px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
  pointer-events: none;
}
.slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.slide__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slide__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: .58;
}
.slide.is-active .slide__media > * { animation: kenburns 16s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* véu que garante contraste do texto sobre qualquer fundo */
.slide__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.86) 42%, rgba(11,11,12,.36) 75%, rgba(11,11,12,.6) 100%),
    linear-gradient(0deg, rgba(11,11,12,.95) 0%, transparent 45%);
}
@media (max-width: 860px) {
  .slide__veil { background: linear-gradient(0deg, rgba(11,11,12,.97) 18%, rgba(11,11,12,.72) 60%, rgba(11,11,12,.82) 100%); }
  .slide__media img { object-position: 50% 18%; }
}

/* Slides com fotografia: o retrato é ancorado à direita e dissolvido para a
   esquerda, de modo que o rosto permaneça visível e o texto continue legível. */
@media (min-width: 900px) {
  .slide--portrait .slide__media {
    left: auto;
    width: min(50%, 720px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .slide--portrait .slide__media img {
    opacity: .95;
    object-position: 50% 12%;
  }
  .slide--portrait .slide__veil {
    background:
      linear-gradient(90deg, #0B0B0C 0%, rgba(11,11,12,.94) 38%, rgba(11,11,12,.35) 62%, transparent 82%),
      linear-gradient(0deg, rgba(11,11,12,.92) 0%, transparent 42%);
  }
}
@media (max-width: 899px) {
  .slide--portrait .slide__media img { opacity: .4; }
}

.slide__content { max-width: 760px; }
.slide__index {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.slide__index::after { content: ''; width: 46px; height: 1px; background: var(--gold-deep); }

.slide__title {
  font-size: clamp(2rem, 1.05rem + 4.3vw, 4.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 1.35rem;
}
.slide__sub {
  font-size: clamp(1rem, .94rem + .4vw, 1.22rem);
  color: var(--text);
  max-width: 620px;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}
.slide__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* entrada escalonada dos elementos do slide ativo */
.slide__content > * { opacity: 0; transform: translateY(26px); }
.slide.is-active .slide__content > * { animation: slideIn .95s var(--ease) forwards; }
.slide.is-active .slide__content > *:nth-child(1) { animation-delay: .12s; }
.slide.is-active .slide__content > *:nth-child(2) { animation-delay: .24s; }
.slide.is-active .slide__content > *:nth-child(3) { animation-delay: .36s; }
.slide.is-active .slide__content > *:nth-child(4) { animation-delay: .48s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* controles */
.hero__controls {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1.5rem, .5rem + 2vw, 2.75rem);
  z-index: 5;
}
.hero__controls .wrap { display: flex; align-items: center; gap: 1.25rem; }

.dots { display: flex; gap: .55rem; margin-right: auto; list-style: none; padding: 0; margin-block: 0; }
.dot {
  width: 34px; height: 3px;
  background: rgba(255, 255, 255, .2);
  border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease);
}
.dot:hover { background: rgba(255, 255, 255, .4); }
.dot[aria-selected="true"] { background: rgba(219, 177, 103, .3); }
.dot[aria-selected="true"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.dot[aria-selected="true"].is-running::after { animation: dotFill var(--slide-duration, 7s) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* No celular as setas dariam de encontro ao botão flutuante do WhatsApp;
   a navegação por gesto e pelos pontos cobre o mesmo papel. */
.hero__arrows { display: none; gap: .5rem; }
@media (min-width: 640px) { .hero__arrows { display: flex; } }
.hero__arrow {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: #0B0B0C; }
.hero__arrow svg { width: 16px; height: 16px; }

/* ---------- 7. FAIXA DE IMPACTO ---------- */
.impact {
  background: var(--surface);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.impact__quote {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--white);
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  letter-spacing: -.01em;
}

.chain {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
}
@media (min-width: 760px) { .chain { grid-template-columns: repeat(4, 1fr); } }

.chain__item {
  background: var(--surface);
  padding: 1.9rem 1.5rem;
  text-align: center;
  transition: background .35s var(--ease);
}
.chain__item:hover { background: var(--surface-2); }
.chain__num {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .75rem;
}
.chain__item p { font-size: .95rem; color: var(--text); margin: 0; }
.chain__item strong { color: var(--gold); font-weight: 700; }

.impact__close {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.05rem, .9rem + .9vw, 1.75rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- 8. GRELHAS E CARDS ---------- */
.grid { display: grid; gap: clamp(1rem, .5rem + 1.2vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.35rem);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.card:hover {
  border-color: var(--line);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleY(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 177, 103, .06);
  color: var(--gold);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: .65rem; }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }

.card__num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  margin-bottom: 1rem;
}

/* ---------- 9. BLOCOS COM MÍDIA ---------- */
.split {
  display: grid;
  gap: clamp(2.25rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .split--reverse .split__media { order: 2; }
}

.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.portrait img { width: 100%; }
/* moldura dourada deslocada */
.portrait-frame { position: relative; }
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -14px -14px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1;
}

.quote-mark {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--gold-deep);
  line-height: .8;
  display: block;
  margin-bottom: .6rem;
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: .35rem 0 .35rem 1.6rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  font-style: normal;
}
.pull-quote cite { display: block; margin-top: .8rem; font-family: var(--body); font-size: .8rem; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* credenciais sob o nome */
.credentials { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .5rem; }
.credentials li {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: .9rem;
  color: var(--muted);
}
.credentials li::before { content: '—'; color: var(--gold); flex: none; }

/* lista com marcadores dourados */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .96rem;
  color: var(--text);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.check-list--two { }
@media (min-width: 700px) { .check-list--two { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

/* ---------- 10. ETAPAS DO PROCESSO ---------- */
.steps { display: grid; gap: 0; position: relative; counter-reset: step; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.step {
  position: relative;
  padding: 2.4rem 1.5rem 2.4rem 0;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 1000px) {
  .step { padding: 3rem 1.5rem 0 0; }
}
.step__marker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
}
.step__dot {
  width: 11px; height: 11px;
  border: 1px solid var(--gold);
  background: var(--bg);
  transform: rotate(45deg);
  flex: none;
  position: relative;
  top: -1px;
}
.step.is-visible .step__dot { background: var(--gold); }
.step__no {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--gold);
}
.step h3 { font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- 11. RICHEST ACADEMY ---------- */
.academy {
  position: relative;
  /* apenas a cor: o atalho `background` apagaria a textura de facetas */
  background-color: var(--bg-2);
  overflow: hidden;
}
.academy__logo {
  width: clamp(150px, 12vw, 210px);
  margin-bottom: 2rem;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, .6));
}
.academy__topics {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
}
.academy__topics li {
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .45rem 1rem;
  background: rgba(219, 177, 103, .04);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.academy__topics li:hover { background: rgba(219, 177, 103, .12); color: var(--white); }

/* ---------- 12. PROTOCOLO RISEN ---------- */
.risen {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(219, 177, 103, .11), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.risen__word {
  display: flex;
  justify-content: center;
  gap: clamp(.35rem, .1rem + 1.2vw, 1.4rem);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  flex-wrap: wrap;
}
.risen__letter {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  letter-spacing: -.02em;
  transition: color .45s var(--ease), transform .45s var(--ease);
  cursor: default;
}
.risen__letter:hover { color: var(--gold); transform: translateY(-6px); }

.benefit-grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 620px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  background: var(--bg);
  padding: 1.6rem 1.4rem;
  font-size: .93rem;
  color: var(--text);
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  transition: background .35s var(--ease);
}
.benefit:hover { background: var(--surface); }
.benefit svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: .32em; }

.disclaimer {
  margin-top: 2.25rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-deep);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .015);
  font-size: .82rem;
  line-height: 1.65;
  color: var(--faint);
}

/* ---------- 13. PRODUTOS ---------- */
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.product:hover { border-color: var(--line); transform: translateY(-4px); }

.product__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--surface-2), #0A0A0B);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media svg { width: 46px; height: 46px; color: var(--gold-deep); }
.product__tag {
  position: absolute;
  top: .9rem; left: .9rem;
  font-family: var(--display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(11, 11, 12, .82);
  border: 1px solid var(--line);
  padding: .35rem .7rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.product__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.product__body p { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.product__price {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- 14. CONTEÚDOS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: .5rem 1.05rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--white); border-color: var(--line); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0B0B0C; }

.youtube-cta {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 800px) { .youtube-cta { grid-template-columns: auto 1fr auto; } }
.youtube-cta__icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(219, 177, 103, .06);
}
.youtube-cta__icon svg { width: 30px; height: 30px; }
.youtube-cta h3 { margin-bottom: .35rem; }
.youtube-cta p { font-size: .93rem; color: var(--muted); margin: 0; }

/* estado vazio (depoimentos ainda não cadastrados) */
.empty-state {
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, .012);
}
.empty-state svg { width: 34px; height: 34px; color: var(--gold-deep); margin: 0 auto 1.25rem; }
.empty-state p { color: var(--faint); font-size: .95rem; max-width: 540px; margin-inline: auto; }

/* ---------- 15. CTA FINAL ---------- */
.cta-final {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.cta-final__inner { position: relative; z-index: 2; }
.cta-final h2 { max-width: 900px; margin-inline: auto; }
.cta-final .lead { max-width: 680px; margin: 0 auto 2.5rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- 16. FORMULÁRIO ---------- */
.form-shell {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}
@media (min-width: 940px) { .form-shell { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.contact-info { display: grid; gap: 1.5rem; align-content: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  flex: none;
  background: rgba(219, 177, 103, .05);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label {
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: .15rem;
}
.contact-item a, .contact-item span { font-size: .95rem; color: var(--text); word-break: break-word; }
.contact-item a:hover { color: var(--gold); }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }

.field label {
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--gold); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--surface-2);
  outline: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DBB167' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--white); }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C4574B; }
.field__error { font-size: .78rem; color: #E08D83; display: none; }
.field.has-error .field__error { display: block; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: .22em; flex: none; accent-color: var(--gold); cursor: pointer; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

/* honeypot antispam — invisível para humanos, preenchido por bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: .92rem;
  border: 1px solid;
}
.form__status.is-visible { display: block; }
.form__status--ok { background: rgba(219, 177, 103, .08); border-color: var(--line); color: var(--gold-soft); }
.form__status--err { background: rgba(196, 87, 75, .08); border-color: rgba(196, 87, 75, .4); color: #E08D83; }

/* ---------- 17. RODAPÉ ---------- */
.footer {
  background: #08080A;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) 0;
}
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; } }

.footer__logo { width: 110px; margin-bottom: 1.35rem; }
.footer__brand p { font-size: .89rem; color: var(--muted); max-width: 380px; }
.footer__name {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .2rem;
}
.footer__role {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer ul a, .footer ul span { font-size: .89rem; color: var(--muted); }
.footer ul a:hover { color: var(--gold); }

.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--text);
  transition: all .3s var(--ease);
}
.social:hover { background: var(--gold); border-color: var(--gold); color: #0B0B0C; transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

.footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer__legal a { color: var(--faint); }
.footer__legal a:hover { color: var(--gold); }

/* ---------- 18. WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, .5rem + 1.4vw, 1.75rem);
  bottom: clamp(1rem, .5rem + 1.4vw, 1.75rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem;
  background: #1E1E22;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--white);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .85);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover {
  background: var(--gold);
  color: #0B0B0C;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -14px rgba(219, 177, 103, .5);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span {
  display: none;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-right: .5rem;
}
@media (min-width: 900px) { .wa-float span { display: block; } }

/* ---------- 19. PÁGINAS INTERNAS ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(9rem, 7rem + 6vw, 13rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--bg-2);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 0%, rgba(219, 177, 103, .1), transparent 62%),
    linear-gradient(0deg, var(--bg) 2%, transparent 60%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { color: var(--gold-deep); }

/* corpo de texto longo (páginas legais) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text); font-size: .97rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.prose li::marker { color: var(--gold); }
.prose__meta { font-size: .82rem; color: var(--faint); border-bottom: 1px solid var(--line-soft); padding-bottom: 1.5rem; margin-bottom: 2.5rem; }

/* ---------- 20. ANIMAÇÕES DE ENTRADA ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .slide__content > * { opacity: 1; transform: none; }
}

/* acessibilidade: link de salto */
.skip {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: .9rem 1.4rem;
  background: var(--gold);
  color: #0B0B0C;
  font-family: var(--display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* trava de rolagem com o menu mobile aberto */
body.is-locked { overflow: hidden; }
