@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/manrope-latin.woff2") format("woff2"); }
/* =========================================================
   Laderc Studio · Maquette page d'accueil v0.1
   Jetons de couleur : clair par défaut, sombre selon le système
   ou le choix du visiteur.
   ========================================================= */
:root {
  --nuit: #0B1F3A; --marine: #14305A; --acier: #2F5D8C; --brume: #E8EEF5; --cuivre: #C08A4D;
  --bg: #F8FAFC; --bg-alt: #EEF3F8; --surface: #FFFFFF; --ink: #0B1F3A; --ink-2: #4A5B73; --line: #D6DFEA;
  --accent: #C08A4D; --accent-text: #8A5A24; --link: #2F5D8C;
  --btn: #14305A; --btn-hover: #0B1F3A; --on-btn: #F8FAFC;
  --band: #0B1F3A; --on-band: #EEF2F7; --on-band-2: #A9B6C8;
  --logo-ink: #0B1F3A; --logo-accent: #C08A4D; --logo-ghost: .22;
  --ok: #2E7D5B; --shadow: 0 1px 2px rgb(11 31 58 / .06), 0 12px 32px rgb(11 31 58 / .08);
  --f-ui: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-title: var(--f-ui); --title-weight: 700; --title-track: -.02em;
  --r-1: 6px; --r-2: 12px; --r-3: 20px;
  --wrap: 1160px; --gutter: max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081629; --bg-alt: #0B1C33; --surface: #0E2240; --ink: #EEF2F7; --ink-2: #A9B6C8; --line: #23395A;
    --accent: #D39C5E; --accent-text: #D9A86F; --link: #8FB4DD;
    --btn: #D39C5E; --btn-hover: #E0AE74; --on-btn: #0B1F3A;
    --band: #050F1E; --on-band: #EEF2F7; --on-band-2: #A9B6C8;
    --logo-ink: #EEF2F7; --logo-accent: #D39C5E; --logo-ghost: .28;
    --ok: #6CC49A; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #081629; --bg-alt: #0B1C33; --surface: #0E2240; --ink: #EEF2F7; --ink-2: #A9B6C8; --line: #23395A;
  --accent: #D39C5E; --accent-text: #D9A86F; --link: #8FB4DD;
  --btn: #D39C5E; --btn-hover: #E0AE74; --on-btn: #0B1F3A;
  --band: #050F1E; --on-band: #EEF2F7; --on-band-2: #A9B6C8;
  --logo-ink: #EEF2F7; --logo-accent: #D39C5E; --logo-ghost: .28;
  --ok: #6CC49A; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: var(--r-1); z-index: 100; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--f-title); font-weight: var(--title-weight); letter-spacing: var(--title-track); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 60ch; }
.sec { padding-block: clamp(64px, 10vw, 112px); }
.sec--alt { background: var(--bg-alt); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r-1); border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn--primary { background: var(--btn); color: var(--on-btn); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Bandeau de maquette ---------- */
.seg { display: inline-flex; border: 1px solid #3A4B63; border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: transparent; color: #C7D1DD; border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #E8B57B; color: #0B1F3A; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.head.is-scrolled { border-bottom-color: var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; color: inherit; text-decoration: none; }
.logo svg { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav a:hover { color: var(--accent-text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.nav .btn--primary { color: var(--on-btn); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-1); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 880px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; inset: 72px 0 auto; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Héros ---------- */
.hero { padding-block: clamp(48px, 9vw, 104px) clamp(56px, 9vw, 96px); }
.hero .wrap { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero__txt { display: grid; gap: 24px; justify-items: start; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
/* Badge de disponibilité (réglé dans le back-office) */
.dispo { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; transition: border-color .15s; }
.dispo:hover { border-color: var(--ink); }
.dispo i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.dispo[data-state="from"] i { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.dispo[data-state="full"] i { background: var(--ink-2); box-shadow: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, auto); gap: 12px 36px; }
.facts li { display: grid; gap: 2px; }
.facts b { font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.facts span { font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Grille décorative du héros, écho du logo */
.motif { position: relative; aspect-ratio: 1; width: 100%; max-width: 380px; justify-self: center; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.motif i { border-radius: 8px; border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.motif i.on { background: var(--ink); border-color: var(--ink); }
.motif i.cu { background: var(--accent); border-color: var(--accent); animation: snap 1.4s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes snap { 0% { transform: translate(-220%, -220%); opacity: 0; } 40% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.motif figcaption { position: absolute; right: 0; bottom: -34px; font-size: .75rem; color: var(--ink-2); letter-spacing: .04em; }
/* Une colonne (mobile et tablette en portrait) : le motif décoratif est masqué, il repousserait le contenu sans rien apporter */
@media (max-width: 880px) { .motif { display: none; } }

/* ---------- Services ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.card__for { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.card p { color: var(--ink-2); font-size: 1rem; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.card li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.card li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--accent); }
.card__price { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.card__price b { color: var(--ink); }
.card--main { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }

/* ---------- Atelier ---------- */
.atelier { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
@media (max-width: 920px) { .atelier { grid-template-columns: minmax(0, 1fr); } }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow); }
.demo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); flex-wrap: wrap; }
.demo__bar b { color: var(--ink); font-weight: 600; }
.demo__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #1F6F78; letter-spacing: .02em; }
.demo__brand i { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#1F6F78 0 70%, #F2B544 0); }
:root[data-theme="dark"] .demo__brand, :root:not([data-theme="light"]) .demo__brand { color: #6FC3CB; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .demo__brand { color: #1F6F78; } }
:root[data-theme="light"] .demo__brand { color: #1F6F78; }
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
@media (max-width: 640px) { .sim { grid-template-columns: minmax(0, 1fr); } }
.sim__in { padding: 24px; display: grid; gap: 22px; }
.rng { display: grid; gap: 8px; }
.rng__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rng label { font-weight: 600; font-size: .9375rem; }
.rng output { font-variant-numeric: tabular-nums; font-weight: 700; }
.rng input[type="range"] { width: 100%; accent-color: #1F6F78; height: 28px; }
.rng small { color: var(--ink-2); font-size: .75rem; display: flex; justify-content: space-between; }
.sim__out { background: #10454B; color: #F4FBFB; padding: 24px; display: grid; gap: 14px; align-content: center; }
.sim__out span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #BFE3E6; }
.sim__out .big { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sim__out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .875rem; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .18); }
.sim__out dt { color: #BFE3E6; } .sim__out dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.bar { height: 10px; border-radius: 99px; background: #F2B544; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: #F4FBFB; transition: width .25s; }
.sim__legend { display: flex; gap: 14px; font-size: .75rem; color: #BFE3E6; }
.sim__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: #F4FBFB; }
.sim__legend span + span::before { background: #F2B544; }
.demo__notes { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); }
.chip { font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); }
.demos { display: grid; gap: 12px; }
.demos__item { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.demos__item:hover { border-color: var(--ink); transform: translateY(-2px); }
.demos__item b { font-size: 1.0625rem; }
.demos__item span { font-size: .9375rem; color: var(--ink-2); }
.demos__item small { font-size: .75rem; font-weight: 600; color: var(--accent-text); letter-spacing: .08em; text-transform: uppercase; }
.demos__item.is-on { border-color: var(--accent); }

/* ---------- Travaux ---------- */
.viewer { display: grid; gap: 16px; margin-bottom: 40px; }
.viewer__ctrls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.viewer__ctrls .seg { border-color: var(--line); }
.viewer__ctrls .seg button { color: var(--ink-2); padding: 8px 14px; font-size: .8125rem; }
.viewer__ctrls .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.viewer__px { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* Sur petit écran, le sélecteur ne sert à rien : l'aperçu prend simplement la largeur de l'écran */
@media (max-width: 760px) { .viewer__ctrls .seg { display: none; } .frame { max-width: none !important; } }
.stage { background: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--ink) 4%, transparent) 10px 11px), var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-3); padding: 24px 12px; overflow: hidden; display: grid; justify-items: center; }
.frame { width: 100%; max-width: 1040px; border-radius: 12px; overflow: hidden; background: #FFFFFF; color: #1B2635; box-shadow: 0 20px 50px rgb(11 31 58 / .18); transition: max-width .45s cubic-bezier(.2,.8,.2,1); container-type: inline-size; }
.frame__chrome { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #EDF1F6; border-bottom: 1px solid #DCE3EC; }
.frame__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #C9D3DF; }
.frame__chrome span { margin-left: 8px; flex: 1; min-width: 0; background: #FFFFFF; border-radius: 6px; padding: 3px 10px; font-size: .6875rem; color: #6A7A8F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Faux site d'assureur, réagit à la largeur du cadre */
.fx { font-family: var(--f-ui); font-size: 14px; line-height: 1.5; }
.fx__nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #E6EBF1; }
.fx__brand { font-weight: 800; color: #6B2C91; letter-spacing: .02em; }
.fx__links { display: flex; gap: 16px; font-size: 13px; color: #4A5568; }
.fx__menu { display: none; width: 22px; height: 14px; border-top: 2px solid #4A5568; border-bottom: 2px solid #4A5568; position: relative; }
.fx__menu::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: #4A5568; }
.fx__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding: 28px 18px; background: linear-gradient(135deg, #F6F0FA, #FFFFFF); align-items: center; }
.fx__hero h4 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; color: #2D1240; }
.fx__hero p { color: #4A5568; font-size: 14px; }
.fx__cta { display: inline-block; margin-top: 12px; background: #6B2C91; color: #FFFFFF; padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: 13px; }
.fx__card { background: #FFFFFF; border: 1px solid #E6EBF1; border-radius: 10px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 6px 16px rgb(45 18 64 / .08); font-size: 13px; }
.fx__card b { color: #2D1240; }
.fx__field { height: 30px; border: 1px solid #D5DCE5; border-radius: 6px; background: #FAFBFC; }
.fx__offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px 18px 26px; }
.fx__offer { border: 1px solid #E6EBF1; border-radius: 10px; padding: 14px; display: grid; gap: 4px; }
.fx__offer b { color: #2D1240; } .fx__offer span { color: #6A7A8F; font-size: 12px; }
.fx__offer em { font-style: normal; font-weight: 800; color: #6B2C91; font-size: 18px; }
@container (max-width: 760px) {
  .fx__links { display: none; } .fx__menu { display: block; }
  .fx__offers { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 480px) {
  .fx__hero { grid-template-columns: 1fr; padding: 22px 16px; }
  .fx__hero h4 { font-size: 22px; }
  .fx__offers { grid-template-columns: 1fr; padding-inline: 16px; }
}
.viewer__cap { font-size: .875rem; color: var(--ink-2); max-width: 70ch; }

/* Travaux : 4 cartes au maximum par ligne (une colonne ne descend jamais sous le quart de la largeur),
   260 px minimum par carte, et auto-fit pour que 2 ou 3 cartes occupent toute la largeur */
.works { --works-gap: 20px; display: grid; gap: var(--works-gap); grid-template-columns: repeat(auto-fit, minmax(max(260px, (100% - 3 * var(--works-gap)) / 4), 1fr)); }
.work { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.work:hover { transform: translateY(-3px); border-color: var(--ink); }
.work__img { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; }
.work__img--1 { background: linear-gradient(135deg, #DDE6F2, #F4F7FB); }
.work__img--2 { background: linear-gradient(135deg, #E6E0F0, #F7F5FB); }
.work__img--3 { background: linear-gradient(135deg, #DCEBE6, #F3F8F6); }
.work__img--fp { background: #163D32; }
.work__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; background: #F7F7F8; }
.work__img .ph { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6A7A8F; border: 1px dashed #A9B6C8; padding: 6px 10px; border-radius: 6px; background: rgb(255 255 255 / .6); }
.work__img .blur { position: absolute; inset: 18% 14%; border-radius: 8px; background: #FFFFFF; box-shadow: 0 10px 24px rgb(11 31 58 / .12); display: grid; grid-template-rows: 18px 1fr; overflow: hidden; }
.work__img .blur::before { content: ""; background: #EDF1F6; }
.work__img .blur::after { content: ""; margin: 12px; border-radius: 4px; background: repeating-linear-gradient(#E3E9F1 0 8px, transparent 8px 16px); }
.fp-mark { display: grid; justify-items: center; gap: 8px; color: #F5F4ED; }
.fp-mark b { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 1.25rem; }
.fp-mark small { font-size: .625rem; letter-spacing: .42em; text-transform: uppercase; color: #D9B86C; }
.fp-mark svg { width: 26px; height: 44px; }
.work__body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.work__tags { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.work__body p { color: var(--ink-2); font-size: .9375rem; }
.work__metrics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.work--fp { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.todo { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9A3B2E; background: #FBE9E5; border-radius: 4px; padding: 2px 6px; }

/* ---------- Qui suis-je ---------- */
.about { display: grid; gap: 48px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: minmax(0, 1fr); } }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 400px; width: 100%; justify-self: center; }
.portrait__img { position: absolute; inset: 0; border-radius: var(--r-3); background: linear-gradient(160deg, var(--brume), #C9D6E5); display: grid; place-items: center; color: #4A5B73; text-align: center; font-size: .875rem; font-weight: 600; }
:root[data-theme="dark"] .portrait__img { background: linear-gradient(160deg, #1A3358, #0E2240); color: #A9B6C8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .portrait__img { background: linear-gradient(160deg, #1A3358, #0E2240); color: #A9B6C8; } }
img.portrait__img { width: 100%; height: 100%; object-fit: cover; }   /* avatar provisoire, remplacé par la photo */
.portrait__deco { position: absolute; right: -13px; bottom: -18px; width: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.portrait__deco i { aspect-ratio: 1; border-radius: 5px; background: var(--ink); }
.portrait__deco i.g { background: transparent; border: 1.5px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.portrait__deco i.c { background: var(--accent); }
.about__txt { display: grid; gap: 20px; }
.about__txt p { color: var(--ink-2); }
.about__txt p strong { color: var(--ink); font-weight: 600; }
.commit { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.commit li { padding: 16px; border-radius: var(--r-2); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; }
.commit b { font-size: 1rem; } .commit span { font-size: .875rem; color: var(--ink-2); }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.steps li::before { content: "0" counter(s); position: absolute; top: -2px; left: 0; padding-top: 14px; border-top: 2px solid var(--accent); width: 48px; font-size: .8125rem; font-weight: 700; color: var(--accent-text); letter-spacing: .1em; }
.steps h3 { margin-top: 18px; }
.steps p { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Contact ---------- */
.contact { background: var(--band); color: var(--on-band); }
.contact .wrap { display: grid; gap: 48px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 880px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }
.contact .eyebrow { color: #E2B47F; } .contact .eyebrow::before { background: #D39C5E; }
.contact__txt { display: grid; gap: 20px; align-content: start; }
.contact__txt p { color: var(--on-band-2); }
.coords { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.coords li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; }
.coords svg { width: 20px; height: 20px; color: #D39C5E; }
.coords a { color: var(--on-band); }
.form { background: #0E2240; border: 1px solid #23395A; border-radius: var(--r-3); padding: clamp(20px, 4vw, 32px); display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--on-band-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-1); border: 1px solid #34507A; background: #081629; color: #EEF2F7; }
.field textarea { min-height: 130px; resize: vertical; }
/* Liste déroulante : chevron dessiné par nos soins, à 16 px du bord, identique sur tous les navigateurs */
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9B6C8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #D39C5E; box-shadow: 0 0 0 3px rgb(211 156 94 / .25); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .8125rem; color: var(--on-band-2); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #D39C5E; }
.form .btn--primary { background: #D39C5E; color: #0B1F3A; justify-self: start; }
.form .btn--primary:hover { background: #E0AE74; }
.hp { position: absolute; left: -9999px; }
.form__ok { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 14px; border-radius: var(--r-1); background: rgb(108 196 154 / .12); border: 1px solid rgb(108 196 154 / .4); color: #CFEFDF; font-size: .9375rem; }
.form__ok::before { content: "✓"; font-weight: 700; color: #6CC49A; }

/* ---------- Pied de page ---------- */
.foot { background: var(--band); color: var(--on-band-2); border-top: 1px solid #1B3050; font-size: .875rem; --logo-ink: #EEF2F7; --logo-accent: #D39C5E; --logo-ghost: .28; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-block: 28px; }
.foot .logo svg { height: 32px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--on-band-2); }

/* ---------- Notes de maquette ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Compléments de production (ajoutés par convertir-maquettes.py)
   ========================================================= */
/* Remplacent les styles écrits dans le HTML de la maquette (interdits par la politique de sécurité) */
.fx__cta--card { margin: 0; text-align: center; }
.consent a { color: inherit; }

/* Bandeau d'aperçu, visible seulement par l'administrateur connecté */
.adminbar { background: #1D2B3F; color: #DCE3EC; font-size: .8125rem; }
.adminbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; padding-block: 8px; }
.adminbar b { color: #E8B57B; font-weight: 600; }
.adminbar a { color: #DCE3EC; }

/* Carte d'un projet dont l'étude de cas n'est pas encore en ligne */
.work--soon:hover { transform: none; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.work__soon { font-size: .8125rem; font-weight: 600; color: var(--accent-text); }

/* Formulaire réel : erreurs et confirmation */
.form-wrap { min-width: 0; }
.form [aria-invalid="true"] { border-color: #F09A8C !important; }
.form .field__err { color: #F5B3A8; font-size: .8125rem; font-weight: 600; }
.form .field__err::before { content: "⚠ "; }
.form > .field__err { grid-column: 1 / -1; margin-top: -10px; }
.form__err { padding: 12px 14px; border-radius: var(--r-1); background: rgb(240 154 140 / .12); border: 1px solid rgb(240 154 140 / .45); color: #F5C6BE; font-weight: 600; font-size: .9375rem; }
.form__err:focus, .form__ok:focus { outline: 2px solid #D39C5E; outline-offset: 2px; }
.form--sent { grid-template-columns: 1fr; }
.linkbtn { background: none; border: 0; padding: 0; color: #E2B47F; font-weight: 600; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

/* Choix du thème dans le pied de page */
.seg--foot { display: inline-flex; border: 1px solid #1B3050; border-radius: 999px; padding: 3px; gap: 2px; }
.seg--foot button { border: 0; background: transparent; border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 600; color: var(--on-band-2); cursor: pointer; }
.seg--foot button[aria-pressed="true"] { background: #D39C5E; color: #0B1F3A; }
