@font-face { font-family: 'Lora'; src: url('fonts/lora.woff') format('woff'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('fonts/lora-italic.woff') format('woff'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600.woff') format('woff'); font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --fond: #FBFAF7;
  --fond-2: #F2EFE7;
  --carte: #FFFFFF;
  --texte: #1E2824;
  --doux: #56605B;
  --titre: #0E3B2E;
  --bandeau: #0E3B2E;
  --bandeau-texte: #F3F0E7;
  --bandeau-doux: #C9D3CE;
  --bordeaux: #6B1E2E;
  --marine: #002E60;
  --filet: #DCD8CE;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --fond: #10241D;
    --fond-2: #0C1D17;
    --carte: #163028;
    --texte: #ECE8DE;
    --doux: #B5C2BB;
    --titre: #F3F0E7;
    --bandeau: #0A1914;
    --bandeau-texte: #F3F0E7;
    --bandeau-doux: #B5C2BB;
    --bordeaux: #E7AEB8;
    --marine: #B7CDEB;
    --filet: #2E4A40;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1.0625rem/1.7 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--marine); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }
.wrap { max-width: 75rem; margin: 0 auto; padding: 0 1.5rem; }
.serif { font-family: var(--serif); }

/* En-tête */
.entete { border-bottom: 1px solid var(--filet); }
.entete .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--titre); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .95rem; font-weight: 500; }
.nav a { color: var(--texte); text-decoration: none; padding: .5rem 0; }
.nav a:hover { color: var(--bordeaux); }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: clamp(4rem, 10vw, 7rem); }
.hero-texte { flex: 999 1 34rem; min-width: 0; }
.lieux { margin: 0 0 1.5rem; font-weight: 600; color: var(--bordeaux); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.08; color: var(--titre); margin: 0; }
h1 em { font-weight: 500; color: var(--bordeaux); }
.chapeau { max-width: 37rem; margin: 2rem 0 0; font-size: 1.25rem; color: var(--doux); }
.boutons { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn { display: inline-flex; align-items: center; min-height: 3.3rem; padding: 0 1.8rem; border-radius: 2px; font-weight: 600; text-decoration: none; }
.btn-plein { background: var(--titre); color: var(--fond); }
.btn-ligne { border: 1px solid var(--titre); color: var(--titre); }
.encart { flex: 1 1 20rem; min-width: 0; margin: 0; padding: 2.5rem 2.2rem; background: var(--carte); border: 1px solid var(--filet); }
.encart blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.6rem; line-height: 1.1; color: var(--bordeaux); }
.encart figcaption { margin-top: 1.2rem; font-size: .9rem; color: var(--doux); }

.reperes { background: var(--bandeau); color: var(--bandeau-texte); }
.reperes .wrap { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
.repere { flex: 1 1 13rem; min-width: 0; border-top: 1px solid var(--bandeau-doux); padding-top: 1.1rem; }
.repere strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; }
.repere span { display: block; margin-top: .6rem; font-size: .95rem; color: var(--bandeau-doux); }

.section { padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.section-alt { background: var(--fond-2); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; color: var(--titre); margin: 0; }
h2 em { font-weight: 500; color: var(--bordeaux); }
.intro { margin: 1.4rem 0 0; max-width: 40rem; font-size: 1.2rem; color: var(--doux); }
.cartes { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 2rem; }
.carte { flex: 1 1 20rem; min-width: 0; background: var(--carte); border: 1px solid var(--filet); padding: 2.4rem; display: flex; flex-direction: column; }
.carte-attente { background: transparent; border-style: dashed; }
.carte .date { margin: 0; font-size: .9rem; font-weight: 600; color: var(--doux); }
.carte h3 { margin: .8rem 0 0; font-family: var(--serif); font-weight: 600; font-size: 2.2rem; line-height: 1.08; color: var(--titre); }
.carte p { margin: 1rem 0 0; }
.carte .lire { margin-top: auto; padding-top: 1.5rem; font-weight: 600; color: var(--bordeaux); }

.citation { max-width: 62rem; text-align: center; }
.citation blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.2; color: var(--bordeaux); }
.citation p { margin: 1.6rem 0 0; font-size: .95rem; color: var(--doux); }

.parcours { display: flex; flex-wrap: wrap; gap: 4rem; }
.parcours-gauche { flex: 1 1 22rem; min-width: 0; }
.parcours-gauche img { width: 100%; max-width: 28rem; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 2rem; }
.parcours-droite { flex: 999 1 32rem; min-width: 0; font-size: 1.1rem; }
.parcours-droite p { margin: 0 0 1.25rem; }
.parcours-droite .discret { color: var(--doux); }

.trois { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2.5rem; }
.trois > div { flex: 1 1 16rem; min-width: 0; border-top: 2px solid var(--bordeaux); padding-top: 1.2rem; }
.trois h3 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--doux); }
.trois p { margin: .6rem 0 0; font-family: var(--serif); font-size: 1.75rem; line-height: 1.25; color: var(--titre); }

.pied { background: var(--bandeau); color: var(--bandeau-texte); }
.pied .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2.5rem; padding-top: 5rem; padding-bottom: 4rem; }
.pied h2 { color: var(--bandeau-texte); font-size: clamp(2.2rem, 5vw, 3.8rem); }
.pied .btn { margin-top: 2rem; background: var(--bandeau-texte); color: var(--bandeau); }
.pied .liens { display: flex; flex-wrap: wrap; gap: 1.75rem; font-size: .95rem; }
.pied .liens a { color: var(--bandeau-texte); }
.pied .liens span { color: var(--bandeau-doux); }

/* Article */
.article { max-width: 44rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; }
.retour { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 600; color: var(--bordeaux); text-decoration: none; }
.article .rubrique { margin: 2rem 0 .8rem; font-weight: 600; color: var(--bordeaux); }
.article h1 { font-size: clamp(2.6rem, 6.5vw, 4.2rem); }
.article .lead { margin: 1.8rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.4; color: var(--doux); }
.article h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 3.2rem 0 1rem; }
.article p { margin: 0 0 1.2rem; font-size: 1.12rem; }
.article .chute { margin-top: 2rem; padding-left: 1.4rem; border-left: 3px solid var(--bordeaux); font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; color: var(--titre); }

/* Bande « Qui décide ? » */
:root { --bleu-fond: #002E60; --bleu-texte: #F3F0E7; --bleu-doux: #C9D3E2; }
@media (prefers-color-scheme: dark) { :root { --bleu-fond: #0B2547; } }
.bande-bleue { background: var(--bleu-fond); color: var(--bleu-texte); }
.bande-bleue .wrap { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.bande-bleue h2 { color: var(--bleu-texte); }
.bande-bleue p { color: var(--bleu-doux); font-size: 1.15rem; }
.bande-bleue .gauche { flex: 1 1 22rem; min-width: 0; }
.bande-bleue .droite { flex: 999 1 30rem; min-width: 0; border: 1px solid #5C79A3; padding: 2rem; }
.bande-bleue .question { font-family: var(--serif); font-size: 1.9rem; line-height: 1.25; color: var(--bleu-texte); margin: .5rem 0 1.5rem; }
.bande-bleue .btn { background: var(--bleu-texte); color: var(--bleu-fond); }
.etiquette { font-size: .9rem; font-weight: 600; color: var(--bleu-doux); margin: 0; }

/* Page Qui décide */
.qd { max-width: 70rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.5rem; }
.qd-q { margin: 1.5rem 0 0; padding: 1.2rem 1.4rem; border: 1px solid var(--filet); background: var(--carte); font-family: var(--serif); font-size: 1.7rem; line-height: 1.3; color: var(--titre); }
.qd-reponse { margin-top: 2rem; padding: 2rem; background: var(--fond-2); border: 1px solid var(--filet); }
.qd-reponse .phrase { margin: .5rem 0 0; font-family: var(--serif); font-size: 1.8rem; line-height: 1.3; color: var(--titre); }
.tuiles { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.tuile { flex: 1 1 12rem; min-width: 0; padding: 1rem 1.1rem; background: var(--carte); border-top: 3px solid var(--bordeaux); }
.tuile strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--titre); }
.tuile span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--doux); }
.tuile-fr { border-top-color: var(--marine); }
.tuile-ge { border-top-color: var(--titre); }
.tuile-besoin { border-top-style: dashed; border-top-color: var(--doux); }
.qd-entete { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.qd-entete h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
.filtres button { min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--titre); background: transparent; color: var(--titre); font: 600 .95rem var(--sans); cursor: pointer; border-radius: 2px; }
.filtres button[aria-pressed="true"] { background: var(--titre); color: var(--fond); }
.qd-corps { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.acteurs { flex: 999 1 30rem; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.acteurs button { width: 100%; min-height: 4rem; display: flex; align-items: center; gap: 1rem; padding: .8rem 1.1rem; border: 1px solid var(--filet); background: var(--carte); color: var(--texte); font: inherit; text-align: left; cursor: pointer; border-radius: 2px; }
.acteurs button[aria-current="true"] { border: 2px solid var(--bordeaux); }
.acteurs .cote { min-width: 4.5rem; font-size: .85rem; font-weight: 600; color: var(--doux); }
.acteurs .nom { display: block; font-weight: 600; }
.acteurs .role { display: block; font-size: .9rem; color: var(--doux); }
.fiche { flex: 1 1 22rem; min-width: 0; padding: 1.8rem; background: var(--bandeau); color: var(--bandeau-texte); }
.fiche .meta { margin: 0; font-size: .85rem; font-weight: 600; color: var(--bandeau-doux); }
.fiche h3 { margin: .4rem 0 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.fiche p { margin: 1rem 0 0; }
.fiche .friction-titre { margin-top: 1.4rem; font-size: .85rem; font-weight: 600; color: #E7AEB8; }
.fiche .friction-titre + p { margin-top: .3rem; }
.fiche .source { font-size: .85rem; color: var(--bandeau-doux); }
.note { margin-top: 3rem; font-size: .9rem; color: var(--doux); max-width: 46rem; }
.article .sources { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--filet); font-size: .9rem; color: var(--doux); }

/* Métiers */
.metiers { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2rem; }
.metiers article { flex: 1 1 15rem; min-width: 0; border-top: 2px solid var(--titre); padding-top: 1.2rem; }
.metiers h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--titre); }
.metiers p { margin: .8rem 0 0; font-size: 1rem; }

/* Terrains */
.terrains { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.terrains article { flex: 1 1 18rem; min-width: 0; padding: 2.2rem; color: #F3F0E7; border: 1px solid rgba(243,240,231,.15); }
.terrains h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 2.3rem; line-height: 1.05; }
.terrains p { margin: 1rem 0 0; color: #E4E0D6; }
.t-bordeaux { background: #6B1E2E; }
.t-marine { background: #002E60; }
.t-vert { background: #0E3B2E; }

/* Hors des institutions */
.clin { margin: 1.4rem 0 0; max-width: 44rem; font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.35; color: var(--bordeaux); }
.passions { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.passions article { padding: 2rem; border-radius: 2px; }
.passions .kicker { margin: 0; font-size: .85rem; font-weight: 600; opacity: .85; }
.passions h3 { margin: .5rem 0 0; font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.08; }
.passions p { margin: .8rem 0 0; }
.p-patisserie { background: #F4E3E6; color: #4A1420; }
.p-italie { background: #F3E7D3; color: #4E3415; }
.p-afrique { background: #E7EFE9; color: #0E3B2E; }
.p-tennis { background: #E3EAF4; color: #002E60; }
@media (prefers-color-scheme: dark) {
  .p-patisserie { background: #3A1820; color: #F4E3E6; }
  .p-italie { background: #3A2E1C; color: #F3E7D3; }
  .p-afrique { background: #163028; color: #E7EFE9; }
  .p-tennis { background: #142640; color: #E3EAF4; }
}
.passions a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* Offre */
.offres { margin: 3rem 0 2.5rem; display: flex; flex-wrap: wrap; gap: 2rem; }
.offres article { flex: 1 1 18rem; min-width: 0; background: var(--carte); border: 1px solid var(--filet); border-top: 4px solid var(--bordeaux); padding: 2rem; }
.offres .pour { margin: 0; font-size: .85rem; font-weight: 600; color: var(--doux); }
.offres h3 { margin: .5rem 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.8rem; line-height: 1.1; color: var(--titre); }
.offres p { margin: .8rem 0 0; }
