/* ==========================================================================
   Foncière Active — design system
   Direction : éditorial, chaleureux, architectural. Marine du logo + pierre + laiton.
   Formes : cadres rectangulaires, filets fins, aucun arrondi.
   ========================================================================== */

/* Hind, hébergée localement (WOFF2) : 300 texte et navigation, 400 titres, 700 mises en avant */
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/hind-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/hind-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/hind-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/hind-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/hind-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/hind-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Charte : bleus Finexsi + laiton */
  --navy-950: #161c44;
  --navy-900: #1d2451;       /* bleu principal */
  --navy-800: #242b59;       /* bleu secondaire (boutons, pastilles) */
  --navy-700: #363c63;
  --ocean: #2179b2;          /* bleu océan : survols, focus */
  --periwinkle: #9fb0ff;     /* bleu clair : texte sur fond marine */
  --brass: #b08d57;
  --brass-ink: #7a5c2e;      /* laiton lisible sur fond clair */
  --brass-soft: #d3b27d;     /* laiton lisible sur fond marine */
  --cream: #f4f4f6;
  --paper: #ffffff;
  --stone: #e4e9ff;
  --stone-dark: #cdd5f5;
  --ink: #1d2451;
  --muted: #4b5563;
  --line: rgba(29, 36, 81, .14);
  --line-light: rgba(255, 255, 255, .18);

  /* Une seule famille pour tout le site */
  --font-main: 'Hind', 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .footer :focus-visible, .cta :focus-visible { outline-color: var(--brass-soft); }
::selection { background: var(--navy-800); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.display { font-family: var(--font-main); font-weight: 400; letter-spacing: normal; }
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 400; letter-spacing: normal; text-transform: none; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2rem); line-height: 1.25; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.7rem); line-height: 1.3; }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem); line-height: 1.35; }
em, .it { font-style: normal; font-weight: inherit; color: inherit; }
strong, b { font-weight: 700; }
.lead { font-family: var(--font-main); font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-main);
  font-size: .95rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--brass-ink);
}
.section .eyebrow { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.section--dark .eyebrow { color: var(--brass-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 0; border: 1px solid transparent;
  font-weight: 400; font-size: .95rem; letter-spacing: normal; line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-950); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: var(--cream); color: var(--navy-900); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy-900); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 400; font-size: .95rem;
  padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .35s var(--ease), color .3s;
}
.arrow-link svg { width: 18px; height: 18px; }
.arrow-link:hover { gap: 16px; color: var(--ocean); }
.section--dark .arrow-link:hover { color: var(--brass-soft); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled { background: rgba(244, 244, 246, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --header-h: 72px; height: 72px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: block; flex: none; }
.logo img { height: 54px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .logo img { height: 46px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px;
  font-family: var(--font-main); font-size: 1rem; font-weight: 300; letter-spacing: normal; position: relative; background: none; border: 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: 100%; left: -8px; min-width: 300px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(29,36,81,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease);
}
.nav__item:hover > .nav__drop, .nav__item:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: flex; align-items: center; padding: 13px 14px; border-radius: 0; }
.nav__drop-arrow {
  flex: none; width: 0; overflow: hidden; opacity: 0; margin-right: 0;
  transition: width .3s var(--ease), margin-right .3s var(--ease), opacity .2s var(--ease);
}
.nav__drop-arrow svg { display: block; width: 18px; height: 18px; }
.nav__drop a:hover .nav__drop-arrow, .nav__drop a:focus-visible .nav__drop-arrow { width: 18px; margin-right: 10px; opacity: 1; }
.nav__drop strong { display: block; font-family: var(--font-main); font-size: 1rem; font-weight: 300; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: none; position: relative; z-index: 130; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .header { z-index: 130; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.menu-open .header .logo img { filter: brightness(0) invert(1); }
.menu-open .burger { color: #fff; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--navy-950); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu > ul > li > a { display: block; font-family: var(--font-main); font-weight: 300; font-size: clamp(1.6rem, 6vw, 2rem); padding: 8px 0; line-height: 1.25; }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 2px 0 12px; }
.mobile-menu .sub a { font-size: .95rem; color: var(--periwinkle); }
.mobile-menu__foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .95rem; color: var(--periwinkle); display: grid; gap: 6px; }
.mobile-menu__foot a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 6vw, 88px); position: relative; }
.section--tight { padding-block: clamp(40px, 4.5vw, 64px); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--navy-900); color: #fff; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }

/* ---------- Arches ---------- */
.frame { overflow: hidden; position: relative; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--outline { border: 1px solid currentColor; background: none; }

/* ---------- Hero accueil ---------- */
.hero-photo { position: relative; margin-top: var(--header-h); min-height: clamp(440px, 66vh, 660px); display: flex; flex-direction: column; overflow: hidden; background: #faf6ed; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-photo__scrim { display: none; }
.hero-photo__inner { position: relative; flex: 1; display: grid; place-items: start center; padding: clamp(24px, 3.4vw, 52px) var(--gutter) clamp(24px, 3vw, 40px); }
.hero-photo__card { max-width: 920px; text-align: center; display: grid; gap: clamp(16px, 2vw, 26px); justify-items: center; }
.hero-photo__title {
  margin: 0; font-family: var(--font-main); font-weight: 700; font-size: clamp(2.1rem, 4.8vw, 3.75rem); line-height: 1.2; letter-spacing: -.025em;
  color: var(--navy-900); max-width: 15em; margin-inline: auto; text-wrap: balance;
}
@media (min-width: 901px) { .hero-photo { aspect-ratio: 1600 / 667; min-height: 0; } .hero-photo__title { font-size: clamp(1.9rem, 4vw, 4rem); } .hero-photo__inner { padding-top: clamp(30px, 3.8vw, 64px); } }
.hero-photo__brand { color: var(--brass-ink); }
.hero-photo__sub { margin: 0; max-width: 42rem; font-family: var(--font-main); font-weight: 300; color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; text-shadow: 0 1px 14px rgba(22,28,68,.6); }
.hero-photo__logo { width: clamp(120px, 16vw, 160px); height: auto; filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(0,0,0,.4)); opacity: .95; }

.stats { padding-block: clamp(28px, 3.4vw, 48px); background: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.stat { position: relative; display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); padding: clamp(20px, 2.4vw, 36px); background: var(--navy-900); color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; transition: border-color .3s, background .5s; }
.stat:hover { border-color: rgba(255,255,255,.25); background: var(--navy-800); }
.stat__num { font-family: var(--font-main); font-weight: 700; font-size: clamp(2.2rem, 3.8vw, 3.75rem); line-height: 1; letter-spacing: -.025em; color: #fff; font-variant-numeric: lining-nums; white-space: nowrap; }
.stat__num small { font-size: .6em; letter-spacing: -.025em; margin-left: .08em; color: var(--brass-soft); }
.stat__label { font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; line-height: 1.4; }
.stat__sub { margin-top: 4px; font-size: .75rem; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--periwinkle); line-height: 1.4; }

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.manifesto h2 { font-size: clamp(2.2rem, 4.5vw, 4.1rem); line-height: 1.06; }
.pillars { display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__n { font-family: var(--font-main); font-size: 1.05rem; color: var(--brass-ink); padding-top: 3px; }
.pillar h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: .98rem; line-height: 1.55; }

/* ---------- Activités (liste + aperçu) ---------- */
.act-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.act-card { position: relative; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); padding: clamp(24px, 3vw, 44px); border: 2px solid var(--navy-900); border-radius: 18px; color: var(--navy-900); transition: background .4s, border-color .4s; }
.act-card:hover, .act-card:focus-visible { background: var(--stone); border-color: var(--brass-ink); }
.act-card__go { position: absolute; top: clamp(20px, 2.4vw, 34px); right: clamp(20px, 2.4vw, 34px); width: 26px; height: 26px; color: var(--navy-900); transition: transform .5s var(--ease), color .3s; }
.act-card:hover .act-card__go, .act-card:focus-visible .act-card__go { transform: translate(4px, -4px); color: var(--brass-ink); }
.act-card h3 { margin: 0; padding-right: 44px; font-size: clamp(1.6rem, 2.7vw, 2.45rem); font-weight: 700; line-height: 1.15; letter-spacing: normal; color: var(--navy-900); }
.act-card p { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink); max-width: 36em; }

/* ---------- Rail de réalisations ---------- */
.rail-wrap { position: relative; margin-inline: calc(50% - 50vw); }
.rail { --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) 24px; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 10px; }
.round-btn { width: 54px; height: 54px; border-radius: 0; border: 1px solid var(--ink); background: none; display: grid; place-items: center; transition: background .3s, color .3s; }
.round-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.round-btn:disabled { opacity: .3; cursor: default; }
.round-btn svg { width: 20px; height: 20px; }

.work { position: relative; display: block; text-align: left; background: none; border: 0; padding: 0; }
.work__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.06); }
.work__tag { position: absolute; left: 0; bottom: 0; background: var(--cream); color: var(--ink); font-size: .82rem; font-weight: 400; letter-spacing: normal; padding: 6px 14px; border-radius: 0; white-space: nowrap; }
.work__status { position: absolute; right: 0; top: 0; background: var(--navy-800); color: #fff; font-size: .82rem; font-weight: 400; letter-spacing: normal; padding: 6px 14px; white-space: nowrap; }
.work__meta { padding: 18px 4px 0; }
.work__place { font-size: .92rem; font-weight: 400; letter-spacing: normal; color: var(--brass-ink); }
.work h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); margin-top: 6px; line-height: 1.2; }
.work__desc { color: var(--muted); font-size: .98rem; margin-top: 8px; line-height: 1.5; }
.rail .work { flex: 0 0 clamp(260px, 26vw, 340px); }

/* ---------- Le groupe (teaser) ---------- */
.group { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); row-gap: clamp(10px, 1.2vw, 16px); align-items: start; }
.group__body { display: contents; }
.group .eyebrow { grid-column: 1; justify-self: start; }
.group__lead { grid-column: 1; }
.group__lead { font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 700; line-height: 1.4; letter-spacing: normal; color: #fff; }
.group__links { grid-column: 2; grid-row: 1 / span 2; border-top: 1px solid var(--line-light); }
@media (max-width: 900px) { .group { grid-template-columns: 1fr; } .group__links { grid-column: 1; grid-row: auto; margin-top: 12px; } }
.group__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; color: #fff; transition: padding .4s var(--ease), color .3s; }
.group__link svg { flex: none; width: 22px; height: 22px; color: var(--brass-soft); transition: transform .4s var(--ease); }
.group__link:hover, .group__link:focus-visible { padding-left: 14px; color: var(--brass-soft); }
.group__link:hover svg, .group__link:focus-visible svg { transform: translateX(6px); }

/* ---------- Partout en France ---------- */
.places { display: flex; flex-wrap: wrap; gap: 4px clamp(20px, 2.6vw, 44px); font-family: var(--font-main); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: normal; }
.places li { display: inline-flex; align-items: baseline; }
.places small { font-family: var(--font-main); font-size: .5em; letter-spacing: normal; color: var(--muted); margin-left: .5em; font-weight: 300; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.news-card { display: grid; gap: 18px; align-content: start; }
.news-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card time { font-size: .92rem; font-weight: 400; letter-spacing: normal; color: var(--brass-ink); }
.news-card h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; margin-top: 6px; }
.news-card p { color: var(--muted); font-size: .98rem; line-height: 1.55; margin-top: 8px; }
.news-card .arrow-link { justify-self: start; margin-top: 4px; }
.news-list { display: grid; gap: 0; }
.news-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 40px; gap: clamp(20px, 4vw, 56px); align-items: center; padding: 32px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row:hover { padding-left: 12px; }
.news-row .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row time { font-size: .92rem; font-weight: 400; letter-spacing: normal; color: var(--brass-ink); }
.news-row h3 { margin-top: 6px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.news-row p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.news-row svg { width: 26px; height: 26px; justify-self: end; transition: transform .4s var(--ease); }
.news-row:hover svg { transform: translate(4px, -4px); }

/* ---------- Bandeau CTA ---------- */
.cta { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 40px; align-items: center; padding-block: clamp(64px, 9vw, 120px); position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.cta p { margin-top: 18px; color: var(--periwinkle); max-width: 52ch; }
.cta__actions { display: grid; gap: 12px; justify-items: stretch; }
.cta__deco { position: absolute; right: 6%; bottom: -1px; width: clamp(200px, 26vw, 380px); aspect-ratio: 3/4; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.cta__deco::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #fff; padding-top: clamp(32px, 4vw, 48px); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px clamp(28px, 4vw, 64px); padding-bottom: 28px; }
.footer .logo img { display: block; height: 56px; filter: brightness(0) invert(1); opacity: .95; }
.footer__tag { margin-top: 16px; color: var(--periwinkle); font-size: .85rem; max-width: 32ch; line-height: 1.55; }
.footer__contact { text-align: right; }
.footer h4 { font-family: var(--font-main); font-size: 1.1rem; letter-spacing: normal; text-transform: none; color: var(--brass-soft); font-weight: 400; margin: 0 0 12px; line-height: 1; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--periwinkle); transition: color .25s; }
.footer a:hover { color: var(--brass-soft); }
.footer address { font-style: normal; line-height: 1.6; font-size: .85rem; color: var(--periwinkle); }
.footer__bottom { border-top: 1px solid var(--line-light); padding-block: 16px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .85rem; color: var(--periwinkle); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__bottom li { margin: 0; }

/* ---------- Pages internes ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(16px, 2vw, 28px)); padding-bottom: clamp(48px, 6vw, 90px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.page-hero h1 { margin-top: 0; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero .lead { margin-top: 26px; }
.page-hero__deco { justify-self: end; width: min(320px, 100%); aspect-ratio: 3/4; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(244,244,246,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.header.is-scrolled ~ main .subnav { top: 72px; }
.subnav ul { display: flex; gap: clamp(16px, 4vw, 48px); overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 0; font-size: .95rem; font-weight: 300; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s; }
.subnav a:hover, .subnav a.is-active { color: var(--navy-800); border-color: var(--navy-800); }

/* Groupe */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story__logo img { display: block; width: 100%; max-width: 400px; height: auto; margin-inline: auto; }
[data-page="groupe"] h2, [data-page="home"] h2, [data-page="contact"] h1 { font-weight: 700; }
.story__head { display: grid; gap: 12px; margin-bottom: 20px; }
.prose { display: grid; gap: 1.3em; max-width: 60ch; color: var(--muted); }
.prose p { font-size: 1.25rem; color: var(--ink); line-height: 1.55; }
.prose strong { color: var(--ink); font-weight: 700; }
.timeline { margin-top: 56px; border-left: 1px solid var(--brass); padding-left: 32px; display: grid; gap: 40px; max-width: 60ch; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 10px; width: 11px; height: 11px; border-radius: 0; background: var(--cream); border: 1px solid var(--brass); }
.section--paper .timeline li::before { background: var(--paper); }
.timeline h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.bigquote { font-family: var(--font-main); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: normal; max-width: 24ch; }

.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.triple > div { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(20px, 2.4vw, 32px); background: var(--navy-950); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; transition: border-color .5s; }
.triple > div::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: rgba(211,178,125,0); transition: background .5s; pointer-events: none; }
.triple > div:hover { border-color: rgba(255,255,255,.25); }
.triple > div:hover::before { background: rgba(211,178,125,.05); }
.triple__art { width: clamp(128px, 14vw, 208px); aspect-ratio: 1; margin-bottom: clamp(16px, 1.8vw, 24px); }
.triple__art svg { display: block; width: 100%; height: 100%; }
.triple h3, .triple p { align-self: stretch; }
.triple .n { font-family: var(--font-main); color: var(--brass-soft); }
.triple h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.7rem); font-weight: 700; line-height: 1.3; }
.triple p { color: var(--periwinkle); font-size: 1.25rem; line-height: 1.55; }


.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.member__media { position: relative; overflow: hidden; }
.member__ph { aspect-ratio: 1 / 1; background: transparent; border: 1px solid var(--line); border-bottom: 0; display: grid; place-items: center; color: var(--navy-800); font-family: var(--font-main); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: normal; position: relative; overflow: hidden; transition: background .5s; }
.member__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.member:hover .member__ph img { transform: scale(1.03); }
.member__ph:has(img) { border: 0; }
.member__ph:has(img)::after { display: none; }
.member__ph::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); }
.member:hover .member__ph { background: var(--stone); }
.member__info { padding: 12px 0 10px; display: flex; flex-direction: column; gap: 4px; background: transparent; color: var(--navy-900); }
.member { container-type: inline-size; }
.member h3 { font-size: clamp(.6rem, 5.9cqw, .95rem); font-weight: 700; text-transform: uppercase; line-height: 1.3; letter-spacing: normal; color: var(--navy-900); white-space: nowrap; }
.member h3 span:first-child::after { content: " "; }
.member__role { font-size: clamp(.7rem, 6.5cqw, .95rem); font-weight: 400; line-height: 1.3; color: var(--navy-900); white-space: nowrap; }

/* Activités */
main > .section:has(> .activity) { padding-block: clamp(44px, 5.5vw, 80px); }
.activity { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.activity > div { display: contents; }
.activity h2 { margin: 0; padding-right: clamp(24px, 3vw, 48px); font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.activity .prose { margin: 0; max-width: none; padding: 10px 0 0 clamp(24px, 3vw, 48px); border-left: 1px solid var(--navy-900); gap: 1.1em; }
.activity .prose p { font-size: 1.1rem; line-height: 1.55; }
@media (max-width: 900px) { .activity { grid-template-columns: 1fr; } .activity .prose { margin-top: 16px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--navy-900); } }
.ticks { display: grid; gap: 12px; margin-bottom: 34px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .98rem; }
.ticks svg { width: 20px; height: 20px; color: var(--brass-ink); margin-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .9rem; font-weight: 400; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; background: rgba(255,255,255,.4); transition: background .25s, border-color .25s; }
a.tag:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.activity-sep { height: 1px; background: var(--line); }

/* Réalisations */
.filters-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 16px; }
.filters-row:last-of-type { margin-bottom: clamp(32px, 4vw, 56px); }
.filters-label { flex: 0 0 auto; font-size: .92rem; font-weight: 400; color: var(--brass-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { padding: 5px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 400; font-size: .92rem; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chip small { opacity: .6; margin-left: 6px; font-weight: 300; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 56px) clamp(20px, 2.6vw, 40px); }
.works .work.is-hidden { display: none; }
.works .work:nth-child(3n+2) { margin-top: clamp(0px, 4vw, 64px); }
.works.is-filtered .work:nth-child(n) { margin-top: 0; }
.works .work { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

dialog.modal { border: 0; padding: 0; background: var(--paper); color: var(--ink); width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 40px 120px -20px rgba(22,28,68,.6); }
dialog.modal::backdrop { background: rgba(22,28,68,.72); backdrop-filter: blur(4px); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__img { background: var(--stone); min-height: 320px; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.modal__body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.modal__body p { color: var(--muted); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 0; border: 0; background: var(--cream); display: grid; place-items: center; z-index: 2; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }
.modal__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: .95rem; padding-top: 18px; border-top: 1px solid var(--line); }
.modal__dl dt { color: var(--muted); }
.modal__dl dd { margin: 0; font-weight: 400; }

/* Contact — mise en page centrée, une seule colonne (inspirée de Maison Kyka) */
.contact-hero .container { max-width: 680px; text-align: center; }
.page-hero h1 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2rem); }
.contact-hero .crumbs { justify-content: center; }
.contact-hero .lead { margin-inline: auto; font-size: 1rem; color: var(--ink); }
.contact-lines { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(16px, 2.4vw, 32px); }
.contact-hero__divider { border-top: 1px solid var(--line); width: min(360px, 60%); margin: 24px auto 0; }
.contact-lines a { font-weight: 300; font-size: 1rem; letter-spacing: normal; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.contact-lines a:hover { color: var(--ocean); border-color: currentColor; }

.contact-form { max-width: 460px; margin-inline: auto; display: grid; gap: 12px; }
.contact-form > div:has(button) { text-align: center; margin-top: 4px; }
.contact-form .btn { padding: 11px 20px; font-size: .85rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--font-main); font-size: .92rem; font-weight: 400; letter-spacing: normal; color: var(--brass-ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .88rem; padding: 8px 11px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); width: 100%; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(33,121,178,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3382c; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .8rem; color: var(--ink); line-height: 1.45; text-align: left; }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--navy-800); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: .88rem; padding: 11px 14px; background: #e6f0e4; color: #24491f; display: none; text-align: left; }
.form__status.is-on { display: block; }
.hp { position: absolute; left: -9999px; }

/* Pages légales */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.7rem; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--ocean); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: #f8e9c8; color: #6a4a08; padding: 1px 6px; border-radius: 2px; font-size: .92em; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .works .work:nth-child(3n+2) { margin-top: 0; }
  .works .work:nth-child(even) { margin-top: 48px; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .manifesto, .story, .contact, .cta__inner, .page-hero__grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(440px, 66vh, 640px); }
  .page-hero__deco { display: none; }
  .news-grid, .team { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card:last-child { display: none; }
  .triple { grid-template-columns: 1fr; }

  .cta__deco { display: none; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__img { min-height: 240px; aspect-ratio: 16/10; }
  .section-head--split { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .news-row { grid-template-columns: 120px 1fr; }
  .news-row svg { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .news-grid, .works, .team, .form__row { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
  .news-grid .news-card:last-child { display: grid; }
  .works .work:nth-child(n) { margin-top: 0; }
  .team { max-width: 340px; }  .news-row { grid-template-columns: 1fr; gap: 16px; }
  .news-row .thumb { aspect-ratio: 16/10; }
  .act-cards { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(380px, 62vh, 520px); }
  .rail .work { flex-basis: 78%; }
  .logo img { height: 46px; }
}
