/* ─── Palette : noir · gris · rouge ─── */
:root {
  --black: #0d0d0d;
  --gray-bg: #2a2a2a;
  --gray-surface: #353535;
  --gray-border: #4a4a4a;
  --gray-text: #b5b5b5;
  --gray-muted: #7a7a7a;
  --red: #d71920;
  --red-hover: #e51b23;
  --white: #f0f0f0;
  --line: #4a4a4a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 68px;
  --container: 1080px;
  --section-y: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--gray-bg);
  color: var(--white);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--red); color: var(--white);
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.eyebrow.light { color: rgba(255, 255, 255, 0.75); }
.eyebrow.light::before { background: rgba(255, 255, 255, 0.75); }

h1 em { font-style: italic; color: var(--red); }

/* ─── Sections ─── */
.section {
  padding: var(--section-y) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.section--alt {
  background: var(--gray-surface);
}
.section--dark {
  background: var(--black);
}
.section-head {
  max-width: 100%;
  margin: 0 0 40px;
  text-align: left;
}
.section-head--left { text-align: left; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 10px;
  color: var(--white);
}
.section-head .eyebrow { justify-content: flex-start; }
.section-sub {
  margin-top: 10px;
  color: var(--gray-text);
  font-size: 0.95rem;
  max-width: 560px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 56px;
  border-bottom: 1px solid var(--line);
  background-color: var(--gray-surface);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13, 13, 13, 0.9) 0%,
    rgba(42, 42, 42, 0.82) 55%,
    rgba(42, 42, 42, 0.7) 100%
  );
  z-index: 0;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero-brand,
.hero-brand {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  background: #cfcfcf;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.page-hero-brand img,
.hero-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--services { background-image: url("../assets/hero-services.jpg"); }
.page-hero--realisations { background-image: url("../assets/hero-realisations.jpg"); }
.page-hero--apropos { background-image: url("../assets/hero-apropos.jpg"); }
.page-hero--contact { background-image: url("../assets/hero-contact.jpg"); }
.page-hero--ecommerce { background-image: url("../assets/hero-ecommerce.jpg"); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 10px;
  max-width: 640px;
}
.page-hero-lead {
  margin-top: 14px;
  max-width: 520px;
  color: var(--gray-text);
  font-size: 1rem;
}

/* ─── Logo ─── */
.logo-badge {
  display: block;
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #cfcfcf;
  flex-shrink: 0;
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.logo-badge--hero {
  width: 180px; height: 180px;
  position: relative; z-index: 3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .22s, border-color .22s, box-shadow .22s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--white);
  border-color: var(--gray-border);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: color .2s;
}
.text-link span { color: var(--red); transition: transform .22s var(--ease); }
.text-link:hover { color: var(--white); }
.text-link:hover span { transform: translateX(3px); }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--gray-surface);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  background: rgba(53, 53, 53, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.brand-copy small {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--gray-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-text);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: var(--gray-surface); }
.nav-links a.is-active {
  color: var(--white);
  background: var(--red);
}

.nav-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-end .btn { min-height: 38px; padding: 0 16px; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative; z-index: 90;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--white);
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.nav-panel { display: none; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 56px;
  border-bottom: 1px solid var(--line);
  background-color: var(--gray-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 13, 13, 0.92) 0%,
    rgba(42, 42, 42, 0.86) 42%,
    rgba(42, 42, 42, 0.62) 68%,
    rgba(42, 42, 42, 0.48) 100%
  );
  z-index: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero--accueil {
  background-image: url("../assets/hero-accueil.jpg");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--white);
  max-width: 520px;
  line-height: 1.1;
}
.hero-accent {
  display: block;
  margin-top: 6px;
  color: var(--gray-text);
  font-weight: 600;
}
.hero-lead {
  margin-top: 20px;
  max-width: 460px;
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.hero-metrics li strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}
.hero-metrics li span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-muted);
}

/* Hero visual — logo emblème */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-emblem {
  position: relative;
  width: min(380px, 88vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-emblem-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-emblem-rings circle[stroke-dasharray] {
  animation: emblemArcPulse 4s ease-in-out infinite;
}
.hero-emblem-logo {
  position: relative;
  z-index: 2;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(240,240,240,0.95) 100%);
  box-shadow:
    0 0 0 6px rgba(215, 25, 32, 0.15),
    0 0 40px rgba(215, 25, 32, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.35);
  animation: logoPulse 3s ease-in-out infinite;
}
.hero-emblem-logo img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 50%;
}
.hero-float {
  animation: floatY 5s ease-in-out infinite;
}
@keyframes emblemArcPulse {
  0%, 100% { opacity: 1; stroke-width: 2.5; }
  50% { opacity: 0.75; stroke-width: 3; }
}

.browser {
  position: absolute;
  width: 72%;
  background: rgba(53, 53, 53, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: transform .4s var(--ease);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--line);
}
.browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-border);
}
.browser-chrome span:first-child { background: var(--red); opacity: 0.7; }
.browser-viewport {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}
.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.browser-label {
  padding: 8px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-muted);
  border-top: 1px solid var(--line);
}

.browser--back {
  top: 0;
  right: 0;
  z-index: 1;
  opacity: 0.55;
  transform: scale(0.92);
}
.browser--main {
  top: 48px;
  left: 8%;
  z-index: 2;
  width: 78%;
}
.browser--front {
  bottom: 0;
  right: 4%;
  z-index: 3;
  width: 58%;
}
.hero-showcase:hover .browser--main { transform: translateY(-4px); }
.hero-showcase:hover .browser--front { transform: translateY(-6px); }

/* ─── Trust band ─── */
.trust-band {
  padding: 16px 0;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.trust-label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-muted);
  white-space: nowrap;
}
.trust-sectors span {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--line);
  background: var(--gray-surface);
}

/* ─── Cards ─── */
.card {
  background: var(--gray-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.card:hover {
  border-color: var(--gray-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: auto;
}
.service-card--featured {
  border-color: var(--red);
}
.service-card--featured .service-body {
  border-left: 3px solid var(--red);
}
.service-shot {
  height: 190px;
  overflow: hidden;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--line);
}
.service-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-shot img {
  transform: scale(1.04);
}
.service-body {
  padding: 20px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
}
.icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--red);
  background: var(--gray-bg);
  border: 1px solid var(--line);
}
.icon svg { width: 17px; height: 17px; }
.service-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--white); }
.service-body p { color: var(--gray-text); font-size: 0.9rem; flex: 1; }

/* Solutions / expertise (home + services) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-card {
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  text-align: left;
}
.solution-card .icon { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; }
.solution-card .icon svg { width: 20px; height: 20px; }
.solution-card h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.solution-card p:not(.num) { color: var(--gray-text); font-size: 0.9rem; flex: 1; }

.why-grid--2col { grid-template-columns: 1fr 1fr; }
.archive-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 10px 0 14px;
}

/* Why / audience */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.why-card {
  padding: 24px 20px;
  text-align: left;
}
.why-card .num { display: block; margin-bottom: 14px; }
.why-card .icon { margin-bottom: 14px; border-radius: 10px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--gray-text); font-size: 0.88rem; }

.process-step {
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--gray-surface);
  border: 1px solid var(--line);
}
.process-step:hover { border-color: var(--red); }
.process-num {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--white); }
.process-step p { color: var(--gray-text); font-size: 0.85rem; }

/* Works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(215, 25, 32, 0.08) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.work-card:hover::after { opacity: 1; }
.work-shot {
  position: relative;
}
.work-shot::before {
  content: "Voir";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(215, 25, 32, 0.55);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 1;
}
.work-card:hover .work-shot::before {
  opacity: 1;
  transform: scale(1);
}
/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.work-shot {
  height: 200px;
  overflow: hidden;
  background: var(--gray-bg);
}
.work-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-shot img { transform: scale(1.08); }
.text-link span {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.text-link:hover span { transform: translateX(4px); }
.icon {
  transition: transform .35s var(--ease);
}
.card:hover .icon,
.why-card:hover .icon,
.solution-card:hover .icon {
  transform: scale(1.08) rotate(-4deg);
}
.work-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.work-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.work-body p { color: var(--gray-text); font-size: 0.88rem; flex: 1; }

/* Archive */
.archive-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--gray-surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
}
.archive-panel .lead { color: var(--gray-text); font-size: 0.95rem; line-height: 1.7; }
.archive-points li { color: var(--gray-text); }
.archive-flow li {
  background: var(--gray-bg);
}
.archive-flow li::before {
  background: var(--red);
  border: none;
  color: var(--white);
}
.archive-flow span { color: var(--gray-muted); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.testimonial-card { padding: 20px 18px; }
.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.testimonial-author {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.testimonial-author span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--gray-muted);
}
.archive-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 18px;
}
.archive-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}
.archive-points li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.archive-panel--compact .archive-points { margin-bottom: 20px; }
.archive-flow { display: grid; gap: 8px; counter-reset: step; }
.archive-flow li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.archive-flow li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
}
.archive-flow strong { display: block; font-size: 0.88rem; }

/* CTA */
.cta-wrap { padding-bottom: 24px; }
.cta-panel {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius);
  background: var(--red);
}
.cta-panel .eyebrow { justify-content: center; }
.cta-panel h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 8px 0 12px;
  color: var(--white);
}
.cta-panel p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 420px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
}
.cta-note {
  margin-top: 12px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Split layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-card {
  padding: 24px 20px;
  text-align: left;
}
.contact-card .icon { margin-bottom: 14px; border-radius: 10px; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--gray-surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 18px;
  font-family: "Syne", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--red);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; color: var(--gray-text); font-size: 0.88rem; }

.faq-list {
  display: grid;
  gap: 8px;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card p, .contact-card a { color: var(--gray-text); font-size: 0.88rem; }
.contact-card a:hover { color: var(--white); }

.site-footer {
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--gray-surface);
}
.site-footer--minimal { padding: 0; }
.site-footer--minimal .footer-bottom {
  margin-top: 0;
  padding: 10px 0;
  border-top: none;
  justify-content: center;
  gap: 20px;
  font-size: 0.7rem;
}
.footer-links a { color: var(--gray-text); }
.footer-bottom { color: var(--gray-muted); }
.footer-bottom a { color: var(--gray-muted); }

.btn-whatsapp {
  background: var(--red);
  color: var(--white);
  min-height: 48px;
}
.btn-whatsapp:hover { background: var(--red-hover); transform: translateY(-1px); }

.trust-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.trust-sectors {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.trust-band:hover .trust-sectors {
  animation-play-state: paused;
}

/* About gallery */
.about-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-bottom: 40px;
}
.about-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}
.about-gallery-main img,
.about-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.about-gallery-main:hover img,
.about-gallery-side figure:hover img {
  transform: scale(1.04);
}
.about-gallery-side {
  display: grid;
  gap: 14px;
}
.about-gallery-side figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 150px;
}
.about-gallery-side figure img {
  min-height: 150px;
}
.about-caption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gray-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.footer-brand-copy small { font-size: 0.7rem; color: var(--gray-muted); margin-top: 1px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.footer-links a {
  color: var(--gray-text);
  font-size: 0.84rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--gray-muted);
}
.footer-bottom a { color: var(--gray-muted); }
.footer-bottom a:hover { color: var(--white); }

/* Legal */
.legal-page { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 24px; }
.legal-page h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-page p { color: var(--gray-text); max-width: 680px; margin-bottom: 8px; }

/* Modal */
.form-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.form-modal.is-open { opacity: 1; pointer-events: auto; }
.form-backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(12px);
}
.form-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--gray-surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(12px);
  transition: transform .3s var(--ease);
}
.form-modal.is-open .form-card { transform: none; }
.form-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  font-size: 1.4rem;
  color: var(--gray-muted);
  transition: color .2s;
}
.form-close:hover { color: var(--white); }
.form-card h2 { font-size: 1.6rem; margin: 8px 0 6px; }
.form-lead { color: var(--gray-text); margin-bottom: 20px; font-size: 0.9rem; }
.form-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-card label {
  display: grid; gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-text);
}
.form-card .full { grid-column: 1 / -1; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--gray-bg);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--red);
}

/* Layers */
.section, .hero, .site-header, .site-footer, .form-modal, .page-hero, .trust-band { position: relative; z-index: 1; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .07s; }
.delay-2 { transition-delay: .14s; }
.delay-3 { transition-delay: .21s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(215, 25, 32, 0.12); }
  50% { box-shadow: 0 0 0 14px rgba(215, 25, 32, 0.06); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.card,
.product-card,
.process-step,
.why-card {
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover,
.why-card:hover,
.process-step:hover {
  transform: translateY(-4px);
}
.btn-primary {
  box-shadow: 0 8px 24px rgba(215, 25, 32, 0.25);
}
.hero-kicker {
  animation: pulse 2.5s ease-in-out infinite;
}

/* Project modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.project-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.project-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: var(--gray-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  animation: modalIn .4s var(--ease);
}
.project-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--gray-bg);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.project-dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-dialog-media {
  margin: 0;
  min-height: 280px;
  background: var(--gray-bg);
  border-right: 1px solid var(--line);
}
.project-dialog-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.project-dialog-body {
  padding: 28px;
}
.project-dialog-body h3 {
  margin: 18px 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-muted);
}
.project-dialog-body ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--gray-text);
}
.project-dialog-body li { margin-bottom: 6px; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.project-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--gray-text);
  background: var(--gray-bg);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(215, 25, 32, 0.25); }
  50% { box-shadow: 0 8px 32px rgba(215, 25, 32, 0.45); }
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.05); }
}

body.is-loaded .site-header {
  animation: slideDown .5s var(--ease);
}
.hero--accueil::before {
  animation: heroGlow 8s ease-in-out infinite;
}
.btn-primary:not(:disabled) {
  animation: btnGlow 3s ease-in-out infinite;
}
.cta-panel {
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(215, 25, 32, 0.15), transparent 30%);
  animation: spin 12s linear infinite;
  pointer-events: none;
}
.section-head h2 {
  background: linear-gradient(90deg, var(--white), var(--gray-text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  position: relative;
  display: inline-block;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 6px;
  background: var(--red);
  transition: width .6s var(--ease);
}
.reveal.in .eyebrow::after,
.section-head.in .eyebrow::after {
  width: 36px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float,
  .hero-emblem-rings circle[stroke-dasharray],
  .hero-kicker,
  .trust-sectors,
  .btn-primary,
  .hero--accueil::before,
  .cta-panel::before {
    animation: none !important;
  }
  .project-dialog { animation: none; }
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero-grid, .archive-panel, .split-section { grid-template-columns: 1fr; }
  .hero-visual {
    order: -1;
  }
  .hero-emblem { margin: 0 auto; }
  .about-gallery { grid-template-columns: 1fr; }
  .solutions-grid,
  .why-grid,
  .works-grid,
  .testimonials-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .dual-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-end .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: block; }
  .nav-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    position: fixed; inset: 0; z-index: 70;
    padding: 100px 28px 48px;
    background: rgba(42, 42, 42, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav-open .nav-panel { transform: none; }
  .nav-panel a {
    font-family: "Syne", sans-serif;
    font-size: 1.6rem;
    padding: 10px 0;
    color: var(--gray-text);
  }
  .nav-panel a.is-active { color: var(--white); }
  .nav-panel .btn {
    margin-top: 20px;
    width: fit-content;
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
  }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-track { width: 100%; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container, .nav { width: min(var(--container), calc(100% - 24px)); }
  .hero { padding: calc(var(--header-h) + 24px) 0 40px; }
  .hero-emblem { width: min(300px, 82vw); }
  .project-dialog-grid { grid-template-columns: 1fr; }
  .project-dialog-media { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { gap: 20px; }
  .solutions-grid,
  .why-grid,
  .works-grid,
  .testimonials-grid,
  .process,
  .contact-grid,
  .archive-points { grid-template-columns: 1fr; }
  .archive-panel { padding: 24px 18px; }
  .cta-panel { padding: 48px 18px; }
  .work-shot { height: 180px; }
  .nav-panel a { font-size: 1.35rem; }
  .form-card form { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px 18px; }
  .footer-bottom { justify-content: center; }
  .page-hero { padding-top: calc(var(--header-h) + 32px); }
}

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