@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* Padel Social Club · identidade B1 "Editorial": verde-garrafa, marfim, latão.
   Latão só para a ação principal e para o que é conquista. */
:root {
  --g: #0f2a23; --g2: #15362d; --g3: #1c4438;
  --iv: #ece6d6; --st: #ada794; --br: #c29a5b; --br2: #e2c48e;
  --rule: rgba(236, 230, 214, 0.16); --up: #8fbf8a; --down: #e0907a;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body { background: var(--g); color: var(--iv); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--br); color: var(--g); }
:focus-visible { outline: 2px solid var(--br2); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tipografia */
.eyebrow { font: 500 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--br); margin: 0; }
h1 { font: 400 clamp(44px, 6.4vw, 88px)/.96 var(--serif); letter-spacing: -.01em; margin: 16px 0 20px; text-wrap: balance; }
h1 i, h2 i { color: var(--br2); }
h2 { font: 400 clamp(30px, 3.6vw, 44px)/1.04 var(--serif); margin: 8px 0 18px; text-wrap: balance; }
h3 { font: 400 24px/1.15 var(--serif); margin: 0 0 8px; }
.lead { color: var(--st); max-width: 48ch; font-size: 18px; margin: 0 0 28px; }
.muted { color: var(--st); }
.small { font-size: 13.5px; }
.num { font-variant-numeric: tabular-nums; }

/* topo */
.draft { background: var(--down); color: #1d0f0a; text-align: center; font: 600 13px var(--sans); padding: 7px 14px; }
.topbar { border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: rgba(15, 42, 35, .94); backdrop-filter: blur(8px); z-index: 40; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.logo { font: 400 26px/1 var(--serif); text-decoration: none; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.logo span { font: 500 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--br); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--iv); background: transparent; border: 1px solid var(--rule); border-radius: 2px; padding: 12px 18px; min-height: 46px;
}
.btn:hover { border-color: var(--st); }
.btn.solid { background: var(--br); border-color: var(--br); color: var(--g); }
.btn.solid:hover { background: var(--br2); border-color: var(--br2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 64px 72px; }
.counter { margin: 18px 0 0; font-size: 14px; color: var(--st); }
.counter b { color: var(--iv); font: 400 22px/1 var(--serif); }

/* cartão de membro */
.mcard {
  position: relative; aspect-ratio: 1.586; width: 100%; max-width: 440px; border-radius: 14px; padding: 22px 24px;
  background: linear-gradient(135deg, #1f4a3e 0%, #0b211b 55%, #173b31 100%); border: 1px solid rgba(226, 196, 142, .35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.mcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(226, 196, 142, .14) 50%, transparent 60%); pointer-events: none; }
.mcard .r1 { display: flex; justify-content: space-between; align-items: flex-start; font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--br2); }
.mcard .seal { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--br); display: grid; place-items: center; font: 400 14px/1 var(--serif); letter-spacing: .08em; color: var(--br2); }
.mcard .nm { font: 400 clamp(24px, 4vw, 32px)/1.1 var(--serif); overflow-wrap: anywhere; }
.mcard .nm.ph { color: var(--st); }
.mcard .r3 { display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; color: var(--st); letter-spacing: .06em; gap: 12px; }
.mcard .r3 .right { text-align: right; }
.mcard .r3 b { display: block; color: var(--iv); font: 400 24px/1 var(--serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mcard.reveal { animation: cardIn .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) rotateX(18deg) scale(.96); } to { opacity: 1; transform: none; } }
.hero .mcard { justify-self: end; transform: rotate(-2deg); }

/* secções */
.sec { padding-block: 64px; border-top: 1px solid var(--rule); }
.grid3, .grid4 { display: grid; border-top: 1px solid var(--rule); margin: 28px 0 0; padding: 0; list-style: none; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid3 > li, .grid4 > li { min-width: 0; padding: 24px 22px 8px; border-right: 1px solid var(--rule); }
.grid3 > li:first-child, .grid4 > li:first-child { padding-left: 0; }
.grid3 > li:last-child, .grid4 > li:last-child { border-right: 0; }
.grid3 p, .grid4 p { color: var(--st); margin: 0; font-size: 15px; }
.step { font: 500 13px var(--mono); color: var(--br); display: block; margin-bottom: 12px; }
.trail { font: 500 12.5px var(--mono); color: var(--br2); letter-spacing: .02em; display: block; margin-top: 10px; }

/* formulário */
.form-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 64px; align-items: start; }
.side { position: sticky; top: 110px; display: grid; gap: 14px; justify-items: start; }
form fieldset { border: 0; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; min-width: 0; }
form legend { font: 400 24px/1.2 var(--serif); margin-bottom: 12px; padding: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.f { display: grid; gap: 6px; font-size: 14px; color: var(--st); }
label.f .opt { font-size: 12.5px; }
input[type="text"], input[type="email"], input[type="tel"], select {
  font: 16px var(--sans); color: var(--iv); background: var(--g2); border: 1px solid var(--rule); border-radius: 2px;
  padding: 12px 14px; width: 100%; min-height: 48px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--st) 50%), linear-gradient(135deg, var(--st) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
input:focus, select:focus { outline: none; border-color: var(--br); }
[aria-invalid="true"] { border-color: var(--down) !important; }
.catpick { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.chip {
  position: relative; font: 500 14px var(--sans); color: var(--st); border: 1px solid var(--rule); border-radius: 999px;
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 6px;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { color: var(--g); background: var(--iv); border-color: var(--iv); }
.chip:has(input:focus-visible) { outline: 2px solid var(--br2); outline-offset: 2px; }
.catpick .wide { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--st); }
.check input { width: 20px; height: 20px; accent-color: var(--br); margin-top: 2px; flex: none; }
.check a { color: var(--iv); }
.ts { min-height: 65px; }
.notice { border: 1px solid var(--rule); border-left: 2px solid var(--br); padding: 12px 16px; font-size: 14px; background: var(--g2); margin: 0 0 16px; }
.notice.err { border-left-color: var(--down); }
.lbl { margin: 0 0 8px; }
.nomt { margin-top: 0; }
.fine { font-size: 12.5px; color: var(--st); margin: 14px 0 0; }

/* sucesso */
.done h2 { margin-top: 0; }
.done .mcard { margin: 8px 0 26px; }

/* perguntas */
.faq { max-width: 760px; border-top: 1px solid var(--rule); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font: 400 22px/1.25 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--sans); color: var(--br); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--st); margin: 0 0 20px; max-width: 64ch; }

/* rodapé */
footer.site { border-top: 1px solid var(--rule); padding-block: 28px 40px; color: var(--st); font-size: 13px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
footer.site a, footer.site button { color: var(--st); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* cookies */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto;
  background: var(--g3); border: 1px solid rgba(226, 196, 142, .35); border-radius: 6px; padding: 16px 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4); font-size: 14px;
}
.cookies p { margin: 0 0 12px; color: var(--iv); }
.cookies a { color: var(--br2); }

/* páginas legais */
.legal { max-width: 760px; padding-block: 48px 80px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); }
.legal h2 { font-size: 28px; margin-top: 40px; }
.legal p, .legal li { color: #d6d0bf; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.legal th { color: var(--st); font-weight: 500; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
  .hero .mcard { justify-self: start; transform: rotate(-1.5deg); }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .side { display: none; }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .grid3 > li, .grid4 > li { border-right: 0; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid4 > li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
  .grid4 > li:nth-child(even) { padding-left: 16px; }
}
@media (max-width: 560px) {
  .sec { padding-block: 48px; }
  .two { grid-template-columns: 1fr; }
  .catpick { grid-template-columns: repeat(4, 1fr); }
  .grid4 { grid-template-columns: 1fr; }
  .grid4 > li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .grid4 > li:nth-child(even) { padding-left: 0; }
  .topbar .btn { padding-inline: 12px; letter-spacing: .08em; }
  .logo { font-size: 22px; }
  .logo span { display: none; }
}
