/*
Theme Name: Soonio
Theme URI: https://soonio.fr
Author: Soonio
Author URI: https://soonio.fr
Description: Thème Soonio — sites et applications, faits en interne. Studio Paris.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Propriétaire
Text Domain: soonio
*/

:root {
  --white: #FFFFFF;
  --white-2: #F7F7F8;
  --ink: #0A0A0B;
  --ink-2: #15151A;
  --ink-3: #1F1F25;
  --indigo: #5B5EFF;
  --indigo-2: #7A7DFF;
  --indigo-deep: #3A3DC9;
  --rule: rgba(10, 10, 11, 0.10);
  --rule-2: rgba(10, 10, 11, 0.16);
  --rule-inv: rgba(255, 255, 255, 0.12);
  --rule-inv-2: rgba(255, 255, 255, 0.20);
  --mute: rgba(10, 10, 11, 0.58);
  --mute-2: rgba(10, 10, 11, 0.40);
  --mute-inv: rgba(255, 255, 255, 0.60);
  --mute-inv-2: rgba(255, 255, 255, 0.40);

  --display: 'Inter Tight', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

::selection { background: var(--indigo); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  position: relative;
}

.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 0.96; }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px var(--pad) 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 12px 10px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: 0 14px 44px rgba(10, 10, 11, 0.10), 0 2px 8px rgba(10, 10, 11, 0.04);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.inverse .nav-inner {
  background: rgba(18, 18, 22, 0.6);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.022em;
}
.brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--indigo);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
}
.nav-link:hover { opacity: 1; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-contact {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
}
.nav-contact:hover { opacity: 1; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 11px 20px;
  border-radius: 100px;
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}
.cta:hover { background: var(--indigo); transform: translateY(-1px); }
.nav.inverse .cta { background: var(--white); color: var(--ink); }
.nav.inverse .cta:hover { background: var(--indigo); color: var(--white); }
.cta .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.cta:hover .arr { transform: translate(4px, 0); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: inherit;
}
.burger span {
  width: 18px; height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
body.menu-open .burger span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 46px);
  letter-spacing: -0.035em;
  color: var(--ink);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.06s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.14s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.18s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu a.mm-cta { color: var(--indigo); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .cta { display: none; }
  .burger { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 150px var(--pad) 110px;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; text-align: center; max-width: 880px; }

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 auto 30px;
}
.hero-title .l { display: block; }
.hero-title .l span {
  display: inline-block;
  animation: heroReveal 1.25s var(--ease) backwards;
}
.hero-title .l:nth-child(1) span { animation-delay: 0.1s; }
.hero-title .l:nth-child(2) span { animation-delay: 0.32s; }
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--indigo);
}
@keyframes heroReveal {
  from {
    transform: translateY(36px) scale(0.97);
    opacity: 0;
    filter: blur(14px);
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.hero-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 34px;
  color: var(--mute);
  animation: heroReveal 1.05s var(--ease) 0.58s backwards;
}
.hero-lede strong { font-weight: 600; color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroReveal 1.05s var(--ease) 0.8s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--indigo); transform: translateY(-2px); }
.btn-primary .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.btn-primary:hover .arr { transform: translate(4px, 0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-2);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

@media (max-width: 760px) {
  .hero {
    padding: 100px var(--pad) 40px;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero-title { font-size: clamp(26px, 7vw, 38px); max-width: 18ch; }
  .hero-title .l { padding-bottom: 0; margin-top: 0; }
  .hero-title .l + .l { margin-top: 4px; }
}

@media (max-width: 700px) {
  .work-card.hide-mobile { display: none; }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--white);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--rule-inv);
}
.marquee-track {
  display: flex;
  gap: 44px;
  animation: tick 42s linear infinite;
  width: max-content;
  align-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.marquee-track > div { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track .dot {
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: 50%;
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION HEAD ============ */
.sec-head {
  display: block;
  padding: 110px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.sec-sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 52ch;
}
.sec.dark .sec-sub { color: var(--mute-inv); }
.sec-head .title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.sec-head .title em { font-style: italic; font-weight: 500; color: var(--indigo); }

.sec.dark .sec-head { border-bottom-color: var(--rule-inv); }

@media (max-width: 760px) {
  .sec-head { padding: 60px 0 36px; }
}

/* ============ SERVICES SWITCH ============ */
.svc-switch {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  padding: clamp(76px, 9vw, 130px) var(--pad);
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
.svc-switch.is-express {
  background: var(--ink);
  color: var(--white);
}
.ss-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  background:
    radial-gradient(ellipse 70% 60% at 78% 18%, rgba(91, 94, 255, 0.24), transparent 60%),
    radial-gradient(ellipse 60% 55% at 12% 92%, rgba(91, 94, 255, 0.12), transparent 60%);
}
.svc-switch.is-express .ss-bg { opacity: 1; }

.ss-wrap { position: relative; z-index: 1; max-width: var(--maxw); }

.ss-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.ss-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: -0.035em;
}

.ss-toggle {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: rgba(10, 10, 11, 0.03);
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease);
}
.svc-switch.is-express .ss-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.ss-tab {
  position: relative;
  z-index: 1;
  padding: 11px 22px;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: var(--mute);
  transition: color 0.4s var(--ease);
}
.svc-switch.is-express .ss-tab { color: rgba(255, 255, 255, 0.55); }
.ss-tab.is-active { color: #fff; }
.ss-ind {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  border-radius: 100px;
  background: var(--indigo);
  box-shadow: 0 6px 22px rgba(91, 94, 255, 0.45);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
  z-index: 0;
}

.ss-panel { display: none; }
.ss-panel.is-active { display: block; animation: ssFade 0.5s var(--ease); }
@keyframes ssFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.ss-express-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin-bottom: 44px;
}
.ss-express-title em { font-style: italic; font-weight: 500; color: var(--indigo); }
.ss-express-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ss-express-body {
  font-size: 17px;
  line-height: 1.55;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.66);
}
.ss-express-body strong { color: #fff; font-weight: 600; }
.ss-express-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.ss-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.ss-cta:hover { transform: translateY(-2px); background: var(--indigo); color: #fff; }
.ss-cta .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.ss-cta:hover .arr { transform: translate(4px, 0); }
.ss-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  max-width: 32ch;
}

/* Services list (panel "Ce qu'on fait") */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-2);
}
.svc-switch:not(.is-express) .services-grid { border-top-color: var(--rule-2); }
.svc {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 36px 4px;
  border-bottom: 1px solid var(--rule-2);
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: padding-left 0.5s var(--ease), background 0.4s var(--ease);
}
.svc:nth-child(odd) { border-right: 1px solid var(--rule-2); padding-right: 36px; }
.svc:nth-child(even) { padding-left: 36px; }
.svc:hover { background: var(--white-2); padding-left: 20px; }
.svc:nth-child(even):hover { padding-left: 52px; }
.svc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px; height: 4px;
  background: var(--indigo);
  border-radius: 50%;
  transform: translate(-12px, -50%) scale(0);
  transition: transform 0.4s var(--ease);
}
.svc:hover::before { transform: translate(0, -50%) scale(1); }
.svc:nth-child(even):hover::before { transform: translate(32px, -50%) scale(1); }
.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.svc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.svc:hover .svc-title { color: var(--indigo); }
.svc-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  margin-top: 6px;
  max-width: 44ch;
}
.svc-arr {
  font-family: var(--display);
  font-size: 22px;
  color: var(--mute);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.svc:hover .svc-arr { color: var(--indigo); transform: translate(6px, 0); }

@media (max-width: 880px) {
  .ss-express-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}
@media (max-width: 760px) {
  .ss-head { margin-bottom: 36px; }
  .ss-tab { padding: 10px 16px; font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc:nth-child(odd) { border-right: none; padding-right: 4px; }
  .svc:nth-child(even) { padding-left: 4px; }
  .svc-title { font-size: 24px; }
}

/* ============ WORK / PROJETS ============ */
.sec.work {
  background: var(--ink);
  color: var(--white);
  padding: 0 var(--pad) 120px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  background: var(--ink-2);
  border: 1px solid var(--rule-inv);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
  position: relative;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--rule-inv-2); }

.work-cover {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.work-cover.solid::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  pointer-events: none;
}

.work-cover .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3;
  color: #fff;
}

/* Covers screenshots */
.work-cover.shot {
  padding: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.work-cover.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.06) 0%, rgba(10,10,11,0) 35%);
  pointer-events: none;
}

/* Covers solid (apps) */
.work-cover.solid {
  background: var(--ink);
}
.work-cover.c-customz-app {
  background: linear-gradient(135deg, #C7A4E8 0%, #9B7AD1 60%, #7E5BC0 100%);
}
.work-cover.c-pointage {
  background: linear-gradient(135deg, #1F1F25 0%, #0A0A0B 100%);
}
.work-cover .cover-logo {
  max-width: 58%;
  height: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .cover-logo { transform: scale(1.04); }
.work-cover .cover-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .cover-text { transform: scale(1.04); }

.work-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-inv);
}
.work-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.work-name .arr {
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.work-card:hover .arr { transform: translate(4px, 0); color: var(--indigo); }

.work-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mute-inv);
}
.work-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--rule-inv);
  margin-top: auto;
}
.work-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mute-inv);
}

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ============ FINAL CTA + CONTACT FORM ============ */
.sec.final {
  background: var(--white);
  padding: 120px var(--pad);
  position: relative;
  overflow: hidden;
}
.final-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.final > .wrap { position: relative; z-index: 1; }

.final-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
}
.final-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.final-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.final-title em { font-style: italic; font-weight: 500; color: var(--indigo); }

.final-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 24px 0 0;
  max-width: 56ch;
}

.final-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: center;
  padding: 32px;
  border: 1px solid var(--rule-2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
.final-info .row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.final-info .row:last-child { border-bottom: none; padding-bottom: 0; }
.final-info .row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.final-info .row .v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.final-info .row .v a:hover { color: var(--indigo); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-form label .req { color: var(--indigo); margin-left: 4px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 14px 16px;
  border: 1px solid var(--rule-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 94, 255, 0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--body);
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230A0A0B' d='M6 8L0 0h12z' opacity='.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.cf-submit {
  align-self: flex-start;
  margin-top: 6px;
  padding: 16px 26px;
  font-size: 14.5px;
  cursor: pointer;
}
.cf-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.cf-status {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 18px;
  border-radius: 12px;
  display: none;
}
.cf-status.is-ok {
  display: block;
  background: rgba(91, 94, 255, 0.08);
  color: var(--indigo-deep);
  border: 1px solid rgba(91, 94, 255, 0.18);
}
.cf-status.is-err {
  display: block;
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.18);
}

@media (max-width: 880px) {
  .final-inner { grid-template-columns: 1fr; gap: 40px; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px var(--pad) 28px;
  border-top: 1px solid var(--rule-inv);
}
.foot-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule-inv);
}
.foot-mark .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.foot-mark .name em { font-style: italic; font-weight: 500; color: var(--indigo); }
.foot-mark .baseline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute-inv);
  margin-top: 20px;
  max-width: 36ch;
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-inv);
  margin-bottom: 18px;
  font-weight: 400;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col li a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  position: relative;
  width: fit-content;
}
.foot-col li a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.foot-col li a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot-bottom {
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-inv);
}
.foot-bottom .right { display: flex; gap: 20px; }

@media (max-width: 880px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-mark { grid-column: 1 / 3; }
  .foot-mark .name { font-size: 48px; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-mark { grid-column: 1; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  filter: blur(14px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger pour grids — work cards en cascade par colonne */
.work-card.reveal:nth-child(3n+2) { transition-delay: 0.12s; }
.work-card.reveal:nth-child(3n+3) { transition-delay: 0.24s; }
.svc.reveal:nth-child(even) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .hero-title .l span { animation: none; }
}
