/* ═══ ANIMATIONS ═══ */
@keyframes alFadeUp {
  from { opacity: 0; translate: 0 18px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes alFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes alPanelIn {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes alProgressFill {
  from { width: 0; }
  to   { width: 58%; }
}
@keyframes alCardReveal {
  from { opacity: 0; translate: 0 10px; }
  to   { opacity: 1; translate: 0 0; }
}

/* Stagger héro */
.al-hero .al-kicker { animation: alFadeUp .65s cubic-bezier(.22,1,.36,1) .08s both; }
.al-copy h1         { animation: alFadeUp .75s cubic-bezier(.22,1,.36,1) .22s both; }
.al-copy .al-sub    { animation: alFadeUp .65s cubic-bezier(.22,1,.36,1) .38s both; }
.al-copy .al-cta    { animation: alFadeUp .65s cubic-bezier(.22,1,.36,1) .52s both; }
.al-device          { animation: alFadeIn .9s ease .28s both; }

/* Éléments dans le téléphone */
.al-progress span   { animation: alProgressFill 1.1s cubic-bezier(.22,1,.36,1) .75s both; }
.al-card-preview    { animation: alCardReveal .7s cubic-bezier(.22,1,.36,1) 1.05s both; }

/* Panels (déclenché via JS IntersectionObserver) */
.al-panel.panel-in  { animation: alPanelIn .65s cubic-bezier(.22,1,.36,1) both; }

@media (prefers-reduced-motion: reduce) {
  .al-hero .al-kicker, .al-copy h1, .al-copy .al-sub, .al-copy .al-cta,
  .al-device, .al-progress span, .al-card-preview, .al-panel.panel-in {
    animation: none;
  }
}

.al-main {
  position: relative;
  z-index: 2;
  padding-top: 68px;
}

.al-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,165,84,.12);
  background:
    radial-gradient(ellipse 50% 40% at 76% 26%, rgba(201,165,84,.14), transparent 68%),
    radial-gradient(ellipse 60% 55% at 18% 24%, rgba(25,39,92,.34), transparent 72%),
    linear-gradient(180deg, rgba(8,11,22,.98), rgba(5,7,16,.98));
}
.al-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .3;
  pointer-events: none;
}
.al-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  min-height: 620px;
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5rem;
  align-items: center;
}
.al-kicker {
  font-family: var(--font-head);
  font-size: .62rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(201,165,84,.58);
  margin-bottom: 1rem;
}
.al-copy h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: .08em;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}
.al-sub {
  max-width: 590px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(.95rem, 1.35vw, 1.08rem);
  line-height: 1.95;
  letter-spacing: .055em;
  color: rgba(232,222,202,.76);
  margin-bottom: 2.4rem;
}
.al-cta {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 1.05rem 2.3rem;
}
.al-cta:hover {
  background: var(--gold-light);
  color: var(--bg);
}

.al-device {
  display: flex;
  justify-content: center;
}
.al-phone {
  width: min(330px, 78vw);
  min-height: 520px;
  padding: 2rem;
  border: 1px solid rgba(201,165,84,.25);
  border-radius: 34px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 10%, rgba(201,165,84,.16), transparent 62%),
    linear-gradient(160deg, rgba(18,22,42,.96), rgba(5,7,16,.98));
  box-shadow:
    inset 0 0 0 8px rgba(0,0,0,.28),
    0 30px 80px rgba(0,0,0,.36),
    0 0 60px rgba(201,165,84,.08);
}
.al-phone-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .52rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(201,165,84,.48);
  margin: 2rem 0 1rem;
}
.al-phone strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: .12em;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.al-progress {
  height: 8px;
  border: 1px solid rgba(201,165,84,.2);
  background: rgba(201,165,84,.04);
  margin-bottom: 1rem;
}
.al-progress span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f4dca0);
}
.al-phone p {
  font-family: var(--font-body);
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(232,222,202,.68);
}
.al-card-preview {
  margin-top: 3rem;
  padding: 1.4rem;
  min-height: 150px;
  border: 1px solid rgba(201,165,84,.22);
  background:
    linear-gradient(135deg, rgba(201,165,84,.12), rgba(255,255,255,.025)),
    rgba(201,165,84,.04);
}
.al-card-preview span {
  display: block;
  font-family: var(--font-head);
  font-size: .5rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(201,165,84,.5);
  margin-bottom: .7rem;
}
.al-card-preview strong {
  font-size: 1rem;
}

.al-section {
  padding: 6rem 2rem;
  border-bottom: 1px solid rgba(201,165,84,.09);
}
.al-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.al-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.al-panel {
  border: 1px solid rgba(201,165,84,.16);
  background: rgba(201,165,84,.03);
  padding: 2rem;
}
.al-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: rgba(201,165,84,.22);
  margin-bottom: 1rem;
}
.al-panel h2,
.al-lore h2,
.al-placeholder h2 {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: .08em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.al-panel p,
.al-lore p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(201,165,84,.72);
}

.al-section-parchment {
  background:
    linear-gradient(rgba(232,222,202,.92), rgba(211,196,170,.94)),
    repeating-linear-gradient(0deg, rgba(80,55,30,.04) 0 1px, transparent 1px 9px);
  color: #24180d;
}
.al-lore {
  max-width: 780px;
  text-align: center;
}
.al-lore .al-kicker,
.al-section-parchment .al-kicker {
  color: rgba(36,24,13,.56);
}
.al-lore h2 {
  color: #24180d;
}
.al-lore p {
  color: rgba(36,24,13,.78);
}
.al-roadmap {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.al-roadmap span {
  border: 1px solid rgba(36,24,13,.2);
  padding: .9rem .75rem;
  font-family: var(--font-head);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(36,24,13,.72);
}

.al-placeholder {
  max-width: 760px;
}
.al-placeholder ul {
  list-style: none;
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}
.al-placeholder li {
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(201,165,84,.74);
  border-left: 1px solid rgba(201,165,84,.3);
  padding-left: 1rem;
}

@media (max-width: 900px) {
  .al-hero-inner,
  .al-grid,
  .al-roadmap {
    grid-template-columns: 1fr;
  }
  .al-hero-inner {
    min-height: auto;
    padding: 5rem 1.5rem;
    gap: 3rem;
  }
  .al-device {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .al-hero-inner,
  .al-section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .al-phone {
    min-height: 430px;
  }
}
