html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* =========================================================
   Palette & typo
   ========================================================= */
:root{
  --brand:#a30000;         /* Rouge Inserm */
  --ink:#0f2630;
  --muted:#5b6b75;
  --paper:#ffffff;
  --paper-soft:#f7f7f7;
  --accent:#0f5b64;

  --bg:#ffffff;
  --text:#1f2937;
  --primary:#b91c1c;
  --primary-weak:#fee2e2;
  --card:#f8fafc;
  --border:#e5e7eb;

  /* Hero / photo */
  --hero-overlap:120px;    /* chevauchement de la photo sur le bandeau */
  --photo-height:clamp(480px, 40vw, 820px);

  /* Fonts & tailles */
  --font-body:'Inter', system-ui, -apple-system, sans-serif;
  --font-title:'Cormorant Garamond', serif;
  --font-size-base:1.08rem;
  --font-size-h2:4rem;
  --font-size-h3:2.8rem;
}

/* =========================================================
   Base
   ========================================================= */
*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
}

html{ scroll-behavior:smooth; }

body{
  font-family:var(--font-body);
  font-size:var(--font-size-base);
  line-height:1.65;
}

a{
  color:var(--brand);
  text-decoration:none;
}
a:hover{ text-decoration:underline; }

.container{
  max-width:1200px;
  padding:1rem;
  margin:0 auto;
}

/* =========================================================
   Titres
   ========================================================= */
h1,h2,h3,h4,h5{
  font-family:var(--font-title);
  font-weight:800;
  color:var(--ink);
  margin:0 0 1rem;
}
h2{ font-size:var(--font-size-h2); text-align:center; }
h3{ font-size:var(--font-size-h3); }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:relative;
  z-index:50;
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.brand{ font-weight:700; padding:.75rem 0; }
.nav a{ margin-left:1rem; padding:.75rem .25rem; }

/* Menu header : onglet actif */
.site-header .nav a{
  color:var(--ink);
  text-decoration:none;
  padding:.75rem .5rem;
  transition:color .15s ease;
}
.site-header .nav a:hover,
.site-header .nav a:focus{ color:var(--brand); }

.site-header .nav a[aria-current="page"]{
  color:var(--brand); font-weight:700; position:relative;
}
.site-header .nav a[aria-current="page"]::after{
  content:""; position:absolute; left:.5rem; right:.5rem; bottom:.35rem;
  height:2px; background:var(--brand); border-radius:2px;
}

/* =========================================================
   Boutons (génériques)
   ========================================================= */
.button{
  display:inline-block; padding:.7rem 1rem; border-radius:.6rem;
  background:var(--primary); color:#fff; font-weight:800;
}
.button-secondary{ background:var(--primary-weak); color:var(--primary); }

/* =========================================================
   Hero (bandeau rouge)
   ========================================================= */
.hero-colored{
  background:#8B0000; color:#fff;
  padding:6rem 0 25rem;  /* haut / bas */
  position:relative; z-index:1;
}
.hero-title{
  margin:0 0 .6rem;
  font-size:clamp(2.8rem, 6vw, 4.2rem);
  line-height:1.04; letter-spacing:.5px;
  background:linear-gradient(90deg,#ffb3b3 0%,#ffffff 45%,#ffb3b3 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-rule{
  border:0; border-top:10px solid rgba(255,255,255,.65);
  margin:.25rem 0 1.25rem;
}
.hero-rows{
  display:grid; grid-template-columns:2fr 1fr 1.4fr;
  gap:1.25rem 1.5rem; align-items:start;
}
.hero-desc{ margin:0; max-width:60ch; opacity:.95; }
.hero-phone{ margin:0; justify-self:center; font-weight:400; }
.hero-address{ margin:0; font-style:normal; text-align:right; justify-self:end; max-width:34ch; }

@media (max-width:980px){
  .hero-rows{ grid-template-columns:1fr; }
  .hero-phone,.hero-address{ justify-self:start; text-align:left; }
}

/* =========================================================
   Photo diagonale sous le hero
   ========================================================= */
.diag-photo{
  position:relative; z-index:3;
  width:80vw; margin-left:calc(50% - 50vw); margin-right:0;
  margin-top:calc(-3 * var(--hero-overlap)); margin-bottom:0;
  height:var(--photo-height); overflow:hidden; line-height:0;
}
.diag-photo img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:left center; display:block;
}
@media (min-width:1600px){
  :root{ --photo-height:clamp(560px, 45vw, 960px); }
}
@media (max-width:900px){
  :root{ --hero-overlap:70px; --photo-height:320px; }
  .diag-photo{ width:100vw; }
  .diag-photo img{ object-position:center; }
}

/* =========================================================
   Intro (menu latéral + texte)
   ========================================================= */
.intro-section{ padding:4rem 0; background:var(--paper); }
.container-two-cols{
  display:grid; grid-template-columns:240px 1fr; gap:3rem;
  max-width:1100px; margin:0 auto; position:relative;
}
/* ligne verticale décorative */


.container-two-cols::before{
  display:none;
}

.intro-left{
  display:flex;
  flex-direction:row;
  gap:12px;
  padding-right:2rem;
  border-right:2px solid rgba(163,0,0,.6);
}

.intro-left{ display:flex; flex-direction:row; gap:12px; padding-right:1rem; }
.intro-line{
  width:4px; height:30px; background:var(--brand);
  margin-top:4px; align-self:flex-start;
}
.intro-nav{ display:flex; flex-direction:column; gap:.35rem; margin:0; }
.intro-nav a{ color:var(--ink); font-weight:600; }
.intro-nav a:hover{ color:var(--brand); }
.intro-nav a[aria-current="page"]{ color:var(--brand); font-weight:700; }

.intro-right{ padding-left:4rem; }
.intro-title{ margin:0 0 1rem; }
.intro-text{
  max-width:70ch; font-size:1.5rem; line-height:1.8;
  color:var(--muted); text-align:justify;
}

@media (max-width:900px){
  .container-two-cols{ grid-template-columns:1fr; gap:2rem; }
  .container-two-cols::before{ display:none; }
  .intro-right{ padding-left:0; }
  .intro-left{ align-items:center; }
  .intro-line{ height:24px; margin-top:0; }
}

/* =========================================================
   Thématiques
   ========================================================= */
.theme{
  display:grid; grid-template-columns:1.1fr 1fr;
  gap:2rem; align-items:center; margin:2.5rem 0;
}
.theme:nth-child(even){ grid-template-columns:1fr 1.1fr; }
.theme-img{
  width: min(520px, 100%);
  height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 auto;

  border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.theme:nth-child(1) .theme-img{
  object-position: center center;
}

.theme:nth-child(2) .theme-img{
  object-position: center center;
}

.theme:nth-child(3) .theme-img{
  object-position: center center;
}

.theme-img{
  background: #fff;
  padding: 8px;
}

.theme-text{ display:flex; flex-direction:column; justify-content:center; max-width:55ch; }
.theme-text p{ text-align:justify; line-height:1.7; }
.theme-text .accent{ color:var(--brand); }

/* alignements alternés */
.theme:nth-child(even) .theme-text{
  text-align:right; align-items:flex-end; padding-right:1.25rem;
}
.theme:nth-child(odd) .theme-text{
  text-align:left; align-items:flex-start; padding-left:1.25rem;
}
.theme-text h3{ white-space:nowrap; max-width:100%; }

@media (max-width:900px){
  .theme{ grid-template-columns:1fr; }
  .theme-img{ height:240px; }
}

/* =========================================================
   Team / Publications / News (cartes)
   ========================================================= */
.team-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.2rem;
}
.person{
  background:#fff; border-radius:14px; box-shadow:0 4px 18px rgba(0,0,0,.06);
  padding:1rem; text-align:center; transition:transform .15s ease;
}
.person:hover{ transform:translateY(-2px); }
.person img{ width:100%; height:240px; object-fit:cover; border-radius:10px; }
.person .role{ color:var(--muted); margin:.25rem 0 0; }

/* taille nom Team */
.team-grid .person h3{
  font-size:1.7rem; font-weight:600; margin:.5rem 0 .25rem; text-align:center;
}

.pub-item{ display:flex; gap:.5rem; align-items:baseline; margin:.6rem 0; }
.pub-item .journal{
  background:#fde6e6; color:var(--brand);
  padding:.15rem .45rem; border-radius:999px; font-size:.85rem;
}
.pub-item .title{ text-decoration:none; }
.pub-item .title:hover{ text-decoration:underline; }

.news-preview .card img{
  width:100%; height:140px; object-fit:cover; border-radius:8px; margin-bottom:.6rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  margin-top:3rem; border-top:1px solid var(--border);
  background:#fff; text-align:center; padding:1rem 0;
}

/* =========================================================
   Lab Photo Catalog (galerie)
   ========================================================= */
.lab-gallery{
  padding:3rem 0 2rem;
  background:var(--paper);
}

.lab-gallery h2{
  font-family:var(--font-title);
  font-size:clamp(2rem, 3vw, 2.6rem);
  text-align:center;
  color:var(--ink);
  margin:0 0 1.25rem;
}

.gallery{
  position:relative;
  display:grid;
  grid-template-columns:48px 1fr 48px;
  align-items:center;
  gap:.75rem;
}

.g-viewport{
  overflow:hidden;
  width:100%;
  border-radius:10px;
  background:#f2f4f7;
}

.g-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:100%;
  margin:0;
  padding:0;
  list-style:none;
  transition:transform .45s ease;
  will-change:transform;
}

.g-slide{
  list-style:none;
  min-width:100%;
}

.g-figure{
  margin:0;
}

.g-img{
  width:100%;
  height:clamp(500px, 65vw, 750px);
  object-fit:cover;
  object-position:center;
}

.g-img-hugo{
  object-position: 60% center;
}
.g-caption{
  padding:.75rem 1rem .9rem;
  background:#fff;
  color:var(--muted);
  border-top:1px solid var(--border);
  font-size:.98rem;
}

.g-caption .g-title{
  font-weight:700;
  color:var(--ink);
}

.g-caption .g-credit{
  color:#6b7280;
  font-size:.9rem;
  margin-left:.35rem;
}

.g-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  background:#fff;
  color:var(--brand);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform .08s ease, box-shadow .18s ease;
}

.g-btn:hover{
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.g-btn:active{
  transform:scale(.96);
}

.g-prev{
  justify-self:end;
}

.g-next{
  justify-self:start;
}

.g-dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.5rem;
  margin-top:.9rem;
}

.g-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#d6d6d6;
  border:0;
  cursor:pointer;
}

.g-dot[aria-selected="true"]{
  background:var(--brand);
}

@media (max-width:680px){
  .gallery{
    grid-template-columns:36px 1fr 36px;
  }

  .g-btn{
    width:36px;
    height:36px;
  }
}

/* =========================================================
   Jump to section (version pliable utilisée dans l’intro)
   ========================================================= */
.jumpbar-collapsible{
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  margin-top:1.25rem;
  width:max-content; max-width:100%;
}
.jumpbar-toggle{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.65rem 1rem;
  background:transparent; border:0; cursor:pointer;
  font-weight:700; color:var(--ink);
}
.jumpbar-caret{
  width:.75rem; height:.75rem;
  border-right:2px solid var(--ink); border-bottom:2px solid var(--ink);
  transform:rotate(45deg); transition:transform .18s ease;
}

/* liens affichés quand ouvert */
.jumpbar-links{
  display:flex; flex-wrap:wrap; gap:.6rem;
  padding:.6rem 1rem 1rem;
  animation:jbFade .18s ease;
}
@keyframes jbFade{ from{opacity:0; transform:translateY(-2px)} to{opacity:1; transform:none} }

.jump-link{
  display:inline-block; padding:.45rem .85rem;
  border:1px solid rgba(0,0,0,.12); border-radius:999px;
  background:#fff; color:var(--ink); font-weight:600; text-decoration:none;
  transition:background .15s, color .15s, border-color .15s;
}
.jump-link:hover, .jump-link:focus{
  background:var(--brand); color:#fff; border-color:var(--brand);
}

/* caret vers le haut quand ouvert */
.jumpbar-collapsible[aria-expanded="true"] .jumpbar-caret{ transform:rotate(225deg); }

/* confort défilement avec header sticky */
#themes, #gallery, #projects{ scroll-margin-top:90px; }

@media (max-width:680px){
  .jumpbar-collapsible{ width:100%; }
  .jumpbar-links{ padding-right:.75rem; }
}

/* ===== Footer band ===== */
.footer-band{
  background:#2b2423;          /* marron très sombre */
  color:#eaeaea;
  padding:2.5rem 0 1.25rem;
}

.fb-wrap{
  display:grid;
  grid-template-columns: 1.2fr 1fr;   /* gauche / droite */
  gap:2rem 3rem;
  align-items:start;
}

.fb-brand{
  display:flex; align-items:center; gap:.75rem; margin-bottom:.75rem;
}
.logo-white{
  height:44px;
  filter: invert(1) brightness(1.2);  /* passe le logo sombre en clair */
}
.fb-lab{ font-weight:700; letter-spacing:.3px; }

.fb-links{
  list-style:none; padding:0; margin:.25rem 0 1rem;
  columns: 2; column-gap:2rem;      /* 2 colonnes automatiques */
}
.fb-links li{ break-inside: avoid; margin:.2rem 0; }
.fb-links a{
  color:#f1f1f1; text-decoration:none;
}
.fb-links a:hover{ color:#ffefef; text-decoration:underline; }

.fb-address{
  font-size:.95rem; color:#cfcfcf; margin-top:.25rem;
}

/* Encadré “Stay in touch” */
.fb-card{
  background:#f4e7d6;
  color:#2b2320;
  padding:1.1rem 1rem 1.25rem;
  border-radius:6px;
  position:relative;
}
.fb-card-title{ margin:.25rem 0 .35rem; font-size:1.25rem; }
.fb-card-text{ margin:0 0 .8rem; color:#3a2f2b; }
.fb-card-btn{ display:inline-block; }
.fb-card-underline{
  position:absolute; left:0; right:0; bottom:0; height:6px;
  background:#b91c1c; border-bottom-left-radius:6px; border-bottom-right-radius:6px;
}

/* Icônes sociales */
.fb-social{
  display:flex; gap:.65rem; margin:1rem 0 .5rem;
}
.si{
  width:36px; height:36px; border-radius:999px;
  display:grid; place-items:center;
  background:#1f1a19; border:1px solid rgba(255,255,255,.12);
  transition:transform .12s ease, background .15s ease, border-color .15s ease;
}
.si:hover{ transform:translateY(-1px); background:#3a312f; border-color:rgba(255,255,255,.25); }
.si svg{ width:18px; height:18px; fill:#ffffff; }

/* Logos partenaires */
.fb-logos{
  display:flex; gap:1rem; align-items:center; flex-wrap:wrap;
  opacity:.9;
}
.fb-logos img{ height:34px; filter: grayscale(100%) brightness(1.1); }
.fb-logos img:hover{ filter:none; }

/* Responsive */
@media (max-width: 900px){
  .fb-wrap{ grid-template-columns: 1fr; }
  .fb-links{ columns:1; }
}

/* ================================
   Section News / Actualités
   ================================ */
.news-section{
  padding: 4rem 0;
  background: var(--paper);
}

.news-card{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.news-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content{
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .75rem;
}

.news-text{
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 .75rem;
}

.news-meta{
  font-size: 0.9rem;
  color: var(--muted);
}

.news-link{
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.news-link:hover{
  text-decoration: underline;
}

@media (max-width: 800px){
  .news-card{
    grid-template-columns: 1fr;
  }
  .news-img{
    height: 240px;
  }
}

/* ===== Our Research Projects – version “bandeau” propre ===== */

/* Grille globale */
.projects-wrap{
  /* on garde l’alignement du site mais on autorise le débordement gauche */
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) 1.05fr; /* image large, texte un peu plus large */
  gap: 3rem;
  align-items: center;
}

/* Image à gauche : grande, coupe diagonale, jolie */
.projects-photo{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: clamp(460px, 58vw, 680px);
  /* coupe diagonale plus élégante (moins “cassée”) */
  clip-path: polygon(0 0, 88% 0, 72% 100%, 0% 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.projects-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Variante “bleed” : la photo colle au bord gauche du viewport pour l’effet Harvard */
.projects--bleed .projects-wrap{
  /* colonne image un peu plus généreuse */
  grid-template-columns: minmax(560px, 1fr) 1.05fr;
}
.projects--bleed .projects-photo{
  /* on “décolle” la carte vers la gauche du viewport */
  width: calc(50vw + 140px);
  margin-left: calc(50% - 50vw); /* colle au bord gauche de l’écran */
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

/* Colonne texte : même esprit que Research Themes */
.projects-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  max-width: 60ch;
  margin-left: auto;
}

.projects-text h2{
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--ink);
  /* un poil plus compact pour éviter 2 lignes */
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.06;
  margin: 0 0 .5rem;
  text-align: left;
}

.project-item{ margin-bottom: .35rem; }

.project-title{
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--brand);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  margin: .1rem 0 .25rem;
}

.projects-text p{
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  text-align: justify;
  margin: 0;
}

/* Responsive : on remet l’image en haut, plein cadre, sans diagonale trop agressive */
@media (max-width: 980px){
  .projects-wrap{
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .projects--bleed .projects-photo{
    width: 100%;
    margin-left: 0;
  }
  .projects-photo{
    min-height: 380px;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); /* diagonale plus douce en mobile */
    border-radius: 14px;
  }
  .projects-text{ max-width: 100%; }
}

/* ===== Join us callout (Team) ===== */
.join-card{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr 380px;
  gap:2rem;
  align-items:center;
  margin:2.25rem auto 0;
  padding:1.4rem 1.6rem 1.9rem;
  max-width:1100px;

  background:#FFF6D8;                 /* jaune très clair */
  border:1px solid #F1DE9B;
  border-radius:16px;
  box-shadow:0 6px 24px rgba(0,0,0,.06);
}

.join-card__left{ min-width:0; }

.join-title{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-title);
  font-weight:700;
  font-size:clamp(1.6rem, 2.4vw, 2.1rem);
  color:var(--ink);
  margin:0 0 .35rem;
}
.join-emoji{ font-size:1.25em; line-height:1; }

.join-lead{
  margin:.15rem 0 1rem;
  color:#5a4a17;                       /* brun doux */
  line-height:1.7;
}

.join-list{
  list-style:none;
  padding:0;
  margin:0 0 1.1rem;
  display:grid;
  gap:.55rem;
}
.join-list li{
  display:flex;
  align-items:center;
  gap:.6rem;
  color:var(--ink);
}

.join-badge{
  display:inline-block;
  padding:.15rem .6rem;
  border-radius:999px;
  border:1px solid #e9c86b;
  background:#fff8df;
  font-weight:700;
  font-size:.85rem;
  line-height:1;
  color:#7a4c00;
  white-space:nowrap;
}

.join-cta{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}

/* visuel à droite */
.join-card__art{
  margin:0;
  position:relative;
  aspect-ratio: 4 / 5;
  overflow:hidden;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.join-card__art img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ruban rouge bas */
.join-underline{
  position:absolute;
  left:0; right:0; bottom:0;
  height:6px;
  border-bottom-left-radius:16px;
  border-bottom-right-radius:16px;
  background:var(--brand);
}

/* responsive */
@media (max-width: 900px){
  .join-card{
    grid-template-columns:1fr;
    padding:1.1rem 1.1rem 1.5rem;
  }
  .join-card__art{ order:-1; aspect-ratio:16/9; }
}

/* ===== Variante pyramide pointant vers le texte ===== */
.projects--pyramid .projects-photo{
  /* chevron/pyramide vers la droite */
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  border-radius: 18px;                 /* garde des coins doux à gauche */
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* petit liseré doux sur l’arête pour un rendu “propre” */
.projects--pyramid .projects-photo::after{
  content:"";
  position:absolute; inset:0;
  /* léger dégradé près de la pointe pour adoucir la jonction */
  background:
    linear-gradient( to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,.05) 86%,
      rgba(255,255,255,0) 100%
    );
  pointer-events:none;
  border-top-right-radius:18px;
  border-bottom-right-radius:18px;
}

/* mobile : on simplifie la forme pour garder la lisibilité */
@media (max-width: 980px){
  .projects--pyramid .projects-photo{
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); /* pente douce */
    border-radius: 14px;
  }
}

/* Les projets héritent automatiquement du style des thèmes */
.project-item { 
  composes: theme-text; /* si tu utilises un préprocesseur comme SCSS */
  display: flex;
  flex-direction: column;
  gap: .35rem;
  max-width: 55ch;
}

.project-title {
  composes: accent;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--brand);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  line-height: 1.15;
  margin: 0 0 .45rem;
}

.marquee{
  overflow:hidden;
  background:var(--brand);
  color:#fff;
  padding:.8rem 0;
  margin-top:3rem;
}
.marquee-content{
  display:inline-block;
  white-space:nowrap;
  animation:scrollText 25s linear infinite;
}
.marquee-content span{
  margin:0 2rem;
  font-weight:600;
  font-size:1.2rem;
}
@keyframes scrollText{
  0%{transform:translateX(100%);}
  100%{transform:translateX(-100%);}
}

/* Make the jumpbar truly collapsible */
.jumpbar-links[hidden]{
  display: none !important;
}

.intro-left{ position:relative; }
.intro-line{
  position:absolute; left:-12px; top:0;
  width:4px; height:1.4em; background:var(--brand);
  border-radius:2px; transition:transform .25s ease;
}

/* règle l’espacement vertical entre les items (à ajuster si besoin) */
.intro-line{
  position:absolute;
  left:-12px;
  width:4px;
  height:1.4em;
  background:var(--brand);
  border-radius:2px;
  transition:transform .25s ease;
}

/* position exacte pour chaque page */
.intro-left:has(.intro-nav a[href="index.html"][aria-current="page"]) .intro-line{
  top: 0.2em;
}

.intro-left:has(.intro-nav a[href="team.html"][aria-current="page"]) .intro-line{
  top: 2.4em;
}

.intro-left:has(.intro-nav a[href="projects.html"][aria-current="page"]) .intro-line{
  top: 4.8em;
}

.intro-left:has(.intro-nav a[href="publications.html"][aria-current="page"]) .intro-line{
  top: 7.6em;
}

.intro-left:has(.intro-nav a[href="news.html"][aria-current="page"]) .intro-line{
  top: 10em;
}

.intro-left:has(.intro-nav a[href="contact.html"][aria-current="page"]) .intro-line{
  top: 12.4em;
}
/* --- HERO labels en "titre" + gras (sans changer le HTML) --- */
.hero-rows{
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr; /* ta mise en page d'origine */
  align-items: start;
  gap: 1rem 1.5rem;
}

.hero-phone{ justify-self: center; }
.hero-address{ justify-self: end; text-align: left; max-width: 34ch; }

/* Le label devient un titre sur sa propre ligne */
.hero-rows .hero-label{
  display: block;              /* passe à la ligne */
  font-weight: 700;            /* bien gras */
  text-transform: uppercase;   /* style titre */
  letter-spacing: .04em;
  margin-bottom: .25rem;       /* petit espace avec la valeur */
}

/* La valeur reste normale, sous le label */
.hero-rows .hero-value{
  display: block;              /* sur la ligne d'après */
  font-weight: 400;
}

/* Option mobile : tout en colonne */
@media (max-width: 980px){
  .hero-rows{
    grid-template-columns: 1fr;
  }
  .hero-phone,
  .hero-address{
    justify-self: start;
    text-align: left;
  }
}

/* === HERO Video Background === */
.hero-colored{
  position: relative;
  overflow: hidden;           /* important pour couper la vidéo */
  background: #8B0000;        /* couleur fallback si la vidéo ne charge pas */
  color: #fff;
}

.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* couvre toute la zone */
  z-index: 0;                 /* derrière le contenu */
  opacity: 0.55;              /* légèrement visible */
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(139,0,0,0.45);  /* filtre rouge translucide */
  z-index: 1;
}

.hero-container{
  position: relative;
  z-index: 2;                 /* au-dessus de la vidéo */
}

/* Pour éviter que le header ne chevauche le son sur mobile */
@media (max-width: 980px){
  .hero-bg-video{
    opacity: 0.65;
  }
}


.diag-photo{
  position:relative; 
  z-index:3;
  width:80vw;
  margin-left:calc(50% - 50vw);
  margin-right:0;
  margin-top:calc(-3 * var(--hero-overlap));
  margin-bottom:0;
  height:var(--photo-height);   /* même pour Home et Team */
  overflow:hidden;
  line-height:0;
}

.diag-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left center;
  display:block;
}

/* Team : même taille, juste cadrage différent */
.diag-photo-team{ /* pas de height ici */ }

.diag-photo-team img{
  transform: none;           /* ou tu supprimes carrément la ligne */
  object-position: center 43%;
}





/* ===== Team Leaders ===== */

.team-leaders{
  padding: 60px 0;
  text-align: center;
}

.team-leaders-title{
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* grid */
.leaders-grid{
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* card */
.leader-card{
  background: #fff5f5;
  border-radius: 25px;
  width: 340px;
  padding: 70px 30px 30px 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.leader-card:hover{
  transform: translateY(-8px);
}

/* photo */
.leader-photo{
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.leader-photo img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
}

/* name */
.leader-card h3{
  margin-top: 10px;
  font-size: 1.3rem;
}

/* role */
.leader-role{
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: 15px;
}

/* social icon */
.leader-social{
  margin-bottom: 15px;
}

.leader-social svg{
  width: 26px;
  height: 26px;
  fill: #b91c1c;
  transition: transform 0.2s;
}

.leader-social svg:hover{
  transform: scale(1.2);
}

/* description */
.leader-desc{
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ===== Team Leaders (inspired card style, red-light theme) ===== */

.team-leaders{
  padding: 18px 0 10px;
  text-align: center;
}

.team-leaders-title{
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  margin: 10px 0 40px;
}

.leaders-grid{
  display:flex;
  justify-content:center;
  gap: 60px;
  flex-wrap:wrap;
}

.leader-card{
  background: #fff5f5;                 /* rouge clair */
  border-radius: 25px;
  width: 340px;
  padding: 70px 30px 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.leader-card:hover{
  transform: translateY(-8px);
}

.leader-photo{
  position:absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.leader-photo img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
}

.leader-card h4{
  margin-top: 10px;
  font-size: 1.3rem;
}

.leader-role{
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: 14px;
}

.leader-social{
  margin-bottom: 14px;
}

.leader-social svg{
  width: 26px;
  height: 26px;
  fill: #b91c1c;
  transition: transform 0.2s;
}

.leader-social a:hover svg{
  transform: scale(1.2);
}

.leader-desc{
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}



/* =========================================================
   TEAM LEADERS — bigger & more premium than other members
   (drop-in override: paste at the END of style.css)
   ========================================================= */

.team-leaders{
  padding: 28px 0 12px;
  text-align: center;
}

.team-leaders-title{
  font-family: "Cormorant Garamond", serif;
  font-size: 2.35rem;
  margin: 10px 0 44px;
}

/* more space between the 2 leader cards */
.team-leaders .leaders-grid{
  display: flex;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
}

/* ✅ make leader cards larger */
.team-leaders .leader-card{
  background: #fff5f5;
  width: 430px;              /* bigger than normal cards */
  max-width: 94vw;
  padding: 88px 40px 40px;   /* more breathing room */
  border-radius: 30px;
  position: relative;
  border: 1px solid rgba(185, 28, 28, 0.12);
  box-shadow: 0 16px 60px rgba(15,23,42,0.10);
  transition: transform .22s ease, box-shadow .22s ease;
}

.team-leaders .leader-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 24px 80px rgba(15,23,42,0.14);
}

/* ✅ bigger photo */
.team-leaders .leader-photo{
  position: absolute;
  top: -62px;
  left: 50%;
  transform: translateX(-50%);
}

.team-leaders .leader-photo img{
  width: 128px;
  height: 128px;
  border-radius: 999px;
  object-fit: cover;
  border: 7px solid #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,0.18);
}

/* typography boost */
.team-leaders .leader-card h4{
  margin: 10px 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
}

.team-leaders .leader-role{
  margin: 0 0 16px;
  color: #b91c1c;
  font-weight: 800;
  font-size: 1.05rem;
}

/* nicer LinkedIn button (still your svg) */
.team-leaders .leader-social{
  margin: 0 0 16px;
}

.team-leaders .leader-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.10);
  border: 1px solid rgba(185, 28, 28, 0.18);
}

.team-leaders .leader-social svg{
  width: 22px;
  height: 22px;
  fill: #b91c1c;
  transition: transform .15s ease;
}

.team-leaders .leader-social a:hover svg{
  transform: scale(1.18);
}

.team-leaders .leader-desc{
  margin: 0 auto;
  max-width: 46ch;
  font-size: 1.03rem;
  line-height: 1.75;
  color: rgba(15,23,42,0.78);
}

/* responsive */
@media (max-width: 720px){
  .team-leaders .leaders-grid{ gap: 44px; }
  .team-leaders .leader-card{
    width: 100%;
    padding: 82px 22px 26px;
  }
}


/* ===== Larger photo frame for Team Leaders ===== */

.team-leaders .leader-photo{
  top: -150px;              /* descend un peu plus la photo */
}

.team-leaders .leader-photo img{
  width: 250px;            /* taille photo agrandie */
  height: 250px;
  border-radius: 50%;
  object-fit: cover;

  border: 8px solid #ffffff;     /* cadre blanc plus visible */
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.team-leaders-header{
  display:flex;
  align-items:center;
  margin-bottom:50px;
}

.team-leaders-header h3{
  font-family:"Cormorant Garamond", serif;
  font-size:2.2rem;
  margin:0;
}

.team-leaders-header{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:60px;
}


.team-leaders-title{
  font-family:"Cormorant Garamond", serif;
  font-size:5rem;   /* plus grand */
  font-weight:700;
}

.team-leaders-header{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:20px;
  margin-bottom:200px;
}

.team-leaders-title{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:2.7rem;
  font-weight:700;
  line-height:1;
}

.team-leaders-line{
  display:block;
  height:2px;
  background:#b91c1c;
  width:100%;
}

/* ===== Section headers for team categories ===== */
.team-section{
  margin-top: 28px;
}

.team-section-header{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 20px;
  margin: 64px 0 36px;
}

.team-section-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.team-section-line{
  display: block;
  height: 2px;
  background: #b91c1c;
  width: 100%;
  border-radius: 999px;
}

.team-leaders .leader-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(10, 102, 194, 0.10);
  border: 1px solid rgba(10, 102, 194, 0.20);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.team-leaders .leader-social svg{
  width: 22px;
  height: 22px;
  fill: #0A66C2;
  transition: transform .15s ease;
}

.team-leaders .leader-social a:hover{
  background: rgba(10, 102, 194, 0.16);
  border-color: rgba(10, 102, 194, 0.30);
}

.team-leaders .leader-social a:hover svg{
  transform: scale(1.12);
}

.intro-title{
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: #b91c1c;
  font-size: 4.5rem;
  line-height: 1.2;
}


.research-title{
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: #b91c1c;
  font-size: 2.6rem;
  line-height: 1.2;
}

.news-card-featured{
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
}

.news-img-featured{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.news-featured-content{
  padding: 28px 28px 28px 0;
  min-width: 0;
}

.news-title-featured{
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 1.15;
  color: #a31616;
  margin: 0 0 8px;
}

.news-title-featured span{
  display: block;
}

.news-date-featured{
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: #a31616;
  margin: 0 0 18px;
}

.news-card-featured .news-text{
  margin: 0 0 14px;
  line-height: 1.6;
  color: #1f2937;
}

.news-card-featured .news-meta{
  margin-top: 14px;
}

.news-card-featured .news-link{
  color: #b91c1c;
  font-weight: 700;
  text-decoration: none;
}

.news-card-featured .news-link:hover{
  text-decoration: underline;
}

@media (max-width: 980px){
  .news-card-featured{
    grid-template-columns: 1fr;
  }

  .news-img-featured{
    min-height: 280px;
    max-height: 420px;
  }

  .news-featured-content{
    padding: 22px;
  }
}

.news-title-featured{
  text-align:center;
  line-height:1.25;
}

.news-title-line{
  display:block;
}

.news-highlight{
  background:#f9f4f4;      /* rouge très très clair */
  padding:30px;
  border-radius:14px;
  border:1px solid #f1e3e3;
  margin-bottom:40px;
}

.news-img-featured{
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:10px;
}

.news-card-featured{
  display:grid;
  grid-template-columns: 40% 1fr;
  gap:30px;
  align-items:center;   /* ← centre verticalement */
}

/* ===== Team photo slider ===== */
.team-photo-slider{
  position: relative;
  overflow: hidden;
  min-height: 520px; /* ajuste si besoin */
}

.team-photo-slider .team-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.team-photo-slider .team-slide.is-active{
  opacity: 1;
  z-index: 1;
}

.research-title{
  display: table;
  margin: 0 auto 20px auto;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: #b91c1c;
  font-size: 2.6rem;
  line-height: 1.2;
}

.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.site-header .brand-logo{
  margin-right: 0;
}

.intro-nav{
  display:flex;
  flex-direction:column;
  gap:.55rem;
}

.intro-left{
  align-items:flex-start;
}

.intro-left{
  --row: 2.55rem;
}

.logo-paris-cite{
  position: relative;
  top: -22px;   /* remonte légèrement */
}

.logo-paris-cite{
  height: 40px;
  width: auto;
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:50px;
  padding:10px 0;
}


/* =========================================
   MOBILE FIXES
   ========================================= */

@media screen and (max-width: 768px){

  html, body{
    overflow-x: hidden;
  }

  .container{
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  /* HEADER LOGOS */
  .site-header{
    position: relative;
    padding: 10px 0;
  }

  .nav-wrap{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .brand-logo{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    width: 100%;
  }

  .brand-logo img{
    height: 42px !important;
    width: auto !important;
    max-width: 90px !important;
    object-fit: contain !important;
  }

  .logo-paris-cite{
    height: 34px !important;
    max-width: 120px !important;
  }

  /* HERO */
  .hero-colored{
    padding: 24px 0 90px !important;
  }

  .hero-title{
    font-size: 2.2rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  .hero-acronym{
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .hero-rule{
    margin: 10px 0 14px !important;
    border-top-width: 5px !important;
  }

  .hero-rows{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-desc,
  .hero-phone,
  .hero-address{
    justify-self: start !important;
    text-align: left !important;
    max-width: 100% !important;
  }

  /* BIG PHOTO UNDER HERO */
  .diag-photo{
    width: 100vw !important;
    height: 220px !important;
    margin-left: calc(50% - 50vw) !important;
    margin-top: -50px !important;
    overflow: hidden !important;
  }

  .diag-photo img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* INTRO LAYOUT */
  .intro-section{
    padding: 24px 0 !important;
  }

  .container-two-cols{
    display: block !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .container-two-cols::before{
    display: none !important;
  }

  .intro-left{
    display: block !important;
    padding-right: 0 !important;
    margin-bottom: 20px !important;
  }

  .intro-line{
    display: none !important;
  }

  .intro-nav{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .intro-nav a{
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }

  .intro-right{
    padding-left: 0 !important;
  }

  .intro-title{
    font-size: 2.3rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
    margin-bottom: 16px !important;
  }

  .intro-text{
    max-width: 100% !important;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    text-align: left !important;
  }

  /* GENERAL TITLES */
  h2{
    font-size: 2.2rem !important;
  }

  h3{
    font-size: 1.6rem !important;
  }

  .research-title{
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px 0 !important;
    font-size: 2rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  /* THEMES */
  .theme{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 32px 0 !important;
  }

  .theme-img{
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto !important;
  }

  .theme-text,
  .theme:nth-child(even) .theme-text,
  .theme:nth-child(odd) .theme-text{
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .theme-text p{
    text-align: left !important;
  }

  /* GALLERY */
  .gallery{
    grid-template-columns: 36px 1fr 36px !important;
  }

  .g-img{
    height: 220px !important;
  }

  /* PROJECTS */
  .projects-wrap,
  .projects--bleed .projects-wrap{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .projects--bleed .projects-photo{
    width: 100% !important;
    margin-left: 0 !important;
  }

  .projects-photo,
  .projects--pyramid .projects-photo{
    min-height: 220px !important;
    clip-path: none !important;
    border-radius: 14px !important;
  }

  .projects-text{
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .projects-text h2{
    text-align: left !important;
    font-size: 2rem !important;
  }

  /* FOOTER LOGOS */
  .fb-wrap{
    grid-template-columns: 1fr !important;
  }

  .fb-brand{
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .fb-brand img{
    height: 40px !important;
    width: auto !important;
    max-width: 100px !important;
  }

  /* MARQUEE */
  .marquee-content span{
    font-size: 1rem !important;
    margin: 0 16px !important;
  }
}

.profile-button{
  display:inline-block;
  margin-top:12px;
  padding:10px 18px;
  border-radius:999px;
  background:#b91c1c;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  text-decoration:none;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow:0 8px 20px rgba(185,28,28,.18);
}

.profile-button:hover{
  background:#991b1b;
  transform:translateY(-2px);
  text-decoration:none;
}

.profile-page{
  padding:4rem 0;
}

.profile-hero{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:2.5rem;
  align-items:center;
  background:linear-gradient(135deg,#fff8f8 0%, #ffffff 100%);
  border:1px solid rgba(185,28,28,.10);
  border-radius:24px;
  padding:2rem;
  box-shadow:0 14px 40px rgba(15,23,42,.06);
  margin-bottom:2rem;
}

.profile-hero-photo{
  width:100%;
  aspect-ratio:1/1;
  border-radius:24px;
  object-fit:cover;
  box-shadow:0 14px 32px rgba(15,23,42,.12);
}

.profile-kicker{
  display:inline-block;
  margin-bottom:.5rem;
  padding:.3rem .75rem;
  border-radius:999px;
  background:#fee2e2;
  color:#b91c1c;
  font-weight:700;
  font-size:.9rem;
}

.profile-name{
  font-family:"Cormorant Garamond", serif;
  font-size:4rem;
  line-height:1;
  margin:0 0 .5rem;
  color:#0f2630;
}

.profile-role{
  font-size:1.2rem;
  font-weight:700;
  color:#b91c1c;
  margin:0 0 .75rem;
}

.profile-affiliation{
  color:#5b6b75;
  font-size:1.05rem;
  margin:0 0 1rem;
}

.profile-links{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top:1rem;
}

.profile-chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.7rem 1rem;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#0f2630;
  font-weight:600;
  text-decoration:none;
}

.profile-chip:hover{
  text-decoration:none;
  border-color:#b91c1c;
  color:#b91c1c;
}

.profile-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:2rem;
}

.profile-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:20px;
  padding:1.5rem;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
  margin-bottom:1.5rem;
}

.profile-card h2{
  text-align:left;
  font-size:2rem;
  margin-bottom:1rem;
}

.profile-card p{
  color:#4b5563;
  line-height:1.8;
  margin:0;
}

.profile-list{
  margin:0;
  padding-left:1.2rem;
  color:#4b5563;
}

.profile-list li{
  margin-bottom:.65rem;
  line-height:1.7;
}

.profile-project{
  padding:1rem 0;
  border-top:1px solid #f0f0f0;
}

.profile-project:first-child{
  border-top:0;
  padding-top:0;
}

.profile-project-title{
  font-weight:700;
  color:#0f2630;
  margin:0 0 .35rem;
}

.profile-mini-title{
  font-family:"Cormorant Garamond", serif;
  font-size:1.6rem;
  color:#0f2630;
  margin:0 0 .8rem;
}

.profile-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
}

.profile-tag{
  padding:.45rem .8rem;
  border-radius:999px;
  background:#fff5f5;
  color:#b91c1c;
  border:1px solid rgba(185,28,28,.12);
  font-weight:600;
  font-size:.95rem;
}

@media (max-width: 900px){
  .profile-hero{
    grid-template-columns:1fr;
    text-align:center;
  }

  .profile-name{
    font-size:2.8rem;
  }

  .profile-links{
    justify-content:center;
  }

  .profile-grid{
    grid-template-columns:1fr;
  }

  .profile-card h2{
    text-align:left;
    font-size:1.7rem;
  }
}

.person-actions{
  display:flex;
  flex-direction:column; /* 🔥 clé */
  align-items:center;
  gap:8px;
  margin:10px 0 14px;
}

.person-linkedin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  text-decoration:none;
}

.person-linkedin svg{
  width:24px;
  height:24px;
  fill:#b91c1c;
}

.person .profile-button{
  margin-top:0;
}

.profile-block,
.profile-block-full,
.news-featured-content{
  width: 100%;
  max-width: 100%;
}

.profile-block .news-text{
  width: 100%;
  max-width: 100%;
}

.profile-block{
  display: block !important;
}

.profile-block .news-featured-content{
  width: 100%;
  max-width: 100%;
  padding: 30px !important;
}

.profile-block .news-text{
  width: 100%;
  max-width: 100%;
}

.person-linkedin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  text-decoration:none;
  background: rgba(10,102,194,0.10);
  border: 1px solid rgba(10,102,194,0.20);
}

.person-linkedin svg{
  width:24px;
  height:24px;
  fill:#0A66C2;
}

.person-linkedin:hover{
  background: rgba(10,102,194,0.16);
  border-color: rgba(10,102,194,0.30);
}

.team-leaders .leader-social{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.team-leaders .leader-social .profile-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-height:44px;
  padding:10px 18px !important;
  border-radius:999px !important;
  background:#b91c1c !important;
  color:#fff !important;
  border:none !important;
  font-weight:700 !important;
  font-size:.95rem !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 8px 20px rgba(185,28,28,.18) !important;
}

.team-leaders .leader-social .profile-button:hover{
  background:#991b1b !important;
  color:#fff !important;
  text-decoration:none !important;
}

.team-leaders .leader-social a:not(.profile-button){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(10,102,194,0.10);
  border:1px solid rgba(10,102,194,0.20);
}

.team-leaders .leader-social{
  display:flex;
  flex-direction:column;   /* 🔥 clé */
  align-items:center;
  gap:12px;
}

.profile-two-cols{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.profile-left{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.profile-two-cols{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.profile-left{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.profile-side-photo{
  width: 100%;
  max-width: 320px;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

@media (max-width: 900px){
  .profile-two-cols{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-left{
    justify-content:center;
  }

  .profile-side-photo{
    max-width: 260px;
    height: 320px;
  }
}


/* =========================================================
   PROFILE PAGE — CLEAN VERSION
   ========================================================= */

.profile-intro{
  padding: 4rem 0;
}

.profile-two-cols{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* LEFT PHOTO */
.profile-left{
  display: flex;
  justify-content: center;
}

.profile-side-photo{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* RIGHT CONTENT */
.profile-right{
  position: relative;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* vertical line aligned to content */
.profile-right::before{
  content:"";
  position:absolute;
  left:0;
  top:1.2rem;
  bottom:1.2rem;
  width:2px;
  background: rgba(185,28,28,0.6);
  border-radius:999px;
}

/* text alignment */
.profile-right > *{
  width:100%;
  max-width:720px;
}

/* TYPO */
.profile-right .intro-title{
  text-align:left;
  margin-bottom:0.8rem;
}

.profile-subtitle{
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:0.6rem;
}

.profile-affiliation{
  color:var(--muted);
  margin-bottom:1rem;
}

.profile-contact-row{
  margin-bottom:1rem;
}

.profile-right .intro-text{
  line-height:1.75;
  text-align:left;
}

/* MOBILE */
@media (max-width: 900px){
  .profile-two-cols{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-right{
    padding-left:0;
  }

  .profile-right::before{
    display:none;
  }

  .profile-left{
    justify-content:center;
  }

  .profile-side-photo{
    max-width:220px;
  }
}



/* =========================
   PROFILE INTRO CLEAN
   ========================= */

.profile-intro{
  padding: 4rem 0;
}

.profile-two-cols{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.profile-left{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile-side-photo{
  width: 100%;
  max-width: 320px;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.profile-right{
  padding-left: 3rem;
  border-left: 2px solid rgba(185,28,28,0.65);
}

.profile-right .intro-title{
  text-align: left;
  margin-bottom: 1rem;
}

.profile-subtitle{
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem;
}

.profile-affiliation{
  font-size: 1.05rem;
  color: #5b6b75;
  margin: 0 0 1rem;
}

.profile-contact-row{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.profile-pill{
  color: #b91c1c;
  font-weight: 600;
  text-decoration: none;
}

.profile-pill:hover{
  text-decoration: underline;
}

.profile-right .intro-text{
  max-width: 100%;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 900px){
  .profile-two-cols{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-left{
    justify-content: center;
  }

  .profile-side-photo{
    max-width: 260px;
    height: 320px;
  }

  .profile-right{
    border-left: 0;
    padding-left: 0;
  }

  .profile-right .intro-title{
    text-align: center;
  }
}

.profile-right{
  border-left: none !important;
}

.profile-two-cols{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
}

.profile-left{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile-left::after{
  display:none; /* on désactive l'ancien */
}

.profile-right{
  position: relative;
  padding-left: 3rem;
}

.profile-right::before{
  content:"";
  position:absolute;
  left:0;
  top:0.8rem;        /* démarre sous le titre */
  bottom:0.8rem;     /* finit à la fin du bloc texte */
  width:2px;
  background: rgba(185,28,28,0.6);
  border-radius:999px;
}

.profile-right{
  padding-left: 3rem;
  border-left: none !important;
}

.profile-right{
  position: relative;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.profile-right > *{
  width: 100%;
  max-width: 760px;
}

#profile-title,
.profile-subtitle,
.profile-affiliation,
.profile-contact-row,
.profile-right .intro-text{
  text-align: left;
  margin-left: 0;
}

.profile-right .intro-text{
  text-align: justify;
}

.profile-block h3,
.profile-block-small h3{
  text-align: center;
}


.profile-contact-row{
  position: relative;
  z-index: 5;
}

.profile-pill{
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.tech-section{
  padding: 4rem 2rem;
  background: #f7f7f7;
  text-align: center;
}

.tech-section{
  padding: 4rem 2rem;
  background: #f7f7f7;
  text-align: center;
}

.tech-section h2{
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #a30000;
  margin-bottom: 2.5rem;
}

.tech-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-card{
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.tech-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* cadrage spécifique */
.tech-img-bioinfo{
  object-position: center center;
}

.tech-card:nth-child(2) img{
  object-position: center center;
}

.tech-card:nth-child(3) img{
  object-position: center center;
}

.tech-content{
  padding: 1.5rem;
  text-align: left;
  flex: 1;
}

.tech-content h3{
  color: #a30000;
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.tech-content p{
  font-size: 0.95rem;
  color: #555;
  line-height: 1.45;
}

.tech-link{
  display: inline-block;
  margin-top: 1rem;
  color: #a30000;
  font-weight: 700;
  text-decoration: none;
}

.tech-link:hover{
  text-decoration: underline;
}

@media (max-width: 900px){
  .tech-grid{
    grid-template-columns: 1fr;
  }
}

.intro-nav{
  display:flex;
  flex-direction:column;
  gap:.55rem;
}

.intro-nav a{
  position:relative;
  display:inline-block;
  color:var(--ink);
  font-weight:600;
  text-decoration:none;
}

.intro-nav a:hover{
  color:var(--brand);
}

.intro-nav a[aria-current="page"]{
  color:var(--brand);
  font-weight:700;
}

.intro-nav a[aria-current="page"]::before{
  content:"";
  position:absolute;
  left:-12px;
  top:0.2em;
  width:4px;
  height:1.4em;
  background:var(--brand);
  border-radius:2px;
}

/* =========================================================
   PLATFORM DETAIL PAGE
   ========================================================= */

.platform-intro{
  padding: 4rem 0 3rem;
  background: var(--paper);
}

.platform-intro-grid{
  display: grid;
  grid-template-columns: 360px 1fr 360px; /* plus large */
  gap: 2.5rem;
  align-items: center;
}

.platform-side{
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.platform-side img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



.platform-center{
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.platform-kicker{
  display: inline-block;
  margin: 0 0 .8rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}

.platform-center .intro-title{
  margin-bottom: 1rem;
  text-align: center;
}

.platform-lead{
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 auto 1.5rem;
  max-width: 60ch;
}

.platform-actions{
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.platform-content{
  padding: 1rem 0 4rem;
  background: #f7f7f7;
}

.platform-grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.platform-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

.platform-card h3{
  color: var(--brand);
  font-size: 1.9rem;
  margin-bottom: .9rem;
}

.platform-feature{
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 2rem;
  align-items: center;
}

.platform-feature-reverse{
  grid-template-columns: 1fr 380px;
}

.platform-feature-reverse .platform-feature-media{
  order: 2;
}

.platform-feature-reverse .platform-feature-text{
  order: 1;
}

.platform-feature-media img{
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.platform-feature-text h3{
  color: var(--brand);
  margin-bottom: .8rem;
}

.platform-feature-text p{
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1rem;
  text-align: justify;
}

@media (max-width: 1100px){
  .platform-intro-grid{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .platform-side img{
    height: 260px;
    max-width: 420px;
    margin: 0 auto;
    display: block;
  }

  .platform-grid-3{
    grid-template-columns: 1fr;
  }

  .platform-feature,
  .platform-feature-reverse{
    grid-template-columns: 1fr;
  }

  .platform-feature-reverse .platform-feature-media,
  .platform-feature-reverse .platform-feature-text{
    order: initial;
  }
}

.tech-card{
  height: 420px;
  padding: 0;
  overflow: hidden;
}

.tech-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.platform-intro-grid{
  grid-template-columns: 420px 1fr 420px !important;
}

.platform-side{
  height: 420px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.platform-side img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

/* image gauche */
.platform-intro-grid .platform-side:first-child img{
  object-fit: cover !important;
  object-position: center !important;
}

/* image droite */
.platform-intro-grid .platform-side:last-child img{
  object-fit: cover !important;
  object-position: center !important;
}

.tech-card img,
.tech-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.tech-img-bioinfo{
  object-position: center;
}

.tech-section{
  padding: 4.5rem 2rem;
}

.tech-grid{
  max-width: 1400px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.tech-card{
  min-height: 560px;
}

.tech-card img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.tech-content{
  padding: 1.8rem;
}

.tech-content h3{
  font-size: 1.45rem;
}

.tech-content p{
  font-size: 1.05rem;
  line-height: 1.55;
}
.tech-img-bioinfo{
  object-position: center center;
}

.platform-img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.platform-side{
  min-width: 0;
}

.platform-img-left,
.platform-img-right{
  justify-self: center;
}

.platform-intro-grid{
  max-width: 1400px;
  width: calc(100% - 80px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1fr) minmax(260px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 1200px){
  .platform-intro-grid{
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .platform-center{
    order: -1;
  }

  .platform-img{
    max-width: 650px;
    margin: 0 auto;
  }
}


.tech-content {
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff7cc;
  color: #8a6500;
  border: 1px solid #f4d35e;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.coming-soon-badge.show {
  opacity: 1;
  transform: translateY(0);
}

.fieldwork-section {
  padding: 10px 0 80px;
}

.fieldwork-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.fieldwork-figure {
  max-width: 1150px;
  margin: 0 auto 80px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.fieldwork-main-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.intro-section {
  padding-bottom: 40px;
}


/* ===== Field work page ===== */

.fieldwork-section {
  padding: 10px 0 90px;
}

.fieldwork-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* grande image sans cadre */
.fieldwork-figure {
  max-width: 1150px;
  margin: 0 auto 80px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.fieldwork-main-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 35px rgba(16, 39, 51, 0.12));
}

/* carte Ongoing Projects */
.intro-card {
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 42px 48px;
  background: linear-gradient(135deg, #fffafa, #fbf5f5);
  border: 1px solid #ead1d1;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(184, 18, 24, 0.06);
}

.section-tag,
.tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f7e6e6;
  color: #b81218;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.intro-card h2,
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #b81218;
  font-size: 42px;
  margin: 0 0 18px;
}

.intro-card p {
  max-width: 900px;
  color: #657580;
  font-size: 19px;
  line-height: 1.8;
  margin: 0;
}

/* cartes projets */
.project-grid {
  max-width: 1180px;
  margin: 0 auto 85px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  min-height: 330px;
  padding: 32px 30px;
  background: #fffafa;
  border: 1px solid #ead1d1;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.045);
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
  color: #102733;
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 18px;
}

.project-card p {
  color: #657580;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.meta {
  padding-top: 18px;
  border-top: 1px solid #f1dddd;
  color: #51636e;
  font-size: 14px;
  line-height: 1.7;
}

.meta strong {
  color: #102733;
}

/* deux cartes du bas */
.two-cols {
  max-width: 1180px;
  margin: 0 auto 85px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.panel {
  background: #ffffff;
  border: 1px solid #ead1d1;
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.035);
}

.panel p {
  color: #657580;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pill {
  background: #fbf2f2;
  border: 1px solid #efd6d6;
  border-radius: 999px;
  padding: 10px 15px;
  color: #344956;
  font-weight: 700;
  font-size: 14px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.approach {
  border-radius: 18px;
  background: #fbf7f7;
  padding: 20px;
  border: 1px solid #f0dddd;
}

.approach .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.approach strong {
  display: block;
  color: #102733;
  margin-bottom: 7px;
}

.approach span {
  color: #657580;
  font-size: 14px;
  line-height: 1.5;
}

/* responsive */
@media (max-width: 1000px) {
  .project-grid,
  .two-cols,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .panel,
  .project-card {
    padding: 30px 24px;
  }

  .intro-card h2,
  .section-title {
    font-size: 34px;
  }
}


/* ===== Collaborations page ===== */

.orbit-network {
  max-width: 1180px;
  margin: 0 auto;
  padding: 65px 50px 80px;
  text-align: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at center, rgba(184,18,24,.08), transparent 32%),
    linear-gradient(135deg, #fffafa, #ffffff);
  border: 1px solid #ead1d1;
}

.orbit-network h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #b81218;
  font-size: 52px;
  margin: 0 0 18px;
}

.orbit-network p {
  max-width: 760px;
  margin: 0 auto 50px;
  color: #657580;
  font-size: 18px;
  line-height: 1.7;
}

.orbit-map {
  position: relative;
  height: 520px;
  max-width: 850px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(184,18,24,.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 360px;
  height: 360px;
}

.ring-2 {
  width: 560px;
  height: 560px;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #b81218;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 25px 50px rgba(184,18,24,.25);
}

.orbit-node {
  position: absolute;
  width: 155px;
  min-height: 72px;
  padding: 16px;
  border-radius: 22px;
  background: white;
  border: 1px solid #ead1d1;
  color: #102733;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 38px rgba(0,0,0,.07);
}

.n-hospital { left: 70px; top: 70px; }
.n-inserm { right: 70px; top: 70px; }
.n-omics { left: 40px; bottom: 110px; }
.n-int { right: 40px; bottom: 110px; }
.n-cohorts { left: 50%; top: 0; transform: translateX(-50%); }
.n-biobank { left: 50%; bottom: 0; transform: translateX(-50%); }

@media (max-width: 768px) {
  .orbit-network {
    padding: 40px 22px 50px;
  }

  .orbit-network h2 {
    font-size: 36px;
  }

  .orbit-map {
    height: auto;
    display: grid;
    gap: 16px;
  }

  .orbit-ring {
    display: none;
  }

  .orbit-center,
  .orbit-node {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .orbit-center {
    width: 150px;
    height: 150px;
    font-size: 25px;
  }

  .orbit-node {
    width: 240px;
  }
}




@media (max-width: 768px) {
  .news-item,
  .news-content,
  .event-content,
  .article-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .news-item > *,
  .news-content > *,
  .event-content > *,
  .article-content > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .news-item img,
  .news-content img,
  .event-content img,
  .article-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 768px) {
  .news-grid,
  .event-grid,
  .article-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  .platforms-grid,
  .platform-cards,
  .technologies-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding: 0 20px;
  }

  .platform-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
  }

  .platform-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .platform-card h2,
  .platform-card h3,
  .platform-card p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }
}


/* =========================================================
   CORRECTION MOBILE FINALE
   À placer tout à la fin de style.css
   ========================================================= */

@media screen and (max-width: 768px){

  /* Empêche tous les éléments Grid/Flex de dépasser */
  main,
  section,
  .container,
  .container-two-cols,
  .intro-right,
  .news-content,
  .news-featured-content{
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* =========================
     NEWS
     ========================= */

  .news-card,
  .news-card-featured{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .news-img,
  .news-img-featured{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .news-content,
  .news-featured-content{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 20px !important;
  }

  .news-title,
  .news-title-featured,
  .news-date-featured,
  .news-text,
  .news-meta{
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .news-title-featured{
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }

  .news-text{
    font-size: 1rem !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  .news-highlight{
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    margin-bottom: 24px !important;
  }

  /* =========================
     PLATFORMS & TECHNOLOGIES
     ========================= */

  .platforms-grid,
  .platform-grid,
  .platform-cards,
  .technologies-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
    padding: 0 !important;
  }

  .platform-card,
  .technology-card{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .platform-card img,
  .technology-card img{
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  .platform-card h2,
  .platform-card h3,
  .platform-card h4,
  .platform-card p,
  .technology-card h2,
  .technology-card h3,
  .technology-card h4,
  .technology-card p{
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .platform-card h3,
  .technology-card h3{
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }

  /* Titre Platforms & Technologies */
  .platforms-title,
  .technologies-title{
    width: 100% !important;
    max-width: 100% !important;
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

/* =========================================================
   MOBILE — METHODS & TECHNOLOGIES
   ========================================================= */

@media screen and (max-width: 768px){

  .tech-section{
    width: 100%;
    max-width: 100%;
    padding: 3rem 16px !important;
    overflow: hidden;
  }

  .tech-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
    margin: 0 auto !important;
  }

  .tech-card{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .tech-card img,
  .tech-img{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
  }

  .tech-content{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 22px !important;
  }

  .tech-content h3{
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1.8rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .tech-content p{
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}
grid-template-columns: minmax(0, 1fr) !important;

/* =========================================================
   FOOTER DESKTOP — logos à gauche, Stay in touch à droite
   ========================================================= */

@media screen and (min-width: 901px){

  /* Élargir uniquement le conteneur du footer */
  .footer-band > .container{
    width: 100% !important;
    max-width: 1600px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .fb-wrap{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 470px !important;
    gap: 60px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Partie gauche : logos + adresse */
  .fb-left{
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Partie droite */
  .fb-right{
    width: 470px !important;
    max-width: 1800px !important;
    justify-self: end !important;
    margin-left: 0 !important;
  }

  .fb-card{
    display: block !important;
    width: 470px !important;
    max-width: 1800px !important;
    margin: 0 !important;
  }

  .fb-social{
    width: 470px !important;
    justify-content: flex-start !important;
  }
}

/* Footer mobile */
@media screen and (min-width: 901px){

  .footer-band > .container{
    width: 100%;
    max-width: 1600px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .fb-wrap{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 60px;
    align-items: start;
    width: 100%;
  }

  .fb-left{
    min-width: 0;
  }

  .fb-right{
    width: 470px;
    justify-self: end;
  }

  .fb-card{
    width: 100%;
  }

  .fb-social{
    justify-content: flex-start;
  }
}

@media screen and (max-width: 900px){

  .fb-wrap{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fb-right,
  .fb-card{
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================
   FIELD WORK PAGE
   ========================================================== */

.fieldwork-section {
  padding: 85px 0 105px;
  background: #ffffff;
}


/* ==========================================================
   OVERVIEW IMAGE
   ========================================================== */

.fieldwork-figure {
  margin: 0 0 85px;
  overflow: hidden;

  border: 1px solid #ece8e9;
  border-radius: 24px;

  background: #fafafa;

  box-shadow:
    0 16px 50px rgba(45, 20, 26, 0.07);
}

.fieldwork-main-img {
  display: block;

  width: 100%;
  height: auto;

  transition: transform 0.5s ease;
}

.fieldwork-figure:hover .fieldwork-main-img {
  transform: scale(1.015);
}


/* ==========================================================
   SECTION INTRO
   ========================================================== */

.fieldwork-intro {
  max-width: 880px;

  margin: 0 auto 60px;

  text-align: center;
}

.section-eyebrow {
  display: inline-block;

  margin-bottom: 10px;

  color: #971b39;

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fieldwork-intro h2 {
  margin: 0 0 22px;

  font-family: "Playfair Display", serif;

  font-size: clamp(2.4rem, 4vw, 3.7rem);

  line-height: 1.08;

  color: #222;
}

.fieldwork-intro p {
  margin: 0;

  color: #65676c;

  font-size: 1.02rem;

  line-height: 1.85;
}


/* ==========================================================
   PROJECT CARDS
   ========================================================== */

.project-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-bottom: 95px;
}

.project-card {
  position: relative;

  padding: 34px;

  background: #ffffff;

  border: 1px solid #eae7e8;
  border-radius: 20px;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.project-card:hover {
  transform: translateY(-6px);

  border-color: rgba(151, 27, 57, 0.22);

  box-shadow:
    0 20px 45px rgba(54, 25, 32, 0.09);
}

.project-card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 24px;
}

.project-status {
  display: inline-flex;

  align-items: center;

  padding: 6px 11px;

  border-radius: 50px;

  background: #f8ecef;
  color: #971b39;

  font-size: 0.69rem;
  font-weight: 800;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-status.upcoming {
  background: #f5f3ef;

  color: #716651;
}

.project-number {
  color: #d6c9cc;

  font-family: "Playfair Display", serif;

  font-size: 1.2rem;
  font-weight: 700;
}

.project-card h3 {
  margin: 0 0 22px;

  color: #242326;

  font-family: "Playfair Display", serif;

  font-size: 1.55rem;

  line-height: 1.3;
}

.project-card p {
  margin: 0 0 17px;

  color: #67676c;

  font-size: 0.91rem;

  line-height: 1.75;
}

.project-card p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   RESEARCH QUESTIONS
   ========================================================== */

.research-question-box {
  margin: 24px 0;

  padding: 20px 20px 15px;

  border-left: 3px solid #971b39;

  border-radius: 0 12px 12px 0;

  background: #faf5f6;
}

.question-title {
  display: block;

  margin-bottom: 12px;

  color: #971b39;

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-question-box ul {
  margin: 0;

  padding-left: 19px;
}

.research-question-box li {
  margin-bottom: 8px;

  color: #55545a;

  font-size: 0.87rem;

  line-height: 1.6;
}


/* ==========================================================
   RESEARCH STRATEGY
   ========================================================== */

.research-strategy {
  position: relative;

  margin-bottom: 90px;

  padding: 55px;

  overflow: hidden;

  color: #ffffff;

  border-radius: 26px;

  background:
    linear-gradient(
      135deg,
      #671023 0%,
      #8e1834 55%,
      #a32645 100%
    );
}

.research-strategy::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -100px;

  width: 330px;
  height: 330px;

  border-radius: 50%;

  background: rgba(255,255,255,0.045);
}

.strategy-header {
  position: relative;

  z-index: 2;

  max-width: 720px;

  margin-bottom: 40px;
}

.section-eyebrow-light {
  color: #efcbd4;
}

.strategy-header h2 {
  margin: 0 0 15px;

  color: #ffffff;

  font-family: "Playfair Display", serif;

  font-size: clamp(2rem, 4vw, 3rem);

  line-height: 1.15;
}

.strategy-header p {
  margin: 0;

  max-width: 680px;

  color: rgba(255,255,255,0.78);

  font-size: 0.95rem;

  line-height: 1.75;
}

.strategy-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.strategy-step {
  min-height: 210px;

  padding: 23px;

  border: 1px solid rgba(255,255,255,0.14);

  border-radius: 16px;

  background: rgba(255,255,255,0.075);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.strategy-step:hover {
  transform: translateY(-4px);

  background: rgba(255,255,255,0.12);
}

.strategy-number {
  display: block;

  margin-bottom: 27px;

  color: rgba(255,255,255,0.5);

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.strategy-icon {
  margin-bottom: 12px;

  font-size: 1.7rem;
}

.strategy-step strong {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;

  font-size: 0.96rem;
}

.strategy-step > span:last-child {
  display: block;

  color: rgba(255,255,255,0.68);

  font-size: 0.8rem;

  line-height: 1.6;
}


/* ==========================================================
   BOTTOM PANELS
   ========================================================== */

.fieldwork-two-cols {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 26px;
}

.fieldwork-panel {
  padding: 38px;

  border: 1px solid #eae7e8;

  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 10px 35px rgba(40, 18, 24, 0.045);
}

.fieldwork-panel .section-title {
  margin: 0 0 15px;

  color: #242326;

  font-family: "Playfair Display", serif;

  font-size: clamp(1.8rem, 2.6vw, 2.45rem);

  line-height: 1.2;
}

.panel-intro {
  margin: 0 0 27px;

  color: #69686d;

  font-size: 0.92rem;

  line-height: 1.75;
}


/* ==========================================================
   COLLABORATIONS
   ========================================================== */

.collaboration-list {
  display: grid;

  gap: 11px;
}

.collaboration-item {
  display: grid;

  grid-template-columns: 38px 1fr;

  gap: 14px;

  align-items: start;

  padding: 17px;

  border: 1px solid #ededed;

  border-radius: 13px;

  background: #fafafa;

  transition:
    transform 0.23s ease,
    background 0.23s ease,
    border-color 0.23s ease;
}

.collaboration-item:hover {
  transform: translateX(4px);

  border-color: #ead0d6;

  background: #fdf7f8;
}

.collaboration-icon {
  width: 34px;
  height: 34px;

  display: flex;

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

  border-radius: 9px;

  background: #f5e8eb;

  color: #971b39;

  font-size: 0.68rem;
  font-weight: 800;
}

.collaboration-item strong {
  display: block;

  margin-bottom: 3px;

  color: #343337;

  font-size: 0.9rem;
}

.collaboration-item div > span {
  display: block;

  color: #747379;

  font-size: 0.78rem;

  line-height: 1.5;
}


/* ==========================================================
   RESEARCH APPROACHES
   ========================================================== */

.approach-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.approach-card {
  min-height: 174px;

  padding: 20px;

  border: 1px solid #ecebec;

  border-radius: 15px;

  background: #fafafa;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.approach-card:hover {
  transform: translateY(-4px);

  background: #ffffff;

  box-shadow:
    0 12px 26px rgba(44, 20, 27, 0.07);
}

.approach-icon {
  width: 43px;
  height: 43px;

  display: flex;

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

  margin-bottom: 16px;

  border-radius: 11px;

  background: #f5e8eb;

  font-size: 1.25rem;
}

.approach-card strong {
  display: block;

  margin-bottom: 7px;

  color: #37363a;

  font-size: 0.88rem;

  line-height: 1.4;
}

.approach-card span {
  display: block;

  color: #76757a;

  font-size: 0.76rem;

  line-height: 1.55;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {

  .project-grid {
    grid-template-columns: 1fr;
  }

  .strategy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 850px) {

  .fieldwork-section {
    padding: 60px 0 80px;
  }

  .fieldwork-two-cols {
    grid-template-columns: 1fr;
  }

  .fieldwork-figure {
    margin-bottom: 60px;
  }

}


@media (max-width: 600px) {

  .fieldwork-intro {
    text-align: left;
  }

  .project-card {
    padding: 26px 22px;
  }

  .research-strategy {
    padding: 38px 23px;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .fieldwork-panel {
    padding: 28px 22px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

}

/* ==========================================================
   COLLABORATIVE NETWORK
   ========================================================== */

.collab-section {
  padding: 95px 0 110px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbf8f9 100%
    );
}


/* ===== Heading ===== */

.collab-heading {
  max-width: 780px;
  margin: 0 auto 65px;
  text-align: center;
}

.collab-heading h2 {
  margin: 0 0 20px;

  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;

  color: #242124;
}

.collab-heading p {
  margin: 0;

  color: #6d686c;
  font-size: 1rem;
  line-height: 1.8;
}


/* ==========================================================
   NETWORK LAYOUT
   ========================================================== */

.network-layout {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(260px, 0.65fr)
    minmax(0, 1.2fr);

  grid-template-areas:
    "france center europe"
    "france center america";

  gap: 24px;

  align-items: stretch;
}


/* Decorative lines */

.network-layout::before,
.network-layout::after {
  content: "";

  position: absolute;

  top: 50%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #d8c4c9,
      transparent
    );

  z-index: 0;
}

.network-layout::before {
  left: 28%;
  right: 50%;
}

.network-layout::after {
  left: 50%;
  right: 28%;
}


/* ==========================================================
   CENTER
   ========================================================== */

.network-center {
  grid-area: center;

  position: relative;
  z-index: 2;

  min-height: 100%;

  display: flex;
  flex-direction: column;

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

  padding: 45px 25px;

  border-radius: 30px;

  text-align: center;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 30% 20%,
      #a42a47,
      #7b142c 58%,
      #5f0d20 100%
    );

  box-shadow:
    0 22px 55px rgba(93, 14, 35, 0.24);
}

.network-center::before {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  border-radius: 50%;

  border:
    1px solid rgba(255,255,255,0.13);
}

.network-center::after {
  content: "";

  position: absolute;

  width: 185px;
  height: 185px;

  border-radius: 50%;

  border:
    1px solid rgba(255,255,255,0.07);
}

.center-small {
  position: relative;
  z-index: 2;

  margin-bottom: 12px;

  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.15em;
  text-transform: uppercase;

  opacity: 0.7;
}

.network-center strong {
  position: relative;
  z-index: 2;

  font-family: "Playfair Display", serif;
  font-size: 2.7rem;

  line-height: 1;
}

.network-center > span:last-child {
  position: relative;
  z-index: 2;

  margin-top: 8px;

  font-size: 0.9rem;
  letter-spacing: 0.12em;

  opacity: 0.78;
}


/* ==========================================================
   GROUPS
   ========================================================== */

.network-group {
  position: relative;
  z-index: 1;

  padding: 32px;

  border: 1px solid #e9e4e6;
  border-radius: 23px;

  background: rgba(255,255,255,0.94);

  box-shadow:
    0 12px 36px rgba(54, 27, 34, 0.055);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.network-group:hover {
  transform: translateY(-5px);

  border-color: #ddc8ce;

  box-shadow:
    0 20px 45px rgba(54, 27, 34, 0.09);
}


.network-france {
  grid-area: france;
}

.network-europe {
  grid-area: europe;
}

.network-america {
  grid-area: america;
}


/* ==========================================================
   GROUP HEADERS
   ========================================================== */

.network-group-header {
  display: flex;

  gap: 15px;

  align-items: flex-start;

  margin-bottom: 25px;
}

.network-number {
  width: 39px;
  height: 39px;

  flex: 0 0 39px;

  display: flex;

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

  border-radius: 10px;

  background: #f5e8eb;

  color: #961b39;

  font-size: 0.7rem;
  font-weight: 800;
}

.network-region {
  display: block;

  margin-bottom: 2px;

  color: #9b1d3c;

  font-size: 0.66rem;
  font-weight: 800;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.network-group h3 {
  margin: 0;

  color: #2e2a2d;

  font-family: "Playfair Display", serif;
  font-size: 1.55rem;

  line-height: 1.2;
}


/* ==========================================================
   NATIONAL PARTNERS
   ========================================================== */

.network-partners {
  display: grid;
  gap: 9px;
}

.network-partner {
  padding: 15px 17px;

  border-radius: 12px;

  border: 1px solid #eeeeee;

  background: #fafafa;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.network-partner:hover {
  transform: translateX(4px);

  border-color: #ecd7dc;

  background: #fdf7f8;
}

.network-partner strong {
  display: block;

  margin-bottom: 3px;

  color: #373236;

  font-size: 0.86rem;
}

.network-partner span {
  display: block;

  color: #777176;

  font-size: 0.73rem;

  line-height: 1.45;
}


/* ==========================================================
   EUROPE
   ========================================================== */

.network-description {
  margin: 0 0 20px;

  color: #716d70;

  font-size: 0.85rem;

  line-height: 1.7;
}

.network-placeholder {
  padding: 20px;

  border-radius: 14px;

  border: 1px dashed #d9c8cd;

  background: #fcf9fa;
}

.network-placeholder span {
  display: block;

  margin-bottom: 4px;

  color: #5c5357;

  font-weight: 700;
}

.network-placeholder small {
  color: #8a8286;

  font-size: 0.74rem;
}


/* ==========================================================
   COUNTRIES
   ========================================================== */

.country-grid {
  display: grid;
  gap: 11px;
}

.country-card {
  display: flex;

  gap: 13px;

  align-items: center;

  padding: 16px;

  border-radius: 13px;

  border: 1px solid #ededed;

  background: #fafafa;
}

.country-code {
  width: 43px;
  height: 43px;

  display: flex;

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

  flex: 0 0 43px;

  border-radius: 50%;

  background: #8e1835;

  color: #ffffff;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.07em;
}

.country-card strong {
  display: block;

  margin-bottom: 2px;

  color: #393438;

  font-size: 0.85rem;
}

.country-card div span {
  display: block;

  color: #7b7579;

  font-size: 0.73rem;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1000px) {

  .network-layout {
    grid-template-columns: 1fr 1fr;

    grid-template-areas:
      "center center"
      "france europe"
      "france america";
  }

  .network-center {
    min-height: 230px;
  }

  .network-layout::before,
  .network-layout::after {
    display: none;
  }

}


@media (max-width: 700px) {

  .collab-section {
    padding: 70px 0 80px;
  }

  .collab-heading {
    text-align: left;
  }

  .network-layout {
    grid-template-columns: 1fr;

    grid-template-areas:
      "center"
      "france"
      "europe"
      "america";
  }

  .network-group {
    padding: 25px 22px;
  }

}