:root {
  --night: #04111f;
  --deep-blue: #071a2d;
  --ink: #0b2740;
  --cream: #f7efd9;
  --gold: #c8ad71;
  --gold-soft: #dfcea5;
  --red: #c74138;
  --blue: #4ba3c7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 34%, rgba(200, 173, 113, 0.16), transparent 30rem),
    linear-gradient(145deg, #020a12 0%, var(--night) 45%, #061827 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: -2;
  background: url("assets/ecran-ouverture-ios.png") center 40% / cover no-repeat;
  filter: blur(42px) saturate(0.7);
  opacity: 0.12;
  transform: scale(1.12);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(200, 173, 113, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 173, 113, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.page-haze {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 65%, rgba(255, 226, 166, 0.07), transparent 45%);
}

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  padding: 70px 0 84px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; }
.eyebrow span { width: 54px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--red)); }

.lead {
  max-width: 590px;
  margin: 32px 0 0;
  color: rgba(247, 239, 217, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px 19px;
  border: 1px solid var(--gold);
  background: rgba(200, 173, 113, 0.08);
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.store-button small {
  display: block;
  margin-bottom: 1px;
  font: 700 0.52rem/1.2 Inter, sans-serif;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.apple {
  width: 25px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.4rem;
}

.discover-link {
  color: var(--cream);
  text-underline-offset: 6px;
  text-decoration-color: rgba(200, 173, 113, 0.5);
  font-size: 0.88rem;
}

.discover-link span { color: var(--gold); margin-left: 6px; }

.highlights {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  margin: 50px 0 0;
}

.highlights div { padding-left: 15px; border-left: 1px solid rgba(200, 173, 113, 0.42); }
.highlights dt { color: var(--gold-soft); font: 400 1.65rem/1 Georgia, serif; }
.highlights dd { margin: 7px 0 0; color: rgba(247, 239, 217, 0.55); font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; }

.phone-stage { position: relative; display: grid; place-items: center; padding: 25px 20px 0; }

.phone {
  position: relative;
  width: min(335px, 78vw);
  padding: 9px;
  border: 1px solid rgba(223, 206, 165, 0.72);
  border-radius: 52px;
  background: #01070d;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.52), 0 0 70px rgba(200, 173, 113, 0.12);
  transform: rotate(1.8deg);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 43px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 43px;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 30%;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 15px 15px;
  background: #01070d;
}

.orbit { position: absolute; border: 1px solid rgba(200, 173, 113, 0.16); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; }
.orbit-two { width: 540px; height: 540px; border-style: dashed; opacity: 0.5; }

.concept {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 130px;
  text-align: center;
  border-top: 1px solid rgba(223, 206, 165, 0.18);
}

.concept h2 {
  margin: 20px auto 22px;
  max-width: 720px;
  color: var(--cream);
  font: 400 clamp(2.3rem, 5vw, 4.2rem)/1.08 Georgia, serif;
}

.concept > p:last-child { max-width: 660px; margin: 0 auto; color: rgba(247, 239, 217, 0.65); line-height: 1.8; }

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid rgba(223, 206, 165, 0.18);
  color: rgba(247, 239, 217, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 58px; }
  .eyebrow, .actions, .highlights { justify-content: center; }
  h1, .lead { margin-left: auto; margin-right: auto; }
  .phone-stage { margin-top: 20px; }
}

@media (max-width: 560px) {
  .hero, footer { width: min(100% - 30px, 1180px); }
  .hero { min-height: auto; padding: 48px 0 68px; gap: 42px; }
  .lead { font-size: 0.98rem; line-height: 1.65; }
  .actions { gap: 20px; }
  .highlights { gap: 14px; }
  .highlights div { padding-left: 10px; }
  .highlights dt { font-size: 1.35rem; }
  .highlights dd { font-size: 0.55rem; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { display: none; }
  .phone { width: min(310px, 82vw); }
  .concept { padding: 80px 0 90px; }
  footer { flex-wrap: wrap; font-size: 0.6rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: reveal 0.9s ease-out both; }
  .phone-stage { animation: rise 1.1s 0.12s ease-out both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(30px); } }
}
