/* =========================================================
   STRUCTA Ingénierie — Feuille de styles principale
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

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

/* ---------- Tokens ---------- */
:root {
  --ink: #0c1a12;
  --ink-2: #13261b;
  --ink-3: #1c3a29;
  --accent: #ef5a28;
  --accent-soft: #ff8a5c;
  --sand: #f4efe6;
  --paper: #fbf9f5;
  --text: #0f1d16;
  --muted: #5c6a5f;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(12, 26, 18, 0.12);
  --max: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Ancres : compenser le header fixe */
[id] { scroll-margin-top: 96px; }

/* ---------- Typographie ---------- */
.display {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

.h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.on-dark .lead,
.on-dark .muted { color: rgba(255, 255, 255, 0.66); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }

.btn:hover { background: #d34a1b; transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { background: var(--ink-3); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-light);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--sm { padding: 0.72rem 1.1rem; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-light);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(12, 26, 18, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  flex: none;
}

.logo svg { width: 38px; height: 38px; color: var(--accent); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav a:not(.btn) {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:not(.btn):hover,
.nav a.is-active { color: #fff; }

.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

.burger.is-open span:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 9rem 3rem;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% 18%, rgba(239, 90, 40, 0.22), transparent 65%),
    radial-gradient(700px 500px at 8% 92%, rgba(20, 105, 62, 0.38), transparent 70%),
    linear-gradient(180deg, #0c1a12 0%, #112a1c 55%, #0c1a12 100%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.hero h1 { margin-block: 0 1.6rem; }

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: rgba(255, 255, 255, 0.68);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.6rem;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.blueprint-wrap { position: relative; }

.blueprint {
  width: 100%;
  height: auto;
  color: rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.blueprint .draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 3.4s var(--ease) 0.4s forwards;
}

.blueprint .draw-2 {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 3s var(--ease) 0.9s forwards;
}

.blueprint .node { animation: pulse 3.5s ease-in-out infinite; transform-origin: center; }
.blueprint .node:nth-of-type(2) { animation-delay: 0.7s; }
.blueprint .node:nth-of-type(3) { animation-delay: 1.4s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

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

.hero-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-dark);
}

.hero-foot .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-foot .stat-num em {
  font-style: normal;
  color: var(--accent);
}

.hero-foot .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.35rem;
}

/* ---------- Bandeau ---------- */
.ticker {
  background: var(--ink-2);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding-block: 0.85rem;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
}

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

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

.section--sand { background: var(--sand); }

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .h2 { max-width: 17ch; }

.section-head p { max-width: 44ch; }

.section--dark .lead { color: rgba(255, 255, 255, 0.62); }

/* ---------- Intro / split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.intro-list {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.1rem;
}

.intro-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.9rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.intro-list li strong { color: var(--text); }

.intro-list .tick {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: rgba(239, 90, 40, 0.1);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.pull-quote {
  border-left: 2px solid var(--accent);
  padding-left: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 2rem;
}

/* ---------- Grille services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.services-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  transition: background 0.35s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover { background: #fff; }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.8rem;
  display: block;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.service-card h3 { margin-bottom: 0.7rem; }

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.service-card ul {
  font-size: 0.84rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.service-card ul li::before {
  content: "— ";
  color: var(--accent);
}

/* ---------- Réalisations ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter {
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter:hover { border-color: var(--ink); color: var(--ink); }

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.project {
  position: relative;
  display: block;
  background: var(--ink-2);
  color: #fff;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  isolation: isolate;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.project.is-hidden {
  display: none;
}

.project-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(239, 90, 40, 0.16), transparent 55%),
    linear-gradient(180deg, #143326 0%, #0a1710 100%);
  transition: transform 0.7s var(--ease);
}

.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 80%);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 14, 9, 0.92) 100%);
}

.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.7s var(--ease);
}

.project:hover .project-img { transform: scale(1.04); }

.project-media--photo::before { display: none; }

.project-media--photo::after {
  background: linear-gradient(180deg, rgba(6, 14, 9, 0.1) 0%, rgba(6, 14, 9, 0.6) 48%, rgba(6, 14, 9, 0.97) 88%);
}

/* Lisibilité du texte sur les photos claires */
.project-media--photo + .project-body {
  background: linear-gradient(0deg, rgba(6, 14, 9, 0.94) 0%, rgba(6, 14, 9, 0.6) 30%, transparent 62%);
}

.project-media--photo + .project-body h3 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.project-shape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 78%;
  opacity: 0.5;
  transition: transform 0.8s var(--ease), opacity 0.5s var(--ease);
}

.project:hover .project-media { transform: scale(1.04); }
.project:hover .project-shape { transform: translate(6px, -6px); opacity: 0.85; }

.project-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.project h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.project-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.project:hover .project-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Processus ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.process-step {
  position: relative;
  padding: 2.2rem 1.6rem 0 0;
  border-right: 1px solid var(--line-dark);
}

.process-step:last-child { border-right: 0; padding-right: 0; }

.process-step .num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.8rem;
}

.process-step h3 { font-size: 1.16rem; margin-bottom: 0.6rem; }

.process-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 30ch;
}

/* ---------- Témoignage ---------- */
.quote-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 0.7;
  color: var(--accent);
  font-weight: 800;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote-author {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}

.quote-author strong { display: block; font-size: 0.92rem; }
.quote-author span { font-size: 0.8rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(239, 90, 40, 0.28), transparent 70%),
    linear-gradient(120deg, #0a1710, #13301f);
  z-index: -1;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta-inner .h2 { max-width: 18ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: #07110b;
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-grid a:hover { color: var(--accent-soft); }

.footer-links { display: grid; gap: 0.6rem; font-size: 0.88rem; }

.footer-brand p { max-width: 32ch; margin-top: 1.2rem; font-size: 0.86rem; }

.footer-contact li { display: grid; gap: 0.2rem; margin-bottom: 0.9rem; }

.footer-contact span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 82% 15%, rgba(239, 90, 40, 0.22), transparent 68%),
    linear-gradient(180deg, #0c1a12, #11291b);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
  z-index: -1;
}

.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 1.2rem; }

.page-hero .lead { color: rgba(255, 255, 255, 0.66); }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1.6rem;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent); }

/* ---------- Services détaillés ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-light);
  align-items: start;
}

.service-detail:first-of-type { padding-top: 0; }
.service-detail:last-of-type { border-bottom: 0; padding-bottom: 0; }

.service-detail .num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.2rem;
}

.service-detail h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
}

.service-detail p { color: var(--muted); margin-bottom: 1.4rem; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.5rem;
  margin-top: 1.6rem;
}

.check-grid li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.check-grid li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex: none;
}

.detail-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #12301f, #0c1a12);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.detail-visual svg { width: 70%; color: rgba(255, 255, 255, 0.5); }

.detail-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
}

.detail-visual .code {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* ---------- Valeurs / équipe ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.value {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.value .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.value h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.value p { font-size: 0.9rem; color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.member-photo {
  aspect-ratio: 3 / 3.6;
  background: linear-gradient(160deg, #1a4230, #0a1710);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.member-photo span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.member h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.member p { font-size: 0.8rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  margin-top: 2.5rem;
}

.tl-item {
  padding: 1.8rem 1.4rem 0 0;
  border-right: 1px solid var(--line-light);
  position: relative;
}

.tl-item:last-child { border-right: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.tl-item p { font-size: 0.86rem; color: var(--muted); max-width: 26ch; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.45rem; }

.field label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 90, 40, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }

.field-error {
  font-size: 0.74rem;
  color: #c0392b;
  display: none;
}

.field.has-error .field-error { display: block; }

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
}

.check input { width: 16px; height: 16px; margin-top: 3px; flex: none; accent-color: var(--accent); }

.form-note { font-size: 0.74rem; color: var(--muted); }

.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: rgba(39, 174, 96, 0.1);
  border-left: 3px solid #27ae60;
  font-size: 0.88rem;
  color: #1e7d47;
}

.form-success.is-visible { display: block; }

.contact-card {
  background: var(--ink);
  color: #fff;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}

.contact-card h2 { font-size: 1.4rem; margin-bottom: 1.6rem; }

.contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-dark);
}

.contact-item:last-of-type { border-bottom: 0; }

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--accent);
}

.contact-item .ci-icon svg { width: 17px; height: 17px; }

.contact-item span {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item strong,
.contact-item a { font-size: 0.92rem; font-weight: 500; }
.contact-item a:hover { color: var(--accent-soft); }

.map-frame {
  position: relative;
  aspect-ratio: 16 / 8;
  background: linear-gradient(140deg, #163826, #0c1a12);
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-dark);
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: 0;
}

.map-pin {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(239, 90, 40, 0.2), 0 0 0 20px rgba(239, 90, 40, 0.08);
  animation: puff 2.6s ease-out infinite;
}

@keyframes puff {
  0%, 100% { box-shadow: 0 0 0 8px rgba(239, 90, 40, 0.2), 0 0 0 20px rgba(239, 90, 40, 0.08); }
  50% { box-shadow: 0 0 0 12px rgba(239, 90, 40, 0.14), 0 0 0 30px rgba(239, 90, 40, 0.05); }
}

.map-label {
  position: absolute;
  bottom: 1.4rem;
  left: 1.6rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.3rem 0.5rem;
  background: rgba(12, 26, 18, 0.7);
}

.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }

.faq-item { border-bottom: 1px solid var(--line-light); }

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 1.4rem 2.5rem 1.4rem 0;
  position: relative;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s;
  z-index: 90;
}

.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Logo ALBUC ---------- */
.logo--albuc { gap: 0.85rem; }

.logo-plaque {
  display: grid;
  place-items: center;
  background: #fff;
  padding: 5px 7px;
  border-radius: 2px;
  flex: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.logo-plaque img {
  height: 32px;
  width: auto;
  display: block;
}

.logo--albuc .logo-text strong { letter-spacing: 0.18em; font-size: 1.06rem; }
.logo--albuc .logo-text span { letter-spacing: 0.17em; font-size: 0.55rem; }

/* ---------- Héros : visuel projet ---------- */
.hero-figure {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 62px;
  height: 3px;
  background: var(--accent);
}

.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.96) contrast(1.03);
}

.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.2rem 0.15rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.hero-figure figcaption span:first-child { color: var(--accent-soft); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-foot--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Réseaux sociaux ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.3rem;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 15px; height: 15px; }

/* ---------- Newsletter ---------- */
.newsletter { margin-top: 0.9rem; }

.newsletter-row {
  display: flex;
  gap: 0.4rem;
  max-width: 100%;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.62rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  color: #fff;
  font-size: 0.82rem;
}

.newsletter input::placeholder { color: rgba(255, 255, 255, 0.35); }
.newsletter input:focus { outline: none; border-color: var(--accent); }

.newsletter button {
  padding: 0 1rem;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}

.newsletter button:hover { background: #d34a1b; }

.newsletter-msg {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

.newsletter-msg.is-visible { display: block; }

/* ---------- Partenaires ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line-light);
  padding: 1.1rem 1.5rem;
  display: grid;
  place-items: center;
  min-width: 150px;
}

.partner-card img {
  height: 54px;
  width: auto;
  display: block;
}

.partner-card span {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Bloc légal ---------- */
.legal {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 1.2rem;
}

.legal strong { color: rgba(255, 255, 255, 0.5); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
  .process-step:nth-child(2) { border-right: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(12, 26, 18, 0.98);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0.45s;
    z-index: 110;
  }

  .nav.is-open { transform: none; opacity: 1; visibility: visible; }

  .nav a:not(.btn) { font-size: 1.1rem; letter-spacing: 0.12em; }
  .nav .btn { margin-top: 0.5rem; }

  .hero { min-height: auto; padding-block: 7.5rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .blueprint-wrap { order: -1; max-width: 290px; margin-inline: auto; opacity: 0.75; }
  .logo-plaque img { height: 27px; }
  .logo--albuc .logo-text strong { font-size: 0.95rem; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }

  .split,
  .quote-block,
  .contact-layout,
  .service-detail { grid-template-columns: 1fr; }

  .quote-mark { font-size: 5rem; }

  .projects-grid { grid-template-columns: 1fr; }
  .project { aspect-ratio: 16 / 12; }

  .values { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .tl-item:nth-child(2) { border-right: 0; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .blueprint-wrap { max-width: 250px; }
  .hero-foot--3 { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .hero-foot--3 .stat-num { font-size: 1.45rem; }
  .hero-foot--3 .stat-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .logo--albuc .logo-text span { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .detail-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .blueprint .draw,
  .blueprint .draw-2 { stroke-dashoffset: 0; }
}

/* ================= NAV DESKTOP : numéro + libellé ================= */
.nav > a.nav-link { display: inline-flex; align-items: baseline; gap: .5rem; }
.nav > a.nav-link .nav-index {
  font-size: .58rem; letter-spacing: .1em; color: var(--accent);
  font-weight: 600; line-height: 1;
}

/* ================= MENU MOBILE (drawer) ================= */
.nav-head, .nav-foot { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(6, 14, 9, .6); backdrop-filter: blur(4px); z-index: 105; }
.nav-backdrop[hidden] { display: none; }
body.nav-open { overflow: hidden; }
body.nav-open .burger { opacity: 0; visibility: hidden; pointer-events: none; }
.burger { transition: opacity .2s var(--ease), visibility .2s; }

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(420px, 100%); height: 100dvh;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 0 1.5rem 2rem;
    background: #0a1710; border-left: 1px solid rgba(255,255,255,.08);
    transform: translateX(100%); visibility: hidden; opacity: 1;
    transition: transform .5s cubic-bezier(.22,.61,.36,1), visibility .5s;
    overflow-y: auto; z-index: 110;
  }
  .nav.is-open { transform: none; visibility: visible; }

  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 0 1.6rem; border-bottom: 1px solid rgba(255,255,255,.1);
    position: sticky; top: 0; background: #0a1710; z-index: 2;
  }
  .nav-head-label { font-family: var(--font-display); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.4); }
  .nav-close {
    width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
    background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer;
    transition: border-color .25s var(--ease), color .25s var(--ease);
  }
  .nav-close:hover { border-color: var(--accent); color: var(--accent); }
  .nav-close svg { width: 15px; height: 15px; display: block; }

  .nav > a.nav-link {
    display: flex; align-items: baseline; gap: .9rem;
    padding: 1.05rem 0; font-size: 1.45rem; letter-spacing: .01em;
    color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.08);
    opacity: 0; transform: translateX(18px);
  }
  .nav-index { font-size: .6rem; letter-spacing: .18em; color: var(--accent); }
  .nav.is-open > a.nav-link { animation: navIn .45s cubic-bezier(.22,.61,.36,1) forwards; }
  .nav.is-open > a.nav-link:nth-child(2) { animation-delay: .08s; }
  .nav.is-open > a.nav-link:nth-child(3) { animation-delay: .13s; }
  .nav.is-open > a.nav-link:nth-child(4) { animation-delay: .18s; }
  .nav.is-open > a.nav-link:nth-child(5) { animation-delay: .23s; }
  .nav.is-open > a.nav-link:nth-child(6) { animation-delay: .28s; }
  @keyframes navIn { to { opacity: 1; transform: none; } }

  .nav .nav-cta { margin-top: 1.4rem; width: 100%; opacity: 0; animation: navIn .4s .34s forwards; }
  .nav-foot { display: grid; gap: .45rem; margin-top: auto; padding-top: 1.6rem; opacity: 0; animation: navIn .4s .4s forwards; }
  .nav .nav-foot a, .nav .nav-foot span {
    font-size: .86rem; letter-spacing: 0; text-transform: none;
    color: rgba(255,255,255,.55); font-family: var(--font-body);
  }
  .nav .nav-foot a:hover { color: var(--accent-soft); }
  .nav-foot a:hover { color: var(--accent-soft); }
}
@media (min-width: 861px) { .nav-backdrop { display: none !important; } }

/* ================= FOOTER : ligne unique ================= */
.footer-bottom { display: block; padding-top: 1.8rem; }
.footer-legal { font-size: .74rem; color: rgba(255,255,255,.42); line-height: 1.7; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.footer-legal::-webkit-scrollbar { display: none; }
.footer-legal a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--accent-soft); }
.footer-sep { color: var(--accent); margin-inline: .35rem; }
@media (max-width: 1023px) { .footer-legal { white-space: normal; } }

/* ================= FICHE PROJET ================= */
.project-hero { background: var(--ink); color: #fff; padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.project-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 10%, rgba(239,90,40,.2), transparent 70%), linear-gradient(180deg, #0c1a12, #102a1c); z-index: 0; }
.project-hero .container { position: relative; z-index: 1; }
.project-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: .6rem 0 1.8rem; max-width: 18ch; }
.project-facts-inline { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem; }
.project-facts-inline li { font-size: .92rem; color: rgba(255,255,255,.85); }
.project-facts-inline span { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: .25rem; }
.project-cover { margin: -3rem auto 0; position: relative; z-index: 2; border: 1px solid var(--line-light); background: #fff; }
.project-cover img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.article-layout { display: grid; grid-template-columns: 1.55fr .75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: var(--text); margin-bottom: 2rem; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2rem 0 .8rem; }
.article-body p { color: var(--muted); margin-bottom: 1rem; }
.article-list { display: grid; gap: .5rem; margin: 1rem 0 1.6rem; }
.article-list li { display: flex; gap: .6rem; font-size: .92rem; color: var(--muted); }
.article-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.article-note { font-size: .9rem; }
.article-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.facts { background: #fff; border: 1px solid var(--line-light); padding: 1.6rem; position: sticky; top: 90px; }
.facts-title { font-size: .72rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; margin: 0 0 1rem !important; }
.facts dl { margin: 0 0 1.4rem; }
.facts dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-light); font-size: .86rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.facts .btn { width: 100%; }
.projects-note { margin-top: 2rem; font-size: .8rem; color: var(--muted); max-width: 70ch; }
.projects-credits { margin-top: .5rem; font-size: .7rem; line-height: 1.6; color: var(--muted); opacity: .65; max-width: 80ch; }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
  .project-cover { margin-top: -1.5rem; }
}

/* ==========================================================================
   Compléments thème WordPress — formulaire, contenus éditoriaux, filtres
   ========================================================================== */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; color: #0c1a12; padding: .7rem 1.1rem; border-radius: 0 0 6px 0; font-size: .85rem; }
.skip-link:focus { left: 0; }

.entry-content { font-size: 1.02rem; line-height: 1.75; color: var(--muted); max-width: 68ch; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); line-height: 1.2; margin-top: 1.8em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-content h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.2rem; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 1rem; margin-top: .45rem; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.2rem; font-style: italic; color: var(--ink); }
.entry-content img, .entry-content figure img { border-radius: 10px; height: auto; }
.entry-content figcaption { font-size: .78rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid rgba(12,26,18,.12); padding: .6rem .5rem; text-align: left; }

/* Formulaire de contact */
.contact-form { background: #fff; border: 1px solid rgba(12,26,18,.1); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 1rem; box-shadow: 0 18px 45px -32px rgba(12,26,18,.45); }
.contact-form label { display: grid; gap: .4rem; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: .75rem .85rem; border: 1px solid rgba(12,26,18,.18); border-radius: 8px; background: #fcfcfa; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-note { font-size: .86rem; padding: .75rem .9rem; border-radius: 8px; }
.form-note--ok { background: rgba(37,140,80,.1); color: #17603a; border: 1px solid rgba(37,140,80,.3); }
.form-note--ko { background: rgba(180,40,30,.08); color: #8d2318; border: 1px solid rgba(180,40,30,.3); }
.form-legal { font-size: .72rem; color: var(--muted); }
.contact-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-form .btn { justify-self: start; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.split--contact { align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; gap: .2rem; font-size: .95rem; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(12,26,18,.18); width: fit-content; }
.contact-list a:hover { color: var(--accent); border-color: var(--accent); }
.captcha-q { text-transform: none; letter-spacing: 0; font-size: .9rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.captcha-q strong { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.captcha input { max-width: 9rem; }

/* E-mail affiché en image (anti-moisson) */
.email-img { display: block; max-width: 100%; height: auto; }
.contact-list .email-img { margin-top: .1rem; }
.site-footer .email-img, .footer-contact .email-img { opacity: .92; }

.contact-label { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Filtres et pagination du portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { font-family: var(--font-body); font-size: .78rem; letter-spacing: .04em; padding: .5rem 1rem; border-radius: 40px; border: 1px solid rgba(12,26,18,.18); background: transparent; color: var(--ink); cursor: pointer; transition: all .2s ease; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: 3rem; list-style: none; padding: 0; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 .8rem; border-radius: 8px; border: 1px solid rgba(12,26,18,.16); font-size: .85rem; color: var(--ink); text-decoration: none; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent); }

/* Actualités */
.posts-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { border: 1px solid rgba(12,26,18,.1); border-radius: 12px; overflow: hidden; background: #fff; }
.post-media img { display: block; width: 100%; height: 200px; object-fit: cover; }
.post-body { padding: 1.2rem 1.2rem 1.5rem; display: grid; gap: .5rem; }
.post-body time { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-body h2 a { text-decoration: none; color: var(--ink); }
.post-body h2 a:hover { color: var(--accent); }

/* Fiche projet */
.project-cover { margin: clamp(1.5rem, 4vw, 3rem) 0 0; border-radius: 14px; overflow: hidden; }
.project-cover img { display: block; width: 100%; height: auto; }
.project-aside { border: 1px solid rgba(12,26,18,.12); border-radius: 12px; padding: clamp(1.2rem, 3vw, 1.8rem); align-self: start; background: #fbfbf8; }
.project-aside h2 { margin-bottom: 1rem; }
.project-facts { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; font-size: .9rem; margin-bottom: 1.5rem; }
.project-facts dt { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .18rem; }
.project-facts dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Pied de page : titres de colonnes */
.footer-title { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; font-weight: 600; }

/* CTA actions */
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.muted { color: var(--muted); }

/* Menu : titre du tiroir */
.nav-title { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); }



/* Boutons fantômes sur fond clair : contour et texte lisibles */
.section .btn--ghost,
.page-hero .btn--ghost { border-color: rgba(12,26,18,.28); color: var(--ink); }
.section .btn--ghost:hover,
.page-hero .btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(239,90,40,.06); }
.section--dark .btn--ghost,
.cta-band .btn--ghost,
.site-footer .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.site-footer .btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(239,90,40,.1); }

/* Bandeau photo des pages éditoriales : recadré, jamais envahissant */
.page-cover { margin: clamp(1.4rem, 3.5vw, 2.6rem) 0 0; border-radius: 14px; overflow: hidden; }
.page-cover img { display: block; width: 100%; height: clamp(220px, 38vw, 430px); object-fit: cover; }

/* Liens légaux du pied de page */
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-legal-links { display: flex; gap: 1.1rem; }
.footer-legal-links a { font-size: .72rem; color: rgba(255,255,255,.5); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1px; }
.footer-legal-links a:hover { color: var(--accent-soft); border-color: var(--accent-soft); }
@media (min-width: 1400px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Pied de page : colonnes alignées ---------- */
.footer-grid { align-items: start; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: .55rem; }
.footer-links h3, .footer-contact h3 { margin: 0 0 .45rem; }
.footer-links ul, .footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links li, .footer-contact li { margin: 0; }
.footer-links a, .footer-contact a { font-size: .88rem; }

/* ---------- Page À propos : valeurs ---------- */
.values-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.value-card { border: 1px solid rgba(12,26,18,.12); border-radius: 12px; padding: 1.4rem 1.3rem; background: #fff; }
.value-card .value-num { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.value-card h3 { font-size: 1.05rem; margin: .5rem 0 .5rem; color: var(--ink); }
.value-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.facts-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.facts-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; font-size: .92rem; border-top: 1px solid rgba(12,26,18,.1); padding-top: .7rem; }
.facts-list span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }

/* ==========================================================
   Bouton WhatsApp flottant (rond, officiel)
   ========================================================== */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #1ebe5b; transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 32px rgba(37, 211, 102, .5); }
.wa-float:focus-visible { outline: 3px solid #0f6b36; outline-offset: 3px; }
.wa-float-label {
  position: absolute;
  right: calc(100% + .7rem);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: .74rem;
  letter-spacing: .04em;
  padding: .45rem .7rem;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
.to-top { bottom: 6rem; }
@media (max-width: 620px) {
  .wa-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
  .wa-float svg { width: 29px; height: 29px; }
  .wa-float-label { display: none; }
  .to-top { bottom: 5.5rem; right: 1rem; }
}

/* ==========================================================
   Page Services : liste détaillée
   ========================================================== */
.services-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.service-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid rgba(12, 26, 18, .13);
}
.service-row:last-child { border-bottom: 1px solid rgba(12, 26, 18, .13); }
.s-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: rgba(12, 26, 18, .16);
  transition: color .3s var(--ease);
}
.service-row:hover .s-num { color: var(--accent); }
.s-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .55rem; }
.s-icon { width: 30px; height: 30px; color: var(--accent); flex: none; }
.s-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.01em; color: var(--ink); margin: 0; }
.s-body p { color: var(--muted); font-size: .97rem; line-height: 1.65; max-width: 62ch; margin: 0 0 .85rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.chips li {
  font-size: .74rem;
  letter-spacing: .02em;
  padding: .3rem .7rem;
  border-radius: 40px;
  border: 1px solid rgba(12, 26, 18, .16);
  color: var(--ink);
  background: #fff;
}
@media (max-width: 620px) {
  .service-row { grid-template-columns: 1fr; gap: .6rem; }
  .s-num { font-size: 1.5rem; color: var(--accent); }
}
