/* =========================================================
   IPHS — Apparence Emergent (palette claire, fonts Outfit + Figtree)
   La structure des classes est inchangée — seules les variables
   et quelques composants sont reskinnés.
   ========================================================= */

:root {
  /* Encres & papier — fond clair, presque blanc */
  --ink:       #0F172A;   /* slate-900  — texte principal */
  --ink-soft:  #334155;   /* slate-700  — texte secondaire */
  --ink-mute:  #64748B;   /* slate-500  — texte tertiaire */
  --paper:     #FFFFFF;   /* fond principal */
  --paper-2:   #F8FAFC;   /* fond alt léger */
  --paper-3:   #F1F5F9;   /* fond alt 2 */
  --line:      #E2E8F0;   /* slate-200  — séparateurs */
  --white:     #FFFFFF;

  /* Bleu Emergent — sky-600 (#0284C7) */
  --blue:      #0284C7;
  --blue-dk:   #0369A1;   /* sky-700 — variante foncée */
  --blue-lt:   #E0F2FE;   /* sky-100 — fond clair */

  /* Accent (anciennement ocre) — on garde un accent chaud doux pour les italiques */
  --ocre:      #F59E0B;   /* amber-500 */
  --ocre-lt:   #FEF3C7;   /* amber-100 */
  --brick:     #B45309;   /* amber-700 */

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  /* Typographie Emergent : Outfit pour les titres/headings, Figtree pour le corps */
  --serif: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans:  "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.02em; text-transform: uppercase; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }

/* =========================================================
   TOP STRIP — bandeau ville/langue
   ========================================================= */
.topstrip {
  background: var(--blue-dk);
  color: #e9ebf3;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topstrip .row {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px;
}
.topstrip a { opacity: .85; }
.topstrip a:hover { opacity: 1; }
.topstrip .dot { opacity: .4; margin: 0 10px; }
.topstrip .links { display: flex; align-items: center; gap: 6px; }
.topstrip .ville { font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .7; }
.topstrip-socials { display: flex; align-items: center; gap: 4px; }
.topstrip .tsoc {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  transition: background 0.2s;
}
.topstrip .tsoc:hover { background: rgba(255,255,255,0.25); opacity: 1; }

/* =========================================================
   HEADER — logo + nav
   ========================================================= */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; }
.brand .tt {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--blue-dk);
}
.brand .tt em {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-style: normal;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s ease;
  position: relative;
}
.nav a:hover { background: var(--paper-2); }
.nav a.active { background: var(--blue); color: #fff; }

.nav-cta {
  margin-left: 10px;
  padding: 10px 18px !important;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 999px !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--blue-dk) !important; }
.nav-cta .arr { font-family: var(--serif); font-size: 18px; line-height: 1; }

.mburger { display: none; }



/* =========================================================
   NAV DROPDOWN — sous-menus déroulants
   ========================================================= */
.nav-drop {
  position: relative;
}
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease;
  white-space: nowrap;
}
.nav-drop-btn:hover { background: var(--paper-2); }
.nav-drop.active .nav-drop-btn { background: var(--paper-2); }
.drop-arr {
  font-size: 10px;
  opacity: 0.5;
  transition: transform 0.2s;
}
.nav-drop.active .drop-arr { transform: rotate(180deg); }

.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(13,31,77,0.12);
  z-index: 200;
  overflow: hidden;
  padding: 6px;
}
.nav-drop.active .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 6px;
  transition: background .12s;
  white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--paper-2); color: var(--blue); }
.nav-drop-menu a.active { background: var(--blue-lt); color: var(--blue); }

/* Mobile — dropdowns intégrés dans le menu burger */
@media (max-width: 1080px) {
  .nav-drop { width: 100%; }
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
  }
  .nav-drop-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: var(--paper-2);
    border-left: 2px solid var(--blue);
    margin: 0 0 4px 16px;
    padding: 4px 0;
  }
  .nav-drop-menu a {
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 0;
  }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
}
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--blue-dk);
  margin: 0 0 28px;
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .mburger {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: 14px;
  }
  .mburger .bars { display: inline-flex; flex-direction: column; gap: 3px; }
  .mburger .bars span { display: block; width: 16px; height: 2px; background: #fff; }
}

/* =========================================================
   MARQUEE (annonce inscriptions)
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.marquee .track {
  display: flex;
  gap: 48px;
  padding: 11px 0;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee .star { color: var(--ocre); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   HERO — éditorial
   ========================================================= */
.hero {
  padding: 70px 0 40px;
  position: relative;
}
.hero .eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--blue);
  margin-bottom: 32px;
}
.hero .eyebrow .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; }
.hero .eyebrow .rule { flex: 1; height: 1px; background: var(--line); max-width: 140px; }
.hero .eyebrow .date { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.15em; }

.hero h1.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--blue-dk);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1.title em {
  font-style: italic;
  color: var(--ocre);
}
.hero .lede {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 36px;
}
.hero .meta {
  display: flex; flex-wrap: wrap; gap: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.hero .meta .item .k { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; margin-bottom: 3px; }
.hero .meta .item .v { font-family: var(--serif); font-size: 22px; color: var(--ink); }

.hero-photo {
  margin: 0 -32px;
  padding: 0 32px;
}
.hero-photo .frame {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  background: var(--paper-3);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .caption {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* =========================================================
   Button
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .1s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn .arr { font-family: var(--serif); font-style: italic; }

/* =========================================================
   Section headings
   ========================================================= */
.sect { padding: 96px 0; }
.sect-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.sect-head .num { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.15em; }
.sect-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--blue-dk);
  margin: 6px 0 0;
  text-wrap: balance;
}
.sect-head .right {
  max-width: 360px;
  color: var(--ink-soft);
  font-size: 15px;
  padding-bottom: 8px;
}

/* =========================================================
   Intro block / about on home
   ========================================================= */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.intro .left .tag {
  font-family: var(--mono); font-size: 12px; color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.intro .left h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-dk);
  margin: 0;
}
.intro .right p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.intro .right p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--blue);
  font-weight: 400;
}

/* =========================================================
   Orientations / Cards
   ========================================================= */
.orient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.orient-card {
  background: var(--paper);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; min-height: 520px;
  transition: background .2s;
}
.orient-card:hover { background: var(--white); }
.orient-card .num {
  font-family: var(--mono); font-size: 12px; color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}
.orient-card .photo {
  aspect-ratio: 4/3;
  margin-bottom: 28px;
  overflow: hidden;
  background: var(--paper-3);
}
.orient-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.orient-card:hover .photo img { transform: scale(1.03); }
.orient-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-dk);
  margin: 0 0 14px;
}
.orient-card p {
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.5;
  margin: 0 0 24px;
  flex: 1;
}
.orient-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.orient-card .tag {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 10px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-mute);
}
.orient-card .more {
  font-family: var(--mono); font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 8px;
}
.orient-card .more .arr { font-family: var(--serif); font-style: italic; font-size: 16px; }

/* =========================================================
   Numbers / Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.stats .cell {
  padding: 44px 28px;
  border-right: 1px solid var(--line);
}
.stats .cell:last-child { border-right: 0; }
.stats .n {
  font-family: var(--serif);
  font-size: 68px; line-height: 0.9;
  color: var(--blue-dk);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stats .l {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
}

/* =========================================================
   Implantations / Two sites
   ========================================================= */
.sites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.site-card { }
.site-card .photo {
  aspect-ratio: 16/10;
  background: var(--paper-3);
  overflow: hidden;
  margin-bottom: 22px;
}
.site-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.site-card .label {
  font-family: var(--mono); font-size: 11.5px; color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.site-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 40px; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-dk);
  margin: 0 0 14px;
}
.site-card .addr { color: var(--ink-soft); margin: 0 0 18px; }
.site-card .facts {
  display: flex; flex-wrap: wrap; gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-mute); letter-spacing: 0.08em;
}
.site-card .facts b { color: var(--ink); font-weight: 500; }

/* =========================================================
   News block
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.news-card {
  background: var(--paper);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 400px;
}
.news-card.hero-news {
  background: var(--blue-dk);
  color: var(--paper);
}
.news-card .date {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.news-card.hero-news .date { color: #a9b3d4; }
.news-card .kind {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.news-card.hero-news .kind { color: var(--ocre); }
.news-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  flex: 1;
}
.news-card.hero-news h3 { font-size: 40px; letter-spacing: -0.02em; }
.news-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }
.news-card.hero-news p { color: #c9cfe3; font-size: 15.5px; }
.news-card .more {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--blue);
}
.news-card.hero-news .more { color: var(--ocre); }

/* =========================================================
   Quick links row
   ========================================================= */
.qlinks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.qlink {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  transition: background .2s;
  display: block;
}
.qlink:last-child { border-right: 0; }
.qlink:hover { background: var(--paper-2); }
.qlink .ic {
  font-family: var(--serif); font-size: 36px;
  color: var(--blue);
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}
.qlink .t {
  font-family: var(--serif); font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.qlink .s {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: var(--blue-dk);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(200,131,58,0.15), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(27,58,138,0.3), transparent 50%);
  pointer-events: none;
}
.cta-banner .inner { position: relative; }
.cta-banner .eyebrow { font-family: var(--mono); font-size: 12px; color: var(--ocre); letter-spacing: 0.15em; margin-bottom: 18px; }
.cta-banner h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 920px;
  text-wrap: balance;
}
.cta-banner h2 em { color: var(--ocre); font-style: italic; }
.cta-banner .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.cta-banner .btn-primary { background: var(--ocre); color: var(--ink); }
.cta-banner .btn-primary:hover { background: #daa05a; }
.cta-banner .btn-ghost { border-color: var(--paper); color: var(--paper); }
.cta-banner .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: #b9bcc7;
  padding: 80px 0 40px;
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2d37;
}
.footer .brand-f { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.footer .brand-f img { height: 48px; background: var(--paper); padding: 8px 12px; border-radius: 4px; }
.footer .brand-f .tt { font-family: var(--serif); font-size: 20px; color: var(--paper); letter-spacing: -0.01em; line-height: 1.05; }
.footer p.lead { color: #8d92a0; font-size: 14.5px; margin: 0 0 24px; max-width: 340px; }
.footer h5 {
  font-family: var(--mono); font-size: 11.5px; color: var(--paper);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a:hover { color: var(--paper); }
.footer .socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .sb {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid #2a2d37;
  display: inline-flex; align-items: center; justify-content: center;
  color: #b9bcc7;
  transition: background .15s, color .15s, border-color .15s;
}
.footer .sb svg { display: block; }
.footer .sb:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono); font-size: 11px;
  color: #676a76; letter-spacing: 0.08em;
}
.footer .eu { display: flex; align-items: center; gap: 14px; }
.footer .eu img { height: 34px; }

/* =========================================================
   PAGE interior layouts
   ========================================================= */
.page-head {
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.12em; margin-bottom: 28px; }
.page-head h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--blue-dk);
  margin: 0;
  text-wrap: balance;
}
.page-head .sub {
  margin-top: 28px;
  max-width: 640px;
  font-size: 19px;
  color: var(--ink-soft);
}

/* Content blocks */
.rt { max-width: 760px; }
.rt h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 36px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--blue-dk);
  margin: 56px 0 18px;
}
.rt h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; letter-spacing: -0.01em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.rt p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 18px; }
.rt ul { padding-left: 22px; color: var(--ink-soft); }
.rt ul li { margin-bottom: 8px; }
.rt a { text-decoration: underline; color: var(--blue); }

/* Two-col for inside */
.two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.two-col .side {
  position: sticky; top: 120px; align-self: start;
}
.two-col .side .num { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.15em; margin-bottom: 12px; }
.two-col .side h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 48px; line-height: 0.95;
  letter-spacing: -0.025em; color: var(--blue-dk);
  margin: 0;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card .ph {
  aspect-ratio: 3/4;
  background: var(--paper-3);
  margin-bottom: 14px;
  overflow: hidden;
}
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1); }
.team-card .role { font-family: var(--mono); font-size: 11px; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 4px; }
.team-card .name { font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: -0.01em; }
.team-card .email { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* Form / contact */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.form .full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  font-size: 15px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0; border-color: var(--blue); background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }

/* Documents list */
.docs {
  border-top: 1px solid var(--line);
}
.doc-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .15s, background .15s;
  cursor: pointer;
}
.doc-row:hover { background: var(--paper-2); padding-left: 16px; padding-right: 16px; }
.doc-row .idx { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.12em; }
.doc-row .tt { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.doc-row .tt span { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-mute); letter-spacing: 0; margin-top: 4px; }
.doc-row .fmt { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; }
.doc-row .dl { font-family: var(--mono); font-size: 11px; color: var(--blue); letter-spacing: 0.1em; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.gallery .g { overflow: hidden; background: var(--paper-3); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .g1 { grid-column: span 7; aspect-ratio: 16/10; }
.gallery .g2 { grid-column: span 5; aspect-ratio: 16/10; }
.gallery .g3 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g4 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g5 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g6 { grid-column: span 6; aspect-ratio: 16/10; }
.gallery .g7 { grid-column: span 6; aspect-ratio: 16/10; }

/* Map placeholder */
.map {
  aspect-ratio: 21/9;
  background:
    linear-gradient(135deg, #e7dec9 0%, #d9cfb9 100%);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.map::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(60,60,60,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(60,60,60,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
}
.map-pin .p {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--blue); border: 3px solid var(--paper);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
}
.map-pin .p::after {
  content: "";
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--blue);
}
.map-pin .lbl {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 2px;
  margin-top: 10px;
  white-space: nowrap;
  text-align: center;
}

/* Job card */
.job-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .15s, background .15s;
}
.job-card:hover { border-color: var(--ink); background: var(--white); }
.job-card .ic {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--blue-lt);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--blue);
  margin-bottom: 20px;
}
.job-card h3 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.job-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.job-card .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; display: flex; gap: 12px; }

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

/* tablette */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.open {
    display: flex !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    box-shadow: 0 12px 28px rgba(13,31,77,0.08);
    z-index: 50;
  }
  .nav.open a {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
  }
  .nav.open .nav-cta { margin-top: 8px; align-self: flex-start; }
  .mburger {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: 14px; cursor: pointer; border: 0;
  }
  .mburger .bars { display: inline-flex; flex-direction: column; gap: 3px; }
  .mburger .bars span { display: block; width: 16px; height: 2px; background: #fff; }
  .header { position: relative; }
}

/* tablette / petit desktop */
@media (max-width: 960px) {
  .topstrip { font-size: 11px; }
  .topstrip .ville { display: none; }
  .topstrip .row { height: 32px; }

  .header .row { height: 72px; }
  .brand img { height: 42px; }
  .brand .tt { font-size: 17px; }
  .brand .tt em { font-size: 10px; }

  .marquee .track { gap: 26px; padding-right: 26px; }
  .marquee span { font-size: 12px; }

  .hero { padding: 56px 0 0; }
  .hero h1.title { font-size: clamp(44px, 9vw, 72px); }
  .hero .lede { font-size: 17px; }
  .hero .meta { gap: 24px; padding: 16px 0; }
  .hero .meta .item .v { font-size: 19px; }
  .hero-photo .frame { aspect-ratio: 16/10; }
  .hero-photo { margin: 0 -18px; padding: 0 18px; }

  .intro { grid-template-columns: 1fr; gap: 32px; }
  .intro h2 { font-size: clamp(32px, 6vw, 48px); }
  .orient-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .cell { padding: 28px 20px; }
  .stats .cell:nth-child(2) { border-right: 0; }
  .stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats .n { font-size: 52px; }
  .sites { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .qlinks { grid-template-columns: 1fr 1fr; }
  .qlink { padding: 28px 20px; }
  .qlink:nth-child(2n) { border-right: 0; }
  .qlink:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col .side { position: static; }
  .footer { padding: 56px 0 28px; }
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .footer .bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 40px 1fr auto; gap: 16px; padding: 22px 0; }
  .doc-row .fmt { display: none; }
  .doc-row .idx { font-size: 11px; }

  .cta-banner { padding: 64px 0; }
  .cta-banner h2 { font-size: clamp(36px, 7vw, 56px); }

  .page-head { padding: 80px 0 56px; }
  .page-head h1 { font-size: clamp(40px, 9vw, 72px); }
  .page-head .sub { font-size: 17px; }

  .sect { padding: 64px 0; }
  .sect-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sect-head h2 { font-size: clamp(32px, 6.5vw, 52px); }
}

/* mobile */
@media (max-width: 640px) {

  /* ---- BASE ---- */
  .wrap, .wrap-narrow { padding: 0 16px; }

  /* ---- TOPSTRIP ---- */
  .topstrip .row { flex-direction: row; }
  .topstrip .links a:not(:first-child) { display: none; }
  .topstrip .dot { display: none; }
  .topstrip-socials { display: flex !important; }
  .topstrip-socials .tsoc { display: flex !important; }

  /* ---- HEADER ---- */
  .header .row { height: 64px; }
  .brand img { height: 36px; }
  .brand .tt { font-size: 14px; }
  .brand .tt em { display: none; }

  /* ---- MARQUEE ---- */
  .marquee { padding: 10px 0; }
  .marquee .track { animation-duration: 28s; gap: 20px; padding-right: 20px; }
  .marquee span { font-size: 11px; }
  .marquee .star { margin-right: 8px; }

  /* ---- BOUTONS ---- */
  .btn { padding: 12px 18px; font-size: 13px; }
  .btn-primary, .btn-dark { padding: 14px 22px; }

  /* ---- SECTIONS GÉNÉRIQUES ---- */
  .sect { padding: 48px 0; }
  .sect-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sect-head h2 { font-size: clamp(28px, 7vw, 42px); }
  .sect-head .right { font-size: 15px; }
  .page-head { padding: 48px 0 36px; }
  .page-head h1 { font-size: clamp(36px, 9vw, 56px); }
  .page-head .sub { font-size: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col .side { position: static; }
  .two-col .side h2 { font-size: clamp(28px, 7vw, 40px); }

  /* ---- HOME HERO (version éditoriale A) ---- */
  .hero { padding: 40px 0 0; }
  .hero h1.title { font-size: clamp(36px, 10vw, 52px); }
  .hero .lede { font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
  .hero .meta { gap: 16px; flex-direction: column; align-items: flex-start; }
  .hero .meta .item { width: 100%; }
  .hero-photo .frame { aspect-ratio: 4/5; }
  .hero-photo .caption { flex-direction: column; gap: 4px; align-items: flex-start; }

  /* ---- HOME HERO B (slideshow) ---- */
  .hero-dot { font-size: 9.5px !important; padding: 5px 9px !important; }

  /* ---- STATS ---- */
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .cell { padding: 20px 12px; }
  .stats .n { font-size: 40px; }
  .stats .l { font-size: 11px; }

  /* ---- ORIENTATIONS (home) ---- */
  .orient-grid { grid-template-columns: 1fr; gap: 2px; }

  /* ---- ACCÈS RAPIDES ---- */
  .qlinks { grid-template-columns: 1fr 1fr; }
  .qlink { padding: 20px 14px; }

  /* ---- CTA BANNER ---- */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: clamp(28px, 7vw, 44px); }
  .cta-banner .row { flex-direction: column; gap: 12px; }
  .cta-banner .btn { width: 100%; text-align: center; justify-content: center; }

  /* ---- GALERIE (page À propos) ---- */
  .gallery > .g { grid-column: span 12 !important; }

  /* ---- GRILLES INLINE → 1 colonne ---- */
  /* Utilisées partout via style="display:grid; grid-template-columns:..." */
  /* On cible les grilles les plus problématiques via leur contexte */

  /* Formations : tableau des sections */
  .sect div[style*="overflow-x:auto"] { font-size: 13px; }

  /* Formations : 3 cartes § A B C */
  .sect div[style*="grid-template-columns:1fr 1fr 1fr"],
  .sect div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Formations : 2 colonnes génériques */
  .sect div[style*="grid-template-columns:1fr 1fr"],
  .sect div[style*="grid-template-columns: 1fr 1fr"],
  .sect div[style*="grid-template-columns:1.5fr 1fr"],
  .sect div[style*="grid-template-columns:1fr 2fr"],
  .sect div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Implantations : cartes Stevens / Mutsaert */
  .sites { grid-template-columns: 1fr; gap: 24px; }

  /* Implantations : cartes maps côte à côte */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:32px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Inscriptions : cartes Mutsaert / Stevens */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:2px"] {
    grid-template-columns: 1fr !important;
  }

  /* Projets : grille Amarrage+ */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:0"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact : éducateurs par degré */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:24px"] {
    grid-template-columns: 1fr !important;
  }
  .sect div[style*="grid-template-columns:1fr 1fr 1fr"][style*="gap:16px"] {
    grid-template-columns: 1fr !important;
  }
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:16px"] {
    grid-template-columns: 1fr !important;
  }

  /* Fiches métiers : 1fr 2fr */
  .sect div[style*="grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ---- CONTACT PAGE ---- */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-title { font-size: 26px; }
  #contactForm input,
  #contactForm select,
  #contactForm textarea { font-size: 16px; }
  #contactForm > div:first-child { gap: 10px; }

  /* ---- DOCUMENTS ---- */
  .doc-row { grid-template-columns: 1fr auto; gap: 14px; padding: 18px 0; }
  .doc-row .idx { display: none; }
  .doc-row .fmt { display: none; }

  /* ---- FOOTER ---- */
  .footer .grid { grid-template-columns: 1fr; gap: 32px; }
  .footer h5 { margin-top: 0; }

  /* ---- TEAM ---- */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ---- TABLEAUX ---- */
  table { font-size: 13px; }
  th, td { padding: 10px 12px !important; }
}

/* très petit écran */
@media (max-width: 380px) {
  .brand .tt { font-size: 13px; max-width: 130px; }
  .qlinks { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* very small */
@media (max-width: 380px) {
  .brand .tt { font-size: 13px; max-width: 140px; }
  .nav-cta, .mburger { padding: 8px 12px; font-size: 13px; }
}

/* =========================================================
   EMERGENT OVERRIDES
   Ajustements de fin pour adapter le design éditorial (serif italique,
   fond beige) à l'esthétique Emergent (sans-serif moderne, fond blanc,
   bleu vif). On ne touche pas la structure des classes.
   ========================================================= */

/* 1) Outfit n'a pas d'italique élégant comme Caslon — on transforme
      les <em> dans les titres en accent coloré (couleur ocre/amber)
      au lieu d'italique. */
.hero h1.title em,
.sect-head h2 em,
h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--ocre);
  font-weight: 600;
}

/* 2) Pour les flèches « arr » (qui utilisaient l'italique serif),
      on garde un style propre en sans avec fonctionnement classique. */
.btn .arr,
.nav-cta .arr,
.orient-card .more .arr,
.news-card .more .arr {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

/* 3) Titres : Outfit pour structure, poids 500 pour éviter l'effet
      « léger éditorial » (qui suppose un serif). */
.hero h1.title,
.sect-head h2,
.intro .left h3,
.orient-card h3,
.site-card h3,
.news-card h3,
.page-head h1,
.page-head h2,
.team-card h4,
.stats .n {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* Hero : un peu plus contenu, plus moderne */
.hero h1.title { font-weight: 600; letter-spacing: -0.04em; }

/* 4) Drop-cap intro : plus discret en sans */
.intro .right p:first-child::first-letter {
  font-weight: 600;
  font-size: 3.6em;
  padding: 8px 14px 0 0;
}

/* 5) Body en Figtree, légèrement plus aéré */
body { font-size: 16px; line-height: 1.6; }

/* 6) Cartes orient/news/site : ombres douces et angles arrondis,
      remplacer le « grille séparée par des lignes » par des cartes
      Emergent autonomes. */
.orient-grid,
.news-grid {
  background: transparent;
  border: 0;
  gap: 24px;
}
.orient-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 28px 36px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.orient-card:hover,
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(2, 132, 199, 0.18);
  border-color: rgba(2, 132, 199, 0.3);
}
.orient-card .photo,
.news-card .photo {
  border-radius: var(--radius-m);
}

/* News hero — bleu Emergent vif au lieu du bleu nuit */
.news-card.hero-news {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #fff;
  border: 0;
}
.news-card.hero-news .date { color: rgba(255,255,255,0.7); }
.news-card.hero-news .kind { color: #FDE68A; }
.news-card.hero-news p { color: rgba(255,255,255,0.9); }

/* 7) Stats — plus claires, moins « grille papier » */
.stats {
  background: var(--paper-2);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stats .n {
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--blue);
  font-size: 64px;
}

/* 8) Boutons — cylindre moderne, ombre Emergent */
.btn-primary {
  background: var(--blue);
  box-shadow: 0 4px 14px -4px rgba(2, 132, 199, 0.4);
}
.btn-primary:hover { background: var(--blue-dk); }
.btn-dark {
  background: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.3);
}

/* 9) Header & marquee — un poil moins « papier vintage » */
.header { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); }
.marquee {
  background: var(--ink);
  color: #fff;
}
.marquee .star { color: var(--ocre); }

/* 10) Drop-shadow doux et radius cohérents pour images */
.hero-photo .frame,
.site-card .photo {
  border-radius: var(--radius-l);
}

/* 11) Nav active : pill bleu vif au lieu de bleu nuit */
.nav a.active { background: var(--blue); color: #fff; }
.nav a:hover { background: var(--blue-lt); color: var(--blue-dk); }

/* 12) Top strip — bleu Emergent foncé */
.topstrip { background: var(--ink); }

/* 13) Eyebrow / labels mono : couleur bleu Emergent au lieu de bleu nuit */
.hero .eyebrow,
.sect-head .num,
.orient-card .num,
.intro .left .tag,
.site-card .label,
.news-card .kind,
.orient-card .more {
  color: var(--blue);
}

/* 14) Footer ne perd pas son ancrage — tester en bas de page */
.footer { background: var(--ink); color: #cbd5e1; }
.footer a:hover { color: #fff; }

/* 15) CTA banner — un dégradé Emergent */
.cta-banner {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
}

/* 16) News-grid — uniformiser les 3 cartes : image 16/10 en haut,
       contenu en dessous, hauteur identique */
.news-grid {
  align-items: stretch;
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
}
.news-card > div:first-child {
  flex-shrink: 0;
}
.news-card > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card.hero-news h3 {
  font-size: 28px;
  letter-spacing: -0.015em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* =========================================================
   MOBILE FIXES SUPPLÉMENTAIRES — inline grids spécifiques
   ========================================================= */
@media (max-width: 640px) {

  /* Bannière homeB inscriptions (background ink, flex) */
  section[style*="background:var(--ink)"] .wrap {
    flex-direction: column;
    gap: 16px;
  }
  section[style*="background:var(--ink)"] .wrap div {
    font-size: 18px !important;
  }

  /* News grid en colonne sur mobile */
  .news-grid {
    grid-template-columns: 1fr !important;
  }
  .news-card.hero-news h3 { font-size: 26px; }

  /* Projets : Amarrage+ deux colonnes internes */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:0"] > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  /* Formations : section TTI image+texte */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="gap:48px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Inscriptions : boîtes info 1fr 1fr */
  .sect div[style*="margin-top:24px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact : éducateurs 2 colonnes */
  .sect div[style*="grid-template-columns:1fr 1fr"][style*="margin-bottom:32px"] {
    grid-template-columns: 1fr !important;
  }

  /* Mentions légales */
  .ml-wrap { padding: 40px 16px 64px; }
  .ml-wrap h1 { font-size: 40px; }

  /* Tables : scroll horizontal */
  div[style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }
  table { min-width: 480px; }
}

/* =========================================================
   OFFICE 365 PAGE — cartes applications
   ========================================================= */
.office-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.office-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(2,132,199,0.1);
}
.office-ic { font-size: 28px; }
.office-name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.office-desc { font-size: 12.5px; color: var(--ink-mute); line-height: 1.4; }
.office-link {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  margin-top: auto;
}

@media (max-width: 960px) {
  .office-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
  div[style*="repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .office-card { padding: 16px 14px; }
  .office-ic { font-size: 22px; }
  .office-name { font-size: 14px; }
}


/* =========================================================
   TIMELINE — page Histoire
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding-bottom: 48px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -29px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
}
.tl-dot--major {
  background: var(--ocre);
  border-color: var(--ocre);
  width: 16px; height: 16px;
  left: -30px; top: 5px;
}
.tl-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.tl-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 10px;
}
.tl-body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .timeline { padding-left: 24px; }
  .tl-title { font-size: 19px; }
  .tl-body p { font-size: 14px; }
}

/* =========================================================
   FICHES MÉTIERS — classes réutilisables
   ========================================================= */
.fiche-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 64px;
}
.fiche-sep {
  border-top: 1px solid var(--line);
  margin-bottom: 64px;
}
.fiche-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.1;
}
.fiche-debouches {
  padding: 16px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.fiche-intro {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.fiche-comp {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.fiche-arr {
  color: var(--ocre);
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .fiche-block { grid-template-columns: 1fr; gap: 24px; }
  .fiche-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .fiche-block { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
  .fiche-sep { margin-bottom: 40px; }
  .fiche-intro { font-size: 17px; }
}
