/* =========================================================
   Agence DNP — style.css (Clay-inspired)
   Palette warm cream, type display serif italics,
   bento + product mockups.
   ========================================================= */

:root {
  /* Palette Sanzo Wada — fond bleu-eau pâle */
  /* Fond : mizu-iro / byakugun (bleu d'eau, pâle céladon) */
  --bg: #E2EBEA;
  --bg-cream: #D2DEDD;
  --bg-alt: #F4F8F7;
  --bg-dark: #14283A;       /* kon-iro profond */
  --bg-dark-2: #1C3447;

  /* Encre : sumi tirée vers le bleu */
  --text: #161B22;
  --ink: #161B22;
  --muted: #56616A;
  --muted-light: #8A949B;
  --steel: #1E4A6E;         /* asagi · bleu indigo clair */

  /* Accents Wada */
  --green: #4F7A6A;         /* seiji · céladon profond */
  --green-soft: #C9D9D2;
  --orange: #B85C3F;        /* shu-iro · vermillon doux */
  --orange-soft: #ECCDB8;
  --gold: #C49A48;          /* yamabuki · jaune doré */
  --brick: #9B3F2E;         /* bengara · brique japonaise */

  --border: #B8C8C6;
  --border-soft: #CCD8D6;
  --line-dark: #2A4055;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-title: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 12px 30px -16px rgba(15, 23, 42, .18), 0 3px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 40px 80px -36px rgba(15, 23, 42, .35);
  --shadow-card: 0 4px 14px -6px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);

  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}
h3 { font-size: 1.2rem; line-height: 1.3; }
h4 { font-size: .95rem; }
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }
.container.narrow { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ===== Display headlines (Clay-style) ===== */
.display {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
}
.display em,
.display-md em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display.light em, .display-md.light em { color: #FBE9CE; }

.display-md {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.display-md.light { color: #F2EAD8; }

/* ===== Pill / labels ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(14, 17, 22, .06);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: var(--s2);
  font-weight: 500;
}
.pill-light {
  color: #F2EAD8;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .55);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::after {
  left: 100%;
}
.btn-primary:hover { 
  background: #000; 
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, .7);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14,17,22,.18);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.jalon {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
  margin-left: 4px;
  border-radius: 1px;
  transition: transform .45s cubic-bezier(.6,.05,.2,1);
}
.btn:hover .jalon { transform: rotate(225deg); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(226, 235, 234, .85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(201, 191, 166, .6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 14px var(--s3);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); }
.logo-text { font-weight: 800; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-mark {
  width: 14px; height: 14px;
  background: var(--orange);
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
  transform-origin: center;
  animation: logoBounce 4.5s cubic-bezier(.34, 1.56, .64, 1) infinite;
  transition: transform .5s cubic-bezier(.6,.05,.2,1), background .3s;
}
.logo:hover .logo-mark {
  animation: none;
  transform: rotate(225deg);
  background: var(--orange);
}

@keyframes logoBounce {
  0%, 60% {
    background: var(--orange);
    transform: rotate(45deg) scale(1);
  }
  70% {
    background: var(--ink);
    transform: rotate(225deg) scale(1.25);
  }
  80% {
    background: var(--orange);
    transform: rotate(360deg) scale(0.92);
  }
  88% {
    transform: rotate(405deg) scale(1.08);
  }
  100% {
    background: var(--orange);
    transform: rotate(405deg) scale(1);
  }
}

.site-footer .logo-mark {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark { animation: none; }
}

.header-menu {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 2px;
  height: 1px; width: 0;
  background: var(--ink);
  transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  z-index: 51;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform .3s ease, opacity .25s ease;
  transform-origin: center;
}
.site-header.open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: var(--s2) var(--s3) var(--s3);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .site-header.open .header-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header-menu .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .header-menu .nav a {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .header-menu .nav a::after { display: none; }
  .header-menu .header-cta {
    align-self: stretch;
    justify-content: center;
    margin-top: var(--s2);
  }
}

/* ===== Hero (Clay) ===== */
.hero-clay {
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero-clay::before,
.hero-clay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.hero-clay::before { width: 540px; height: 540px; left: -160px; top: -120px; background: radial-gradient(closest-side, #C7D8D5, transparent); }
.hero-clay::after  { width: 480px; height: 480px; right: -120px; bottom: -160px; background: radial-gradient(closest-side, #D9C2A8, transparent); }
.hero-clay {
  background-image:
    linear-gradient(rgba(30, 58, 82, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 82, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

.hero-clay-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s5);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 1000px) { .hero-clay-grid { grid-template-columns: 1fr; gap: var(--s5); } }

.hero-clay-text { max-width: 620px; }
.hero-clay-text h1 { margin: var(--s2) 0 var(--s3); }
.hero-clay-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--muted);
  margin-bottom: var(--s4);
  max-width: 520px;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--s3); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: .88rem; color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); }
.dot-blue { background: #4285F4; }
.dot-orange { background: var(--orange); }

/* Hero stage — floating product cards */
.hero-stage {
  position: relative;
  height: 560px;
  min-height: 480px;
}
@media (max-width: 1000px) { .hero-stage { height: 540px; margin-top: var(--s4); } }
@media (max-width: 600px) { .hero-stage { height: 520px; } }

.stage-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.real-screenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  object-fit: cover;
}
.stage-ga4 {
  width: 360px;
  top: 30px; left: 0;
  z-index: 3;
}
.stage-n8n {
  width: 340px;
  top: 220px; right: 0;
  z-index: 4;
  transform: rotate(2deg);
}
.stage-gsc {
  width: 270px;
  bottom: 20px; left: 60px;
  z-index: 2;
  transform: rotate(-3deg);
}
.stage-sticker {
  position: absolute;
  top: 0; right: 30px;
  width: 110px; height: 110px;
  background: var(--brick);
  color: #fff;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  z-index: 5;
  box-shadow: var(--shadow-md);
  transform: rotate(-12deg);
}
.stage-sticker span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
}
.stage-sticker small {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
  opacity: .9;
}

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
@keyframes floatC { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes floatD { 0%,100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-6px); } }
.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatB 7s ease-in-out infinite; }
.float-c { animation: floatC 6.5s ease-in-out infinite .6s; }
.float-d { animation: floatD 5s ease-in-out infinite .3s; }

@media (max-width: 600px) {
  .stage-ga4 { width: 86%; left: 0; top: 0; }
  .stage-n8n { width: 80%; right: 0; top: 200px; }
  .stage-gsc { width: 70%; left: 10%; bottom: 0; }
  .stage-sticker { width: 90px; height: 90px; top: -20px; right: 0; }
  .stage-sticker span { font-size: 1.6rem; }
}

/* ===== Logos band ===== */
.logos-band {
  padding: var(--s5) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.logos-band-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
  text-align: center;
}
.logos-band-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  align-items: center;
}
.logos-band-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  opacity: .75;
  transition: opacity .25s;
}
.logos-band-row span:hover { opacity: 1; }
.logos-band-row img { width: 18px; height: 18px; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-cream { background: var(--bg-cream); }
.section-dark { background: var(--bg-dark); color: #F2EAD8; }
.section-dark .pill { color: #F2EAD8; }
.section-dark .display-md { color: #F2EAD8; }

.section-head { text-align: center; margin-bottom: var(--s6); }
.section-head .pill { margin-bottom: var(--s3); }
.section-head .display-md { max-width: 900px; margin: 0 auto; }
.section-lead {
  margin-top: var(--s2);
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ===== Bento clay ===== */
.bento-clay {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: var(--s3);
}
.bclay {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(30, 58, 82, 0.05); /* Ambient shadow */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s;
}
.bclay:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 40px -12px rgba(30, 58, 82, 0.15), 0 0 30px 0 rgba(30, 58, 82, 0.05); 
  border-color: rgba(30, 58, 82, 0.2); 
  z-index: 10; 
}
.bclay-1 { grid-column: span 4; transition-delay: 0.1s; }
.bclay-2 { grid-column: span 2; transition-delay: 0.2s; }
.bclay-3 { grid-column: span 3; transition-delay: 0.3s; }
.bclay-4 { grid-column: span 3; transition-delay: 0.4s; }
.bclay-5 { grid-column: span 6; transition-delay: 0.5s; }

/* ===== Clay.com Style Bento ===== */
.clay-style {
  background: #fbfbfb;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.clay-style .bclay-text {
  padding: var(--s4) var(--s4) var(--s3) var(--s4);
}
.clay-style:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.mac-window {
  margin: 0 var(--s4) var(--s4) var(--s4);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mac-header {
  height: 28px;
  background: #f4f4f5;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.mac-header span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mac-header span:nth-child(1) { background: #FF5F56; }
.mac-header span:nth-child(2) { background: #FFBD2E; }
.mac-header span:nth-child(3) { background: #27C93F; }
.mac-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-window {
  margin: 0 auto 0 auto;
  width: 70%;
  max-width: 280px;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}
.phone-window img {
  border-radius: 12px 12px 0 0;
  object-position: top;
}

/* ===== Marquee CMS ===== */
.cms-marquee-wrapper {
  background: transparent;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  flex: 1;
  justify-content: center;
}
.cms-marquee {
  display: flex;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}
.cms-marquee.reverse {
  animation-direction: reverse;
  animation-duration: 30s;
}
.cms-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 40px;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.cms-item:hover {
  opacity: 0.9;
}
.cms-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.cms-item span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 500;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .bento-clay { grid-template-columns: repeat(2, 1fr); }
  .bclay-1, .bclay-2, .bclay-3, .bclay-4 { grid-column: span 2; }
  .bclay-5 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-clay { grid-template-columns: 1fr; }
  .bclay-1, .bclay-2, .bclay-3, .bclay-4, .bclay-5 { grid-column: span 1; }
}

.bclay-mock {
  background: var(--bg-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 220px;
  position: relative;
  z-index: 2;
}

/* Image Integration in Bento */
.has-img {
  padding: 0; /* Removing padding to let image fill */
  justify-content: flex-end;
}
.has-img .bclay-mock {
  display: none; /* Hide SVG mocks when image is present */
}
.has-img .bclay-text {
  padding: var(--s4);
  position: relative;
  z-index: 3;
  color: #fff;
}
.has-img .bclay-text h3 {
  color: #fff;
}
.has-img .bclay-text p {
  color: rgba(255, 255, 255, 0.85);
}
.has-img .bclay-tag {
  color: rgba(255, 255, 255, 0.7);
}
.bclay-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.has-img:hover .bclay-bg-img {
  transform: scale(1.05);
}
.bclay-bg-img-right {
  object-position: right center;
}
.bclay-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 58, 0.5);
  z-index: 2;
}
.bclay-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,40,58,0.9) 0%, rgba(20,40,58,0.3) 100%);
  z-index: 2;
}
.bclay-mock-flow { padding: 10px; }
.bclay-mock-form {
  align-items: center;
  justify-content: center;
  padding: var(--s4);
}

.bclay-text { display: flex; flex-direction: column; gap: 8px; }
.bclay-tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bclay-text h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.bclay-text p { color: var(--muted); font-size: .95rem; }

/* Form mockup (bclay-5) */
.form-mock {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: var(--s3);
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.form-mock-row { display: flex; flex-direction: column; gap: 6px; }
.form-mock-row label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-family: var(--font-mono);
}
.form-mock-row .bar {
  height: 10px;
  background: linear-gradient(90deg, #E7DFD0, #F4EFE6);
  border-radius: 6px;
  width: 92%;
}
.form-mock-row .bar-tall { height: 36px; width: 100%; }
.form-mock-btn {
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: .9rem;
  align-self: flex-start;
}

/* ===== Dashboards mockups internals ===== */
.dash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.dash-head img { flex: none; }
.dash-head span:first-of-type { flex: 1; }
.dash-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #94a3b8;
}
.dash-dot-live { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: dashPulse 2s ease-in-out infinite; }
.dash-dot-ok { background: var(--green); }
@keyframes dashPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
  50% { box-shadow: 0 0 0 7px rgba(34,197,94,.05); }
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dash-kpis-4 { grid-template-columns: repeat(4, 1fr); }
.dash-kpis > div {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bclay-mock .dash-kpis > div { background: #fff; }
.dash-kpis b {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.dash-kpis span {
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-mono);
}

.dash-chart {
  width: 100%;
  height: 80px;
  flex: 1;
}
.bclay-1 .dash-chart { height: 150px; }

.dash-flow {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.08) 1px, transparent 1px) 0 0 / 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background-color: #fff;
}
.bclay-mock-flow .dash-flow { min-height: 200px; }

.dash-bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 6px;
  padding: 12px 6px 6px;
  min-height: 140px;
}
.dash-bars > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.dash-bars > div span {
  display: block;
  height: var(--h);
  background: linear-gradient(180deg, var(--ink) 0%, #3a3d44 100%);
  border-radius: 4px 4px 2px 2px;
  animation: barGrow .9s cubic-bezier(.4,.05,.2,1) both;
}
.dash-bars > div:nth-child(4) span { background: linear-gradient(180deg, var(--orange) 0%, #f08c5d 100%); }
.dash-bars > div:nth-child(6) span { background: linear-gradient(180deg, var(--green) 0%, #4eaa7c 100%); }
.dash-bars label {
  font-size: .65rem;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-mono);
}
@keyframes barGrow { from { height: 0; } to { height: var(--h); } }

.dash-keywords {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.dash-keywords li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}
.dash-keywords span { color: var(--ink); }
.dash-keywords b {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--green);
  font-weight: 600;
}

.dash-foot { display: flex; align-items: center; margin-top: auto; }
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 500;
  color: #14532d;
  background: var(--green-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.dash-pill i {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--green);
  display: inline-block;
}
.dash-pill i.ok {
  width: 6px; height: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
}

/* ===== Approche (dark) ===== */
.section-dark { position: relative; }
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(155, 63, 46, .22), transparent 40%),
    radial-gradient(circle at 82% 80%, rgba(91, 107, 63, .22), transparent 45%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
@media (max-width: 800px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-step {
  border-top: 1px solid rgba(242, 234, 216, .18);
  padding-top: var(--s3);
}
.approach-step .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--orange);
  display: block;
  margin-bottom: var(--s2);
  line-height: 1;
}
.approach-step h3 {
  color: #F2EAD8;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.approach-step p {
  color: rgba(242, 234, 216, .7);
  font-size: .95rem;
  line-height: 1.55;
}

/* ===== Constat ===== */
.constat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
@media (max-width: 900px) { .constat-grid { grid-template-columns: 1fr; } }
.constat-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4) var(--s4);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(30, 58, 82, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.constat-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 15px 35px -10px rgba(30, 58, 82, 0.12); 
}
.constat-num {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 8rem;
  color: var(--orange);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.constat-card:hover .constat-num {
  transform: scale(1.05) translate(-10px, 10px);
}
.constat-card h3 { 
  font-size: 1.25rem; 
  margin-bottom: 10px; 
  position: relative; 
  z-index: 2; 
}
.constat-card p { 
  color: var(--muted); 
  font-size: .95rem; 
  line-height: 1.55; 
  position: relative; 
  z-index: 2; 
}

/* ===== Contact ===== */
.section-contact { padding: clamp(64px, 10vw, 120px) 0; background: var(--bg); }
.contact-cta {
  text-align: center;
  margin-bottom: var(--s6);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta p {
  color: var(--muted);
  margin-top: var(--s3);
  font-size: 1.05rem;
  padding: 0 var(--s2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s5);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; padding: var(--s4); gap: var(--s4); }
  .contact-cta { margin-bottom: var(--s5); }
}
@media (max-width: 600px) {
  .contact-grid {
    padding: var(--s3);
    border-radius: var(--radius);
    gap: var(--s3);
  }
}

.contact-text h3 { font-size: 1.4rem; margin: var(--s2) 0 var(--s3); line-height: 1.3; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info li {
  display: flex; align-items: center; gap: 14px;
  font-size: .95rem;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  word-break: break-word;
}
.contact-info span:first-child {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  width: 90px;
  flex: none;
}
.contact-info a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .contact-text h3 { font-size: 1.2rem; }
  .contact-info li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 12px;
  }
  .contact-info span:first-child { width: auto; }
}

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form label > span {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 11px 14px;
  color: var(--ink);
  outline: none;
  width: 100%;
  max-width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,17,22,.08);
}
.form .check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}
.form .check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
}
.form .hp { position: absolute; left: -9999px; }
.form-status { font-size: .85rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 600px) {
  .form .check { font-size: .82rem; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: #C7C2B5;
  padding: var(--s6) 0 var(--s4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-text { color: #F2EAD8; }
.site-footer .logo-mark { background: var(--orange); }
.site-footer h5 {
  color: #F2EAD8;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 14px;
}
.foot-list { display: flex; flex-direction: column; gap: 8px; }
.foot-list a { color: #C7C2B5; transition: color .2s; }
.foot-list a:hover { color: #F2EAD8; }
.foot-bottom {
  border-top: 1px solid #2C2F36;
  padding-top: var(--s3);
  font-size: .82rem;
  color: var(--muted-light);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .float-a, .float-b, .float-c, .float-d, .dash-dot-live, .dash-bars > div span { animation: none; }
}
