/* =====================================================================
   FRAMEON AGENCY — Feuille de style principale
   Direction artistique : Éditorial lumineux (ivoire chaud) × Studio cinéma
   ===================================================================== */

@view-transition { navigation: auto; }

:root {
  --bg: #111216;
  --bg-2: #16181f;
  --surface: rgb(255 255 255 / 0.055);
  --surface-solid: #1b1d25;
  --surface-2: #222530;
  --line: rgb(255 255 255 / 0.11);
  --line-strong: rgb(255 255 255 / 0.22);
  --text: #f6f4ef;
  --muted: #b0ada6;
  --accent: #ff4d2e;
  --accent-2: #ff8a3d;
  --accent-soft: rgb(255 77 46 / 0.14);
  --light: #f6f3ec;
  --light-2: #ede8dd;
  --dark-text: #141519;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(68px, 9.5vw, 144px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 104px;
}

@media (max-width: 900px) {
  html { scroll-padding-top: 140px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -5%, rgb(255 77 46 / 0.16), transparent 65%),
    radial-gradient(900px 550px at 10% 18%, rgb(255 154 77 / 0.09), transparent 65%),
    radial-gradient(1000px 650px at 50% 60%, rgb(92 107 192 / 0.08), transparent 70%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; }

em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden:not(:focus-within, :active) {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Barre de progression de lecture (Scroll-driven CSS) ---------- */

#scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-scroll-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    #scroll-progress {
      animation: grow-scroll-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Rythme des sections (Alternance Clair Ivoire / Studio Cinéma) ---------- */

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: clip;
}
.section--tight {
  position: relative;
  padding-block: clamp(48px, 6.5vw, 96px);
  overflow: clip;
}

/* Section claire éditoriale (ivoire chaud, lumineuse et aérée) */
.section--light {
  background-color: var(--light);
  background-image:
    radial-gradient(900px 480px at 90% 8%, rgb(255 77 46 / 0.09), transparent 70%),
    radial-gradient(750px 420px at 8% 92%, rgb(255 154 77 / 0.1), transparent 70%),
    linear-gradient(to right, rgb(20 21 25 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 21 25 / 0.035) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  color: var(--dark-text);
  --text: #141519;
  --muted: #57554f;
  --line: rgb(20 21 25 / 0.1);
  --line-strong: rgb(20 21 25 / 0.2);
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-2: #efeae0;
  --accent-soft: rgb(255 77 46 / 0.11);
  color-scheme: light;
}

/* Section studio (sombre mais lumineuse avec halos chauds et grille) */
.section--alt {
  background-color: var(--bg-2);
  background-image:
    radial-gradient(850px 500px at 12% 15%, rgb(255 77 46 / 0.15), transparent 68%),
    radial-gradient(800px 500px at 88% 82%, rgb(255 138 61 / 0.11), transparent 70%),
    linear-gradient(to right, rgb(255 255 255 / 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.028) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

/* Illustrations & halos décoratifs en arrière-plan */
.bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}
.orb--warm {
  width: clamp(260px, 34vw, 480px);
  height: clamp(260px, 34vw, 480px);
  background: radial-gradient(circle, rgb(255 77 46 / 0.45), transparent 70%);
}
.orb--amber {
  width: clamp(240px, 30vw, 420px);
  height: clamp(240px, 30vw, 420px);
  background: radial-gradient(circle, rgb(255 160 64 / 0.38), transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
  .orb { animation: floatOrb 14s ease-in-out infinite alternate; }
  .orb--amber { animation-duration: 18s; animation-direction: alternate-reverse; }
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, -24px, 0) scale(1.1); }
}

/* ---------- Illustration interactive du Manifeste (Studio Storyboard) ---------- */

.manifesto-layout {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 980px) {
  .manifesto-layout {
    grid-template-columns: 1fr 1.18fr;
  }
}

.studio-illustration {
  position: relative;
  border-radius: var(--radius);
  background: #14161d;
  color: #f6f4ef;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgb(20 21 25 / 0.14);
  box-shadow: 0 28px 60px -18px rgb(20 21 25 / 0.24);
  overflow: hidden;
}

.studio-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.studio-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 260px at 85% 15%, rgb(255 77 46 / 0.24), transparent 70%),
    radial-gradient(350px 240px at 15% 90%, rgb(255 154 77 / 0.16), transparent 70%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-wave {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: wavePulse 2.2s ease-in-out infinite alternate;
  }
  .dash-flow {
    stroke-dasharray: 6 6;
    animation: dashMove 10s linear infinite;
  }
  .track-glow {
    animation: trackGlow 3s ease-in-out infinite alternate;
  }
  .playhead-sweep {
    transform-box: fill-box;
    transform-origin: center;
    animation: playheadSweep 4.8s ease-in-out infinite alternate;
  }
}

@keyframes wavePulse {
  from { transform: scaleY(0.45); opacity: 0.65; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes dashMove {
  to { stroke-dashoffset: -120; }
}
@keyframes trackGlow {
  from { opacity: 0.88; }
  to { opacity: 1; filter: drop-shadow(0 0 8px rgb(255 77 46 / 0.45)); }
}
@keyframes playheadSweep {
  from { transform: translateX(0); }
  to { transform: translateX(130px); }
}

/* ---------- Typographie fluide (max <= 2.5x min pour WCAG 1.4.4) ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--light .eyebrow {
  color: #46443f;
}

.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(255 77 46 / 0.6);
  flex: none;
}

@media (prefers-reduced-motion: no-preference) {
  .rec-dot { animation: rec 1.8s infinite; }
}

@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgb(255 77 46 / 0.55); }
  70% { box-shadow: 0 0 0 10px rgb(255 77 46 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(255 77 46 / 0); }
}

.display {
  font-size: clamp(2.15rem, 1.25rem + 4.1vw, 5.2rem);
  line-height: 1;
}

.h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.8rem);
}

.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.35rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.55;
}

.accent { color: var(--accent); }
.muted { color: var(--muted); }

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 64px; }
}

/* ---------- Boutons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgb(255 77 46 / 0.45);
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--back:hover svg { transform: translateX(-4px); }
.btn:hover { background: #ff6246; transform: translateY(-1px); }

.btn--ghost {
  --btn-bg: rgb(255 255 255 / 0.06);
  --btn-fg: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.btn--back {
  --btn-bg: rgb(22 24 30 / 0.82);
  --btn-fg: #f6f4ef;
  border-color: rgb(255 255 255 / 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--back:hover {
  background: #f6f4ef;
  color: #141519;
  border-color: #f6f4ef;
}

.section--light .btn--ghost,
.section--light .btn--back {
  --btn-bg: rgb(20 21 25 / 0.05);
  --btn-fg: var(--dark-text);
  border-color: rgb(20 21 25 / 0.22);
}
.section--light .btn--ghost:hover,
.section--light .btn--back:hover {
  background: var(--dark-text);
  color: var(--light);
  border-color: var(--dark-text);
}

.btn--small { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (max-width: 520px) {
  .hero .btn-row .btn,
  .cta-band .btn-row .btn {
    flex: 1 1 100%;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f6f4ef;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 9px;
  border: 2px solid currentColor;
}
.logo-mark::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.logo-mark::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.logo-mark .rec-dot { width: 8px; height: 8px; }

.logo small {
  display: block;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #b0ada6;
  margin-top: 4px;
}

/* ---------- Header & boutons de navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgb(17 18 22 / 0.76);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgb(17 18 22 / 0.92);
  border-color: rgb(255 255 255 / 0.2);
  box-shadow: 0 10px 32px rgb(0 0 0 / 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding-block: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.18);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgb(246 244 239 / 0.9);
  background: transparent;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.main-nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.22);
}

.main-nav a[aria-current="page"] {
  background: #f6f3ec;
  color: #141519;
  border-color: #f6f3ec;
  font-weight: 700;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.28);
}

.main-nav a[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.06);
  color: #f6f4ef;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 10px;
    min-height: 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }

  .main-nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    padding: 4px;
  }

  .main-nav li {
    flex: 1 1 auto;
    display: flex;
  }

  .main-nav a {
    width: 100%;
    min-height: 36px;
    padding: 6px 11px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .menu-toggle { display: block; }
}

@media (max-width: 480px) {
  .header-cta .btn {
    min-height: 38px;
    padding: 7px 13px;
    font-size: 0.8rem;
  }
  .header-cta .btn svg { display: none; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111216;
  color: #f6f4ef;
  overflow-y: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px var(--gutter) 36px;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.mobile-menu nav ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 36px;
}

.mobile-menu nav a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.8rem, 1.2rem + 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding: 6px 0;
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu nav a[aria-current="page"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 10px;
  color: #b0ada6;
}

.close-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: transparent;
  color: #f6f4ef;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu {
    opacity: 0;
    transition: opacity 0.35s var(--ease), overlay 0.35s, display 0.35s;
    transition-behavior: allow-discrete;
  }
  .mobile-menu:is(:popover-open, .\:popover-open) { opacity: 1; }
  @starting-style {
    .mobile-menu:is(:popover-open, .\:popover-open) { opacity: 0; }
  }
}

/* ---------- Hero vidéo ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 450px at 85% 20%, rgb(255 77 46 / 0.22), transparent 65%),
    linear-gradient(180deg, rgb(14 15 19 / 0.58) 0%, rgb(14 15 19 / 0.08) 32%, rgb(14 15 19 / 0.28) 58%, rgb(17 18 22 / 0.92) 100%),
    linear-gradient(90deg, rgb(14 15 19 / 0.62) 0%, rgb(14 15 19 / 0) 65%);
}

.hero-content {
  padding-top: 136px;
  padding-bottom: clamp(40px, 7dvh, 92px);
  width: 100%;
}

@media (max-width: 960px) {
  .hero-content { padding-top: 156px; }
}

.hero h1 { max-width: 15ch; margin-top: 18px; }
.hero h1 em { color: var(--text); }

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.hero-bottom .lead { color: rgb(246 244 239 / 0.88); max-width: 48ch; }

.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(17 18 22 / 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f6f4ef;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.video-toggle svg { width: 18px; height: 18px; }

/* Coins de cadre décoratifs (motif FrameOn) */
.frame-corners {
  position: absolute;
  inset: clamp(96px, 12dvh, 120px) var(--gutter) clamp(24px, 4dvh, 40px);
  pointer-events: none;
  z-index: -1;
}
.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: clamp(40px, 6vw, 90px);
  height: clamp(28px, 4vw, 56px);
  border: 2px solid rgb(255 255 255 / 0.78);
}
.frame-corners::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame-corners::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }

@media (max-width: 760px) {
  .frame-corners { display: none; }
}

/* ---------- Bandeau défilant (Corail chaud & dynamique) ---------- */

.marquee {
  border-block: 1px solid rgb(255 255 255 / 0.14);
  overflow: hidden;
  padding-block: 18px;
  background: linear-gradient(90deg, #ff4d2e, #ff6b3d, #ff4d2e);
  color: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-size: clamp(1.1rem, 0.95rem + 0.85vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  font-size: 0.85em;
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 34s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Manifeste & Piliers ---------- */

.manifesto-text {
  font-size: clamp(1.5rem, 1rem + 2.1vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 24ch;
  text-wrap: balance;
}
.manifesto-text .dim { color: var(--muted); }

.pillars {
  display: grid;
  gap: 18px;
  margin-top: clamp(44px, 5.5vw, 76px);
}

@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 38px);
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: 0 14px 36px -16px rgb(20 21 25 / 0.08);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px -18px rgb(255 77 46 / 0.18);
}

.pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillar-illus {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.pillar-illus svg { width: 26px; height: 26px; }

.pillar-num {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- Services / zones de génie (avec aperçu visuel + halo curseur) ---------- */

.services-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.5vw, 34px);
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx, 85%) var(--my, 15%), rgb(255 77 46 / 0.16), transparent 65%),
    linear-gradient(165deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.14);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgb(255 77 46 / 0.55);
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.55);
}

.service-media {
  position: relative;
  height: 148px;
  margin: calc(clamp(22px, 2.5vw, 34px) * -1);
  margin-bottom: 4px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transition: transform 0.9s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.07);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(22 24 31 / 0.1) 0%, rgb(22 24 31 / 0.92) 100%);
}

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -36px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgb(255 77 46 / 0.6);
  flex: none;
}
.section--light .service-icon,
.contact-card .service-icon {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: none;
}
.service-icon svg { width: 25px; height: 25px; }

.service-num {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(17 18 22 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.16);
  font-size: 0.78rem;
  color: #f6f4ef;
  font-weight: 600;
}

.service-card p { color: var(--muted); font-size: 0.96rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}
.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line-strong);
  font-size: 0.79rem;
  font-weight: 500;
}

.strengthens {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.strengthens-title {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
  font-weight: 600;
}
.strengthens ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.strengthens li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.94rem;
}
.strengthens li::before {
  content: "↑";
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Étapes de la méthode (aperçu illustré) ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 640px) and (max-width: 959px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.step {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 30px);
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  box-shadow: 0 14px 34px -18px rgb(20 21 25 / 0.1);
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px -18px rgb(255 77 46 / 0.2);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.step-illus {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.step-illus svg { width: 24px; height: 24px; }

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
}
.step p { color: var(--muted); font-size: 0.94rem; }
.step-tag {
  justify-self: start;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* ---------- Cartes projets ---------- */

.projects-grid {
  display: grid;
  gap: clamp(28px, 3.6vw, 44px) clamp(20px, 2.4vw, 30px);
}
@media (min-width: 720px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  container-type: inline-size;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.32);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgb(255 77 46 / 0.55);
  box-shadow: 0 26px 52px -20px rgb(255 77 46 / 0.22);
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: var(--surface-2);
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-card:hover .project-card-media img { transform: scale(1.06); }

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / 0.5));
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(17 18 22 / 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
}

.project-view {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transform: scale(0.75);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}
.project-view svg { width: 20px; height: 20px; }
.project-card:hover .project-view,
.project-card:focus-visible .project-view { transform: scale(1); opacity: 1; }

@media (hover: none) {
  .project-view { transform: scale(0.9); opacity: 1; }
}

.project-card-body {
  padding: 18px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-meta {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card h3 {
  font-size: clamp(1.18rem, 1.02rem + 0.55vw, 1.48rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.project-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  list-style: none;
}

@container (max-width: 260px) {
  .project-results { grid-template-columns: 1fr; }
}

.project-results strong {
  display: block;
  font-size: clamp(1.3rem, 1.08rem + 0.9vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.project-results span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.35;
}

/* Filtres portfolio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.filter-btn {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.filter-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px -6px rgb(255 77 46 / 0.5);
}
.filter-btn .count { opacity: 0.75; margin-left: 5px; font-size: 0.82em; }

/* ---------- Chiffres clés ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } }

.stat {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 38px) clamp(18px, 2.2vw, 28px);
  box-shadow: 0 12px 30px -16px rgb(20 21 25 / 0.08);
}
.stat strong {
  display: block;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
}
.stat span { display: block; color: var(--muted); margin-top: 10px; font-size: 0.94rem; }

/* ---------- Témoignages ---------- */

.quotes {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -18px rgb(20 21 25 / 0.1);
  transition: transform 0.4s var(--ease), border-color 0.35s;
}
.quote:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: 1.08rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.quote blockquote p::before {
  content: "“";
  display: block;
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 0.7;
  color: var(--accent);
  margin-bottom: 10px;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
  font-size: 0.92rem;
}
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--muted); }

/* ---------- Bandeau CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.3);
  background:
    radial-gradient(600px 380px at 90% 15%, rgb(255 200 120 / 0.35), transparent 65%),
    linear-gradient(135deg, #ff4d2e 0%, #e8381b 55%, #ff6a3d 100%);
  color: #fff;
  padding: clamp(36px, 6.5vw, 96px) clamp(22px, 5.5vw, 88px);
  display: grid;
  gap: 26px;
  box-shadow: 0 28px 64px -20px rgb(255 77 46 / 0.45);
  isolation: isolate;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  width: clamp(48px, 7vw, 110px);
  height: clamp(32px, 4.5vw, 70px);
  border: 2px solid rgb(255 255 255 / 0.85);
  z-index: -1;
}
.cta-band::before { top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); border-left: 0; border-bottom: 0; }
.cta-band::after { bottom: clamp(20px, 3vw, 40px); left: clamp(20px, 3vw, 40px); border-right: 0; border-top: 0; }

@media (max-width: 680px) {
  .cta-band::before,
  .cta-band::after { display: none; }
}

.cta-band h2 { max-width: 16ch; color: #fff; }
.cta-band p { max-width: 54ch; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: rgb(255 255 255 / 0.92); }
.cta-band .btn { --btn-bg: #fff; --btn-fg: #141519; box-shadow: 0 10px 24px rgb(0 0 0 / 0.2); }
.cta-band .btn:hover { background: #141519; color: #fff; }
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgb(255 255 255 / 0.6); box-shadow: none; }
.cta-band .btn--ghost:hover { background: #fff; color: #141519; }

/* ---------- En-tête de page interne (avec halo lumineux & grille) ---------- */

.page-hero {
  position: relative;
  padding-top: clamp(136px, 15vw, 196px);
  padding-bottom: clamp(48px, 6.5vw, 92px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(850px 460px at 85% 20%, rgb(255 77 46 / 0.22), transparent 65%),
    radial-gradient(650px 400px at 15% 80%, rgb(255 154 77 / 0.12), transparent 68%),
    linear-gradient(to right, rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .page-hero { padding-top: 156px; }
}

.page-hero h1 { margin-top: 20px; max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a:hover { color: var(--text); }

/* Barre de boutons Retour sur les pages projet */
.project-back-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.project-back-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- Page méthode ---------- */

.method-steps-section {
  padding-block: 0;
}

.method-steps-section > .container {
  max-width: none;
  padding-inline: 0;
}

.method-step {
  display: grid;
  gap: 24px;
  padding-block: clamp(52px, 6.5vw, 96px);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  border-top: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

.method-step:nth-child(odd) {
  background-color: color-mix(in oklab, var(--light) 82%, white);
  background-image:
    radial-gradient(760px 420px at 88% 20%, rgb(255 77 46 / 0.06), transparent 70%),
    linear-gradient(to right, rgb(20 21 25 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 21 25 / 0.03) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.method-step:nth-child(even) {
  background-color: color-mix(in oklab, var(--light-2) 68%, #dfd3be);
  background-image:
    radial-gradient(760px 420px at 12% 50%, rgb(255 77 46 / 0.09), transparent 70%),
    radial-gradient(640px 360px at 90% 85%, rgb(255 154 77 / 0.08), transparent 70%),
    linear-gradient(to right, rgb(20 21 25 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 21 25 / 0.04) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  border-top-color: rgb(20 21 25 / 0.14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55);
}

.method-step:nth-child(even) .box:not(.box--accent) {
  background: #ffffff;
  border-color: rgb(20 21 25 / 0.14);
  box-shadow: 0 16px 34px -18px rgb(20 21 25 / 0.12);
}

.method-step:nth-child(even) .box--accent {
  background:
    linear-gradient(145deg, rgb(255 77 46 / 0.17), rgb(255 154 77 / 0.09)),
    #fffaf6;
  border-color: rgb(255 77 46 / 0.42);
}

.method-step:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 960px) {
  .method-step { grid-template-columns: 0.9fr 1.4fr; gap: 72px; }
  .method-step-head { position: sticky; top: 120px; align-self: start; }
}

.method-step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 2rem + 4vw, 6.4rem);
  line-height: 0.9;
  color: var(--accent);
}

.method-step-head h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.8rem); margin-top: 12px; }
.method-step-head .duration {
  margin-top: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
}

.method-step-body { display: grid; gap: 24px; }
.method-step-body > p { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); color: var(--muted); }
.method-step-body > p strong { color: var(--text); font-weight: 600; }

.two-cols {
  display: grid;
  gap: 16px;
}
@media (min-width: 680px) { .two-cols { grid-template-columns: 1fr 1fr; } }

.box {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgb(20 21 25 / 0.08);
}
.box h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.box--accent {
  background: linear-gradient(145deg, rgb(255 77 46 / 0.14), rgb(255 154 77 / 0.06));
  border-color: rgb(255 77 46 / 0.35);
}
.box--accent h3 { color: var(--accent); }

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-50%) rotate(-45deg);
}

/* Tableau comparatif */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: 0 20px 44px -20px rgb(0 0 0 / 0.35);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare th,
.compare td {
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: rgb(255 255 255 / 0.04);
}
.compare thead th:last-child { color: var(--accent); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { font-weight: 600; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- Page projet ---------- */

.project-hero {
  position: relative;
  min-height: 82svh;
  min-height: 82dvh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.project-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(750px 420px at 85% 20%, rgb(255 77 46 / 0.22), transparent 65%),
    linear-gradient(180deg, rgb(14 15 19 / 0.72) 0%, rgb(14 15 19 / 0.22) 35%, rgb(17 18 22 / 0.94) 100%);
}
.project-hero .container { padding-top: 132px; padding-bottom: clamp(36px, 6vw, 76px); }

@media (max-width: 960px) {
  .project-hero .container { padding-top: 156px; }
}

.project-hero h1 {
  font-size: clamp(1.95rem, 1.2rem + 3.2vw, 4.4rem);
  max-width: 20ch;
  margin-top: 16px;
}
.project-hero .lead { color: rgb(246 244 239 / 0.88); margin-top: 18px; }

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 900px) { .project-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .project-facts { grid-template-columns: 1fr; gap: 14px; } }
.project-facts dt {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.project-facts dd { margin: 0; font-weight: 500; }

.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgb(20 21 25 / 0.1);
  border-block: 1px solid rgb(20 21 25 / 0.1);
  list-style: none;
}
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(var(--kpi-count, 4), minmax(0, 1fr)); } }
@media (max-width: 380px) { .kpis { grid-template-columns: 1fr; } }
.kpis li {
  background: var(--light);
  color: var(--dark-text);
  padding: clamp(22px, 3.4vw, 48px) clamp(16px, 2.2vw, 30px);
}
.kpis strong {
  display: block;
  font-size: clamp(1.85rem, 1.2rem + 2.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
}
.kpis span { display: block; margin-top: 8px; color: #57554f; font-size: 0.92rem; font-weight: 500; max-width: 22ch; }

.case-section {
  display: grid;
  gap: 22px;
  padding-block: clamp(40px, 5.5vw, 80px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .case-section { grid-template-columns: 0.75fr 1.5fr; gap: 72px; }
  .case-section-head { position: sticky; top: 120px; align-self: start; }
}
.case-section-head .eyebrow { color: var(--accent); }
.case-section-head h2 { font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.5rem); margin-top: 10px; }
.case-section-body { container-type: inline-size; display: grid; gap: 22px; }
.case-section-body > p { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); line-height: 1.65; color: var(--text); opacity: 0.9; }

.constraints {
  list-style: none;
  display: grid;
  gap: 12px;
}
@container (min-width: 560px) { .constraints { grid-template-columns: 1fr 1fr; } }
.constraints li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -16px rgb(20 21 25 / 0.08);
  line-height: 1.45;
}
.constraints li::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.tracks { list-style: none; display: grid; gap: 14px; }
.track {
  position: relative;
  padding: 24px 24px 24px 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: 0 10px 24px -16px rgb(20 21 25 / 0.08);
}
.track-letter {
  position: absolute;
  left: 22px;
  top: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--muted);
}
@media (max-width: 600px) {
  .track { padding: 20px; }
  .track-letter {
    position: static;
    display: inline-block;
    font-size: 1.6rem;
    margin-bottom: 6px;
  }
}
.track h3 { font-size: 1.16rem; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.track p { margin-top: 8px; color: var(--muted); }
.track--chosen {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgb(255 77 46 / 0.14), rgb(255 154 77 / 0.05));
}
.track--chosen .track-letter { color: var(--accent); }
.chosen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.prod-grid { display: grid; gap: 14px; }
@container (min-width: 640px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }

.result-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 48px -18px rgb(0 0 0 / 0.35);
}
.result-video--vertical {
  aspect-ratio: 9 / 16;
  max-height: 720px;
  max-width: 405px;
  margin-inline: auto;
  width: 100%;
}
.result-videos-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .result-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.result-video-card {
  display: grid;
  gap: 10px;
}
.result-video-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.result-video video,
.result-video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }

.gallery { display: grid; gap: 16px; margin-top: 16px; align-items: stretch; }
.gallery:first-child { margin-top: 0; }
@media (min-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); display: flex; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.big-quote {
  margin: 0;
  max-width: 980px;
}
.big-quote blockquote { margin: 0; }
.big-quote p {
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.big-quote p::before { content: "« "; color: var(--accent); }
.big-quote p::after { content: " »"; color: var(--accent); }
.big-quote figcaption { margin-top: 24px; color: var(--muted); }
.big-quote figcaption strong { color: var(--text); font-weight: 600; }

.next-project {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 3.6vw, 44px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.25);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
@media (min-width: 800px) { .next-project { grid-template-columns: 260px 1fr auto; gap: 28px; } }
.next-project:hover { border-color: var(--accent); transform: translateY(-3px); }
.next-project img { border-radius: var(--radius-sm); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.next-project h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); margin-top: 8px; }

.not-found { padding-top: 180px; padding-bottom: 120px; }

/* ---------- Page contact ---------- */

.contact-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; } }

.contact-cards { display: grid; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px -18px rgb(20 21 25 / 0.1);
  transition: border-color 0.35s, transform 0.45s var(--ease);
  min-width: 0;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card .service-icon { flex: none; width: 46px; height: 46px; }
.contact-card-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-card-value {
  display: block;
  font-size: clamp(1rem, 0.9rem + 0.55vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact-card .arrow { margin-left: auto; color: var(--muted); flex: none; }
.contact-card .arrow svg { width: 20px; height: 20px; }

.booking {
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px -20px rgb(20 21 25 / 0.14);
  overflow: hidden;
}
.booking-head {
  padding: clamp(22px, 3vw, 40px);
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.booking-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.booking-head p { color: var(--muted); }
.booking-body { min-height: 280px; display: grid; }

.booking-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px 20px;
}
.booking-placeholder small { color: var(--muted); max-width: 46ch; font-size: 0.82rem; }
.booking-placeholder small a { text-decoration: underline; }

.calendly-inline-widget { min-width: 0; width: 100%; height: 680px; }

.info-list { list-style: none; display: grid; gap: 16px; counter-reset: info; }
.info-list li {
  counter-increment: info;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.info-list li::before {
  content: "0" counter(info);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  padding-top: 3px;
}

/* ---------- Pages légales ---------- */

.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  margin-top: 48px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text); opacity: 0.88; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; gap: 4px 24px; margin: 0; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 220px 1fr; } }
.legal dt { color: var(--muted); }
.legal dd { margin: 0 0 8px; }
.todo {
  background: rgb(255 77 46 / 0.16);
  color: var(--text);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: 32px;
  background:
    radial-gradient(800px 400px at 50% 100%, rgb(255 77 46 / 0.12), transparent 70%),
    #0e1015;
}

.footer-top {
  display: grid;
  gap: 36px;
}
@media (min-width: 600px) and (max-width: 899px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

.footer-brand p { color: #b0ada6; margin-top: 18px; max-width: 34ch; }

.footer-col h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0ada6;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; color: #f6f4ef; }
.footer-col a { transition: color 0.3s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent); }

.footer-big {
  margin-top: clamp(48px, 7vw, 96px);
  font-size: clamp(3.6rem, 1.8rem + 8vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.22);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
  color: #b0ada6;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: #f6f4ef; }

/* ---------- Animations d'apparition (IntersectionObserver + ViewTimeline) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
    transition-delay: var(--delay, 0s);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Divers ---------- */

.grid-2 {
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.center { text-align: center; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
