/* L'acardia Academy (subdomain bundle) */
:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface2: #141414;
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.72);
  --accent: #f05a6d;
  --accent-hover: #ff6b7d;
  --blue-top: #4f7fe8;
  --blue-bottom: #7ecdf5;
  --radius: 8px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #9ec8ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.academy-header {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.academy-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.academy-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.academy-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.academy-brand img {
  width: 140px;
  height: auto;
}

.academy-brand span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.academy-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.academy-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

main {
  flex: 1;
}

.hero-academy {
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.hero-academy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-academy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  color: #fff;
}

.hero-academy p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.35);
}

.section-pad {
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-pad h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.section-pad p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.card {
  background: var(--surface2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-wrap {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.form-wrap h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.form-wrap > p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
}

input:focus {
  outline: 2px solid rgba(100, 160, 255, 0.5);
  outline-offset: 1px;
}

.form-error {
  color: #ff8a8a;
  font-size: 0.875rem;
  margin: -0.5rem 0 1rem;
}

.form-error[hidden] {
  display: none;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.toolbar .who {
  font-size: 0.9rem;
  color: var(--muted);
}

.toolbar .who strong {
  color: var(--text);
}

.academy-footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.academy-footer a {
  color: #9ec8ff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
