/* Charte Lens_picture - thème Site (sombre) : ciel de nuit violet, crème et argenté, doré pour l'action, une lueur cyan « système ». */
:root {
  --nuit: #120d1c;
  --surface: #1c1528;
  --surface-forte: #39123a;
  --creme: #f7f4f0;
  --argente: #c0c0c0;
  --contour: #6a6290;
  --lavande: #c58bd8;
  --dore: #d4af37;
  --lueur: #3fb6ff;
  --violet-royal: #794174;
  --halo: 0 0 0 1px #3fb6ff, 0 0 18px rgba(63, 182, 255, 0.35);
  --display: 'Bodoni Moda', 'Bodoni MT', Didot, 'Times New Roman', serif;
  --body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --hud: 'Chakra Petch', 'Lato', Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--nuit); color: var(--creme); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--lavande); }
a:hover { color: var(--creme); }
:focus-visible { outline: 2px solid var(--lueur); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--creme); margin: 0; text-wrap: balance; line-height: 1.05; }
h1 em, h2 em { font-weight: 600; color: var(--lavande); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-family: var(--hud); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--argente); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 2px; font-family: var(--hud); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--dore); cursor: pointer; transition: box-shadow .2s ease, background .2s ease; }
.btn-plein { background: var(--dore); color: var(--nuit); }
.btn-plein:hover { background: #e2c25a; color: var(--nuit); box-shadow: 0 0 16px rgba(212, 175, 55, 0.45); }
.btn-ligne { background: transparent; color: var(--creme); border-color: var(--contour); }
.btn-ligne:hover { color: var(--creme); border-color: var(--lueur); box-shadow: var(--halo); }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(18, 13, 28, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--contour); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: block; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--hud); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--argente); }
.nav a:hover { color: var(--creme); }
.nav a.btn { min-height: 44px; padding: 0 22px; color: var(--nuit); }
.menu-toggle { display: none; background: none; border: 1px solid var(--contour); color: var(--creme); min-height: 44px; padding: 0 16px; font: 600 14px var(--hud); letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--nuit); border-bottom: 1px solid var(--contour); padding: 8px var(--gutter) 20px; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .nav a.btn { margin-top: 8px; }
  .nav:not(.open) { display: none; }
}

/* Fenêtre « système » : coins lumineux, barre de titre en capitales */
.fenetre { position: relative; background: var(--surface); border: 1px solid var(--contour); border-radius: 2px; }
.fenetre::before, .fenetre::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--lueur); pointer-events: none; }
.fenetre::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.fenetre::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.barre-titre { display: flex; justify-content: space-between; gap: 16px; font-family: var(--hud); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lueur); border-bottom: 1px solid var(--contour); padding-bottom: 12px; }
.barre-titre span:last-child { color: var(--argente); font-weight: 500; }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); padding-block: 24px 80px; }
.hero-text { flex: 1 1 480px; min-width: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; box-shadow: var(--halo); border-color: transparent; }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1; }
.hero-text p { max-width: 34em; font-size: 19px; color: var(--creme); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { flex: 1 1 400px; min-width: 0; margin: 0; position: relative; align-self: flex-start; }
.hero-photo img { width: 100%; height: clamp(440px, 52vw, 700px); object-fit: cover; object-position: 50% 30%; background: var(--surface); }
.hero-photo .sceau { position: absolute; right: 16px; bottom: 16px; width: clamp(44px, 6%, 64px); height: auto; opacity: .85; }

/* Titres de section : filet avec repère lumineux */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 1px solid var(--contour); padding-bottom: 20px; margin-bottom: 40px; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--lueur); }
.section-head h2 { font-size: clamp(36px, 4vw, 56px); }
.section-head .intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head .intro p { color: var(--argente); }

/* Univers */
.univers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.univers a { text-decoration: none; color: var(--creme); display: flex; flex-direction: column; gap: 14px; }
.univers img { width: 100%; height: 460px; object-fit: cover; background: var(--surface); transition: transform .5s ease; }
.univers .cadre { overflow: hidden; border: 1px solid var(--contour); transition: border-color .2s ease; }
.univers a:hover .cadre { border-color: var(--lueur); }
.univers a:hover img { transform: scale(1.03); }
.univers .titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.univers h3 { font-size: 28px; }
.univers p { color: var(--argente); }
.univers .voir { font-family: var(--hud); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--lavande); font-size: 13px; }

/* Galerie */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filtres button { font-family: var(--hud); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; min-height: 44px; padding: 0 20px; border: 1px solid var(--contour); border-radius: 2px; background: transparent; color: var(--argente); cursor: pointer; }
.filtres button:hover { color: var(--creme); border-color: var(--lavande); }
.filtres button[aria-pressed="true"] { background: var(--surface-forte); border-color: var(--lueur); color: var(--creme); font-weight: 600; }
.mosaique { columns: 4 260px; column-gap: 16px; }
.mosaique button { display: block; width: 100%; padding: 0; margin: 0 0 16px; border: none; background: var(--surface); cursor: zoom-in; break-inside: avoid; }
.mosaique button[hidden] { display: none; }
.mosaique img { width: 100%; height: auto; transition: opacity .3s ease; }
.mosaique button:hover img { opacity: .85; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 50; background: rgba(18, 13, 28, 0.97); display: flex; align-items: center; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 64px) 16px calc(env(safe-area-inset-bottom, 0px) + 64px); }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visionneuse button { position: absolute; background: none; border: 1px solid var(--contour); color: var(--creme); min-width: 48px; min-height: 48px; font: 600 14px var(--hud); letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; cursor: pointer; padding: 0 14px; }
.visionneuse button:hover { border-color: var(--lueur); box-shadow: var(--halo); }
.v-fermer { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 16px; }
.v-prec { left: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
.v-suiv { right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
.v-compteur { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 26px); left: 50%; transform: translateX(-50%); color: var(--lueur); font-family: var(--hud); font-size: 13px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }

/* Vidéo */
.bande-video { background: var(--surface-forte); color: var(--creme); }
.bande-video .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.bande-video .texte { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bande-video .label { color: var(--lueur); }
.bande-video h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.bande-video a { color: var(--dore); font-family: var(--hud); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.bande-video figure { flex: 1.4 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bande-video figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--nuit); }
.bande-video figcaption { color: var(--argente); }

/* Publications */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.articles a { text-decoration: none; display: flex; flex-direction: column; gap: 14px; padding: 28px; color: var(--creme); transition: box-shadow .2s ease, border-color .2s ease; }
.articles a:hover { border-color: transparent; box-shadow: var(--halo); }
.articles a::before, .articles a::after { opacity: 0; transition: opacity .2s ease; }
.articles a:hover::before, .articles a:hover::after { opacity: 1; }
.articles h3 { font-size: 23px; line-height: 1.25; flex: 1; }
.articles .lire { font-family: var(--hud); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--lavande); }
.credit-note { font-size: 14px; color: var(--argente); max-width: 300px; line-height: 1.6; }

/* À propos */
.apropos { background: var(--surface); }
.apropos .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); }
.apropos figure { flex: 0 1 380px; min-width: 0; margin: 0; }
.apropos figure img { width: 100%; height: 480px; object-fit: cover; object-position: 52% 30%; background: var(--nuit); }
.apropos .texte { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.apropos .nom { display: flex; align-items: center; gap: 20px; }
.apropos .nom img { width: 64px; height: 64px; flex: none; }
.apropos h2 { font-size: clamp(34px, 4vw, 52px); }
.apropos p { font-size: 18px; line-height: 1.75; max-width: 38em; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 8px 16px; border: 1px solid var(--contour); color: var(--creme); font-family: var(--hud); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }

/* Espace privé */
.prive { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 40px); margin-top: clamp(56px, 8vw, 80px); }
.prive h2 { font-size: 28px; }
.prive p { color: var(--argente); max-width: 44em; margin-top: 8px; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); }
.contact .texte { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: clamp(44px, 5.5vw, 80px); line-height: 1; }
.coordonnees { display: flex; flex-direction: column; gap: 10px; }
.coordonnees a, .coordonnees span { font-weight: 700; overflow-wrap: anywhere; }
.copier { font: 600 12px var(--hud); letter-spacing: .14em; text-transform: uppercase; background: none; border: 1px solid var(--contour); color: var(--argente); min-height: 32px; padding: 0 10px; border-radius: 2px; cursor: pointer; margin-left: 8px; }
form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 36px); }
.rangee { display: flex; flex-wrap: wrap; gap: 18px; }
.champ { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-family: var(--hud); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--argente); }
.champ input, .champ select, .champ textarea { font: 400 16px var(--body); letter-spacing: 0; text-transform: none; padding: 14px; border: 1px solid var(--contour); border-radius: 2px; background: var(--nuit); color: var(--creme); width: 100%; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--lueur); box-shadow: var(--halo); }
.champ textarea { resize: vertical; min-height: 140px; }
.rgpd { font-size: 13px; color: var(--argente); line-height: 1.6; }
.cache { position: absolute; left: -9999px; }
.retour { padding: 14px 16px; font-size: 15px; border: 1px solid var(--lueur); background: var(--nuit); }
.retour.erreur { border-color: var(--lavande); }

/* Pied de page */
footer { border-top: 1px solid var(--contour); padding-block: 32px 48px; font-size: 14px; color: var(--argente); }
footer .ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer .signature { display: flex; align-items: center; gap: 14px; }
footer .signature img { width: 36px; height: 36px; }
footer details { margin-top: 20px; }
footer summary { cursor: pointer; font-family: var(--hud); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--lavande); min-height: 44px; display: inline-flex; align-items: center; }
.mentions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; padding-top: 16px; line-height: 1.6; }
.mentions h3 { font-family: var(--hud); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--creme); margin-bottom: 6px; }
/* Sélecteur de langue FR / EN */
.header-actions { display: flex; align-items: center; gap: 20px; }
.langues { display: flex; border: 1px solid var(--contour); border-radius: 2px; }
.langues a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 10px; font-family: var(--hud); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-decoration: none; color: var(--argente); }
.langues a + a { border-left: 1px solid var(--contour); }
.langues a:hover { color: var(--creme); }
.langues a[aria-current="true"] { background: var(--surface-forte); color: var(--creme); box-shadow: inset 0 -2px 0 var(--lueur); }
@media (max-width: 480px) {
  .header-actions { gap: 10px; }
  .logo img { height: 30px; }
}
/* Formulaire : cartes de projet cliquables */
.etape { display: flex; flex-direction: column; gap: 12px; }
.etape-titre { font-family: var(--hud); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lueur); margin: 0; }
.offres { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.offres legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.offre { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-height: 44px; border: 1px solid var(--contour); border-radius: 2px; background: var(--nuit); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.offre input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.offre strong { font-family: var(--hud); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--creme); }
.offre span { font-size: 14px; line-height: 1.45; color: var(--argente); }
.offre:hover { border-color: var(--lavande); }
.offre:last-child:nth-child(odd) { grid-column: 1 / -1; }
.offre.choisie { border-color: var(--lueur); box-shadow: var(--halo); background: var(--surface-forte); }
.offre:focus-within { outline: 2px solid var(--lueur); outline-offset: 3px; }
.aide { font-size: 14px; color: var(--argente); }
.lien-modele { align-self: flex-start; background: none; border: 0; padding: 0; min-height: 32px; font: 600 13px var(--hud); letter-spacing: .12em; text-transform: uppercase; color: var(--lavande); text-decoration: underline; cursor: pointer; }
.lien-modele:hover { color: var(--creme); }
.champ textarea#message { min-height: 260px; }
/* ===== Finitions ===== */
[id] { scroll-margin-top: 96px; }
.barre-titre { flex-wrap: wrap; row-gap: 6px; }
.barre-titre span { white-space: nowrap; }
/* Galerie : grille régulière, la photo entière s'ouvre au clic */
.mosaique { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mosaique button { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity .3s ease, transform .5s ease; }
.mosaique button:hover img { opacity: 1; transform: scale(1.03); }
@media (max-width: 960px) { .mosaique { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Accueil : la photo prend toute la hauteur du bloc texte */
.hero { align-items: stretch; }
.hero-photo { align-self: stretch; }
.hero-photo img:not(.sceau) { height: 100%; min-height: clamp(440px, 52vw, 700px); }
/* Moins de capitales espacées : réservées aux boutons et aux petits repères */
.nav { font-family: var(--body); font-size: 15px; letter-spacing: 0; text-transform: none; }
.tags li { font-family: var(--body); font-size: 15px; letter-spacing: 0; text-transform: none; }
.univers .voir, .articles .lire, .bande-video .texte a { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.coordonnees > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.copier { margin-left: 0; }
