/* =========================================================
   Col.or — Landing page
   Thème bleu (charte de la présentation).
   Orange = accent ponctuel uniquement.
   ========================================================= */

/* ---------- Polices ----------
   Titres : DIN Condensed — Texte : Tw Cen MT.
   Ordre : police installée sur le poste (local) → fichier web dans assets/fonts (à ajouter
   une fois la licence webfont acquise) → équivalent Google Fonts (Barlow Condensed / Jost). */
@font-face {
  font-family: "CF Title";
  src: local("DIN Condensed Bold"), local("DINCondensed-Bold"), local("DIN Condensed"),
       url("../assets/fonts/DINCondensed-Bold.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "CF Body";
  src: local("Tw Cen MT"), local("TwCenMT-Regular"),
       url("../assets/fonts/TwCenMT.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "CF Body";
  src: local("Tw Cen MT Bold"), local("TwCenMT-Bold"),
       url("../assets/fonts/TwCenMT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --blue: #065EB8;
  --blue-deep: #04498F;
  --orange: #EB8B2D;
  --white: #FFFFFF;

  --f-title: "CF Title", "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "CF Body", "Jost", "Century Gothic", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 6.5vw, 6rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --top: var(--header-h);
}
[data-theme="blue"]  { --ink: var(--blue); }

/* ---------- Palettes ----------
   Chaque section est .s-dark (bleu) ou .s-light (blanc) ; .c-dark / .c-light surchargent le ton. */
.s-dark, .site-header.is-solid, .lightbox, .c-dark {
  --bg: var(--blue); --fg: var(--white); --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.28); --card-bg: rgba(255,255,255,.08); --card-fg: var(--white);
  --accent: var(--orange);
}
.s-light, .c-light {
  --bg: var(--white); --fg: var(--blue); --muted: #3D6A9C;
  --line: rgba(6,94,184,.2); --card-bg: var(--blue); --card-fg: var(--white);
  --accent: var(--orange);
}

.c-dark.s-light {
  --bg: var(--blue); --fg: var(--white); --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.28); --card-bg: rgba(255,255,255,.08); --card-fg: var(--white);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top); }
body {
  font-family: var(--f-body);
  font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  line-height: 1.6;
  color: var(--white);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.s-dark, .s-light { background: var(--bg); color: var(--fg); transition: background-color .5s var(--ease), color .5s var(--ease); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section-y) 0; }

h1, h2, h3, .eyebrow, .nav, .figure strong, .card-type, .num, dt, .tabs button, .axis, figcaption {
  font-family: var(--f-title);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.02;
}
h2 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 5rem); letter-spacing: .01em; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 18ch; }
h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); letter-spacing: .03em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .95rem; letter-spacing: .22em; color: var(--accent); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); }
.lead { font-size: 1.2em; }
p + p { margin-top: 1em; }

/* Noir : typographie plus aérée, plus « couture » */

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0 var(--pad);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header.is-solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; font-size: 1.02rem; letter-spacing: .12em; }
.nav a { text-decoration: none; position: relative; padding: .3rem 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; padding: .45rem 1rem !important; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--white); color: var(--blue); }


.lang-switch { display: flex; gap: .15rem; font-family: var(--f-title); font-weight: 600; font-size: .95rem; letter-spacing: .14em; }
.lang-switch a { text-decoration: none; padding: .35rem .5rem; opacity: .55; position: relative; transition: opacity .3s; }
.lang-switch a:hover { opacity: .9; }
.lang-switch a[aria-current="page"] { opacity: 1; }
.lang-switch a[aria-current="page"]::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .1rem; height: 2px; background: var(--orange); }
.lang-switch a + a::before { content: ""; position: absolute; left: -.1rem; top: 30%; bottom: 30%; width: 1px; background: rgba(255,255,255,.4); }
.i18n-pending main, .i18n-pending .site-header { opacity: 0; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { bottom: 15px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--top) + 2rem) var(--pad) 6rem;
  position: relative; overflow: hidden;
}
.hero-logo { width: min(340px, 60vw); aspect-ratio: 1 / 1; position: relative; overflow: hidden; margin-bottom: 1.5rem; }
/* Vidéo 16:9 (logo blanc sur noir) : recadrée sur le logo, le noir disparaît grâce au mode "screen" */
.hero-video {
  position: absolute; top: 50%; left: 50%;
  width: 260%; max-width: none; height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
.hero-logo-fallback { display: none; width: 62%; margin: 8% auto 0; }
.no-video .hero-video { display: none; }
.no-video .hero-logo-fallback { display: block; }
.hero-title {
  font-size: clamp(1.7rem, 4.1vw, 4.6rem);
  letter-spacing: .01em;
  max-width: none;
}
.hero-title em { font-style: normal; color: var(--orange); }
.hero-sub { margin-top: 1.8rem; color: var(--muted); letter-spacing: .06em; font-size: 1.05em; }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--orange); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- What we do (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.split-media { position: relative; min-height: 520px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: var(--section-y) var(--pad); max-width: 680px; }
.services li { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services h3 { margin-bottom: .5rem; }
.services p { color: var(--muted); }

/* ---------- Compass ---------- */
.compass-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.compass {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto auto;
  align-items: center; justify-items: center; gap: .9rem;
}
.compass-disc { grid-column: 2; grid-row: 2; width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 50%; background: var(--blue); display: grid; place-items: center; overflow: hidden; }
.compass-disc img { width: 92%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.axis { font-size: .95rem; letter-spacing: .2em; color: var(--accent); white-space: nowrap; }
.axis-top { grid-column: 1 / -1; grid-row: 1; }
.axis-bottom { grid-column: 1 / -1; grid-row: 3; }
.axis-left { grid-column: 1; grid-row: 2; writing-mode: vertical-rl; transform: rotate(180deg); }
.axis-right { grid-column: 3; grid-row: 2; writing-mode: vertical-rl; }
/* Légende de l'acronyme RECI */
.reci-intro { color: var(--muted); margin-bottom: 1.6rem; font-size: 1.1em; }
.reci dl { display: grid; gap: 0; }
.reci dl > div { display: flex; align-items: baseline; gap: 1.4rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.reci dl > div:last-child { border-bottom: 1px solid var(--line); }
.reci dt { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); line-height: 1; color: var(--accent); width: 1.2em; }
.reci dd { font-family: var(--f-title); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); }
/* Principes de design (section à part) */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.principles h3 { margin-bottom: .5rem; }
.principles p { color: var(--muted); }
.dimensions { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.8rem, 3vw, 2.8rem); background: var(--card-bg); color: var(--card-fg); }
.dimensions-title { margin-bottom: 1.5rem; color: var(--accent); }
.dimensions ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: d; }
.dimensions li { display: flex; flex-direction: column; gap: .4rem; }
.dimensions li strong { font-family: var(--f-title); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .04em; font-weight: 600; }
.dimensions li strong::before { counter-increment: d; content: "0" counter(d) "  "; opacity: .5; }

/* ---------- Team ---------- */
.team-intro { margin-bottom: clamp(3rem, 6vw, 5rem); }
.beliefs { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.beliefs > div { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.beliefs dt { font-size: 1.25rem; letter-spacing: .1em; color: var(--accent); margin-bottom: .6rem; }
.beliefs dd { color: var(--muted); font-size: .92rem; }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .6s var(--ease); }
.member:hover img { filter: grayscale(0); transform: scale(1.02); }
.member h3 { font-size: 1.15rem; margin-top: .9rem; letter-spacing: .05em; }
.member p { color: var(--muted); font-size: .9rem; line-height: 1.35; margin-top: .25rem; }

/* ---------- Clients ---------- */
.clients { border-top: 1px solid var(--line); }
.clients .eyebrow { margin-bottom: 3rem; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-wall img { max-height: 46px; max-width: 78%; width: auto; object-fit: contain; opacity: .88; transition: opacity .3s, transform .4s var(--ease); }
.logo-wall li:hover img { opacity: 1; transform: scale(1.06); }
.and-more { margin-top: 1.5rem; text-align: right; font-family: var(--f-title); text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }

/* ---------- Projects ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.tabs button { padding: .9rem 1.2rem; font-size: 1.15rem; letter-spacing: .1em; color: var(--muted); position: relative; }
.tabs button[aria-selected="true"] { color: var(--fg); }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.panel[hidden] { display: none; }
.panel.is-in .card { animation: cardIn .6s var(--ease) both; }
.panel.is-in .card-tile:nth-of-type(2) { animation-delay: .07s; }
.panel.is-in .card-tile:nth-of-type(3) { animation-delay: .14s; }
.panel.is-in .card-tile:nth-of-type(4) { animation-delay: .21s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.card {
  background: var(--card-bg); color: var(--card-fg);
  padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: .8rem;
  font-size: .92rem; line-height: 1.5;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card-logo { height: 34px; width: auto; max-width: 70%; object-fit: contain; object-position: left; margin-bottom: .6rem; }
.card-type { font-size: .85rem; letter-spacing: .18em; color: var(--orange); }
.card h3 { font-size: 1.55rem; min-height: 2.1em; }
.card dl { display: grid; gap: .2rem; }
.card dt { font-size: .82rem; letter-spacing: .14em; opacity: .65; margin-top: .6rem; }
.card dd { opacity: .95; }
.card blockquote, .card-stat { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.22); font-style: italic; }
.card cite { display: block; font-style: normal; font-size: .82rem; opacity: .75; margin-top: .4rem; }
.card-stat { font-style: normal; }
.card-stat strong { display: block; font-family: var(--f-title); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.card-stat small { display: block; opacity: .7; margin-top: .3rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 18vw, 260px); grid-auto-flow: dense;
  gap: 6px; padding: 0 6px;
}
.gallery figure { overflow: hidden; cursor: zoom-in; position: relative; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Film immersif ----------
   La section est plus haute que l'écran : pendant le défilement, la scène reste collée en haut
   et la vidéo s'agrandit (--p de 0 à 1, calculé dans main.js) jusqu'à remplir l'écran. */
.film { --p: 0; position: relative; height: 230svh; }
.film-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film-frame {
  position: absolute; left: 50%; top: 50%;
  width: calc(58vw + 42vw * var(--p)); height: calc(58svh + 42svh * var(--p));
  transform: translate(-50%, -50%);
  border-radius: calc(28px * (1 - var(--p)));
  overflow: hidden; background: #021f3d;
  box-shadow: 0 40px 120px rgba(0, 0, 0, calc(.45 * (1 - var(--p))));
}
.film-video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - .12 * var(--p))); }
.film-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 85%, transparent) 0%, transparent 55%),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 60%);
  opacity: calc(.35 + .65 * var(--p));
}
.film-caption {
  position: absolute; left: var(--pad); bottom: clamp(2rem, 9vh, 5.5rem); max-width: 600px;
  opacity: clamp(0, calc((var(--p) - .25) * 2.5), 1);
  transform: translateY(calc(40px * (1 - var(--p))));
}
.film .film-caption h2 { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 6rem); margin-bottom: .9rem; max-width: none; }
.film-text { max-width: 46ch; color: var(--muted); }
.film-actions { display: flex; gap: .7rem; margin-top: 1.6rem; }
.film-btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 35%, transparent); backdrop-filter: blur(10px);
  font-family: var(--f-title); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.film-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.film-full { padding: 0; width: 48px; justify-content: center; font-size: 1.25rem; letter-spacing: 0; }
/* Icône haut-parleur : barres animées quand le son est actif */
.film-ico { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.film-ico::before, .film-ico::after { content: ""; width: 3px; height: 40%; background: currentColor; border-radius: 2px; }
.film-ico::after { height: 100%; }
.film.has-sound .film-ico::before { animation: filmEq .9s ease-in-out infinite alternate; }
.film.has-sound .film-ico::after { animation: filmEq .7s ease-in-out infinite alternate-reverse; }
@keyframes filmEq { from { height: 25%; } to { height: 100%; } }
.film .when-sound, .film.has-sound .when-muted { display: none; }
.film.has-sound .when-sound { display: inline; }

@media (max-width: 860px) {
  .film { height: 190svh; }
  .film-frame { width: calc(86vw + 14vw * var(--p)); height: calc(42svh + 58svh * var(--p)); }
  .film-caption { right: var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  .film { --p: 1 !important; height: auto; }
  .film-stage { position: relative; height: 100svh; }
}

/* ---------- Graphic facilitation ---------- */
.graphic { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.graphic-text { position: sticky; top: calc(var(--top) + 2rem); }
.graphic-text p { color: var(--muted); }
.graphic-text .lead { color: var(--fg); }
.graphic-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.graphic-media figure:last-child { grid-column: 1 / -1; }
.graphic-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.graphic-media figure:last-child img { aspect-ratio: auto; }
figcaption { margin-top: .6rem; font-size: .95rem; letter-spacing: .16em; color: var(--accent); }

/* ---------- Leads ---------- */
.lead-profile { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.lead-profile:first-of-type { border-top: 0; padding-top: 1rem; }
.lead-profile.reverse { grid-template-columns: 7fr 4fr; }
.lead-profile.reverse .lead-photo { order: 2; }
.lead-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.tags { margin-top: 1.4rem; display: grid; gap: .5rem; font-size: .95rem; color: var(--muted); }
.tags li::first-letter { color: var(--orange); }
.lead-body h2 { margin-bottom: .6rem; max-width: none; }
.role { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 1.6rem; }
.lead-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; margin-top: 2.2rem; }
.lead-cols h3 { font-size: 1.2rem; letter-spacing: .14em; margin-bottom: .6rem; }
.lead-cols p, .lead-cols li { color: var(--muted); font-size: .96rem; }
.lead-cols li { padding-left: 1rem; position: relative; }
.lead-cols li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: var(--orange); }

/* ---------- Feedback carousel ---------- */
.feedback-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.carousel-nav { display: flex; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.carousel-nav button { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: background-color .3s, color .3s, border-color .3s; }
.carousel-nav button:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82vw); gap: 1.4rem;
  --edge: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 0 var(--edge) 1rem;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; background: var(--card-bg); color: var(--card-fg); padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.quote p { font-size: .95rem; line-height: 1.6; }
.quote p::before { content: "“"; display: block; font-family: var(--f-title); font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: .6rem; }
.quote footer { margin-top: auto; font-size: .88rem; opacity: .8; }
.quote footer strong { display: block; font-family: var(--f-title); text-transform: uppercase; letter-spacing: .1em; font-size: 1.1rem; opacity: 1; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-logo { width: 72px; margin-bottom: 1.6rem; }
.contact h2 { margin: 0 auto 1.6rem; max-width: none; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.contact-mail { font-size: clamp(1rem, .9rem + .5vw, 1.3rem); text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: .2rem; transition: color .3s; word-break: break-all; }
.contact-mail:hover { color: var(--orange); }

.site-footer { padding: 2rem var(--pad); text-align: center; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; object-fit: contain; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; font-size: 2.6rem; color: var(--white); line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
  .nav { position: fixed; inset: var(--top) 0 auto 0; flex-direction: column; gap: 0; padding: 1rem var(--pad) 2rem; background: var(--blue); transform: translateY(-120%); transition: transform .45s var(--ease); font-size: 1.5rem; }
  .nav.is-open { transform: none; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-cta { border: 0; padding: .8rem 0 !important; }
  .lang-switch { margin-left: auto; }
  .burger { display: block; }
  .panel { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .dimensions ol { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 320px; }
  .compass-grid { grid-template-columns: 1fr; }
  .compass { max-width: 360px; width: 100%; margin: 0 auto; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .graphic { grid-template-columns: 1fr; }
  .graphic-text { position: static; }
  .lead-profile, .lead-profile.reverse { grid-template-columns: 1fr; }
  .lead-profile.reverse .lead-photo { order: 0; }
  .lead-photo img { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .principles, .lead-cols { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-wall li { padding: .8rem; }
  .card h3 { min-height: 0; }
  .feedback-head { flex-direction: column; align-items: flex-start; }
}

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

/* ---------- Mentions légales ---------- */
.legal-open { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-open:hover { color: var(--accent); }
.legal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 4vw; background: rgba(0,0,0,.72); }
.legal[hidden] { display: none; }
.legal-box { position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto; padding: clamp(1.6rem, 4vw, 3rem); background: #fff; color: #111; border-top: 3px solid var(--orange, #EB8B2D); text-align: left; }
.legal-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 2rem 1.2rem 0; }
.legal-box h3 { font-size: 1.05rem; letter-spacing: .08em; margin: 1.4rem 0 .4rem; }
.legal-box p { font-size: .95rem; line-height: 1.6; color: #333; }
.legal-box a { color: inherit; }
.legal-close { position: absolute; top: .6rem; right: 1rem; font-size: 2.2rem; line-height: 1; color: inherit; }

/* Galaxy of talents : 5 colonnes sur grand écran, empilées sur petit écran */
@media (max-width: 860px) { .beliefs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .beliefs { grid-template-columns: 1fr; } }
/* Titre du hero : 3 lignes (une par segment) dès que la largeur le permet */
@media (min-width: 601px) { .hero-title { white-space: nowrap; } }
@media (max-width: 600px) { .hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); } }
