/* Bromélia — página de revendedoras. Celular primeiro; ajustes de tela grande no fim. */

@font-face {
  font-family: "Raleway";
  src: url("fontes/raleway-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fontes/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --salvia-clara: #EAEEE7;
  --salvia: #ABB99F;
  --musgo: #6B8556;
  --verde: #2C500E;
  --tinta: #2A2622;
  --tinta-2: #423D37;
  --tinta-3: #645E56;
  --papel: #FFFFFF;

  --texto: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --margem: clamp(16px, 5vw, 40px);
  --raio: 20px;
  --raio-foto: 28px;
  --altura-barra: 80px;
}

/* ---------- Base ---------- */

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--salvia-clara);
  color: var(--tinta-2);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--verde);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 9vw, 4rem);
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.875rem, 6.6vw, 2.75rem); font-weight: 560; }
h3 { font-size: 1.3125rem; }

p { margin: 0; text-wrap: pretty; }

a { color: var(--verde); }

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

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

main:focus { outline: none; }

.pular {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--papel);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.pular:focus { transform: none; }
.pular:focus-visible { outline-color: var(--tinta); }

.envoltorio {
  width: 100%;
  max-width: calc(1100px + 2 * var(--margem));
  margin-inline: auto;
  padding-inline: var(--margem);
}

.secao { padding-block: clamp(64px, 14vw, 120px); }
.secao-papel { background: var(--papel); }

.sub {
  margin-top: 12px;
  color: var(--tinta-3);
  font-size: 1.125rem;
}

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

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--papel);
  font: 700 1.0625rem/1.2 var(--texto);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.botao:hover { box-shadow: 0 8px 20px rgba(44, 80, 14, 0.22); }
.botao:active { transform: scale(0.98); box-shadow: none; }

.seta {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.botao:hover .seta { transform: translateX(4px); }

.botao-claro {
  background: var(--salvia-clara);
  color: var(--verde);
}

.botao-claro:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }

.botao-discreto {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--verde);
  border-radius: 999px;
  color: var(--verde);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.botao-discreto:hover { background: var(--verde); color: var(--papel); }

/* ---------- Topo e primeira dobra ---------- */

.topo { padding-block: 10px; }

.topo-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topo-logo { width: auto; height: 28px; }

.inicio { padding: 28px 0 72px; }

.inicio-grade {
  display: grid;
  gap: 48px;
  align-items: center;
}

.chamada {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--verde);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.chamada::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border: 2.5px solid var(--musgo);
  border-radius: 50%;
}

.inicio-lead {
  max-width: 36ch;
  margin-top: 18px;
}

.inicio .botao { margin-top: 32px; }

.nota {
  margin-top: 12px;
  color: var(--tinta-3);
  font-size: 0.9375rem;
}

.selos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.selos li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--salvia);
  border-radius: 999px;
  background: var(--papel);
  color: var(--tinta);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.selos li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--musgo);
  box-shadow: 0 0 0 2.5px var(--salvia-clara);
}

/* ---------- Espaços de foto ---------- */

.foto {
  margin: 0;
  overflow: hidden;
  border-radius: var(--raio-foto);
  background: var(--salvia);
  aspect-ratio: 4 / 5;
}

.foto[data-foto="pecas"] { aspect-ratio: 1 / 1; }
.foto[data-foto="loja"] { aspect-ratio: 4 / 3; }

.foto svg, .foto img {
  width: 100%;
  height: 100%;
}

.foto img { object-fit: cover; }

.inicio .foto {
  width: 100%;
  max-width: 460px;
}

.dupla {
  display: grid;
  gap: 40px;
  align-items: center;
}

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

.passos {
  display: grid;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.passo {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 20px;
  padding-bottom: 36px;
}

.passo:last-child { padding-bottom: 0; }

.passo-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--salvia);
  border-radius: 50%;
  background: var(--papel);
  color: var(--verde);
  font-family: var(--titulo);
  font-size: 2.625rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
}

/* corrente de pontos ligando um passo ao outro */
.passo:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 82px;
  bottom: 10px;
  left: 34px;
  width: 4px;
  background: radial-gradient(circle, var(--salvia) 1.8px, transparent 2.3px) center top / 4px 12px repeat-y;
}

.passo h3 { margin-top: 10px; }
.passo p { margin-top: 8px; }

.apoio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding: 18px 22px;
  border-radius: var(--raio);
  background: var(--salvia-clara);
  color: var(--tinta);
  font-weight: 600;
  line-height: 1.45;
}

.apoio svg {
  flex: none;
  width: 46px;
  height: 28px;
  fill: none;
  stroke-width: 3;
}

/* ---------- Conta de exemplo ---------- */

.conta-grade {
  display: grid;
  gap: 32px;
}

.conta-cartao {
  display: grid;
  gap: 24px;
  padding: 28px 22px 24px;
  border-radius: 28px;
  background: var(--papel);
}

.conta-resultado {
  display: grid;
  gap: 2px;
}

.conta-venda {
  color: var(--tinta-2);
  font-size: 1.125rem;
}

.conta-venda strong {
  color: var(--tinta);
  white-space: nowrap;
}

.conta-ganho {
  margin-top: 6px;
  color: var(--verde);
  font-family: var(--titulo);
  font-size: 1.375rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 100;
  line-height: 1.2;
}

.conta-ganho strong {
  display: block;
  width: max-content;
  font-size: clamp(3rem, 15vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform-origin: left bottom;
}

.conta-venda strong, .conta-ganho strong { font-variant-numeric: lining-nums tabular-nums; }

.conta-controle input {
  --p: 29.4%;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
}

.conta-controle input::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--verde) var(--p), var(--salvia) var(--p));
}

.conta-controle input::-webkit-slider-thumb {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  margin-top: -11px;
  border: 5px solid var(--papel);
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 2px var(--verde), 0 3px 10px rgba(42, 38, 34, 0.25);
  -webkit-appearance: none;
  appearance: none;
}

.conta-controle input::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: var(--salvia);
}

.conta-controle input::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--verde);
}

.conta-controle input::-moz-range-thumb {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border: 5px solid var(--papel);
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 2px var(--verde), 0 3px 10px rgba(42, 38, 34, 0.25);
}

.conta-nota {
  color: var(--tinta-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---------- Para quem é ---------- */

.vistos {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.vistos li {
  position: relative;
  padding: 16px 0 16px 50px;
  border-top: 1px solid var(--salvia);
  color: var(--tinta);
  font-size: 1.125rem;
  line-height: 1.5;
}

.vistos li:last-child { border-bottom: 1px solid var(--salvia); }

.vistos li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--verde);
}

.vistos li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 8px;
  height: 14px;
  border: solid var(--papel);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Dúvidas ---------- */

.cartoes {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.cartao {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: var(--raio);
  background: var(--papel);
}

/* argola discreta no canto */
.cartao::after {
  content: "";
  position: absolute;
  top: -38px;
  right: -38px;
  width: 100px;
  height: 100px;
  border: 12px solid var(--salvia-clara);
  border-radius: 50%;
}

.cartao h3 {
  position: relative;
  padding-right: 44px;
}

.cartao p { margin-top: 12px; }

/* ---------- Quem é a Bromélia ---------- */

.texto { margin-top: 20px; }

.horario {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--salvia-clara);
  color: var(--tinta);
  font-weight: 600;
  line-height: 1.45;
}

.horario svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--verde);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Perguntas frequentes ---------- */

.sanfona {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.sanfona details {
  border-radius: 16px;
  background: var(--papel);
}

.sanfona summary {
  position: relative;
  display: block;
  padding: 20px 68px 20px 20px;
  border-radius: 16px;
  color: var(--tinta);
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.sanfona summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background:
    linear-gradient(var(--verde), var(--verde)) center / 12px 2px no-repeat,
    linear-gradient(var(--verde), var(--verde)) center / 2px 12px no-repeat,
    var(--salvia-clara);
  transition: transform 0.25s ease;
}

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

.sanfona details p { padding: 0 20px 22px; }

.estreito { max-width: calc(760px + 2 * var(--margem)); }

/* ---------- Chamada final e rodapé ---------- */

.final {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  color: var(--salvia-clara);
  text-align: center;
}

.final h2 { color: var(--papel); }

.final p {
  max-width: 30ch;
  margin: 16px auto 0;
  font-size: 1.125rem;
}

.final .botao { margin-top: 32px; }

.final .envoltorio {
  position: relative;
  z-index: 1;
}

/* duas argolas grandes ao fundo */
.final::before, .final::after {
  content: "";
  position: absolute;
  border: 14px solid var(--musgo);
  border-radius: 50%;
  pointer-events: none;
}

.final::before {
  top: -124px;
  left: -124px;
  width: 200px;
  height: 200px;
}

.final::after {
  right: -70px;
  bottom: -92px;
  width: 150px;
  height: 150px;
  border-width: 10px;
}

.final :focus-visible, .rodape :focus-visible { outline-color: var(--papel); }

.rodape {
  padding-bottom: 48px;
  background: var(--verde);
  color: var(--salvia-clara);
  font-size: 0.9375rem;
}

/* corrente de pontos separando a chamada final do rodapé */
.rodape::before {
  content: "";
  display: block;
  width: min(100% - 2 * var(--margem), 1100px);
  height: 6px;
  margin: 0 auto 40px;
  background: radial-gradient(circle, var(--musgo) 2.4px, transparent 2.9px) left center / 14px 6px repeat-x;
}

.rodape-logo { width: 176px; height: auto; }

.rodape ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rodape-info {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}

.rodape-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 12px;
}

.rodape a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--papel);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rodape a:hover { text-decoration-thickness: 2px; }

.rodape-copia { margin-top: 8px; }

/* ---------- Barra fixa (só celular, só com JavaScript) ---------- */

.barra-fixa {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 12px var(--margem) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--salvia-clara);
  box-shadow: 0 -6px 20px rgba(42, 38, 34, 0.1);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.barra-fixa.mostrar {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease;
}

/* ---------- Faixa de cookies (só com Pixel ligado) ---------- */

.faixa-cookies {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 560px;
  margin-inline: auto;
  padding: 14px 16px;
  border: 1px solid var(--salvia);
  border-radius: 16px;
  background: var(--papel);
  box-shadow: 0 8px 24px rgba(42, 38, 34, 0.14);
  color: var(--tinta);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.faixa-cookies p { flex: 1 1 200px; }

.faixa-cookies div {
  display: flex;
  gap: 8px;
}

.faixa-cookies button {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--verde);
  border-radius: 999px;
  background: transparent;
  color: var(--verde);
  font: 700 0.9375rem var(--texto);
  cursor: pointer;
}

.faixa-cookies [data-escolha="aceito"] {
  background: var(--verde);
  color: var(--papel);
}

/* ---------- Movimento (o JavaScript só esconde o que está abaixo da tela) ---------- */

.revela {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.revela.visivel {
  opacity: 1;
  transform: none;
}

/* ---------- Celular ---------- */

@media (max-width: 767px) {
  .js .rodape { padding-bottom: calc(48px + var(--altura-barra) + env(safe-area-inset-bottom, 0px)); }
  .com-barra .faixa-cookies { bottom: calc(var(--altura-barra) + 12px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 359px) {
  .chamada { font-size: 0.875rem; }
  .botao { padding-inline: 20px; }
  .botao-discreto { padding-inline: 14px; }
  .topo-logo { height: 24px; }
}

/* ---------- Tela grande ---------- */

@media (min-width: 768px) {
  body { font-size: 1.125rem; }

  .barra-fixa { display: none !important; }

  .botao {
    display: inline-flex;
    width: auto;
    padding-inline: 36px;
  }

  .topo { padding-block: 18px; }
  .topo-logo { height: 32px; }

  .dupla {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .dupla-invertida > .foto { order: -1; }

  .passos {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
  }

  .passo {
    grid-template-columns: 1fr;
    row-gap: 14px;
    padding-bottom: 0;
  }

  .passo-num {
    width: 88px;
    height: 88px;
    font-size: 3.25rem;
  }

  .passo:not(:last-child)::before {
    top: 42px;
    right: -28px;
    bottom: auto;
    left: 100px;
    width: auto;
    height: 4px;
    background-position: left center;
    background-size: 12px 4px;
    background-repeat: repeat-x;
  }

  .apoio {
    display: inline-flex;
    margin-top: 56px;
  }

  .conta-grade {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }

  .conta-cartao { padding: 40px; }
  .conta-cartao .botao { justify-self: start; }

  .cartoes {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .cartao { padding: 32px; }

  .rodape-grade {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
  }

  .rodape-info { margin-top: 0; }
}

@media (min-width: 880px) {
  .inicio { padding: 24px 0 112px; }

  .inicio-grade {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 64px;
  }

  .inicio-lead { font-size: 1.25rem; }
}

/* ---------- Preferências ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .revela {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .revela { opacity: 1 !important; transform: none !important; }
  .barra-fixa, .faixa-cookies, .pular { display: none !important; }
}

/* ---------- Peças da maleta e ajustes de fundo ---------- */

.pecas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pecas li {
  overflow: hidden;
  border-radius: var(--raio);
  background: var(--salvia);
  aspect-ratio: 1 / 1;
}

.pecas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selos-centro { margin-top: 24px; }

.secao-papel .conta-cartao,
.secao-papel .cartao,
.secao-papel .sanfona details { background: var(--salvia-clara); }

.secao-papel .sanfona summary::after { background-color: var(--papel); }

.conta-ganho strong { font-variant-numeric: lining-nums; }

@media (min-width: 768px) {
  .pecas {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
}

.secao-papel .cartao::after { border-color: var(--papel); }

.rodape-logo { margin-bottom: 20px; }

/* ---------- Toques de graça: brilho, faixa que desliza, escolha ---------- */

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

.brilho {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  position: relative;
  top: -0.6em;
  margin-left: 0.12em;
  vertical-align: baseline;
  fill: var(--musgo);
  animation: piscar 2.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes piscar {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.55) rotate(45deg); opacity: 0.45; }
}

.faixa {
  overflow: hidden;
  padding-block: 14px;
  background: var(--verde);
  color: var(--salvia-clara);
}

.faixa-trilho {
  display: flex;
  width: max-content;
  animation: deslizar 28s linear infinite;
}

.faixa-grupo {
  display: flex;
  align-items: center;
  flex: none;
}

.faixa-grupo span {
  padding-inline: 18px;
  font: 500 1.125rem/1 var(--titulo);
  font-variation-settings: "SOFT" 100;
  white-space: nowrap;
}

.faixa .brilho {
  width: 12px;
  height: 12px;
  top: 0;
  margin: 0;
  fill: var(--salvia);
}

.faixa-grupo .brilho:nth-of-type(even) { animation-delay: -1.3s; }

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

.escolha {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.escolha input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.escolha label {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1.5px solid var(--verde);
  border-radius: 999px;
  background: var(--papel);
  color: var(--verde);
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.escolha label:active { transform: scale(0.96); }

.escolha input:checked + label {
  background: var(--verde);
  color: var(--papel);
}

.escolha input:focus-visible + label {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
}

.escolha-respostas {
  flex: 1 0 100%;
  min-height: 5.6em;
  margin-top: 10px;
  padding: 20px 22px;
  border-radius: var(--raio);
  background: var(--papel);
  color: var(--tinta);
}

.escolha-respostas p { display: none; margin: 0; }
.escolha-respostas .r-nenhuma { display: block; color: var(--tinta-3); }

.escolha:has(input:checked) .r-nenhuma { display: none; }
#p-trabalho:checked ~ .escolha-respostas .r-trabalho,
#p-familia:checked ~ .escolha-respostas .r-familia,
#p-clientes:checked ~ .escolha-respostas .r-clientes,
#p-redes:checked ~ .escolha-respostas .r-redes {
  display: block;
  animation: surgir 0.3s ease-out;
}

@keyframes surgir {
  from { opacity: 0; transform: translateY(6px); }
}

.escolha + .vistos { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .brilho, .faixa-trilho, .escolha-respostas p { animation: none !important; }
}

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

.rodape { text-align: center; }

.rodape-grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.rodape-logo { margin-inline: auto; }
.rodape-info { margin-top: 4px; justify-items: center; }
.rodape-links { justify-content: center; }

@media (min-width: 768px) {
  .rodape-grade { flex-direction: column; justify-content: flex-start; gap: 0; }
  .rodape-info { margin-top: 4px; }
}

/* ---------- Cabeçalho com a logo completa ---------- */

.topo { padding-block: 18px 0; }

.topo-linha {
  justify-content: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--salvia);
}

.topo-logo { height: 50px; }
.topo .botao-discreto { display: none; }

.chamada {
  gap: 12px;
  font-family: var(--texto);
  line-height: 1.55;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chamada::before {
  width: 28px;
  height: 0;
  border: 0;
  border-top: 1.5px solid var(--musgo);
  border-radius: 0;
}

@media (max-width: 359px) {
  .topo-logo { height: 44px; }
  .chamada { font-size: 0.75rem; }
}

@media (min-width: 768px) {
  .topo { padding-block: 22px 0; }
  .topo-linha { justify-content: space-between; padding-bottom: 20px; }
  .topo-logo { height: 60px; }
  .topo .botao-discreto { display: inline-flex; }
}

/* ---------- Seção de apoio e fundos trocados ---------- */

.secao-papel .escolha-respostas { background: var(--salvia-clara); }

@media (min-width: 880px) {
  .cartoes-3 { grid-template-columns: repeat(3, 1fr); }
}

/* O link "Pular para o conteúdo" fica escondido de verdade (não só fora da tela):
   o esticão do topo no iPhone mostrava a pílula. Aparece só com foco de teclado. */
.pular:not(:focus) {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  transform: none;
}

/* ---------- Faixa de cookies em uma linha: "Aceitar" cheio, "Recusar" discreto ---------- */

.faixa-cookies {
  flex-wrap: nowrap;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.faixa-cookies p { flex: 1 1 auto; margin: 0; }
.faixa-cookies a { color: var(--verde); white-space: nowrap; }
.faixa-cookies div { flex: none; align-items: center; gap: 2px; }

.faixa-cookies button {
  padding: 0 16px;
  font-size: 0.875rem;
}

.faixa-cookies [data-escolha="recusado"] {
  padding: 0 10px;
  border-color: transparent;
  color: var(--tinta-3);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
