@font-face {
  font-family: 'DisplaySerif';
  src: local('Georgia');
}

:root {
  --black: #080807;
  --black2: #0f0e0d;
  --panel: #141210;
  --line: rgba(205, 109, 64, .28);
  --corten-dark: #552a1a;
  --corten: #8f4729;
  --corten-mid: #b15d35;
  --corten-light: #d0794a;
  --cream: #f2ede5;
  --muted: #b8aca0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .13;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.45) 1px, transparent 0);
  background-size: 16px 16px;
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #030303;
}

.home-hero { min-height: clamp(480px, 36vw, 560px); }

.home-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(370px, 29vw, 465px);
  padding: 18px 6vw 32px max(84px, 7vw);
}

.home-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #10100e;
}

.home-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 36%, rgba(3,3,3,.12) 46%, rgba(3,3,3,.82) 62%, #030303 74%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  right: 26%;
  background: var(--bg) center / cover no-repeat;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.left-rust {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 100%;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), transparent),
    radial-gradient(circle at 25% 18%, rgba(208,121,74,.52), transparent 18%),
    radial-gradient(circle at 60% 70%, rgba(143,71,41,.6), transparent 24%),
    linear-gradient(180deg, #21100a, #090909 35%, #3b1a10 74%, #0a0a0a);
  border-right: 1px solid rgba(208,121,74,.24);
}

.left-rust::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(circle at 10px 20px, rgba(232,130,72,.38) 0 1px, transparent 2px),
    radial-gradient(circle at 35px 80px, rgba(116,54,29,.8) 0 1px, transparent 2px);
  background-size: 42px 54px;
}

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: end;
  gap: 30px;
  padding: 34px 5vw 20px 7.5vw;
  background: linear-gradient(180deg, rgba(0,0,0,.84), rgba(0,0,0,.38) 65%, transparent);
}

.brand img {
  width: 255px;
  max-width: 100%;
  display: block;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 56px);
  padding-bottom: 18px;
}

.nav-links a {
  position: relative;
  font-size: .86rem;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: rgba(242,237,229,.82);
  transition: color .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--corten), var(--corten-light));
  transition: width .25s ease;
}

.nav-links a:hover,
body[data-page="accueil"] .nav-links a[data-page="accueil"],
body[data-page="galerie"] .nav-links a[data-page="galerie"],
body[data-page="apropos"] .nav-links a[data-page="apropos"],
body[data-page="contact"] .nav-links a[data-page="contact"] {
  color: var(--corten-light);
}

.nav-links a:hover::after,
body[data-page="accueil"] .nav-links a[data-page="accueil"]::after,
body[data-page="galerie"] .nav-links a[data-page="galerie"]::after,
body[data-page="apropos"] .nav-links a[data-page="apropos"]::after,
body[data-page="contact"] .nav-links a[data-page="contact"]::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(208,121,74,.35);
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  margin: 5px auto;
}

.hero-content {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  width: min(720px, 48vw);
  padding-right: 9vw;
  padding-bottom: 10vh;
}

.overline, .kicker {
  color: var(--corten-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .78rem;
  font-weight: 700;
}

.hero h1, .page-title h1 {
  margin: 22px 0 26px;
  font-family: DisplaySerif, Georgia, serif;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: 6px;
  font-weight: 400;
}

.hero h1 span {
  display: block;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  color: var(--cream);
  text-shadow: 0 18px 60px rgba(0,0,0,.65);
}

.hero h1 strong {
  display: block;
  font-size: clamp(2.5rem, 4.6vw, 5.2rem);
  font-weight: 400;
  color: var(--corten-mid);
  text-shadow: 0 0 28px rgba(208,121,74,.12);
}

.hero-copy, .page-title p {
  color: rgba(242,237,229,.78);
  line-height: 1.9;
  font-size: 1.08rem;
  max-width: 590px;
  margin-bottom: 38px;
}

.hero-actions, .contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 28px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: .78rem;
  transition: all .28s ease;
}

.btn.primary {
  color: var(--corten-light);
  border: 1px solid var(--corten);
  background: linear-gradient(90deg, rgba(143,71,41,.18), rgba(0,0,0,.16));
}

.btn.secondary {
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.18);
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--corten);
  color: white;
  box-shadow: 0 20px 60px rgba(143,71,41,.22);
}

.since {
  position: absolute;
  left: 32px;
  bottom: 120px;
  z-index: 8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(242,237,229,.7);
}

.since::before {
  content: "";
  display: inline-block;
  height: 54px;
  width: 2px;
  background: var(--corten-mid);
  margin-bottom: 16px;
}

.slider-dots {
  position: absolute;
  right: 7vw;
  bottom: 74px;
  z-index: 9;
  display: flex;
  gap: 14px;
}

.dot {
  width: 52px;
  height: 3px;
  border: 0;
  background: rgba(255,255,255,.34);
  cursor: pointer;
  transition: .25s;
}

.dot.active { background: var(--corten-mid); }

.page-header {
  position: relative;
  background:
    linear-gradient(90deg, rgba(3,3,3,.86), rgba(3,3,3,.58) 45%, rgba(3,3,3,.20)),
    url('assets/accueil/accueil-01.jpg') center 57% / cover no-repeat,
    #10100e;
}

.home-hero .topbar,
.page-header .topbar {
  align-items: center;
  padding-block: 12px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,.52), transparent);
}

.home-hero .brand img,
.page-header .brand img { width: 155px; }

.page-title {
  position: relative;
  z-index: 10;
  padding: 12px 7vw 30px;
}

.page-title h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--cream);
}

.home-info {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 1px;
  background: rgba(208,121,74,.22);
  border-top: 1px solid rgba(255,255,255,.06);
}

.info-card {
  padding: 58px 5vw;
  background:
    linear-gradient(135deg, rgba(143,71,41,.10), transparent 36%),
    #090909;
}

.info-card h2 {
  font-family: DisplaySerif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  margin: 12px 0 24px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-card strong { color: var(--cream); }
.info-card .note { color: var(--corten-light); }

.gallery-section {
  padding: 96px 7vw 110px;
  background: var(--black);
}

.gallery-section.standalone {
  padding-top: 76px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
  padding: 12px;
  width: fit-content;
  max-width: 100%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(0,0,0,.22);
  border: 1px solid rgba(208,121,74,.18);
  box-shadow: inset 0 0 35px rgba(0,0,0,.35);
}

.tab {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(208,121,74,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(13,12,11,.86);
  color: rgba(242,237,229,.78);
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.tab::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 25% 15%, rgba(221,130,77,.38), transparent 28%),
    linear-gradient(135deg, rgba(88,42,25,.92), rgba(161,78,42,.9) 48%, rgba(70,33,22,.95));
  transition: opacity .25s ease;
  z-index: -1;
}

.tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--corten-light), transparent);
  transition: transform .25s ease;
  z-index: 1;
}

.tab:hover {
  color: #fff7ef;
  border-color: rgba(208,121,74,.72);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 22px rgba(143,71,41,.14);
}

.tab.active {
  color: #241008;
  border-color: rgba(208,121,74,.86);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 22px rgba(143,71,41,.14);
}

.tab:hover::before,
.tab.active::before {
  opacity: 1;
}

.tab:hover::after,
.tab.active::after {
  transform: scaleX(1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.work {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #171717;
  border: 1px solid rgba(255,255,255,.055);
}

.work.large {
  grid-column: span 2;
  min-height: 390px;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.08) brightness(.66) contrast(1.08);
  transform: scale(1.01);
  transition: transform .55s ease, filter .55s ease;
}

.work:hover img {
  transform: scale(1.075);
  filter: grayscale(0) brightness(.86) contrast(1.05);
}

.work div {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(0,0,0,.88), transparent);
}

.work span {
  color: var(--corten-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .72rem;
  font-weight: 700;
}

.work h3 {
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 400;
}

.about {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 720px;
  background: #0d0c0b;
  border-top: 1px solid rgba(255,255,255,.07);
}

.page-about { border-top: 0; }

.about-image {
  background: linear-gradient(0deg, rgba(0,0,0,.20), rgba(0,0,0,.10)), url('assets/gallery/escaliers/escaliers_003.jpg') center/cover no-repeat;
  min-height: 520px;
}

.about-content {
  padding: 96px 8vw 96px 6vw;
  align-self: center;
}

.about h2, .contact-panel h2 {
  font-family: DisplaySerif, Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 1px;
}

.about h2 {
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  margin: 14px 0 28px;
}

.about p:not(.kicker) {
  color: var(--muted);
  line-height: 1.88;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: rgba(208,121,74,.25);
}

.about-stats div {
  background: #11100f;
  padding: 24px 18px;
}

.about-stats strong {
  display: block;
  color: var(--corten-light);
  font-family: DisplaySerif, Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.about-stats span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: .72rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1px;
  padding: 0;
  background: rgba(208,121,74,.22);
}

.page-contact { border-top: 0; }

.contact-panel, .contact-details {
  padding: 92px 7vw;
  background:
    linear-gradient(135deg, rgba(143,71,41,.12), transparent 30%),
    #090909;
}

.contact-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  margin: 14px 0 24px;
}

.contact-panel p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 34px;
}

.contact-details {
  display: grid;
  gap: 0;
}

.contact-details div {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.contact-details span {
  color: var(--corten-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .76rem;
}

.contact-details p {
  color: var(--cream);
  line-height: 1.7;
  margin-top: 8px;
}


.map-section {
  padding: 1px 7vw 96px;
  background:
    radial-gradient(circle at 20% 0%, rgba(208,121,74,.18), transparent 34%),
    linear-gradient(180deg, #090909 0%, #050505 100%);
}

.map-card {
  overflow: hidden;
  border: 1px solid rgba(208,121,74,.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(8,8,8,.94);
  box-shadow: 0 30px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
}

.map-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 48px 34px;
}

.map-header h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.map-header p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}

.route-btn {
  white-space: nowrap;
  box-shadow: 0 18px 35px rgba(143,71,41,.22);
}

.map-frame {
  position: relative;
  height: min(460px, 58vw);
  min-height: 320px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #111;
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 32px 48px rgba(0,0,0,.22);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(18%) contrast(1.05) brightness(.9);
}

@media (max-width: 780px) {
  .map-section { padding: 1px 20px 64px; }
  .map-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px 26px;
  }
  .route-btn { width: 100%; justify-content: center; }
  .map-frame { min-height: 280px; height: 360px; }
}

.footer {
  padding: 42px 7vw;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer img { width: 170px; }
.footer p { color: var(--muted); letter-spacing: 1.2px; }

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 240px 1fr;
    padding-left: 7vw;
  }

  .brand img { width: 210px; }

  .nav-links {
    position: fixed;
    top: 110px;
    left: 22px;
    right: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8,8,7,.96);
    border: 1px solid rgba(208,121,74,.26);
    padding: 14px;
    z-index: 50;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-links a::after { display: none; }

  .menu-toggle { display: block; }

  .hero-content {
    width: min(700px, 78vw);
    margin-left: 10vw;
    padding-right: 6vw;
  }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about, .contact-section, .home-info { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .left-rust { width: 34px; }

  .topbar {
    grid-template-columns: 180px 1fr;
    padding: 24px 22px 16px 54px;
  }

  .brand img { width: 170px; }

  .hero-content {
    width: auto;
    margin-left: 54px;
    padding-right: 22px;
    min-height: calc(100vh - 120px);
  }

  .hero h1 { letter-spacing: 2px; }
  .hero-copy { font-size: .98rem; }

  .since { display: none; }
  .slider-dots { right: 24px; bottom: 38px; }
  .dot { width: 34px; }

  .page-title, .gallery-section, .about-content, .contact-panel, .contact-details, .info-card {
    padding-left: 54px;
    padding-right: 22px;
  }

  .category-tabs {
    width: 100%;
    gap: 8px;
    padding: 8px;
  }

  .tab {
    flex: 1 1 auto;
    padding: 12px 13px;
    font-size: .66rem;
    letter-spacing: 1.1px;
  }

  .gallery-grid { grid-template-columns: 1fr; }
  .work.large { grid-column: auto; }
  .about-stats { grid-template-columns: 1fr; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 54px;
  }
}

/* Diaporama accueil sans indicateurs */
.slider-dots { display: none !important; }


/* ===== GALERIE PAR CATÉGORIE - STYLE TOLÉSIE ===== */

.category-gallery{
  margin-top:42px;
  animation:fadeGallery .35s ease;
}

.category-gallery.hidden{
  display:none;
}

@keyframes fadeGallery{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}

.gallery-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:26px;
}

.gallery-header h2{
  font-family:DisplaySerif, Georgia, serif;
  font-size:clamp(2rem,4vw,4rem);
  font-weight:400;
  color:var(--cream);
}

.gallery-arrows{
  display:flex;
  gap:14px;
}

.gallery-arrow{
  width:58px;
  height:58px;
  border:1px solid rgba(208,121,74,.45);
  cursor:pointer;
  font-size:2rem;
  line-height:1;
  color:#2b1208;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,176,120,.45), transparent 35%),
    linear-gradient(135deg, #552a1a, #b15d35 52%, #6b321d);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 12px 28px rgba(0,0,0,.35);
  transition:.25s ease;
}

.gallery-arrow:hover{
  transform:translateY(-3px);
  color:#fff7ef;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 18px 40px rgba(143,71,41,.32);
}

.gallery-slider{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding:4px 0 14px;
}

.gallery-slider::-webkit-scrollbar{
  display:none;
}

.gallery-card{
  flex:0 0 auto;
  width:min(430px, 74vw);
  height:300px;
  position:relative;
  overflow:hidden;
  background:#141210;
  border:1px solid rgba(255,255,255,.06);
  cursor:pointer;
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.78) contrast(1.06);
  transition:.35s ease;
}

.gallery-card:hover img{
  transform:scale(1.055);
  filter:brightness(.94) contrast(1.06);
}

.gallery-grid{
  display:none !important;
}

.work{
  display:none !important;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.88);
  padding:32px;
}

.lightbox.open{
  display:flex;
}

.lightbox img{
  max-width:min(1200px, 94vw);
  max-height:86vh;
  object-fit:contain;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
  border:1px solid rgba(208,121,74,.34);
}

.lightbox-close{
  position:absolute;
  top:24px;
  right:28px;
  width:52px;
  height:52px;
  border:1px solid rgba(208,121,74,.45);
  background:rgba(0,0,0,.55);
  color:white;
  font-size:2.2rem;
  cursor:pointer;
}

@media(max-width:700px){
  .gallery-header{
    align-items:flex-end;
  }

  .gallery-arrow{
    width:48px;
    height:48px;
  }

  .gallery-card{
    width:86vw;
    height:255px;
  }
}


/* Correctifs finaux galerie */
.slider-dots{display:none!important}.category-gallery{position:relative;margin-top:42px;margin-bottom:74px}.category-gallery.hidden{display:none!important}.gallery-header{margin-bottom:22px}.gallery-header .gallery-arrows{display:none!important}.gallery-slider{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:4px 74px 14px}.gallery-slider::-webkit-scrollbar{display:none}.gallery-card{flex:0 0 auto;width:min(430px,74vw);height:300px;position:relative;overflow:hidden;background:#141210;border:1px solid rgba(255,255,255,.06);cursor:pointer}.gallery-card img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.78) contrast(1.06);transition:.35s ease}.gallery-card:hover img{transform:scale(1.055);filter:brightness(.94) contrast(1.06)}.category-gallery .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:20;width:58px;height:58px;border:1px solid rgba(208,121,74,.45);cursor:pointer;font-size:2rem;line-height:1;color:#2b1208;background:radial-gradient(circle at 30% 20%, rgba(255,176,120,.45), transparent 35%), linear-gradient(135deg,#552a1a,#b15d35 52%,#6b321d);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 28px rgba(0,0,0,.35);transition:.25s ease}.category-gallery .gallery-arrow.left{left:0}.category-gallery .gallery-arrow.right{right:0}.category-gallery .gallery-arrow:hover{transform:translateY(-50%) scale(1.05);color:#fff7ef;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 40px rgba(143,71,41,.32)}.gallery-grid,.work{display:none!important}.lightbox{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.88);padding:32px}.lightbox.open{display:flex}.lightbox img{max-width:min(1200px,94vw);max-height:86vh;object-fit:contain;box-shadow:0 30px 90px rgba(0,0,0,.65);border:1px solid rgba(208,121,74,.34)}.lightbox-close{position:absolute;top:24px;right:28px;width:52px;height:52px;border:1px solid rgba(208,121,74,.45);background:rgba(0,0,0,.55);color:white;font-size:2.2rem;cursor:pointer}@media(max-width:700px){.gallery-slider{padding-left:0;padding-right:0}.category-gallery .gallery-arrow{top:auto;bottom:-62px}.category-gallery{padding-bottom:72px}.gallery-card{width:86vw;height:255px}}


/* Ajout accueil : image "partition" fondue dans le visuel */
.partition-showcase{
  position:relative;
  isolation:isolate;
  margin-top:-120px;
  padding:120px clamp(18px,4vw,70px) 68px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(208,121,74,.18), transparent 38%),
    linear-gradient(180deg, rgba(13,12,10,0) 0%, rgba(13,12,10,.72) 18%, #0d0c0a 78%);
}
.partition-showcase::before,
.partition-showcase::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}
.partition-showcase::before{
  background:
    linear-gradient(90deg, #0d0c0a 0%, rgba(13,12,10,.18) 15%, rgba(13,12,10,0) 50%, rgba(13,12,10,.25) 86%, #0d0c0a 100%),
    linear-gradient(180deg, #0d0c0a 0%, rgba(13,12,10,0) 26%, rgba(13,12,10,0) 64%, #0d0c0a 100%);
}
.partition-showcase::after{
  background:radial-gradient(ellipse at center, transparent 30%, rgba(13,12,10,.54) 100%);
  mix-blend-mode:multiply;
}
.partition-inner{
  position:relative;
  z-index:0;
  max-width:1680px;
  margin:0 auto;
  overflow:visible;
}
.partition-inner img{
  display:block;
  width:100%;
  height:auto;
  filter:brightness(.78) contrast(1.05) saturate(.88);
  opacity:.94;
  mix-blend-mode:screen;
  filter:drop-shadow(0 30px 60px rgba(0,0,0,.45));
}
.partition-inner::after{
  content:"";
  position:absolute;
  inset:-2%;
  background:
    radial-gradient(circle at center, transparent 45%, rgba(13,12,10,.82) 100%),
    linear-gradient(180deg, rgba(13,12,10,.75), transparent 18%, transparent 82%, rgba(13,12,10,.9));
  pointer-events:none;
}

/* Galerie : zoom fort au survol + ouverture complète via le titre de catégorie */
.gallery-slider{
  overflow-y:visible!important;
}
.gallery-card{
  transform-origin:center center;
  transition:transform .35s ease, box-shadow .35s ease, z-index 0s linear;
}
.gallery-card:hover{
  transform:scale(3);
  z-index:80;
  box-shadow:0 35px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(208,121,74,.45);
}
.gallery-card:hover img{
  transform:none!important;
  filter:brightness(1) contrast(1.08)!important;
}
.gallery-header h2{
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  transition:color .25s ease, transform .25s ease;
}
.gallery-header h2::after{
  content:"ouvrir toute la galerie";
  font-size:.72rem;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:rgba(208,121,74,.78);
  border:1px solid rgba(208,121,74,.35);
  padding:7px 10px;
  border-radius:999px;
}
.gallery-header h2:hover{
  color:#d0794a;
  transform:translateX(4px);
}
.category-gallery.expanded .gallery-header h2::after{
  content:"refermer la galerie";
}
.category-gallery.expanded .gallery-slider{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  overflow:visible!important;
  padding:4px 0 14px!important;
}
.category-gallery.expanded .gallery-card{
  width:100%!important;
  height:280px!important;
}
.category-gallery.expanded .gallery-arrow{
  display:none!important;
}
.category-gallery.expanded .gallery-card:hover{
  transform:scale(1.35);
}
@media(max-width:900px){
  .partition-showcase{margin-top:-70px;padding-top:86px;padding-bottom:42px;}
  .gallery-card:hover{transform:scale(1.45);}
  .category-gallery.expanded .gallery-card:hover{transform:scale(1.08);}
}
@media(max-width:700px){
  .partition-showcase{margin-top:-42px;padding-inline:16px;}
  .gallery-header h2{flex-wrap:wrap;}
  .gallery-header h2::after{font-size:.62rem;}
  .gallery-card:hover{transform:scale(1.08);}
}

/* Correctif zoom galerie : aperçu complet x2.5 libre sur la page */
.gallery-slider{
  overflow-y:visible!important;
}
.gallery-card:hover,
.category-gallery.expanded .gallery-card:hover{
  transform:none!important;
  z-index:auto!important;
  box-shadow:0 18px 44px rgba(0,0,0,.46), 0 0 0 1px rgba(208,121,74,.35)!important;
}
.gallery-card:hover img{
  transform:none!important;
  filter:brightness(.95) contrast(1.06)!important;
}
/* Refonte galerie Poncelet - catégories + photos à gauche / texte à droite */
:root{--ral2004:#f44611;}
.brand img,.footer img{filter:none!important;}
.gallery-refonte-section{max-width:1480px;margin-inline:auto;}
.gallery-tabs-refonte{display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:center;margin-bottom:44px;}
.gallery-tabs-refonte .tab{border:1px solid rgba(244,70,17,.34);background:rgba(255,255,255,.035);color:rgba(242,237,229,.86);padding:12px 16px;border-radius:999px;letter-spacing:1.1px;text-transform:uppercase;font-size:.74rem;cursor:pointer;transition:.25s ease;}
.gallery-tabs-refonte .tab:hover,.gallery-tabs-refonte .tab.active{background:linear-gradient(135deg,rgba(244,70,17,.95),rgba(177,93,53,.72));border-color:rgba(244,70,17,.78);color:#fff;box-shadow:0 14px 34px rgba(244,70,17,.18);}
.category-gallery.gallery-refonte{position:relative;margin:0 0 72px!important;padding:0!important;}
.category-gallery.gallery-refonte.hidden{display:none!important;}
.category-gallery.gallery-refonte .gallery-header{margin:0 0 22px!important;}
.category-gallery.gallery-refonte .gallery-header h2{cursor:default!important;display:block!important;font-size:clamp(2rem,4vw,4.8rem);letter-spacing:-1px;color:rgba(242,237,229,.95);}
.category-gallery.gallery-refonte .gallery-header h2::after{display:none!important;content:none!important;}
.category-gallery.gallery-refonte .gallery-header h2:hover{transform:none!important;color:rgba(242,237,229,.95)!important;}
.gallery-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:34px;align-items:start;}
.gallery-photo-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;align-items:start;}
.gallery-photo-wall .gallery-card{width:100%!important;height:clamp(170px,18vw,260px)!important;min-height:0!important;overflow:hidden;border:1px solid rgba(255,255,255,.075);background:#111;box-shadow:0 16px 38px rgba(0,0,0,.34);cursor:pointer;}
.gallery-photo-wall .gallery-card img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.82) contrast(1.05);transition:.3s ease;}
.gallery-photo-wall .gallery-card:hover img{filter:brightness(.98) contrast(1.06)!important;transform:scale(1.035)!important;}
.gallery-process{position:sticky;top:28px;border:1px solid rgba(244,70,17,.24);background:linear-gradient(180deg,rgba(20,18,16,.94),rgba(8,8,7,.96));padding:30px;border-radius:0 34px 0 34px;box-shadow:0 24px 70px rgba(0,0,0,.38);}
.gallery-process .overline{color:var(--ral2004);font-size:.72rem;letter-spacing:2px;text-transform:uppercase;margin-bottom:12px;}
.gallery-process h3{font-family:Georgia,serif;font-size:clamp(1.55rem,2.4vw,2.4rem);font-weight:400;margin-bottom:16px;color:#fff3ec;}
.gallery-process p{color:rgba(242,237,229,.78);line-height:1.72;font-size:1rem;margin-bottom:22px;}
.gallery-process ul{list-style:none;display:grid;gap:12px;}
.gallery-process li{position:relative;color:rgba(242,237,229,.76);line-height:1.55;padding-left:24px;}
.gallery-process li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--ral2004);box-shadow:0 0 18px rgba(244,70,17,.55);}
.gallery-empty{grid-column:1/-1;border:1px dashed rgba(244,70,17,.35);padding:28px;color:rgba(242,237,229,.68);background:rgba(255,255,255,.03);}
.category-gallery.gallery-refonte .gallery-arrow,.category-gallery.gallery-refonte .gallery-slider{display:none!important;}
.lightbox{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.88);padding:32px}.lightbox.open{display:flex}.lightbox img{max-width:min(1200px,94vw);max-height:86vh;object-fit:contain;box-shadow:0 30px 90px rgba(0,0,0,.65);border:1px solid rgba(244,70,17,.42)}.lightbox-close{position:absolute;top:24px;right:28px;width:52px;height:52px;border:1px solid rgba(244,70,17,.45);background:rgba(0,0,0,.55);color:white;font-size:2.2rem;cursor:pointer}
@media(max-width:980px){.gallery-layout{grid-template-columns:1fr}.gallery-process{position:relative;top:auto;order:-1}.gallery-photo-wall{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));}.gallery-photo-wall .gallery-card{height:210px!important;}}
@media(max-width:620px){.gallery-tabs-refonte{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px}.gallery-tabs-refonte .tab{white-space:nowrap;font-size:.68rem;padding:10px 13px}.gallery-photo-wall{grid-template-columns:1fr 1fr;gap:10px}.gallery-photo-wall .gallery-card{height:165px!important}.gallery-process{padding:22px;border-radius:0 24px 0 24px}.category-gallery.gallery-refonte .gallery-header h2{font-size:2rem}}


/* Ajustements demandés - galerie rectangles + agrandissement au clic uniquement */
.gallery-tabs-refonte{
  justify-content:flex-start!important;
  width:fit-content!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:12px!important;
  gap:14px!important;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)), rgba(0,0,0,.22)!important;
  border:1px solid rgba(208,121,74,.18)!important;
  box-shadow:inset 0 0 35px rgba(0,0,0,.35)!important;
}
.gallery-tabs-refonte .tab{
  border-radius:0!important;
  padding:14px 20px!important;
  border:1px solid rgba(208,121,74,.22)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), rgba(13,12,11,.86)!important;
  color:rgba(242,237,229,.78)!important;
  font-size:.72rem!important;
  font-weight:700!important;
  letter-spacing:1.7px!important;
  box-shadow:none!important;
}
.gallery-tabs-refonte .tab:hover,
.gallery-tabs-refonte .tab.active{
  color:#241008!important;
  border-color:rgba(208,121,74,.86)!important;
  transform:translateY(-2px)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.32),0 0 22px rgba(143,71,41,.14)!important;
}
.gallery-photo-wall .gallery-card,
.gallery-photo-wall .gallery-card:hover,
.category-gallery.expanded .gallery-card:hover{
  transform:none!important;
}
.gallery-photo-wall .gallery-card img,
.gallery-photo-wall .gallery-card:hover img,
.gallery-card:hover img{
  transform:none!important;
}
.gallery-photo-wall .gallery-card:hover img{
  filter:brightness(.94) contrast(1.06)!important;
}
.hover-image-preview{display:none!important;}
@media(max-width:620px){
  .gallery-tabs-refonte{justify-content:flex-start!important;width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;}
  .gallery-tabs-refonte .tab{white-space:nowrap!important;}
}

/* Textes 2026 : paragraphes et intertitres des contenus complets. */
.hero-copy p + p { margin-top: 16px; }
.gallery-process { position: static; overflow-wrap: break-word; }
.gallery-process h4, .about-content h3 {
  font-family: Georgia, serif; font-weight: 400; color: var(--cream);
  font-size: 1.35rem; line-height: 1.35; margin: 30px 0 14px;
}
.gallery-process > :last-child { margin-bottom: 0; }

/* Historique : alternance des trois chapitres. */
.about-story { min-height: 0; align-items: start; }
.about-story .about-content { padding-top: 64px; padding-bottom: 64px; }
.about-story .about-image { align-self: stretch; min-height: 520px; }
.about-story .about-content h2 { font-size: clamp(2rem, 3.1vw, 3.4rem); line-height: 1.15; }
.about-story.story-reversed .about-content { grid-column: 1; grid-row: 1; }
.about-story.story-reversed .about-image { grid-column: 2; grid-row: 1; }
@media (max-width: 1100px) {
  .about-story .about-image { min-height: 0; height: 360px; }
  .about-story.story-reversed .about-image,
  .about-story.story-reversed .about-content { grid-column: auto; grid-row: auto; }
}
/* Le texte reste intégralement disponible sans JavaScript. */
.gallery-copy { display: flow-root; }
.gallery-copy > :last-child { margin-bottom: 0; }
.gallery-text-viewport { min-height: 0; }
.gallery-process.is-collapsed .gallery-text-viewport { overflow: hidden; }
.gallery-process.is-collapsed .gallery-text-viewport::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 32px;
  background: linear-gradient(transparent, #10100e); pointer-events: none;
}
.gallery-text-viewport { position: relative; }
.gallery-read-more {
  display: block; width: 100%; margin-top: 16px; padding: 12px 16px;
  border: 1px solid var(--corten-light); background: transparent; color: var(--cream);
  font: inherit; line-height: 1.3; cursor: pointer; text-align: center;
}
.gallery-read-more[hidden] { display: none; }
.gallery-read-more:hover { background: rgba(208,121,74,.15); }
.gallery-read-more:focus-visible { outline: 2px solid var(--corten-light); outline-offset: 4px; }

/* Photo d'équipe : affichage intégral, sans aucun recadrage. */
.about-story .team-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: center;
  background: #0d0c0b;
  display: block;
}
@media (max-width: 1100px) {
  .about-story .team-photo { height: auto; min-height: 0; object-fit: contain; }
}


.home-showcase .hero-content {
  width: min(100%, clamp(390px, 46vw, 680px));
  min-height: 0;
  margin: 0;
  padding: 0;
}

.home-showcase h1 span {
  font-size: clamp(2rem, 3.5vw, 4.4rem);
  letter-spacing: .06em;
  line-height: 1;
}

@media (max-width: 720px) {
  .home-hero { min-height: 0; }

  .home-showcase {
    justify-content: flex-start;
    min-height: 0;
    padding: 24px 6vw 40px 54px;
  }

  .home-carousel {
    bottom: auto;
    min-height: 180px;
    aspect-ratio: 2 / 1;
  }

  .hero-slide { right: 0; }

  .home-carousel::after {
    background: linear-gradient(180deg, rgba(3,3,3,.46), rgba(3,3,3,.75) 60%, #030303);
  }

  .home-hero .brand img,
  .page-header .brand img { width: 125px; }

  .page-header { background-position: center, center 57%; }
  .page-title { padding: 8px 22px 24px 54px; }
  .page-title h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
}
