/* Site vitrine AY-LYN : une seule feuille, aucune police ni script externe, aucun cookie. */
:root {
  --night: #0d0a2b;
  --deep: #15103f;
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(233, 220, 180, 0.22);
  --gold: #e9dcb4;
  --gold-strong: #f4e7bf;
  --text: #f3f0ff;
  --muted: rgba(243, 240, 255, 0.72);
  --soft: rgba(243, 240, 255, 0.55);
  --radius: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(120, 90, 220, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(60, 40, 160, 0.35), transparent 60%),
    linear-gradient(180deg, var(--deep), var(--night) 70%);
  background-color: var(--night);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); }
a:hover { color: var(--gold-strong); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(13, 10, 43, 0.72);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 3px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
nav.links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--gold); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; font-size: 14px; }

/* Accueil */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 18px; font-weight: 700; }
h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--gold);
}
.button.primary { background: var(--gold); color: var(--deep); }
.button.primary:hover { background: var(--gold-strong); color: var(--deep); }
.button.ghost { color: var(--gold); }
.soon { color: var(--soft); font-size: 14px; }
.portrait {
  justify-self: center; width: min(320px, 80vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(233, 220, 180, 0.25), rgba(80, 60, 180, 0.15) 60%, transparent 70%);
  box-shadow: 0 0 80px rgba(233, 220, 180, 0.18);
}
.portrait img { width: 62%; border-radius: 28%; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; }
.section-lead { color: var(--muted); margin: 0 0 30px; max-width: 42em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--gold); }
.card p { margin: 0; color: var(--muted); }
.icon { font-size: 26px; display: block; margin-bottom: 10px; }

/* Offre */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.premium { border-color: var(--gold); box-shadow: 0 0 40px rgba(233, 220, 180, 0.12); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .tag { color: var(--gold); font-size: 14px; margin: 4px 0 16px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; color: var(--muted); }
.plan li strong { color: var(--text); }
.notes { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.note { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; color: var(--muted); }
.note strong { color: var(--text); display: block; margin-bottom: 2px; }

/* Questions */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Honnêteté */
.honest { background: rgba(233, 220, 180, 0.07); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.honest p { margin: 0 0 8px; color: var(--muted); }
.honest p:last-child { margin-bottom: 0; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: left; }
  .portrait { order: -1; width: min(220px, 60vw); }
  nav.links { display: none; }
  header.top .lang { margin-left: auto; }
  section { padding: 40px 0; }
}

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