/* ============================================================
   STYLE.CSS — Página de Termos e Condições
   lp.congressodepilacao.com.br/termos/
   ============================================================ */

/* --- Header --- */
.termos-header {
  background: var(--dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.termos-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.termos-logo {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.15s;
}
.termos-logo:hover { color: #fff; }

.termos-versao-badge {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.termos-versao-badge span:first-child {
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
}

/* --- Main --- */
.termos-main {
  padding: 3rem 0 4rem;
  background: var(--cream);
  min-height: 80vh;
}

.termos-container {
  max-width: 760px;
}

/* --- Título principal --- */
.termos-titulo {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--cream-dark);
}
.termos-titulo h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.termos-titulo p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

/* --- Sumário --- */
.termos-sumario {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.sumario-titulo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}
.termos-sumario ol {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.25rem;
}
.termos-sumario li {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  break-inside: avoid;
}
.termos-sumario a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s;
}
.termos-sumario a:hover { color: var(--green-dark); }

/* --- Corpo das cláusulas --- */
.termos-corpo {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.termos-corpo section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
}
.termos-corpo section:last-child {
  border-bottom: none;
}

.termos-corpo h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--black);
  padding-top: 0.5rem;
}

.termos-corpo h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

.termos-corpo p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.65rem;
}
.termos-corpo p:last-child { margin-bottom: 0; }

.termos-corpo ul,
.termos-corpo ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.termos-corpo li {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}
.termos-corpo li strong { color: var(--dark); }

/* --- Rodapé do documento --- */
.termos-rodape-doc {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--dark);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.55);
  font-size: 0.825rem;
  line-height: 1.6;
}
.termos-rodape-doc strong { color: rgba(255,255,255,0.85); }
.termos-rodape-doc p { margin-bottom: 0.5rem; }
.termos-rodape-doc p:last-child { margin-bottom: 0; }
.versao-info {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--gold) !important;
  font-family: var(--font-display);
  font-size: 0.8rem !important;
  font-weight: 600;
}

/* --- Responsivo --- */
@media (max-width: 600px) {
  .termos-sumario ol { columns: 1; }
  .termos-header .container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .termos-versao-badge { font-size: 0.7rem; }
}
