/* agnesdandon.com — fond blanc épuré, header bleu savoie, texte bleu marine */

:root {
  --savoie: #4a5fc8;          /* bleu savoie */
  --savoie-dark: #3c4fae;
  --navy: #1d2a4d;            /* bleu marine (texte) */
  --gold: #a8842c;            /* doré foncé */
  --gold-soft: rgba(190, 155, 60, .55);
  --white: #ffffff;
  --grey: #6b7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Cantarell', system-ui, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;            /* footer collé en bas (pages courtes) */
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--savoie); text-decoration: none; }

h1, h2, h3, .brand, .site-nav a { font-family: 'Asap', system-ui, sans-serif; }

/* ---------- header (barre + deck de catégories déroulant) ---------- */
.site-header {
  position: relative;          /* NON sticky : défile avec la page, ne reste qu'en haut */
  z-index: 20;
  background: var(--navy);      /* pages intérieures : bandeau plein bleu marine */
}
.site-header.over-cover {
  position: absolute;          /* accueil : superposé sur la photo de couverture */
  top: 0; left: 0; right: 0;
  background: transparent;
}
.header-inner { max-width: 1100px; margin: 0 auto; padding: 18px 24px; }
.header-bar { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-sig {
  height: 120px; width: auto; display: block;                /* desktop : signature 1.5x */
  /* le PNG est désormais blanc sur fond transparent — aucun filtre nécessaire */
}
.header-right { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.contact-link {
  font-family: 'Asap', sans-serif; font-weight: 600; font-size: 1.5rem; color: #fff;
  padding-bottom: 4px; border-bottom: 3px solid transparent;
}
.contact-link:hover, .contact-link.active { border-bottom-color: var(--gold); }

/* hamburger : caché en desktop, visible uniquement en mobile (à gauche, avec label « Catégories ») */
.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 0; color: #fff;
}
.mt-icon { position: relative; width: 30px; height: 20px; flex-shrink: 0; }
.mt-line {
  position: absolute; left: 0; right: 0; height: 3px; background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
}
.mt-line:nth-child(1) { top: 1px; }
.mt-line:nth-child(2) { top: 8px; }
.mt-line:nth-child(3) { top: 15px; }
.menu-open .menu-toggle .mt-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .mt-line:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .mt-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* catégories : rangée TOUJOURS visible en desktop (pas de hamburger) */
.deck-nav {
  display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: flex-start; margin-top: 14px;
  /* flex-start (pas center) : aligne toutes les lignes FR en haut, même quand certaines
     catégories n'ont pas de traduction anglaise et sont donc plus courtes que leurs voisines */
}
.deck-nav a {
  color: #fff; display: flex; flex-direction: column;
  padding-bottom: 4px; border-bottom: 3px solid transparent;
}
.deck-nav a:hover, .deck-nav a.active { border-bottom-color: var(--gold); }
.nav-fr { font-family: 'Asap', sans-serif; font-weight: 600; font-size: 1.5rem; }
.nav-en { font-family: 'Asap', sans-serif; font-style: italic; font-weight: 600; font-size: 1.2rem; opacity: .82; }

/* accueil : relief blanc "3D" bien lisible sur l'aquarelle */
.over-cover .brand-sig { height: 200px; }                 /* signature ×1.67 sur l'accueil */
.over-cover .brand-sig { filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)); }
.over-cover .contact-link, .over-cover .deck-nav a {
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.45);
}
.over-cover .mt-line { box-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* ---------- héro ---------- */
.hero-cover { position: relative; max-width: 1100px; margin: 0 auto; }
.hero-cover > img:first-child { width: 100%; height: auto; display: block; }
.hero-cover::before {          /* voile sombre en haut = lisibilité du header blanc */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 330px;
  background: linear-gradient(to bottom, rgba(12,16,34,.55) 0%, rgba(12,16,34,.25) 50%, rgba(12,16,34,0) 100%);
  z-index: 1; pointer-events: none;
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 78%, #fff 100%);
  pointer-events: none;
}

/* ---------- présentation ---------- */
.presentation { max-width: 900px; margin: 44px auto 10px; padding: 0 22px; }
.pres-wrap { display: flex; gap: 36px; align-items: flex-start; }
.pres-wrap:not(.has-photo) { display: block; }
.pres-photo { flex: 0 0 220px; }
.pres-photo img { width: 220px; height: 220px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 20px rgba(29,42,77,.15); }
.pres-text { flex: 1; min-width: 0; }
.pres-fr { font-size: 1.05rem; }
.pres-en { font-style: italic; color: var(--grey); margin-top: 18px; font-size: 1rem; }

.read-more {
  font-family: 'Asap', sans-serif; background: none; border: 1px solid var(--navy); color: var(--navy);
  padding: 9px 30px; cursor: pointer; line-height: 1.3; margin-top: 20px;
  display: inline-flex; flex-direction: column; align-items: center;
  transition: border-color .2s, color .2s;
}
.read-more:hover { border-color: var(--savoie); color: var(--savoie); }
.rm-fr { font-weight: 600; font-size: .92rem; }
.rm-en { font-style: italic; font-weight: 600; font-size: .74rem; color: var(--grey); }

/* modal « À propos » (Lire la suite / Read more) */
.about-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,26,48,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 24px;
}
.about-modal-overlay.open { display: flex; }
.about-modal-box {
  max-width: min(760px, 92vw); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 10px; padding: 34px 40px;
}
.about-modal-text { display: flow-root; }         /* le texte englobe la photo flottante */
.about-modal-photo {
  float: left; width: 150px; height: 150px; object-fit: cover; border-radius: 8px;
  margin: 0 20px 10px 0;                          /* collée en haut à gauche, texte tout autour */
}
.about-modal-text .pres-en { margin-top: 22px; }
.about-modal-text .pres-en:first-child { margin-top: 0; }

/* ---------- titres de sections ---------- */
h1, h2 { text-align: center; margin: 46px 16px 10px; line-height: 1.25; }
h1 .h-fr, h2 .h-fr { display: block; font-size: 1.65rem; font-weight: 600; color: var(--navy); }
h1 .h-en, h2 .h-en {
  display: block;
  font-style: italic; font-weight: 600; font-size: 1rem; color: var(--grey);
}

/* ---------- grille d'œuvres ---------- */
.gallery-page, .recent { max-width: 1100px; margin: 0 auto; padding: 0 20px 30px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 28px;
}
.work { cursor: pointer; }
.work img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 2px 14px rgba(29,42,77,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover img, .work:focus img { transform: scale(1.02); box-shadow: 0 6px 22px rgba(29,42,77,.2); }
.work figcaption { margin-top: 10px; text-align: center; }
.w-fr { display: block; font-weight: 600; font-size: .95rem; }
.w-en { display: block; font-style: italic; font-weight: 600; font-size: .85rem; color: var(--grey); }
.empty-note { text-align: center; color: var(--grey); margin: 36px 0 60px; }

/* ---------- vignettes de catégories (accueil) : grille « mosaïque » ----------
   Chaque vignette occupe 1, 2 ou 4 cases (réglable dans l'admin, par catégorie) ;
   grid-auto-flow:dense comble les trous pour un rendu harmonieux. */
.cat-tiles {
  max-width: 1100px; margin: 34px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 300px; grid-auto-flow: dense; gap: 22px;
}
.cat-tile {
  position: relative; display: block; overflow: hidden;
  box-shadow: 0 2px 14px rgba(29,42,77,.12);
}
.tile-wide { grid-column: span 2; }                 /* panoramique : toute la largeur */
.tile-tall { grid-row: span 2; }                    /* haute : 2 cases en hauteur */
.tile-big  { grid-column: span 2; grid-row: span 2; } /* grande : 4 cases */

/* nombre impair de vignettes « normale »/« haute » : la dernière, seule sur sa ligne,
   est centrée plutôt que collée à gauche (elle garde la largeur d'une seule case) */
.cat-tile:last-child:nth-child(odd):not(.tile-wide):not(.tile-big) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 11px);
}
.cat-tile img, .cat-tile-empty {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .35s ease;
}
.cat-tile-empty { background: linear-gradient(135deg, #eef0f8, #dfe3f2); }
.cat-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,16,34,.55) 0%, rgba(12,16,34,.08) 45%, rgba(12,16,34,0) 100%);
  transition: background .3s ease;
}
.cat-tile:hover img { transform: scale(1.05); }
.ct-label {
  position: absolute; left: 16px; bottom: 12px; z-index: 2;
  display: flex; flex-direction: column; line-height: 1.3; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.ctl-fr { font-family: 'Asap', sans-serif; font-weight: 600; font-size: 1.25rem; }
.ctl-en { font-family: 'Asap', sans-serif; font-style: italic; font-weight: 600; font-size: .95rem; opacity: .85; }

/* ---------- pêle-mêle (mosaïque à hauteurs naturelles, pleine largeur harmonisée) ---------- */
.masonry { columns: 3 280px; column-gap: 22px; margin-top: 26px; }
.masonry .work { break-inside: avoid; margin-bottom: 22px; }
.masonry .work img { aspect-ratio: auto; width: 100%; height: auto; }
.masonry .work.feed-hidden { display: none; }
.gallery-masonry { margin-top: 28px; }

/* séparation discrète entre les vignettes de catégories et les dernières œuvres */
.home-sep {
  width: 90px; margin: 52px auto 0;
  border-top: 2px solid rgba(29,42,77,.18);
}

/* ---------- fil d'œuvres (accueil) ---------- */
.home-feed { max-width: 1100px; margin: 46px auto 0; padding: 0 20px 10px; }
.feed-hidden { display: none; }
.feed-more-wrap { text-align: center; margin: 40px 0 10px; }
.feed-more {
  font-family: 'Asap', sans-serif;
  background: none; border: 1px solid var(--navy); color: var(--navy);
  padding: 11px 42px; cursor: pointer; line-height: 1.3;
  display: inline-flex; flex-direction: column; align-items: center;
  transition: border-color .2s, color .2s;
}
.feed-more:hover { border-color: var(--savoie); color: var(--savoie); }
.fm-fr { font-weight: 600; font-size: .98rem; }
.fm-en { font-style: italic; font-weight: 600; font-size: .78rem; color: var(--grey); }

/* ---------- contact ---------- */
/* ---------- page introuvable (404) ---------- */
.notfound-page { max-width: 700px; margin: 0 auto; text-align: center; padding: 55px 20px 90px; }
.nf-code {
  font-family: 'Asap', sans-serif; font-weight: 600; font-size: 5.5rem; line-height: 1;
  color: var(--navy); opacity: .16; letter-spacing: .06em;
}
.notfound-page h1 { margin-top: 6px; }
.nf-fr { margin-top: 18px; color: var(--navy); }
.nf-en { font-style: italic; color: var(--grey); margin-top: 4px; }
.notfound-page .feed-more-wrap { margin-top: 36px; }

.contact-page { padding-bottom: 70px; }
.contact-card { text-align: center; margin-top: 26px; }
.c-name { font-family: 'Asap', sans-serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.c-line { margin: 6px 0; font-size: 1.05rem; }
.c-line a { color: var(--navy); border-bottom: 1px solid var(--gold-soft); }
.c-line a:hover { color: var(--savoie); }
.contact-extra { max-width: 680px; margin: 38px auto 0; padding: 0 22px; display: flow-root; }
.contact-photo {
  float: left; width: 150px; height: 150px; object-fit: cover; border-radius: 8px;
  margin: 0 20px 10px 0;
}
.contact-extra .pres-en { margin-top: 18px; }

/* ---------- formulaire de contact ---------- */
.cform-wrap { max-width: 680px; margin: 48px auto 0; padding: 0 22px 10px; }
.cform-wrap h2 { text-align: center; margin-bottom: 10px; }
.cform-intro { text-align: center; font-size: .95rem; }
.cform-intro-en { font-style: italic; color: var(--grey); font-size: .95rem; }
.cform-phone { text-align: center; font-size: .95rem; margin: 14px 0 28px; }
.cform-phone-en { font-style: italic; color: var(--grey); }
.cform-phone a { color: var(--navy); border-bottom: 1px solid var(--gold-soft); }
.cform-phone a:hover { color: var(--savoie); }
.cf-hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cf-field { margin-bottom: 18px; }
.cf-field > label { display: block; margin-bottom: 5px; }
.cl-fr { font-weight: 600; font-size: .95rem; }
.cl-en { display: block; font-style: italic; font-weight: 600; font-size: .95rem; color: var(--grey); }
.cf-req { color: var(--gold); }
.cf-opt { font-weight: 400; font-size: .85em; color: var(--grey); }
.cf-input {
  width: 100%; padding: 10px 12px;
  font-family: 'Cantarell', system-ui, sans-serif; font-size: 1rem; color: var(--navy);
  background: #fff; border: 1px solid rgba(29, 42, 77, .3); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.cf-input:focus { outline: none; border-color: var(--savoie); box-shadow: 0 0 0 3px rgba(74, 95, 200, .12); }
textarea.cf-input { min-height: 150px; resize: vertical; line-height: 1.6; }
.cf-phone-row { display: grid; grid-template-columns: 230px 1fr; gap: 10px; }
select.cf-input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a8842c'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.cf-count { text-align: right; font-size: .78rem; color: var(--grey); margin-top: 4px; }
.cf-count.warn { color: #b3261e; }
.cf-privacy {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--gold-soft); background: rgba(168, 132, 44, .05);
  padding: 14px 16px; margin: 4px 0 10px; font-size: .85rem;
}
.cf-privacy input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--savoie); flex-shrink: 0; cursor: pointer; }
.cf-privacy label { line-height: 1.6; cursor: pointer; }
.cf-privacy .cl-en { margin-top: 8px; font-weight: 400; font-size: inherit; line-height: inherit; }  /* EN = même taille et même interligne que le FR */
.cf-privacy a { border-bottom: 1px solid var(--gold-soft); color: var(--navy); }
.cf-privacy a:hover { color: var(--savoie); }
.cf-submit-wrap { margin: 24px 0 0; }
.cform-wrap .fm-en, .cf-sent-box .fm-en { font-size: .98rem; }   /* EN = même taille que le FR dans le formulaire */
.cf-req-note { font-size: .78rem; color: var(--grey); margin-top: 12px; }
.cl-en-inline { font-style: italic; }
.cf-status { display: none; margin-top: 16px; padding: 12px 14px; font-size: .9rem; line-height: 1.6; }
.cf-status.error { display: block; border: 1px solid rgba(179, 38, 30, .35); background: rgba(179, 38, 30, .06); color: #8f1f16; }
.cf-sent-box { background: #fff; padding: 36px 40px; text-align: center; max-width: 440px; }
.cf-sent-check { font-size: 2.6rem; color: #2e7d43; line-height: 1; }
.cf-sent-fr { margin-top: 12px; font-weight: 600; }
.cf-sent-en { font-style: italic; color: var(--grey); margin-top: 8px; margin-bottom: 20px; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20, 26, 48, .92);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { max-width: min(1080px, 94vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.modal-box img { max-height: 72vh; max-width: 100%; object-fit: contain; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.modal-caption { color: #fff; text-align: center; margin-top: 14px; max-width: 700px; overflow-y: auto; }
.m-title { font-family: 'Asap', sans-serif; font-weight: 600; font-size: 1.1rem; }
.m-title-en { font-family: 'Asap', sans-serif; font-style: italic; font-weight: 600; font-size: .92rem; opacity: .8; }
.m-desc { font-size: .95rem; margin-top: 8px; }
.m-desc-en { font-style: italic; font-size: .9rem; opacity: .8; margin-top: 4px; }
.modal-close {
  position: fixed; top: 14px; right: 18px; background: none; border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer; z-index: 102; line-height: 1;
}
.modal-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; z-index: 102;
}
.modal-prev { left: 12px; }
.modal-next { right: 12px; }

/* ---------- footer (collé en bas via body flex) ---------- */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(29,42,77,.12);
  margin-top: 60px; padding: 26px 16px 30px; text-align: center;
  font-size: .85rem; color: var(--grey);
}
.footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 10px; }
.footer-nav a { color: var(--grey); font-size: .78rem; font-weight: 600; }
.footer-nav a:hover { color: var(--savoie); }
.footer-copy { margin-top: 4px; font-size: .78rem; }
.fo-en { font-style: italic; }
.fo-sep { opacity: .5; }

/* ---------- page Legal (mini-menu gauche + contenu, police réduite) ---------- */
.legal-wrap { max-width: 960px; margin: 0 auto; padding: 0 22px 40px; }
.legal-title { text-align: center; font-size: 1.4rem; margin: 40px 0 26px; }
.legal-layout { display: flex; gap: 40px; align-items: flex-start; }
.legal-menu {
  flex: 0 0 200px; position: sticky; top: 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid rgba(29,42,77,.12); padding-right: 18px;
}
.legal-menu a {
  display: flex; flex-direction: column; line-height: 1.3;
  padding: 8px 10px; border-radius: 5px; color: var(--navy);
}
.legal-menu a:hover { background: rgba(74,95,200,.06); }
.legal-menu a.active { background: rgba(74,95,200,.08); }
.lm-fr { font-family: 'Asap', sans-serif; font-weight: 600; font-size: .85rem; }
.lm-en { font-family: 'Asap', sans-serif; font-style: italic; font-weight: 600; font-size: .75rem; color: var(--grey); }
.legal-content { flex: 1; min-width: 0; }
.lc-doc-title { text-align: left; margin: 0 0 14px; }
.lc-doc-title .h-fr { font-size: 1.15rem; }
.lc-doc-title .h-en { font-size: .85rem; }
.legal-content h2 { text-align: left; margin: 22px 0 4px; }
.legal-content h2 .h-fr { font-size: .95rem; }
.legal-content p, .legal-content ul { margin: 7px 0; font-size: .84rem; line-height: 1.55; }
.legal-content ul { padding-left: 20px; }
.legal-en-jump { margin: 2px 0 10px; font-size: .8rem; }
.legal-en-jump a { font-style: italic; color: var(--grey); border-bottom: 1px solid var(--gold-soft); }
.legal-en-jump a:hover { color: var(--savoie); }
.legal-en { font-style: italic; color: var(--grey); border-top: 1px solid rgba(29,42,77,.12); margin-top: 30px; padding-top: 6px; scroll-margin-top: 20px; }
.legal-updated { font-size: .75rem; color: var(--grey); text-align: center; margin-top: 20px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .header-inner { padding: 12px 16px; }
  /* mobile : ligne 1 = signature ; ligne 2 = hamburger+« Catégories » à GAUCHE, Contact à DROITE */
  .header-bar { gap: 8px 12px; flex-wrap: wrap; }
  .brand { order: 1; }
  .header-right { order: 3; flex-basis: 100%; justify-content: space-between; gap: 16px; }
  .brand-sig { height: 75px; }                    /* mobile : signature 1.5x */
  .over-cover .brand-sig { height: 100px; }       /* accueil mobile : ×1.33 */
  .cat-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; margin-top: 22px; }
  .cat-tile:last-child:nth-child(odd):not(.tile-wide):not(.tile-big) { width: calc(50% - 6px); }
  .ctl-fr { font-size: 1rem; }
  .ctl-en { font-size: .8rem; }
  .masonry { columns: 2 140px; column-gap: 14px; }
  .masonry .work { margin-bottom: 14px; }
  .contact-link { font-size: 1rem; }
  .menu-toggle { display: flex; }                 /* hamburger visible en mobile seulement */
  /* catégories cachées derrière le hamburger : le dépliage POUSSE le contenu vers le bas
     (menu dans le flux du header) ; colonnes de 3 catégories max pour limiter la hauteur */
  .deck-nav {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);          /* 3 catégories max par colonne */
    justify-content: start; align-items: start;
    gap: 10px 34px;
    max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
    transition: max-height .45s ease, opacity .3s ease, margin-top .45s ease;
  }
  .site-header.menu-open .deck-nav { max-height: 70vh; opacity: 1; margin-top: 14px; }
  /* accueil : menu ouvert → le header quitte la superposition sur la photo et redevient
     un bandeau navy dans le flux, pour pousser lui aussi la suite de la page */
  .site-header.over-cover.menu-open { position: relative; background: var(--navy); }
  .deck-nav a {
    opacity: 0; transform: translateY(-8px);
    transition: opacity .4s ease, transform .4s ease;
    transition-delay: calc(var(--i) * 90ms);
  }
  .site-header.menu-open .deck-nav a { opacity: 1; transform: none; }
  .nav-fr { font-size: 1.3rem; }
  .nav-en { font-size: 1rem; }
  /* formulaire de contact : une colonne */
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .cf-phone-row { grid-template-columns: 1fr; }
  .cf-sent-box { padding: 26px 22px; }
  /* page Legal : mini-menu horizontal au-dessus du contenu */
  .legal-layout { flex-direction: column; gap: 20px; }
  .legal-menu {
    position: static; flex-direction: row; flex: none; width: 100%;
    border-right: none; border-bottom: 1px solid rgba(29,42,77,.12);
    padding: 0 0 10px; gap: 10px;
  }
  .legal-menu a { border-radius: 5px 5px 0 0; }
  .pres-wrap.has-photo { flex-direction: column; }
  .pres-photo, .pres-photo img { width: 140px; height: 140px; }
  .about-modal-box { padding: 26px 22px; }
  .about-modal-photo { width: 110px; height: 110px; margin: 0 14px 8px 0; }
  .contact-photo { width: 110px; height: 110px; margin: 0 14px 8px 0; }
  .works-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .modal-nav { width: 40px; height: 40px; font-size: 1.5rem; }
  h1 .h-fr, h2 .h-fr { font-size: 1.35rem; }
}
