/* ═══════════════════════════════════════════════
   HorizonsMultiples — main.css
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow: hidden; }
#root { height: 100%; width: 100%; }
body {
  background: #080808;
  color: #f0ede8;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Bandeau d'annonce ── */
.announcement-bar {
  position: fixed; top: 66px; left: 50%; transform: translateX(-50%);
  z-index: 49;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(240,237,232,0.12);
  border-radius: 20px;
  padding: 7px 20px;
  white-space: nowrap;
  pointer-events: none;
}
.announcement-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.7);
}

/* ── Cover ── */
#cover {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #080808;
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
#cover.exiting { opacity: 0; transform: scale(1.08); pointer-events: none; }
#cover.gone { display: none; }

.cover-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 5.5vw, 4rem);
  letter-spacing: 0.35em;
  color: #f5f2ed;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1.2s 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}
.cover-logo-wrap {
  width: clamp(160px, 30vw, 300px);
  opacity: 0;
  animation: fadeUp 1.2s 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.cover-logo-wrap img {
  width: 100%;
  animation: breathe 5s 2s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(180,180,180,0.15));
}
.cover-enter-wrap {
  margin-top: 3rem; opacity: 0;
  animation: fadeUp 1.2s 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.cover-enter-btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; font-size: 0.78rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: #f0ede8;
  border: 1px solid rgba(240,237,232,0.35);
  background: transparent;
  padding: 14px 52px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: color 0.4s, border-color 0.4s;
}
.cover-enter-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: #f0ede8;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cover-enter-btn:hover { color: #080808; border-color: #f0ede8; }
.cover-enter-btn:hover::before { transform: translateX(0); }
.cover-enter-btn span { position: relative; z-index: 1; }

/* ── Iris ── */
#iris { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
#iris svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── App shell ── */
#app {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.6s ease;
}
#app.visible { opacity: 1; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(to bottom, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0) 100%);
}
.header-brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none; flex-shrink: 0;
}
.header-logo {
  width: 44px; height: 30px; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.header-brand:hover .header-logo { opacity: 0.6; }
.header-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 1rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #f0ede8; transition: opacity 0.3s;
}
.header-brand:hover .header-name { opacity: 0.6; }
.header-right { display: flex; align-items: center; gap: 20px; }

/* Search */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-input {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(240,237,232,0.22);
  color: #f0ede8;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.05em;
  padding: 4px 28px 4px 0;
  width: 0; opacity: 0;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  outline: none;
}
.search-input.open { width: 160px; opacity: 1; }
.search-input::placeholder { color: rgba(240,237,232,0.35); }
.search-btn {
  background: none; border: none; cursor: pointer;
  color: #f0ede8; padding: 4px;
  display: flex; align-items: center;
  transition: opacity 0.3s;
}
.search-btn:hover { opacity: 0.5; }
.search-results {
  position: absolute; top: 36px; right: 0;
  background: #141414;
  border: 1px solid rgba(240,237,232,0.1);
  min-width: 220px; z-index: 200;
}
.search-result-item {
  padding: 12px 18px; font-size: 0.8rem;
  letter-spacing: 0.05em; cursor: pointer;
  border-bottom: 1px solid rgba(240,237,232,0.06);
  transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(240,237,232,0.07); }
.search-result-item .result-page {
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(240,237,232,0.4);
}
.search-result-item .result-type {
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,237,232,0.28); margin-bottom: 3px;
}
.search-result-item .result-name {
  font-size: 0.82rem; color: rgba(240,237,232,0.8);
}

/* Hamburger */
.menu-btn {
  background: none; border: none; cursor: pointer;
  color: #f0ede8; padding: 4px;
  display: flex; flex-direction: column; gap: 5px; align-items: flex-end;
  transition: opacity 0.3s;
}
.menu-btn:hover { opacity: 0.5; }
.menu-btn span { display: block; height: 1px; background: currentColor; transition: width 0.3s; }
.menu-btn span:nth-child(1) { width: 24px; }
.menu-btn span:nth-child(2) { width: 16px; }
.menu-btn span:nth-child(3) { width: 20px; }
.menu-btn:hover span { width: 24px; }

/* ── Sidebar ── */
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: all; }
.sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(320px, 85vw);
  background: #0e0e0e;
  border-left: 1px solid rgba(240,237,232,0.06);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  padding-bottom: 40px;
}
.sidebar.open { transform: translateX(0); }
.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(240,237,232,0.06);
}
.sidebar-logo-wrap { display: flex; align-items: center; gap: 12px; }
.sidebar-logo { width: 36px; object-fit: contain; filter: brightness(0) invert(1); }
.sidebar-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #f0ede8;
}
.sidebar-close {
  background: none; border: none; color: #f0ede8;
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: opacity 0.3s; padding: 4px;
}
.sidebar-close:hover { opacity: 0.4; }
.sidebar-nav {
  flex: 1; padding: 36px 28px;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-nav-item {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 2rem;
  letter-spacing: 0.06em;
  color: rgba(240,237,232,0.5);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240,237,232,0.05);
  transition: color 0.3s, padding-left 0.3s;
  display: flex; align-items: center; gap: 12px;
}
.sidebar-nav-item:hover, .sidebar-nav-item.active { color: #f0ede8; padding-left: 8px; }
.sidebar-nav-item .nav-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: rgba(240,237,232,0.25); margin-top: 4px;
}
.sidebar-footer {
  padding: 0 28px;
  font-size: 0.67rem; letter-spacing: 0.08em;
  color: rgba(240,237,232,0.2); line-height: 1.9;
}

/* ── Page wrap ── */
.page-wrap {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  padding-top: 80px;
  background: #080808;
}
.page { min-height: 100vh; display: none; flex-direction: column; background: #080808; }
.page.active { display: flex; }

/* ── Footer ── */
.page-footer {
  margin-top: auto;
  border-top: 1px solid rgba(240,237,232,0.06);
  display: flex; flex-direction: column;
}
.footer-clients {
  padding: 28px 40px 20px;
  border-bottom: 1px solid rgba(240,237,232,0.05);
}
.footer-clients-label {
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(240,237,232,0.28); margin-bottom: 16px;
}
.footer-clients-row {
  display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center;
}
.footer-client { display: flex; align-items: center; justify-content: center; }
.footer-client-logo {
  height: 48px; width: auto; max-width: 140px; object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-client-logo:hover { opacity: 1; }
.footer-client-name {
  font-size: 0.76rem; color: rgba(240,237,232,0.32);
  font-family: 'DM Sans', sans-serif; font-weight: 300; letter-spacing: 0.04em;
}
.footer-bottom {
  padding: 20px 40px 28px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}
.footer-text { font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(240,237,232,0.22); }
.footer-link { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-link:hover { color: rgba(240,237,232,0.55); }

/* ── Section header ── */
.section-header { padding: 60px 40px 40px; }
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(240,237,232,0.3); margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em; color: #f0ede8; line-height: 1.1;
}

/* ── Portfolio tabs ── */
.portfolio-tabs {
  display: flex; gap: 0;
  padding: 0 40px;
  border-bottom: 1px solid rgba(240,237,232,0.08);
  overflow-x: auto; scrollbar-width: none;
}
.portfolio-tabs::-webkit-scrollbar { display: none; }
.portfolio-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  padding: 14px 24px;
  cursor: pointer;
  background: transparent; border: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.portfolio-tab:hover { color: rgba(240,237,232,0.7); }
.portfolio-tab.active { color: #f0ede8; border-bottom-color: #f0ede8; }
.portfolio-content { padding: 0 2px 60px; }
.project-group { padding: 48px 38px 0; }
.project-separator { border: none; border-top: 1px solid rgba(240,237,232,0.06); margin: 0 38px; }
.project-group-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 300;
  letter-spacing: 0.06em; color: rgba(240,237,232,0.5);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.project-group-label::after { content: ''; flex: 1; height: 1px; background: rgba(240,237,232,0.06); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 3px;
}
.photo-card { position: relative; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.photo-placeholder {
  width: 100%; height: 100%; background: #111;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.photo-card:hover .photo-placeholder { transform: scale(1.04); }
.photo-placeholder-lines {
  width: 60%; height: 60%;
  background: repeating-linear-gradient(-45deg, #1a1a1a, #1a1a1a 1px, #111 1px, #111 8px);
}
.photo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(240,237,232,0.25);
}
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  color: #f0ede8; letter-spacing: 0.04em;
}
.photo-overlay-hint {
  font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(240,237,232,0.3); margin-top: 6px;
}

/* Project detail */
.project-detail {
  position: absolute; inset: 0; background: #080808;
  overflow-y: auto; z-index: 10;
  animation: fadeIn 0.4s ease;
}
.project-detail-header {
  padding: 32px 40px 28px;
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid rgba(240,237,232,0.07);
}
.project-back {
  background: none; border: none; cursor: pointer;
  color: rgba(240,237,232,0.45); padding: 4px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s;
}
.project-back:hover { color: #f0ede8; }
.project-detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; letter-spacing: 0.05em; color: #f0ede8;
}
.project-detail-meta {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(240,237,232,0.3); margin-left: auto;
}
.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 3px; padding: 3px;
}
.project-detail-img {
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(-45deg, #161616, #161616 1px, #111 1px, #111 8px);
  display: flex; align-items: center; justify-content: center;
}
.project-detail-img span {
  font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(240,237,232,0.15);
}
.project-detail-img--clickable {
  cursor: pointer; position: relative; overflow: hidden;
}
.pd-img-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.38);
  color: rgba(240,237,232,0.8);
  opacity: 0; transition: opacity 0.22s;
}
.project-detail-img--clickable:hover .pd-img-zoom { opacity: 1; }

/* ── Lightbox ── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,5,5,0.97);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.2s ease;
}
.lb-img-wrap {
  position: relative;
  max-width: min(88vw, 1200px);
  max-height: 90vh;
  cursor: default;
  display: flex; flex-direction: column; align-items: center;
}
.lb-img {
  max-width: 100%; max-height: 82vh;
  object-fit: contain; display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lb-caption {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.lb-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(240,237,232,0.65);
  letter-spacing: 0.04em;
}
.lb-legende {
  font-size: 0.72rem; color: rgba(240,237,232,0.32);
  letter-spacing: 0.04em;
}
.lb-close {
  position: fixed; top: 22px; right: 28px;
  background: none; border: none; cursor: pointer;
  color: rgba(240,237,232,0.4); padding: 8px;
  transition: color 0.2s; z-index: 10;
}
.lb-close:hover { color: #f0ede8; }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(240,237,232,0.35); padding: 20px 24px;
  transition: color 0.2s, background 0.2s; z-index: 10;
}
.lb-nav:hover { color: #f0ede8; background: rgba(240,237,232,0.04); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,237,232,0.25);
}

/* ── Hero détail projet (public) ── */
.pdet-hero {
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.pdet-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.28);
}
.pdet-hero-bg-empty {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, #111 0, #111 1px, #0d0d0d 1px, #0d0d0d 12px);
}
.pdet-hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #080808 0%, rgba(8,8,8,0.15) 55%, transparent 100%);
}
.pdet-hero-top {
  position: relative; z-index: 2;
  padding: 28px 40px 0;
}
.pdet-hero-body {
  position: relative; z-index: 2;
  padding: 20px 40px 40px;
}
.pdet-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(240,237,232,0.35); margin-bottom: 10px;
}

/* ── About tabs ── */
.about-tabs {
  display: flex; gap: 0;
  padding: 0 40px;
  border-bottom: 1px solid rgba(240,237,232,0.08);
  overflow-x: auto; scrollbar-width: none;
  margin-top: 20px;
}
.about-tabs::-webkit-scrollbar { display: none; }
.about-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  padding: 14px 24px;
  cursor: pointer;
  background: transparent; border: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.about-tab:hover { color: rgba(240,237,232,0.7); }
.about-tab.active { color: #f0ede8; border-bottom-color: #f0ede8; }
.about-tab-content { padding: 48px 40px 80px; }
.about-placeholder-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-style: italic;
  color: rgba(240,237,232,0.2);
  padding: 40px 0;
  border-left: 1px solid rgba(240,237,232,0.08);
  padding-left: 28px;
}

/* Clients */
.clients-grid {
  display: flex; flex-wrap: wrap;
  gap: 32px 40px; justify-content: center; align-items: center;
  padding: 20px 0;
}
.client-logo-placeholder {
  width: 120px; height: 56px;
  background: repeating-linear-gradient(-45deg, #181818, #181818 1px, #111 1px, #111 7px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(240,237,232,0.07);
}
.client-logo-placeholder span {
  font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(240,237,232,0.18);
}

/* ── Contact ── */
.contact-layout {
  padding: 0 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-label {
  font-size: 0.63rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(240,237,232,0.3); margin-bottom: 6px;
}
.contact-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300; color: #f0ede8;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.63rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(240,237,232,0.38);
  display: flex; align-items: center; gap: 8px;
}
.form-label-opt {
  font-size: 0.58rem; letter-spacing: 0.1em;
  color: rgba(240,237,232,0.22); text-transform: none;
}
.form-input, .form-textarea {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(240,237,232,0.18);
  color: #f0ede8; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; padding: 10px 0;
  outline: none; transition: border-color 0.3s; width: 100%;
}
.form-input::placeholder { color: rgba(240,237,232,0.2); font-size: 0.82rem; }
.form-input:focus, .form-textarea:focus { border-color: rgba(240,237,232,0.5); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.73rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: #f0ede8;
  border: 1px solid rgba(240,237,232,0.35);
  background: transparent; padding: 14px 32px;
  cursor: pointer; align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}
.form-submit:hover { background: #f0ede8; color: #080808; }

/* ── Boutique ── */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 40px 30px; padding: 0 40px 80px;
}
.boutique-card { cursor: pointer; }
.boutique-card-img {
  aspect-ratio: 3/4; position: relative;
  background: repeating-linear-gradient(-45deg, #161616, #161616 1px, #111 1px, #111 8px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden;
  transition: opacity 0.2s;
}
.boutique-card:hover .boutique-card-img { opacity: 0.85; }
.boutique-card-img span {
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(240,237,232,0.18);
}
.boutique-card-hint {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,237,232,0.7);
  opacity: 0; transition: opacity 0.2s;
}
.boutique-card:hover .boutique-card-hint { opacity: 1; }
.boutique-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300;
  letter-spacing: 0.03em; color: #f0ede8; margin-bottom: 6px;
}
.boutique-card-sub { font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(240,237,232,0.35); margin-bottom: 10px; }
.boutique-card-price { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(240,237,232,0.75); }

/* ── Tirage modal ── */
.tm-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,4,4,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn 0.2s ease;
}
.tm-panel {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 860px; width: 100%;
  background: #0f0f0f; border: 1px solid rgba(240,237,232,0.08);
  max-height: 90vh; overflow: hidden;
  animation: fadeIn 0.22s ease;
}
.tm-close {
  position: absolute; top: 16px; right: 18px; z-index: 10;
  background: none; border: none; cursor: pointer;
  color: rgba(240,237,232,0.4); padding: 4px;
  transition: color 0.15s;
}
.tm-close:hover { color: #f0ede8; }
.tm-img-col {
  overflow: hidden; background: #111;
  display: flex; align-items: center; justify-content: center;
}
.tm-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-img-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  background: repeating-linear-gradient(-45deg, #161616, #161616 1px, #111 1px, #111 8px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,237,232,0.12);
}
.tm-info {
  padding: 48px 40px; display: flex; flex-direction: column;
  justify-content: center; overflow-y: auto;
}
.tm-eyebrow {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(240,237,232,0.3); margin-bottom: 14px;
}
.tm-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 300; color: #f5f2ed;
  letter-spacing: 0.02em; line-height: 1.2; margin-bottom: 12px;
}
.tm-sub {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(240,237,232,0.35); margin-bottom: 20px;
}
.tm-prix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: #f0ede8;
  margin-bottom: 24px;
}
.tm-desc {
  font-size: 0.82rem; color: rgba(240,237,232,0.5);
  line-height: 1.8; font-weight: 300; margin-bottom: 32px;
}
.tm-desc p { margin-bottom: 8px; }
.tm-desc p:last-child { margin-bottom: 0; }
.tm-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,237,232,0.6); text-decoration: none;
  background: transparent; border: none; cursor: pointer;
  border-bottom: 1px solid rgba(240,237,232,0.18);
  padding-bottom: 4px; align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.tm-cta:hover { color: #f0ede8; border-color: rgba(240,237,232,0.5); }
@media (max-width: 640px) {
  .tm-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .tm-img-col { aspect-ratio: 4/3; }
  .tm-info { padding: 28px 24px; }
  .tm-titre { font-size: 1.5rem; }
}

/* ── Projets ── */
.projets-list { padding: 0 40px 80px; }
.projet-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 40px; align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(240,237,232,0.06);
  cursor: pointer; transition: padding-left 0.3s;
}
.projet-item:hover { padding-left: 12px; }
.projet-thumb {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(-45deg, #161616, #161616 1px, #111 1px, #111 8px);
  display: flex; align-items: center; justify-content: center;
}
.projet-thumb span { font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,237,232,0.14); }
.projet-thumb-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.45);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,237,232,0.75);
  opacity: 0; transition: opacity 0.25s;
}
.projet-item:hover .projet-thumb-hover { opacity: 1; }
.projet-year { font-size: 0.63rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(240,237,232,0.28); margin-bottom: 10px; }
.projet-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: #f0ede8; margin-bottom: 12px; }
.projet-desc { font-size: 0.84rem; line-height: 1.7; color: rgba(240,237,232,0.45); font-weight: 300; max-width: 480px; }
.projet-tag {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 4px 10px;
  border: 1px solid rgba(240,237,232,0.13); color: rgba(240,237,232,0.35); margin-top: 16px;
}
.projet-statut {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-top: 16px; margin-left: 8px;
}
.projet-statut--en-cours {
  border: 1px solid rgba(120,180,120,0.35); color: rgba(140,210,140,0.75);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(180,180,180,0.15)); }
  50%       { transform: scale(1.04); filter: drop-shadow(0 0 60px rgba(200,200,200,0.25)); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 60px; }
  .section-header { padding: 40px 24px 28px; }
  .boutique-grid { padding: 0 20px 60px; }
  .projets-list { padding: 0 24px 60px; }
  .projet-item { grid-template-columns: 1fr; gap: 16px; }
  .page-footer { padding: 32px 24px 24px; }
  .about-tabs { padding: 0 24px; }
  .about-tab-content { padding: 36px 24px 60px; }
  .portfolio-tabs { padding: 0 24px; }
}
@media (max-width: 480px) {
  .header-name { font-size: 0.82rem; letter-spacing: 0.1em; }
}
