/* =============================================
   Legal Pages - ABADA Capoeira Tirol
   ============================================= */

:root {
  --legal-bg: #f7eddc;
  --legal-surface: #fff8ee;
  --legal-surface-strong: #ffffff;
  --legal-border: rgba(53, 86, 106, 0.2);
  --legal-text: #2d1302;
  --legal-muted: rgba(45, 19, 2, 0.72);
  --legal-blue: #8dafc2;
  --legal-blue-deep: #35566a;
  --legal-sand: #fed39e;
  --legal-accent: #f8a63a;
  --legal-brown: #842922;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.legal-page {
  margin: 0;
  min-height: 100vh;
  color: var(--legal-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(254, 211, 158, 0.26), transparent 40%),
    radial-gradient(circle at 100% 10%, rgba(141, 175, 194, 0.2), transparent 42%),
    var(--legal-bg);
}

.legal-shell {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 238, 0.9);
  border-bottom: 1px solid rgba(53, 86, 106, 0.14);
}

.legal-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-logo img {
  display: block;
  width: auto;
  height: 52px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(53, 86, 106, 0.22);
  color: rgba(45, 19, 2, 0.8);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0.65rem;
  padding: 0.58rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.25s ease;
}

.legal-link:hover {
  color: #102332;
  border-color: rgba(53, 86, 106, 0.42);
  background: rgba(141, 175, 194, 0.18);
}

.legal-link.is-active {
  border-color: rgba(53, 86, 106, 0.55);
  background: rgba(141, 175, 194, 0.26);
  color: #102332;
}

.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(53, 86, 106, 0.18);
  border-radius: 1.25rem;
  margin-top: 1.1rem;
  padding: 3rem 1.2rem 2.65rem;
  background:
    linear-gradient(130deg, rgba(53, 86, 106, 0.93) 0%, rgba(141, 175, 194, 0.82) 50%, rgba(248, 166, 58, 0.32) 100%);
  box-shadow: 0 20px 40px rgba(45, 19, 2, 0.14);
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -5%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 211, 158, 0.52), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.legal-eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.9);
  font-weight: 700;
}

.legal-title {
  margin: 0.42rem 0 0;
  line-height: 0.95;
  font-family: "FF Providence Sans", "Providence Sans", "Bebas Neue", "Manrope", sans-serif;
  font-size: clamp(2.65rem, 8vw, 5.9rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff8ee;
  text-shadow: 0 12px 26px rgba(16, 35, 50, 0.35);
}

.legal-subtitle {
  margin: 0.9rem 0 0;
  color: rgba(255, 248, 238, 0.86);
  font-size: clamp(1rem, 2vw, 1.17rem);
  max-width: 760px;
  line-height: 1.4;
}

.legal-main {
  padding: 1.55rem 0 2.5rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  grid-column: span 12;
  background: var(--legal-surface);
  border: 1px solid var(--legal-border);
  border-radius: 1rem;
  padding: 1.2rem 1rem;
  box-shadow: 0 14px 30px rgba(45, 19, 2, 0.07);
}

.legal-card.is-strong {
  background: var(--legal-surface-strong);
}

.legal-card h2 {
  margin: 0;
  font-family: "FF Providence Sans", "Providence Sans", "Bebas Neue", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 0.96;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--legal-blue-deep);
}

.legal-card h3 {
  margin: 0;
  font-family: "FF Providence Sans", "Providence Sans", "Bebas Neue", "Manrope", sans-serif;
  font-size: clamp(1.38rem, 3vw, 1.86rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--legal-blue-deep);
}

.legal-meta {
  margin-top: 0.44rem;
  color: var(--legal-muted);
  font-size: 0.92rem;
}

.legal-copy {
  margin-top: 0.82rem;
  color: rgba(45, 19, 2, 0.86);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-copy p {
  margin: 0 0 0.9rem;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-copy ul {
  margin: 0.4rem 0 0.85rem;
  padding-left: 1.2rem;
}

.legal-copy li {
  margin-bottom: 0.45rem;
}

.legal-contact-grid {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.legal-contact-card {
  border: 1px solid rgba(53, 86, 106, 0.24);
  border-radius: 0.85rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.76);
}

.legal-contact-label {
  margin: 0;
  color: var(--legal-blue-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.legal-contact-card p {
  margin: 0.52rem 0 0;
  color: rgba(45, 19, 2, 0.84);
  line-height: 1.55;
}

.legal-contact-card a {
  color: var(--legal-brown);
  text-decoration: none;
  font-weight: 700;
}

.legal-contact-card a:hover {
  color: var(--legal-blue-deep);
}

.legal-note {
  margin-top: 0.95rem;
  border-left: 4px solid rgba(248, 166, 58, 0.9);
  background: rgba(254, 211, 158, 0.28);
  border-radius: 0.5rem;
  padding: 0.72rem 0.85rem;
  color: rgba(45, 19, 2, 0.76);
  font-size: 0.93rem;
  line-height: 1.5;
}

.legal-footer {
  border-top: 1px solid rgba(53, 86, 106, 0.17);
  padding: 1.2rem 0 1.45rem;
  color: rgba(45, 19, 2, 0.62);
  font-size: 0.88rem;
}

.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--legal-blue-deep);
  text-decoration: none;
  font-weight: 700;
}

.legal-footer a:hover {
  color: var(--legal-brown);
}

@media (min-width: 860px) {
  .legal-card.is-half {
    grid-column: span 6;
  }

  .legal-card.is-two-thirds {
    grid-column: span 8;
  }

  .legal-card.is-one-third {
    grid-column: span 4;
  }
}

@media (max-width: 820px) {
  .legal-contact-grid {
    grid-template-columns: 1fr;
  }
}

