/* Le fait et le fond — feuille de style du site
   Couleurs de la charte : modifier ici pour changer la palette. */
:root {
  --petrole: #2D4A53;
  --petrole-fonce: #1E343B;
  --ivoire: #F7F5EF;
  --papier: #FDFCF9;
  --anthracite: #292D30;
  --gris: #4A5054;
  --gris-clair: #5B6164;
  --dore: #B59A76;
  --filet: #DED8CB;
  --terre: #A66F5B;
  --terre-texte: #8A5644;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivoire); color: var(--anthracite); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
a { color: var(--petrole); text-decoration: none; }
a:hover { color: var(--petrole-fonce); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--ivoire); box-shadow: 0 0 0 4px var(--petrole); }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ivoire); padding: 8px 12px; z-index: 50; }

/* Boutons et champs */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border: 1px solid var(--petrole); background: transparent; color: var(--petrole); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.btn-plein { background: var(--petrole); color: #FFFFFF; }
.btn-plein:hover { background: var(--petrole-fonce); color: #FFFFFF; }
.champ { height: 48px; width: 100%; padding: 0 14px; background: var(--papier); border: 1px solid #8C9498; color: var(--anthracite); font: inherit; font-size: 16px; }
.champ-discret { height: 44px; padding: 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--gris-clair); color: var(--anthracite); font: inherit; font-size: 16px; max-width: 100%; }
.err { font-size: 14px; color: #8A2E1F; }
.err:empty { display: none; }
.clamp3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* En-tête */
.site-header { background: var(--ivoire); position: relative; z-index: 5; }
.site-header .top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 30px 0 24px; }
.site-header .spacer, .site-header .tools { flex: 1 1 240px; }
.logo { flex: 0 1 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--petrole); }
.logo-name { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 500; }
.logo-name em { font-weight: 400; }
.logo-sig { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gris); }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; padding: 0 6px; color: var(--gris-clair); border-bottom: 2px solid transparent; }
.lang a[aria-current="true"] { color: var(--petrole); border-bottom-color: var(--petrole); }
.lang span { color: var(--dore); }
.btn-soutenir { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; background: var(--petrole); color: #FFFFFF; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.btn-soutenir:hover { background: var(--petrole-fonce); color: #FFFFFF; }
.nav-desktop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 44px; padding: 8px 0; border-top: 1px solid var(--petrole); border-bottom: 1px solid var(--dore); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.nav-desktop > a, .dd > summary { padding: 11px 0 9px; color: var(--petrole); border-bottom: 2px solid transparent; cursor: pointer; }
.nav-desktop .is-active { border-bottom-color: var(--petrole); }
.nav-desktop .is-active.chroniques { border-bottom-color: var(--terre); }
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 9px; min-width: 200px; background: var(--ivoire); border: 1px solid var(--petrole); display: flex; flex-direction: column; padding: 6px 0; z-index: 10; }
.dd-menu a { padding: 12px 20px; }
.nav-mobile { display: none; border-top: 1px solid var(--petrole); border-bottom: 1px solid var(--dore); font-size: 16px; font-weight: 500; }
.nav-mobile > summary { list-style: none; height: 52px; display: flex; align-items: center; justify-content: space-between; color: var(--petrole); cursor: pointer; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile .liste { display: flex; flex-direction: column; padding-bottom: 10px; }
.nav-mobile .liste a { padding: 12px 0; border-top: 1px solid var(--filet); }
.nav-mobile .liste a.sous { padding: 10px 0 12px 20px; border-top: 0; font-weight: 400; }
@media (max-width: 760px) {
  .site-header .top { flex-direction: column; padding: 22px 0 16px; }
  .site-header .spacer { display: none; }
  .site-header .tools { flex: 0 0 auto; justify-content: center; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}

/* Newsletter */
.nl { background: var(--petrole); color: var(--ivoire); }
.nl .in { max-width: 720px; margin: 0 auto; padding: clamp(44px, 5vw, 64px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.nl h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.nl p { margin: 0; font-size: 18px; color: #DCE3E5; max-width: 32em; }
.nl .bientot { margin-top: 8px; padding: 8px 18px; border: 1px solid #8FA4AA; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--petrole); font-size: 16px; line-height: 1.5; }
.site-footer .in { max-width: 1200px; margin: 0 auto; padding: 52px clamp(20px, 5vw, 48px) 26px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 56px; }
.site-footer .marque { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.site-footer nav { flex: 0 1 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 15px; }
.site-footer nav a { display: block; padding: 5px 0; }
.site-footer .t { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris-clair); margin-bottom: 6px; }
.site-footer .bas { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--gris-clair); }

/* Page Soutenir */
.modes { display: flex; gap: 28px; border-bottom: 1px solid var(--filet); }
.mode { height: 46px; padding: 0 2px; margin-bottom: -1px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--gris-clair); font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.mode[aria-pressed="true"] { color: var(--petrole); border-bottom-color: var(--petrole); }
.niveau { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; background: var(--papier); border: 1px solid var(--filet); color: var(--anthracite); font: inherit; text-align: left; cursor: pointer; }
.niveau[aria-pressed="true"] { border-color: var(--petrole); box-shadow: 0 0 0 1px var(--petrole); }
.niveau-nom { font-size: 15px; color: var(--gris); }
.niveau-montant { font-family: var(--serif); font-size: 24px; color: var(--petrole); }
.js-libre:not([hidden]) { display: flex; }

/* Lecture des articles */
.lecture { max-width: 34em; margin: 0 auto; padding: 12px clamp(20px, 5vw, 48px) 0; font-size: 19px; line-height: 1.75; }
.lecture > * { margin: 0 0 22px; }
.lecture h2 { margin-top: 36px; font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.25; color: var(--petrole); }
.lecture blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--dore); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--petrole); }
.lecture.chronique blockquote { padding: 22px 0; border-left: 0; border-top: 1px solid var(--terre); border-bottom: 1px solid var(--terre); text-align: center; font-size: 25px; }
.lecture .sep { text-align: center; color: var(--terre); letter-spacing: 0.6em; font-size: 18px; }
.lecture img { display: block; width: 100%; height: auto; }
.lecture a { border-bottom: 1px solid var(--petrole); }
.partage { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--filet); font-size: 15px; line-height: 1.4; }
.partage a, .partage button { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--petrole); background: transparent; color: var(--petrole); font: inherit; font-weight: 500; cursor: pointer; }
