/* Shared editorial design. Existing chart and form components stay in styles.css. */
:root {
  --bleu: #253bc4;
  --bleu-fonce: #17277e;
  --bleu-pale: #eef0fc;
  --bg: #f8f7f3;
  --alt: #efeee8;
  --paper: #fffefa;
  --ink: #19202c;
  --body: #404652;
  --muted: #626875;
  --line: #d8d9d5;
  --rouge: #b53328;
  --emeraude: #253bc4;
  --emeraude-fonce: #17277e;
  --emeraude-clair: #eef0fc;
  --focus: #253bc4;
}
html {
  scroll-padding-top: 138px;
}
body {
  font-size: 16px;
  line-height: 1.7;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 820px;
  padding-inline: 28px;
}
.home-wide,
.hero,
.site-inner,
.site-foot .wrap {
  max-width: 1160px;
}
h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.1rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}
h3 {
  font-size: 1.04rem;
  line-height: 1.4;
}
p {
  max-width: 68ch;
}
main p + p {
  margin-top: 16px;
}
main section.bloc {
  padding-block: 64px;
}
main > section.bloc:first-child {
  padding-top: 64px;
}
main > section.bloc > h1 {
  margin-bottom: 25px;
}
main > section.bloc > h2:not(:first-child) {
  margin-top: 42px;
}
main > section.bloc > ul,
main > section.bloc > ol {
  padding-left: 22px;
  margin-block: 18px;
}
main > section.bloc > p,
.article-body > p {
  margin-bottom: 18px;
}
main > section.bloc .sub {
  font-size: 1.13rem;
  line-height: 1.65;
}
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.btn,
nav a {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.7;
}
input[type="email"],
input[type="text"],
select,
textarea {
  border-radius: 8px;
  border: 1px solid #b6b9c2;
  background: #fff;
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--bleu);
  flex-shrink: 0;
}
.btn {
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 650;
  box-shadow: none;
}
.btn:hover {
  background: var(--bleu-fonce);
  transform: translateY(-1px);
}
.btn:disabled {
  transform: none;
}
.tricolore {
  height: 2px;
}
header.site {
  background: rgba(248, 247, 243, 0.97);
  box-shadow: none;
}
.site-inner {
  padding: 17px 28px 0;
}
.site-top {
  gap: 16px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand strong {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}
.brand small {
  font-size: 0.68rem;
  line-height: 1.4;
  margin-top: 2px;
}
nav.menu {
  gap: 14px;
  padding: 0;
  margin: 13px 0 0;
}
nav.menu a {
  padding: 7px 0 11px;
  font-size: 0.85rem;
  min-height: 42px;
}
nav.menu .nav-support {
  color: var(--bleu);
  margin-left: auto;
  font-weight: 700;
}
.lang-switch a,
.lang-switch span {
  border-radius: 5px;
}
.eyebrow,
.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  margin-bottom: 13px;
}
.hero {
  padding-block: 65px 56px;
}
.hero::before {
  display: none;
}
.hero-flex {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr);
  align-items: center;
  gap: 70px;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.5vw, 5.9rem);
  max-width: 11ch;
  line-height: 0.99;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-weight: 500;
  color: var(--bleu);
}
.hero .sub {
  margin-block: 26px 25px;
  font-size: 1.06rem;
  max-width: 50ch;
}
.cta-row {
  gap: 20px;
}
.cta-note {
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 18px;
}
.text-cta {
  color: var(--bleu);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}
.support-card {
  background: #202c70;
  color: #e1e4fa;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 16px 34px #19202c10;
}
.support-card .section-kicker {
  color: #bcc5ff;
}
.support-card h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 18px;
}
.support-card > p {
  font-size: 0.92rem;
  line-height: 1.65;
}
.support-card .support-action {
  width: 100%;
  background: #fff;
  color: #202c70;
  margin-top: 26px;
  font-size: 0.92rem;
}
.support-card .support-action:hover {
  background: #eef0fc;
}
.support-card .support-action:disabled {
  opacity: 1;
  background: #dfe4ff;
}
.support-card .support-assurance {
  font-size: 0.74rem;
  text-align: center;
  margin: 10px 0 20px;
}
.support-status:empty {
  display: none;
}
.support-status {
  margin-top: 12px;
  font-size: 0.82rem;
}
.support-status.err {
  color: #fff;
  border-left: 2px solid #f0b8ad;
  padding-left: 10px;
}
.support-total {
  border-top: 1px solid #ffffff30;
  padding-top: 19px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.support-total strong {
  font-size: 2.05rem;
  line-height: 1;
  color: white;
  font-variant-numeric: tabular-nums;
}
.support-total span {
  font-size: 0.76rem;
}
.support-help {
  display: inline-block;
  color: #fff;
  font-size: 0.8rem;
  margin-top: 18px;
}
.support-card .support-limit {
  font-size: 0.68rem;
  margin-top: 9px;
  color: #bdc6ee;
}
.proof-strip {
  max-width: 1104px;
  padding: 22px 0;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid var(--line);
}
.proof-strip p {
  margin: 0;
  font-size: 0.75rem;
}
.proof-strip strong {
  color: var(--bleu);
  margin-right: 9px;
  font-size: 0.66rem;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading .text-cta {
  flex-shrink: 0;
}
.section-intro {
  font-size: 1rem;
  margin-bottom: 26px;
}
.mechanism-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.mechanism-grid > a {
  color: var(--body);
  text-decoration: none;
  padding: 24px 23px 21px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.mechanism-grid > a:first-child {
  padding-left: 0;
}
.mechanism-grid > a:last-child {
  border-right: 0;
}
.mechanism-grid > a:hover {
  background: var(--bleu-pale);
}
.mechanism-num {
  color: var(--bleu);
  font-size: 0.72rem;
  font-weight: 700;
}
.mechanism-grid h3 {
  font-size: 1.06rem;
  margin: 13px 0 8px;
}
.mechanism-grid p {
  font-size: 0.84rem;
  line-height: 1.6;
}
.mechanism-grid a > span:last-child {
  display: block;
  margin-top: 14px;
  color: var(--bleu);
}
#decrypter > .field-note {
  margin-top: 16px;
}
.band {
  background: #eeede7;
}
.band section {
  padding-block: 44px;
}
.project-counts {
  display: flex;
  gap: 70px;
  margin: 28px 0 25px;
}
.project-counts p {
  margin: 0;
}
.project-counts strong {
  display: block;
  color: var(--ink);
  font-size: 2.8rem;
  font-weight: 550;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.project-counts span {
  display: block;
  font-size: 0.78rem;
  margin-top: 7px;
}
.objectif-track {
  height: 5px;
  max-width: 520px;
  margin: 16px 0;
  background: #d9d9cf;
}
.objectif-fill {
  background: var(--bleu);
}
.objectif-note {
  font-size: 0.86rem;
}
.bloc-form {
  border: 1px solid var(--line);
  background: #fffefa;
  padding: 30px;
  border-radius: 14px;
  box-shadow: none;
}
.form-step-label {
  margin-bottom: 16px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
}
.check-list {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-list label {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 62px;
  padding: 12px;
  align-items: center;
  line-height: 1.4;
  font-size: 0.87rem;
}
.check-list label:has(input:checked) {
  border-color: var(--bleu);
  background: var(--bleu-pale);
  color: var(--bleu-fonce);
}
.optional-field {
  border-block: 1px solid var(--line);
  margin: 24px 0;
  padding-block: 15px;
}
.optional-field > summary {
  color: var(--bleu);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
}
.optional-field .champ {
  margin-top: 15px;
}
.champ .consent {
  font-size: 0.79rem;
  line-height: 1.6;
}
.form-status {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.field-note,
.privacy-summary {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}
.faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.faq summary {
  padding: 20px 28px 20px 0;
  font-size: 0.98rem;
  font-weight: 600;
}
.faq .rep {
  padding: 0 0 20px;
  font-size: 0.93rem;
}
.help-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 65px;
  align-items: start;
}
.help-layout > div {
  padding-top: 18px;
}
.help-layout .bloc-form {
  margin: 0;
}
.help-layout > div > p {
  font-size: 0.95rem;
}
.help-layout .field-note {
  margin-top: 22px;
  font-size: 0.8rem;
}
.share-quote {
  font-family: Georgia, serif;
  border-left: 2px solid var(--bleu);
  font-size: 1.16rem;
  margin: 22px 0;
  padding: 5px 0 5px 24px;
  color: var(--ink);
  font-style: normal;
}
.share-row a,
.share-row button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.band-bleu {
  background: #202c70;
}
.band-bleu a {
  color: #fff;
}
.band-bleu h2 {
  color: #fff;
}
.band-bleu .section-kicker {
  color: #bcc5ff;
}
.band-bleu section.reports-grid {
  max-width: 1104px;
  padding-block: 50px;
  gap: 70px;
}
.band-bleu .reports-grid > div > p {
  font-size: 0.9rem;
  color: #e1e4fa;
}
.subscribe-card {
  border-radius: 12px;
}
.site-foot {
  background: var(--bg);
  padding-block: 38px;
  border-top: 1px solid var(--line);
}
.site-foot nav {
  gap: 12px 22px;
  margin-bottom: 22px;
}
.site-foot nav a,
.site-foot nav button {
  font-size: 0.78rem;
}
.site-foot p {
  font-size: 0.73rem;
  color: var(--muted);
  max-width: 100ch;
}
.article-summary {
  border-left: 3px solid var(--bleu);
  background: var(--bleu-pale);
  padding: 19px 22px;
  margin: 25px 0 32px;
  border-radius: 0 8px 8px 0;
}
.article-summary p {
  font-size: 0.92rem;
  margin: 0;
}
.article-summary strong {
  color: var(--ink);
}
.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin: 26px 0;
  padding-block: 17px;
  border-block: 1px solid var(--line);
  font-size: 0.78rem;
}
.article-next {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 22px;
}
.article-next p {
  font-size: 0.87rem;
  margin-bottom: 14px;
}
.candidate-page #intro,
.candidate-page #cartes {
  max-width: 1100px;
}
.candidate-page #intro h1 {
  max-width: 18ch;
}
.candidate-page #intro .sub {
  max-width: 72ch;
}
.editorial-note {
  padding: 18px 22px;
  border-left: 3px solid var(--bleu);
  background: var(--bleu-pale);
  font-size: 0.86rem;
  margin-block: 24px;
}
.candidate-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px 0;
}
.candidate-index a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
  min-height: 40px;
  background: #fffefa;
}
.candidate-index a:hover {
  background: var(--bleu-pale);
  border-color: var(--bleu);
}
.candidate-page #cartes {
  padding-top: 0;
}
.candidate-page .cand-grid {
  display: block;
  margin-block: 24px;
}
.candidate-page .cand-card {
  padding: 32px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
}
.candidate-page .cand-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.candidate-page .cand-head h2 {
  font-size: 2.15rem;
}
.candidate-page .cand-meta {
  font-size: 0.83rem;
  margin-block: 7px 18px;
}
.cand-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 38px;
}
.cand-facts-label,
.analysis-label {
  color: var(--bleu);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 750;
  margin-bottom: 14px;
}
.candidate-page .cand-bullets {
  padding-left: 18px;
  font-size: 0.86rem;
}
.candidate-page .cand-bullets li {
  margin-bottom: 20px;
  line-height: 1.65;
}
.candidate-page .cand-bullets .src {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 0.73rem;
  margin-top: 7px;
}
.cand-analysis h3 {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 15px;
}
.cand-analysis p {
  font-size: 0.91rem;
  line-height: 1.7;
}
.cand-blunt {
  margin: 22px 0;
  padding: 20px;
  background: #f1efea;
  border-radius: 8px;
}
.cand-blunt strong {
  display: block;
  color: var(--ink);
  margin-bottom: 7px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cand-check {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.cand-sources {
  margin-top: 20px;
  font-size: 0.78rem;
}
.cand-sources summary {
  cursor: pointer;
  color: var(--bleu);
  padding-block: 6px;
}
.cand-sources ul {
  padding: 10px 0 0 18px;
}
.cand-sources li {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.candidate-page .cand-avis {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.candidate-page .avis-label {
  font-size: 0.68rem;
}
.candidate-page .avis-btn {
  min-height: 40px;
  background: #f8f7f3;
}
.bandeau {
  border-radius: 12px;
}
.feedback-fab {
  opacity: 1;
}
@media (max-width: 1100px) {
  .proof-strip {
    margin-inline: 28px;
  }
  .hero-flex {
    gap: 35px;
  }
}
@media (max-width: 800px) {
  .hero-flex {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero h1 {
    max-width: 13ch;
    font-size: clamp(3.3rem, 10vw, 5rem);
  }
  .hero .sub {
    max-width: 60ch;
  }
  .support-card {
    max-width: none;
  }
  .proof-strip {
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  .mechanism-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mechanism-grid > a:nth-child(2) {
    border-right: 0;
  }
  .mechanism-grid > a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .mechanism-grid > a:first-child {
    padding-left: 23px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cand-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .candidate-page .cand-card {
    padding: 24px;
  }
  .project-counts {
    gap: 35px;
  }
  .band-bleu section.reports-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 540px) {
  .wrap {
    padding-inline: 22px;
  }
  .site-inner {
    padding: 12px 18px 0;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand strong {
    font-size: 0.9rem;
  }
  .brand small {
    max-width: 27ch;
    font-size: 0.62rem;
  }
  nav.menu {
    gap: 20px;
    margin-top: 10px;
  }
  nav.menu a {
    font-size: 0.77rem;
  }
  nav.menu .nav-support {
    margin-left: 0;
  }
  .hero {
    padding-block: 38px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero .sub {
    font-size: 1rem;
  }
  .hero .cta-row {
    gap: 17px;
  }
  .hero .cta-row .btn {
    width: auto;
  }
  .support-card {
    padding: 26px;
  }
  .support-card h2 {
    font-size: 2rem;
  }
  .proof-strip {
    margin-inline: 22px;
    display: grid;
    padding-block: 19px;
  }
  main section.bloc {
    padding-block: 40px;
  }
  main > section.bloc:first-child {
    padding-top: 38px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mechanism-grid > a,
  .mechanism-grid > a:first-child {
    padding: 18px 14px;
  }
  .mechanism-grid h3 {
    font-size: 0.96rem;
  }
  .mechanism-grid p {
    font-size: 0.78rem;
  }
  .project-counts {
    display: grid;
    gap: 18px;
  }
  .project-counts p {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .project-counts strong {
    min-width: 2ch;
    font-size: 2.1rem;
  }
  .project-counts span {
    margin-top: 0;
  }
  .bloc-form {
    padding: 23px 18px;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
  .candidate-page .cand-card {
    padding: 20px;
  }
  .candidate-page .cand-head h2 {
    font-size: 1.85rem;
  }
  .cand-blunt {
    padding: 16px;
  }
  .article-toc {
    gap: 11px 18px;
  }
  .site-foot nav {
    gap: 10px 18px;
  }
}
@media print {
  header.site,
  .bandeau,
  .feedback-fab,
  .support-action,
  .article-next {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
