/* ============================================================
   Maya Lahouel · mayawebdesign.ch
   Palette : crème / encre chaude / terracotta
   Typo : Fraunces (titres) + Inter (texte)
   ============================================================ */

:root {
  --bg: #121310;
  --bg-alt: #191B16;
  --surface: #1D201A;
  --ink: #F0F2E9;
  --ink-soft: #AEB3A4;
  --accent: #C9D633;
  --accent-deep: #9FAC1E;
  --accent-soft: #272B14;
  --accent-bright: #DDEB4A;
  --line: #31362A;
  --dark: #0C0D0A;
  --dark-text: #F0F2E9;
  --dark-soft: #A9AE9F;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Cadre de planche : filet fixe autour de la page, comme un plan */
body::before {
  content: "";
  position: fixed;
  inset: 14px;
  border: 1px solid rgba(240, 242, 233, .22);
  pointer-events: none;
  z-index: 90;
}
@media (max-width: 640px) {
  body::before { inset: 8px; }
}

/* Filet de section avec numéro de cartouche */
.sheet-rule {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: .7rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sheet-rule span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: .12em;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: .6em 1.2em; border-radius: 0 0 12px 12px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

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

::selection { background: #333A18; color: var(--ink); }

/* ---------- Typographie ---------- */
h1, h2, h3, .pullquote {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-variation-settings: "opsz" 90;
}
h1 em, .pullquote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 440;
}

h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 540; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 2px;
  background: var(--accent);
  flex: none;
}

.lead, .section-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 36rem;
}

.section-quote {
  margin-top: 1.1rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}
.section-quote em { font-style: italic; }
.section-quote span {
  display: block;
  margin-top: .25rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: var(--accent);
  color: #151609;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.05em 1.8em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(201, 214, 51, .4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}
.btn-small { padding: .8em 1.3em; font-size: .74rem; }
.btn-light {
  background: var(--dark-text);
  border-color: var(--dark-text);
  color: var(--dark);
}
.btn-light:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(18, 19, 16, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-menu a:not(.btn) {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: .35em;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: color .2s, background-size .25s;
}
.nav-menu a:not(.btn):hover {
  color: var(--ink);
  background-size: 100% 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(201, 214, 51, .11), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}
.hero-grid > *, .approche-grid > *, .path-grid > * { min-width: 0; }

.hero-text .lead { margin-top: 1.4rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  margin-top: 2.2rem;
}
.hero-chips li {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .5em 1em;
}
.hero-chips .chip-accent {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-bright);
  font-weight: 600;
}
.hero-chips .ord { font-size: .7em; vertical-align: super; }

.hero-visual { position: relative; }

.portrait-frame {
  position: relative;
  max-width: 400px;
  margin-left: auto;
  margin-right: clamp(0rem, 2vw, 1.5rem);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
}
.portrait-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(1) contrast(1.12) brightness(.92);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75);
}
/* Vignettage : neutralise l'arrière-plan (voilier, lac) sans détourage */
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  background:
    linear-gradient(to bottom, rgba(12,13,10,.82) 0%, rgba(12,13,10,.28) 20%, transparent 38%),
    radial-gradient(120% 88% at 50% 44%, transparent 40%, rgba(12,13,10,.4) 74%, rgba(12,13,10,.82) 100%),
    linear-gradient(200deg, transparent 52%, rgba(12,13,10,.55));
  pointer-events: none;
}

.portrait-chip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  background: rgba(12, 13, 10, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(201, 214, 51, .55);
  padding: .8em 1em;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.portrait-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3E9B5F;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .portrait-chip .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 155, 95, .45); }
  50% { box-shadow: 0 0 0 6px rgba(62, 155, 95, 0); }
}


/* ---------- Cartes savoir-faire ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 660px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: #454C24;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .6);
}
.card-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .65rem; }
.card p:not(.card-num) { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Projets ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .65);
}
.work-meta { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.work-meta h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.work-meta p { color: var(--ink-soft); font-size: .93rem; }
.work-tags {
  margin-top: auto;
  padding-top: .9rem;
  font-size: .78rem !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent) !important;
}

/* --- Vignettes photographiques / plans --- */
.thumb-photo { background: #F4F4EF; }
.thumb-photo::after { display: none; }
.thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.thumb-plan { background: #FFFFFF; }
.thumb-plan img { object-fit: contain; }
.work-card:hover .thumb-photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .thumb-photo img { transition: none; }
  .work-card:hover .thumb-photo img { transform: none; }
}

/* --- Vignettes « élévation d'architecte » (dessins CSS) --- */
.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1F221A;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.thumb::after {           /* ligne de sol */
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 18%;
  height: 2px;
  background: var(--ink);
}
.thumb > div { position: absolute; }

/* Rougemont · chalet patrimonial + montagne */
.t-mtn {
  left: -6%; bottom: 18%;
  width: 112%; height: 64%;
  clip-path: polygon(0 100%, 34% 12%, 58% 58%, 74% 30%, 100% 100%);
  background: #282C21;
}
.t-facade-chalet {
  left: 50%; bottom: 18%;
  transform: translateX(-50%);
  width: 44%; height: 32%;
  background: #262A1E;
  border: 2px solid var(--ink);
}
.t-facade-chalet::before, .t-facade-chalet::after {
  content: "";
  position: absolute;
  top: 26%;
  width: 16%; height: 24%;
  background: var(--accent);
}
.t-facade-chalet::before { left: 16%; }
.t-facade-chalet::after { right: 16%; }
.t-roof-chalet {
  left: 50%; bottom: calc(18% + 32% - 2px);
  transform: translateX(-50%);
  width: 54%; height: 17%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--ink);
}
.t-door {
  left: 50%; bottom: calc(18% + 2px);
  transform: translateX(-50%);
  width: 8%; height: 13%;
  background: var(--accent);
}

/* Gstaad · hôtel */
.t-hotel {
  left: 14%; bottom: 18%;
  width: 72%; height: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) content-box 0 0 / 11% 13% space;
  border: 10px solid #262A1E;
  outline: 2px solid var(--ink);
  background-color: #262A1E;
}
.t-awning {
  left: 11%; bottom: calc(18% + 50%);
  width: 78%; height: 6%;
  background: var(--accent);
}
.t-flagpole {
  left: 50%; bottom: calc(18% + 56%);
  width: 2px; height: 13%;
  background: var(--ink);
}
.t-flagpole::after {
  content: "";
  position: absolute;
  top: 0; left: 2px;
  width: 16px; height: 10px;
  background: var(--accent);
}

/* Lancy · townhouses en ordre contigu */
.t-house {
  bottom: 18%;
  width: 19.5%; height: 34%;
  background: #262A1E;
  border: 2px solid var(--ink);
}
.t-h1 { left: 10%; }
.t-h2 { left: 29.5%; }
.t-h3 { left: 49%; }
.t-h4 { left: 68.5%; }
.t-house::before {
  content: "";
  position: absolute;
  left: -2px; top: -34%;
  width: calc(100% + 4px); height: 34%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--ink);
}
.t-house i {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 30%; height: 38%;
  background: var(--accent);
}
.t-h2 i, .t-h4 i { background: var(--ink); }

/* Bourdigny · grange, arche & ascenseur */
.t-facade-barn {
  left: 26%; bottom: 18%;
  width: 48%; height: 38%;
  background: #262A1E;
  border: 2px solid var(--ink);
}
.t-roof-barn {
  left: 22%; bottom: calc(18% + 38% - 2px);
  width: 56%; height: 22%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--ink);
}
.t-arch {
  left: 50%; bottom: calc(18% + 2px);
  transform: translateX(-50%);
  width: 15%; height: 22%;
  background: var(--accent);
  border-radius: 50% 50% 0 0 / 90% 90% 0 0;
}
.t-lift {
  left: 64%; bottom: calc(18% + 4%);
  width: 2px; height: 30%;
  background: var(--ink);
}
.t-lift::after {
  content: "";
  position: absolute;
  top: 0; left: -4px;
  width: 10px; height: 10px;
  border: 2px solid var(--ink);
  background: #262A1E;
}

/* Chermignon · chalet & excavation */
.t-facade-cherm {
  left: 31%; bottom: 18%;
  width: 38%; height: 28%;
  background: #262A1E;
  border: 2px solid var(--ink);
}
.t-facade-cherm::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  transform: translateX(-50%);
  width: 22%; height: 30%;
  background: var(--accent);
}
.t-roof-cherm {
  left: 27%; bottom: calc(18% + 28% - 2px);
  width: 46%; height: 17%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--ink);
}
.t-excav {
  left: 31%; top: calc(82% + 4px);
  width: 38%; height: 13%;
  border: 2px dashed var(--accent);
  border-top: 0;
  background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(201, 214, 51, .3) 5px 7px);
}

/* Carte « + » */
.work-card-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .8rem;
  background: transparent;
  border: 2px dashed var(--line);
  padding: 2rem 1.8rem;
  box-shadow: none !important;
}
.work-note-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}
.work-note-text { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Parcours ---------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.path-title {
  font-size: 1.25rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}
.path-title span {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  white-space: nowrap;
}
.path-sub {
  color: var(--ink-soft);
  font-size: .9rem;
  margin-top: .35rem;
}
.path-list {
  list-style: none;
  margin-top: 1.3rem;
}
.path-list li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
  font-weight: 500;
}
.path-list-dated li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .8rem;
  font-weight: 400;
}
.path-list-dated li span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
  padding-top: .18em;
  white-space: nowrap;
}
.path-title-langs { margin-top: 2.2rem; }
.langs {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: .5rem;
}
.langs li { font-size: .93rem; color: var(--ink-soft); }
.langs strong { color: var(--ink); font-weight: 600; margin-right: .4em; }

/* ---------- Approche ---------- */
.approche-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.pullquote {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
}
.approche-text p { color: var(--ink-soft); }
.values {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: .8rem;
}
.values li {
  display: flex;
  gap: .8rem;
  font-weight: 500;
  font-size: .98rem;
}
.values li::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
  margin-top: .72em;
  flex: none;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: clamp(4.5rem, 10vw, 7rem);
  position: relative;
  overflow: clip;
}
.contact::before {
  content: "";
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(closest-side, rgba(201, 214, 51, .12), transparent 70%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow-light { color: var(--accent-bright); justify-content: center; }
.eyebrow-light::before { background: var(--accent-bright); }
.contact h2 { max-width: 20ch; }
.contact-lead {
  color: var(--dark-soft);
  margin-top: 1.1rem;
  font-size: 1.08rem;
}
.contact-email { margin-top: 2.4rem; }
.contact-email a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 480;
  letter-spacing: -0.01em;
  color: var(--dark-text);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
  transition: color .2s;
  overflow-wrap: anywhere;
}
.contact-email a:hover { color: var(--accent-bright); }
.contact-phone { margin-top: 1.2rem; }
.contact-phone a {
  color: var(--dark-soft);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
}
.contact-phone a:hover { color: var(--dark-text); }
.contact-extra {
  margin-top: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.contact-note {
  font-size: .88rem;
  color: var(--dark-soft);
  letter-spacing: .02em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-soft);
  border-top: 1px solid rgba(246, 240, 228, .14);
  padding-block: 2.4rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark-text);
}
.footer-brand span { font-style: italic; color: var(--accent-bright); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
}
.footer-nav a {
  text-decoration: none;
  font-size: .88rem;
  color: var(--dark-soft);
}
.footer-nav a:hover { color: var(--dark-text); }
.footer-legal { font-size: .8rem; text-align: right; line-height: 1.7; }

/* ---------- Révélation au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.cards-grid .reveal:nth-child(2), .works-grid .reveal:nth-child(2) { transition-delay: .08s; }
.cards-grid .reveal:nth-child(3), .works-grid .reveal:nth-child(3) { transition-delay: .16s; }
.cards-grid .reveal:nth-child(4), .works-grid .reveal:nth-child(4) { transition-delay: .24s; }
.works-grid .reveal:nth-child(5) { transition-delay: .1s; }
.works-grid .reveal:nth-child(6) { transition-delay: .18s; }
.works-grid .reveal:nth-child(7) { transition-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Pages intérieures (mentions légales, 404) ---------- */
.page-simple { padding-block: clamp(3rem, 7vw, 5rem); }
.page-simple .container { max-width: 760px; }
.page-simple h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 2rem; }
.page-simple h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
.page-simple p, .page-simple li { color: var(--ink-soft); }
.page-simple ul { padding-left: 1.2rem; }
.page-simple a { color: var(--accent); }

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--accent);
}
.error-page p { color: var(--ink-soft); margin: 1.2rem 0 2rem; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .portrait-frame { margin-inline: auto; max-width: 340px; }
  .approche-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6);
    padding: .6rem 1.4rem 1.4rem;
    display: none;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) {
    display: block;
    padding: .85em 0;
    font-size: 1.05rem;
  }
  .nav-menu .btn { margin-top: .9rem; }
  .site-header { background: var(--bg); }
}

@media (max-width: 560px) {
  .path-list-dated li { grid-template-columns: 1fr; gap: .1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .portrait-chip { letter-spacing: .05em; }
}

/* ---------- Galerie & signature citation ---------- */
.pullquote-sign { margin-top: 1.3rem; font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* Poste actuel dans le parcours */
.path-current { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.path-current span { color: var(--accent); font-weight: 600; font-size: .8rem; letter-spacing: .06em; margin-right: .5em; }
