/* Portail d’accueil & d’authentification — Les Royaumes d’Aether (lordofaether.com)
 * Respecte strictement la direction artistique parchemin / bronze / or et l’immuabilité de public/style.css.
 */

.landing-portal {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #141d1c;
  color: #f4ebd7;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
}

/* Barre supérieure du portail */
.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  background: linear-gradient(180deg, rgba(20, 29, 28, 0.96), rgba(24, 35, 33, 0.9));
  border-bottom: 1px solid rgba(212, 173, 92, 0.38);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f5d98e, #9c6f23 72%, #5c3e10);
  border: 2px solid #e6c473;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 250, 230, 0.8);
  color: #261808;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.landing-brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.landing-brand-titles strong {
  color: #faeac6;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.landing-brand-titles span {
  color: rgba(232, 217, 184, 0.76);
  font-size: 0.78rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.landing-nav a {
  color: #eadbb9;
  text-decoration: none;
  padding: 4px 6px;
  transition: color 0.15s ease;
}

.landing-nav a:hover {
  color: #ffd97d;
}

/* Section Héroïque */
.landing-hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding: 44px 28px 56px;
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(96deg, rgba(14, 22, 21, 0.9) 0%, rgba(18, 28, 26, 0.74) 46%, rgba(18, 26, 25, 0.62) 100%),
    linear-gradient(180deg, rgba(14, 21, 20, 0.25) 0%, rgba(20, 29, 28, 0.96) 100%),
    url('/assets/art/landing-hero.webp');
  background-size: cover;
  background-position: center 38%;
  z-index: 0;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 440px);
  gap: 44px;
  align-items: center;
}

.landing-eyebrow {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(218, 176, 89, 0.18);
  border: 1px solid rgba(229, 193, 108, 0.52);
  color: #f6d98a;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.landing-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  color: #fff6e0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.65);
}

.landing-lead {
  margin: 0 0 22px;
  max-width: 610px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.6;
  color: rgba(246, 237, 216, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.landing-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  max-width: 590px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.93rem;
  line-height: 1.48;
  color: rgba(242, 231, 206, 0.9);
}

.landing-highlights li {
  position: relative;
  padding-left: 22px;
}

.landing-highlights li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: #e5c16c;
  font-size: 0.85rem;
}

.landing-highlights strong {
  color: #fbe6b2;
}

/* Carte Parchemin d’Authentification */
.landing-auth-card {
  background: linear-gradient(180deg, #f7efdc 0%, #eadbc0 100%);
  color: #2b2114;
  border-radius: 12px;
  border: 2px solid #b58d43;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 252, 244, 0.9),
    0 0 0 1px rgba(32, 22, 9, 0.65);
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.landing-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dfd0b3;
  border-bottom: 1px solid #bfa065;
}

.landing-auth-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 13px 12px;
  font-family: Georgia, serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #5d4828;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-auth-tab:hover {
  color: #2b1e0d;
  background: rgba(255, 248, 232, 0.45);
}

.landing-auth-tab.is-active {
  background: #f7efdc;
  color: #23180a;
  box-shadow: inset 0 3px 0 #b38328;
}

.landing-auth-tab.is-locked:not(.is-active) {
  color: #7d6847;
  font-size: 0.86rem;
}

.landing-closed-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(218, 176, 89, 0.16);
  border: 1px solid rgba(229, 193, 108, 0.45);
  color: #f4d483;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.landing-beta-lock-box {
  display: grid;
  gap: 11px;
  padding: 16px;
  border-radius: 9px;
  background: rgba(255, 250, 238, 0.78);
  border: 1px solid #c4a467;
  color: #352714;
}

.landing-beta-lock-badge {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(158, 113, 31, 0.16);
  border: 1px solid rgba(158, 113, 31, 0.45);
  color: #734d0d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-beta-lock-box h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #24190b;
}

.landing-beta-lock-box p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4d3b22;
}

.landing-auth-body {
  padding: 20px 22px 22px;
}

.landing-auth-intro h2 {
  margin: 0 0 4px;
  font-family: Georgia, serif;
  font-size: 1.24rem;
  color: #24190b;
}

.landing-auth-intro p {
  margin: 0 0 15px;
  font-size: 0.85rem;
  color: #5c492d;
  line-height: 1.4;
}

.landing-auth-form {
  display: grid;
  gap: 12px;
}

.landing-field {
  display: grid;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3a2b17;
}

.landing-form-error {
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(168, 38, 30, 0.12);
  border: 1px solid rgba(168, 38, 30, 0.45);
  color: #7d1913;
  font-size: 0.84rem;
  font-weight: 600;
}

.landing-world-fieldset {
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.landing-world-fieldset legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3a2b17;
}

.landing-world-choices {
  display: grid;
  gap: 7px;
}

.landing-world-choice {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 251, 240, 0.72);
  border: 1px solid #cbb382;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.landing-world-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.landing-world-choice.is-selected {
  background: #fffaf0;
  border-color: #9e711f;
  box-shadow: 0 0 0 1px #9e711f, inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.landing-world-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: #24190b;
}

.landing-speed-pill {
  padding: 1px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7c470, #b8882d);
  color: #231606;
  font-size: 0.75rem;
  font-weight: 700;
}

.landing-world-choice-desc {
  font-size: 0.77rem;
  color: #614d30;
}

.landing-submit-btn {
  margin-top: 4px;
  padding: 11px 16px !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
}

.landing-switch-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: #5b482c;
}

.landing-link-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: #7d5310;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.landing-link-btn:hover {
  color: #4a2f05;
}

/* Sections éditoriales */
.landing-section {
  padding: 64px 28px;
  background: #172220;
  border-top: 1px solid rgba(212, 173, 92, 0.18);
}

.landing-section-alt {
  background: #121b1a;
}

.landing-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.landing-kicker {
  display: inline-block;
  color: #e5c16c;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.landing-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  color: #fbf0d9;
}

.landing-section-head p {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: rgba(235, 222, 195, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.landing-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.landing-pillar-card {
  background: linear-gradient(180deg, rgba(244, 233, 209, 0.96), rgba(229, 212, 180, 0.96));
  color: #2b2013;
  border: 1px solid #b58d43;
  border-radius: 10px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.landing-pillar-art {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(34, 22, 8, 0.28));
}

.landing-pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #24190b;
}

.landing-pillar-card p {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #4f3d24;
}

/* Grille des Mondes */
.landing-worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.landing-world-card {
  background: linear-gradient(180deg, rgba(31, 45, 43, 0.95), rgba(22, 33, 31, 0.98));
  border: 1px solid rgba(214, 176, 96, 0.42);
  border-radius: 11px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.landing-world-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.landing-world-card-top h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: #fcebc4;
}

.landing-world-sub {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: rgba(228, 213, 181, 0.72);
}

.landing-world-card p {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.91rem;
  line-height: 1.55;
  color: rgba(240, 229, 205, 0.88);
}

.landing-world-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(214, 176, 96, 0.18);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.landing-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9be29b;
}

.landing-status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bd669;
  box-shadow: 0 0 8px rgba(91, 214, 105, 0.85);
}

/* Bandeau Charte Équitable */
.landing-fairplay-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6ecd7 0%, #e7d5b4 100%);
  color: #281d10;
  border: 2px solid #b58d43;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.landing-fairplay-art {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(34, 22, 8, 0.25));
}

.landing-fairplay-copy .landing-kicker {
  color: #8a5d14;
}

.landing-fairplay-copy h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #23180a;
}

.landing-fairplay-copy p {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4c3a21;
}

/* Pied de page */
.landing-footer {
  padding: 26px 28px;
  background: #0e1514;
  border-top: 1px solid rgba(212, 173, 92, 0.22);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(226, 212, 184, 0.72);
}

.landing-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4e3be;
  font-family: Georgia, serif;
}

.landing-brand-mini .landing-crest {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .landing-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-topbar {
    padding: 10px 16px;
  }

  .landing-nav a {
    display: none;
  }

  .landing-hero {
    padding: 28px 16px 40px;
  }

  .landing-section {
    padding: 44px 16px;
  }

  .landing-pillars-grid,
  .landing-worlds-grid {
    grid-template-columns: 1fr;
  }

  .landing-fairplay-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
  }

  .landing-fairplay-art {
    margin: 0 auto;
  }
}
