/* Page de liens — charte de la boutique Shopify (thème Horizon) :
   fond #0E0A10, texte crème #F1E6CF, or #D2AB62, titres Cormorant, texte Source Sans.
   Polices hébergées ici (licence OFL, fichiers dans fonts/). */

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-sans-3-wght-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-sans-3-wght-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0e0a10;
  --surface: #1c141f;
  --surface-hi: #261b2a;
  --text: #f1e6cf;
  --muted: #c9baa2;
  --quiet: #a3967f;
  --gold: #d2ab62;
  --gold-hi: #e8c681;
  --gold-line: rgba(210, 171, 98, 0.42);
  --plum-glow: rgba(122, 61, 94, 0.42);
  --focus: #ffd98a;
  --radius: 12px;
  --font-title: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 110% 55% at 50% -8%, var(--plum-glow), transparent 72%),
    radial-gradient(circle 1px at 18% 22%, rgba(232, 198, 129, 0.55), transparent 2px),
    radial-gradient(circle 1px at 84% 14%, rgba(232, 198, 129, 0.45), transparent 2px),
    radial-gradient(circle 1px at 72% 38%, rgba(232, 198, 129, 0.35), transparent 2px),
    radial-gradient(circle 1px at 9% 61%, rgba(232, 198, 129, 0.3), transparent 2px);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.head { text-align: center; }

.logo-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 48px rgba(210, 171, 98, 0.16), inset 0 0 0 1px rgba(14, 10, 16, 0.6);
}

.logo {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(2.1rem, 9vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.ornament {
  display: block;
  width: 160px;
  height: 16px;
  margin: 20px auto 30px;
  opacity: 0.9;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(28, 20, 31, 0.78);
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Contrepoids invisible à droite : le texte reste centré malgré le pictogramme à gauche. */
.btn::after { content: ''; flex: none; width: 24px; }

.btn:hover { background: var(--surface-hi); border-color: var(--gold); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }

.ico { flex: none; width: 24px; height: 24px; }

.btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.btn-label { font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.btn-note { font-size: 0.88rem; line-height: 1.3; opacity: 0.8; margin-top: 2px; }
.btn-primary .btn-note { opacity: 0.85; }

.empty { text-align: center; color: var(--muted); padding: 12px; }

.foot {
  text-align: center;
  padding: 28px 16px max(28px, env(safe-area-inset-bottom));
  color: var(--quiet);
  font-size: 0.84rem;
}
.foot p { margin: 0 0 4px; }
.foot a { color: var(--muted); text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.foot a:hover { color: var(--gold-hi); }
.foot-quiet { opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
