/* =========================================================================
   Le Grand Large by Basalte Consulting — style.css
   Charte du 2026-08-18, validee par Lolitta.
   Principe : les images portent le soleil, tout le reste reste sobre.
   ========================================================================= */

/* ============================= JETONS ============================= */
:root {
  --blanc:  #FFFFFF;
  --voile:  #F6F9F9;
  --encre:  #17323A;
  --encre-lue: #16333B;   /* corps d'article : contraste renforce, reglage B */
  --texte:  #3D5A61;
  --brume:  #6E8688;
  --brume-claire: #8DA1A3;
  --or:     #BE8535;
  --or-clair: #E8C88A;
  --lagon:  #7EBDBA;
  --trait:  #E2EBEA;

  /* Echelle optique de Newsreader (axe opsz, 6 a 72).
     L'oeil suit la taille de rendu, SAUF pour le corps qu'on descend
     volontairement sous sa taille reelle : le trait s'epaissit et les
     contreformes s'ouvrent. Second levier de lisibilite. */
  --opsz-manchette:  44;
  --opsz-titre:      32;
  --opsz-intertitre: 26;
  --opsz-chapo:      22;
  --opsz-corps:      16;
  --opsz-legende:    10;

  --f-marque: 'Manrope', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --f-titre:  'Newsreader', 'Iowan Old Style', 'Charter', Georgia, serif;
  --f-meta:   'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1020px;
  --maxw-lecture: 720px;
  --pad-x: 40px;
}

/* ============================= RESET ============================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--f-meta);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--or); outline-offset: 3px; border-radius: 3px;
}
.saut {
  position: absolute; left: -999px; top: 0;
  background: var(--encre); color: #fff; padding: 12px 18px; z-index: 100;
}
.saut:focus { left: 0; }

.large { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.etroit { max-width: var(--maxw-lecture); margin: 0 auto; padding: 0 var(--pad-x); }

/* ============================= EN-TETE ============================= */
.tete { padding: 34px 0 26px; text-align: center; }
.marque-nom {
  font-family: var(--f-marque); font-weight: 800; font-size: 32px;
  letter-spacing: -.05em; line-height: 1; color: var(--encre);
}
.marque-by {
  font-size: 10px; font-weight: 500; letter-spacing: .19em;
  text-transform: uppercase; color: var(--brume); margin-top: 11px;
}
.menu {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
}
.menu a {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--encre);
}
.menu a:hover, .menu a.actif { color: var(--or); }

/* ============================= UNE ============================= */
/* Pleine largeur, mais bornee : sans plafond, la photo occupe tout l'ecran
   sur un grand moniteur et la page ne commence jamais. */
.hero img { width: 100%; max-height: 62vh; object-fit: cover; }
.rubrique {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--or);
}
.une { padding: 62px 0 74px; text-align: center; }
.une h1 {
  font-family: var(--f-titre); font-weight: 400; font-size: clamp(30px, 4.4vw, 50px);
  letter-spacing: -.018em; line-height: 1.13; margin: 20px auto 22px;
  max-width: 17ch; text-wrap: balance; color: var(--encre);
  font-variation-settings: 'opsz' var(--opsz-manchette), 'wght' 400;
}
.chapo {
  font-family: var(--f-titre); font-size: 19px; line-height: 1.68;
  color: var(--texte); max-width: 56ch; margin: 0 auto;
  font-variation-settings: 'opsz' var(--opsz-chapo), 'wght' 400;
}
.signe {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brume-claire); margin-top: 30px; font-variant-numeric: tabular-nums;
}

/* ============================= SIGNATURE ============================= */
/* Sortie du bloc-marque le 2026-08-18 : elle vit en declaration pleine largeur. */
.signature { padding: 104px 0; text-align: center; }
.signature .filet-or { width: 44px; height: 2px; background: var(--or); margin: 0 auto 32px; }
.signature p {
  font-family: var(--f-titre); font-weight: 400; font-size: clamp(27px, 3.8vw, 42px);
  line-height: 1.24; letter-spacing: -.015em; color: var(--encre);
  max-width: 19ch; margin: 0 auto;
  font-variation-settings: 'opsz' var(--opsz-manchette), 'wght' 400;
}

/* ============================= EN VEDETTE ============================= */
.vedette { background: var(--voile); padding: 92px 0; }
.vedette-in { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.vedette img { border-radius: 8px; }
.vedette h2 {
  font-family: var(--f-titre); font-weight: 400; font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.18; letter-spacing: -.015em; margin: 18px 0; text-wrap: balance;
  color: var(--encre); font-variation-settings: 'opsz' var(--opsz-titre), 'wght' 400;
}
.vedette p {
  font-family: var(--f-titre); font-size: 17.5px; line-height: 1.68;
  color: var(--texte); max-width: 44ch;
  font-variation-settings: 'opsz' var(--opsz-corps), 'wght' 400;
}
.lire {
  display: inline-block; margin-top: 26px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--or);
  border-bottom: 1px solid var(--or-clair); padding-bottom: 5px;
}

/* ============================= GRILLE ============================= */
.grille-sec { padding: 92px 0; }
.grille-titre {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brume-claire); text-align: center; margin-bottom: 52px;
}
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grille img { border-radius: 8px; margin-bottom: 24px; }
.grille h3 {
  font-family: var(--f-titre); font-weight: 400; font-size: 25px; line-height: 1.22;
  letter-spacing: -.012em; margin: 14px 0 12px; text-wrap: balance; color: var(--encre);
  font-variation-settings: 'opsz' var(--opsz-intertitre), 'wght' 400;
}
.grille p {
  font-family: var(--f-titre); font-size: 16.5px; line-height: 1.62; color: var(--texte);
  font-variation-settings: 'opsz' var(--opsz-corps), 'wght' 400;
}

/* ============================= LA LETTRE ============================= */
/* Fond voile et non bleu sombre : un aplat fonce cassait la page (2026-08-18). */
.lettre {
  padding: 88px 0; text-align: center; background: var(--voile);
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
}
.lettre h2 {
  font-family: var(--f-titre); font-weight: 400; font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.16; color: var(--encre); margin-bottom: 18px; text-wrap: balance;
  font-variation-settings: 'opsz' var(--opsz-titre), 'wght' 400;
}
.lettre > .large > p {
  font-family: var(--f-titre); font-size: 17.5px; line-height: 1.66;
  color: var(--texte); max-width: 46ch; margin: 0 auto 34px;
  font-variation-settings: 'opsz' var(--opsz-chapo), 'wght' 400;
}
.formulaire { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.formulaire input {
  flex: 1; background: #fff; border: 1px solid #D5E2E1; border-radius: 6px;
  padding: 14px 16px; font-size: 14px; color: var(--encre); font-family: var(--f-meta);
}
.formulaire button {
  background: var(--or); color: #fff; font-weight: 600; font-size: 13px;
  letter-spacing: .05em; border: none; border-radius: 6px; padding: 14px 24px;
  white-space: nowrap; cursor: pointer; font-family: var(--f-meta);
}
.formulaire button:hover { background: #A8742C; }
.lettre small { display: block; font-size: 12px; color: var(--brume-claire); margin-top: 16px; }

/* ============================= ARTICLE ============================= */
.art-tete { padding: 74px 0 40px; text-align: center; }
.art-tete h1 {
  font-family: var(--f-titre); font-weight: 400; font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.018em; line-height: 1.14; color: var(--encre);
  margin: 20px auto 22px; max-width: 18ch; text-wrap: balance;
  font-variation-settings: 'opsz' var(--opsz-manchette), 'wght' 400;
}
.art-chapo {
  font-family: var(--f-titre); font-size: 19.5px; line-height: 1.66; color: var(--texte);
  max-width: 54ch; margin: 0 auto;
  font-variation-settings: 'opsz' var(--opsz-chapo), 'wght' 400;
}
.art-meta {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brume-claire); margin-top: 32px; font-variant-numeric: tabular-nums;
}
.corps {
  font-family: var(--f-titre); font-size: 19.5px; line-height: 1.75;
  color: var(--encre-lue); padding: 20px 0 40px;
  font-variation-settings: 'opsz' var(--opsz-corps), 'wght' 400;
}
.corps p { margin-bottom: 26px; }
.corps h2 {
  font-family: var(--f-titre); font-weight: 400; font-size: 27px; letter-spacing: -.012em;
  line-height: 1.24; color: var(--encre); margin: 52px 0 20px;
  font-variation-settings: 'opsz' var(--opsz-intertitre), 'wght' 400;
}
.corps a { color: var(--or); border-bottom: 1px solid var(--or-clair); }
.corps ul { margin: 0 0 26px; }
.corps li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.corps li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 1px; background: var(--lagon);
}
.citation {
  border-left: 2px solid var(--lagon); padding-left: 26px; margin: 42px 0;
  font-size: 22px; line-height: 1.5; color: var(--encre); font-style: italic;
}
.renvoi {
  font-family: var(--f-meta); font-size: 14.5px; line-height: 1.6; color: var(--texte);
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  padding: 22px 0; margin: 42px 0;
}
.renvoi strong { color: var(--encre); font-weight: 600; }
.renvoi a { color: var(--or); }

/* ============================= VIDEO ============================= */
.video { position: relative; }
.video img { width: 100%; }
.video-lecture { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-lecture span {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.88); background: rgba(23,50,58,.26);
  backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
}
.video-lecture span::after {
  content: ""; width: 0; height: 0; margin-left: 6px;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.video-duree {
  position: absolute; right: 18px; bottom: 18px; background: rgba(23,50,58,.74);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  padding: 6px 11px; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.video-legende {
  font-family: var(--f-meta); font-size: 13px; color: var(--brume-claire); padding-top: 14px;
  font-variation-settings: 'opsz' var(--opsz-legende), 'wght' 400;
}

/* ============================= ETIQUETTES ============================= */
/* Regle non negociable : l'etiquette est TOUJOURS plus visible que le logo. */
.etiq-tribune {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brume);
}
.etiq-partenaire {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--encre); border: 1px solid #C9D9D8;
  border-radius: 3px; padding: 6px 11px; background: var(--voile);
}
.bloc-partenaire {
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  padding: 30px 0; margin: 46px 0; display: flex; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.bloc-partenaire p { font-size: 14.5px; line-height: 1.6; color: var(--texte); flex: 1; min-width: 240px; }

/* ============================= PIED ============================= */
.pied {
  padding: 46px 0; font-size: 12.5px; color: var(--brume-claire);
  text-align: center; border-top: 1px solid var(--trait);
}
.pied span { display: block; margin-top: 7px; }
.pied a:hover { color: var(--or); }

/* ============================= RESPONSIF ============================= */
@media (max-width: 860px) {
  :root { --pad-x: 24px; }
  .vedette-in, .grille { grid-template-columns: 1fr; gap: 34px; }
  .vedette, .grille-sec, .signature { padding: 60px 0; }
  .formulaire { flex-direction: column; }
  .menu { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============================= ABONNEMENT ============================= */
.abo-ok, .abo-erreur {
  font-family: var(--f-titre); font-size: 17.5px; line-height: 1.6;
  max-width: 46ch; margin: 0 auto;
  font-variation-settings: 'opsz' var(--opsz-chapo), 'wght' 400;
}
.abo-ok { color: var(--encre); }
.abo-erreur { color: #A8442C; margin-bottom: 20px; }
