/* ============================================================
   Desafio 14 Dias Sabrina Cedro: desafio.css (standalone)
   Identidade própria: dark + lime, energia de evento/tribo.
   Não depende do styles.css da LP principal.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* ---------- Rampa tipográfica (7 papéis) ----------
     Cada passo existe para um trabalho diferente. Valores fora
     desta rampa precisam de justificativa, não de conveniência. */
  --fs-display: clamp(2.6rem, 9.5vw, 6rem);   /* título de abertura */
  --fs-headline: clamp(2rem, 6vw, 3.2rem);    /* título de seção */
  --fs-title: 1.35rem;                        /* nome de cartão, pergunta */
  --fs-lead: 1.15rem;                         /* parágrafo de entrada */
  --fs-body: 1.05rem;                         /* texto corrido (piso 40+) */
  --fs-small: 0.94rem;                        /* nota, legenda */
  --fs-label: 0.78rem;
  --fs-subhead: clamp(1.2rem, 3.2vw, 1.7rem);  /* frase de apoio do título */
  --fs-figure: clamp(3rem, 11vw, 5.5rem);      /* numeral em destaque (preço) */
                        /* micro em caixa alta */

  /* Entrelinha por papel: ajustada à face e ao tamanho, não a uma razão única */
  --lh-display: 1.02;
  --lh-headline: 1.05;
  --lh-title: 1.2;
  --lh-body: 1.55;
  --lh-tight: 1.35;

  /* Medida de leitura: uma para texto corrido, uma para entrada */
  --measure: 62ch;
  --measure-lead: 52ch;

  --bg: #191919;          /* fundo escuro do desafio */
  --panel: #222222;       /* painéis levemente mais claros */
  --ink: #2b2b2b;         /* escuro da marca (blocos lime) */
  --text: #f4f4f4;        /* texto principal sobre escuro */
  --text-soft: #a8a8a8;   /* texto secundário */
  --lime: #c4e86b;        /* accent da marca */
  --lime-dark: #a9d24a;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1150px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Utilidades ---------- */
.tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5em 1.1em;
  border-radius: 999px;
}

.tag--dark {
  background: var(--ink);
  color: var(--lime);
}

.section-title {
  font-size: var(--fs-headline);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.5em 0 0.5em;
  color: var(--white);
}

.section-title em {
  font-style: normal;
  color: var(--lime);
}

/* Reveal-on-scroll (JS anima; sem JS, tudo visível) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.no-gsap .reveal {
  opacity: 1;
  transform: none;
}

/* Checklist com ✓ lime */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  position: relative;
  padding-left: 2.1rem;
  font-size: var(--fs-body);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-size: var(--fs-label);
  font-weight: 800;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: inherit;
  font-weight: 800;
  font-size: var(--fs-body);
  line-height: var(--lh-title);
  text-align: center;
  padding: 0.9em 1.6em;
  border: none;
  border-radius: 999px;
  min-height: 44px; /* alvo de toque confortável: 40+ no celular */
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: var(--lime-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(196, 232, 107, 0.28);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #171717;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.btn--xl {
  font-size: var(--fs-lead);
  padding: 1.1em 2.1em;
  letter-spacing: 0.02em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(25, 25, 25, 0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav__logo {
  font-weight: 800;
  font-size: var(--fs-lead);
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav__logo span {
  color: var(--lime);
}

.nav__cta {
  font-size: var(--fs-small);
}

@media (min-width: 860px) {
  .nav {
    padding: 1rem 2.5rem;
  }
}

/* ============================================================
   FAIXA ANIMADA (marquee)
   ============================================================ */
.marquee {
  position: relative;
  margin-top: 64px; /* compensa a navbar fixa */
  background: var(--lime);
  color: var(--ink);
  padding: 0.65rem 0;
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-weight: 800;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
}

.marquee__track em {
  font-style: normal;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  padding: 0.1em 0.7em;
  margin: 0 0.2em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(3rem, 8vh, 5rem) 1.25rem clamp(3.5rem, 8vh, 5rem);
}

.hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 1rem 0;
}

.hero__title em {
  font-style: normal;
  color: var(--lime);
}

.hero__sub {
  color: var(--text-soft);
  font-size: var(--fs-subhead);
  max-width: var(--measure);
  margin-bottom: 1.75rem;
}

.hero__note {
  margin-top: 0.9rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
}

/* Cluster de pertencimento (avatares da turma) */
.tribo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.tribo__avatars {
  display: flex;
}

.tribo__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: #e8d3c3;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-small);
  margin-left: -10px;
}

.tribo__avatar:first-child {
  margin-left: 0;
}

.tribo__avatar--b { background: #cfe3f5; }
.tribo__avatar--c { background: #f5d9cf; }
.tribo__avatar--d { background: #ded5f0; }
.tribo__avatar--e { background: #d7ecd2; }

.tribo__avatar--voce {
  background: var(--lime);
  font-size: var(--fs-label);
  letter-spacing: 0.02em;
}

.tribo__label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-soft);
}

/* Contagem regressiva */
.countdown {
  margin-bottom: 1.9rem;
}

.countdown__label {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.7rem;
  text-align: center;
}

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.countdown__cell {
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius);
  min-width: 74px;
  padding: 0.85rem 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__cell span {
  font-size: var(--fs-headline);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__cell small {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Barra de confiança */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.trust strong {
  color: var(--white);
}

/* Foto com sticker */
.hero__figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 330px;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}

.hero__sticker {
  position: absolute;
  bottom: 1rem;
  left: -0.75rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: var(--fs-small);
  line-height: 1.25;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  transform: rotate(-4deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

@media (min-width: 900px) {
  .hero__grid {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
  }
  .hero__text {
    flex: 1;
    align-items: flex-start;
  }
  .hero__sub {
    margin-left: 0;
  }
  .tribo {
    flex-direction: row;
    gap: 1rem;
  }
  .countdown__label,
  .countdown__grid {
    text-align: left;
    justify-content: flex-start;
  }
  .trust {
    justify-content: flex-start;
  }
  .hero__figure {
    max-width: 360px;
    flex-shrink: 0;
  }
}

/* ============================================================
   GRUPO (texto + mockup de grupo do WhatsApp)
   ============================================================ */
.grupo {
  background: var(--panel);
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
}

.grupo__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.grupo__text > p {
  color: var(--text-soft);
  font-size: var(--fs-lead);
  max-width: var(--measure-lead);
  margin-bottom: 1.6rem;
}

@media (min-width: 900px) {
  .grupo__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

/* Mockup do grupo: imagem com fundo transparente */
.grupo__mock {
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
}

.grupo__mock img {
  width: 100%;
  height: auto;
  /* sombra suave no lugar do fundo que foi removido */
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  transform: rotate(1.5deg);
}

/* ============================================================
   TRACKER DOS 14 DIAS
   ============================================================ */
.tracker {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
  text-align: center;
}

.tracker__sub {
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 auto 2.5rem;
}

.tracker__grid {
  display: grid;
  /* minmax(0,1fr): impede que o conteúdo das células estique o grid
     além do viewport (aspect-ratio + rótulo forçariam min-content) */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.tracker__cell {
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.3rem;
}

.tracker__cell span {
  font-size: var(--fs-subhead);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.tracker__cell small {
  font-size: clamp(0.5rem, 1.4vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.2;
}

.tracker__cell--live {
  background: var(--lime);
  border-color: var(--lime);
}

.tracker__cell--live span,
.tracker__cell--live small {
  color: var(--ink);
}

.tracker__legend {
  font-size: var(--fs-small);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tracker__dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--lime);
  display: inline-block;
}

@media (max-width: 560px) {
  .tracker__grid {
    gap: 0.4rem;
  }
  /* No mobile só os números: as células lime + legenda já contam
     onde estão as lives, sem apertar texto em célula de 40px. */
  .tracker__cell small {
    display: none;
  }
}

/* ============================================================
   MANIFESTO EU TOPO (bloco lime)
   ============================================================ */
.manifesto {
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
}

.manifesto__card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.manifesto__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.manifesto__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

.manifesto__list li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 700;
  font-size: var(--fs-body);
}

.manifesto__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lime);
  border-radius: 6px;
  font-size: var(--fs-label);
  font-weight: 800;
}

/* ============================================================
   QUEM CONDUZ
   ============================================================ */
.conduz {
  background: var(--panel);
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
}

.conduz__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.conduz__foto {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--lime);
  margin: 0 auto;
}

.conduz__text {
  text-align: center;
}

.conduz__meta {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.1rem;
}

.conduz__text > p {
  color: var(--text-soft);
  max-width: var(--measure);
  margin: 0 auto 0.9rem;
}

.conduz__key {
  font-weight: 800;
  color: var(--white) !important;
}

@media (min-width: 760px) {
  .conduz__inner {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
  .conduz__text {
    text-align: left;
  }
  .conduz__text > p {
    margin-left: 0;
  }
}

/* ============================================================
   INSCRIÇÃO
   ============================================================ */
.inscricao {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
}

.inscricao__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.inscricao__card {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inscricao__selo {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45em 1.1em;
  border-radius: 999px;
  white-space: nowrap;
}

.inscricao__nome {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--white);
  margin: 0.5rem 0 1.4rem;
}

.checklist--card {
  text-align: left;
  margin-bottom: 1.6rem;
}

.checklist--card li {
  color: var(--text);
}

.inscricao__valor {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.inscricao__valor span {
  font-size: 0.4em;
  font-weight: 700;
  vertical-align: super;
  margin-right: 0.15em;
  color: var(--text-soft);
}

.inscricao__parc {
  color: var(--lime);
  font-weight: 700;
  margin: 0.5rem 0 1.5rem;
}

.inscricao__cta {
  width: 100%;
}

.inscricao__note {
  margin-top: 1rem;
  font-size: var(--fs-label);
  color: var(--text-soft);
}

/* Garantia compacta */
.garantia {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-top: 1.4rem;
}

.garantia__seal {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  font-size: var(--fs-lead);
}

.garantia p {
  color: var(--text-soft);
  font-size: var(--fs-small);
}

.garantia strong {
  color: var(--white);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
}

.faq__head {
  margin-bottom: 2.25rem;
}

.faq__list {
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 0.4rem 1.4rem;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--white);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-size: var(--fs-lead);
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  color: var(--text-soft);
  padding: 0 0 1.2rem;
}

.faq__item a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================================
   CTA FINAL (bloco lime de impacto)
   ============================================================ */
.final {
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.final__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.final__sub {
  font-weight: 800;
  font-size: var(--fs-body);
}

.final__note {
  font-size: var(--fs-small);
  opacity: 0.75;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  padding: 2rem 1.25rem 5.5rem; /* respiro extra p/ sticky-cta no mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--text-soft);
  font-size: var(--fs-small);
}

.footer__logo {
  font-weight: 800;
  color: var(--white);
  font-size: var(--fs-body);
}

.footer__logo span {
  color: var(--lime);
}

.footer a {
  color: var(--lime);
  text-decoration: underline;
}

@media (min-width: 860px) {
  .footer {
    padding-bottom: 2rem;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   BARRA FIXA DE CONVERSÃO (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(25, 25, 25, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.7rem 1rem;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sticky-cta__info strong {
  color: var(--white);
  font-size: var(--fs-small);
}

.sticky-cta__info span {
  color: var(--lime);
  font-size: var(--fs-label);
  font-weight: 700;
}

@media (min-width: 860px) {
  .sticky-cta {
    display: none; /* no desktop os CTAs da página bastam */
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* Alvos de toque confortáveis: o piso do .btn vive na regra base */
.footer a,
.faq__item summary { display: inline-block; padding-block: 0.7em; }

/* ============================================================
   COMPENSAÇÃO EM FUNDO ESCURO
   Texto claro sobre escuro parece mais fino e mais apertado do
   que é. Compensa nos três eixos: entrelinha, entreletra e peso.
   ============================================================ */
body {
  line-height: var(--lh-body);
  letter-spacing: 0.005em;
}

.hero__sub,
.grupo__text > p,
.tracker__sub,
.conduz__text > p,
.faq__item p,
.checklist li {
  line-height: 1.62;
  letter-spacing: 0.008em;
}

/* Texto secundário sobre escuro ganha um passo de peso para não sumir */
.hero__note,
.tracker__legend,
.garantia p,
.inscricao__note {
  font-weight: 500;
}

/* Medida de leitura: linha longa demais perde o olho na volta */
.grupo__text > p,
.tracker__sub,
.conduz__text > p,
.faq__item p,
.garantia p,
.inscricao__note,
.final__note,
.footer p {
  max-width: var(--measure);
}

.tracker__sub,
.final__note {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOCO VISÍVEL
   Mundo escuro: o anel usa o lime, que é o único tom que
   sobrevive sobre #191919 e sobre #222222.
   ============================================================ */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

/* Sobre os blocos lime cheios o anel inverte */
.manifesto__card a:focus-visible,
.final a:focus-visible,
.marquee__pause:focus-visible {
  outline-color: var(--ink);
}

/* ============================================================
   FAIXA ROLANTE: como parar
   Conteúdo que se move sozinho por mais de cinco segundos
   precisa ter um jeito de parar (WCAG 2.2.2). Antes ela rodava
   sem saída. Agora para no ponteiro e no botão, que é o único
   caminho de quem navega por teclado.
   ============================================================ */
.marquee {
  display: flex;
  align-items: center;
}

.marquee__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.marquee:hover .marquee__track,
.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

.marquee__pause {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 0.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.14);
  color: var(--ink);
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.08em; /* separa as duas barras: sem isso vira um bloco só */
  text-indent: 0.08em;    /* compensa o espaço que o tracking joga à direita */
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.marquee__pause:hover {
  background: rgba(43, 43, 43, 0.28);
}

.marquee__pause-icon::before {
  content: "\275A\275A"; /* duas barras: pausar */
}

/* Pausada, o ícone vira "tocar" e o botão fica cheio, pra ficar
   claro que ele está segurando o movimento. */
.marquee.is-paused .marquee__pause {
  background: var(--ink);
  color: var(--lime);
}

.marquee.is-paused .marquee__pause-icon {
  font-size: 0.7rem;
  letter-spacing: 0;
}

.marquee.is-paused .marquee__pause-icon::before {
  content: "\25B6"; /* triângulo: voltar a rodar */
}

/* Texto só para leitor de tela */
.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;
}
