/* Icosium Import — style commun de la page de présentation et des liens personnels. */
:root {
  --bg: #ffffff;
  --surface: #f4f6f9;
  --ink: #0d1b2e;
  --muted: #5b6676;
  --line: #e1e6ed;
  --navy: #0f2a4a;
  --gold: #b7740a;
  --gold-soft: #fdf3e1;
  --accent: #0f2a4a;
  --on-accent: #ffffff;
  --danger: #b42318;
  --ok: #0f7a4a;
  --ok-soft: #e7f6ee;
  --display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1420; --surface: #111d2c; --ink: #eef2f7; --muted: #9aa7b8; --line: #23324a;
    --gold: #f5b544; --gold-soft: #2a2110; --accent: #f5b544; --on-accent: #0b1420;
    --danger: #ff8a7a; --ok: #6fdba5; --ok-soft: #10261b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1420; --surface: #111d2c; --ink: #eef2f7; --muted: #9aa7b8; --line: #23324a;
  --gold: #f5b544; --gold-soft: #2a2110; --accent: #f5b544; --on-accent: #0b1420;
  --danger: #ff8a7a; --ok: #6fdba5; --ok-soft: #10261b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; }
.wrap { max-width: 1000px; margin: 0 auto; padding-inline: 16px; padding-block: 28px 56px; display: grid; gap: 40px; }
header { display: flex; align-items: center; gap: 12px; }
.mark { width: 44px; height: 44px; flex: none; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.hero { display: grid; gap: 14px; max-width: 760px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0; max-width: 60ch; }
.video { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(6, 20, 40, .5); }
.video video { display: block; width: 100%; aspect-ratio: 1440 / 900; height: auto; background: #000; }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; font-size: .9rem; color: var(--muted); }
.caption b { color: var(--ink); font-weight: 600; }

/* Formulaire */
.demande { display: grid; gap: 22px; padding: 28px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.demande.visible { opacity: 1; transform: none; }
.demande h2 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin: 0; letter-spacing: -0.01em; }
.demande > p { margin: -12px 0 0; color: var(--muted); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ.large { grid-column: 1 / -1; }
label.l { font-size: .9rem; font-weight: 600; }
input[type=text], input[type=tel], input[type=email], select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
input:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--gold) 45%, transparent); border-color: var(--gold); }
.accord { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.accord input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.note { color: var(--muted); font-size: .85rem; margin: 0; }
button.envoyer, a.bouton { display: inline-block; font: inherit; font-weight: 600; font-size: 1rem; min-height: 48px; padding: 12px 26px; border-radius: 10px; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; text-decoration: none; text-align: center; }
button.envoyer:disabled { opacity: .6; cursor: progress; }
.msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.msg.err { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.merci { display: grid; gap: 10px; padding: 24px 28px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); }
.merci h2 { margin: 0; font-family: var(--display); font-size: 1.4rem; }
.merci p { margin: 0; color: var(--ink); }
footer { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .8rem; display: grid; gap: 4px; }

/* Liens personnels */
.titre-video { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.titre-video h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.01em; }
.suite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--gold-soft); }
.suite b { font-weight: 600; }
.vues { display: flex; flex-wrap: wrap; gap: 8px; }
.vues button { font: inherit; font-size: .9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.invitation { display: grid; gap: 12px; padding: 24px 28px; border-radius: 14px; border: 2px solid var(--gold); background: var(--gold-soft); }
.invitation h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; }
.invitation p { margin: 0; }
.inconnu { max-width: 520px; margin: 18vh auto; text-align: center; padding: 0 16px; }

@media (max-width: 640px) {
  .champs { grid-template-columns: 1fr; }
  .demande { padding: 20px 16px; }
  button.envoyer, a.bouton { width: 100%; }
}
