/* =============================================================================
 *  fin-beta.css — AMAGED · page autonome « fin de la bêta »
 *  Extrait minimal de styles.css : la page doit vivre SEULE en ligne pendant
 *  les travaux (le reste du site est retiré du FTP). Fichier séparé et non
 *  inline : la CSP du .htaccess (style-src 'self') interdit les <style>.
 * ========================================================================== */

/* ------------------------------------------------------------- Police */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;             /* police variable */
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette AMAGED (sous-ensemble de styles.css) */
  --marine: #14294D;
  --encre: #1F2933;
  --muted: #5A6B85;
  --corail: #FF7A59;
  --corail-pale: #FFEFE9;
  --vert-ok: #167A48;
  --vert-menthe: #E9FBF1;
  --blanc: #FFFFFF;
  --rayon-lg: 28px;
  --pilule: 999px;
  --ombre-marine: 0 24px 60px -28px rgba(20, 41, 77, .38);
}

/* ------------------------------------------------------------------ Base */
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  background: var(--marine);
  color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Halos décoratifs en position: fixed : en absolute, leurs dépassements
   créeraient un défilement latéral (leçon apprise sur la porte du site). */
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%; pointer-events: none;
  background: rgba(80, 118, 210, .14);
}
body::before { top: -140px; right: -120px; width: 460px; height: 460px; }
body::after { bottom: -180px; left: -140px; width: 380px; height: 380px; background: rgba(80, 118, 210, .09); }

/* ------------------------------------------------------------------ Carte */
.carte {
  position: relative; z-index: 1;
  background: var(--blanc); border-radius: var(--rayon-lg);
  box-shadow: var(--ombre-marine); padding: 2.1rem 1.9rem; width: min(430px, 100%);
  text-align: center; margin: auto;
}
.carte-logo { width: min(240px, 70%); margin: 0 auto .9rem; }
.carte-logo img { width: 100%; height: auto; display: block; }
h1 {
  font-family: 'Manrope', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800; font-size: 1.35rem; color: var(--marine); margin: 0 0 .2rem;
}
.sous-titre { color: var(--muted); margin: 0 0 1.2rem; font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--vert-menthe); color: var(--vert-ok);
  border-radius: var(--pilule); padding: .35rem .95rem;
  font-size: .85rem; font-weight: 800; margin-bottom: 1rem;
}
.badge svg { width: 17px; height: 17px; }

.coeur {
  width: 62px; height: 62px; margin: .2rem auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--corail-pale); border-radius: 50%; color: var(--corail);
}
.coeur svg { width: 30px; height: 30px; }

.texte { text-align: left; margin: 0 0 1.1rem; }
.texte:last-child { margin-bottom: .2rem; }
