@font-face {
  font-family: "Cormorant Garamond";
  src: url("polices/CormorantGaramond-Medium.woff") format("woff");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Pacifico;
  src: url("polices/Pacifico-Regular.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
* { box-sizing: border-box; }
:root {
  --encre: #1c211f;
  --secondaire: #525b56;
  --trait: #dce0dd;
  --accent: #395a4d;
  --marge: min(3.5vw, 60px);
  --gouttiere: clamp(12px, 1.25vw, 21px);
}
html { scrollbar-gutter: stable; }
body {
  margin: 0 auto;
  max-width: 1720px;
  padding: 0 var(--marge);
  background: #fff;
  color: var(--encre);
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}
#site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
#site > header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:clamp(1.3rem,2.7vw,3.1rem); }
#site:has(main > .vue.courante) > header,
body:not(.avec-navigation) #site:has(main > .vue:target, main > .vue :target) > header { box-shadow:inset 0 -1px var(--trait); }
.tr-en, body:has(#langue-en:checked) .tr-fr { display:none; }
body:has(#langue-en:checked) .tr-en { display:inline; }
.langues { display:flex; align-items:center; margin:0; padding:2px; min-width:0; border:1px solid var(--trait); border-radius:30px; }
.langues label { position:relative; cursor:pointer; }
.langues input, .lecteurs { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; white-space:nowrap; clip-path:inset(50%); border:0; }
.langues label > span { display:grid; place-items:center; min-width:36px; min-height:30px; border-radius:22px; color:var(--secondaire); font-size:.875rem; }
.langues input:checked + span { background:#e9eeea; color:var(--encre); font-weight:600; }
.langues input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
a, a:visited { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
h1:focus, h2:focus { outline: none; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
h1,h2,h3,p,figure { margin: 0; }
h2 { font-size: clamp(2rem, 3.9vw, 3.5rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.65rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.23; }
.entete, .menu, .barre, .filtres, footer, .pas, .raccourcis, .lien-contact {
  display: flex; align-items: center;
}
.entete { min-height: clamp(84px, 7.6vw, 116px); justify-content: space-between; gap: 1.5rem; }
.entete h1 { font: inherit; line-height: 1; }
.signature {
  display: inline-block;
  font: 500 clamp(2.65rem, 4.7vw, 4.45rem)/1.02 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.055em;
}
[data-police="Pacifico"] .signature { font: 400 clamp(1.85rem, 3.2vw, 3rem)/1.4 Pacifico, cursive; letter-spacing: -.045em; }
.menu { gap: clamp(.4rem, 1.4vw, 1.6rem); flex-wrap: wrap; }
.menu a, .filtres a, .texte-lien, .lien-contact, .signature {
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.menu a, .filtres a { display: inline-flex; align-items: center; min-height: 38px; padding: .2rem .6rem; border-radius: 6px; }
.menu a:last-child { margin-right: -.6rem; }
.menu a[aria-current], .filtres a[aria-current] { color: var(--encre); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .menu a:hover, .filtres a:hover { color: var(--accent); background: #edf2ee; transform: translateY(-2px); }
  .signature:hover, .texte-lien:hover, .lien-contact:hover { color: var(--accent); transform: translateY(-2px); }
}
.entete.identite-design, .bio .identite-design { display: none; }
body[data-entite="design"] .identite-studio,
body:not(.avec-navigation):has([data-design]:target, .ancre-mode:target) .identite-studio { display:none; }
body[data-entite="design"] .entete.identite-design,
body:not(.avec-navigation):has([data-design]:target, .ancre-mode:target) .entete.identite-design { display:flex; }
body[data-entite="design"] .bio .identite-design,
body:not(.avec-navigation):has(.ancre-mode:target) .bio .identite-design { display:inline-flex; }
img, video { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.photo {
  display: block; position: relative; isolation: isolate; min-width: 0; padding: 0;
  background: transparent; border: 0; width: 100%; text-align: left; cursor: zoom-in;
  transition: transform .34s cubic-bezier(.22,.68,.23,1), box-shadow .34s;
}
.lieu {
  position: absolute; inset: auto 0 0; display: flex; align-items: end;
  min-height: min(42%, 7rem); padding: clamp(.55rem, 1.1vw, 1.15rem);
  padding-top: min(9%, 2.8rem); color: white;
  background: linear-gradient(0deg, rgb(5 12 9 / .72), rgb(5 12 9 / .31) 48%, transparent);
  opacity: 0; transition: opacity .25s; font-size: clamp(.875rem, 1.05vw, 1rem);
  font-weight: 500; letter-spacing: .005em; pointer-events: none;
}
.couverture .lieu { min-height: min(25%, 9rem); padding-inline: clamp(1rem,2.2vw,2.4rem); }
@media (hover:hover) and (pointer:fine) {
  .photo:hover { z-index: 2; transform: translateY(-2px) scale(1.007); box-shadow: 0 8px 22px rgb(26 36 29 / .13); }
  .photo.couverture:hover { transform: translateY(-1px) scale(1.002); }
  .photo:hover .lieu { opacity: 1; }
}
.photo:focus-visible .lieu { opacity: 1; }
@media (hover:none), (pointer:coarse) { .photo .lieu { opacity: 1; } }
.couverture { margin-bottom: clamp(30px, 3.6vw, 56px); }
#projets, .vue { scroll-margin-top: 1.5rem; }
.barre { justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .65rem 1.5rem; margin-bottom: clamp(18px,2vw,30px); }
.filtres { flex-wrap: wrap; gap: .1rem clamp(.15rem,.45vw,.55rem); color: var(--secondaire); }
.selection { display:grid; gap:var(--gouttiere); }
.rangee { display:flex; gap:var(--gouttiere); align-items:flex-start; }
.vignette { flex:var(--rapport,1) 1 0; }
.mosaique { --colonnes:3; column-gap:var(--gouttiere); }
.palier { column-count:var(--colonnes); column-gap:var(--gouttiere); }
.palier > .photo {
  display:inline-block; margin:0 0 var(--gouttiere); vertical-align:top; break-inside:avoid;
}
.mosaique.placee { position:relative; }
.mosaique.placee .palier { display:contents; }
.mosaique.placee .photo { position:absolute; width:var(--largeur-case); margin:0; }
.vue { display:none; padding-top:clamp(20px, 3.1vw, 50px); }
body:not(.avec-navigation) .vue:target, body:not(.avec-navigation) .vue:has(:target) { display:block; }
body:not(.avec-navigation) main:has(> .vue:target, > .vue :target) > .accueil { display:none; }
.avec-navigation main > section { display:none; }
.avec-navigation main > .courante { display:block; }
.ancre-mode { display:block; height:0; }
video { max-width:1000px; margin:1.5rem auto; }
.page-interieure { display:grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap:clamp(2rem,8vw,10rem); align-items:start; margin:clamp(10px,3.5vw,50px) 0; }
.page-interieure .texte { max-width:64ch; }
.texte > p { line-height:1.75; margin-bottom:1.2em; }
.texte h3 { margin-bottom:.65em; }
.presentation { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(2.25rem,6vw,7rem); margin:clamp(1.5rem,2.5vw,3rem) 0; }
.bio p { font-size:1.0625rem; line-height:1.75; text-align:justify; hyphens:auto; }
.presentation:has(.bio:only-child) { grid-template-columns:1fr; }
.mosaique-projets { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); align-items:start; gap:var(--gouttiere); margin-top:clamp(18px,2vw,30px); }
.carte-projet { display:block; min-width:0; }
.carte-projet img { transition:transform .34s ease,box-shadow .34s ease; }
.carte-projet h3 { margin-top:.7rem; }
@media (hover:hover) and (pointer:fine) {
  .carte-projet:hover img { transform:translateY(-2px); box-shadow:0 8px 22px rgb(26 36 29 / .13); }
  .carte-projet:hover h3,.retour-projets:hover,.lien-modele:hover { color:var(--accent); }
}
.projet-texte { margin:clamp(2.2rem,5vw,5rem) 0 0; padding-top:1.4rem; border-top:1px solid var(--trait); }
.projet-texte h3 { margin-bottom:.4rem; }
.retour-projets { display:inline-block; padding:.3rem 0; margin-bottom:.9rem; color:var(--secondaire); }
.carrousel { margin:1.5rem auto 0; }
.piste { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; background:#f4f5f3; }
.piste figure { flex:0 0 100%; min-width:0; scroll-snap-align:start; }
.piste img { width:100%; height:clamp(230px,58vh,680px); height:clamp(230px,58svh,680px); object-fit:contain; }
.avec-navigation .piste { scrollbar-width:none; }
.avec-navigation .piste::-webkit-scrollbar { display:none; }
.commandes-projet { display:none; }
.avec-navigation .commandes-projet { display:flex; justify-content:flex-end; align-items:center; gap:.65rem; padding:.55rem 0; }
.commandes-projet .commande { background:#edf1ed; color:var(--encre); }
.commandes-projet .commande:hover { background:#dfe8e1; }
.commandes-projet .commande:focus-visible { outline-color:var(--accent); }
.compteur { font-size:.9rem; font-variant-numeric:tabular-nums; color:var(--secondaire); }
.description-projet { max-width:70ch; margin:1.3rem 0; }
.description-projet p { line-height:1.7; }
.lien-modele { display:inline-block; margin-top:.8rem; font-weight:600; }
.texte-lien { display:inline-flex; width:fit-content; font-weight:600; padding:.4rem 0; }
.coordonnees { display:grid; justify-items:start; gap:.5rem; margin:1.75rem 0 .5rem; }
.coordonnees .lien-contact { gap:.65rem; min-height:36px; }
.lien-contact svg, .commande svg { width:21px; height:21px; flex-shrink:0; }
#formulaire { max-width:620px; width:100%; }
#formulaire h3 { margin-bottom:1.35rem; }
.champs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-bottom:1rem; }
label { display:block; font-size:.94rem; }
label small { color:var(--secondaire); font-size:.84rem; }
input,textarea { display:block; width:100%; margin-top:.45rem; padding:.65rem .75rem;
  border:1px solid #bfc8c0; background:white; color:var(--encre); border-radius:4px; font-size:1rem; }
textarea { resize:vertical; min-height:8rem; }
.piege { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.mode-envoi,.statut { color:var(--secondaire); font-size:.875rem; margin:.85rem 0; }
.mode-envoi:empty,.statut:empty { display:none; }
.envoyer { margin-top:.6rem; padding:.65rem 1.25rem; color:#fff; background:var(--encre);
  border:1px solid var(--encre); border-radius:4px; transition:background .2s,transform .2s; }
@media (hover:hover) { .envoyer:hover { background:var(--accent); transform:translateY(-1px); } }
footer { justify-content:space-between; margin-top:clamp(46px,6vw,92px); min-height:76px; padding:.9rem 110px .9rem 0;
  border-top:1px solid var(--trait); color:var(--secondaire); font-size:.875rem; }
.raccourcis { position:fixed; z-index:5; right:max(16px,calc((100vw - 1710px)/2 + 32px));
  bottom:max(14px,env(safe-area-inset-bottom)); gap:2px; padding:3px; border-radius:30px; background:rgb(255 255 255 / .95);
  border:1px solid rgb(26 37 31 / .16); box-shadow:0 2px 12px rgb(26 37 31 / .08); color:var(--encre); }
.raccourcis a,.commande { justify-content:center; align-items:center; width:44px; height:44px; border-radius:50%; }
@media (hover:hover) { .raccourcis a:hover { background:#edf2ee; } }
body.lecture-ouverte, body:has(.lecteur:popover-open) { overflow:hidden; }
.lecteur {
  position:fixed; inset:0; margin:auto; padding:0; width:max-content; height:max-content;
  max-width:92vw; overflow:visible; border:0; background:transparent; color:white;
}
.lecteur::backdrop { background:rgb(13 18 16 / .64); backdrop-filter:blur(4px); }
.lecteur img { width:auto; height:auto; max-width:min(92vw,1600px); max-height:min(78vh,calc(100vh - 100px));
  max-height:min(78svh,calc(100svh - 100px)); margin:auto; box-shadow:0 10px 60px rgb(0 0 0 / .23); }
.lecteur figcaption { display:flex; align-items:center; justify-content:space-between; gap:.8rem; padding-top:.4rem;
  text-shadow:0 1px 4px #222; font-size:.94rem; min-height:40px; }
.commande { display:inline-flex; border:0; padding:0; color:white; background:rgb(14 20 18 / .44); }
.commande:focus-visible { outline-color:white; outline-offset:2px; }
.pas { gap:4px; }
.pas[hidden], body:not(.avec-navigation) .lecteur .pas { display:none; }
.fermer { position:fixed; top:max(12px,env(safe-area-inset-top)); right:max(12px,env(safe-area-inset-right)); }
@media (hover:hover) { .commande:hover { background:rgb(14 20 18 / .8); } }
@media (max-width:890px) { .mosaique { --colonnes:2; } }
@media (max-width:720px) {
  #site > header { position:relative; display:block; }
  .langues { position:absolute; top:1.1rem; right:0; }
  .entete h1 { max-width:calc(100% - 88px); }
  .entete { align-items:flex-start; flex-direction:column; justify-content:center; gap:.45rem; padding:1rem 0 .75rem; }
  .menu { gap:0 .4rem; margin-left:-.5rem; }
  .menu a,.filtres a { min-height:36px; padding:.25rem .5rem; }
  .barre { align-items:flex-start; flex-direction:column; gap:.5rem; }
  .filtres { margin-left:-.5rem; }
  .selection { display:block; column-count:2; column-gap:var(--gouttiere); }
  .rangee { display:contents; }
  .vignette { display:inline-block; width:100%; margin:0 0 var(--gouttiere); vertical-align:top; break-inside:avoid; }
  .page-interieure { grid-template-columns:1fr; gap:1.6rem; }
  .mosaique-projets { grid-template-columns:1fr; gap:1.8rem; }
  .coordonnees { margin:1rem 0 0; }
  .champs { grid-template-columns:1fr; }
  .lieu { padding:.5rem .6rem; padding-top:1.25rem; }
  .lecteur figcaption { gap:.35rem; }
}
@media (max-width:360px) { .mosaique { --colonnes:1; } .selection { column-count:1; } }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none !important; animation:none !important; }
  .photo:hover,.photo.couverture:hover,.menu a:hover,.filtres a:hover,.lien-contact:hover,.signature:hover,.texte-lien:hover,.envoyer:hover,.carte-projet:hover img { transform:none; }
}
