/* ==========================================================================
   Ai4HER — feuille unique du média (maquette, 22/10/2026)
   Couleurs relevées au pixel sur le logo officiel (assets/img/ai4her-logo.png).
   Règle de marque : le logo ne se pose JAMAIS sur du blanc — en-tête et pied
   sont sur l'encre, le papier ivoire est réservé au texte.
   Les quatre couleurs du logo sont des ACCENTS (rubriques, filets, visuels),
   jamais des aplats de page : le média vise des dirigeantes, pas un goûter.
   ========================================================================== */

:root {
  --pink: #d63b66;
  --green: #85e493;
  --indigo: #6c61ec;
  --purple: #a855f7;

  /* variantes lisibles sur papier (contraste AA sur --paper) */
  --pink-t: #b2244d;
  --green-t: #1d7a3c;
  --indigo-t: #4f44d4;
  --purple-t: #8231d6;

  --ink: #15111e;
  --ink-2: #211b2f;
  --ink-line: #352d47;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --text: #1b1724;
  --muted: #5d5768;
  --line: #e3dcd0;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 16px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Filet quatre couleurs : la signature, reprise du « E » du logo --- */
.quad {
  height: 4px;
  background: linear-gradient(90deg,
    var(--pink) 0 25%, var(--green) 25% 50%, var(--indigo) 50% 75%, var(--purple) 75% 100%);
}

/* --- Bandeau maquette --- */
.maquette {
  background: var(--green);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 6px var(--gutter);
}

/* --- En-tête --- */
.masthead { background: var(--ink); color: #fff; }
.masthead__top {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: .04em; color: #b9b2c8;
  padding-top: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-line);
}
.masthead__top span:last-child { display: none; }
@media (min-width: 760px) { .masthead__top span:last-child { display: inline; } }
.masthead__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; padding-bottom: 18px;
}
.logo img { height: 30px; width: auto; }
@media (min-width: 760px) { .logo img { height: 40px; } }

.nav { display: none; }
.nav a {
  text-decoration: none; color: #e9e5f2; font-size: 15px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--green); color: #fff; }
.masthead__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  background: none; border: 1px solid var(--ink-line); color: #fff;
  border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer;
}
@media (min-width: 1000px) {
  .nav { display: flex; gap: 26px; }
  .menu-btn { display: none; }
}
/* Mobile : le menu ouvert passe SOUS le logo, sur toute la largeur. */
.masthead__bar { flex-wrap: wrap; }
.nav.is-open {
  display: flex; flex-direction: column; gap: 4px;
  order: 3; flex-basis: 100%;
  border-top: 1px solid var(--ink-line); padding-top: 12px;
}
.nav.is-open a { align-self: flex-start; }
@media (min-width: 1000px) {
  .masthead__bar { flex-wrap: nowrap; }
  .nav.is-open { flex-direction: row; order: 0; flex-basis: auto; border: 0; padding: 0; gap: 26px; }
}

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border-radius: var(--radius); border: 2px solid transparent;
  padding: 13px 20px; white-space: nowrap;
}
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: #bf2c56; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #6fd97f; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.masthead .btn--sm { display: none; }
@media (min-width: 560px) { .masthead .btn--sm { display: inline-flex; } }

/* --- Rubriques (kickers) --- */
.kicker {
  display: inline-block; font: 700 12px/1.2 var(--sans);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px;
}
.k-leadership { color: var(--pink-t); }
.k-entreprendre { color: var(--indigo-t); }
.k-metiers { color: var(--purple-t); }
.k-gouvernance { color: var(--green-t); }
.k-portraits { color: var(--pink-t); }
.on-ink .k-leadership, .on-ink .k-portraits { color: #ff7fa1; }
.on-ink .k-entreprendre { color: #a59dff; }
.on-ink .k-metiers { color: #cf9bff; }
.on-ink .k-gouvernance { color: var(--green); }

/* --- Titres --- */
h1, h2, h3, .serif { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.01em; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 26px;
}
.section-head h2 { font-size: 26px; }
.section-head a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--indigo-t); white-space: nowrap; }
.section { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 760px) { .section { padding-top: 64px; padding-bottom: 64px; } .section-head h2 { font-size: 32px; } }

.meta { font-size: 13px; color: var(--muted); }
.meta b { color: var(--text); font-weight: 600; }

/* --- Visuels de couverture (sans photo de banque d'images) ---
   Compositions géométriques dans les quatre couleurs du logo : elles tiennent
   lieu d'illustration tant que la rédaction n'a pas ses propres photos. */
.art {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 10; background: var(--ink);
}
.art::before, .art::after { content: ""; position: absolute; }
.art--1 { background:
  linear-gradient(var(--pink), var(--pink)) 62% 22% / 30% 18% no-repeat,
  linear-gradient(var(--green), var(--green)) 62% 47% / 22% 18% no-repeat,
  linear-gradient(var(--indigo), var(--indigo)) 62% 72% / 30% 18% no-repeat,
  var(--ink); }
.art--1::before { left: 12%; top: 22%; width: 18%; height: 68%; background: var(--purple); }
.art--2 { background: var(--purple); }
.art--2::before { right: -18%; bottom: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.art--2::after { left: 12%; top: 16%; width: 14%; aspect-ratio: 1; background: var(--green); }
.art--3 { background:
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.12) 22px 23px),
  var(--indigo); }
.art--3::before { left: 50%; bottom: -55%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--pink); }
.art--4 { background: var(--green); }
.art--4::before { left: 18%; top: 0; width: 14%; height: 100%; background: var(--ink); box-shadow: 9vw 0 0 var(--ink); }
.art--4::after { right: 14%; top: 26%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--indigo); }
.art--5 { background: var(--pink); }
.art--5::before { left: 14%; top: 18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--purple); }
.art--5::after { right: 12%; bottom: 14%; width: 30%; height: 16%; background: var(--ink); }
.art--6 { background: var(--ink); }
.art--6::before { inset: 18% 18% auto auto; width: 40%; height: 64%; background: var(--indigo); border-radius: 0 999px 999px 0; }
.art--6::after { left: 16%; bottom: 18%; width: 28%; height: 12%; background: var(--green); }

/* --- À la une --- */
.une { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 900px) { .une { grid-template-columns: 1.7fr 1fr; gap: 48px; padding-top: 44px; } }
.lead a { text-decoration: none; }
.lead .art { margin-bottom: 20px; }
.lead h1 { font-size: 34px; margin-bottom: 14px; }
.lead a:hover h1 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lead p.chapo { font-size: 19px; color: var(--muted); margin: 0 0 14px; max-width: 46ch; }
@media (min-width: 760px) { .lead h1 { font-size: 48px; } }

.aussi { list-style: none; margin: 0; padding: 0; counter-reset: aussi; }
.aussi li { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.aussi li:first-child { border-top: 2px solid var(--ink); }
.aussi li::before {
  counter-increment: aussi; content: counter(aussi);
  font: 600 26px/1 var(--serif); color: var(--purple-t);
}
.aussi a { text-decoration: none; }
.aussi h3 { font-size: 20px; margin-bottom: 6px; }
.aussi a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.aussi .kicker { margin-bottom: 6px; }
.aussi-title { font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }

/* --- Cartes --- */
.grid-3 { display: grid; gap: 32px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card a { text-decoration: none; display: block; }
.card .art { margin-bottom: 16px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }

/* --- Bande Lettre (newsletter) --- */
.lettre { background: var(--ink); color: #fff; }
.lettre .wrap { display: grid; gap: 28px; padding-top: 52px; padding-bottom: 52px; }
@media (min-width: 900px) { .lettre .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }
.lettre h2 { font-size: 32px; margin-bottom: 12px; }
@media (min-width: 760px) { .lettre h2 { font-size: 40px; } }
.lettre p { color: #c9c2d8; margin: 0; }
.lettre ul { margin: 16px 0 0; padding: 0; list-style: none; color: #e9e5f2; font-size: 15px; }
.lettre li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.lettre li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--green); }

.form { display: grid; gap: 12px; }
.form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text);
}
.form textarea { min-height: 120px; resize: vertical; }
.on-ink .form input, .on-ink .form select { border-color: var(--ink-line); background: var(--ink-2); color: #fff; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form small { font-size: 12px; color: #9d96ad; }
.form .btn { width: 100%; }
@media (min-width: 560px) { .form .btn { width: auto; } }
.form-msg { font-size: 14px; font-weight: 600; margin: 0; }
.form-msg[hidden] { display: none; }

/* --- Classement (teaser) --- */
.classement-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.classement-band .wrap { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .classement-band .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }
.big-num { font: 600 120px/0.85 var(--serif); color: var(--ink); letter-spacing: -.04em; }
@media (min-width: 760px) { .big-num { font-size: 180px; } }
.big-num span { color: var(--pink); }
.classement-band h2 { font-size: 30px; margin-bottom: 14px; }
@media (min-width: 760px) { .classement-band h2 { font-size: 38px; } }
.classement-band p { color: var(--muted); margin: 0 0 22px; }
.criteres { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.criteres li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.criteres b { font-family: var(--serif); font-size: 20px; color: var(--indigo-t); min-width: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Portraits --- */
.portrait { border-top: 1px solid var(--line); padding-top: 18px; }
.portrait a { text-decoration: none; display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.portrait .art { aspect-ratio: 1; }
.portrait h3 { font-size: 19px; margin-bottom: 6px; }
.portrait a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* --- Chapitres --- */
.chapitres { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 600px) { .chapitres { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .chapitres { grid-template-columns: repeat(3, 1fr); } }
.chapitre { background: var(--paper); padding: 22px; }
.chapitre h3 { font-size: 22px; margin-bottom: 4px; }
.chapitre p { margin: 0; font-size: 14px; color: var(--muted); }
.statut { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background: var(--paper-2); color: var(--muted); }
.statut--ouvert { background: var(--green); color: var(--ink); }
.chapitre--cta { background: var(--ink); color: #fff; }
.chapitre--cta p { color: #c9c2d8; }
.chapitre--cta a { color: var(--green); font-weight: 600; }

/* --- Programmes & partenaires --- */
.duo { display: grid; gap: 24px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.panel img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; height: auto; }
.panel__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.panel h3 { font-size: 24px; }
.panel p { margin: 0; color: var(--muted); font-size: 16px; }
.panel .btn { align-self: flex-start; margin-top: auto; }
.panel--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel--ink p { color: #c9c2d8; }
.panel--ink ul { margin: 0; padding-left: 18px; color: #e9e5f2; font-size: 15px; }

/* --- Pied de page --- */
.footer { background: var(--ink); color: #c9c2d8; font-size: 14px; }
.footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer img { height: 32px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; color: #e9e5f2; }
.footer a:hover { color: var(--green); }
.footer__legal { border-top: 1px solid var(--ink-line); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* --- Article --- */
.article-head { max-width: 780px; margin: 0 auto; padding: 40px var(--gutter) 24px; }
.article-head h1 { font-size: 36px; margin-bottom: 16px; }
@media (min-width: 760px) { .article-head h1 { font-size: 54px; } }
.article-head .chapo { font-size: 20px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.byline .avatar { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--pink) 0 25%, var(--green) 0 50%, var(--indigo) 0 75%, var(--purple) 0); flex: none; }
.article-cover { max-width: 1040px; margin: 0 auto 8px; padding: 0 var(--gutter); }
.article-cover .art { aspect-ratio: 21 / 9; }
.article-cover figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose { max-width: 680px; margin: 0 auto; padding: 24px var(--gutter) 40px; font-size: 19px; line-height: 1.7; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.prose a { color: var(--indigo-t); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.essentiel { background: var(--paper-2); border-left: 4px solid var(--purple); padding: 20px 22px; margin: 0 0 1.6em; border-radius: 0 var(--radius) var(--radius) 0; }
.essentiel h2 { font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.essentiel ol { margin: 0; font-size: 17px; }
.pullquote { font: 500 26px/1.3 var(--serif); margin: 1.6em 0; padding: 0 0 0 22px; border-left: 4px solid var(--pink); }
@media (min-width: 760px) { .pullquote { font-size: 30px; } }
.inline-lettre { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; margin: 2em 0; }
.inline-lettre h2 { margin: 0 0 6px; font-size: 24px; }
.inline-lettre p { color: #c9c2d8; font-size: 16px; margin: 0 0 14px; }
.inline-lettre .form { grid-template-columns: 1fr; }
@media (min-width: 560px) { .inline-lettre .form { grid-template-columns: 1fr auto; align-items: end; } }
.note-redac { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* --- Pages intérieures --- */
.page-hero { background: var(--ink); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; max-width: 900px; margin: 0; }
@media (min-width: 900px) { .page-hero .wrap { margin: 0 auto; max-width: var(--wrap); } }
.page-hero h1 { font-size: 38px; margin-bottom: 16px; max-width: 18ch; }
@media (min-width: 760px) { .page-hero h1 { font-size: 60px; } }
.page-hero p { font-size: 19px; color: #c9c2d8; max-width: 58ch; margin: 0; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.principes { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.principes li { border-top: 1px solid var(--line); padding: 20px 0; }
.principes h3 { font-size: 21px; margin-bottom: 6px; }
.principes p { margin: 0; color: var(--muted); font-size: 16px; }
.etapes { counter-reset: e; }
.etapes li::before { counter-increment: e; content: "0" counter(e); display: block; font: 600 14px/1 var(--sans); color: var(--pink-t); letter-spacing: .08em; margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 760px) { .box { padding: 32px; } }
.box h2 { font-size: 26px; margin-bottom: 8px; }
.box > p { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
