/* CYBERCRATIE : feuille de style commune */
:root {
  --encre: #151515;
  --texte: #242424;
  --fond: #ffffff;
  --gris-fig: #f4f4f4;
  --filet: #e8e8e8;
  --gris: #757575;
  --accent: #d0271e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--serif); background: var(--fond); color: var(--texte); line-height: 1.75; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

#progression { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 300; }

.topbar {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.03em;
  color: var(--gris); border-bottom: 1px solid var(--filet);
  padding: 9px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* Masthead centre */
.masthead {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px; padding: 32px 0 24px;
}
.masthead .marque { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.masthead h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: normal; letter-spacing: 0.005em; line-height: 1; color: var(--encre); }
.logo-mark { width: 54px; height: 54px; flex-shrink: 0; border-radius: 10px; }
.slogan { font-style: italic; font-size: 1.02rem; color: var(--encre); }
.slogan-detail {
  font-family: var(--sans); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--gris);
}

nav {
  border-top: 1px solid var(--encre); border-bottom: 1px solid var(--filet);
  position: sticky; top: 0; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); z-index: 100;
}
nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
nav a {
  display: block; padding: 14px 20px 13px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  text-decoration: none; color: var(--encre);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
nav a.actif { color: var(--accent); border-bottom-color: var(--accent); }

/* Accueil : a la une */
.une { padding: 44px 0 48px; border-bottom: 1px solid var(--filet); }
.une-grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .une-grille { grid-template-columns: 1fr; gap: 26px; } }
.une figure { border-radius: 6px; overflow: hidden; background: var(--gris-fig); }
.une figure svg { transition: transform .5s ease; }
.une a:hover figure svg { transform: scale(1.03); }
.kicker {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: 12px;
}
.une h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: normal; line-height: 1.22; color: var(--encre); }
.une h2 a { text-decoration: none; }
.une h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.une .chapo { margin-top: 15px; font-size: 1.05rem; color: #4a4a4a; }
.une .signature { margin-top: 16px; font-family: var(--sans); font-size: 0.74rem; color: var(--gris); }
.une .lire-plus {
  display: inline-block; margin-top: 22px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  text-decoration: none; color: #fff; background: var(--encre);
  padding: 11px 24px; border-radius: 3px; transition: background .2s;
}
.une .lire-plus:hover { background: var(--accent); }

/* Rubriques */
section.rubrique { padding: 44px 0; border-bottom: 1px solid var(--filet); }
.rubrique-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.rubrique-titre .gauche { display: flex; align-items: baseline; gap: 14px; }
.rubrique-titre h2 {
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--encre);
  padding-left: 12px; border-left: 4px solid var(--accent);
}
.rubrique-titre .compte { font-family: var(--sans); font-size: 0.72rem; color: var(--gris); }
.rubrique-titre .tout {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  text-decoration: none; color: var(--gris); text-transform: uppercase; letter-spacing: 0.08em;
}
.rubrique-titre .tout:hover { color: var(--accent); }
.rubrique-vide { color: var(--gris); font-style: italic; }

.liste-articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px; }
article.entree { display: flex; flex-direction: column; }
article.entree figure { border-radius: 6px; overflow: hidden; background: var(--gris-fig); margin-bottom: 14px; }
article.entree figure svg { transition: transform .5s ease; }
article.entree:hover figure svg { transform: scale(1.04); }
.entree .meta {
  font-family: var(--sans); font-size: 0.68rem; color: var(--gris);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 7px;
}
.entree .meta b { color: var(--accent); font-weight: 700; }
.entree h3 { font-size: 1.18rem; font-weight: normal; line-height: 1.32; color: var(--encre); }
.entree h3 a { text-decoration: none; }
.entree h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entree .chapo { font-size: 0.9rem; color: #4a4a4a; margin-top: 8px; }

/* Tete de page de section */
.entete-section { padding: 46px 0 10px; }
.entete-section h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: normal; color: var(--encre);
  padding-left: 16px; border-left: 5px solid var(--accent); line-height: 1.2;
}
.entete-section p { margin-top: 14px; color: var(--gris); font-style: italic; max-width: 680px; }

/* A propos */
.apropos { padding: 48px 0; border-bottom: 1px solid var(--filet); }
.apropos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 820px) { .apropos-grille { grid-template-columns: 1fr; gap: 16px; } }
.apropos p { color: #3c3c3c; margin-bottom: 14px; }

/* Page article */
.article-page { max-width: 720px; margin: 0 auto; padding: 44px 24px 56px; }
.retour {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  text-decoration: none; color: var(--gris);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.retour:hover { color: var(--accent); }
.article-page h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: normal; line-height: 1.22; color: var(--encre);
  margin: 18px 0 14px;
}
.article-page .chapo-article { font-size: 1.15rem; color: #555; font-style: italic; margin-bottom: 22px; }
.article-meta {
  font-family: var(--sans); font-size: 0.75rem; color: var(--gris);
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--filet);
}
.article-page figure { margin: 26px 0; border-radius: 6px; overflow: hidden; }
.article-page figure svg { background: var(--gris-fig); }
.article-page figcaption { font-family: var(--sans); font-size: 0.73rem; color: var(--gris); margin-top: 9px; padding: 0 2px; }
.contenu p { margin-bottom: 24px; font-size: 1.1rem; line-height: 1.85; }
.contenu > p:first-of-type::first-letter {
  initial-letter: 3; -webkit-initial-letter: 3;
  font-weight: bold; padding-right: 10px; color: var(--accent);
}
.contenu h2 {
  font-family: var(--sans); font-size: 1.3rem; font-weight: 700; line-height: 1.4;
  color: var(--encre); margin: 38px 0 16px;
}
.exergue {
  font-size: 1.32rem; font-style: italic; line-height: 1.5;
  margin: 34px 0; padding-left: 22px;
  border-left: 3px solid var(--accent); color: #333;
}
.sources {
  margin-top: 36px; padding: 20px 24px;
  background: var(--gris-fig); border-radius: 6px;
  font-family: var(--sans); font-size: 0.82rem;
}
.sources h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gris); margin-bottom: 10px; }
.sources ul { list-style: none; }
.sources li { margin-bottom: 6px; }
.sources a { color: #333; text-decoration: none; border-bottom: 1px solid #c9c9c9; }
.sources a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Partage */
.partage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 4px; }
.partage .lib {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gris); margin-right: 4px;
}
.partage button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--filet); background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.partage button svg { width: 16px; height: 16px; fill: var(--encre); }
.partage button:hover { background: var(--encre); border-color: var(--encre); }
.partage button:hover svg { fill: #fff; }
.partage .copie-ok { font-family: var(--sans); font-size: 0.72rem; color: var(--accent); opacity: 0; transition: opacity .3s; }

.article-fin {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--filet);
  font-family: var(--sans); font-size: 0.8rem; color: var(--gris);
}

/* Newsletter */
.newsletter { padding: 46px 0; background: var(--encre); color: #fff; }
.newsletter-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .newsletter-grille { grid-template-columns: 1fr; } }
.newsletter h2 { font-size: 1.45rem; font-weight: normal; margin-bottom: 8px; }
.newsletter p { color: #b9b9b9; font-size: 0.94rem; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 210px; padding: 13px 16px; border-radius: 3px;
  font-family: var(--sans); font-size: 0.9rem;
  border: 1px solid #4a4a4a; background: transparent; color: #fff;
}
.newsletter input::placeholder { color: #8b8b8b; }
.newsletter button {
  padding: 13px 26px; border-radius: 3px;
  background: #fff; color: var(--encre); border: 1px solid #fff;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s;
}
.newsletter button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.newsletter .note { font-size: 0.73rem; margin-top: 12px; color: #8b8b8b; }

/* Footer */
footer { padding: 36px 0; font-family: var(--sans); font-size: 0.8rem; color: var(--gris); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--accent); }
