/* =====================================================================
   CREATIB — Site vitrine one-page
   Design system : premium éditorial · rythme light/dark · accent unique
   Typo : Inter (structure/corps) + Fraunces italic (accents éditoriaux)
   100% statique · mobile-first · fr-BE
   ---------------------------------------------------------------------
   ⇢ Pour rebrander : remplacez les 4 couleurs de marque dans :root
     (--ink, --paper, --accent) et le logo dans le <header>.
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* Couleurs de marque (SWAPPABLES) */
  --ink:      #0E0F13;   /* sombre */
  --paper:    #F6F4EF;   /* clair chaud */
  --white:    #FFFFFF;
  --accent:   #FF4A1C;   /* accent vermillon — usage parcimonieux */

  /* Déclinaisons */
  --ink-800:  #15161C;
  --ink-700:  #1E2027;
  --paper-2:  #EEEBE3;
  --accent-600:#E23D12;
  --accent-tint: rgba(255,74,28,.10);

  /* Rayons */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-pill: 100px;

  /* Typo */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --fs-display: clamp(2.9rem, 7.2vw, 6.25rem);
  --fs-h1:      clamp(2.25rem, 5vw, 4rem);
  --fs-h2:      clamp(1.85rem, 3.6vw, 3rem);
  --fs-h3:      clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lead:    clamp(1.1rem, 1.5vw, 1.375rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.925rem;
  --fs-eyebrow: 0.78rem;

  /* Espacement */
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --gap:       clamp(1rem, 2vw, 1.75rem);
  --maxw:      1180px;
  --pad-x:     clamp(1.25rem, 5vw, 3rem);

  /* Transitions */
  --ease: cubic-bezier(.22,.7,.24,1);
  --t-fast: .18s var(--ease);
  --t: .35s var(--ease);

  /* Thème par défaut (papier) — surchargé par .theme-* */
  --bg: var(--paper);
  --fg: #14151A;
  --muted: #5C5D64;
  --line: rgba(20,21,26,.12);
  --card: #FFFFFF;
  --card-fg: #14151A;
  --card-line: rgba(20,21,26,.09);
  --elev: 0 1px 2px rgba(16,17,20,.04), 0 12px 30px -12px rgba(16,17,20,.14);
}

/* Thèmes de section : redéfinissent les variables sémantiques locales */
.theme-paper {
  --bg: var(--paper);
  --fg: #14151A;
  --muted: #5C5D64;
  --line: rgba(20,21,26,.12);
  --card: #FFFFFF;
  --card-fg: #14151A;
  --card-line: rgba(20,21,26,.09);
  --elev: 0 1px 2px rgba(16,17,20,.04), 0 14px 34px -16px rgba(16,17,20,.16);
}
.theme-ink {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #9EA0A8;
  --line: rgba(246,244,239,.16);
  --card: #15161C;
  --card-fg: var(--paper);
  --card-line: rgba(246,244,239,.10);
  --elev: 0 1px 2px rgba(0,0,0,.3), 0 20px 44px -20px rgba(0,0,0,.6);
}

/* ---------- 2. Reset & base ---------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout ---------------------------------------------- */
.section { background: var(--bg); color: var(--fg); padding-block: var(--section-y); position: relative; scroll-margin-top: 84px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.container--wide { max-width: 1320px; }

/* ---------- 4. Typographie ----------------------------------------- */
h1,h2,h3,h4 { line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.display { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); font-weight: 700; }
.h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); font-weight: 400; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent-word { color: var(--accent); }

/* Overline / eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
  display: inline-block;
}
.eyebrow--accent { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head .h2 { margin-top: .9rem; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- 5. Boutons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: .975rem; letter-spacing: -.01em;
  padding: .95em 1.55em; border-radius: var(--r-pill);
  transition: transform var(--t-fast), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--t); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(255,74,28,.7); }
.btn--accent:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn--accent:hover svg { transform: translateX(3px); }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Lien texte avec soulignement animé */
.link-underline { position: relative; font-weight: 600; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 6. Header / Nav ---------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.site-header::after { /* hairline */
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: transparent; transition: background var(--t);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.site-header.is-scrolled::after { background: rgba(246,244,239,.12); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 76px;
}
/* Par défaut le header est transparent au-dessus du hero CLAIR → texte foncé.
   Une fois scrollé (fond sombre translucide) → texte clair. */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; letter-spacing: -.03em; font-size: 1.35rem; transition: color var(--t); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__dot { color: var(--accent); }
.site-header.is-scrolled .brand { color: var(--paper); }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a { color: rgba(20,21,26,.72); font-size: .95rem; font-weight: 500; transition: color var(--t); }
.nav__links a:hover { color: #14151A; }
.site-header.is-scrolled .nav__links a { color: rgba(246,244,239,.78); }
.site-header.is-scrolled .nav__links a:hover { color: var(--paper); }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); transition: color var(--t); }
.site-header.is-scrolled .nav__toggle { color: var(--paper); }
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }

/* ---------- 7. Hero ------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--paper);
}
.hero__aura { /* halo doux animé, derrière le texte */
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; max-width: 780px; aspect-ratio: 1; border-radius: 50%;
  top: -18%; right: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(255,74,28,.20), rgba(255,74,28,0) 62%);
  filter: blur(10px);
  animation: aura 14s ease-in-out infinite alternate;
}
@keyframes aura { from { transform: translate(0,0) scale(1);} to { transform: translate(-4%, 4%) scale(1.12);} }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,4rem); align-items: center;
}
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title { margin-bottom: 1.6rem; }
.hero__lead { max-width: 34rem; margin-bottom: 1.1rem; }
.hero__philo {
  max-width: 34rem; font-size: 1.05rem; color: var(--fg);
  padding-left: 1.1rem; border-left: 2px solid var(--accent); margin-bottom: 2.2rem;
}
.hero__philo .serif { color: var(--fg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Carte visuelle du hero (portrait / visuel de marque à remplacer) */
.hero__visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--elev);
  background:
    linear-gradient(150deg, rgba(14,15,19,.0), rgba(14,15,19,.55)),
    conic-gradient(from 210deg at 30% 20%, #23252E, #0E0F13 40%, #1b1d25 70%, #0E0F13);
}
.hero-card__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(14,15,19,.55); backdrop-filter: blur(6px);
  color: var(--paper); font-size: .8rem; padding: .5rem .8rem; border-radius: var(--r-pill);
  border: 1px solid rgba(246,244,239,.14);
}
.hero-card__badge {
  position: absolute; right: -14px; top: 26px; z-index: 3;
  background: var(--accent); color:#fff; font-weight: 700; font-size: .8rem;
  padding: .7rem 1rem; border-radius: 14px; transform: rotate(3deg);
  box-shadow: 0 14px 30px -12px rgba(255,74,28,.8);
  max-width: 8.5rem; line-height: 1.25;
}
.hero-card .placeholder-note {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  color: rgba(246,244,239,.5); font-size: .85rem; gap: .5rem; padding: 2rem;
}

/* Marquee mots-clés sous le hero */
.marquee {
  position: relative; z-index: 1; margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line); padding-block: 1.1rem; overflow: hidden;
  --dur: 32s;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee var(--dur) linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 3rem; font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Bandeau chiffres ------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem,3vw,3rem); }
.stat { padding-right: 1rem; }
.stat__num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat__num .u { color: var(--accent); }
.stat__label { margin-top: .7rem; color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- 9. Services (bento) ------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc {
  position: relative; background: var(--card); color: var(--card-fg);
  border: 1px solid var(--card-line); border-radius: var(--r);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 220px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.svc::after { /* accent line qui apparaît au hover */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--elev); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-content: center; background: var(--accent-tint); color: var(--accent);
}
.svc__icon svg { width: 24px; height: 24px; }
.svc__title { font-size: 1.2rem; font-weight: 650; letter-spacing: -.015em; }
.svc__desc { color: var(--muted); font-size: .975rem; line-height: 1.55; }
.svc__num { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; opacity: .6; }
/* Carte "IA" mise en avant : occupe 2 colonnes, fond encre */
.svc--feature {
  grid-column: span 2; background: var(--ink); color: var(--paper); border-color: transparent;
  flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.svc--feature .svc__icon { background: rgba(255,74,28,.18); }
.svc--feature .svc__desc { color: rgba(246,244,239,.72); max-width: 32rem; }
.svc--feature .svc__title { font-size: clamp(1.4rem,2.2vw,1.9rem); }
.svc--feature .svc__body { display: flex; flex-direction: column; gap: 1rem; }
.svc--feature .svc__num { color: rgba(246,244,239,.5); }

/* ---------- 10. Approche / process --------------------------------- */
.approach__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,4rem); align-items: end; margin-bottom: clamp(2.5rem,5vw,4rem); }
.approach__intro { color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.step__n { font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: .9rem; }
.step__title { font-size: 1.15rem; font-weight: 650; margin-bottom: .5rem; letter-spacing: -.01em; }
.step__desc { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- 11. Valeur / tournant IA ------------------------------- */
.value__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); margin-top: clamp(2rem,4vw,3rem); }
.value-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r);
  padding: clamp(1.6rem,2.4vw,2.2rem); display: flex; flex-direction: column; gap: .9rem;
  transition: transform var(--t), box-shadow var(--t);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--elev); }
.value-card__icon { width: 44px; height: 44px; color: var(--accent); }
.value-card__icon svg { width: 100%; height: 100%; }
.value-card__title { font-size: 1.3rem; font-weight: 650; letter-spacing: -.015em; }
.value-card__desc { color: var(--muted); font-size: .975rem; line-height: 1.55; }

/* ---------- 12. À propos / Thibault -------------------------------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.about__portrait {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
  background: conic-gradient(from 160deg at 70% 30%, #23252E, #0E0F13 45%, #202129 75%, #0E0F13);
  box-shadow: var(--elev);
}
.about__portrait .placeholder-note { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(246,244,239,.5); font-size: .85rem; gap: .5rem; padding: 2rem; }
.about__portrait .hero-card__tag { left: 1rem; bottom: 1rem; }
.about__title { margin: 1rem 0 1.3rem; }
.about__text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 34rem; }
.about__text strong { color: var(--fg); font-weight: 600; }
.about__sign { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--fg); margin-top: 1.4rem; }
.about__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- 13. Réalisations --------------------------------------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.work {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
  background: var(--paper-2); border: 1px solid var(--card-line);
  display: block;
}
.work__ph { position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--paper-2), #e4e0d6);
  display: grid; place-content: center; color: #b7b2a5;
}
.work__ph svg { width: 40px; height: 40px; }
.work__meta { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: linear-gradient(0deg, rgba(14,15,19,.72), transparent); color: var(--paper);
  opacity: 0; transform: translateY(8px); transition: opacity var(--t), transform var(--t);
}
.work:hover .work__meta { opacity: 1; transform: none; }
.work__cat { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,244,239,.8); }
.work__title { font-weight: 600; }
.works__note { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

/* ---------- 14. Témoignages ---------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.quote {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r);
  padding: clamp(1.6rem,2.4vw,2.1rem); display: flex; flex-direction: column; gap: 1.3rem;
}
.quote__mark { font-family: var(--font-serif); font-style: italic; font-size: 3rem; line-height: .5; color: var(--accent); height: 1.2rem; }
.quote__text { font-size: 1.075rem; line-height: 1.55; color: var(--card-fg); }
.quote__who { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-content: center; font-weight: 700; flex: none; }
.quote__name { font-weight: 600; font-size: .95rem; }
.quote__role { color: var(--muted); font-size: .85rem; }

/* ---------- 15. FAQ ------------------------------------------------- */
.faq { max-width: 60rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left; font-size: clamp(1.05rem,1.6vw,1.25rem); font-weight: 600; letter-spacing: -.01em;
}
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after { content:""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.faq__icon::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 0 1.6rem; color: var(--muted); max-width: 52rem; line-height: 1.6; }
/* Animation via <details> + JS height (fallback: instantané) */

/* ---------- 16. CTA + Contact -------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact__title { margin: 1rem 0 1.2rem; }
.contact__sub { color: var(--muted); font-size: var(--fs-lead); max-width: 30rem; margin-bottom: 2rem; }
.contact__meta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact__meta a, .contact__meta span { display: inline-flex; align-items: center; gap: .7rem; color: var(--fg); }
.contact__meta svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.socials { display: flex; gap: .8rem; margin-top: 2rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

.form { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--elev); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--card-fg); }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; font: inherit; font-size: 1rem; color: var(--card-fg);
  background: color-mix(in srgb, var(--card) 92%, var(--fg) 8%);
  border: 1px solid var(--card-line); border-radius: var(--r-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--card-fg) 45%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: .8rem; text-align: center; }

/* ---------- 17. Footer --------------------------------------------- */
.footer { background: #0A0B0E; color: var(--paper); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(246,244,239,.12); }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__tagline { color: rgba(246,244,239,.6); max-width: 24rem; }
.footer__col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(246,244,239,.5); margin-bottom: 1.1rem; font-weight: 600; }
.footer__col a { display: block; color: rgba(246,244,239,.8); padding: .35rem 0; transition: color var(--t); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; color: rgba(246,244,239,.5); font-size: .875rem; }
.footer__bottom a { color: rgba(246,244,239,.7); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 18. Reveal (micro-animations) -------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.hero__eyebrow, .hero__title, .hero__lead, .hero__philo, .hero__cta, .hero__visual {
  opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards;
}
.hero__title { animation-delay: .08s; }
.hero__lead { animation-delay: .16s; }
.hero__philo { animation-delay: .24s; }
.hero__cta { animation-delay: .32s; }
.hero__visual { animation-delay: .2s; transform: translateY(26px) scale(.98); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 19. Responsive ----------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc--feature { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .approach__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .value__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__menu { position: fixed; inset: 76px 0 auto 0;
    background: color-mix(in srgb, var(--ink) 96%, transparent); backdrop-filter: blur(12px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--pad-x) 2rem;
    border-bottom: 1px solid rgba(246,244,239,.12);
    transform: translateY(-140%); transition: transform var(--t); pointer-events: none;
  }
  .nav__menu.is-open { transform: none; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid rgba(246,244,239,.08); font-size: 1.05rem; color: rgba(246,244,239,.86); }
  .nav__links a:hover { color: var(--paper); }
  .nav__cta { margin-top: 1.2rem; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle { display: inline-flex; }
  .bento { grid-template-columns: 1fr; }
  .svc--feature { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__philo { font-size: 1rem; }
}

/* ---------- 20. Réductions de mouvement ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__eyebrow,.hero__title,.hero__lead,.hero__philo,.hero__cta,.hero__visual { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__aura { animation: none; }
}
