/* ===== MEU CACHECOL — estilos partilhados ===== */
:root {
  --red: #D7191F; --red-dark: #B5141A; --red-soft: #FDECEC; --red-light: #FF4D52;
  --ink: #111418; --ink-2: #1E2329; --ink-3: #2E343C;
  --muted: #5B6168; --muted-2: #444A51; --on-dark: #C9CDD2; --on-dark-2: #9AA1A9;
  --line: #E6E8EB; --line-2: #C9CED4; --soft: #F5F6F7;
  --ok: #0F7A3D; --ok-bg: #E7F5EC; --warn: #7A4F00; --warn-bg: #FFF4DB; --blue: #0B3D91; --blue-bg: #E8EEF9;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red-dark); }
a:hover { color: #8E0F14; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .3px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Cabeçalho ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .5px; display: block; line-height: 1; }
.brand small { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { padding: 12px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 10px; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--red); }
@media (max-width: 720px) {
  .site-header { position: static; }
  .nav { order: 3; width: 100%; justify-content: space-between; }
  .nav a { padding: 10px 6px; font-size: 14px; }
  .site-header .header-cta { display: none; }
}

/* ---- Botões ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff !important; text-decoration: none; font: 700 16px var(--body);
  padding: 15px 26px; border-radius: 999px; min-height: 52px; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.block { width: 100%; }
.btn.small { font-size: 14px; padding: 10px 18px; min-height: 44px; }
.btn.ghost { background: transparent; border: 1.5px solid #4A515B; }
.btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.outline { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line-2); }
.btn.outline:hover { background: var(--soft); }
.link-btn { background: none; border: 0; padding: 10px 0; font: 600 14px var(--body); color: var(--red-dark); cursor: pointer; }

/* ---- Secções ---- */
section { padding: 72px 0; }
.soft { background: var(--soft); }
.dark { background: var(--ink); color: #fff; }
.dark p, .dark li { color: var(--on-dark); }
h2.display { font-size: clamp(34px, 5vw, 46px); margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 32px; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: rgba(215,25,31,.18); color: #FF8A8E; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 12px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { width: 44px; height: 44px; border-radius: 999px; background: var(--red); color: #fff; font: 800 24px var(--display); display: flex; align-items: center; justify-content: center; }

/* ---- Hero ---- */
.hero .wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 74px); margin: 0; }
.hero h1 span { color: var(--red-light); }
.hero p { font-size: 18px; margin: 0; max-width: 540px; }
.hero-visual { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.face-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---- Benefícios ---- */
.benefits { padding: 28px 0; border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.benefit { display: flex; gap: 14px; align-items: center; }
.benefit .ico { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.benefit strong { display: block; font-size: 15px; }
.benefit span { font-size: 14px; color: var(--muted); }

/* ---- Clubes ---- */
.club-card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: center; min-height: 104px; transition: border-color .15s, box-shadow .15s; }
.club-card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: 0 6px 20px rgba(17,20,24,.06); }
.club-card strong { font-size: 17px; display: block; }
.club-card .meta { font-size: 13px; color: var(--muted); }
.club-card .tag { font-size: 12px; font-weight: 700; color: var(--blue); }
.club-card.dashed { border: 1.5px dashed #B8BEC5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 16px; background: #fff; max-width: 640px; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; font: 17px var(--body); padding: 16px 0; background: transparent; }
.search:focus-within { border-color: var(--ink); }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; min-height: 56px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 4px 22px; font-size: 15px; color: var(--muted-2); }

/* ---- Formulários ---- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--muted); }
.input { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px; font: 16px var(--body); color: var(--ink); background: #fff; min-height: 50px; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,20,24,.08); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.alert { margin: 0; font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.alert.err { background: var(--red-soft); color: var(--red-dark); }
.alert.ok { background: var(--ok-bg); color: #0B5E2E; }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.option { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; cursor: pointer; font: inherit; color: var(--ink); min-height: 72px; background: #fff; border: 1.5px solid var(--line-2); text-align: left; }
.option input { accent-color: var(--red); width: 20px; height: 20px; flex: 0 0 auto; }
.option:has(input:checked) { background: #FFF5F5; border: 2px solid var(--red); }
.option .grow { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.option small { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.qty button { width: 52px; height: 50px; border: 0; background: #fff; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty output { width: 56px; text-align: center; font-size: 18px; font-weight: 700; }
.dropzone { border: 2px dashed #B8BEC5; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; background: #FAFBFB; min-height: 96px; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--ink); }
.dropzone img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.tips { background: var(--soft); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted-2); }

/* ---- Passos ---- */
.steps { background: var(--soft); border-bottom: 1px solid var(--line); }
.steps ol { margin: 0 auto; padding: 14px 20px; list-style: none; display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: 14px; font-weight: 600; max-width: 1200px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li span { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: #E6E8EB; color: var(--muted-2); }
.steps li.on { color: var(--ink); }
.steps li.on span { background: var(--red); color: #fff; }
.steps li.done { color: var(--ok); }
.steps li.done span { background: var(--ok); color: #fff; }

/* ---- Página do clube ---- */
.club-hero { color: #fff; }
.club-hero .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.club-hero h1 { font: 800 clamp(34px, 5vw, 52px)/1 var(--display); text-transform: uppercase; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.club-hero a { color: #fff; font-size: 13px; font-weight: 600; }
.club-hero .badge { background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.crest { width: 84px; height: 100px; flex: 0 0 auto; }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.shop { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; padding-top: 36px; padding-bottom: 80px; }
.shop > .col-preview { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shop > .col-form { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 980px) { .col-preview.sticky { position: sticky; top: 90px; } }
.preview-box { background: var(--ink); border-radius: 20px; padding: 28px 20px; display: flex; flex-direction: column; gap: 14px; }
.h-sec { font: 800 30px var(--display); text-transform: uppercase; margin: 0; }
.summary { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 19px; font-weight: 700; }

/* ---- Cachecol (pré-visualização) ---- */
.scarf { container-type: inline-size; width: 100%; font-family: var(--display); color: #fff; }
.scarf-row { width: 100%; aspect-ratio: 8 / 1; display: flex; }
.scarf .fringe { width: 2.6cqw; margin: 1.4cqw 0; }
.scarf-body { flex: 1; min-width: 0; border-radius: .7cqw; overflow: hidden; display: flex; align-items: center; box-shadow: 0 1cqw 2.4cqw rgba(0,0,0,.3); }
.scarf .photo { height: 100%; width: 14cqw; margin-left: 11cqw; background: #2A2F36; display: flex; align-items: flex-end; overflow: hidden; flex: 0 0 auto; }
.scarf .photo img, .scarf .photo svg { width: 100%; height: 100%; object-fit: cover; }
.scarf .names { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .88; font-weight: 800; }
.scarf .n1 { font-size: 3.8cqw; letter-spacing: .25cqw; text-transform: uppercase; white-space: nowrap; }
.scarf .n2 { font-size: 6.4cqw; }
.scarf .s-crest { height: 72%; aspect-ratio: 40 / 48; flex: 0 0 auto; }
.scarf .s-crest img { width: 100%; height: 100%; object-fit: contain; }
.scarf .face-a .s-crest { margin-right: 11cqw; }
.scarf .face-b { justify-content: space-between; padding: 0 6cqw; }
.scarf .club-name { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: .95; text-shadow: 0 .2cqw .6cqw rgba(0,0,0,.35); }
.scarf .club-name b { font-size: 4.6cqw; letter-spacing: .3cqw; text-transform: uppercase; white-space: nowrap; }
.scarf .club-name i { font-style: normal; font-weight: 700; font-size: 1.7cqw; letter-spacing: .5cqw; text-transform: uppercase; margin-top: .6cqw; }

/* ---- Rodapé ---- */
.site-footer { background: #0B0D10; color: var(--on-dark); font-size: 14px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer a { color: var(--on-dark); }
.site-footer strong { color: #fff; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer .legal { width: 100%; border-top: 1px solid #22272E; padding-top: 18px; font-size: 13px; color: var(--on-dark-2); }

/* ---- Páginas de texto (legais) ---- */
.prose { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.prose h1 { font: 800 44px/1 var(--display); text-transform: uppercase; }
.prose h2 { font-size: 20px; margin-top: 32px; }
.prose p, .prose li { color: var(--muted-2); }

/* ---- Spinner ---- */
.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Ajuste da fotografia ---- */
.adjust { display: flex; flex-direction: column; gap: 10px; background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.adjust #pvAdj { background: var(--ink); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.adj-mini { width: 100%; pointer-events: none; }
.adj-frame { position: relative; overflow: hidden; height: 220px; max-width: 100%; border-radius: 8px; outline: 2px dashed rgba(255,255,255,.5); outline-offset: 3px; }
.adj-btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); }
.adj-btn:hover { background: var(--soft); }
.pz-frame:has(.pz-img) { touch-action: none; cursor: grab; }
.pz-frame.dragging { cursor: grabbing; }
.pz-img { user-select: none; -webkit-user-drag: none; }
