/* ==================================================
   GIRO — SORTEADOR ONLINE | Desenvolvido por Paula Oliveira

   ÍNDICE
   1. Variáveis globais (design tokens)
   2. Base e reset
   3. Cabeçalho e navegação
   4. Área principal (hero) e painel do sorteador
   5. Abas, campos e formulário
   6. Botões e resultado
   7. Globo decorativo
   8. Seções de conteúdo (cards, histórico, FAQ, sobre)
   9. Rodapé e efeitos
   10. Responsividade e acessibilidade
   11. Ajuste de dimensões do sorteador (desktop)
================================================== */

:root {
  color-scheme: dark; 
  --fundo: #150b2e;
  --fundo-secundario: #1e1038;
  --roxo: #5b21b6;
  --violeta: #7c3aed;
  --lilas: #a78bfa;
  --lilas-claro: #c4b5fd;
  --ouro: #fbbf24;
  --texto: #ede9fe;
  --texto-suave: #b8addb;
  --vidro: rgba(255, 255, 255, 0.055);
  --borda: rgba(167, 139, 250, 0.25);
  --largura: 1180px;
  --altura-topo: 68px; 
  --raio: 18px;
  --sombra: 0 24px 60px rgba(0, 0, 0, 0.32);
}

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

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

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, #3b1a8a, transparent 60%),
    radial-gradient(700px 500px at -10% 45%, var(--fundo-secundario), transparent 60%),
    var(--fundo);
  background-attachment: fixed;
  color: var(--texto);
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

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

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

::selection {
  background: var(--violeta);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--fundo);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--fundo);
  border-radius: 999px;
  background: linear-gradient(var(--roxo), var(--violeta));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--violeta), var(--lilas));
}

@supports (scrollbar-width: thin) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--violeta) var(--fundo);
  }
}

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--altura-topo);
  align-items: center;
  justify-content: space-between;
  
  padding: 10px max(5%, env(safe-area-inset-right)) 10px max(5%, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(167, 139, 250, 0.13);
  background: rgba(21, 11, 46, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.marca svg {
  flex: none;
}

.marca b {
  color: var(--lilas);
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 26px);
}

.menu a {
  color: var(--texto-suave);
  font-size: 0.94rem;
  font-weight: 550;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #fff;
}

.btn-menu {
  display: none; 
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: var(--vidro);
  cursor: pointer;
}

.btn-menu span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.btn-menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--largura);
  margin: clamp(42px, 7vh, 78px) auto 54px;
  padding: 0 5%;
}

.painel {
  min-width: 0; 
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--borda);
  border-radius: 26px;
  background: var(--vidro);
  box-shadow: var(--sombra);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sobretitulo {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--lilas);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.sub {
  margin: 10px 0 20px;
  color: var(--texto-suave);
}

.abas {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.aba {
  min-width: 112px;
  min-height: 44px; 
  padding: 9px 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--texto-suave);
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.aba.ativa {
  background: var(--violeta);
  color: #fff;
}

.aba:hover:not(.ativa) {
  color: #fff;
}

label {
  display: block;
  color: var(--texto-suave);
  font-size: 0.88rem;
  font-weight: 550;
}

input[type="number"],
textarea {
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--borda);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="number"] {
  min-height: 48px;
}

textarea {
  min-height: 104px;
  resize: vertical; 
}

input[type="number"]:focus,
textarea:focus {
  border-color: var(--lilas);
  outline: none;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: rgba(184, 173, 219, 0.65);
}

.linha {
  
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini {
  
  max-width: 190px;
  margin-top: 14px;
}

.ajuda-campo {
  display: flex;
  flex-wrap: wrap; 
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  margin-top: 6px;
  color: var(--texto-suave);
  font-size: 0.78rem;
}

.contador-nomes {
  color: var(--lilas-claro);
  font-weight: 650;
  font-variant-numeric: tabular-nums; 
}

.contador-nomes.aviso {
  color: #fda4af;
}

.linha-nomes {
  display: flex;
  align-items: flex-end; 
  justify-content: space-between;
  gap: 12px;
}

.linha-nomes .btn-link {
  margin-right: -10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0;
  color: var(--texto);
  font-size: 0.94rem;
  cursor: pointer;
}

.check input {
  
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--violeta);
  cursor: pointer;
}

.btn-principal {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(100deg, var(--roxo), var(--violeta) 58%, var(--lilas));
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
  color: #fff;
  font-size: 1.04rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-principal:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.48);
}

.btn-principal:active:not(:disabled) {
  transform: translateY(0);
}

.btn-principal:disabled {
  opacity: 0.68;
  cursor: wait; 
}

.btn-link {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--lilas);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.btn-link:hover:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.erro {
  
  min-height: 1.4em;
  margin-top: 8px;
  color: #fda4af;
  font-size: 0.88rem;
  text-align: center;
}

.erro:empty {
  display: none; 
}

.resultado {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.27);
  text-align: center;
}

.resultado small {
  color: var(--texto-suave);
}

.saida {
  
  min-height: 1.3em;
  margin: 5px 0;
  color: var(--lilas-claro);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.saida.girando {
  opacity: 0.72;
  filter: blur(1px);
}

.saida.resultado-final {
  animation: revelar-resultado 0.55s ease;
}

.saida.longo {
  max-height: 26vh;
  overflow-y: auto;
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  line-height: 1.5;
}

@keyframes revelar-resultado {
  0% { transform: scale(0.78); opacity: 0.4; }
  65% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}

.vitrine {
  position: relative;
  display: grid;
  min-height: 390px;
  align-content: center;
  justify-items: center;
}

.globo {
  position: relative;
  width: clamp(210px, 28vw, 310px);
  aspect-ratio: 1;
  border: 2px solid rgba(167, 139, 250, 0.48);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.32), rgba(124, 58, 237, 0.2) 45%, rgba(30, 16, 56, 0.65));
  box-shadow: inset 0 0 50px rgba(124, 58, 237, 0.45), 0 0 80px rgba(124, 58, 237, 0.32);
}

.bola,
.solta {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #ddd6fe 60%, var(--lilas));
  color: #2a1760;
  font-weight: 850;
}

.bola {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  font-size: clamp(0.8rem, 1.8vw, 1.2rem);
  animation: flutuar-bola 4s ease-in-out infinite;
}

.b1 { top: 50%; left: 14%; }
.b2 { top: 36%; left: 42%; animation-delay: -1s; }
.b3 { top: 60%; left: 34%; animation-delay: -2s; }
.b4 { top: 52%; left: 58%; animation-delay: -0.5s; }
.b5 { top: 30%; left: 10%; animation-delay: -3s; }
.b6 { top: 20%; left: 54%; animation-delay: -1.5s; }

@keyframes flutuar-bola {
  50% { transform: translate(8%, -30%) rotate(25deg); }
}

.base {
  display: grid;
  width: clamp(165px, 22vw, 240px);
  height: 64px;
  place-items: center;
  margin-top: -10px;
  border-radius: 12px 12px 40px 40px;
  background: linear-gradient(#2e1f66, #120a2b);
}

.base i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violeta);
  box-shadow: 0 0 22px var(--lilas);
}

.solta {
  position: absolute;
  width: clamp(42px, 5vw, 60px);
  aspect-ratio: 1;
  opacity: 0.75;
  animation: flutuar 6s ease-in-out infinite;
}

.s1 { top: 6%; right: 2%; }
.s2 { bottom: 30%; left: 2%; animation-delay: -2s; }
.s3 { right: 0; bottom: 16%; width: clamp(54px, 7vw, 80px); animation-delay: -4s; }

@keyframes flutuar {
  50% { transform: translateY(-14px); }
}

.bloco {
  max-width: 1100px;
  margin: clamp(48px, 7vw, 82px) auto;
  padding: 0 5%;
}

.bloco > .sobretitulo {
  margin-bottom: 5px;
}

.bloco h2 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: -0.55px;
  line-height: 1.2;
}

.estreito {
  max-width: 780px;
}

.cab-bloco {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cab-bloco h2 {
  margin-bottom: 0;
}

.grade {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}

.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--vidro);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--lilas);
}

.card h3 {
  margin: 9px 0 5px;
  font-size: 1.1rem;
}

.card p {
  color: var(--texto-suave);
  font-size: 0.94rem;
}

.num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--violeta);
  font-weight: 850;
}

.emoji { font-size: 1.8rem; }

.historico {
  display: grid;
  gap: 9px;
  list-style: none;
}

.historico li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--borda);
  border-radius: 13px;
  background: var(--vidro);
}

.historico-resultado {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.historico-data {
  flex: none;
  color: var(--texto-suave);
  font-size: 0.84rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.historico .vazio {
  justify-content: center;
  color: var(--texto-suave);
  text-align: center;
}

details {
  margin-bottom: 10px;
  padding: 16px 20px;
  border: 1px solid var(--borda);
  border-radius: 14px;
  background: var(--vidro);
}

summary {
  cursor: pointer;
  font-weight: 650;
}

summary:hover { color: var(--lilas); }

details p {
  margin-top: 10px;
  color: var(--texto-suave);
}

code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--ouro);
  font-size: 0.9em;
}

.sobre {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--borda);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.32), rgba(124, 58, 237, 0.1));
}

.avatar {
  
  display: grid;
  width: 96px;
  height: 96px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lilas), var(--roxo));
  font-size: 1.9rem;
  font-weight: 850;
}

.sobre-conteudo { min-width: 0; }
.sobre-conteudo h2 { margin-bottom: 10px; }
.sobre p { margin-bottom: 15px; color: var(--texto-suave); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
  list-style: none;
}

.chips li {
  padding: 5px 12px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.84rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-borda {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid var(--lilas);
  border-radius: 12px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-borda:hover {
  background: var(--lilas);
  color: var(--fundo-secundario);
}

.rodape {
  padding: 36px 5% calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--borda);
  color: var(--texto-suave);
  text-align: center;
}

#festa {
  position: fixed;
  z-index: 50;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.revela {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (min-width: 1500px) {
  .hero,
  .bloco { max-width: 1300px; }
  .globo { width: 340px; }
}

@media (max-width: 1000px) {
  .menu { gap: 14px; }
  .menu a { font-size: 0.88rem; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    gap: 28px;
  }
  .tres,
  .quatro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-top: 42px;
  }
  .vitrine { display: none; }
}

@media (max-width: 760px) {
  .btn-menu { display: flex; }
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    visibility: hidden;
    border-bottom: 1px solid var(--borda);
    background: rgba(21, 11, 46, 0.98);
    transition: max-height 0.3s ease, visibility 0s linear 0.3s;
  }
  .menu.aberto {
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    visibility: visible;
    transition: max-height 0.3s ease;
  }
  .menu a {
    padding: 14px 7%;
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    font-size: 1rem;
  }
  .sobre {
    flex-direction: column;
    text-align: center;
  }
  .chips,
  .links { justify-content: center; }
}

@media (max-width: 560px) {
  .hero {
    margin-top: 30px;
    padding: 0 4%;
  }
  .painel {
    padding: 20px;
    border-radius: 21px;
  }
  h1 { font-size: clamp(1.65rem, 7vw, 2.15rem); }
  .linha {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .linha input[type="number"] { padding: 10px 7px; }
  .bloco { padding: 0 4%; }
  .tres,
  .quatro { grid-template-columns: 1fr; }
  .historico li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .historico-data { white-space: normal; }
  .cab-bloco { align-items: flex-start; }
  .abas { display: flex; width: 100%; }
  .aba {
    min-width: 0;
    flex: 1;
    padding: 9px 12px;
  }
  .sobre { padding: 24px 18px; }
}

@media (max-width: 380px) {
  .linha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linha label:last-child { grid-column: 1 / -1; }
  .painel { padding: 17px; }
  .marca { font-size: 1.35rem; }
  .historico li { padding: 12px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .vitrine { display: none; }
  .hero { grid-template-columns: 1fr; }
}

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

@media (min-width: 821px) {
  
  :root {
    --altura-saida: clamp(32px, 7.2vh, 66px);
    --altura-topo: clamp(56px, 8vh, 68px);
  }

  
  .hero {
    width: 100%;
    max-width: 1500px;
    min-height: calc(100svh - var(--altura-topo));
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(36px, 4vw, 64px);
    margin: 0 auto;
    padding: clamp(8px, 2vh, 42px) 4%;
  }

  .painel {
    padding: clamp(10px, 2.6vh, 38px) clamp(20px, 2.3vw, 38px);
  }

  
  .sobretitulo {
    margin-bottom: clamp(2px, 0.7vh, 6px);
    font-size: clamp(0.64rem, 1.35vh, 0.72rem);
    line-height: 1.3;
  }

  h1 {
    
    font-size: clamp(1.25rem, min(4.6vh, 2.7vw), 2.55rem);
  }

  .sub {
    margin: clamp(3px, 1vh, 8px) 0 clamp(6px, 2vh, 16px);
    font-size: clamp(0.76rem, 2vh, 1rem);
    line-height: 1.4;
  }

  
  .abas {
    margin-bottom: clamp(6px, 1.8vh, 14px);
    padding: clamp(2px, 0.5vh, 4px);
  }

  .aba {
    min-height: clamp(30px, 5vh, 44px);
    padding: 6px 20px;
    font-size: clamp(0.85rem, 2vh, 1rem);
  }

  
  label {
    font-size: clamp(0.74rem, 1.7vh, 0.88rem);
    line-height: 1.35;
  }

  input[type="number"] {
    min-height: clamp(30px, 5.2vh, 46px);
    margin-top: clamp(2px, 0.7vh, 7px);
    padding: clamp(4px, 1vh, 10px);
    font-size: clamp(0.88rem, 2vh, 1rem);
  }

  
  textarea {
    height: clamp(40px, 9vh, 92px);
    min-height: 0;
    margin-top: clamp(2px, 0.7vh, 7px);
    padding: clamp(4px, 1vh, 10px);
    font-size: clamp(0.88rem, 2vh, 1rem);
  }

  .ajuda-campo {
    margin-top: clamp(1px, 0.6vh, 6px);
    font-size: clamp(0.64rem, 1.5vh, 0.78rem);
    line-height: 1.3;
  }

  .mini {
    margin-top: clamp(3px, 1.3vh, 10px);
  }

  .check {
    margin: clamp(5px, 1.6vh, 14px) 0;
    font-size: clamp(0.82rem, 1.9vh, 0.94rem);
  }

  .check input {
    width: clamp(16px, 2.4vh, 20px);
    height: clamp(16px, 2.4vh, 20px);
  }

  
  .btn-principal {
    min-height: clamp(36px, 5.8vh, 50px);
    font-size: clamp(0.9rem, 2.1vh, 1.04rem);
  }

  .erro {
    margin-top: clamp(3px, 0.6vh, 5px);
    font-size: clamp(0.76rem, 1.7vh, 0.88rem);
  }

  
  .resultado {
    margin-top: clamp(5px, 1.4vh, 10px);
    padding: clamp(3px, 1.3vh, 12px);
  }

  .resultado {
    line-height: 1.3;
  }

  .resultado small {
    font-size: clamp(0.72rem, 1.6vh, 0.85rem);
  }

  .saida {
    display: flex;
    height: var(--altura-saida);
    min-height: 0;
    align-items: center;
    justify-content: center;
    margin: clamp(1px, 0.4vh, 3px) 0;
    font-size: clamp(1.5rem, min(5.2vh, 3.5vw), 2.7rem);
    line-height: 1.15;
  }

  
  .saida.longo {
    display: block;
    max-height: none;
    font-size: clamp(0.88rem, min(2.4vh, 2.4vw), 1.3rem);
    line-height: 1.35;
  }

  .btn-link {
    min-height: clamp(26px, 4.4vh, 40px);
    padding: 4px 10px;
    font-size: clamp(0.82rem, 1.9vh, 1rem);
  }

  
  .vitrine {
    min-height: 0;
  }

  .globo {
    
    width: clamp(200px, min(19vw, 42vh), 350px);
  }

  .base {
    width: clamp(150px, min(17vw, 37vh), 270px);
    height: clamp(40px, 8vh, 60px);
  }
}
