/* ===== ATELIER NĀGA — site v10 « le temps long » (21/09/2026) =====
   Bould hébergée sur place · charte Nāga (Glaz, bleu pétrole, sauge).
   Ancienne feuille conservée : css/style-v9.css (retour arrière = remettre les gabarits). */

@font-face { font-family: "Bould"; src: url("../fonts/Bould-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Bould"; src: url("../fonts/Bould-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Bould"; src: url("../fonts/Bould-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bould"; src: url("../fonts/Bould-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --encre: #16242A;
  --encre-2: #3A454C;
  --doux: #5E6C74;
  --trait: #E1E8E9;
  --perle: #F2F5F5;
  --glaz: #008EA9;
  --petrole: #006478;
  --sauge: #8CB4A0;
  --nuit: #0F2A33;
  --blanc: #ffffff;
  /* contenu limité à 1280 px et centré ; fonds et photos restent en pleine largeur */
  --marge: max(clamp(20px, 6.6vw, 96px), calc((100vw - 1280px) / 2));
  --police: "Bould", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titre-1: clamp(40px, 5.6vw, 84px);
  --titre-2: clamp(32px, 3.9vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--police); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--encre-2); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--petrole); text-decoration: none; transition: color .2s; }
a:hover { color: var(--glaz); }
:focus-visible { outline: 2px solid var(--glaz); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 300; color: var(--encre); letter-spacing: -0.015em; text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.macron { display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--glaz); }
.macron.clair { background: var(--blanc); }
.macron.sauge { background: var(--sauge); }
.courbes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fleche::after { content: " →"; }
.bouton { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; padding: 13px 22px; border-radius: 999px; background: var(--petrole); color: var(--blanc); }
.bouton:hover { background: var(--glaz); color: var(--blanc); }
.bouton.clair { background: var(--blanc); color: var(--nuit); }
.bouton.clair:hover { background: var(--perle); color: var(--nuit); }

/* ---------- en-tête ---------- */
.entete { position: absolute; top: 0; left: 0; right: 0; z-index: 20; height: 96px; padding: 0 var(--marge); display: flex; align-items: center; justify-content: space-between; color: var(--encre); }
.entete.sur-photo { color: var(--blanc); }
.entete.sur-photo::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(8,24,30,.62), rgba(8,24,30,0)); z-index: -1; }
.entete.sur-photo .marque, .entete.sur-photo .nav > a:not(.bouton) { text-shadow: 0 1px 8px rgba(8,24,30,.45); }
.marque { display: flex; align-items: center; gap: 14px; color: inherit; }
.marque:hover { color: inherit; }
.marque b { font-weight: 400; font-size: 30px; letter-spacing: .01em; }
.marque b i { font-style: normal; color: var(--glaz); }
.sur-photo .marque b i { color: #ffffff; }
.marque span { width: 1px; height: 26px; background: currentColor; opacity: .35; }
.marque small { font-size: 13px; line-height: 1.25; opacity: .78; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { color: inherit; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: inherit; border-bottom-color: currentColor; }
.nav a[aria-current] { font-weight: 400; border-bottom-color: var(--glaz); }
.nav .bouton { border-bottom: 0; padding: 12px 20px; }
.sur-photo .nav .bouton { background: var(--blanc); color: var(--nuit); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 7px 0 7px auto; }
.burger span:first-child { width: 26px; } .burger span:last-child { width: 18px; }
@media (max-width: 900px) {
  .entete { height: 72px; }
  .marque b { font-size: 26px; } .marque span, .marque small { display: none; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: 30; flex-direction: column; justify-content: center; gap: 26px; background: var(--nuit); color: var(--blanc); transform: translateY(-100%); transition: transform .35s ease; }
  .nav.ouvert { transform: none; }
  .nav a { font-size: 26px; }
  .nav .bouton { font-size: 16px; background: var(--blanc); color: var(--nuit); }
  .nav .fermer { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; background: none; color: var(--blanc); font-size: 30px; cursor: pointer; }
}
@media (min-width: 901px) { .nav .fermer { display: none; } }
.page-claire { padding-top: 96px; }
@media (max-width: 900px) { .page-claire { padding-top: 72px; } }

/* ---------- grande photo d'ouverture ---------- */
.ouverture { position: relative; min-height: min(820px, 88vh); display: flex; align-items: flex-end; color: var(--blanc); background: var(--nuit) center / cover no-repeat; }
.ouverture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,30,0) 40%, rgba(8,24,30,.74) 100%); }
.ouverture > div { position: relative; z-index: 1; width: 100%; padding: 0 var(--marge) clamp(40px, 7vw, 96px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.ouverture h1 { color: var(--blanc); font-size: clamp(40px, 5.3vw, 72px); line-height: 1.04; max-width: 900px; margin-top: 26px; }
.ouverture .sous { font-style: italic; font-size: clamp(16px, 1.5vw, 21px); color: rgba(255,255,255,.9); margin-top: 22px; }
.ouverture .cote { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.ouverture .cote a { color: var(--blanc); font-size: 16px; font-weight: 400; }
@media (max-width: 760px) { .ouverture { min-height: 640px; } .ouverture .cote { align-items: flex-start; } }

/* ---------- blocs ---------- */
.bloc { position: relative; padding: clamp(64px, 8vw, 120px) var(--marge); overflow: hidden; }
.bloc.perle { background: var(--perle); }
.bloc.nuit { background: var(--nuit); color: rgba(255,255,255,.8); }
.bloc.petrole { background: var(--petrole); color: rgba(255,255,255,.88); }
.bloc.nuit h2, .bloc.petrole h2 { color: var(--blanc); }
.bloc > * { position: relative; }
.bloc > .courbes { position: absolute; }
.tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.tete > div { display: flex; flex-direction: column; gap: 22px; }
.tete h2 { font-size: var(--titre-2); line-height: 1.08; }
.tete .note { font-size: 15px; color: var(--doux); }

/* manifeste */
.manifeste { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6.6vw, 96px); }
.manifeste .gauche { display: flex; flex-direction: column; gap: 22px; }
.manifeste .gauche strong { font-weight: 400; color: var(--petrole); font-size: 15px; }
.manifeste .gauche p { font-size: 15px; color: var(--doux); }
.manifeste .droite { display: flex; flex-direction: column; gap: 48px; max-width: 760px; }
.accroche { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.28; color: var(--encre); letter-spacing: -0.01em; }
.accroche em { font-style: normal; color: var(--petrole); }
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trois b { display: block; font-weight: 500; color: var(--encre); font-size: 16px; margin-bottom: 8px; }
.trois p { font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .manifeste, .trois { grid-template-columns: 1fr; } .trois { gap: 24px; } }

/* démarche (texte long) */
.demarche { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6.6vw, 96px); }
.demarche .texte { columns: 2 320px; column-gap: 56px; max-width: 900px; }
.demarche .texte p { margin-bottom: 1.1em; break-inside: avoid; }
@media (max-width: 900px) { .demarche { grid-template-columns: 1fr; } }

/* domaines */
.domaines { border-bottom: 1px solid var(--trait); }
.domaine { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 420px) 260px; gap: 40px; align-items: center; min-height: 200px; padding: 24px 0; border-top: 1px solid var(--trait); color: var(--encre); }
.domaine:hover { color: var(--encre); }
.domaine .n { font-size: 15px; color: var(--doux); font-variant-numeric: tabular-nums; }
.domaine .t { display: flex; flex-direction: column; gap: 6px; }
.domaine .t b { font-weight: 300; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -0.01em; }
.domaine .t span { font-size: 18px; color: var(--petrole); }
.domaine .d { font-size: 16px; line-height: 1.6; }
.domaine .i { height: 150px; border-radius: 2px; background: var(--trait) center / cover no-repeat; transition: transform .5s ease; }
.domaine:hover .i { transform: scale(1.03); }
.domaine:hover .t b { color: var(--petrole); }
@media (max-width: 1100px) { .domaine { grid-template-columns: 48px minmax(0, 1fr) 200px; } .domaine .d { display: none; } }
@media (max-width: 640px) { .domaine { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; min-height: 116px; } .domaine .n { display: none; } .domaine .i { height: 72px; } .domaine .t span { font-size: 14px; } }

/* carte */
.territoire { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.territoire .gauche { display: flex; flex-direction: column; gap: 26px; padding-top: 20px; }
.territoire h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 12px; }
.chiffres b { display: block; font-weight: 300; font-size: 44px; line-height: 1.1; color: var(--blanc); font-variant-numeric: tabular-nums; }
.chiffres span { font-size: 14px; color: rgba(255,255,255,.7); }
.carte { width: 100%; max-width: 720px; margin-left: auto; display: block; height: auto; font-family: var(--police); font-weight: 300; }
@media (max-width: 760px) { .carte text { font-size: 30px; } .carte text.sec { display: none; } }
.carte-note { font-size: 13px; color: rgba(255,255,255,.55); text-align: right; margin-top: 6px; }
@media (max-width: 900px) { .territoire { grid-template-columns: 1fr; gap: 24px; } }

/* sélection */
.selection { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; }
.selection .col { display: flex; flex-direction: column; gap: 40px; }
.carte-projet { display: flex; flex-direction: column; gap: 18px; color: var(--encre); }
.carte-projet:hover { color: var(--encre); }
.carte-projet .i { aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; background: var(--trait); }
.carte-projet .i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte-projet:hover .i img { transform: scale(1.03); }
.selection .grand .i { aspect-ratio: auto; flex: 1; min-height: 420px; }
.carte-projet .l { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.carte-projet .l b { display: block; font-weight: 400; font-size: 24px; color: var(--encre); }
.selection .grand .l b { font-size: 30px; }
.carte-projet .l span { font-size: 16px; }
.carte-projet .l small { font-size: 13px; color: var(--doux); }
@media (max-width: 900px) { .selection { grid-template-columns: 1fr; } .selection .grand .i { aspect-ratio: 16 / 11; } }

/* contact */
.appel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(40px, 6.6vw, 96px); align-items: start; }
.appel h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; margin: 26px 0; }
.appel p { font-size: 18px; max-width: 620px; }
.coord { display: flex; flex-direction: column; gap: 22px; padding-top: 30px; font-size: 18px; color: var(--blanc); }
.coord span { display: flex; flex-direction: column; gap: 4px; }
.coord small { font-size: 13px; color: rgba(255,255,255,.7); }
.coord a { color: var(--blanc); }
.coord .bouton { align-self: flex-start; margin-top: 8px; }
@media (max-width: 900px) { .appel { grid-template-columns: 1fr; } .coord { padding-top: 0; } }

/* ---------- pied de page ---------- */
.pied { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 36px var(--marge); border-top: 1px solid var(--trait); font-size: 14px; color: var(--doux); }
.pied nav { display: flex; gap: 28px; flex-wrap: wrap; }
.pied a { color: var(--doux); }
.pied a:hover { color: var(--petrole); }

/* ---------- page de section ---------- */
.bandeau { position: relative; overflow: hidden; background: var(--perle); padding: clamp(40px, 6vw, 104px) var(--marge) clamp(48px, 6vw, 88px); }
.bandeau > * { position: relative; }
.bandeau > .courbes { position: absolute; }
.bandeau .fil { font-size: 15px; color: var(--doux); }
.bandeau .fil a { color: var(--doux); }
.bandeau h1 { font-size: var(--titre-1); line-height: 1; margin: 26px 0 28px; }
.bandeau .deux { display: flex; gap: clamp(24px, 6.6vw, 96px); align-items: flex-start; flex-wrap: wrap; }
.bandeau .deux strong { font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); color: var(--petrole); }
.bandeau .deux p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; max-width: 640px; }
.barre { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px var(--marge); border-bottom: 1px solid var(--trait); }
.onglets { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.onglets a { white-space: nowrap; font-size: 15px; color: var(--doux); padding-bottom: 8px; border-bottom: 2px solid transparent; }
.onglets a[aria-current] { color: var(--encre); font-weight: 400; border-bottom-color: var(--glaz); }
.filtres { display: flex; gap: 10px; flex-wrap: wrap; }
.filtres button { font: 300 15px var(--police); color: var(--encre-2); background: var(--blanc); border: 1px solid var(--trait); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.filtres button[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); font-weight: 400; }
.mosaique { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 232px; grid-auto-flow: dense; gap: 20px; padding: 64px var(--marge) 0; }
.tuile { position: relative; overflow: hidden; border-radius: 2px; color: var(--blanc); background: var(--nuit); grid-column: span 2; }
.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tuile:hover img { transform: scale(1.04); }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,30,0) 48%, rgba(8,24,30,.72)); }
.tuile .etat { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: 12px; font-weight: 400; background: rgba(255,255,255,.94); padding: 3px 11px; border-radius: 999px; color: var(--petrole); }
.tuile .etat.livre { color: #2F7353; }
.tuile .l { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
.tuile .l b { font-weight: 400; font-size: 22px; color: var(--blanc); }
.tuile .l span { font-size: 15px; color: rgba(255,255,255,.9); }
.tuile:hover { color: var(--blanc); }
.m0 { grid-column: span 4; grid-row: span 2; } .m0 .l b { font-size: 32px; }
.m1 { grid-row: span 2; } .m2 { grid-row: span 2; }
.m5 { grid-column: span 4; }
.m6 { grid-column: span 3; grid-row: span 2; } .m6 .l b { font-size: 30px; }
.m7, .m8 { grid-column: span 3; }
.tuile[hidden] { display: none; }
.tuile.plein { grid-column: 1 / -1; grid-row: span 2; } .tuile.plein .l b { font-size: 32px; }
.tuile.large4 { grid-column: span 4; }
.aussi { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: baseline; padding: 36px var(--marge) 0; font-size: 16px; }
.aussi span { color: var(--doux); }
.vide { padding: 40px var(--marge) 0; color: var(--doux); }
@media (max-width: 1000px) { .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } .tuile, .m1, .m2, .m5, .m7, .m8, .large4 { grid-column: span 1; grid-row: span 1; } .m0, .m6, .plein { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 560px) { .mosaique { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 14px; } .m0, .m6, .plein { grid-column: span 1; grid-row: span 1; } .tuile .l b, .m0 .l b, .m6 .l b { font-size: 22px; } }
.suivante { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; padding: 64px var(--marge); background: var(--perle); color: var(--encre); margin-top: 96px; }
.suivante:hover { color: var(--encre); }
.suivante small { display: block; font-size: 15px; color: var(--doux); margin-bottom: 10px; }
.suivante b { font-weight: 300; font-size: var(--titre-2); line-height: 1.08; letter-spacing: -0.015em; }
.suivante b i { font-style: normal; color: var(--petrole); }
.suivante .i { height: 190px; border-radius: 2px; background: var(--trait) center / cover no-repeat; }
@media (max-width: 800px) { .suivante { grid-template-columns: 1fr; gap: 24px; } .suivante .i { height: 160px; } }

/* ---------- fiche projet ---------- */
.fiche-ouverture { min-height: min(760px, 86vh); }
.fiche-ouverture h1 { font-size: clamp(48px, 6.7vw, 96px); line-height: .95; margin-top: 18px; }
.fiche-ouverture .fil { font-size: 15px; color: rgba(255,255,255,.85); }
.fiche-ouverture .fil a { color: rgba(255,255,255,.85); }
.fiche-ouverture .sous { font-style: normal; font-size: clamp(18px, 2vw, 28px); }
.technique { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-bottom: 1px solid var(--trait); padding: 0 var(--marge); }
.technique div { display: flex; flex-direction: column; gap: 8px; padding: 44px 32px 44px 0; }
.technique div + div { padding-left: 32px; border-left: 1px solid var(--trait); }
.technique small { font-size: 13px; color: var(--doux); }
.technique span { font-size: 19px; font-weight: 400; color: var(--encre); line-height: 1.35; }
@media (max-width: 760px) { .technique { grid-template-columns: 1fr 1fr; } .technique div { padding: 22px 12px 22px 0; } .technique div + div { padding-left: 0; border-left: 0; } .technique span { font-size: 16px; } }
.missions { padding: 64px var(--marge) 0; }
.missions > strong { display: block; font-weight: 400; font-size: 15px; color: var(--petrole); margin-bottom: 34px; }
.frise { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.frise::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; top: 8px; height: 2px; background: var(--trait); }
.frise li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.frise li i { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.frise li.faite i { background: var(--glaz); box-shadow: 0 0 0 5px var(--blanc), 0 0 0 6px var(--glaz); }
.frise li.faite + li.faite::before { content: ""; position: absolute; right: 50%; width: 100%; top: 8px; height: 2px; background: var(--glaz); }
.frise b { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--doux); }
.frise li.faite b { color: var(--encre); }
.frise span { font-size: 13px; color: var(--doux); }
.mission-texte { font-size: 16px; }
@media (max-width: 760px) {
  .frise { grid-template-columns: 1fr; gap: 4px; }
  .frise::before { left: 8px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .frise li { flex-direction: row; align-items: center; gap: 14px; text-align: left; min-height: 34px; }
  .frise li i { width: 14px; height: 14px; margin-left: 2px; }
  .frise li.faite + li.faite::before { right: auto; left: 8px; width: 2px; top: -20px; height: 24px; }
  .frise b { min-width: 48px; }
}
.recit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6.6vw, 96px); padding: 72px var(--marge) 0; align-items: start; }
.recit .texte { display: flex; flex-direction: column; gap: 26px; }
.recit .chapeau { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.38; color: var(--encre); }
.recit .texte p { font-size: 18px; line-height: 1.75; }
.recit figure { display: flex; flex-direction: column; gap: 12px; }
.recit figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; cursor: zoom-in; }
@media (max-width: 900px) { .recit { grid-template-columns: 1fr; } .recit figure img { aspect-ratio: 4 / 3; } }
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px var(--marge) 0; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; cursor: zoom-in; }
.galerie img.large { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .galerie { grid-template-columns: 1fr; gap: 12px; } .galerie img.large { aspect-ratio: 3 / 2; } }
.voisins { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 96px var(--marge) 0; padding: 48px 0; border-top: 1px solid var(--trait); }
.voisins a { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; color: var(--encre); }
.voisins a.apres { grid-template-columns: minmax(0, 1fr) 200px; text-align: right; }
.voisins a:hover b { color: var(--petrole); }
.voisins .i { height: 140px; border-radius: 2px; background: var(--trait) center / cover no-repeat; }
.voisins small { display: block; font-size: 14px; color: var(--doux); }
.voisins b { display: block; font-weight: 300; font-size: 28px; color: var(--encre); margin: 4px 0; }
.voisins span { font-size: 16px; }
@media (max-width: 800px) { .voisins { grid-template-columns: 1fr; } .voisins a, .voisins a.apres { grid-template-columns: 96px minmax(0, 1fr); text-align: left; } .voisins a.apres .i { order: -1; } .voisins .i { height: 72px; } .voisins b { font-size: 22px; } }

/* ---------- réalisations ---------- */
.grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; padding: 64px var(--marge) 0; }
.grille .carte-projet[hidden] { display: none; }
.grille .carte-projet .l b { font-size: 22px; }
.grille .carte-projet .l span { font-size: 15px; }
@media (max-width: 1000px) { .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grille { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- pages simples (contact, mentions) ---------- */
.simple { padding: clamp(48px, 7vw, 104px) var(--marge); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6.6vw, 96px); }
.simple h1 { font-size: var(--titre-2); line-height: 1.05; margin-top: 22px; }
.simple .corps { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.simple .corps h2 { font-size: 24px; font-weight: 400; margin-top: 18px; }
@media (max-width: 900px) { .simple { grid-template-columns: 1fr; } }
.formulaire { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.formulaire label { font-size: 14px; color: var(--doux); margin-top: 12px; }
.formulaire input, .formulaire textarea { font: 300 17px var(--police); color: var(--encre); border: 1px solid var(--trait); border-radius: 4px; padding: 14px 16px; background: var(--blanc); }
.formulaire textarea { min-height: 170px; resize: vertical; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--glaz); box-shadow: 0 0 0 3px rgba(0,142,169,.15); }
.formulaire button { align-self: flex-start; margin-top: 18px; border: 0; cursor: pointer; font-family: var(--police); }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.success { color: #2F7353; } .form-status.error { color: #A93A36; }

/* ---------- visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(8,24,30,.94); }
.lightbox.active { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--blanc); cursor: pointer; font: 300 44px/1 var(--police); width: 56px; height: 56px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }
