/* =========================================================
   Bluekalou — feuille de styles
   Couleurs et typographies reprises de la maquette Lovable.
   ========================================================= */

/* Polices auto-hébergées (pas de requête vers Google Fonts : RGPD et vitesse) */
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --blue: #1b1ea4;
  --blue-deep: #12146f;
  --blue-soft: #e9e9fb;
  --orange: #e6501b;
  --orange-deep: #c43f10;
  --yellow: #eebf13;
  --ink: #171717;
  --paper: #ffffff;
  --cream: #f7f5f0;
  --line: #e4e1d8;
  --muted: #55524b;

  --font-display: "Lexend", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Ombres teintées : profondeur sans aplat noir */
  --shadow-1: 0 1px 2px rgb(23 23 60 / .06), 0 4px 12px rgb(23 23 60 / .06);
  --shadow-2: 0 2px 4px rgb(23 23 60 / .05), 0 12px 32px -8px rgb(27 30 164 / .18), 0 28px 60px -24px rgb(23 23 60 / .22);
  --shadow-block: 6px 6px 0 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol.steps, ol.crumbs, ol.next-steps { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.code-tag { font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .55em; color: var(--ink); text-decoration: none; }
.logo__picto { width: 1.5em; height: auto; color: var(--blue); }
.logo__word { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; font-size: 1.32em; line-height: 1; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --sh: rgb(27 30 164 / .35);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.4em;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1.1 var(--font-sans); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 6px 18px -6px var(--sh);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 12px 26px -8px var(--sh); }
.btn:active { transform: translateY(0); }
.btn--orange { --bg: var(--orange); --sh: rgb(230 80 27 / .45); }
.btn--orange:hover { --bg: var(--orange-deep); }
.btn--ink { --bg: var(--ink); --sh: rgb(23 23 23 / .4); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --sh: rgb(238 191 19 / .55); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; background: rgb(255 255 255 / .08); }
.btn--lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.03rem; }
.btn--block { width: 100%; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .6em; flex: none; }
.dot--blue { background: var(--blue); }
.dot--orange { background: var(--orange); }
.dot--yellow { background: var(--yellow); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header[data-scrolled] { border-color: var(--line); box-shadow: 0 8px 24px -18px rgb(23 23 60 / .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.site-header__brand { text-decoration: none; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 8px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: .84rem; color: rgb(23 23 23 / .78); text-decoration: none; transition: background-color .15s, color .15s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 270px;
  padding: 8px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-2); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--cream); }
.nav__cta { min-height: 42px; padding: .6em 1.2em; font-size: .92rem; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--cream); cursor: pointer; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: auto; position: relative; transition: transform .2s, opacity .2s; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; } .burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: 12px var(--gutter) 24px; background: #fff; }
.mobile-menu ul { margin-bottom: 16px; }
.mobile-menu li a { display: flex; align-items: center; padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
}

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 85% 20%, rgb(80 86 255 / .55), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgb(10 10 80 / .7), transparent 70%),
    var(--blue);
  color: #fff;
}
.hero::before { /* trame fine, clin d'œil à la grille de la maquette */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(28px, min(4vw, 6vh), 64px); } /* même marge en haut et en bas */
.hero__kicker { color: rgb(255 255 255 / .72); margin-bottom: clamp(14px, 2.4vh, 20px); }
.hero__title { font-weight: 800; font-size: clamp(2.2rem, min(5.6vw, 8.5vh), 4.4rem); line-height: 1.04; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__title .stop { color: var(--orange); }
.hero__lead { margin-top: clamp(16px, 2.8vh, 24px); max-width: 34rem; font-size: clamp(1rem, 2.4vh, 1.12rem); line-height: 1.7; color: rgb(255 255 255 / .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 4vh, 34px); }
.hero__actions .btn--ghost { color: #fff; }

/* Composition : formes du picto + résultat Google + réponse d'IA.
   Tout le contenu est dimensionné en « px de maquette » (--k = largeur de la scène / 560) :
   quand la scène rétrécit (écran peu haut), l'illustration se réduit d'un bloc, sans retour à la ligne ni chevauchement. */
.scene { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: min(560px, 68vh); justify-self: end; container-type: inline-size; --k: calc(100cqi / 560); }
.scene__shape { position: absolute; }
.scene__half { /* demi-cercle plein, comme le picto */
  position: absolute; border-radius: 999px 0 0 999px;
}
.scene__s1 { width: 38%; aspect-ratio: 1/2; left: 4%; top: 2%; background: var(--yellow); border-radius: 999px 0 0 999px; }
.scene__s2 { width: 24%; aspect-ratio: 1/2; left: 43.5%; top: 0; background: var(--orange); border-radius: 0 999px 999px 0; }
.scene__ring { width: 46%; aspect-ratio: 1; right: -6%; bottom: -8%; border-radius: 50%; border: 2px solid rgb(255 255 255 / .25); }

.card-browser {
  position: absolute; left: 14%; right: 0; top: 28%;
  background: #fff; color: var(--ink); border-radius: calc(18 * var(--k));
  box-shadow: 0 30px 70px -20px rgb(5 5 50 / .65), 0 2px 0 rgb(255 255 255 / .6) inset;
  overflow: hidden;
}
.card-browser__bar { display: flex; align-items: center; gap: calc(6 * var(--k)); padding: calc(12 * var(--k)) calc(14 * var(--k)); background: var(--cream); border-bottom: 1px solid var(--line); }
.card-browser__bar i { width: calc(9 * var(--k)); height: calc(9 * var(--k)); border-radius: 50%; display: block; }
.card-browser__bar i:nth-child(1) { background: var(--orange); } .card-browser__bar i:nth-child(2) { background: var(--yellow); } .card-browser__bar i:nth-child(3) { background: var(--blue); }
.card-browser__search { margin-left: calc(10 * var(--k)); flex: 1; display: flex; align-items: center; gap: calc(8 * var(--k)); height: calc(28 * var(--k)); padding: 0 calc(12 * var(--k)); border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: calc(12.5 * var(--k)); color: var(--muted); white-space: nowrap; overflow: hidden; }
.card-browser__search svg { width: calc(13 * var(--k)); height: calc(13 * var(--k)); flex: none; }
.card-browser__body { padding: calc(18 * var(--k)) calc(18 * var(--k)) calc(20 * var(--k)); display: grid; gap: calc(14 * var(--k)); }
.result { display: grid; gap: calc(4 * var(--k)); padding: calc(12 * var(--k)) calc(14 * var(--k)); border-radius: calc(12 * var(--k)); }
.result__site { display: flex; align-items: center; gap: calc(8 * var(--k)); font-size: calc(11.8 * var(--k)); color: var(--muted); }
.result__fav { width: calc(22 * var(--k)); height: calc(22 * var(--k)); border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.result__fav svg { width: calc(11 * var(--k)); }
.result__title { font: 600 calc(15.7 * var(--k))/1.3 var(--font-sans); color: var(--blue); white-space: nowrap; }
.result__lines { display: grid; gap: calc(6 * var(--k)); margin-top: calc(4 * var(--k)); }
.result__lines span { height: calc(7 * var(--k)); border-radius: 4px; background: #ecebe6; }
.result__lines span:nth-child(2) { width: 72%; }
.result--top { background: #f4f4fe; box-shadow: inset 0 0 0 1.5px rgb(27 30 164 / .18); }
.result--ghost .result__site span, .result--ghost .result__title { background: #ecebe6; color: transparent; border-radius: 4px; }
.result--ghost .result__title { width: 64%; height: calc(12 * var(--k)); }
.result--ghost .result__fav { background: #ecebe6; }

.card-ai {
  position: absolute; left: 0; bottom: 0; width: 58%;
  padding: calc(16 * var(--k)) calc(16 * var(--k)) calc(14 * var(--k)); border-radius: calc(18 * var(--k));
  background: var(--ink); color: #fff;
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / .55);
}
.card-ai__head { display: flex; align-items: center; gap: calc(8 * var(--k)); font-size: calc(11.8 * var(--k)); color: rgb(255 255 255 / .7); margin-bottom: calc(10 * var(--k)); }
.card-ai__head svg { width: calc(14 * var(--k)); height: calc(14 * var(--k)); color: var(--yellow); }
.card-ai__lines { display: grid; gap: calc(6 * var(--k)); }
.card-ai__lines span { height: calc(6 * var(--k)); border-radius: 3px; background: rgb(255 255 255 / .16); }
.card-ai__lines span:nth-child(2) { width: 85%; } .card-ai__lines span:nth-child(3) { width: 60%; }
.chip { display: inline-flex; align-items: center; gap: calc(6 * var(--k)); margin-top: calc(12 * var(--k)); padding: calc(5 * var(--k)) calc(10 * var(--k)) calc(5 * var(--k)) calc(6 * var(--k)); border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: calc(11.8 * var(--k)); font-weight: 700; }
.chip svg { width: 12px; color: var(--blue); }

/* Séquence d'arrivée — un seul moment animé sur le site */
@media (prefers-reduced-motion: no-preference) {
  .scene__s1 { animation: slide-in-l .9s cubic-bezier(.2,.8,.2,1) both; }
  .scene__s2 { animation: slide-in-r .9s .12s cubic-bezier(.2,.8,.2,1) both; }
  .scene__ring { animation: fade .8s .3s both; }
  .card-browser { animation: rise .8s .35s cubic-bezier(.2,.8,.2,1) both; }
  .card-ai { animation: rise .7s 1.5s cubic-bezier(.2,.8,.2,1) both; }
  .chip { animation: pop .45s 2.05s cubic-bezier(.3,1.6,.5,1) both; }
}
@keyframes slide-in-l { from { transform: translateX(-30%); opacity: 0; } }
@keyframes slide-in-r { from { transform: translateX(40%); opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes lift { from { transform: translateY(78px); opacity: .3; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .scene { justify-self: stretch; max-width: 480px; margin: 8px auto 0; aspect-ratio: auto; padding: 72px 0 120px; --k: 1px; }
  .result__title { white-space: normal; }
  .card-browser { position: relative; top: 0; left: auto; margin-left: 10%; }
  .card-ai { width: 70%; bottom: 0; }
  .scene__s1 { width: 40%; top: 0; } .scene__s2 { top: 6%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--cream { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head__tag { color: var(--orange); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -.015em; max-width: 22ch; }
.section-head__aside { max-width: 22rem; color: var(--muted); font-size: .98rem; border-left: 3px solid var(--orange); padding-left: 16px; }

/* ---------- Services (bento) ---------- */
.services { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 280px; padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg); text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.svc:hover { transform: translateY(-4px); }
.svc:first-child { grid-row: span 2; min-height: 100%; }
.svc--blue { background: var(--blue); color: #fff; }
.svc--orange { background: var(--orange); color: #fff; }
.svc--yellow { background: var(--yellow); color: var(--ink); }
.svc__shape { position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 220px; aspect-ratio: 1/2; border-radius: 999px 0 0 999px; background: rgb(255 255 255 / .14); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.svc--yellow .svc__shape { background: rgb(255 255 255 / .35); }
.svc:first-child .svc__shape { width: 340px; right: -60px; bottom: -110px; }
.svc:hover .svc__shape { transform: translateX(-14px); }
.svc__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.svc--yellow .svc__icon { background: rgb(255 255 255 / .45); }
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; margin-bottom: 12px; }
.svc:first-child h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 14ch; }
.svc p { max-width: 30rem; opacity: .88; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: .95rem; }
.svc__more svg { width: 18px; transition: transform .2s; }
.svc:hover .svc__more svg { transform: translateX(4px); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .svc:first-child { grid-row: auto; } }

/* ---------- Réalisations ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; border: 1px solid var(--line); }
.project__visual { aspect-ratio: 4/3; position: relative; overflow: hidden; display: grid; place-items: end center; padding: 22px 22px 0; }
.project__visual--orange { background: linear-gradient(160deg, #f2733f, var(--orange)); }
.project__visual--blue { background: linear-gradient(160deg, #3438c9, var(--blue)); }
.project__visual--yellow { background: linear-gradient(160deg, #f6d14b, var(--yellow)); }
.mock { width: 100%; height: 88%; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -10px 30px -10px rgb(0 0 0 / .3); padding: 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.mock__bar { display: flex; gap: 4px; } .mock__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.mock__hero { border-radius: 8px; background: var(--cream); display: grid; align-content: center; gap: 6px; padding: 12px; }
.mock__hero span { height: 8px; border-radius: 4px; background: #dcd8cc; width: 70%; } .mock__hero span:first-child { height: 12px; width: 55%; background: var(--ink); opacity: .8; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .mock__row span { height: 26px; border-radius: 6px; background: var(--cream); }
.project__meta { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 22px; }
.project__tag { color: var(--muted); }
.project h3 { font-size: 1.2rem; font-weight: 600; margin-top: 4px; }
.project { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.project__meta { flex: 1; align-items: flex-start; gap: 16px; }
.project__text { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.project__go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .2s; }
.project__go svg { width: 20px; }
.project--link { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.project--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.project--link:hover .project__go { transform: rotate(45deg); background: var(--orange); }
.project--link:hover .mock { transform: translateY(-6px); }
.mock { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.project__visual--shot { padding: 0; display: block; background: var(--cream); }
.project__visual--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock--named .mock__bar { align-items: center; }
.mock--named .mock__bar span { margin-left: 8px; font-size: .68rem; color: var(--muted); }
.mock--named .mock__hero strong { font: 800 1.25rem/1.1 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.mock--named .mock__hero span:first-of-type { height: 8px; width: 70%; background: #dcd8cc; opacity: 1; }
.section-head__link { color: var(--blue); }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }

.quote {
  position: relative; overflow: hidden; isolation: isolate;
  margin: clamp(48px, 7vw, 80px) 0 0; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-2);
}
.quote::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -60px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(27 30 164 / .9), transparent 70%); }
.quote__mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.quote__mark svg { width: 28px; }
.quote blockquote { margin: 0; font: 400 clamp(1.2rem, 2.4vw, 1.6rem)/1.45 var(--font-display); }
.quote figcaption { margin-top: 16px; color: rgb(255 255 255 / .65); }
.quote figcaption a { color: #fff; text-underline-offset: 3px; }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { display: block; position: sticky; top: 110px; margin: 0; }
.faq-layout .section-head p.lead { margin-top: 16px; color: var(--muted); max-width: 26rem; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; font: 600 1.05rem/1.4 var(--font-sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1ea4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }
.faq__answer p + p { margin-top: .8em; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- Bandeau contact ---------- */
.cta-band { padding-block: 0 clamp(72px, 10vw, 120px); }
.section--cream + .cta-band { padding-top: clamp(72px, 10vw, 120px); }
.cta-band__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg);
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgb(150 110 0 / .55);
}
.cta-band__title { margin-top: 10px; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band__actions { display: grid; gap: 14px; justify-items: center; text-align: center; }
.cta-band__mail { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cta-band__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-band__shapes span { position: absolute; z-index: -1; aspect-ratio: 1/2; }
.cta-band__shapes span:first-child { width: 160px; right: 24%; top: -170px; background: rgb(255 255 255 / .35); border-radius: 0 0 999px 999px; aspect-ratio: 2/1; }
.cta-band__shapes span:last-child { width: 90px; right: -30px; bottom: -40px; background: var(--orange); border-radius: 999px 0 0 999px; }
@media (max-width: 760px) { .cta-band__panel { grid-template-columns: 1fr; } .cta-band__actions { justify-items: start; } }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .logo { font-size: 16px; }
.site-footer__tagline { margin-top: 16px; color: var(--muted); max-width: 20rem; }
.site-footer__label { color: var(--muted); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__socials { display: flex; gap: 10px; }
.site-footer__socials a { transition: transform .15s; } .site-footer__socials a:hover { transform: translateY(-2px); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer__picto { width: 26px; color: var(--blue); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--cream); padding-block: clamp(18px, min(3.5vw, 4vh), 44px) clamp(24px, min(4.5vw, 5.5vh), 56px); }
.page-hero__picto { position: absolute; z-index: -1; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: -18%; height: 112%; width: auto; opacity: .16; }
.page-hero__picto--blue { color: var(--blue); } .page-hero__picto--orange { color: var(--orange); } .page-hero__picto--yellow { color: var(--yellow); }
ol.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; color: var(--muted); margin-bottom: 16px; } /* même écart que l'accroche de l'accueil */
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero h1 { font-size: clamp(1.9rem, min(4.2vw, 6.5vh), 3.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; max-width: 16ch; }
.page-hero__lead { margin-top: 12px; max-width: 38rem; font-size: clamp(1rem, 2.5vh, 1.15rem); color: #3d3a34; }
.page-hero .btn { margin-top: clamp(14px, 2.6vh, 22px); }
@media (max-width: 760px) { .page-hero__picto { right: -40px; } }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; letter-spacing: -.015em; }
.prose { color: #33312c; max-width: 64ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.6em; color: var(--ink); }
.prose ul { padding-left: 1.2em; list-style: disc; } .prose li + li { margin-top: .4em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.check__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.check__icon svg { width: 18px; }
.check h3 { font: 600 1.02rem/1.35 var(--font-sans); }
.check p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.compare__col--accent { background: var(--blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-2); }
.compare__col h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.compare__col > p { color: var(--muted); } .compare__col--accent > p { color: rgb(255 255 255 / .78); }
.compare__col ul { margin-top: 20px; display: grid; gap: 10px; }
.compare__col li { display: flex; gap: 10px; }
.compare__col li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--orange); }
.compare__col--accent li::before { background: var(--yellow); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.example { padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.example h3 { font: 600 1.05rem/1.35 var(--font-sans); margin-bottom: 6px; }
.example p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .example-grid { grid-template-columns: 1fr; } }

.services-list { display: grid; gap: 20px; }
.services-list .svc { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 28px; }
.services-list .svc:first-child { grid-row: auto; }
.services-list .svc:first-child h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); max-width: none; }
.services-list .svc:first-child .svc__shape { width: 220px; right: -40px; bottom: -60px; }
@media (max-width: 640px) { .services-list .svc { flex-direction: column; align-items: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-aside h2 { font-size: 1.4rem; font-weight: 600; margin-bottom: 18px; }
.next-steps { display: grid; gap: 18px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.next-steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 800 .9rem var(--font-display); }
.next-steps p { color: var(--muted); }
.next-steps strong { display: block; color: var(--ink); }
.contact-direct { padding: 22px; border-radius: var(--r-md); background: var(--cream); }
.contact-direct a { font-weight: 600; color: var(--blue); }

.form { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); border: 1px solid var(--line); display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid #d9d5ca; background: #fdfcfa;
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgb(27 30 164 / .14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange); }
.field__error { color: var(--orange-deep); font-size: .88rem; font-weight: 500; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #d9d5ca; font-weight: 500; font-size: .95rem; transition: all .15s; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .85rem; color: var(--muted); }
.form__legal a { color: var(--blue); }
.form__status { padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e7f6ec; color: #135c2c; }
.form__status--err { background: #fdece5; color: #8a2c0a; }
.form button[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { order: 2; } }

/* Champs à compléter (mentions légales) */
.todo { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }

/* 404 / merci */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.center-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.center-page p { margin: 18px auto 30px; color: var(--muted); max-width: 32rem; }
.center-page .logo__picto { width: 72px; margin: 0 auto 28px; }

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

/* Capture d'écran d'une réalisation : format 1920×1080 (16:9) */
.project__visual--shot { padding: 0; place-items: stretch; background: var(--cream); aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.project__meta { padding: 14px 18px 16px; gap: 12px; }
.project__tag { font-size: .72rem; }
.project h2, .project h3 { font-size: 1.05rem; font-weight: 600; margin-top: 2px; line-height: 1.25; }
.project__text { margin-top: 4px; font-size: .86rem; line-height: 1.5; }
.project__go { width: 36px; height: 36px; } .project__go svg { width: 18px; }
.project__visual--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Menu : le préfixe « ./ » apparaît au survol */
.nav__prefix { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; vertical-align: bottom; color: var(--orange); white-space: nowrap; transition: max-width .2s ease, opacity .2s ease; }
.nav__link:hover .nav__prefix, .nav__link:focus-visible .nav__prefix { max-width: 2.2ch; opacity: 1; }

/* Kalou, la mascotte (la pointe du curseur est en haut, à 76 % de la largeur de l'image) */
.kalou { display: block; height: auto; pointer-events: none; user-select: none; }
.kalou--hero { position: absolute; width: 31%; right: 13%; top: calc(40% + 12px); }
.kalou--page { width: 150px; margin: 0 auto 28px; }
@media (prefers-reduced-motion: no-preference) {
  /* Kalou arrive en dernier, puis abaisse sa pince droite pour « cliquer » sur le résultat */
  .kalou--hero { animation: kalou-in .6s 2.4s cubic-bezier(.2,.8,.2,1) both, kalou-click .55s 3.1s ease-in-out; transform-origin: 20% 75%; }
  .result--top { animation: lift .6s 1.15s cubic-bezier(.2,.8,.2,1) both, press .3s 3.3s ease-in-out; }
}
@keyframes kalou-in { from { transform: translateY(40px); opacity: 0; } }
@keyframes kalou-click { 0%, 100% { transform: rotate(0); } 35%, 60% { transform: rotate(6deg); } }
@keyframes press { 50% { transform: scale(.98); } }
@media (max-width: 760px) {
  .cta-band__actions { justify-items: start; text-align: left; }
}
