/* ── Variables (Charte Graphique AJ2L) ── */
:root {
  --bleu-profond:   #0B3C5D;
  --bleu-technique: #0F6E8C;
  --cyan-signature: #1FD1C2;
  --bleu-nuit:      #072A3A;
  --bleu-dense:     #2986A6;
  --cyan-doux:      #6FE7DC;
  --blanc:          #FFFFFF;
  --gris-fonce:     #2D3748;
  --vert:           #2FAF7A;
  --jaune:          #E8B93C;
  --rouge:          #D64545;

  --bg-main: #EDF5FC;
  --bg-section-alt: #D5E8F4;
  --bg-card: var(--blanc);
  --text-main: var(--gris-fonce);
  --text-muted: #1E4A65;
  --heading-main: var(--bleu-profond);
  --border-light: #3D7499;
  --nav-text: var(--blanc);
  --label-color: var(--bleu-technique);
  --result-color: #1F7A52;
}

[data-theme="dark"] {
  --bg-main: var(--bleu-nuit);
  --bg-section-alt: #051F2C;
  --bg-card: var(--bleu-profond);
  --text-main: rgba(255, 255, 255, 0.85);
  --text-muted: var(--cyan-doux);
  --heading-main: var(--blanc);
  --border-light: var(--bleu-technique);
  --label-color: var(--cyan-doux);
  --result-color: var(--vert);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    fill 0.35s ease,
    box-shadow 0.35s ease !important;
}
[hidden] { display: none !important; }
html {
  font-size: 17px;
  scroll-behavior: smooth;
  background: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.8;
  overflow-x: hidden;
}
p { line-height: 1.85; }
h1, h2, h3, h4 { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bleu-nuit);
  border-bottom: 2px solid var(--cyan-signature);
  height: 64px;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  cursor: pointer; user-select: none;
  background: none; border: none; padding: 0;
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 38px; width: auto; display: block;
  mix-blend-mode: screen;
}
.nav-links {
  display: flex; gap: 0.25rem; align-items: center;
}
.nav-links a:not(.nav-cta) {
  color: var(--nav-text);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  color: var(--cyan-signature);
  border-bottom-color: var(--cyan-signature);
}
.nav-cta {
  background: var(--cyan-signature);
  color: var(--bleu-nuit);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 0.8rem;
  font-weight: 700; padding: 0.5rem 1.2rem;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--cyan-doux); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--blanc);
  transition: all 0.3s;
}

/* ── Page layout ── */
main { padding-top: 64px; }
.page > * { scroll-margin-top: 64px; }

/* ── Page (une seule page active par fichier généré) ── */
.page { display: none; }
.page.active { display: block; }

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.section-sm { padding: 5rem 0; }

/* ── Hero ── */
#hero {
  min-height: calc(100vh - 64px);
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11, 60, 93, 0.07);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px;
}
.hero-watermark {
  position: absolute;
  bottom: 2.5rem; right: 2rem;
  width: 320px; height: 140px;
  background: url('/public/img/Logos/Logo_Complet_Clair.webp') right bottom / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero-watermark {
  background-image: url('/public/img/Logos/Logo_Complet_Sombre.webp');
  opacity: 0.16;
  mix-blend-mode: screen;
}
.hero-eyebrow {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--label-color);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--cyan-signature);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--heading-main);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: normal; color: var(--cyan-signature); }
.hero-sub {
  font-size: 1.1rem; color: var(--bleu-profond);
  max-width: 560px; margin-bottom: 2.5rem;
  font-weight: 500;
  display: inline-block;
  background: rgba(237, 245, 252, 0.80);
  backdrop-filter: blur(4px);
  padding: 0.6rem 1rem;
  border-radius: 4px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Accueil par publics ── */
#hero.audience-hero {
  min-height: calc(88svh - 64px);
  padding: 4rem 0;
}
.audience-hero .container { width: 100%; }
.audience-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.25fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.audience-hero-copy { max-width: 540px; }
.audience-hero-copy .hero-title { font-size: clamp(2.2rem, 4vw, 3.35rem); }
.audience-paths {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: 390px;
  border: 1px solid rgba(11, 60, 93, 0.35);
  box-shadow: 0 18px 46px rgba(7, 42, 58, 0.16);
}
.audience-path {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 2.5rem;
  text-decoration: none;
  overflow: hidden;
}
.audience-path::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.25;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.audience-path:hover::before { opacity: 0.38; transform: scale(1.02); }
.audience-path > * { position: relative; z-index: 1; }
.audience-path--geo {
  color: var(--blanc);
  background: var(--bleu-nuit);
  border-top: 5px solid var(--cyan-signature);
}
.audience-path--geo::before { background-image: url('/public/img/Background/Dark_WithoutLogo.webp'); }
.audience-path--business {
  color: var(--bleu-nuit);
  background: #F4F0E5;
  border-top: 5px solid var(--jaune);
}
.audience-path--business::before { background-image: url('/public/img/Background/Light_WithoutLogo.webp'); }
.audience-path-kicker {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.audience-path--geo .audience-path-kicker { color: var(--cyan-signature); }
.audience-path--business .audience-path-kicker { color: #8A6500; }
.audience-path h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: inherit;
}
.audience-path p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.audience-path--geo p { color: rgba(255, 255, 255, 0.82); }
.audience-path--business p { color: #264454; }
.audience-path-link {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: inherit;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid currentColor;
  align-self: flex-start;
}
.audience-path--geo .audience-path-link { color: var(--cyan-signature); }
.audience-path--business .audience-path-link { color: #725400; }
.audience-page-hero .hero-content { max-width: 820px; }
.audience-page-hero--geo { border-bottom: 5px solid var(--cyan-signature); }
.audience-page-hero--business { border-bottom: 5px solid var(--jaune); }
.solutions-intro.document-page-hero { min-height: min(760px, calc(100svh - 150px)); }
.audience-solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

[data-theme="dark"] .audience-path--business {
  color: var(--blanc);
  background: #433A1D;
}
[data-theme="dark"] .audience-path--business p { color: rgba(255, 255, 255, 0.82); }
[data-theme="dark"] .audience-path--business .audience-path-kicker,
[data-theme="dark"] .audience-path--business .audience-path-link { color: #FFD66B; }

.btn {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.8rem;
  cursor: pointer; border: none; text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary { background: var(--cyan-signature); color: var(--bleu-nuit); }
.btn-primary:hover { background: var(--cyan-doux); }
.btn-outline {
  background: transparent;
  color: var(--bleu-profond);
  border: 2px solid rgba(11,60,93,0.4);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--cyan-signature); color: var(--bleu-technique); }
.btn-dark { background: var(--bleu-profond); color: var(--blanc); }
.btn-dark:hover { background: var(--bleu-dense); }
.btn-ghost { background: transparent; border: none; color: var(--text-muted); padding-left: 0; padding-right: 0; opacity: 0.75; clip-path: none; }
.btn-ghost:hover { opacity: 1; color: var(--cyan-signature); text-decoration: underline; }

/* ── Section labels ── */
.section-label {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--label-color);
  margin-bottom: 1.25rem;
}
.section-label--light { color: var(--label-color); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--heading-main);
  line-height: 1.2; margin-bottom: 1.5rem;
}
.section-title--white { color: var(--heading-main); }
.section-intro { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; line-height: 1.85; margin-bottom: 2.5rem; }
.section-intro--spaced { margin-bottom: 4rem; }

/* ── Problème / Solution ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.problem-block { background: var(--bg-section-alt); padding: 3.5rem; border-left: 4px solid var(--bleu-technique); height: stretch; }
.solution-block { background: var(--bleu-profond); padding: 3.5rem; border-left: 4px solid var(--cyan-signature); color: var(--blanc); height: stretch; }
.block-title {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.problem-block .block-title { color: var(--label-color); }
.solution-block .block-title { color: var(--cyan-signature); }
.block-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.block-list li { display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.95rem; line-height: 1.75; }
.block-list li::before { content: '—'; flex-shrink: 0; font-weight: 700; }
.problem-block .block-list li::before { color: var(--bleu-technique); }
.solution-block .block-list li::before { color: var(--cyan-signature); }
.solution-block .block-list li { color: rgba(255,255,255,0.85); }

/* ── Services ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
  margin-top: 4rem;
}
.service-card {
  background: var(--bg-main); padding: 3rem 2.5rem;
  border: 1.5px solid var(--bleu-profond);
  border-top: 4px solid var(--cyan-signature);
  transition: background 0.25s, transform 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-card:hover { background: var(--bg-card); transform: translateY(-4px); }
.service-icon {
  width: 44px; height: 44px; margin-bottom: 1.25rem;
  background: var(--bg-section-alt);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--bleu-technique); fill: none; stroke-width: 2; }
.service-name { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 1rem; color: var(--heading-main); margin-bottom: 0.5rem; }
.service-desc { font-size: 0.9rem; color: var(--text-main); line-height: 1.8; }

/* ── Méthode ── */
.method-bg { background: var(--bg-card); }
.method-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--bleu-profond);
  margin-top: 4rem;
}
.method-step { padding: 3rem 2.5rem; background: var(--bg-card); border-top: 3px solid var(--bleu-dense); transition: border-color 0.2s; }
.method-step:hover { border-top-color: var(--cyan-signature); }
.step-num { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(11,60,93,0.30); line-height: 1; margin-bottom: 0.75rem; }
.step-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 1rem; color: var(--heading-main); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.88rem; color: var(--text-main); line-height: 1.8; }

/* ── Réalisations ── */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; margin-top: 4rem;
}
.project-card {
  border: 1.5px solid var(--border-light);
  padding: 2.5rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.project-card:hover { border-color: var(--bleu-technique); box-shadow: 0 4px 24px rgba(11,60,93,0.08); }
.project-tag {
  display: inline-block;
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blanc);
  background: var(--bleu-technique);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  margin-bottom: 1rem;
}
.project-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--heading-main); margin-bottom: 0.5rem; }
.project-story { font-size: 0.88rem; color: var(--text-main); margin-bottom: 1rem; }
.project-desc { font-size: 0.88rem; color: var(--text-main); margin-bottom: 1rem; }
.project-result { font-size: 0.85rem; color: var(--result-color); font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.project-result::before { content: '✓'; }

/* ── CTA bande ── */
.cta-band {
  background: var(--cyan-signature);
  padding: 7rem 0;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.cta-band { min-height: calc(55svh - 32px); }
.cta-band .container { width: 100%; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--bleu-nuit); margin-bottom: 1rem; }
.cta-band p { color: var(--bleu-profond); margin-bottom: 2.5rem; }
.cta-band .btn { background: var(--bleu-nuit); color: var(--blanc); }
.cta-band .btn:hover { background: var(--bleu-profond); }
.cta-band .cta-related { font-size: 0.9rem; margin: 1.5rem 0 0; color: var(--bleu-nuit); }
.cta-band .cta-related a { color: var(--bleu-nuit); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ════════════════════════════════════════
   ÉLÉMENTS DÉCORATIFS
════════════════════════════════════════ */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band > .container {
  position: relative;
  z-index: 1;
}


.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/public/img/Background/Light_WithoutLogo.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}

[data-theme="dark"] .cta-band::before {
  background-image: url('/public/img/Background/Light_WithoutLogo.webp');
  mix-blend-mode: multiply;
  opacity: 0.55;
}

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

/* ── Footer ── */
footer {
  background: var(--bleu-profond);
  border-top: 2px solid var(--cyan-signature);
  padding: 3rem 0 2rem;
  --text-muted: #C8DBE9;
  --border-light: #1A4A6A;
}
footer {
  min-height: calc(30svh - 32px);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo-img {
  height: auto; max-height: 72px; max-width: 260px; width: auto;
  display: block; margin-bottom: 0.75rem; mix-blend-mode: screen;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-col h3 {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan-signature); margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: var(--text-muted); font-size: 0.88rem;
  text-decoration: none; margin-bottom: 0.5rem; cursor: pointer; transition: color 0.2s;
}
.footer-col a:hover { color: var(--blanc); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-legal a { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--cyan-signature); }
footer .container { position: relative; }
footer .container::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 240px; height: 240px;
  background: url('/public/img/Logos/Monogramme_Sombre.webp') center/contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.footer-grid,
.footer-bottom { position: relative; z-index: 1; }

/* ── Page: Solutions ── */
.solutions-intro {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  min-height: calc(100svh - 64px); display: flex; align-items: center;
  padding: 5rem 0; color: var(--text-main); position: relative;
}
.solutions-intro::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.solutions-intro .container { position: relative; z-index: 1; width: 100%; }
.solution-detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.solution-num { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 4rem; font-weight: 800; color: rgba(15, 110, 140, 0.35); line-height: 1; }
.solution-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.step-item { display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.9rem; line-height: 1.7; }
.step-dot { width: 8px; height: 8px; background: var(--cyan-signature); flex-shrink: 0; }
.deliverable-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.deliverable-tag {
  font-size: 0.75rem; font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 600;
  color: var(--bleu-technique); background: var(--bg-section-alt);
  padding: 0.25rem 0.75rem; border-left: 3px solid var(--bleu-technique);
}
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.deliverable-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--cyan-signature);
  background: var(--bg-section-alt);
  transition: border-top-color 0.2s, box-shadow 0.2s;
  min-width: 0;
  overflow-wrap: break-word;
}
.deliverable-card:hover {
  border-top-color: var(--bleu-technique);
  box-shadow: 0 4px 16px rgba(11,60,93,0.08);
}
.deliverable-card-icon {
  color: var(--cyan-signature);
  line-height: 0;
}
.deliverable-card-icon svg { width: 28px; height: 28px; }
.deliverable-card-name {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* ── Page: Méthode ── */
.method-page-hero {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  background-color: var(--bg-section-alt);
  min-height: calc(100svh - 64px); display: flex; align-items: center;
  padding: 5rem 0; position: relative;
}
.method-page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.method-page-hero .container { position: relative; z-index: 1; width: 100%; }
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.phase-card { border: 1.5px solid var(--border-light); padding: 3.5rem 3rem; position: relative; overflow: hidden; }
.phase-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--bleu-profond), var(--cyan-signature));
}
.phase-index { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu-technique); margin-bottom: 0.5rem; }
.phase-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--heading-main); margin-bottom: 1rem; }
.phase-desc { font-size: 0.9rem; color: var(--text-main); line-height: 1.8; }

/* ── Page: À propos ── */
.about-hero {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  background-color: var(--bg-section-alt);
  min-height: calc(100svh - 64px); display: flex; align-items: center;
  padding: 5rem 0; position: relative;
}
.about-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.about-hero .container { position: relative; z-index: 1; width: 100%; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; }
.team-card { background: var(--bg-section-alt); padding: 3.5rem; border-bottom: 4px solid var(--bleu-technique); }
.team-name { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--heading-main); margin-bottom: 1rem; }
.team-desc { font-size: 0.9rem; color: var(--text-main); line-height: 1.85; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.value-item { padding: 2rem; background: var(--bg-main); border: 1.5px solid var(--border-light); border-top: 3px solid var(--cyan-signature); }
.value-label { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--heading-main); margin-bottom: 0.5rem; }
.value-desc { font-size: 0.85rem; color: var(--text-main); }
.about-logo-display {
  max-width: 280px; height: 64px; margin: 0 auto 2.5rem;
  background: url('/public/img/Logos/Logo_Complet_Clair.webp') center/contain no-repeat;
}
[data-theme="dark"] .about-logo-display {
  background-image: url('/public/img/Logos/Logo_Complet_Sombre.webp');
}
.about-vision { max-width: 640px; margin-bottom: 2.5rem; font-size: 1.05rem; color: var(--text-main); }

/* ── Page: Contact ── */
.contact-hero {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  background-color: var(--bg-section-alt);
  min-height: calc(100svh - 64px); display: flex; align-items: center;
  padding: 5rem 0; position: relative;
}
.contact-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.contact-hero .container { position: relative; z-index: 1; width: 100%; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; margin-top: 4rem; align-items: start; }
.contact-info-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--label-color); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-info-val { font-size: 1rem; color: var(--text-main); margin-bottom: 1.5rem; }
.contact-note { margin-top: 2rem; padding: 1.5rem; background: var(--bg-section-alt); border-left: 4px solid var(--cyan-signature); }
.contact-note-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--heading-main); margin-bottom: 0.5rem; }
.contact-note-text { font-size: 0.88rem; color: var(--text-main); }
.form-group { margin-bottom: 2rem; }
.form-label { display: block; font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--label-color); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light); background: var(--bg-main);
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif; font-size: 0.95rem;
  color: var(--text-main); transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--bleu-technique); }
.form-input:focus-visible, .form-textarea:focus-visible, .form-select:focus-visible {
  outline: 2px solid var(--cyan-signature);
  outline-offset: 2px;
}
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-submit {
  width: 100%;
  background: var(--cyan-signature); color: var(--bleu-nuit);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.5px;
  padding: 1rem; border: none; cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s;
}
.form-submit:hover { background: var(--cyan-doux); }
.form-error {
  display: block;
  background: rgba(214, 69, 69, 0.1); color: var(--rouge);
  border-left: 4px solid var(--rouge);
  padding: 0.85rem 1.25rem; margin-top: 1rem;
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 600;
  font-size: 0.85rem;
}

/* ── Page: Réalisations ── */
.phase-index { display: none; }

/* ── Pages légales ── */
.legal-hero {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  background-color: var(--bg-section-alt); padding: 10rem 0 7rem; position: relative;
}
.legal-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.legal-hero .container { position: relative; z-index: 1; }
.legal-content { max-width: 780px; }
.legal-content h2 { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--heading-main); margin: 2.5rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border-light); }
.legal-content p, .legal-content ul { font-size: 0.95rem; color: var(--text-main); line-height: 1.85; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content ul li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--bleu-technique); text-decoration: underline; }
.legal-content a:hover { color: var(--cyan-signature); }
.legal-date { font-size: 0.85rem; color: var(--text-muted); margin-top: 2rem; }
[data-theme="dark"] .legal-hero { background-image: url('/public/img/Background/Dark_WithoutLogo.webp'); }
[data-theme="dark"] .legal-hero::before { background: rgba(7, 42, 58, 0.52); }

.real-page {
  background: url('/public/img/Background/Light_WithoutLogo.webp') center/cover no-repeat;
  position: relative;
  min-height: calc(100svh - 64px); display: flex; align-items: center;
  padding: 5rem 0;
}
.real-page::before { content: ''; position: absolute; inset: 0; background: rgba(11, 60, 93, 0.07); }
.real-page .container { position: relative; z-index: 1; width: 100%; max-width: 1440px; }
.real-page-inner {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.real-page-left { display: flex; flex-direction: column; gap: 1rem; }
.storytelling-card { border: 1.5px solid var(--border-light); overflow: hidden; background: var(--bg-main); }
.story-header { background: var(--bleu-profond); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.story-client { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 700; color: var(--blanc); font-size: 1.05rem; }
.story-badge {
  font-size: 0.65rem; font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--cyan-signature); color: var(--bleu-nuit);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.story-body { padding: 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.story-step-title { font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bleu-technique); margin-bottom: 0.5rem; }
.story-step-text { font-size: 0.88rem; color: var(--text-main); line-height: 1.75; }
.story-result-col .story-step-title { color: var(--vert); }
.story-result-col .story-step-text { color: var(--vert); font-weight: 500; }

/* ── Separator ── */
.sep { width: 48px; height: 3px; background: var(--cyan-signature); margin: 1.75rem 0 3.5rem; }

/* ── Misc ── */
.divider-line { border: none; border-top: 1px solid var(--border-light); margin: 0; }
.bg-light { background: var(--bg-section-alt); }
.bg-dark-section { background: var(--bg-section-alt); }
.bg-dark-section .section-title { color: var(--heading-main); }
.bg-dark-section .solution-num { color: rgba(11, 60, 93, 0.30); }
.bg-dark-section p,
.bg-dark-section .step-item { color: var(--text-main); }
[data-theme="dark"] .bg-dark-section { background: var(--bg-card); }
[data-theme="dark"] .bg-dark-section .section-title { color: var(--blanc); }
[data-theme="dark"] .bg-dark-section .solution-num { color: rgba(31, 209, 194, 0.45); }
[data-theme="dark"] .bg-dark-section p,
[data-theme="dark"] .bg-dark-section .step-item { color: rgba(255, 255, 255, 0.82); }
[data-theme="dark"] .bg-dark-section .deliverable-tag {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--cyan-signature);
  color: var(--cyan-doux);
}
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.btn-theme {
  background: none; border: none; cursor: pointer;
  padding: 0.4rem 0.5rem; color: var(--blanc);
  display: flex; align-items: center;
  transition: color 0.2s, transform 0.2s;
}
.btn-theme:hover { color: var(--cyan-signature); transform: scale(1.1); }
.btn-theme svg { width: 18px; height: 18px; }
.btn-theme .icon-sun { display: none; }
.btn-theme .icon-moon { display: block; }
[data-theme="dark"] .btn-theme .icon-sun { display: block; }
[data-theme="dark"] .btn-theme .icon-moon { display: none; }

/* ── Thème sombre : overrides globaux ── */
[data-theme="dark"] .hero-sub { color: var(--cyan-doux); background: rgba(7, 42, 58, 0.70); }
[data-theme="dark"] .btn-outline { color: var(--blanc); border-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .btn-outline:hover { border-color: var(--cyan-signature); color: var(--cyan-signature); }
[data-theme="dark"] .section-title--white { color: var(--blanc); }
[data-theme="dark"] .method-bg { background: var(--bleu-profond); }
[data-theme="dark"] .method-steps { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .method-step { background: rgba(255,255,255,0.04); border-top-color: rgba(31,209,194,0.30); }
[data-theme="dark"] .step-num { color: rgba(31,209,194,0.40); }
[data-theme="dark"] .method-bg .step-num { color: rgba(31,209,194,0.35); }
[data-theme="dark"] .solutions-intro {
  background-image: url('/public/img/Background/Dark_WithoutLogo.webp');
  color: var(--blanc);
}
[data-theme="dark"] .solutions-intro::before { background: rgba(7, 42, 58, 0.52); }
[data-theme="dark"] .method-page-hero,
[data-theme="dark"] .about-hero,
[data-theme="dark"] .contact-hero,
[data-theme="dark"] #hero { background-image: url('/public/img/Background/Dark_WithoutLogo.webp'); }
[data-theme="dark"] #hero::before { background: rgba(7, 42, 58, 0.45); }
[data-theme="dark"] .real-page { background-image: url('/public/img/Background/Dark_WithoutLogo.webp'); }
[data-theme="dark"] .method-page-hero::before,
[data-theme="dark"] .about-hero::before,
[data-theme="dark"] .contact-hero::before,
[data-theme="dark"] .real-page::before { background: rgba(7, 42, 58, 0.52); }
[data-theme="dark"] .btn-back { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.75); }

/* ── Réalisation sub-pages ── */
.btn-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bleu-nuit); border: 1px solid var(--cyan-signature);
  color: var(--blanc);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  padding: 0.4rem 0.9rem; margin-bottom: 2.5rem;
  transition: color 0.2s, background 0.2s;
  cursor: pointer; border: 1px solid var(--cyan-signature);
}
.btn-back:hover { color: var(--cyan-signature); background: var(--bleu-profond); }
.btn-case {
  background: transparent; border: 2px solid var(--cyan-signature);
  color: var(--text-main);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, color 0.2s;
}
.btn-case:hover { background: var(--cyan-signature); color: var(--bleu-nuit); }

/* ── Section indicator ── */
.section-indicator {
  position: fixed; right: 0.5rem; top: 50%; transform: translateY(-50%);
  z-index: 500; display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  padding: 0.8rem 0.55rem;
  background: rgba(7, 42, 58, 0.78); backdrop-filter: blur(8px);
  border-left: 2px solid rgba(31, 209, 194, 0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.section-indicator.si-active { opacity: 1; pointer-events: auto; }
.si-items { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.si-item {
  position: relative; background: none; border: none; cursor: pointer;
  padding: 5px 3px; min-width: 38px;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: auto;
}
.si-item:focus-visible {
  outline: 2px solid var(--cyan-signature);
  outline-offset: 3px;
  border-radius: 2px;
}
.si-item::after {
  content: ''; display: block; width: 18px; height: 3px;
  background: rgba(31, 209, 194, 0.4);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.si-item.si-item--active::after { width: 36px; height: 5px; background: var(--cyan-signature); }
.si-item:not(.si-item--active):hover::after { width: 26px; background: var(--cyan-signature); }
.si-item::before {
  content: attr(data-title);
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: rgba(7, 42, 58, 0.96); border: 1px solid rgba(31, 209, 194, 0.5);
  color: var(--cyan-signature);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.si-item:hover::before { opacity: 1; }

/* ── Back to top ── */
.btn-totop {
  position: fixed; bottom: 2rem; right: 0.5rem; z-index: 499;
  background: rgba(7, 42, 58, 0.9); border: 1px solid rgba(31, 209, 194, 0.6);
  color: var(--cyan-signature);
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 1.1rem; font-weight: 800;
  padding: 0.65rem 1rem;
  clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
  cursor: pointer; line-height: 1;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s, border-color 0.2s;
}
.btn-totop.visible { opacity: 1; pointer-events: auto; }
.btn-totop:hover { background: rgba(7, 42, 58, 1); border-color: var(--cyan-signature); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* ── Hero ── */
#hero {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
}

/* ── Accordéons services ── */
.accordion-list { display: flex; flex-direction: column; gap: 1.75rem; overflow-anchor: none; }

.accordion-service {
  border: none;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.accordion-header {
  width: 100%;
  background: var(--bleu-profond);
  border: none;
  cursor: pointer;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--bleu-dense); }
.accordion-service.open > .accordion-header {
  background: var(--bleu-nuit);
  border-bottom: 2px solid var(--cyan-signature);
}

.accordion-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}
.accordion-service-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(31, 209, 194, 0.15);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-signature);
}
.accordion-service-icon svg { width: 22px; height: 22px; }
.accordion-service-title {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--blanc);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.accordion-service-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.accordion-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.35s ease, color 0.2s;
}
.accordion-service.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--cyan-signature);
}

.accordion-body-inner {
  overflow: hidden;
  height: 0;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body { cursor: pointer; }
.accordion-body a,
.accordion-body button,
.accordion-body input,
.accordion-body label { cursor: auto; }

.acc-section {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}
.acc-section:last-of-type { border-bottom: none; }
.acc-section--alt { background: var(--bg-section-alt); }
.acc-subtitle {
  font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--heading-main);
  margin: 0.4rem 0 1rem;
}
.acc-cta {
  padding: 1rem 2rem 1.5rem;
  background: var(--bg-main);
  display: flex;
  justify-content: flex-end;
}
.acc-cta .acc-contact-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.acc-cta .acc-contact-link:hover {
  color: var(--cyan-signature);
  text-decoration: underline;
}

/* ── Desktop ≥ 1025px ── */
@media (min-width: 1025px) {


  .service-card {
    padding: 2.5rem 2rem 2rem; border: 1.5px solid var(--bleu-profond);
    position: relative; overflow: hidden;
    transition: background 0.25s, transform 0.25s;
  }
  .service-card::before {
    content: '' !important;
    font-family: 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 8rem; font-weight: 900; line-height: 0.9;
    position: absolute; right: 0.5rem; bottom: -0.75rem;
    color: rgba(15, 110, 140, 0.07);
    pointer-events: none; user-select: none; z-index: 0;
    letter-spacing: -3px; transition: color 0.25s;
  }
  [data-theme="dark"] .service-card::before { color: rgba(31, 209, 194, 0.05); }
  .service-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--bleu-technique), var(--cyan-signature));
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 16px 100%);
    opacity: 0.25; transition: opacity 0.25s;
  }
  .service-card > * { position: relative; z-index: 1; }
  .service-card .service-icon { width: 54px; height: 40px; margin-bottom: 1.5rem; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: background 0.25s; }
  .service-card .service-icon svg { width: 24px; height: 24px; }
  .service-card:hover { background: var(--bg-card); transform: translateY(-4px); }
  .service-card:hover::before { color: rgba(31, 209, 194, 0.14); }
  .service-card:hover::after  { opacity: 1; }
  .service-card:hover .service-icon { background: rgba(31, 209, 194, 0.15); }

  .project-card {
    border: none; padding: 2.5rem 2.5rem 2.5rem 3rem;
    background: var(--bg-main); position: relative; overflow: hidden;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .project-card::before {
    content: '';
    position: absolute; left: 0; top: 15%; bottom: 15%; width: 4px;
    background: linear-gradient(180deg, var(--bleu-technique), var(--cyan-signature));
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    opacity: 0.35; transition: top 0.3s ease, bottom 0.3s ease, opacity 0.25s;
  }
  .project-card::after {
    content: '';
    position: absolute; top: 0; right: 0;
    border-style: solid; border-width: 0 52px 52px 0;
    border-color: transparent rgba(31, 209, 194, 0.1) transparent transparent;
    transition: border-color 0.25s;
  }
  .project-card:hover { background: var(--bg-section-alt); transform: translateY(-3px); box-shadow: 0 10px 36px rgba(11,60,93,0.12); }
  .project-card:hover::before { top: 0; bottom: 0; opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .project-card:hover::after { border-color: transparent rgba(31, 209, 194, 0.28) transparent transparent; }
}

/* ── Tablette et mobile ≤ 1024px ── */
@media (max-width: 1024px) {

  .nav-links {
    display: none; position: fixed; top: 64px; left: 0;
    width: 100%; height: calc(100vh - 64px);
    background: var(--bleu-nuit);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.5rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a:not(.nav-cta) {
    font-size: 1.4rem; font-weight: 700;
    padding: 0.9rem 2rem; color: var(--blanc);
    border-bottom: 2px solid transparent; letter-spacing: 1.5px;
  }
  .nav-links.open a:not(.nav-cta):hover,
  .nav-links.open a:not(.nav-cta).active { color: var(--cyan-signature); border-bottom-color: var(--cyan-signature); }
  .nav-links.open .nav-cta { margin-top: 1.5rem; font-size: 0.9rem; padding: 0.75rem 2.5rem; }
  .nav-burger { display: flex; position: relative; z-index: 1001; }

  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section-indicator,
  .btn-totop { display: none !important; }

  .section    { padding: 4rem 0; }
  .section-sm { padding: 3rem 0; }
  .solutions-intro, .method-page-hero, .about-hero,
  .contact-hero, .real-page { padding: 6rem 0 4rem; }
  .real-page-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-body  { grid-template-columns: 1fr 1fr; }
  #hero.audience-hero { min-height: auto; padding: 4rem 0; }
  .audience-hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .audience-hero-copy { max-width: 760px; }
  .audience-paths { min-height: 340px; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .hero-watermark { display: none; }
  .solutions-intro, .method-page-hero, .about-hero,
  .contact-hero, .real-page { padding: 5rem 0 3rem; }
  .section    { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .two-col              { grid-template-columns: 1fr; gap: 1.25rem; }
  .method-steps         { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; }
  .solution-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .solution-num         { display: none; }
  .team-grid            { grid-template-columns: 1fr; }
  .contact-layout       { grid-template-columns: 1fr; }
  .phase-grid           { grid-template-columns: 1fr; }
  .deliverable-grid     { grid-template-columns: repeat(2, 1fr); }
  .story-body           { grid-template-columns: 1fr 1fr; }
  .problem-block,
  .solution-block { padding: 1.25rem; }
  .block-list     { gap: 0.55rem; }
  .block-list li  { font-size: 0.9rem; }
  .method-step    { padding: 1.5rem; }
  .step-num       { font-size: 1.8rem; margin-bottom: 0.3rem; }
  .phase-card     { padding: 1.5rem; }
  .team-card      { padding: 1.5rem; }
  .about-logo-display { margin-bottom: 1.25rem; }
  .hero-sub       { font-size: 0.97rem; margin-bottom: 1.25rem; }
  .section-title  { margin-bottom: 0.6rem; }
  .sep            { margin: 0.6rem 0 1.25rem; }
  .phase-grid,
  .values-grid    { margin-top: 1rem; }
  .cta-band       { padding: 3rem 0; }
  .services-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
    overflow: visible; padding: 0; margin: 0;
  }
  .service-card { padding: 1.5rem 1.25rem; transform: none; }
  .service-card:hover { transform: none; }
  .projects-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 1rem; overflow: visible; padding: 0; margin: 0;
  }
  .audience-hero-layout,
  .audience-hero-copy,
  .audience-paths,
  .audience-path { min-width: 0; width: 100%; }
  .audience-paths { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .audience-path { min-height: 280px; padding: 2rem; overflow-wrap: break-word; }
  .audience-solutions-grid { grid-template-columns: 1fr; }
}

/* ── Petit mobile ≤ 480px ── */
@media (max-width: 480px) {
  .container    { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .story-body   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.25rem 1rem; }
  .hero-sub     { font-size: 0.92rem; }
  .hero-title   { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .audience-path { min-height: 250px; padding: 1.5rem; }
  .audience-path h2 { font-size: 1.3rem; }
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--cyan-signature);
  color: var(--bleu-nuit);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Formulaire : états ── */
.form-privacy { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; max-width: 60ch; }
.form-privacy a { color: var(--label-color); }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1rem; gap: 1.25rem; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cyan-signature); display: flex; align-items: center; justify-content: center; }
.form-success-title { margin-bottom: 0.5rem; }
.form-success-message { color: var(--text-muted); max-width: 320px; }
.form-success-btn { display: block; width: fit-content; margin: 0 auto; }

/* ── Page 404 ── */
.notfound-wrap { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.notfound-code { font-size: 6rem; color: var(--cyan-signature); margin-bottom: 0; }

/* ── Accordéons : en-tête sans élément bloc dans le bouton ── */
.accordion-service-text, .accordion-service-title, .accordion-service-desc { display: block; }
.accordion-service-text { flex: 1; }

/* ── Focus clavier visible ── */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan-signature);
  outline-offset: 3px;
}
nav a:focus-visible, .nav-burger:focus-visible, .btn-theme:focus-visible { outline-offset: 2px; }
