@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --ink: #0D224D;
  --accent: #B6782C;
  --text: #2F2F2F;
  --paper: #F8F5EF;
  --paper-dark: #EDE4D3;
  --border: #DDD6CA;
  --blue-light: #DCE4EE;
  --blue-mid: #335A8C;
  --container-max: 1280px;
  --container-gutter: 56px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container-max), calc(100% - var(--container-gutter) * 2));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 88px;

  border-bottom: 2px solid rgba(182,120,44,.28);

  background:
    linear-gradient(
      rgba(248,245,239,.35),
      rgba(248,245,239,.35)
    ),
    url("../img/photos/aquarelle-points-nav.png") no-repeat right center,
    var(--paper);

  box-shadow:
    0 4px 10px rgba(13,34,77,.08),
    0 12px 24px rgba(13,34,77,.06);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .03em;
  
  color: var(--ink);
}

nav {
  display: flex;
  align-items: center;
  gap: 48px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

/* HERO */

.hero {
  padding: 48px 0 0px;
  background: #F5F1EA;
}

.hero .container {
  display: grid;
  grid-template-columns: 340px minmax(500px, 1fr) 340px;
  gap: 48px;
  align-items: flex-start;
}

.hero-photo {
  position: relative;
  height: 300px;
}

.hero-photo img:first-child {
  position: absolute;
  width: 390px;
  top: -45px;
  left: -60px;
  z-index: 1;
}

.hero-photo img:last-child {
  position: absolute;
  width: 230px;
  height: 260px;
  top: 0;
  left: 40px;
  object-fit: cover;
  border-radius: 18px;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(13, 34, 77, .12);
}

.hero-content h1 {
  margin: 0;
  margin-top: 100px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 700;
   
  letter-spacing: .04em;
}


.firstname {
  text-transform: none;
}

.lastname {
  
  letter-spacing: 0.04em;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.3;
}

hr {
  width: 56px;
  height: 2px;
  margin: 32px 0;
  border: 0;
  background: var(--accent);
}



.hero-content p:not(.subtitle):not(.lead) {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;

}


.hero-visual {
  margin-top: 0px;
}


.hero-visual img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 16px;

}

/* WORKS */

.works {
  padding: 0 0 72px;
}

.works > .container > hr {
  width: 100%;
  height: 1px;
  margin: 0 0 28px;
  background: var(--border);
}

.works h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  line-height: 1.15;
  
}

.works h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  padding-inline: max(56px, calc((100% - 1280px) / 2));
  filter: saturate(.85) contrast(.95);
  opacity: .92;
}

.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;

  padding: 24px;
  background: #FFFCF7;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.card img {
  width: 180px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  line-height: 1.25;
}

.card h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.card p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.card a {
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 12px;
}

/* FOOTER */

.site-footer {
    padding: 24px 0;
    background: var(--paper-dark);
    border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-contact h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.footer-contact p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 12px;
}

.footer-cta {
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-size: 15px;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-linkedin svg {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 2px;
}

.footer-sep {
  color: var(--border);
}

.footer-copyright {
  color: var(--text);
  font-size: 14px;
}

/* ---------------------------------------------------------------
   PAGE PRESSE
--------------------------------------------------------------- */

.press-hero {
  padding: 64px 0 40px;
}

.press-hero .container {
  display: grid;
  grid-template-columns: 1fr 680px;
  gap: 80px;
  align-items: start;
}

.press-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 52px;
  line-height: 1.05;
  
}

.press-intro hr {
  margin: 20px 0 18px;
}

.press-intro .lead {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.press-intro p:not(.lead) {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.press-aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.press-aside img {
  width: 320px;
  height: auto;
  object-fit: contain;
}


.press-aside p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ARTICLES */

.articles {
  padding: 0 0 80px;
}

.articles .container {
  display: flex;
  flex-direction: column;
}

.article-card {
  display: grid;
  grid-template-columns: 230px 1fr 160px;
  gap: 32px;
  align-items: center;

  padding: 16px;
  min-height: 150px;

  background: rgba(255, 252, 247, .72);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.article-card + .article-card {
  margin-top: 16px;
}

.article-thumb {
  width: 230px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}

.article-tag {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  
}

.article-content h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  line-height: 1.25;
}

.article-content p:not(.article-tag) {
  margin: 0;
  max-width: 680px;
  font-size: 14px;
  line-height: 1.55;
}

.article-link {
  justify-self: end;
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 12px;
  font-weight: 700;
}

/* ---------------------------------------------------------------
   PAGE AUDIOVISUEL
--------------------------------------------------------------- */

.video-hero {
  padding: 64px 0 40px;
}

.video-hero .container {
  display: grid;
  grid-template-columns: 1fr 680px;
  gap: 80px;
  align-items: start;
}

.video-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 52px;
  line-height: 1.05;
 
}

.video-intro hr {
  margin: 20px 0 18px;
}

.video-intro p {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.video-aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-aside img {
  width: 320px;
  height: auto;
  object-fit: contain;
}

/* VIDEOS */

.videos {
  padding: 0 0 80px;
}

.videos .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.video-card {
  overflow: hidden;
  background: rgba(255, 252, 247, .72);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.video-thumb {
  position: relative;
}

.video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  background: #FFFCF7;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
}

.video-content {
  padding: 16px;
}

.video-content h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.2;
}

.video-meta {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
}

.video-content p:not(.video-meta) {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.video-content a {
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 11px;
  font-weight: 700;
}
.video-program-title {
  margin: 0 0 12px;

  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;

  
  letter-spacing: .035em;
}

.video-program-title::after {
  content: "";
  display: block;

  width: 36px;
  height: 2px;
  margin-top: 10px;

  background: var(--accent);
}

.video-subject {
  margin: 14px 0 0;

  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

/* ---------------------------------------------------------------
   MODALE VIDÉO
--------------------------------------------------------------- */

.video-card {
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition: opacity .25s ease;
}

.video-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 77, .76);
}

.video-modal-window {
  position: relative;
  z-index: 1;

  width: min(820px, 100%);

  overflow: hidden;

  background: #FFFCF7;
  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: 0 24px 70px rgba(13, 34, 77, .35);

  transform: translateY(20px);
  transition: transform .25s ease;
}

.video-modal.is-open .video-modal-window {
  transform: translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: rgba(255, 252, 247, .95);
  border: 1px solid var(--border);
  border-radius: 50%;

  color: var(--ink);
  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}

.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-modal-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-modal-message {
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
}

.video-modal-play {
  position: absolute;
  left: 50%;
  top: calc(50% + 52px);

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  background: #FFFCF7;
  border: 1px solid var(--ink);
  border-radius: 50%;

  color: var(--ink);
  font-size: 22px;
}

.video-modal-text {
  padding: 22px 26px 26px;
}

.video-modal-text h2 {
  margin: 0 0 8px;

  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
}

.video-modal-text p {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

.external-video .video-thumb {
  display: block;
  position: relative;
}

/* ===============================================================
   PAGE DATA — DÉROGATIONS PESTICIDES
================================================================ */


/* ---------------------------------------------------------------
   PAGE
--------------------------------------------------------------- */

.derog-page {
  color: var(--text);
}


/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */

.derog-hero {
  padding: 56px 0 32px;
}

.derog-hero > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .9fr);
  gap: 64px;
  align-items: start;
}


/* Introduction */

.derog-kicker {
  margin: 8px 0 14px;

  color: var(--accent);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .03em;
}


.derog-intro h1 {
  max-width: 760px;

  margin: 0 0 22px;

  color: var(--ink);

  font-family: "Libre Baskerville", serif;
  font-size: 44px;
  line-height: 1.16;
  font-weight: 700;
}


.derog-intro h1 span {
  display: block;
}


.derog-lead {
  max-width: 760px;

  margin: 0;

  color: var(--ink);

  font-size: 15px;
  line-height: 1.7;
}


/* ---------------------------------------------------------------
   CHIFFRES CLÉS
--------------------------------------------------------------- */

.derog-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;

  margin-top: 30px;
}


.derog-stat {
  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 74px;

  padding: 14px 15px;

  background: rgba(255, 252, 247, .70);

  border: 1px solid var(--border);
  border-radius: 10px;
}


.derog-stat-icon {
  flex: 0 0 auto;

  width: 34px;
  height: 34px;

  object-fit: contain;
}


.derog-stat div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}


.derog-stat strong {
  color: var(--ink);

  font-family: "Libre Baskerville", serif;
  font-size: 15px;
  line-height: 1.25;
}


.derog-stat span:not(.derog-stat-icon) {
  color: var(--text);

  font-size: 14px;
  line-height: 1.3;
}


/* ---------------------------------------------------------------
   DONNÉES ET MÉTHODE
--------------------------------------------------------------- */

.derog-method {
  overflow: hidden;

  background: rgba(255, 252, 247, .62);

  border: 1px solid rgba(182, 120, 44, .38);
  border-radius: 12px;
}


.derog-method summary {
  position: relative;

  padding: 20px 54px 18px 22px;

  color: var(--ink);

  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;

  text-transform: uppercase;

  cursor: pointer;
  list-style: none;
}


.derog-method summary::-webkit-details-marker {
  display: none;
}


.derog-method summary::after {
  content: "⌄";

  position: absolute;
  top: 16px;
  right: 22px;

  color: var(--ink);

  font-size: 22px;
  line-height: 1;

  transition: transform .2s ease;
}


.derog-method[open] summary::after {
  transform: rotate(180deg);
}


.derog-method-content {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 0 22px 22px;
}


.derog-method-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}


.derog-method-icon {
  width: 36px;
  height: 36px;

  object-fit: contain;
}

.derog-method-item p {
  margin: 0;

  color: var(--text);

  font-size: 12px;
  line-height: 1.55;
}


.derog-method-item strong {
  color: var(--ink);
}


/* ---------------------------------------------------------------
   ANALYSES
--------------------------------------------------------------- */

.derog-analysis {
  padding: 0 0 72px;
}


.derog-analysis > .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* Accordéon */

.derog-accordion {
  overflow: hidden;

  background: rgba(255, 252, 247, .58);

  border: 1px solid var(--border);
  border-radius: 11px;
}


.derog-accordion summary {
  position: relative;

  display: flex;
  align-items: center;
  gap: 15px;

  min-height: 58px;

  padding: 12px 58px 12px 20px;

  cursor: pointer;
  list-style: none;
}


.derog-accordion summary::-webkit-details-marker {
  display: none;
}


.derog-accordion summary::after {
  content: "⌄";

  position: absolute;
  right: 22px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--ink);

  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1;

  transition: transform .2s ease;
}


.derog-accordion[open] summary::after {
  transform:
    translateY(-50%)
    rotate(180deg);
}


.derog-number {
  flex: 0 0 auto;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--accent);

  border-radius: 50%;

  color: #fff;

  font-size: 13px;
  font-weight: 700;
}


.derog-summary-title {
  color: var(--ink);

  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}


/* ---------------------------------------------------------------
   CONTENU D'UN ACCORDÉON
--------------------------------------------------------------- */

.derog-accordion-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 40px;
  align-items: center;

  padding: 6px 28px 28px;
}


/* Graphiques */

.derog-figure {
  margin: 0;
}


.derog-figure img {
  width: 100%;
  min-height: 280px;

  object-fit: cover;

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 9px;
}

/* Graphiques Plotly interactifs */

.derog-interactive-chart {
  display: block;

  width: 100%;
  height: 700px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: var(--paper);
}

/* Graphique substances actives */

.derog-substances-chart {
  height: 780px;
}

.data-chart-note {
  margin: 10px 0 0;

  color: #6B6965;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 400;
}


.derog-figure figcaption {
  margin-top: 8px;

  color: #6b6965;

  font-size: 10px;
  line-height: 1.45;
}


/* Texte */

.derog-text {
  align-self: center;
}


.derog-text h2,
.derog-double-item h2 {
  margin: 0 0 16px;

  color: var(--ink);

  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.35;
}


.derog-text p,
.derog-double-item p {
  margin: 0 0 16px;

  font-size: 13px;
  line-height: 1.65;
}


.derog-highlight {
  color: var(--text);
}


.derog-highlight strong {
  color: #2F2F2F;
}


/* Gros chiffre */

.derog-big-number {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 12px 0;
}


.derog-big-number strong {
  color: var(--accent);

  font-family: "Libre Baskerville", serif;
  font-size: 38px;
  line-height: 1;
}


.derog-big-number span {
  max-width: 240px;

  color: var(--ink);

  font-size: 12px;
  line-height: 1.45;
}


/* ---------------------------------------------------------------
   DOUBLE GRAPHIQUE PRODUITS / SUBSTANCES
--------------------------------------------------------------- */

.derog-double-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;

  padding: 8px 28px 30px;
}


.derog-double-item {
  min-width: 0;
}


.derog-double-item .derog-figure img {
  min-height: 320px;
}


/* ---------------------------------------------------------------
   DERNIER BLOC
--------------------------------------------------------------- */

.derog-final-content {
  padding: 8px 28px 30px;
}


.derog-final-intro {
  max-width: 760px;
  margin-bottom: 20px;
}


.derog-figure-wide img {
  min-height: 360px;
}


.derog-method-note {
  max-width: 900px;

  margin: 18px 0 0;

  padding-left: 16px;

  border-left: 3px solid rgba(182, 120, 44, .55);

  color: #69645e;

  font-size: 11px;
  line-height: 1.6;
}


/* ---------------------------------------------------------------
   RETOUR
--------------------------------------------------------------- */



.derog-stat-icon.database-icon {
  transform: scale(1.5);
  transform-origin: center;
}

.derog-method-icon.database-icon {
  transform: scale(1.4);
  transform-origin: center;
}

/* ---------------------------------------------------------------
   GRAPHIQUE DE CONCENTRATION DES DEMANDES
--------------------------------------------------------------- */

.derog-concentration {
  margin: 18px 0 20px;
}


.derog-concentration-title {
  margin: 0 0 8px;

  color: var(--ink);

  font-family: "Libre Baskerville", serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}


.derog-repartition-chart {
  display: block;

  width: 100%;
  height: 330px;

  border: 0;

  background: var(--paper);
}


.derog-concentration-note {
  margin: 8px 0 0;

  color: #2F2F2F;

  font-size: 11px;
  line-height: 1.5;
}


.derog-concentration-note strong {
  color: var(--accent);
}

/* ============================================================
   GRAPHIQUES DURÉE + SAISONNALITÉ
============================================================ */

.derog-recurrence-chart {
    display: block;
    width: 100%;
    height: 1480px;

    border: none;
    background: var(--paper);
}

/* ============================================================
   PAGE HORIZON EUROPE
============================================================ */

/* PAGE HORIZON EUROPE */

.horizon-page {
  background: #f8f5ef;
  color: #383838;
}

.horizon-page .horizon-container {
  display: block;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 38px;
  padding-bottom: 38px;
}

.horizon-page .horizon-intro {
  display: block;
  margin-bottom: 28px;
}

.horizon-page .horizon-kicker {
  margin: 0 0 12px;
  color: #b17b33;
  font-size: .75rem;
  letter-spacing: .14em;
}

.horizon-page h1 {
  margin: 0 0 16px;
  color: #1b3157;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.horizon-page .horizon-subtitle {
  max-width: 900px;
  margin: 0 0 20px;
  color: #1b3157;
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
}

.horizon-page .horizon-description {
  max-width: 820px;
  margin: 0;
  color: #1b3157;
  font-size: 1rem;
  line-height: 1.7;
}

.horizon-page .horizon-dashboard {
  padding: 12px;
  border: 1px solid #ded4c5;
  border-radius: 10px;
  background: #fcfaf6;
}

.horizon-dashboard-figure {
  width: 100%;
  margin: 0;
}

.horizon-dashboard-frame {
  display: block;
  width: 100%;
  height: 1240px;
  border: 0;
}



/* Transparence des illustrations d'en-tête */

.press-aside img,
.video-aside img {
    opacity: 0.5;
}






/* ============================================================
   AUDIOVISUEL — ENQUÊTES BLAST ET TITRES DE RUBRIQUES
   Mise en page identique aux cartes de reportages
============================================================ */

.blast-videos {
  padding: 0 0 48px;
}

.blast-videos .container {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.video-section-title {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 28px;
  line-height: 1.2;
}

.video-section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.blast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blast-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 252, 247, .72);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.blast-card .video-thumb {
  display: block;
  position: relative;
}

.blast-card .video-thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Même habillage que les cartes vidéo existantes */
.blast-card .video-content {
  padding: 16px;
}

.blast-card .video-content h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.2;
}

.blast-card .video-meta {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
}

.blast-card .video-content p:not(.video-meta) {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
}

.blast-card .video-content a:not(.video-thumb) {
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  font-size: 11px;
  font-weight: 700;
}

/* Le titre doit occuper les trois colonnes de la grille existante */
.videos .container > .reportages-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}





/* Page d'accueil sur toute la hauteur de l'écran */

body:has(.hero) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:has(.hero) main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body:has(.hero) .works {
    flex: 1;
}


/* PAGE CONTACT */

    .portfolio-contact-page {
      padding: 65px 0 90px;
      min-height: calc(100vh - 230px);
    }

    .portfolio-contact-content {
      max-width: 760px;
      margin: 0 auto;
    }

    .portfolio-contact-kicker {
      color: #B6782C;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .08em;
      margin: 0 0 16px;
    }

    .portfolio-contact-content h1 {
      font-family: "Libre Baskerville", serif;
      font-size: 44px;
      color: #0D224D;
      margin: 0 0 24px;
    }

    .portfolio-contact-intro {
      font-family: "Libre Baskerville", serif;
      font-size: 20px;
      line-height: 1.6;
      color: #0D224D;
      margin: 0 0 34px;
    }

    /* ENCADRÉ FORMULAIRE */

    .portfolio-contact-card {
      padding: 36px;
      background: #FFFCF7;
      border: 1px solid #DDD6CA;
      border-radius: 12px;
    }

    /* CHAMPS VERTICAUX */

    #contact-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }

    #contact-form label {
      font-family: "Inter", sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #0D224D;
      margin-top: 10px;
    }

    #contact-form input,
    #contact-form textarea {
      display: block;
      width: 100%;
      box-sizing: border-box;
      padding: 13px 15px;

      border: 1px solid #DDD6CA;
      border-radius: 8px;
      background: #fff;

      font-family: "Inter", sans-serif;
      font-size: 15px;
      color: #2F2F2F;
    }

    #contact-form textarea {
      min-height: 170px;
      resize: vertical;
    }

    #contact-form input:focus,
    #contact-form textarea:focus {
      outline: 2px solid #335A8C;
      outline-offset: 1px;
    }

    /* BOUTON */

    #contact-form button {
      align-self: flex-start;
      margin-top: 20px;
      padding: 14px 30px;

      background: #0D224D;
      border: none;
      border-radius: 8px;

      color: #fff;
      font-family: "Inter", sans-serif;
      font-size: 15px;
      font-weight: 600;

      cursor: pointer;
    }

    #contact-form button:hover {
      background: #335A8C;
    }

    #contact-form button:disabled {
      opacity: .6;
      cursor: wait;
    }

    #contact-status {
      font-size: 14px;
      line-height: 1.5;
      color: #0D224D;
    }

    
    /* CONTACT — MENTION DONNÉES PERSONNELLES */

    #contact-form .contact-privacy-note {
      margin: 4px 0 0;
      color: #888888;
      font-size: 11px;
      line-height: 1.5;
      font-weight: 400;
    }

    #contact-form .contact-privacy-note a {
      color: #888888;
      text-decoration: underline;
    }

    /* Masquer le statut lorsqu'il est vide */

    #contact-status:empty {
      display: none;
    }


    



/* ============================================================
   COMPOSANTS PARTAGÉS — PAGES DU PORTFOLIO
============================================================ */

/* Fil d'Ariane : Accueil › rubrique / projet */
.site-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  color: #6B6965;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.site-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.site-breadcrumb a:hover { text-decoration: underline; }

.site-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Bouton fixe : le JS le maintient au-dessus du footer */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 70px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #FFFCF7;
  border: 1px solid #DDD6CA;
  border-radius: 50%;
  color: #0D224D;
  font-size: 25px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(13,34,77,.12);
  transition: background .2s ease, opacity .2s ease, visibility .2s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover { background: #EDE4D3; }
.back-to-top:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
}

html { scroll-behavior: smooth; }

/* Mise en page spécifique : Dérogations (ancien style inline) */
.derog-page .derog-hero > .container {
  grid-template-columns: minmax(0, 1fr);
}
.derog-page .derog-intro h1,
.derog-page .derog-lead { max-width: 950px; }
.derog-page .derog-stats { max-width: 1100px; }
.derog-page .derog-method-footer {
  max-width: 850px;
  margin: 36px auto 32px;
}

/* Mise en page spécifique : Horizon Europe (ancien style inline) */
.horizon-page .derog-method-footer {
  max-width: 850px;
  margin: 36px auto 32px;
}

/* Mise en forme commune aux liens de sources */
.derog-text a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.horizon-description a { text-decoration: underline; }


/* ============================================================
   DATA LAB — OUTILS ET MÉTHODE
============================================================ */

/* Fermé : petit rectangle centré */
.articles .data-method {
  width: max-content;
  max-width: 100%;
  margin: 36px auto 0;
}

/* Ouvert : largeur adaptée au contenu */
.articles .data-method[open] {
  width: min(100%, 850px);
}

.articles .data-method .data-method-note {
  width: 100%;
  margin: 0;
  padding: 4px 22px 24px;
  color: #555555;
  text-align: left;
}

.articles .data-method .data-method-note p {
  margin: 0 0 16px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.articles .data-method .data-method-note p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   MENTIONS LEGALES — PRESENTATION
   ============================================================ */
.legal-page {
  padding: 58px 0 90px;
  min-height: calc(100vh - 230px);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
}

.legal-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.legal-content h1 {
  margin: 0 0 38px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
}

.legal-section {
  margin: 0 0 32px;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-section a {
  color: var(--accent);
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .legal-page { padding: 38px 0 64px; }
  .legal-content h1 { margin-bottom: 30px; }
  .legal-section { margin-bottom: 28px; }
}
