/* Ruhn · site. Mesmo design system do app (docs/design/tokens.json):
   cinza com granulado no claro, preto inteiro no escuro, nunca os dois na mesma seção,
   limão só como sinal, nenhuma sombra, números grandes com decimais em cinza. */
:root {
  --preto: #0A0A0A; --branco: #FFFFFF; --fundo: #F1F1F2;
  --cinza-1: #F2F2F4; --cinza-2: #E5E5EA; --cinza-3: #D1D1D6; --cinza-4: #AEAEB2;
  --texto-2: #6E6E73; --limao: #E2FF4E; --escuro-1: #1C1C1E; --escuro-2: #2C2C2E;
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --mao: "Caveat", "Bradley Hand", cursive;
  --larg: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; font-family: var(--f); color: var(--preto); background: var(--fundo); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
.grao { background-color: var(--fundo); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.escuro { background: #000; color: #fff; }
.caixa { max-width: var(--larg); margin: 0 auto; padding: 0 28px; }
.c2 { color: var(--texto-2); }
.c3 { color: var(--cinza-4); }
.escuro .c2 { color: rgba(255,255,255,.6); }
.escuro .c3 { color: rgba(255,255,255,.36); }
.lima { color: var(--limao); }

/* tipo */
.h-mega { font-size: clamp(48px, 7.4vw, 96px); line-height: .98; font-weight: 700; letter-spacing: -.045em; }
.h-1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
.h-2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.h-3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.corpo { font-size: 16px; line-height: 1.5; font-weight: 500; }
.apoio { font-size: 14px; line-height: 1.4; font-weight: 500; }
.num { font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.mao { font-family: var(--mao); font-weight: 600; color: #2C2C2E; }

/* topo */
.topo { position: sticky; top: 0; z-index: 10; background: rgba(241,241,242,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; }
.topo .caixa { display: flex; align-items: center; gap: 28px; height: 68px; }
.topo nav { display: flex; gap: 26px; margin-left: auto; }
.topo nav a { font-size: 15px; font-weight: 600; color: var(--texto-2); }
.topo nav a:hover { color: var(--preto); }

/* botões e campos */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--preto); color: #fff; font: 600 16px/1 var(--f); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; }
.bt.p { height: 42px; padding: 0 18px; font-size: 15px; }
.bt.branco { background: #fff; color: var(--preto); }
.escuro .bt { background: #fff; color: var(--preto); }
.lista { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 470px; }
.lista input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 17px var(--f); padding: 0 16px; color: var(--preto); }
.lista input::placeholder { color: var(--cinza-4); }
.escuro .lista { background: var(--escuro-1); }
.escuro .lista input { color: #fff; }
.aviso-form { margin-top: 12px; min-height: 20px; }
.pilula { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; font: 600 14px/1 var(--f); white-space: nowrap; }
.escuro .pilula { background: var(--escuro-2); color: #fff; }
.ponto { width: 8px; height: 8px; border-radius: 999px; background: var(--limao); box-shadow: inset 0 0 0 1.5px var(--preto); flex: none; }
.escuro .ponto { box-shadow: none; }

/* seções */
section { padding: 110px 0; overflow-x: clip; }
.cab { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.cab.centro { margin: 0 auto; text-align: center; align-items: center; }

/* hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .caixa { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .texto { display: flex; flex-direction: column; gap: 24px; }
.palco { position: relative; height: 640px; }

/* celular: moldura preta, sem sombra */
.cel { position: absolute; width: 280px; border-radius: 46px; background: #0A0A0A; padding: 9px; }
.cel img { width: 100%; border-radius: 37px; }
.cel.p { width: 236px; border-radius: 40px; padding: 8px; }
.cel.p img { border-radius: 32px; }
.escuro .cel { background: #2C2C2E; }

/* cartõezinhos flutuantes (avisos da galera e do Coach) */
.balao { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; font: 500 14px/1.3 var(--f); white-space: nowrap; }
.balao img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; flex: none; }
.balao .icone-app { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.escuro .balao { background: var(--escuro-1); color: #fff; }

/* polaroide */
.polaroide { position: absolute; background: #fff; border-radius: 7px; padding: 8px 8px 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.polaroide .foto { border-radius: 4px; overflow: hidden; }
.polaroide .leg { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 4px 8px; }

/* régua da disputa */
.disputa { background: #fff; border-radius: 30px; padding: 30px 34px 26px; }
.regua { position: relative; height: 64px; }

/* passos */
.tres { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.cartao { background: #fff; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.escuro .cartao { background: var(--escuro-1); }
.cartao .tag { font: 600 13px/1 var(--f); color: var(--texto-2); }
.escuro .cartao .tag { color: rgba(255,255,255,.55); }

/* coach */
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lista-itens { display: flex; flex-direction: column; margin-top: 30px; }
.item { display: flex; gap: 16px; padding: 18px 0; align-items: flex-start; background-image: radial-gradient(circle, rgba(255,255,255,.18) 1.1px, transparent 1.5px); background-size: 7px 3px; background-repeat: repeat-x; background-position: left bottom; }
.item:last-child { background-image: none; }
.item .n { font: 700 15px/1.3 var(--f); color: var(--preto); width: 24px; flex: none; }
.escuro .item .n { color: var(--limao); }
section:not(.escuro) .item { background-image: radial-gradient(circle, #D6D6DB 1.1px, transparent 1.5px); }

/* disputas */
.grade4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.icone-jo { width: 34px; height: 34px; }

/* provas */
.busca { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; max-width: 520px; font: 500 18px var(--f); }
.busca img { width: 40px; height: 40px; }

/* logos */
.logos { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 600 16px var(--f); }
.logo .tile { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* preço */
.planos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; max-width: 820px; margin: 44px auto 0; }
.plano { background: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plano.plus { box-shadow: inset 0 0 0 2px var(--preto); }
.plano ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plano li { display: flex; gap: 10px; font: 500 16px/1.4 var(--f); }
.plano li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.selo-plus { font: 700 12px/1 var(--f); padding: 5px 8px; border-radius: 999px; background: var(--limao); color: var(--preto); }

/* perguntas */
.faq { max-width: 820px; margin: 44px auto 0; background: #fff; border-radius: 28px; padding: 6px 30px; }
.faq details { padding: 20px 0; background-image: radial-gradient(circle, #D6D6DB 1.1px, transparent 1.5px); background-size: 7px 3px; background-repeat: repeat-x; background-position: left bottom; }
.faq details:last-child { background-image: none; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 600 18px/1.3 var(--f); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--texto-2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--texto-2); font: 500 16px/1.5 var(--f); max-width: 680px; }

/* rodapé */
footer { padding: 48px 0 56px; }
footer .caixa { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* celular */
@media (max-width: 920px) {
  .topo nav { display: none; }
  .hero .caixa, .duas { grid-template-columns: 1fr; }
  .palco { zoom: .82; }
  .tres, .grade4, .planos { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .ordem-celular { order: -1; }
}
@media (max-width: 480px) {
  .caixa { padding: 0 18px; }
  .lista { flex-direction: column; border-radius: 26px; }
  .lista input { height: 48px; }
  .palco { zoom: .58; }
  .hero { padding-top: 36px; }
  .pilula { white-space: normal; height: auto; padding: 8px 14px; line-height: 1.3; }
  .disputa { padding: 22px 18px 18px; }
}
