/* Bientôt remplacé ? - feuille de style
   Palette : abysse (fond bleu nuit), trame (lignes), brume/givre (textes),
   ambre (signal, phosphore des vieux terminaux), corail et glace (urgence du verdict). */

@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  src: url(fonts/martian-mono-latin-standard-normal.woff2) format('woff2-variations');
  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: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  src: url(fonts/martian-mono-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anton : quasi-jumeau libre d'Impact, utilisé seulement là où Impact n'est pas installé (Android, iOS, Linux) */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/anton-latin-400-normal.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: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/anton-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(fonts/instrument-sans-latin-standard-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(fonts/instrument-sans-latin-standard-italic.woff2) format('woff2-variations');
}

/* Thème « écran bleu » : fond bleu plantage, texte blanc, « l'IA » en jaune,
   et le rouge réservé aux actions (boutons), comme sur l'image de partage. */
:root {
  --fond: #0033E6;
  --fond-fonce: #0029B8;
  --ombre: #001A80;
  --ligne: rgba(255, 255, 255, 0.3);
  --texte: #FFFFFF;
  --texte-doux: #D3DCFF;
  --encre: #0B1F7A;          /* texte bleu foncé dans les cartes blanches */
  --jaune: #FFE500;
  --rouge: #E8202A;
  --rouge-clair: #FF8A80;
  --chaleur: var(--jaune);

  --impact: Impact, 'Anton', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Code informatique qui s'écrit en fond (canvas piloté par app.js) */
.code-fond {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.9) 18%, rgba(0,0,0,.2) 34%, rgba(0,0,0,.2) 66%, rgba(0,0,0,.9) 82%, #000 100%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.9) 18%, rgba(0,0,0,.2) 34%, rgba(0,0,0,.2) 66%, rgba(0,0,0,.9) 82%, #000 100%);
}
@media (max-width: 760px) {
  .code-fond { -webkit-mask-image: none; mask-image: none; opacity: 0.32; }
}

.grain { display: none; }

.page {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4.5rem) 1.25rem 3rem;
}

a { color: var(--jaune); text-underline-offset: 0.18em; }
a:hover { color: var(--texte); }

:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Titre ---------- */

.smiley {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 6.2rem);
  line-height: 1;
  color: var(--texte);
}

.titre {
  margin: 0 0 1.1rem;
  font-family: var(--impact);
  font-weight: 400;
  font-size: clamp(3.4rem, 14.5vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--texte);
  text-shadow: 0 0 22px var(--fond), 0 0 6px var(--fond);
}
.titre-ia { color: var(--jaune); }

.chapeau {
  margin: 0 0 2.25rem;
  max-width: 38rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--texte);
  text-shadow: 0 0 12px var(--fond), 0 0 4px var(--fond);
}

/* ---------- Saisie ---------- */

.saisie-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.saisie-ligne {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--texte);
  background: var(--fond-fonce);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ombre);
}
.saisie-ligne:focus-within { border-color: var(--jaune); }

.invite {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--jaune);
  font-size: 1.15rem;
}

#metier {
  flex: 1;
  min-width: 0;
  padding: 1rem 0.75rem;
  background: transparent;
  border: 0;
  color: var(--texte);
  font-family: var(--mono);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  caret-color: var(--jaune);
}
#metier::placeholder { color: rgba(255, 255, 255, 0.6); }
#metier:focus { outline: none; }

.btn-analyser {
  margin: 0.35rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 3px;
  background: var(--rouge);
  color: #fff;
  font-family: var(--impact);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-analyser:hover { background: #FF3540; }
.btn-analyser:disabled { opacity: 0.6; cursor: wait; }

.exemples {
  margin: 1.1rem 0 0;
  color: var(--texte-doux);
  font-size: 0.95rem;
  text-shadow: 0 0 8px var(--fond);
}
.exemples .ex { white-space: nowrap; }
.exemples button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--texte);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--jaune);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.exemples button:hover { color: var(--jaune); }

.erreur {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 5px solid var(--rouge);
  background: #fff;
  color: var(--encre);
  font-weight: 600;
}

/* ---------- Journal d'analyse ---------- */

.analyse { margin-top: 2.75rem; }

.journal {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 2;
  color: var(--texte);
}
.journal li { text-shadow: 0 0 8px var(--fond); }
.journal li::before { content: '› '; color: var(--jaune); font-weight: 700; }
.journal li.fait::after { content: '  ok'; color: var(--jaune); font-weight: 700; }
.journal li.encours::after { content: '_'; color: var(--jaune); animation: clignote 0.9s steps(1) infinite; }

@keyframes clignote { 50% { opacity: 0; } }

/* ---------- Résultat ---------- */

.resultat { margin-top: 3rem; outline: none; }

.r-tete { margin-bottom: 1.75rem; }

.r-metier {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--jaune);
}

.r-libelle {
  margin: 0;
  max-width: 36rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--texte);
}

.r-echeance {
  margin: 0.25rem 0 0;
  font-family: var(--impact);
  font-weight: 400;
  font-size: clamp(3.6rem, 15vw, 7.5rem);
  line-height: 1;
  color: var(--texte);
  min-height: 1em;
  text-shadow: 0 0 20px var(--fond);
}

/* Frise des échéances */
.frise {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding-top: 0.9rem;
}
.frise-rail {
  position: absolute;
  top: 0.9rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ligne);
}
.frise-plein {
  position: absolute;
  top: 0.9rem;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--chaleur);
  transition: width 0.9s cubic-bezier(.2, .7, .2, 1);
}
.frise ol {
  position: relative;
  height: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frise li {
  position: absolute;
  top: 0;
  left: var(--x);
  transform: translateX(-50%);
  padding-top: 0.9rem;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 1.7vw, 0.78rem);
  color: var(--texte-doux);
  white-space: nowrap;
}
.frise li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 2px;
  height: 13px;
  margin-left: -1px;
  background: var(--ligne);
}
.frise li:first-child { transform: none; }
.frise li:first-child::before { left: 0; margin-left: 0; }
.frise li:last-child { transform: translateX(-100%); }
.frise li:last-child::before { left: auto; right: 0; margin-left: 0; }
.frise li.atteint { color: var(--texte); }
.frise li.atteint::before { background: var(--chaleur); }
.frise li.cible { color: var(--jaune); font-weight: 700; }
.frise li.cible::before {
  top: -7px;
  width: 15px;
  height: 15px;
  margin-left: -7px;
  background: var(--chaleur);
  border: 2px solid #fff;
  border-radius: 2px;
}
.frise li.cible:first-child::before { margin-left: 0; }
.frise li.cible:last-child::before { margin-left: 0; }

.r-accroche {
  margin: 0 0 2.25rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 5px solid var(--jaune);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--texte);
}

/* Jauge d'exposition */
.expo { margin: 0 0 2rem; }
.expo-tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
}
.expo-titre { font-weight: 600; font-size: 0.95rem; }
.expo-valeur { font-weight: 800; font-size: 1.3rem; color: var(--jaune); }
.expo-jauge {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
}
.expo-jauge span {
  height: 14px;
  border: 2px solid #fff;
  border-radius: 0;
  transition: background 0.2s;
}
.expo-jauge span.on { background: var(--chaleur); border-color: var(--chaleur); }
.expo-aide { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--texte-doux); }

.r-verdict {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: var(--texte);
}

.colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 2px solid #fff;
  border-bottom: 1px solid var(--ligne);
}
.colonnes h3, .bloc h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
}
.colonnes ul, .bloc ul { margin: 0; padding: 0; list-style: none; }
.colonnes li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--texte);
}
.colonnes li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-weight: 800;
}
.col-ia li::before { content: '×'; color: var(--rouge-clair); }
.col-humain li::before { content: '+'; color: var(--jaune); }

.bloc { margin: 0 0 2.5rem; }
.conseils li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.7rem;
}
.conseils li::before {
  content: '›';
  position: absolute;
  left: 0.15rem;
  color: var(--jaune);
  font-family: var(--mono);
  font-weight: 800;
}

/* Sources du verdict */
.sources-intro { margin: -0.3rem 0 1.1rem; font-size: 0.9rem; color: var(--texte-doux); }
.sources li { padding: 0.95rem 0; border-top: 1px solid var(--ligne); }
.sources li:last-child { border-bottom: 1px solid var(--ligne); }
.sources a { font-weight: 700; }
.s-meta { display: block; margin-top: 0.2rem; font-size: 0.86rem; color: var(--texte-doux); }
.s-type {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  background: var(--jaune);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--encre);
}
.s-apport { margin: 0.5rem 0 0; font-size: 0.95rem; color: var(--texte); }

.r-note { margin: 0 0 2rem; font-size: 0.88rem; color: var(--texte-doux); }

/* Partage */
.partage { margin: 0 0 1rem; }
.partage-titre { margin: 0 0 0.75rem; font-weight: 700; }
.partage-boutons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 2px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font: 600 0.92rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-plein { background: var(--rouge); border-color: var(--rouge); }
.btn-plein:hover { background: #FF3540; }
.btn-relancer { margin-top: 1.25rem; }

.invalide {
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  border-left: 5px solid var(--jaune);
  background: #fff;
  color: var(--encre);
}
.invalide p { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; }
.invalide .btn { border-color: var(--encre); color: var(--encre); }
.invalide .btn:hover { background: #EEF2FF; }

/* ---------- Newsletter (carte blanche) ---------- */

.newsletter, .popup-nl { color: var(--encre); }

.newsletter {
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--ombre);
}
.newsletter-titre {
  margin: 0 0 0.5rem;
  font-family: var(--impact);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  line-height: 1.05;
  color: var(--fond);
}
.newsletter-texte { margin: 0 0 1.1rem; color: var(--encre); }

.nl-label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.92rem; }
.nl-ligne { display: flex; gap: 0.5rem; }
.nl-ligne[hidden], .nl-label[hidden] { display: none; }
.nl-ligne input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 2px solid #C9D4F5;
  border-radius: 3px;
  background: #fff;
  color: var(--encre);
  font: 500 1rem var(--sans);
}
.nl-ligne input:focus { outline: none; border-color: var(--fond); }
.nl-btn {
  padding: 0 1.2rem;
  border: 0;
  border-radius: 3px;
  background: var(--rouge);
  color: #fff;
  font: 400 1.2rem var(--impact);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}
.nl-btn:hover { background: #FF3540; }
.nl-btn:disabled { opacity: 0.6; cursor: wait; }
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-retour { margin: 0.75rem 0 0; font-weight: 600; color: var(--encre); }
.nl-retour.nl-erreur { color: var(--rouge); }
.nl-retour.nl-ok {
  margin-top: 0;
  padding: 0.7rem 0.9rem;
  border-left: 5px solid var(--jaune);
  background: #FFFBD6;
}
.nl-mention { margin: 0.85rem 0 0; font-size: 0.8rem; line-height: 1.45; color: #4A5A9A; }
.nl-mention a { color: var(--fond); }

/* Pop-up discret en bas d'écran */
.popup-nl {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10;
  width: min(390px, calc(100% - 2.5rem));
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--ombre), 0 18px 40px rgba(0, 10, 60, 0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s, transform 0.25s;
}
.popup-nl.visible { opacity: 1; transform: none; }
.popup-fermer {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: none;
  color: #4A5A9A;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.popup-fermer:hover { color: var(--encre); }
.popup-titre {
  margin: 0 2rem 0.4rem 0;
  font-family: var(--impact);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--fond);
}
.popup-texte { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--encre); }
.popup-nl .nl-mention { font-size: 0.74rem; }
.popup-non {
  margin-top: 0.6rem;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: #4A5A9A;
  font: 600 0.88rem var(--sans);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* ---------- Classement des métiers testés ---------- */

.classement { margin-top: 4.5rem; }
.classement-titre {
  margin: 0 0 0.4rem;
  font-family: var(--impact);
  font-weight: 400;
  font-size: clamp(2rem, 6.5vw, 3rem);
  line-height: 1.02;
  color: var(--texte);
  text-shadow: 0 0 18px var(--fond);
}
.classement-intro { margin: 0 0 1.2rem; font-family: var(--mono); font-size: 0.9rem; color: var(--texte-doux); }
.classement-choix { display: flex; gap: 0; margin-bottom: 0.8rem; }
.classement-choix button {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font: 400 1.15rem var(--impact);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.classement-choix button + button { border-left: 0; }
.classement-choix button[aria-pressed="true"] { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.classement-legende { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--texte-doux); }

.classement-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 31rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: rgba(0, 26, 128, 0.35);
  scrollbar-color: var(--jaune) transparent;
}
.cl-ligne {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  grid-template-areas:
    "rang nom valeur"
    "rang barre barre"
    "rang echeance echeance";
  align-items: center;
  gap: 0.3rem 0.75rem;
  width: 100%;
  padding: 0.75rem 0.6rem;
  border: 0;
  border-bottom: 1px solid var(--ligne);
  background: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cl-ligne:hover { background: rgba(255, 255, 255, 0.08); }
.cl-rang { grid-area: rang; align-self: start; font: 400 1.7rem/1 var(--impact); color: var(--jaune); }
.cl-nom { grid-area: nom; font-weight: 700; font-size: 1rem; }
.cl-valeur { grid-area: valeur; font: 800 0.9rem var(--mono); color: var(--jaune); }
.cl-barre { grid-area: barre; position: relative; height: 12px; border: 2px solid #fff; }
.cl-plein { position: absolute; left: 0; top: 0; bottom: 0; }
.cl-echeance { grid-area: echeance; font: 500 0.78rem var(--mono); color: var(--texte-doux); }
.classement-note { margin: 0.7rem 0 0; font-size: 0.82rem; color: var(--texte-doux); }

/* ---------- Pied de page ---------- */

.pied {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ligne);
  color: var(--texte-doux);
  font-size: 0.95rem;
}
.methode summary { cursor: pointer; font-weight: 700; color: var(--texte); padding: 0.4rem 0; }
.methode summary::marker { color: var(--jaune); }
.methode-corps {
  margin-top: 0.75rem;
  padding: 1.25rem;
  background: rgba(0, 26, 128, 0.6);
  border: 1px solid var(--ligne);
  border-radius: 4px;
}
.methode-corps p { margin: 0 0 1rem; max-width: 40rem; color: var(--texte); }
.methode-corps strong { color: var(--jaune); }
.biblio-titre { margin: 2rem 0 0.25rem; font-size: 1.1rem; color: var(--texte); }
.biblio-type { margin: 1.5rem 0 0.5rem; font-size: 0.95rem; color: var(--jaune); font-weight: 700; }
.biblio { margin: 0; padding: 0; list-style: none; }
.biblio li { padding: 0.6rem 0; border-top: 1px solid var(--ligne); }
.biblio a { font-weight: 700; }
.biblio-meta, .biblio-constat { display: block; font-size: 0.86rem; }
.biblio-constat { color: var(--texte); margin-top: 0.15rem; }
.credit { margin: 1.5rem 0 0; font-size: 0.9rem; }

/* ---------- Petits écrans ---------- */

@media (max-width: 560px) {
  .page { padding-top: 1.75rem; }
  .chapeau { font-size: 0.88rem; }
  .saisie-ligne { flex-wrap: wrap; }
  .invite { padding-left: 0.9rem; }
  #metier { padding: 0.95rem 0.6rem; }
  .btn-analyser { flex: 1 1 100%; margin: 0 0.35rem 0.35rem; min-height: 3rem; }
  .colonnes { grid-template-columns: 1fr; gap: 1.25rem; }
  .expo-jauge span { height: 12px; }
  .nl-ligne { flex-direction: column; }
  .nl-btn { min-height: 2.9rem; }
  .newsletter { padding: 1.2rem; }
  .popup-nl { right: 0.6rem; left: 0.6rem; bottom: 0.6rem; width: auto; padding: 1rem 1rem 0.8rem; }
  .popup-titre { font-size: 1.45rem; }
  .popup-texte { font-size: 0.9rem; margin-bottom: 0.7rem; }
  .popup-nl .nl-ligne { flex-direction: row; }
  .popup-nl .nl-btn { min-height: 0; padding: 0 0.9rem; }
  .popup-nl .nl-mention { font-size: 0.7rem; margin-top: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
