/* =========================================================
   ARENA MATCH — páginas internas
   (time, arena, jogador e painel do usuário)
   Depende das variáveis e componentes de css/arena.css.
   ========================================================= */

/* ---------- Topo das páginas ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(57, 255, 20, .16), transparent 70%),
    linear-gradient(180deg, rgba(11, 15, 13, .55), var(--black)),
    url("../img/background.webp") center 30% / cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 40%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 18px var(--green);
  transform: rotate(-24deg);
  opacity: .45;
  z-index: -1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .2s;
}
.back-link svg { width: 16px; height: 16px; transition: transform .2s; }
.back-link:hover { color: var(--green); }
.back-link:hover svg { transform: translateX(-3px); }

/* Identidade (escudo/avatar + nome + metadados + ações) */
.identity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.identity-text { grid-template-columns: 1fr auto; }

.identity-badge { width: 132px; height: 148px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
.identity-badge svg { width: 100%; height: 100%; }

.identity-photo {
  width: 148px;
  height: 148px;
  border-radius: 24px;
  overflow: hidden;
  background: #bdbdbd center / cover;
  border: 2px solid var(--green);
  box-shadow: var(--glow);
}
.identity-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(2.6); transform-origin: 50% 8%; }
.identity-photo .avatar { width: 100%; height: 100%; border-radius: 0; box-shadow: none; font-size: 2.6rem; }

.identity-copy { display: grid; gap: 10px; min-width: 0; }
.identity-copy .title { font-size: clamp(2rem, 4.4vw, 3.4rem); }

.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: .92rem; }
.meta li { display: flex; align-items: center; gap: 6px; list-style: none; }
.meta svg { width: 16px; height: 16px; color: var(--green); }
.meta a:hover { color: var(--green); }

.pill {
  justify-self: start;
  width: max-content;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-title); font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--line-green);
  border-radius: 4px;
}
.pill-solid { background: var(--green); color: var(--black); border-color: var(--green); }

.identity-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Números em destaque */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.stats li {
  padding: 16px 18px;
  background: rgba(22, 28, 24, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 1.8rem; line-height: 1.1; }
.stats strong.accent { color: var(--green); }
.stats span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Corpo das páginas ---------- */
.page-body { padding: 48px 0 96px; }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }

.panel {
  padding: 26px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-head h2 { font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.panel-head a { font-size: .85rem; color: var(--green); font-weight: 600; }
.panel p { color: var(--text-2); }

.info-list { display: grid; gap: 14px; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.info-list dt { color: var(--text-3); }
.info-list dd { font-weight: 600; text-align: right; }
.info-list a { color: var(--green); }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 6px 12px; font-size: .82rem; color: var(--text-2); background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; }
.tag-list svg { width: 14px; height: 14px; color: var(--green); margin-right: 4px; vertical-align: -2px; }

/* ---------- Elenco ---------- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.player-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s var(--ease);
}
.player-card:hover { border-color: var(--green); transform: translateY(-3px); }
.player-card .avatar { width: 46px; height: 46px; font-size: .85rem; }
.player-card-info { display: grid; min-width: 0; line-height: 1.3; }
.player-card-info strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-card-info span { font-size: .78rem; color: var(--text-3); }
.player-number { margin-left: auto; font-family: var(--font-title); font-weight: 900; font-size: 1.3rem; color: rgba(255, 255, 255, .12); }
.player-card .captain { position: absolute; top: 8px; right: 10px; font-size: .62rem; font-weight: 700; letter-spacing: .1em; color: var(--green); }

/* Barras de desempenho */
.bars { display: grid; gap: 16px; }
.bar { display: grid; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-2); }
.bar-label b { color: var(--white); }
.bar-track { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: var(--v); background: linear-gradient(90deg, var(--green-deep), var(--green)); border-radius: inherit; }

/* Sequência de resultados */
.form-guide { display: flex; gap: 6px; }
.form-guide .result { width: 30px; height: 30px; font-size: .78rem; }

/* ---------- Arena: mídia e reservas ---------- */
.arena-cover {
  position: relative;
  aspect-ratio: 21 / 6;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: rgba(57, 255, 20, .5);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 40px, transparent 40px 80px),
    linear-gradient(160deg, #183A1C, #0E1A10 70%);
  border: 1px solid var(--line);
}
.arena-cover img { width: 100%; height: 100%; object-fit: cover; }
.arena-cover svg { width: 100%; height: 100%; padding: 4% 0; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.day {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  min-width: 68px;
  padding: 10px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: border-color .2s, background .2s, color .2s;
}
.day b { font-family: var(--font-title); font-size: 1.3rem; color: var(--white); letter-spacing: 0; }
.day:hover { border-color: var(--line-green); }
.day.is-active { background: var(--green); border-color: var(--green); color: var(--black); }
.day.is-active b { color: var(--black); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  padding: 12px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .2s, background .2s, color .2s;
}
.slot:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.slot.is-selected { background: var(--green); border-color: var(--green); color: var(--black); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .78rem; color: var(--text-3); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); }
.legend i.sel { background: var(--green); border-color: var(--green); }
.legend i.off { opacity: .35; }

.booking-summary { display: grid; gap: 14px; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.booking-total strong { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; }

.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Painel do usuário ---------- */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }

.dash-nav {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.dash-nav a svg { width: 18px; height: 18px; }
.dash-nav a:hover { background: var(--surface-2); color: var(--white); }
.dash-nav a.is-active { background: rgba(57, 255, 20, .1); color: var(--green); box-shadow: inset 3px 0 0 var(--green); }

/* Dentro do painel a área é estreita: uma coluna só, com a lateral no topo */
.dash .layout-2 { grid-template-columns: minmax(0, 1fr); }
.dash .layout-2 > aside { order: -1; }

.dash-section { display: grid; gap: 24px; animation: menu-in .25s var(--ease); }
.dash-section h2.title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dash-section .section-head { margin-bottom: 0; }

.empty-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, .08), transparent 50%),
    var(--surface-1);
  border: 1px dashed var(--line-green);
  border-radius: var(--radius-lg);
}
.empty-state svg.big { width: 48px; height: 48px; color: var(--green); stroke-width: 1.5; }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { color: var(--text-2); max-width: 46ch; }

/* ---------- Formulários (painel) ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

.form-field { display: grid; gap: 8px; }
.form-field label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  font: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form-field select option { background: var(--surface-2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(57, 255, 20, .12); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-hint { font-size: .78rem; color: var(--text-3); }

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }


/* ---------- Painel: blocos específicos ---------- */
.shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shortcuts a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .2s, color .2s;
}
.shortcuts a:hover { border-color: var(--green); color: var(--green); }
.shortcuts svg { width: 20px; height: 20px; color: var(--green); }

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--text-2); }
.checklist li.is-done { color: var(--text-3); text-decoration: line-through; }
.checklist a { color: var(--white); font-weight: 600; }
.checklist a:hover { color: var(--green); }
.check {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  flex-shrink: 0;
}
.check svg { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.is-done .check { background: var(--green); border-color: var(--green); color: var(--black); }
.is-done .check svg { opacity: 1; }

.team-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.team-summary .identity-badge { width: 84px; height: 94px; }
.team-summary .stats,
.panel .stats { margin-top: 24px; }
.panel .stats li { background: var(--surface-2); backdrop-filter: none; }

.booking { grid-template-columns: 120px 1fr auto; border-left-color: var(--green); }
.booking-info { display: grid; gap: 4px; }
.booking-info a:hover { color: var(--green); }
.booking-info span { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-3); }
.booking-info svg { width: 14px; height: 14px; color: var(--green); }

.photo-field { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 20px; row-gap: 6px; }
.photo-field > span:first-child { grid-row: span 2; }
.avatar-xl { width: 88px; height: 88px; font-size: 1.6rem; }

.checks { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.check-option { position: relative; cursor: pointer; }
.check-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-option span {
  display: inline-block;
  padding: 8px 14px;
  font-size: .85rem;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s, background .2s, color .2s;
}
.check-option:hover span { border-color: rgba(255, 255, 255, .25); }
.check-option input:checked + span { background: rgba(57, 255, 20, .1); border-color: var(--green); color: var(--green); }
.check-option input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.request-card { flex-wrap: wrap; }
.request-actions { display: flex; gap: 6px; margin-left: auto; }

.form-error { min-height: 1.2em; font-size: .88rem; color: #ff6b6b; }

.btn-danger { border-color: rgba(255, 77, 77, .45); color: #ff6b6b; }
.btn-danger:hover { background: rgba(255, 77, 77, .12); border-color: #ff6b6b; }
.danger-zone { border-color: rgba(255, 77, 77, .2); }

.team-crest-sm { width: 40px; height: 46px; flex-shrink: 0; }
.team-crest-sm svg { width: 100%; height: 100%; }
.stats strong { overflow-wrap: anywhere; }

/* Aviso rápido (toast) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line-green);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  font-size: .92rem;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast svg { color: var(--green); width: 18px; height: 18px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { border-color: rgba(255, 77, 77, .5); }
.toast.is-error svg { color: #ff6b6b; }

/* Página não encontrada */
.not-found { padding: calc(var(--header-h) + 80px) 0 120px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .layout-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .dash-nav a.is-active { box-shadow: inset 0 -3px 0 var(--green); }
}

@media (max-width: 760px) {
  .identity { grid-template-columns: 1fr; gap: 20px; }
  .identity-badge { width: 96px; height: 108px; }
  .identity-photo { width: 112px; height: 112px; }
  .identity-actions { justify-content: flex-start; }
  .identity-actions .btn { flex: 1; }
  .team-summary { grid-template-columns: auto 1fr; }
  .team-summary .form-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .booking { grid-template-columns: 1fr; }
  .shortcuts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .arena-cover { aspect-ratio: 16 / 9; }
  .panel { padding: 20px; }
}

/* Celulares pequenos (iPhone SE, iPhone 7/8) */
@media (max-width: 400px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .stats li { padding: 12px 14px; }
  .stats strong { font-size: 1.25rem; overflow-wrap: normal; }
  .stats span { font-size: .64rem; letter-spacing: .08em; }
  .panel { padding: 16px; }
}

/* ---------- Denúncia (botão e janela) ---------- */
.report-btn { color: var(--text-3); }
.report-btn svg { width: 15px; height: 15px; }
.report-btn:hover { color: #ff8a8a; }

.report-dialog {
  width: min(460px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  color: var(--white);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.report-dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.report-form { display: grid; gap: 18px; padding: 24px; }
.report-form header { display: flex; align-items: center; gap: 14px; }
.report-form h2 { font-size: 1.15rem; text-transform: uppercase; }
.report-form header p { font-size: .88rem; color: var(--text-3); }
.report-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; color: #ff8a8a; background: rgba(255, 107, 107, .12); }
.report-icon svg { width: 20px; height: 20px; }
.report-form fieldset { display: grid; gap: 8px; border: 0; }
.report-form legend { margin-bottom: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.report-option { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .9rem; transition: border-color .2s; }
.report-option:hover { border-color: var(--line-green); }
.report-option:has(input:checked) { border-color: var(--green); background: rgba(57, 255, 20, .06); }
.report-option input { accent-color: var(--green); }
.report-details { display: grid; gap: 8px; }
.report-details span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.report-details textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: .92rem; color: var(--white); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; resize: vertical; outline: none; }
.report-details textarea:focus { border-color: var(--green); }
.report-note { font-size: .78rem; color: var(--text-3); }
.report-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- Páginas institucionais (Sobre, Contato, Termos, Privacidade) ---------- */
.legal-head { gap: 12px; }
.legal-head .lead { max-width: 640px; color: var(--text-2); }
.legal-updated { font-size: .82rem; color: var(--text-3); }
.legal { display: grid; gap: 24px; }
.legal-doc { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; padding: 20px; }
.legal-toc b { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.legal-toc ol { display: grid; gap: 8px; padding-left: 18px; font-size: .88rem; color: var(--text-2); }
.legal-toc a:hover { color: var(--green); }
.legal-body { display: grid; gap: 30px; padding: 32px; }
.legal-section { display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-h2 { font-size: 1.1rem; text-transform: uppercase; }
.legal-section p,
.legal-section li,
.legal-intro p { line-height: 1.7; color: var(--text-2); }
.legal-section strong,
.legal-intro strong { color: var(--white); }
.legal-section ul { display: grid; gap: 8px; padding-left: 20px; }
.legal-section a,
.legal-intro a { color: var(--green); }
.legal-intro p { font-size: 1.05rem; }

.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-card { display: grid; gap: 10px; align-content: start; }
.about-card svg { width: 30px; height: 30px; color: var(--green); }
.about-card h2 { font-size: 1.05rem; text-transform: uppercase; }
.about-card p { color: var(--text-2); line-height: 1.6; font-size: .92rem; }
.about-values { list-style: none; display: grid; gap: 10px; margin-top: 14px; color: var(--text-2); }
.about-values b { color: var(--green); font-family: var(--font-title); text-transform: uppercase; font-size: .9rem; }
.legal-cta { display: grid; gap: 12px; background: radial-gradient(70% 90% at 100% 0%, rgba(57, 255, 20, .14), transparent 70%), var(--surface-1); border-color: var(--line-green); }
.legal-cta h2 { text-transform: uppercase; }
.legal-cta p { color: var(--text-2); }

.contact-line { display: block; font-weight: 600; color: var(--green); word-break: break-all; }
.contact-line + .contact-line { margin-top: 8px; }
.contact-info .form-hint { margin-top: 12px; }
.contact-text { color: var(--text-2); font-size: .92rem; line-height: 1.6; }
.contact-done { display: grid; justify-items: center; gap: 10px; padding: 30px 10px; text-align: center; }
.contact-done svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: var(--black); background: var(--green); stroke-width: 3; }
.contact-done h2 { text-transform: uppercase; }
.contact-done p { color: var(--text-2); }

@media (max-width: 1080px) {
  .legal-doc { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .legal-body { padding: 20px; }
}
