/* ==========================================================================
   Mike Malala — Développeur web à Kinshasa
   Direction artistique : « l'atelier éditorial »
   Encre profonde + papier chaud + vermillon. Typographie expressive (Bricolage
   Grotesque) pour les titres, texte très lisible (Instrument Sans).
   ========================================================================== */

:root {
  --ink: #111a2b;
  --ink-2: #1b2740;
  --paper: #f6f2eb;
  --paper-2: #ede6da;
  --white: #fffdf9;
  --line: #d8cfc0;
  --text: #111a2b;
  --muted: #4a5263;
  --accent: #e25434;        /* décoratif */
  --accent-strong: #b5391c; /* texte et boutons (contraste AA) */
  --sun: #f4b740;
  --wa: #0f7a40;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: 16px;
  --container: 1180px;
  --section: clamp(56px, 9vw, 112px);
  --shadow: 0 1px 2px rgb(17 26 43 / .06), 0 12px 32px -12px rgb(17 26 43 / .18);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
mark { background: none; color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .02em; }
.small { font-size: .9375rem; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-strong); margin-bottom: .9em; display: flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.eyebrow--sun { color: var(--sun); }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; }
.h3 { font-size: 1.25rem; font-weight: 650; margin-top: 1.4em; }

.icon { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.4em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgb(17 26 43 / .5); }
.btn:active { transform: translateY(0); }
.btn--accent { --bg: var(--accent-strong); --bd: var(--accent-strong); }
.btn--accent:hover { --bg: #9e2f15; --bd: #9e2f15; }
.btn--dark { --bg: var(--ink); --bd: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--whatsapp { --bg: var(--wa); --bd: var(--wa); }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(246 242 235 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: var(--paper); font: 800 1rem/1 var(--font-display); letter-spacing: -.04em;
  box-shadow: inset 0 -4px 0 var(--accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 700 1.125rem/1.1 var(--font-display); }
.brand__role { font-size: .8125rem; color: var(--muted); }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .9375rem var(--font-body); cursor: pointer; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--accent-strong); }

/* Menu mobile ouvert */
.nav-open .site-nav {
  display: flex; flex-direction: column; gap: 8px;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
}
.nav-open .site-nav a:not(.btn) { display: block; padding: 12px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.nav-open .site-nav .btn { margin-top: 8px; }
/* Sans JavaScript, le menu reste accessible */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav { display: flex; align-items: center; gap: 28px; position: static; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav a:not(.btn) { position: relative; padding: 6px 0; }
  .site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumbs { padding-top: 20px; font-size: .875rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Héros de l'accueil ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 var(--section); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__geo { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 20px; }
.hero__geo .icon { width: 16px; height: 16px; color: var(--accent-strong); }
.hero__title { font-size: clamp(2.25rem, 6.2vw, 4.5rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; margin-bottom: .45em; }
.hero__title mark {
  background: linear-gradient(transparent 62%, rgb(226 84 52 / .32) 62%, rgb(226 84 52 / .32) 92%, transparent 92%);
  padding: 0 .06em;
}
.hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero__actions--center { justify-content: center; }
.hero__note { font-size: .9375rem; color: var(--muted); }

.hero__portrait { position: relative; margin: 0 auto; width: min(100%, 420px); }
.hero__portrait::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--radius-lg);
  background: var(--accent); z-index: -1;
}
.hero__portrait img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--paper-2); }
.hero__portrait figcaption {
  position: absolute; left: -10px; bottom: 22px; background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 12px; font-size: .875rem; line-height: 1.3; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.hero__name { font: 700 1.0625rem var(--font-display); }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 64px; }
  .hero__portrait { margin-right: 14px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #dfe4ee; }
.section--ink .h2 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__lead { font-size: 1.125rem; color: var(--muted); }

/* Présentation */
.intro { display: grid; gap: 40px; align-items: start; }
.intro__photo { margin: 0; max-width: 360px; }
.intro__photo img { border-radius: var(--radius-lg); }
@media (min-width: 960px) { .intro { grid-template-columns: 360px minmax(0, 1fr); gap: 72px; } }

.chips { list-style: none; padding: 0; margin: 0 0 1.6em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .9375rem; font-weight: 500; }
.chips--small li { border-width: 1px; border-color: var(--line); background: var(--white); font-size: .875rem; padding: 4px 12px; }

/* Cartes services */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.service-card__head { display: flex; gap: 14px; align-items: baseline; }
.service-card__num { color: var(--accent-strong); font-weight: 700; }
.service-card__title { font-size: 1.375rem; margin: 0; }
.service-card__title a { color: var(--ink); text-decoration: none; }
.service-card__title a:hover { text-decoration: underline; }
.service-card__body { margin: 0; display: grid; gap: 12px; font-size: .9875rem; }
.service-card__body dt { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.service-card__body dd { margin: 0; }
.service-card__next { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.service-card__next .mono { display: block; color: var(--accent-strong); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.service-card .link-arrow { align-self: flex-start; font-size: .9375rem; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .8em; height: .42em; border-left: 2px solid var(--accent-strong); border-bottom: 2px solid var(--accent-strong); transform: rotate(-45deg) translateY(-50%); }

/* Réalisations */
.projects { display: grid; gap: clamp(48px, 7vw, 88px); }
.project { display: grid; gap: 28px; align-items: center; }
.project__media { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white); }
.project__media img { transition: transform .5s ease; }
.project__media:hover img { transform: scale(1.02); }
.project__title { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.project__title a { color: var(--ink); text-decoration: none; }
.project__role { font-size: .9375rem; color: var(--muted); }
.project__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
@media (min-width: 960px) {
  .project { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
  .project--flip .project__media { order: 2; }
}

/* Méthode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps__item { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.steps__num { display: inline-block; color: var(--white); background: var(--ink); border-radius: 8px; padding: 2px 8px; margin-bottom: 14px; }
.steps__item:last-child .steps__num { background: var(--accent-strong); }
.steps__title { font-size: 1.125rem; margin-bottom: .35em; }
.steps__item p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* Raisons */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reasons__item { background: var(--ink); padding: 28px 24px; }
.reasons__title { color: var(--white); font-size: 1.1875rem; }
.reasons__title::before { content: ""; display: block; width: 28px; height: 3px; background: var(--sun); margin-bottom: 16px; }
.reasons__item p { margin: 0; color: #c9d0dc; }

/* FAQ */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; } }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font: 600 1.125rem/1.35 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); font: 500 1.25rem/1 var(--font-body); transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] summary::after { content: "–"; background: var(--ink); color: var(--white); }
.faq__item p { padding: 0 44px 20px 0; color: var(--muted); margin: 0; }

/* Appel à l'action */
.cta { background: var(--ink); color: #dfe4ee; padding: var(--section) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 56px solid rgb(226 84 52 / .18); }
.cta__inner { display: grid; gap: 32px; position: relative; }
.cta__title { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 750; }
.cta__text { font-size: 1.125rem; max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.cta__direct { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 0; }
.cta__direct a { color: var(--white); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .3); word-break: break-all; }
.cta__direct a:hover { border-bottom-color: var(--sun); }
@media (min-width: 960px) { .cta__inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; } }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.page-hero--center { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 750; letter-spacing: -.03em; max-width: 18em; }
.page-hero--center .page-hero__title { margin-inline: auto; }
.page-hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 40em; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
.page-hero__photo { margin: 0; max-width: 300px; }
.page-hero__photo img { border-radius: var(--radius-lg); box-shadow: 14px 14px 0 var(--accent); }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }

.prose-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .prose-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }
.prose-grid__photo { margin: 0; }
.prose-grid__photo img { border-radius: var(--radius-lg); }
.prose { max-width: 720px; }
.prose .h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.prose .h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.need-solution { display: grid; gap: 16px; margin: 28px 0 8px; max-width: 900px; }
@media (min-width: 760px) { .need-solution { grid-template-columns: 1fr 1fr; } }
.need-solution > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.need-solution > div:last-child { border-color: var(--ink); }
.need-solution__label { text-transform: uppercase; letter-spacing: .1em; color: var(--accent-strong); margin-bottom: 6px; }
.need-solution p:last-child { margin: 0; }

.deliverables { background: var(--ink); color: #dfe4ee; border-radius: var(--radius-lg); padding: 28px 24px; position: sticky; top: 96px; }
.deliverables__title { color: var(--white); font-size: 1.375rem; }
.deliverables .ticks li::before { border-color: var(--sun); }
.deliverables__next { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .15); }
.deliverables__next .mono { display: block; color: var(--sun); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .link-list { grid-template-columns: repeat(2, 1fr); } }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.link-list a:hover { border-color: var(--ink); }
.link-list--center { max-width: 560px; margin: 24px auto 0; text-align: left; }

/* Études de cas */
.facts { display: grid; gap: 1px; margin: 32px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { background: var(--white); padding: 16px 18px; }
.facts dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
.facts small { color: var(--muted); font-weight: 400; }
.shot { margin: 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.shot figcaption { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.shot--phone { max-width: 300px; }
.shot--phone img { border-radius: 28px; border: 8px solid var(--ink); }
.shots { display: grid; gap: 28px; }
@media (min-width: 960px) { .shots { grid-template-columns: 1fr 1fr; } }
.note { border-left: 4px solid var(--sun); background: var(--white); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .9875rem; }
.next-case .h2 a { color: var(--ink); text-decoration: none; }

/* ---------- Contact ---------- */
.channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; min-height: 76px; }
.channel:hover { border-color: var(--ink); }
.channel .icon { width: 28px; height: 28px; color: var(--accent-strong); }
.channel > span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.channel > span > span { color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.channel--wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.channel--wa .icon, .channel--wa > span > span { color: #e3f3ea; }

.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 64px; } }
.mini-steps { padding-left: 1.3em; }
.mini-steps li { margin-bottom: .5em; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; }
.req { color: var(--accent-strong); }
.opt { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--paper);
  border: 1.5px solid #b9ae9c; border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(181 57 28 / .35); outline-offset: 1px; border-color: var(--accent-strong); background: var(--white); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f4; }
.field__hint { font-size: .875rem; color: var(--muted); margin: 0; }
.field__error { font-size: .9375rem; color: #a3221a; font-weight: 600; margin: 0; }
.field__error::before { content: "⚠ "; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.alert:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert--error { background: #fff1ee; border: 1.5px solid #c8402a; color: #7d1d10; }
.alert--error a { color: #7d1d10; }
.alert--success { background: #ecf7f0; border: 1.5px solid var(--wa); color: #0b4f2a; }
.alert--success h3 { font-size: 1.375rem; margin-top: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.article-list { list-style: none; padding: 0; }
.article-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0b111d; color: #b7c0cf; padding: 64px 0 96px; font-size: .9375rem; }
.site-footer a { color: #e7ebf2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__name { font: 700 1.5rem var(--font-display); color: var(--white); margin-bottom: .4em; }
.site-footer__title { font: 600 .8125rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sun); margin-bottom: 1em; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain-list a { overflow-wrap: anywhere; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); }
.site-footer__bottom p { margin: 0; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 18px 0 16px;
  background: var(--wa); color: var(--white); border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 28px -8px rgb(11 79 42 / .6);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: #0b6233; }
@media (max-width: 420px) { .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* ---------- Écran d'introduction (première page de la visite uniquement) ---------- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  /* Filet de sécurité : se retire seul même si le JavaScript ne s'exécute pas. */
  animation: splash-out .55s cubic-bezier(.7, 0, .2, 1) 2.4s forwards;
}
.js.splash-done .splash { display: none; }
.splash.is-leaving { animation: splash-out .55s cubic-bezier(.7, 0, .2, 1) forwards; }
.splash__inner { display: grid; justify-items: center; gap: 10px; text-align: center; }
.splash.is-leaving .splash__inner { animation: splash-fade .3s ease forwards; }
.splash__mark {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; margin-bottom: 10px;
  background: var(--paper); color: var(--ink); font: 800 1.9rem/1 var(--font-display); letter-spacing: -.04em;
  box-shadow: inset 0 -7px 0 var(--accent);
  animation: splash-pop .5s cubic-bezier(.2, .9, .3, 1.3) both;
}
.splash__name { font: 700 clamp(1.6rem, 5vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.02em; animation: splash-rise .5s ease .15s both; }
.splash__role { color: #aab3c2; animation: splash-rise .5s ease .25s both; }
.splash__bar { width: 160px; height: 3px; margin-top: 14px; border-radius: 2px; background: rgb(255 255 255 / .12); overflow: hidden; position: relative; }
.splash__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: splash-bar .85s cubic-bezier(.6, 0, .2, 1) .1s both; }

@keyframes splash-pop { from { opacity: 0; transform: scale(.7) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes splash-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splash-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splash-fade { to { opacity: 0; transform: translateY(-12px); } }
@keyframes splash-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Animations discrètes ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .splash { display: none; }
}

@media print {
  .site-header, .wa-float, .cta, .site-footer { display: none; }
}
