/* ============================================================
   Caroline Ranc — Makeup Artist
   Maquette v1.4 — palette noir / blanc / beige / marron froid
   Hero photo plein écran, marque enilora, galerie ajustée
   ============================================================ */

:root {
  --c-ink: #0a0a0a;         /* noir profond, renforcé (v1.1) */
  --c-ink-soft: #2a2a2a;
  --c-paper: #f5f1ea;       /* beige clair, fond principal */
  --c-paper-deep: #ebe4d7;  /* beige plus marqué */
  --c-cream: #ffffff;
  --c-brown: #6b5a4a;       /* marron froid, accent */
  --c-brown-soft: #8c7a68;
  --c-rule: #c9bda9;        /* filets plus marqués (v1.1) */

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

em { font-style: italic; }

/* ---------- A11y utilitaires ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 12px 20px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 10000;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--c-brown);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor { display: none !important; }
}

/* ---------- Curseur magnétique ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-ink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, opacity .2s;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor.is-hover {
  width: 48px;
  height: 48px;
  background: var(--c-paper);
}
@media (max-width: 1024px), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  z-index: 100;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, color .3s;
}
/* Au scroll, le header bascule en noir — contraste net avec le fond beige */
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  color: var(--c-paper);
  border-color: rgba(245, 241, 234, 0.12);
}
.site-header.is-scrolled .logo span { color: var(--c-brown-soft); }
.site-header.is-scrolled .burger span { background: var(--c-paper); }
.logo {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.5px;
}
.logo span {
  font-style: italic;
  color: var(--c-brown);
}
.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.nav a {
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lang-btn { opacity: .4; transition: opacity .2s; }
.lang-btn.is-active { opacity: 1; }
.lang-btn:hover { opacity: 1; }
.lang-sep { margin: 0 6px; opacity: .3; }

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
  position: relative;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform .3s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile fullscreen (élément racine, échappe au containing block du header) */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--c-paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.7,0,.3,1);
  z-index: 200;
  visibility: hidden;
}
.nav-mobile a {
  position: relative;
  padding: 8px 4px;
  color: var(--c-ink);
}
.nav-mobile.is-open {
  display: flex;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
  body.no-scroll { overflow: hidden; }
  .header-right { gap: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-brown);
  margin: 0 0 32px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 40px;
}
.hero-title em {
  font-style: italic;
  color: var(--c-brown);
}
.hero-sub {
  font-size: 15px;
  color: var(--c-ink-soft);
  max-width: 420px;
  margin: 0 0 48px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--c-ink);
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.cta:hover { background: transparent; color: var(--c-ink); }

.hero-figure { aspect-ratio: 4/5; }
/* Cadre noir décalé derrière la photo du hero — ancre le noir dès l'ouverture */
.hero-figure .photo { box-shadow: 18px 18px 0 var(--c-ink); }
@media (max-width: 800px) {
  .hero-figure .photo { box-shadow: 12px 12px 0 var(--c-ink); }
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; }
}

/* ---------- Sections génériques ---------- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 32px;
  margin-bottom: 64px;
  align-items: end;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 28px;
}
.section-dark .section-head {
  border-bottom-color: rgba(245, 241, 234, 0.25);
}
.section-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-brown);
  margin: 0;
  grid-row: 1;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin: 0;
  grid-row: 2;
  grid-column: 1 / -1;
}
.section-lead {
  grid-row: 3;
  grid-column: 1 / -1;
  max-width: 520px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--c-ink-soft);
}

/* ---------- Grille portfolio ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.card { grid-column: span 2; }
.card-tall { grid-column: span 3; grid-row: span 2; }
.card-wide { grid-column: span 4; }
.card-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-brown);
  margin: 16px 0 4px;
}
.card-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card, .card-tall, .card-wide { grid-column: span 2; grid-row: auto; }
}

/* ---------- Placeholders images ---------- */
.placeholder {
  background: var(--c-paper-deep);
  border: 1px solid var(--c-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform .8s cubic-bezier(.2,.7,.1,1);
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(107, 90, 74, 0.08) 12px 13px);
}
.placeholder span {
  position: relative;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-brown);
  padding: 8px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
}
.placeholder-portrait { aspect-ratio: 4/5; }
.placeholder-1x1 { aspect-ratio: 1/1; }
.placeholder-4x5 { aspect-ratio: 4/5; }
.placeholder-16x9 { aspect-ratio: 16/9; }
.card:hover .placeholder { transform: scale(1.02); }

/* ---------- Photos réelles (Pexels libres de droit) ---------- */
.photo {
  margin: 0;
  overflow: hidden;
  background: var(--c-paper-deep);
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.1,1), filter .5s ease;
}
.photo-portrait { aspect-ratio: 4/5; }
.photo-1x1 { aspect-ratio: 1/1; }
.photo-4x5 { aspect-ratio: 4/5; }
.photo-16x9 { aspect-ratio: 16/9; }
.card:hover .photo img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }

/* ---------- Section sombre (Prestations) ---------- */
.section-dark {
  background: var(--c-ink);
  color: var(--c-paper);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section-dark .section-num { color: var(--c-brown-soft); }
.section-dark .section-lead { color: rgba(245, 241, 234, 0.75); }
.section-dark .section-head {
  max-width: var(--max-w);
  margin: 0 auto 64px;
}
.presta-list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
}
.presta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
  transition: padding .35s ease;
}
.presta:hover { padding-left: 16px; }
.presta-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-brown-soft);
}
.presta h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px;
}
.presta p {
  margin: 0;
  color: rgba(245, 241, 234, 0.7);
  max-width: 600px;
}

/* ---------- About (beige profond, différencié du fond principal) ---------- */
.section-about {
  background: var(--c-paper-deep);
  max-width: none;
}
.section-about .section-head {
  max-width: var(--max-w);
  margin: 0 auto 64px;
}
.section-about .about {
  max-width: var(--max-w);
  margin: 0 auto;
}
/* Cadre noir décalé, en miroir du hero */
.section-about .about-figure .photo { box-shadow: -18px 18px 0 var(--c-ink); }
@media (max-width: 800px) {
  .section-about .about-figure .photo { box-shadow: -12px 12px 0 var(--c-ink); }
}
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about-lead {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  font-weight: 300;
  margin: 0 0 32px;
}
.about-lead em { color: var(--c-brown); }
.about-text p { font-size: 16px; color: var(--c-ink-soft); }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Contact (section sombre, clôt la page en noir) ---------- */
.section-contact .section-title { font-size: clamp(48px, 8vw, 120px); }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(245, 241, 234, 0.2);
}
.contact-link {
  display: grid;
  gap: 8px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.2);
  transition: padding .35s ease;
}
.contact-link:hover { padding-left: 16px; }
.contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-brown-soft);
}
.contact-value {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
}
@media (max-width: 700px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer (sombre, dans la continuité du contact) ---------- */
.site-footer {
  background: var(--c-ink);
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  padding: 48px max(var(--gutter), calc((100% - var(--max-w)) / 2));
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.7);
}
.site-footer .footer-brand {
  font-family: var(--f-display);
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--c-paper);
}
.footer-meta { margin: 0; line-height: 1.8; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .mentions a { margin-right: 8px; }
@media (max-width: 700px) {
  .site-footer { grid-template-columns: 1fr; gap: 24px; text-align: left; padding: 36px var(--gutter); }
}

/* ---------- CTA flottant ---------- */
.fab {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 150;
  background: var(--c-ink);
  color: var(--c-paper);
  border: 1px solid var(--c-ink);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .3s, color .3s;
}
.fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab:hover {
  background: var(--c-paper);
  color: var(--c-ink);
}

/* ---------- Modale contact ---------- */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.contact-modal[hidden] { display: none; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.contact-modal-box {
  position: relative;
  background: var(--c-paper);
  color: var(--c-ink);
  max-width: 520px;
  width: 100%;
  padding: clamp(32px, 5vw, 56px);
  border-top: 4px solid var(--c-ink);
  animation: modal-in .35s cubic-bezier(.2,.7,.1,1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: var(--c-ink-soft);
  transition: color .2s;
}
.modal-close:hover { color: var(--c-ink); }
.modal-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.modal-title em { color: var(--c-brown); }
.modal-text {
  font-size: 15px;
  color: var(--c-ink-soft);
  margin: 0 0 32px;
}
.modal-links { display: grid; gap: 0; border-top: 1px solid var(--c-rule); }
.modal-link {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-rule);
  transition: padding .3s ease;
}
.modal-link:hover { padding-left: 12px; }
.modal-link-value {
  font-family: var(--f-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 300;
}

/* ---------- Page galerie ---------- */
.galerie-main { padding-top: 90px; }
.galerie-intro { padding-bottom: 0; }
.galerie-intro .section-title em { font-style: italic; color: var(--c-brown); }
.galerie-section {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(24px, 4vw, 48px);
  scroll-margin-top: 90px; /* compense le header fixe lors des ancres */
}

/* Sous-navigation catégories */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 8px;
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-ink);
}
.subnav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--c-ink-soft);
  transition: color .2s;
}
.subnav a:hover { color: var(--c-ink); }
.subnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.subnav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Grille galerie — colonnes type masonry, ratios d'origine préservés */
.gallery {
  columns: 3 320px;
  column-gap: 24px;
}
.gphoto {
  margin: 0 0 24px;
  break-inside: avoid;
  cursor: pointer;
  background: var(--c-paper-deep);
}
.gphoto img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transition: filter .4s ease, opacity .4s ease;
}
.gphoto:hover img { filter: saturate(1) contrast(1.05); }
.gphoto figcaption {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-brown);
  padding: 10px 2px 0;
}
/* Badge discret pour les photos en attente de retouche (maquette uniquement) */
.draft-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid var(--c-rule);
  color: var(--c-ink-soft);
  font-size: 9px;
  letter-spacing: 1.5px;
}
@media (max-width: 700px) {
  .gallery { columns: 2 160px; column-gap: 14px; }
  .gphoto { margin-bottom: 14px; }
}

/* Lien carte accueil → galerie */
.card-link { display: block; }

/* CTA sous la grille accueil */
.grid-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 10, 10, 0.94);
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  max-height: 100%;
  min-width: 0;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-figure figcaption {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-paper);
  opacity: .7;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 34px;
  line-height: 1;
  color: var(--c-paper);
  opacity: .7;
  transition: opacity .2s;
  z-index: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  font-size: 26px;
  color: var(--c-paper);
  opacity: .6;
  transition: opacity .2s, transform .2s;
  justify-self: center;
}
.lightbox-prev:hover { opacity: 1; transform: translateX(-3px); }
.lightbox-next:hover { opacity: 1; transform: translateX(3px); }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 40px 1fr 40px; padding: 12px; }
  .lightbox-figure img { max-height: calc(100vh - 90px); }
}

/* Mobile : H1 + sections plus aérés */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: clamp(34px, 9vw, 56px); }
  .section { padding: 80px var(--gutter); }
  .grid { gap: 14px; }
  .presta { grid-template-columns: 50px 1fr; gap: 20px; padding: 28px 0; }
  .contact-value { font-size: 24px; }
}

/* ============================================================
   v1.4 — hero photo plein écran + header ample qui se compacte
   ============================================================ */

/* Header : ample à l'arrivée (gros menu sur l'image), compact au scroll */
.site-header {
  padding: 34px var(--gutter);
  transition: padding .35s ease, border-color .3s, background .3s, color .3s;
}
.logo { font-size: 30px; transition: font-size .35s ease; }
.nav { font-size: 15px; transition: font-size .35s ease; }
.site-header.is-scrolled { padding: 14px var(--gutter); }
.site-header.is-scrolled .logo { font-size: 22px; }
.site-header.is-scrolled .nav { font-size: 12px; }

/* Sur la page au hero photo : header transparent en haut, texte beige */
body.has-hero-photo .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--c-paper);
}
body.has-hero-photo .site-header:not(.is-scrolled) .burger span {
  background: var(--c-paper);
}

/* Hero photo pleine page */
.hero-photo {
  display: flex;
  align-items: center;
  position: relative;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 160px var(--gutter) 100px;
  overflow: hidden;
  color: var(--c-paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
/* Voile dégradé pour la lisibilité du texte (pas de 2e photo, juste un gradient) */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.55) 45%,
    rgba(10, 10, 10, 0.12) 100%);
  z-index: 1;
}
.hero-photo .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-photo .hero-title { color: var(--c-paper); }
.hero-photo .hero-title em { color: var(--c-brown-soft); }
.hero-photo .hero-sub { color: rgba(245, 241, 234, 0.85); }
.hero-photo .eyebrow { color: var(--c-brown-soft); }
.hero-photo .cta {
  border-color: var(--c-paper);
  background: transparent;
  color: var(--c-paper);
}
.hero-photo .cta:hover { background: var(--c-paper); color: var(--c-ink); }

/* Dernière carte du portfolio accueil, centrée */
.card-center { grid-column: 3 / span 2; }
@media (max-width: 900px) {
  .card-center { grid-column: span 2; }
}
@media (max-width: 800px) {
  .hero-photo { padding: 140px var(--gutter) 80px; }
}

/* CTA flottant : liseré sable pour rester visible sur les sections noires */
.fab {
  border: 1px solid var(--c-paper);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.35), 0 0 0 1px rgba(245, 241, 234, 0.25);
}
.fab:hover { border-color: var(--c-ink); }

/* Logo enilora — variante D : mot + filet + baseline métier */
.logo { line-height: 1; }
.logo-word {
  display: inline-block;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--c-brown-soft);
  padding-bottom: 3px;
}
.logo-base {
  display: block;
  font-family: var(--f-body);
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-brown-soft);
  margin-top: 6px;
}
.site-header.is-scrolled .logo-base { font-size: 7px; margin-top: 4px; }
/* Neutralise l'héritage de l'ancien .logo span (italique marron) */
.logo .logo-word { font-style: normal; color: inherit; }

/* Scène : 2 colonnes (photos horizontales plus grandes que le masonry 3 colonnes) */
#scene .gallery { columns: 2; }

/* FX & Body paint : 2 colonnes pour équilibrer les hauteurs (supprime le vide en bas) */
#fx .gallery { columns: 2; }
@media (max-width: 700px) {
  #fx .gallery { columns: 2 160px; }
}

/* Dernière rangée du portfolio accueil : paire centrée (Théâtral + FX) */
.card-pair-1 { grid-column: 2 / span 2; }
.card-pair-2 { grid-column: 4 / span 2; }
@media (max-width: 900px) {
  .card-pair-1, .card-pair-2 { grid-column: span 2; }
}

/* Théâtral : 2 lignes pleine largeur — les 2 verticales côte à côte,
   puis Paupières closes (horizontale) sur toute la largeur */
#theatral .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
#theatral .gphoto { margin: 0; }
#theatral .gphoto:nth-child(3) { grid-column: 1 / -1; }
@media (max-width: 700px) {
  #theatral .gallery { gap: 14px; }
}
