/* ============================================================
   Scorch — feuille de style
   Référence visuelle : maquette-desktop.html / maquette-mobile.html
   ============================================================ */

/* ---------- Couleurs et réglages communs ---------- */
:root {
  --bg: #110D0B;
  --orange: #FF6A1A;
  --amber: #FFB347;
  --text: #F3E9DF;
  --blue: #3FA9FF;

  --link: #FF8A3D;
  --lore: #E3D5C8;
  --soft: #CDBBAD;
  --muted: #B8A597;
  --footer: #A89484;
  --dim: #8C7A6D;
  --dimmer: #6E5E52;

  --panel: #1C1511;
  --panel-dark: #171210;
  --panel-hot: #24160E;
  --void: #0B0908;

  --line: #2E221B;
  --line-2: #3A2A20;
  --line-3: #4A3326;

  --green: #4CC46E;
  --green-text: #8FE0A5;
  --green-line: #2F5B3A;

  --font-title: 'Rubik Dirt', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  /* Marge latérale : 80 px, ou plus pour centrer le contenu sur 1280 px max */
  --gutter: max(80px, calc((100% - 1280px) / 2));
}

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

html { background: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--link); }
a:hover { color: var(--amber); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--font-title); font-weight: 400; }

.h-orange { color: var(--orange); }

/* Texte lu par les lecteurs d'écran mais invisible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Texte différent selon la largeur d'écran (voir les règles téléphone en bas) */
.narrow-only { display: none; }

/* ---------- Lueur et braises en haut de page ---------- */
.embers {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 820px;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 106, 26, 0.10), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

/* Fumée derrière le curseur (créé par effects.js, souris uniquement) :
   par-dessus la page mais ne bloque jamais les clics */
.cursor-smoke {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Le contenu passe devant les braises */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- En-tête ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: baseline; gap: 14px; }

.brand-icon {
  width: 40px; height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  align-self: center;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 34px;
  color: var(--orange);
  letter-spacing: 2px;
}

.brand-ticker { font-family: var(--font-mono); font-size: 16px; color: var(--muted); }

.links { display: flex; gap: 12px; }

.links a {
  padding: 12px 20px;
  border: 1px solid var(--line-3);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.links a:hover { color: var(--amber); border-color: var(--orange); }

/* Lien pas encore disponible (token pas encore lancé) */
.links a.is-pending,
.links a.is-pending:hover { opacity: 0.5; color: var(--text); border-color: var(--line-3); cursor: default; }

.links--hero { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  padding: 72px var(--gutter) 40px;
}

.hero-text { display: flex; flex-direction: column; gap: 28px; }

/* 128 px sur grand écran, diminue avec la largeur de la colonne */
.hero-title {
  font-size: clamp(72px, calc((100vw - 224px) / 9.5), 128px);
  line-height: 0.95;
  color: var(--orange);
}

.hero-tagline { font-size: 30px; font-weight: 600; line-height: 1.25; }

.ca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(255, 106, 26, 0.22);
}

.ca-label { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }

.ca-value {
  flex-grow: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.btn-copy {
  padding: 12px 18px;
  min-height: 44px;
  background: var(--orange);
  color: #1A0E07;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.btn-copy:hover { background: var(--amber); }

.btn-copy:disabled,
.btn-copy:disabled:hover { background: var(--line-3); color: var(--muted); cursor: default; }

.hero-media { display: flex; justify-content: center; }

.hero-img {
  width: 560px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 0 120px rgba(255, 106, 26, 0.25);
}

/* ---------- Lore ---------- */
.lore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 96px var(--gutter);
  text-align: center;
}

.lore p { font-size: 28px; line-height: 1.6; color: var(--lore); max-width: 760px; }

.lore .lore-blue {
  margin-top: 12px;
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1.2;
  color: var(--blue);
  text-shadow: 0 0 24px rgba(63, 169, 255, 0.55), 0 0 64px rgba(63, 169, 255, 0.30);
}

/* ---------- Évolutions ---------- */
.evo { display: flex; flex-direction: column; gap: 32px; padding: 56px var(--gutter); }

.evo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

.evo-current { display: flex; flex-direction: column; gap: 10px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.evo-current-name { font-size: 56px; }

.evo-intro { max-width: 520px; font-size: 18px; color: var(--soft); line-height: 1.5; }

.evo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--panel-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.evo-card.is-unlocked { background: var(--panel-hot); border-color: var(--orange); }

.evo-media { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }

.evo-label { font-family: var(--font-mono); font-size: 14px; color: var(--dim); }
.is-unlocked .evo-label { color: var(--amber); }

.evo-name { font-size: 22px; font-weight: 700; color: var(--dimmer); }
.is-unlocked .evo-name { color: var(--text); }

/* Case future : sombre, « ??? », lueur bleue de plus en plus forte */
.evo-mystery {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  font-family: var(--font-title);
  font-size: 64px;
}

[data-stage="2"] .evo-mystery { color: #343844; box-shadow: inset 0 0 40px rgba(63, 169, 255, 0.15); }
[data-stage="3"] .evo-mystery { color: #2F3A48; box-shadow: inset 0 0 50px rgba(63, 169, 255, 0.18); }
[data-stage="4"] .evo-mystery { color: #2B4A6B; box-shadow: inset 0 0 70px rgba(63, 169, 255, 0.32), 0 0 24px rgba(63, 169, 255, 0.15); }
[data-stage="5"] .evo-mystery { color: #3F7FC0; box-shadow: inset 0 0 90px rgba(63, 169, 255, 0.55), 0 0 40px rgba(63, 169, 255, 0.30); }

/* Stade débloqué dont l'image n'est pas encore ajoutée : cadre orange */
.evo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: inset 0 0 40px rgba(255, 106, 26, 0.18);
}

/* ---------- Burn counter ---------- */
.burn {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.burn h2 { font-size: 48px; }

.bot-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }

.bot-status[data-status="active"] { border-color: var(--green-line); color: var(--green-text); }
.bot-status[data-status="active"] .bot-dot { background: var(--green); }

/* En pause : icône ⏸ dessinée avec deux barres */
.bot-status[data-status="paused"] { border-color: #5A4322; color: var(--amber); }
.bot-status[data-status="paused"] .bot-dot {
  width: 9px;
  border-radius: 0;
  background: none;
  border-left: 3px solid var(--amber);
  border-right: 3px solid var(--amber);
}

.data-note { font-size: 14px; color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  min-width: 0;
}

.stat-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.stat-label { font-size: 15px; color: var(--muted); font-weight: 600; }

.stat-value { font-family: var(--font-mono); font-size: 40px; overflow-wrap: anywhere; }
.stat--burned .stat-value { color: var(--amber); }

.stat-sub { font-size: 15px; color: var(--soft); }

.stat-link { font-size: 15px; font-weight: 600; }

/* ---------- Burn log ---------- */
.log { display: flex; flex-direction: column; gap: 24px; padding: 56px var(--gutter); }

.log-title { font-size: 40px; }

.log-box { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }

.log-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.log-table th,
.log-table td { padding: 18px 16px 18px 0; text-align: left; }

.log-table th:first-child,
.log-table td:first-child { padding-left: 28px; }

.log-table th:last-child,
.log-table td:last-child { padding-right: 28px; }

.log-table th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.log-table td {
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 16px;
}

.log-table .log-tx { font-family: var(--font-body); font-weight: 600; }

.log-buys { color: var(--dim); margin-right: 16px; }
.log-tx a { display: inline-block; padding: 4px 2px; }

/* ---------- How it works ---------- */
.how {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line);
}

.how-text { display: flex; flex-direction: column; gap: 22px; }

.how h2 { font-size: 48px; }

.how-text p { font-size: 19px; line-height: 1.55; color: var(--lore); }

.strong-light { color: var(--text); }
.strong-amber { color: var(--amber); }

.wallets { display: flex; flex-direction: column; gap: 16px; justify-content: center; }

.wallets-title {
  font-size: 15px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wallet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}

.wallet-name { font-weight: 700; }

.wallet-addr {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--soft);
  overflow-wrap: anywhere;
}

.wallet a { font-weight: 600; }

/* ---------- Meme kit ---------- */
.memes { display: flex; flex-direction: column; gap: 24px; padding: 72px var(--gutter); }

.memes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.memes h2 { font-size: 48px; }

.memes-head p { font-size: 18px; color: var(--soft); }

.memes-intro { display: flex; flex-direction: column; gap: 6px; }

.memes-head .memes-hint { font-size: 15px; color: var(--muted); }

.meme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meme { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* Toutes les images au même format carré */
.meme-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-3);
}

.meme-caption { font-family: var(--font-mono); font-size: 14px; color: var(--amber); }

/* margin-top: auto aligne les boutons en bas, même si une légende fait deux lignes */
.meme-actions { display: flex; flex-wrap: wrap; gap: 12px 8px; margin-top: auto; }

/* Petits boutons pastilles (~32 px) */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: none;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.pill:hover { color: var(--amber); border-color: var(--orange); }

/* Zone de clic un peu plus grande que le bouton, pour le doigt */
.pill::after { content: ""; position: absolute; inset: -6px -2px; }

/* Petit bouton rond avec seulement l'icône (Download discret sur ordinateur) */
.pill--icon { width: 32px; padding: 0; justify-content: center; color: var(--muted); border-color: var(--line); }

.meme-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--amber); }

/* Étiquette du mode test ?stage= (jamais visible sur le vrai site) */
.test-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 10;
  padding: 6px 10px;
  background: var(--blue);
  color: #06121F;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px var(--gutter) 56px;
  border-top: 1px solid var(--line);
}

.site-footer p { font-size: 14px; line-height: 1.6; color: var(--footer); max-width: 980px; }

.footer-domain { font-family: var(--font-mono); font-size: 13px; color: var(--dim); }


/* ============================================================
   Tablette (jusqu'à 1100 px) : marges réduites, grilles resserrées
   ============================================================ */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }

  .hero { gap: 40px; }

  .evo-card { padding: 14px; }
  .evo-media { height: 140px; }
  .evo-mystery { font-size: 48px; }
  .evo-label { font-size: 13px; }
  .evo-name { font-size: 19px; }

  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .how { gap: 40px; }

  .memes-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .meme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ============================================================
   Téléphone (jusqu'à 900 px) : version mobile de la maquette
   ============================================================ */
@media (max-width: 900px) {
  :root { --gutter: 32px; }

  .embers { height: 720px; }

  .wide-only { display: none; }
  .narrow-only { display: inline; }

  /* En-tête : logo à gauche, $SCORCH à droite, liens déplacés dans le hero */
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .brand { flex-grow: 1; align-items: center; gap: 10px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-name { font-size: 26px; letter-spacing: 0; }
  .brand-ticker { margin-left: auto; font-size: 14px; }
  .links--header { display: none; }

  /* Hero : image en premier, puis titre, CA et liens */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-media { order: -1; }
  .hero-img {
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    box-shadow: 0 0 80px rgba(255, 106, 26, 0.25);
  }
  .hero-text { gap: 20px; }
  .hero-title { font-size: 72px; }
  .hero-tagline { font-size: 22px; line-height: 1.3; }

  .ca-box { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .ca-label { font-size: 13px; }
  .ca-value { font-size: 14px; word-break: break-all; }

  .links--hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .links--hero a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    font-size: 14px;
  }

  /* Lore : phrases sur une seule ligne continue */
  .lore { gap: 14px; padding-top: 56px; padding-bottom: 56px; }
  .lore p { font-size: 20px; }
  .lore .lore-blue { margin-top: 8px; font-size: 34px; }
  .br-wide { display: none; }

  /* Évolutions : une ligne par stade */
  .evo { gap: 16px; padding-top: 32px; padding-bottom: 32px; }
  .evo-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .evo-current { gap: 16px; }
  .eyebrow { font-size: 13px; }
  .evo-current-name { font-size: 40px; }
  .evo-intro { max-width: none; font-size: 16px; }

  .evo-grid { display: flex; flex-direction: column; gap: 10px; }
  .evo-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
  .evo-media { flex-shrink: 0; width: 64px; height: 64px; border-radius: 8px; }
  .evo-mystery { font-size: 22px; }
  .evo-frame { font-size: 22px; letter-spacing: 0; }
  .evo-name { flex-grow: 1; font-size: 18px; }
  .evo-label { order: 1; font-size: 13px; text-align: right; }

  [data-stage="2"] .evo-mystery { box-shadow: inset 0 0 18px rgba(63, 169, 255, 0.15); }
  [data-stage="3"] .evo-mystery { box-shadow: inset 0 0 20px rgba(63, 169, 255, 0.18); }
  [data-stage="4"] .evo-mystery { box-shadow: inset 0 0 26px rgba(63, 169, 255, 0.32), 0 0 12px rgba(63, 169, 255, 0.15); }
  [data-stage="5"] .evo-mystery { box-shadow: inset 0 0 32px rgba(63, 169, 255, 0.55), 0 0 20px rgba(63, 169, 255, 0.30); }

  /* Burn counter : grande case, deux petites, puis « Last burn » en ligne */
  .burn { gap: 12px; padding-top: 32px; padding-bottom: 32px; }
  .burn h2 { font-size: 34px; }
  .bot-status { gap: 8px; padding: 6px 12px; font-size: 13px; }
  .bot-dot { width: 8px; height: 8px; }

  .stat-grid { gap: 12px; }
  .stat { gap: 6px; padding: 16px; border-radius: 12px; }
  .stat-label { font-size: 13px; }
  .stat-value { font-size: 22px; }
  .stat--supply .stat-sub,
  .stat--sol .stat-sub { display: none; }

  .stat--burned { grid-column: 1 / -1; padding: 20px; }
  .stat--burned .stat-label,
  .stat--burned .stat-sub { font-size: 14px; }
  .stat--burned .stat-value { font-size: 32px; }

  .stat--last {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .stat--last .stat-main { gap: 4px; }
  .stat--last .stat-value { font-size: 20px; }
  .stat-link { font-size: 16px; }

  /* Burn log : chaque ligne devient une petite carte sur deux lignes */
  .log { gap: 14px; padding-top: 32px; padding-bottom: 32px; }
  .log-title { font-size: 30px; }
  .log-box { border-radius: 12px; }

  .log-table,
  .log-table tbody { display: block; }
  .log-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .log-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .log-table tr:last-child { border-bottom: 0; }
  .log-table td,
  .log-table td:first-child,
  .log-table td:last-child { display: block; padding: 0; border: 0; font-size: 14px; }

  .log-date { color: var(--muted); }
  .log-buys { margin-right: 12px; }
  .log-sol,
  .log-tx { text-align: right; }
  .log-tokens { font-size: 15px; color: var(--amber); }
  .log-empty td { grid-column: 1 / -1; }

  /* How it works : une seule colonne, portefeuilles en dessous */
  .how { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
  .how-text { gap: 16px; }
  .how h2 { font-size: 34px; }
  .how-text p { font-size: 16px; }
  /* Titre absent de la maquette mobile : caché à l'écran, gardé pour les lecteurs d'écran */
  .wallets-title {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .wallet { gap: 6px; padding: 16px; border-radius: 12px; }
  .wallet-addr { font-size: 13px; word-break: break-all; }
  .wallet a { font-size: 14px; }

  /* Meme kit : deux colonnes, le dernier meme seul est centré, même taille */
  .memes { gap: 14px; padding-top: 40px; padding-bottom: 40px; }
  .memes-head { gap: 14px; }
  .memes h2 { font-size: 34px; }
  .memes-head p { font-size: 16px; }
  .memes-head .memes-hint { font-size: 14px; }
  .meme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .meme:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 5px);
  }
  .meme-caption { font-size: 13px; }

  /* Pied de page */
  .site-footer { gap: 12px; padding-top: 28px; padding-bottom: 40px; }
  .site-footer p { font-size: 13px; }
  .footer-domain { font-size: 12px; }
}

/* Petit téléphone : gouttières de 16 px comme la maquette */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
}


/* ============================================================
   Curseur flamme : seulement avec une souris (jamais sur écran tactile).
   Point de clic au bout de la pointe (2, 2), en haut à gauche comme une souris. Si l'image n'est pas
   supportée, le navigateur garde son curseur normal.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../cursor/flame.svg") 2 2, auto; }

  a[href],
  button:not(:disabled) { cursor: url("../cursor/flame-hover.svg") 2 2, pointer; }

  .links a.is-pending,
  button:disabled,
  .btn-copy:disabled { cursor: url("../cursor/flame.svg") 2 2, default; }
}
