/* Abertura SHEIN + RJC. Estilos isolados das páginas de aplicação e obrigado. */
html {
  /* Contém o deslocamento das revelações sem ampliar a viewport do celular. */
  overflow-x: clip;
}

.shein-hero {
  --hero-focus-x: 50%;
  --hero-focus-y: 48%;
  display: flex;
  flex-direction: column;
  min-height: 780px;
  min-height: max(780px, 94svh);
  padding: 0;
  background: #050d20;
  border-bottom-color: rgba(240, 203, 29, 0.22);
}

/* A foto recebe somente degradês estáticos, sem a aurora do hero anterior. */
.shein-hero::before,
.shein-hero::after,
.shein-hero .scroll-hint {
  display: none;
}

.shein-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
  z-index: -2;
}

.shein-hero__layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 12, 31, 0.96) 0%, rgba(3, 12, 31, 0.87) 26%, rgba(3, 12, 31, 0.27) 54%, rgba(3, 12, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 12, 31, 0.54) 0%, transparent 30%, transparent 65%, rgba(3, 12, 31, 0.7) 100%);
}

.shein-hero .container-max {
  max-width: 1440px;
  width: 100%;
  padding-inline: clamp(24px, 5.6vw, 88px);
}

.shein-hero__header {
  padding-block: 26px;
}

.shein-hero__header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.shein-hero__brands {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
}

.shein-hero__brands:focus-visible {
  outline: 2px solid var(--color-rjc-gold);
  outline-offset: 8px;
  border-radius: 2px;
}

.shein-hero__logo {
  display: block;
  width: auto;
  height: 34px;
}

.shein-hero__partner-logo {
  display: block;
  width: 106px;
  height: auto;
}

.partnership-logos {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
  vertical-align: middle;
}

.partnership-logos__rjc {
  display: block;
  width: auto;
  height: 34px;
}

.partnership-logos__shein {
  display: block;
  width: 106px;
  height: auto;
}

.partnership-logos--section {
  margin: 0 0 20px;
}

.partnership-logos--centered {
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.partnership-logos--compact {
  gap: 14px;
}

.partnership-logos--compact .partnership-logos__rjc {
  height: 22px;
}

.partnership-logos--compact .partnership-logos__shein {
  width: 64px;
}

.shein-announcement {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 203, 29, 0.4);
  background: linear-gradient(110deg, #001a5e, #0033a0 48%, #001a5e);
  color: #fff;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.shein-announcement__message {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  width: 100%;
  padding: 10px 20px;
}

.shein-announcement__viewport {
  display: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.shein-announcement.is-animated .shein-announcement__message {
  /* Uma única leitura para tecnologias assistivas; as cópias são decorativas. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shein-announcement.is-animated .shein-announcement__viewport {
  display: block;
}

.shein-announcement__track {
  display: flex;
  width: max-content;
}

.shein-announcement__group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100vw;
}

.shein-announcement__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 28px;
  white-space: nowrap;
}

.shein-announcement__star {
  color: var(--color-rjc-gold);
}

.shein-announcement__star {
  padding-left: 28px;
  font-size: 0.85rem;
}

.shein-hero__layout {
  display: flex;
  align-items: center;
  flex: 1;
  padding-block: 38px 64px;
}

.shein-hero__content {
  width: 48%;
  max-width: 590px;
}

.shein-hero__partnership {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 24px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
}

.shein-hero__partnership span {
  color: var(--color-rjc-gold);
  font-weight: 500;
}

.shein-hero__title {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3rem, 5.45vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.shein-hero__brand-highlight {
  display: inline-block;
  padding: 0.025em 0.1em 0.065em;
  border-radius: 0.025em;
  background: #fff;
  color: #080808;
  line-height: 0.9;
  vertical-align: baseline;
}

.shein-hero__description {
  max-width: 450px;
  margin-bottom: 30px;
  color: #e1e5ed;
  font-size: 0.98rem;
  line-height: 1.75;
}

.mentoria-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  padding: 18px 24px;
  border: 1px solid var(--color-rjc-gold);
  border-radius: 4px;
  /* Dourado em degradê: no hover ele desliza e clareia. */
  background: linear-gradient(110deg, #e5b810 0%, #f0cb1d 35%, #ffe680 50%, #f0cb1d 65%, #e5b810 100%);
  background-size: 220% 100%;
  background-position: 0% 0;
  color: #07152e;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.4;
  /* O texto pode quebrar em duas linhas equilibradas quando não cabe (celular). */
  white-space: normal;
  text-wrap: balance;
  text-align: center;
  text-shadow: none;
  box-shadow: 0 6px 20px rgba(240, 203, 29, 0.25);
  transform: none;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background-position 0.6s ease,
    border-color 180ms ease;
}

.mentoria-cta > .btn-arrow {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
  .mentoria-cta:hover {
    border-color: #ffe680;
    background-position: 100% 0;
    box-shadow: 0 14px 36px rgba(240, 203, 29, 0.5), 0 0 0 4px rgba(240, 203, 29, 0.22);
    transform: translateY(-3px) scale(1.03);
    animation: none;
  }

  .mentoria-cta:hover > .btn-arrow {
    animation: none;
    transform: translate(5px, -5px) scale(1.15);
  }

  .mentoria-cta:hover::after { animation-duration: 1.1s; }

  /* O botão do banner tem a animação de entrada junto: o hover também precisa vencê-la. */
  .anim-ready .shein-hero__content > .mentoria-cta:hover { animation: none; }
}

.shein-hero__line {
  display: block;
  overflow: hidden;
  /* Folga para acentos e descendentes sem alterar a altura das linhas. */
  padding-block: 0.075em;
  margin-block: -0.075em;
}

.shein-hero__line > span {
  display: block;
}

.mentoria-cta--header {
  min-height: 44px;
  padding-block: 12px;
  font-size: 0.67rem;
  white-space: nowrap;
}

/* No celular, ao lado do logo só cabe o começo da frase do botão do topo. */
@media (max-width: 768px) {
  .mentoria-cta--header .cta-extra { display: none; }
}

/* Faixa de luz que atravessa o botão (a animação liga mais abaixo). */
.mentoria-cta::after {
  content: "";
  display: block;
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  z-index: -1;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-250%) skewX(-20deg);
}

/* Ao clicar, afunda como um botão de verdade. */
.mentoria-cta:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 3px 10px rgba(240, 203, 29, 0.3);
  transition-duration: 0.08s;
}

/* Vivo sem precisar de hover: pulso dourado saindo da borda, brilho
   atravessando de tempos em tempos e a seta "cutucando" o clique. */
@media (prefers-reduced-motion: no-preference) {
  .mentoria-cta { animation: rjc-cta-pulso 2.4s ease-out infinite; }
  .mentoria-cta::after { animation: rjc-cta-brilho 3.2s ease-in-out infinite; }
  .mentoria-cta > .btn-arrow { animation: rjc-cta-seta 1.8s ease-in-out infinite; }
}

@keyframes rjc-cta-pulso {
  0% { box-shadow: 0 6px 20px rgba(240, 203, 29, 0.25), 0 0 0 0 rgba(240, 203, 29, 0.6); }
  70%, 100% { box-shadow: 0 6px 20px rgba(240, 203, 29, 0.25), 0 0 0 14px rgba(240, 203, 29, 0); }
}

@keyframes rjc-cta-brilho {
  0% { transform: translateX(-250%) skewX(-20deg); }
  45%, 100% { transform: translateX(450%) skewX(-20deg); }
}

@keyframes rjc-cta-seta {
  0%, 55%, 100% { transform: translate(0, 0); }
  70% { transform: translate(4px, -4px); }
  85% { transform: translate(0, 0); }
}

.mentoria-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.lead-section {
  padding-block: 0 80px;
}

.lead-section__container {
  max-width: 650px;
}

.lead-section .mentoria-cta {
  width: 100%;
  margin-top: 1rem;
}

.lead-section .mentoria-cta:focus-visible {
  outline-color: var(--color-rjc-blue);
}

/* O recorte destaca rostos e certificado; foto e marcadores dividem o zoom. */
.bio-section .shein-certification {
  --certification-zoom: 1.25;
  aspect-ratio: auto;
}

.shein-certification__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bio-section .shein-certification .founder-img {
  display: block;
  object-position: 50% 63%;
  transform: scale(var(--certification-zoom));
}

.bio-section .shein-certification .founder-tag-layer {
  transform: scale(var(--certification-zoom));
}

/* Versão com vídeo vertical: a moldura vira 9:16, mais estreita e centrada na
   coluna, como um Reels — sem zoom, para não cortar a legenda gravada no vídeo. */
.bio-section .shein-certification--video {
  max-width: 340px;
  margin-inline: auto;
}

.shein-certification--video .shein-certification__photo {
  aspect-ratio: 9 / 16;
  background: #000;
}

.shein-certification__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aparece quando o vídeo termina: volta ao início e toca de novo.
   Fica abaixo do centro porque o último quadro do vídeo é o logo da RJC no meio. */
.shein-certification__replay {
  position: absolute;
  top: 66%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-rjc-gold);
  color: #0a0a0a;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.shein-certification__replay[hidden] { display: none; }
.shein-certification__replay:hover { transform: translate(-50%, -50%) scale(1.05); }
.shein-certification__replay:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.shein-certification__replay > span { font-size: 1.2rem; line-height: 1; }

/* Aparece quando o navegador só deixou o vídeo começar mudo. */
.shein-certification__sound {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--color-rjc-gold);
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.85);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  animation: rjc-som-pulso 2s ease-in-out infinite;
}

.shein-certification__sound[hidden] { display: none; }
.shein-certification__sound svg { color: var(--color-rjc-gold); }
.shein-certification__sound:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes rjc-som-pulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 203, 29, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(240, 203, 29, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .shein-certification__sound { animation: none; }
}

/* "Tudo o que você recebe": 4 blocos em grade 2×2; um abaixo do outro no celular. */
.pillars-section__intro {
  margin-top: 1rem;
  color: #b6bfce;
  font-size: 1rem;
  line-height: 1.6;
}

.pillars-grid--2x2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 768px) {
  .pillars-grid--2x2 { grid-template-columns: 1fr; }
}

/* Os blocos II e IV têm 4 e 5 itens; o hover de animations.css só cobre os 3 primeiros. */
.pillar-card:hover .pillar-list li:nth-child(4) { transform: translateX(5px); transition-delay: 0.18s; }
.pillar-card:hover .pillar-list li:nth-child(5) { transform: translateX(5px); transition-delay: 0.23s; }

/* "E muito mais": fecha a lista em destaque. */
.pillar-list__extra { color: var(--color-rjc-gold); font-weight: 700; }

/* Conjunto de ícones escondido: só fornece os desenhos para os <use href="#ico-…">. */
.pillars-icones { position: absolute; width: 0; height: 0; overflow: hidden; }

.pillar-badge svg,
.pillar-icon svg,
.pillars-tarja__ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-head { display: flex; align-items: center; gap: 1rem; }

.pillar-title {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.pillar-num { margin-right: 0.3rem; color: var(--color-rjc-gold); }

/* Ícone grande de cada bloco */
.pillar-badge {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(240, 203, 29, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 203, 29, 0.18), rgba(0, 64, 208, 0.22));
  color: var(--color-rjc-gold);
  box-shadow: 0 0 24px rgba(240, 203, 29, 0.12);
  transition: box-shadow 0.4s ease;
}

.pillar-badge svg { width: 26px; height: 26px; }

/* Ícone pequeno de cada item, no lugar do tracinho */
.pillars-grid--2x2 .pillar-list li { gap: 0.7rem; }

.pillar-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(240, 203, 29, 0.1);
  color: var(--color-rjc-gold);
  transition: transform 0.35s var(--ease-spring), background-color 0.3s ease, color 0.3s ease;
}

.pillar-icon svg { width: 16px; height: 16px; }

/* A linha entre a frase e a lista é desenhada (e cresce na entrada). */
.pillars-grid--2x2 .pillar-list {
  border-top: 0;
  padding-top: calc(1rem + 1px);
  background: linear-gradient(90deg, var(--color-rjc-gold), rgba(240, 203, 29, 0.08)) top left / 100% 1px no-repeat;
}

@media (hover: hover) {
  .pillar-card:hover .pillar-badge { box-shadow: 0 0 34px rgba(240, 203, 29, 0.35); }
  .pillar-card:hover .pillar-badge svg { animation: rjc-icone-balanca 0.7s var(--ease-spring); }
  .pillar-list li:hover .pillar-icon {
    transform: scale(1.2) rotate(-8deg);
    background-color: var(--color-rjc-gold);
    color: #0a0a0a;
  }
}

@keyframes rjc-icone-balanca {
  0% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-14deg) scale(1.15); }
  60% { transform: rotate(10deg) scale(1.05); }
  100% { transform: rotate(0) scale(1); }
}

@keyframes rjc-badge-onda {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* Entrada em cascata quando o bloco aparece (animations.js põe .is-visible no card):
   ícone gira e cresce → título → frase → linha se desenha → itens, um a um.
   Usa opacity/scale/rotate/translate, separados do transform dos efeitos de hover. */
@media (prefers-reduced-motion: no-preference) {
  .pillar-badge::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid var(--color-rjc-gold);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    animation: rjc-badge-onda 3s ease-out infinite;
    animation-delay: calc(var(--anim-delay, 0ms) + 1.2s);
  }

  .anim-ready .pillars-grid--2x2 .pillar-badge {
    opacity: 0;
    scale: 0.2;
    rotate: -120deg;
    transition:
      box-shadow 0.4s ease,
      opacity 0.4s ease calc(var(--anim-delay, 0ms) + 250ms),
      scale 0.8s var(--ease-spring) calc(var(--anim-delay, 0ms) + 250ms),
      rotate 0.8s var(--ease-spring) calc(var(--anim-delay, 0ms) + 250ms);
  }

  .anim-ready .pillars-grid--2x2 .pillar-title,
  .anim-ready .pillars-grid--2x2 .pillar-intro {
    opacity: 0;
    translate: 0 10px;
    transition:
      color 0.35s ease,
      opacity 0.5s ease calc(var(--anim-delay, 0ms) + var(--passo, 380ms)),
      translate 0.6s var(--ease-out-expo) calc(var(--anim-delay, 0ms) + var(--passo, 380ms));
  }

  .anim-ready .pillars-grid--2x2 .pillar-intro { --passo: 480ms; }

  .anim-ready .pillars-grid--2x2 .pillar-list {
    background-size: 0% 1px;
    transition: background-size 0.9s var(--ease-out-expo) calc(var(--anim-delay, 0ms) + 560ms);
  }

  .anim-ready .pillars-grid--2x2 .pillar-list li {
    opacity: 0;
    translate: -18px 0;
    transition:
      transform 0.4s var(--ease-out-expo),
      color 0.35s ease,
      opacity 0.45s ease calc(var(--anim-delay, 0ms) + 650ms + var(--item, 0) * 110ms),
      translate 0.6s var(--ease-spring) calc(var(--anim-delay, 0ms) + 650ms + var(--item, 0) * 110ms);
  }

  .anim-ready .pillars-grid--2x2 .pillar-icon {
    scale: 0;
    transition:
      transform 0.35s var(--ease-spring),
      background-color 0.3s ease,
      color 0.3s ease,
      scale 0.5s var(--ease-spring) calc(var(--anim-delay, 0ms) + 780ms + var(--item, 0) * 110ms);
  }

  .pillars-grid--2x2 .pillar-list li:nth-child(2) { --item: 1; }
  .pillars-grid--2x2 .pillar-list li:nth-child(3) { --item: 2; }
  .pillars-grid--2x2 .pillar-list li:nth-child(4) { --item: 3; }
  .pillars-grid--2x2 .pillar-list li:nth-child(5) { --item: 4; }

  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-badge { opacity: 1; scale: 1; rotate: 0deg; }
  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-title,
  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-intro { opacity: 1; translate: none; }
  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-list { background-size: 100% 1px; }
  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-list li { opacity: 1; translate: none; }
  .anim-ready .pillars-grid--2x2 .pillar-card.is-visible .pillar-icon { scale: 1; }
}

@media (max-width: 640px) {
  /* Texto que quebra em duas linhas: o ícone acompanha a primeira palavra, não a borda. */
  .pillars-section .pillars-tarja > span:not(.pillars-tarja__mais) { display: block; }
  .pillars-section .pillars-tarja__ico { display: inline-block; margin-right: 0.4rem; vertical-align: -4px; }

  .pillar-badge { width: 44px; height: 44px; border-radius: 12px; }
  .pillar-badge svg { width: 22px; height: 22px; }
  .pillar-title { font-size: 1.05rem; }
}

/* Tarja de destaque: fundo só em azul, para o texto branco não cair sobre o dourado. */
.pillars-tarja {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, #001a55 0%, #0040D0 50%, #001a55 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.pillars-tarja__mais {
  display: inline-block;
  color: var(--color-rjc-gold);
  font-size: 1.6rem;
  line-height: 1;
}

.pillars-tarja { position: relative; overflow: hidden; }

.pillars-tarja > span:not(.pillars-tarja__mais) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pillars-tarja__ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-rjc-gold);
}

/* Tarja viva: um brilho atravessa de tempos em tempos, os "+" pulsam
   e os três destaques entram um depois do outro. */
@media (prefers-reduced-motion: no-preference) {
  .pillars-tarja::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
    translate: -100% 0;
    pointer-events: none;
    animation: rjc-tarja-brilho 4s ease-in-out 1s infinite;
  }

  .pillars-tarja__mais { animation: rjc-mais-pulsa 2.4s ease-in-out infinite; }

  .anim-ready .pillars-tarja > span {
    opacity: 0;
    translate: 0 12px;
    transition: opacity 0.5s ease var(--tarja-delay, 0ms), translate 0.6s var(--ease-spring) var(--tarja-delay, 0ms);
  }

  .pillars-tarja > span:nth-child(1) { --tarja-delay: 200ms; }
  .pillars-tarja > span:nth-child(2) { --tarja-delay: 330ms; }
  .pillars-tarja > span:nth-child(3) { --tarja-delay: 460ms; }
  .pillars-tarja > span:nth-child(4) { --tarja-delay: 590ms; }
  .pillars-tarja > span:nth-child(5) { --tarja-delay: 720ms; }

  .anim-ready .pillars-tarja.is-visible > span { opacity: 1; translate: none; }
}

@keyframes rjc-tarja-brilho {
  0% { translate: -100% 0; }
  60%, 100% { translate: 100% 0; }
}

/* Só pulsa: girado, o "+" passaria por um "×". */
@keyframes rjc-mais-pulsa {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

@media (max-width: 640px) {
  .pillars-tarja {
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }
}

.pillars-fechamento {
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.pillars-fechamento > p {
  color: #d4d4d8;
  font-size: 1rem;
  line-height: 1.6;
}

.pillars-fechamento__cta {
  width: 100%;
  max-width: 460px;
  margin: 1.5rem auto 0;
}

.bio-section .shein-certification .founder-caption {
  position: relative;
  inset: auto;
  padding: 16px 20px;
  border: 0;
  border-top: 1px solid rgba(240, 203, 29, 0.35);
  border-radius: 0;
  background: #0c1425;
  transform: none;
}

.shein-certification__caption {
  color: #e1e5ed;
  font-size: 0.85rem;
  line-height: 1.65;
}

.shein-certification__caption strong {
  color: var(--color-rjc-gold);
  font-weight: 800;
}

.shein-certification__title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.shein-certification__title span {
  color: var(--color-rjc-gold);
}

.shein-certification__subtitle {
  margin-bottom: 22px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.bio-highlight-card.shein-certificate-panel {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #111a2b, #101114);
  border-color: rgba(240, 203, 29, 0.35);
  box-shadow: none;
}

.shein-certificate-panel__preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(240, 203, 29, 0.55);
  border-radius: 7px;
  background: #0c1425;
  transition: border-color 180ms ease;
}

.shein-certificate-panel__preview img {
  display: block;
  width: 100%;
  height: auto;
}

.shein-certificate-panel__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 4px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.shein-certificate-panel__preview:hover {
  border-color: var(--color-rjc-gold);
}

.shein-certificate-panel__preview:hover .shein-certificate-panel__zoom {
  color: var(--color-rjc-gold);
}

.shein-certificate-panel__preview:focus-visible,
.shein-certificate-viewer__close:focus-visible {
  outline: 2px solid var(--color-rjc-gold);
  outline-offset: 4px;
}

.shein-certificate-panel__eyebrow {
  margin-bottom: 7px;
  color: #b6bfce;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.shein-certificate-panel__text h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
}

.shein-certificate-panel__text h3 span {
  color: var(--color-rjc-gold);
}

.shein-certificate-panel__text > p:last-child {
  color: #d4d4d8;
  font-size: 0.875rem;
  line-height: 1.65;
}

.shein-certificate-panel__text strong {
  color: #fff;
}

html.shein-certificate-open {
  overflow: hidden;
}

.shein-certificate-viewer {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(240, 203, 29, 0.5);
  border-radius: 12px;
  background: #0c1425;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.shein-certificate-viewer::backdrop {
  background: rgba(0, 6, 18, 0.86);
}

.shein-certificate-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.shein-certificate-viewer__header h2 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.shein-certificate-viewer__close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}

.shein-certificate-viewer__close:hover {
  border-color: var(--color-rjc-gold);
  color: var(--color-rjc-gold);
}

.shein-certificate-viewer > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 124px);
  object-fit: contain;
}

@media (max-width: 480px) {
  .bio-highlight-card.shein-certificate-panel {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .shein-certificate-panel__text h3 {
    font-size: 1.25rem;
  }

  .shein-certificate-panel__text > p:last-child {
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shein-certificate-panel__preview {
    transition: none;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .shein-hero {
    min-height: 760px;
  }

  .shein-hero__content {
    width: 49%;
  }

  .shein-hero__title {
    font-size: clamp(2.5rem, 5.2vw, 3.5rem);
  }

  .shein-hero__description {
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .shein-hero {
    /* Lucas está no centro da fotografia. Mantém palco e plateia no recorte. */
    --hero-focus-x: 50%;
    --hero-focus-y: 50%;
    min-height: 820px;
    min-height: max(820px, 100svh);
  }

  .shein-hero__header {
    padding-block: 22px;
  }

  .shein-hero__header-inner {
    gap: 16px 12px;
  }

  .shein-hero__brands {
    gap: 18px;
  }

  .shein-hero__logo {
    height: 27px;
  }

  .shein-hero__partner-logo {
    width: 80px;
  }

  .shein-announcement {
    font-size: 0.65rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
  }

  .mentoria-cta--header {
    min-height: 44px;
    padding: 12px;
    gap: 10px;
    font-size: 0.59rem;
    width: auto;
    flex-shrink: 0;
  }

  .shein-hero__layout {
    align-items: flex-end;
    padding-top: 284px;
    padding-bottom: 36px;
  }

  .shein-hero__layout::before {
    background:
      linear-gradient(180deg, rgba(3, 12, 31, 0.56) 0%, rgba(3, 12, 31, 0.04) 20%, rgba(3, 12, 31, 0.22) 35%, rgba(3, 12, 31, 0.74) 53%, rgba(3, 12, 31, 0.91) 100%),
      linear-gradient(90deg, rgba(0, 26, 94, 0.15), transparent 70%);
  }

  .shein-hero__content {
    width: 100%;
    max-width: 480px;
  }

  .shein-hero__partnership {
    margin-bottom: 18px;
    font-size: 1.5rem;
  }

  .shein-hero__title {
    margin-bottom: 18px;
    font-size: clamp(2.55rem, 10.8vw, 4rem);
    line-height: 1;
  }

  .shein-hero__description {
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .shein-hero__content .mentoria-cta {
    width: 100%;
  }
}

@keyframes shein-ticker {
  to { transform: translateX(-50%); }
}

@keyframes shein-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shein-title-enter {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .shein-announcement.is-animated .shein-announcement__track {
    animation: shein-ticker 64s linear infinite;
  }

  .anim-ready .shein-hero__header-inner {
    animation: shein-enter 700ms 80ms both;
  }

  .anim-ready .shein-hero__partnership {
    animation: shein-enter 650ms 140ms backwards;
  }

  .anim-ready .shein-hero__line > span {
    animation: shein-title-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .shein-hero__line:nth-child(1) > span { animation-delay: 220ms; }
  .shein-hero__line:nth-child(2) > span { animation-delay: 310ms; }
  .shein-hero__line:nth-child(3) > span { animation-delay: 400ms; }
  .shein-hero__line:nth-child(4) > span { animation-delay: 490ms; }

  .anim-ready .shein-hero__description {
    animation: shein-enter 750ms 530ms backwards;
  }

  /* Entrada do banner + o mesmo pulso dourado dos outros botões (o brilho e a seta vêm da regra geral). */
  .anim-ready .shein-hero__content > .mentoria-cta {
    animation: shein-enter 700ms 650ms backwards, rjc-cta-pulso 2.4s ease-out 1.4s infinite;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shein-announcement__viewport:hover .shein-announcement__track {
    animation-play-state: paused;
  }

  .bio-section .shein-certification:hover {
    --certification-zoom: 1.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mentoria-cta {
    transition: none;
  }
}

/* ==========================================================================
   Perguntas frequentes — sanfona com <details>/<summary> (funciona sem JS).
   A entrada fica no .faq-entrada (data-anim), para não brigar com as
   transições de borda e fundo do cartão.
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 2.5rem auto 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-card);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(240, 203, 29, 0.55);
  background: var(--color-card-elevated);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 30px rgba(240, 203, 29, 0.06);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: #f4f4f5;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-rjc-gold);
  outline-offset: 2px;
  border-radius: 14px;
}

.faq-item[open] summary { color: var(--color-rjc-gold); }

/* Sinal "+" que vira "−" ao abrir: a barra vertical deita sobre a horizontal. */
.faq-sinal {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(240, 203, 29, 0.4);
  border-radius: 50%;
  background: rgba(240, 203, 29, 0.12);
  transition: background-color 0.3s ease, transform 0.4s var(--ease-spring);
}

.faq-sinal::before,
.faq-sinal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-rjc-gold);
  translate: -50% -50%;
  transition: rotate 0.4s var(--ease-spring), background-color 0.3s ease;
}

.faq-sinal::after { rotate: 90deg; }

.faq-item[open] .faq-sinal { background: var(--color-rjc-gold); }
.faq-item[open] .faq-sinal::before,
.faq-item[open] .faq-sinal::after { background: #0a0a0a; }
.faq-item[open] .faq-sinal::after { rotate: 0deg; }

.faq-resposta {
  padding: 0 1.25rem 1.2rem;
  color: #c4c4cc;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Lista dentro de uma resposta (materiais incluídos): check dourado, 2 colunas no computador. */
.faq-materiais {
  display: grid;
  align-items: center; /* item curto fica no meio da linha, ao lado de um vizinho longo */
  gap: 0.6rem 1.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-materiais li {
  position: relative;
  padding-left: 1.75rem;
}

.faq-materiais li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(240, 203, 29, 0.5);
  border-radius: 50%;
  background: rgba(240, 203, 29, 0.14);
}

.faq-materiais li::after {
  content: "";
  position: absolute;
  top: calc(0.2em + 0.27rem);
  left: 0.42rem;
  width: 0.3rem;
  height: 0.55rem;
  border: solid var(--color-rjc-gold);
  border-width: 0 2px 2px 0;
  rotate: 45deg;
}

@media (min-width: 768px) {
  .faq-materiais { grid-template-columns: 1fr 1fr; }
}

/* Nota ao pé de uma resposta (ex.: materiais liberados depois da mentoria). */
.faq-obs {
  margin-top: 1rem;
  padding: 0.6rem 0.85rem;
  border-left: 2px solid var(--color-rjc-gold);
  border-radius: 0 8px 8px 0;
  background: rgba(240, 203, 29, 0.07);
  color: #b6bfce;
  font-size: 0.88rem;
}

.faq-obs strong { color: var(--color-rjc-gold); }

@media (hover: hover) {
  .faq-item:not([open]):hover { border-color: rgba(240, 203, 29, 0.35); }
  .faq-item summary:hover { color: var(--color-rjc-gold); }
  .faq-item summary:hover .faq-sinal { transform: scale(1.12); }
}

@media (prefers-reduced-motion: no-preference) {
  /* A resposta desce e aparece ao abrir. */
  .faq-item[open] .faq-resposta { animation: rjc-faq-abre 0.45s var(--ease-out-expo); }

  /* Onde o navegador permite, a altura também abre e fecha suave. */
  @supports selector(::details-content) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      block-size: 0;
      overflow: hidden;
      transition: block-size 0.4s var(--ease-out-expo), content-visibility 0.4s allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
  }
}

@keyframes rjc-faq-abre {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: none; }
}

@media (max-width: 640px) {
  .faq-section { padding: 3.5rem 0; }
  .faq-item summary { padding: 1rem; font-size: 0.95rem; }
  .faq-resposta { padding: 0 1rem 1rem; font-size: 0.9rem; }
}

/* Rodapé: o botão "voltar ao topo" é fixo no canto inferior direito; o texto
   não pode ficar embaixo dele. No celular, logo e texto empilham centralizados. */
.site-footer .footer-content { gap: 1rem; padding-right: 4.5rem; }

@media (max-width: 640px) {
  .site-footer { padding-bottom: 4.75rem; }

  .site-footer .footer-content {
    flex-direction: column;
    gap: 0.6rem;
    padding-right: 1.25rem;
    text-align: center;
  }
}
