/* ============================================================
   Santé Club — estilos compartilhados
   Marca: Santé Denim · Fonte: Poppins · Cor principal: #000
   Mobile-first, responsivo, browser/email-safe.
   ============================================================ */

:root {
  --preto: #000000;
  --branco: #ffffff;
  --fundo: #faf8f5;        /* off-white claro, feminino */
  --fundo-alt: #f2ede7;    /* areia suave para seções */
  --cinza-texto: #3a3a3a;
  --cinza-suave: #6b6b6b;
  --borda: #e3ddd5;
  --acento: #b98a6a;       /* nude/terroso elegante */
  --acento-escuro: #8f6a50;
  --raio: 14px;
  --raio-sm: 8px;
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.08);
  --sombra-forte: 0 16px 44px rgba(0, 0, 0, 0.14);
  --largura: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--cinza-texto);
  background: var(--fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--preto);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--acento-escuro);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--preto);
  color: var(--branco);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 var(--raio-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Cabeçalho ---------- */

.site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--preto);
}

.brand span {
  color: var(--acento-escuro);
}

.header-nav a {
  color: var(--preto);
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: 22px;
}

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

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--preto);
  color: var(--branco);
}

.btn-primary:hover {
  background: #1c1c1c;
  transform: translateY(-2px);
  box-shadow: var(--sombra-forte);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--preto);
  border: 1.5px solid var(--preto);
}

.btn-ghost:hover {
  background: var(--preto);
  color: var(--branco);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(185, 138, 106, 0.16), transparent 60%),
    linear-gradient(180deg, var(--branco) 0%, var(--fundo) 100%);
  padding: 64px 0 72px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acento-escuro);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4em;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--cinza-suave);
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Seções ---------- */

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--fundo-alt);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 1.9rem;
}

.section-head p {
  color: var(--cinza-suave);
  margin-bottom: 0;
}

/* ---------- Grid de cards (como funciona) ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 28px 26px;
  box-shadow: var(--sombra);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3em;
}

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

.card li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px solid var(--borda);
}

.card li:last-child {
  border-bottom: none;
}

.card li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acento);
}

.card li strong {
  color: var(--preto);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--preto);
  color: var(--branco);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Tabela de recompensas ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--raio);
  border: 1px solid var(--borda);
  background: var(--branco);
  box-shadow: var(--sombra);
}

table.rewards {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

table.rewards caption {
  text-align: left;
  padding: 18px 20px 0;
  color: var(--cinza-suave);
  font-size: 0.9rem;
}

table.rewards th,
table.rewards td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--borda);
}

table.rewards thead th {
  background: var(--preto);
  color: var(--branco);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

table.rewards tbody tr:last-child td {
  border-bottom: none;
}

table.rewards tbody tr:nth-child(even) td {
  background: var(--fundo);
}

table.rewards td strong {
  color: var(--preto);
}

.table-note {
  font-size: 0.86rem;
  color: var(--cinza-suave);
  margin-top: 14px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-sm);
  padding: 4px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--preto);
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.4rem;
  color: var(--acento-escuro);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--cinza-suave);
}

/* ---------- CTA final ---------- */

.cta-final {
  background: var(--preto);
  color: var(--branco);
  text-align: center;
  padding: 66px 0;
}

.cta-final h2 {
  color: var(--branco);
  font-size: 2rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-final .btn-primary {
  background: var(--branco);
  color: var(--preto);
}

.cta-final .btn-primary:hover {
  background: var(--fundo-alt);
}

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

.site-footer {
  background: var(--fundo-alt);
  border-top: 1px solid var(--borda);
  padding: 34px 0;
  font-size: 0.9rem;
  color: var(--cinza-suave);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--preto);
  font-weight: 500;
}

.footer-links a {
  margin-left: 20px;
}

/* ---------- Página de regulamento ---------- */

.doc {
  background: var(--branco);
  padding: 56px 0 72px;
}

.doc .container {
  max-width: 800px;
}

.doc h1 {
  font-size: 2.1rem;
  margin-bottom: 0.2em;
}

.doc .updated {
  color: var(--cinza-suave);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.doc h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid var(--borda);
}

.doc h2:first-of-type {
  border-top: none;
}

.doc ol,
.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
}

.doc .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 500;
}

/* ============================================================
   Responsivo — breakpoints (mobile-first, escala para cima)
   ============================================================ */

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 92px 0 100px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero .lead {
    font-size: 1.22rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 84px 0;
  }

  .section-head h2 {
    font-size: 2.3rem;
  }
}

/* Acessibilidade: respeita preferência de menos movimento */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
