/* style.css */
/* Design “bleu impérial + or / orange” inspiré de l’univers Alexander (sobre, premium, lisible) */

:root{
  --fond: #071a24;
  --fond-2: #0b2431;
  --carte: rgba(255,255,255,0.06);
  --trait: rgba(255,255,255,0.12);
  --texte: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --accent: #f39a3d;       /* orange/or */
  --accent-2: #2fb7c8;     /* bleu/turquoise */
  --danger: #ff5a6a;
  --ombre: 0 16px 40px rgba(0,0,0,0.35);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(47,183,200,0.22), transparent 55%),
              radial-gradient(900px 450px at 85% 10%, rgba(243,154,61,0.16), transparent 60%),
              var(--fond);
  color: var(--texte);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Bouton collant */
.sticky-play{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  background: linear-gradient(135deg, var(--accent), #ffb25a);
  color: #08131a;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: var(--ombre);
  border: 1px solid rgba(255,255,255,0.18);
  transform: translateZ(0);
}
.sticky-play:hover{ filter: brightness(1.03); }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,26,36,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trait);
}
.header-inner{
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--trait);
  padding: 6px;
}
.brand-name{
  font-weight: 900;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Menu */
.nav{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-link{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover{
  color: var(--texte);
  border-color: rgba(47,183,200,0.35);
  background: rgba(47,183,200,0.10);
}

/* Boutons */
.header-cta{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 120ms ease, filter 120ms ease, background 120ms ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), #ffb25a);
  color: #08131a;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(243,154,61,0.22);
}
.btn-ghost{
  background: rgba(255,255,255,0.06);
  color: var(--texte);
}
.btn-lg{ padding: 12px 16px; border-radius: 16px; }
.btn-sm{ padding: 8px 10px; border-radius: 12px; font-size: 0.92rem; }

/* Hero */
.hero{
  padding: 44px 0 18px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.hero-copy{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid var(--trait);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--ombre);
}
.badge{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.92);
  background: rgba(47,183,200,0.12);
  border: 1px solid rgba(47,183,200,0.28);
  padding: 8px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
  font-weight: 800;
}
.hero-title{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.1;
}
.hero-subtitle{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.04rem;
}
.hero-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero-note{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
}
.hero-visual{
  border-radius: var(--radius);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre);
  background:
    linear-gradient(180deg, rgba(7,26,36,0.35), rgba(7,26,36,0.78)),
    url("img/hero-alexander.jpg");
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

/* Sections */
.section{ padding: 26px 0; }
.section-alt{
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}
h1{
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.15;
}
h2{
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.18;
}
h3{
  margin: 0 0 8px;
  font-size: 1.08rem;
}
p{ margin: 0 0 12px; color: var(--muted); }
strong{ color: var(--texte); }

/* Listes */
.steps{
  margin: 14px 0 16px;
  padding: 0 0 0 20px;
}
.steps li{
  margin: 8px 0;
  color: var(--muted);
}

/* CTA box */
.cta-box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(243,154,61,0.22);
  background: linear-gradient(135deg, rgba(243,154,61,0.14), rgba(47,183,200,0.10));
  box-shadow: 0 14px 34px rgba(0,0,0,0.25);
}
.cta-box-text p{ margin: 0; }

/* Tables */
.table-wrap{
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--trait);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  margin: 12px 0 10px;
}
.data-table, .games-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.data-table th, .data-table td,
.games-table th, .games-table td{
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}
.data-table thead th,
.games-table thead th{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  background: rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
}
.game-thumb{
  width: 120px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
.footnote{
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
}

/* Actions inline */
.inline-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* FAQ */
.faq{
  border: 1px solid var(--trait);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}
.faq details{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq details:last-child{ border-bottom: 0; }
.faq summary{
  cursor: pointer;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}
.faq p{ margin: 10px 0 0; }

/* Footer */
.site-footer{
  padding: 28px 0 18px;
  border-top: 1px solid var(--trait);
  background: rgba(0,0,0,0.18);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.footer-col h3{
  margin: 0 0 10px;
}
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li{ margin: 8px 0; }
.footer-links a{
  color: rgba(255,255,255,0.76);
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
}
.footer-links a:hover{
  color: rgba(255,255,255,0.92);
  background: rgba(47,183,200,0.10);
  border-color: rgba(47,183,200,0.28);
}

.footer-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.microdata-box{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.micro-label{
  display: inline-block;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
}

.footer-bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p{ margin: 0; }
.footer-mini{
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 980px){
  .header-inner{ grid-template-columns: 1fr; }
  .nav{ justify-content: flex-start; }
  .header-cta{ justify-content: flex-start; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ min-height: 240px; }
  .footer-grid{ grid-template-columns: 1fr; }
}
