/* BR Password : même palette et mêmes polices que l'application (mauve / violet foncé) */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-display: swap; src: url("/fonts/Lora.ttf") format("truetype"); }

:root {
  --bg: #15121f;
  --surface: #1e1a2b;
  --surface-2: #282338;
  --line: #352f49;
  --line-strong: #4a4266;
  --text: #f4f2fa;
  --muted: #a79fc0;
  --ink: #15121f;

  --accent: #7c3aed;
  --accent-soft: #2a2050;
  --web: #8b5cf6;
  --machine: #d946ef;
  --success: #34d399;
  --danger: #f87171;

  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Lora", Georgia, serif;
  --radius: 16px;
  --pad: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: normal; color: var(--text); font-weight: 600; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; font-family: var(--head); z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--pad)); }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--s { width: 16px; height: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.panel__note { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; border: 0;
  background: var(--accent); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.link { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 4px; }
.link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(21, 18, 31, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 18px; }
.brand img { border-radius: 9px; }
.top__nav { display: flex; gap: 6px; margin-left: auto; }
.top__nav a { font-family: var(--head); font-weight: 500; font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.top__nav a:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--head); font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); }
.accent { color: var(--accent); }
.lead { margin-top: 22px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.hero__cta--center { justify-content: center; margin-top: 36px; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.meta--center { text-align: center; }
.hero__shot { margin: 0; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); max-width: 22em; }
.section__intro { margin-top: 14px; color: var(--muted); max-width: 40em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, background .15s; }
.card:hover { border-color: var(--accent); background: var(--surface-2); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--accent); color: #fff; margin-bottom: 18px; }
.card__icon .ico { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 40px; }
.shots figure { margin: 0; }
.shots img { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
.shots figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.point { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.point__big { font-family: var(--head); font-weight: 600; font-size: 26px; color: var(--accent); margin-bottom: 8px; }
.point p:last-child { color: var(--muted); font-size: 16px; }

/* ---------- Confidentialité ---------- */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel--stay { border-top: 3px solid var(--success); }
.panel--out { border-top: 3px solid var(--web); }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 16px; }
.panel ul, .panel ol { margin: 0; padding-left: 1.2em; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: 16px; }
.panel li { min-width: 0; }
.panel strong { color: var(--text); font-weight: 600; }
.code { display: block; max-width: 100%; margin-top: 10px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13.5px; color: var(--text); overflow-x: auto; white-space: nowrap; }
.code--inline { display: inline; margin: 0; padding: 3px 8px; font-size: 12.5px; white-space: normal; word-break: break-all; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 34px; }
.facts h4 { font-size: 16px; margin-bottom: 6px; }
.facts p { color: var(--muted); font-size: 15.5px; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- Questions ---------- */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
summary { cursor: pointer; list-style: none; padding: 20px 4px; font-family: var(--head); font-weight: 500; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 22px; color: var(--muted); max-width: 44em; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 14.5px; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.brand--foot { font-size: 16px; color: var(--text); }
.foot__credits { font-size: 13px; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__nav { display: none; }
  .top__bar { justify-content: space-between; }
  .btn { width: 100%; }
  .btn--small { width: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, summary::after { transition: none; }
}
