/*
  Mentoria Minha Black: páginas públicas (landing, obrigado, privacidade, 404).
  Identidade da Minha T-shirt: magenta #FF04AF + Montserrat. Fundo preto por causa do "Black".
  Para trocar cores, edite só os tokens em :root.
*/

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0e0d10;
  --bg-raise: #17151a;
  --bg-input: #0e0d10;
  --line: rgb(255 255 255 / 0.1);
  --line-strong: rgb(255 255 255 / 0.2);
  --text: #f7f3f6;
  --text-2: #cfc7ce;
  --text-3: #a39ba3;
  --placeholder: #8a828a;
  --brand: #ff04af; /* magenta do logo */
  --brand-light: #ff56cf; /* rosa das campanhas da loja */
  --cta: #db0094; /* magenta um tom abaixo: texto branco com contraste AA */
  --cta-hover: #c2007f;
  --on-cta: #ffffff;
  --error: #ff8a65;
  --radius-card: 20px;
  --radius-input: 12px;
  --font: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --page-pad: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* ---------- Topo ---------- */

.topbar {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 30px;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--on-cta);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgb(219 0 148 / 0.8);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--block {
  width: 100%;
}

.btn[aria-busy='true'] {
  cursor: progress;
  opacity: 0.9;
}

.btn__arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.dots::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75% {
    content: '...';
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip; /* o "M" decorativo passa da tela de propósito; aqui ele é cortado */
  padding-block: clamp(4px, 2vw, 32px) clamp(56px, 8vw, 104px);
}

.hero__mark {
  position: absolute;
  z-index: -1;
  right: -32vw;
  top: 0;
  width: 125vw;
  height: auto;
  aspect-ratio: 2060 / 1490;
  fill: rgb(255 4 175 / 0.07);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy {
  container-type: inline-size;
}

.hero__title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
}

.hero__kicker {
  display: block;
  margin-bottom: 0.32em;
  font-size: 11.6cqi;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  color: var(--text-2);
}

/* "MINHA" e "BLACK" (3,72em cada) ocupam ~97% da coluna em qualquer tela. */
.hero__name {
  display: block;
  font-size: 26cqi;
  letter-spacing: -0.01em;
}

.hero__name > span,
.hero__name > em {
  display: block;
}

.hero__name em {
  font-style: normal;
  color: var(--brand);
}

.hero__lead {
  margin: clamp(22px, 3vw, 34px) 0 0;
  text-wrap: pretty;
  max-width: 34ch;
  font-size: clamp(1.06rem, 0.96rem + 0.5vw, 1.32rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-2);
}

.hero__lead strong {
  font-weight: 700;
  color: var(--text);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  }

  .hero__mark {
    top: auto;
    right: -10vw;
    bottom: -4vw;
    width: min(70vw, 980px);
  }
}

/* ---------- Formulário ---------- */

.hero__form {
  scroll-margin-top: 24px;
}

.signup {
  position: relative;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-raise);
  box-shadow: 0 40px 90px -50px rgb(219 0 148 / 0.55);
}

.signup__seal {
  position: absolute;
  top: -30px;
  right: -8px;
  width: 80px;
  height: 80px;
  rotate: 12deg;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.45));
}

.signup__title {
  margin: 0 0 4px;
  padding-right: 64px;
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
}

.signup__hint {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-3);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  background: var(--bg-input);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.field input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgb(255 86 207 / 0.22);
}

.field input[aria-invalid='true'] {
  border-color: var(--error);
}

/* Preenchimento automático do navegador sem fundo claro no tema escuro. */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg-input) inset;
}

.field input:-webkit-autofill:focus {
  box-shadow:
    0 0 0 1000px var(--bg-input) inset,
    0 0 0 4px rgb(255 86 207 / 0.22);
}

.field__error {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.field__suggest {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
}

.field__suggest button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-light);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Campo isca para robôs: fora da tela, invisível para pessoas e leitores de tela. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 6px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-2);
  cursor: pointer;
}

.consent__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.consent__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 7px;
  background: var(--bg-input);
  color: transparent;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}

.consent__box .icon {
  width: 14px;
  height: 14px;
}

.consent__input:checked + .consent__box {
  border-color: var(--cta);
  background: var(--cta);
  color: var(--on-cta);
}

.consent__input:focus-visible + .consent__box {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

.consent__input[aria-invalid='true'] + .consent__box {
  border-color: var(--error);
}

.consent a {
  color: var(--text);
  font-weight: 600;
}

.consent-error {
  margin: 0 0 4px 36px;
}

.form-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgb(255 138 101 / 0.4);
  border-radius: 12px;
  background: rgb(255 138 101 / 0.1);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffd6c9;
}

.form-alert[hidden] {
  display: none;
}

.form-alert .icon {
  margin-top: 1px;
  color: var(--error);
}

.turnstile {
  min-height: 65px;
  margin: 14px 0 0;
}

.turnstile[hidden] {
  display: none;
}

.signup .btn {
  margin-top: 20px;
}

.signup__safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--text-3);
}

.noscript {
  margin: 0 0 18px;
  color: var(--error);
  font-weight: 600;
}

@media (min-width: 960px) {
  .signup__seal {
    top: -38px;
    right: -22px;
    width: 96px;
    height: 96px;
  }
}

/* ---------- Faixa "Quem é VIP entra primeiro" ---------- */

.ticker {
  overflow: clip;
  padding-block: 24px;
}

.ticker__band {
  display: flex;
  width: 110%;
  margin-left: -5%;
  padding-block: 14px;
  overflow: hidden;
  rotate: -2deg;
  background: var(--brand);
  color: var(--bg);
}

.ticker__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker__item {
  font-size: clamp(1.1rem, 0.9rem + 1.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__mark {
  width: 1.9em;
  height: auto;
  aspect-ratio: 2060 / 1490;
  font-size: clamp(1.1rem, 0.9rem + 1.2vw, 1.75rem);
  fill: currentColor;
}

/* ---------- Como funciona ---------- */

.steps {
  padding-block: clamp(56px, 9vw, 120px);
}

.steps__title {
  max-width: 20ch;
  text-wrap: balance;
  margin: 0 0 clamp(36px, 5vw, 60px);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.steps__list {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 64px;
  bottom: -26px;
  width: 2px;
  background: linear-gradient(rgb(255 4 175 / 0.55), rgb(255 4 175 / 0.08));
}

.step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(255 4 175 / 0.4);
  border-radius: 50%;
  background: rgb(255 4 175 / 0.12);
  color: var(--brand-light);
}

.step__icon .icon {
  width: 26px;
  height: 26px;
}

.step h3 {
  margin: 6px 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.step p {
  margin: 0;
  text-wrap: pretty;
  max-width: 32ch;
  color: var(--text-2);
}

.steps__cta {
  margin-top: clamp(40px, 6vw, 64px);
}

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

  .step {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    top: 27px;
    left: 72px;
    right: -28px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgb(255 4 175 / 0.55), rgb(255 4 175 / 0.08));
  }
}

/* ---------- Página inicial (perfil da Thuane) ---------- */

.profile {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  flex: 1;
  padding-block: clamp(8px, 3vw, 40px) clamp(56px, 8vw, 104px);
}

.profile__grid {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.profile__photo {
  position: relative;
  width: min(100% - 16px, 300px);
  margin: 0;
  justify-self: center;
}

/* Moldura magenta deslocada atrás da foto. */
.profile__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--brand);
  border-radius: 28px;
  translate: 14px 14px;
}

.profile__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  background: var(--bg-raise);
}

.profile__info {
  container-type: inline-size;
}

/* "CARDOSO" (5,47em) ocupa ~96% da coluna em qualquer tela. */
.profile__name {
  margin: 0;
  font-size: 17.5cqi;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.profile__name > span,
.profile__name > em {
  display: block;
}

.profile__name em {
  font-style: normal;
  color: var(--brand);
}

.profile__bio {
  max-width: 36ch;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--text-2);
  text-wrap: pretty;
}

.links {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.link-card {
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-raise);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease-out);
}

.link-card:hover {
  border-color: rgb(255 4 175 / 0.55);
  transform: translateY(-2px);
}

.link-card:active {
  transform: scale(0.99);
}

.link-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgb(255 4 175 / 0.14);
  color: var(--brand-light);
}

.link-card__icon .icon {
  width: 24px;
  height: 24px;
}

.link-card__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.link-card__sub {
  display: block;
  font-size: 0.92rem;
  color: var(--text-3);
}

.link-card__arrow {
  width: 20px;
  height: 20px;
  color: var(--text-3);
  transition:
    transform 0.25s var(--ease-out),
    color 0.2s;
}

.link-card:hover .link-card__arrow {
  color: var(--brand-light);
  transform: translateX(3px);
}

@media (min-width: 900px) {
  .profile__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .profile__photo {
    width: min(100% - 16px, 440px);
  }
}

/* ---------- Páginas de texto (obrigado, privacidade, 404) ---------- */

.page {
  flex: 1;
  padding-block: clamp(24px, 6vw, 72px) clamp(56px, 8vw, 104px);
}

.notice {
  max-width: 560px;
}

.notice[hidden] {
  display: none;
}

.notice__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--brand);
  fill: currentColor;
}

.notice h1 {
  margin: 0 0 14px;
  text-wrap: balance;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.notice p {
  margin: 0 0 16px;
  font-size: 1.08rem;
  color: var(--text-2);
  text-wrap: pretty;
}

.notice .btn {
  margin-top: 12px;
}

.notice .notice__small {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--text-3);
}

.notice__small[hidden] {
  display: none;
}

.prose {
  max-width: 68ch;
}

.prose h1 {
  margin: 0 0 8px;
  text-wrap: balance;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.prose h2 {
  margin: 40px 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.prose p,
.prose li {
  color: var(--text-2);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.updated {
  margin: 0 0 32px;
  color: var(--text-3);
  font-size: 0.92rem;
}

/* ---------- Rodapé ---------- */

.site-footer {
  margin-top: auto;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-3);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-2);
}

/* ---------- Movimento (só para quem não pediu menos movimento) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .reveal {
    animation: rise 0.9s var(--ease-out) both;
  }

  .reveal.d1 {
    animation-delay: 0.08s;
  }

  .reveal.d2 {
    animation-delay: 0.18s;
  }

  .reveal.d3 {
    animation-delay: 0.3s;
  }

  .ticker__track {
    animation: ticker 32s linear infinite;
  }

  .js [data-inview] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s var(--ease-out),
      transform 0.8s var(--ease-out);
  }

  .js [data-inview].d1 {
    transition-delay: 0.12s;
  }

  .js [data-inview].d2 {
    transition-delay: 0.24s;
  }

  .js [data-inview].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dots::after {
    animation: none;
    content: '...';
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

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