/* ============================================
   HOMEPAGE — ATELIER GRAV'ART
   ============================================ */

/* ============================================
   HERO — full viewport, dark, dramatic
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 30%, rgba(107, 63, 30, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201, 160, 107, 0.18), transparent 60%);
  filter: blur(40px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Drifting halos */
@keyframes halo-drift-1 {
  0%   { transform: translate(0px,    0px); }
  20%  { transform: translate(50px,  -60px); }
  45%  { transform: translate(-35px, -90px); }
  65%  { transform: translate(-60px, -25px); }
  80%  { transform: translate(15px,   25px); }
  100% { transform: translate(0px,    0px); }
}
@keyframes halo-drift-2 {
  0%   { transform: translate(0px,   0px); }
  30%  { transform: translate(45px,  55px); }
  55%  { transform: translate(-30px, 70px); }
  75%  { transform: translate(-50px, 10px); }
  100% { transform: translate(0px,   0px); }
}
@keyframes halo-drift-3 {
  0%   { transform: translate(0px,   0px); }
  25%  { transform: translate(-40px, -45px); }
  50%  { transform: translate(25px,  -70px); }
  75%  { transform: translate(50px,   15px); }
  100% { transform: translate(0px,    0px); }
}
.hero-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
}
.halo-1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(201,160,107,0.55) 0%, rgba(201,160,107,0.12) 45%, transparent 70%);
  filter: blur(42px);
  top: 45%; left: 38%;
  animation: halo-drift-1 12s ease-in-out infinite;
}
.halo-2 {
  width: 210px; height: 210px;
  background: radial-gradient(circle, rgba(201,160,107,0.68) 0%, rgba(201,160,107,0.18) 45%, transparent 70%);
  filter: blur(28px);
  top: 10%; left: 12%;
  animation: halo-drift-2 7s ease-in-out infinite;
  animation-delay: -6s;
}
.halo-3 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(220,175,100,0.75) 0%, rgba(201,160,107,0.22) 45%, transparent 70%);
  filter: blur(18px);
  top: 30%; left: 62%;
  animation: halo-drift-3 16s ease-in-out infinite;
  animation-delay: -14s;
}

.hero-meta {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-inv-soft);
  padding-bottom: 16px;
}
.hero-meta .left,
.hero-meta .right {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-inv-2);
}
.hero-meta .right {
  align-items: center;
}
.hero-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brass-soft);
}
.hero-meta .live::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 12px var(--brass);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 130px 0 100px;
  align-items: end;
}

.hero-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(3rem, 10vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--bone);
  margin-bottom: 40px;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brass-soft);
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}
.hero-title.in .line > span { transform: translateY(0); }
.hero-title .line-2 > span { transition-delay: 0.15s; }
.hero-title .line-3 > span { transition-delay: 0.30s; }

.hero-laser-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0;
  pointer-events: none;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 8px;
}
.hero-lead {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--fg-inv);
  max-width: 28ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .btn-fill { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.hero-actions .btn-fill::before { background: var(--bone); }
.hero-actions .btn-fill:hover { color: var(--ink); }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-inv-soft);
  padding: 28px 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 0 24px;
  border-right: 1px solid var(--line-inv-soft);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.hero-stat-num em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-soft); }
.hero-stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-inv-3);
}

/* Hero floating product card */
.hero-float {
  position: absolute;
  bottom: 180px;
  right: var(--gutter);
  z-index: 4;
  width: 220px;
  background: rgba(20, 14, 8, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-inv);
  padding: 12px;
  border-radius: 4px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: float 6s ease-in-out infinite;
  opacity: 0;
  transform: translateY(20px);
  animation: float 6s ease-in-out infinite 1.2s, fadeInFloat 1s var(--ease) 1s forwards;
}
@keyframes fadeInFloat {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-float-img {
  width: 56px; height: 56px;
  background: var(--bone);
  border-radius: 2px;
  flex-shrink: 0;
  object-fit: cover;
}
.hero-float-text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.hero-float-text .label { color: var(--brass-soft); text-transform: uppercase; }
.hero-float-text .name { color: var(--bone); margin-top: 4px; font-size: 12px; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--line-inv-soft); padding: 16px 0 16px; }
  .hero-stat:nth-child(odd) { padding-right: 24px; }
  .hero-stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-inv-soft); }
  .hero-float { display: none; }
  .hero-meta .left { display: none; }
}

/* ============================================
   MARQUEE — TRUST BAR (premium version)
   ============================================ */
.trust-bar {
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.trust-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
  gap: 80px;
}
.trust-bar:hover .trust-track { animation-play-state: paused; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.trust-item em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-deep); }
.trust-sep {
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   PRODUCTS — Editorial grid
   ============================================ */
.products {
  background: var(--bone);
  padding: 70px 0;
  position: relative;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card.span-7 { grid-column: span 7; }
.product-card.span-5 { grid-column: span 5; }
.product-card.span-4 { grid-column: span 4; }
.product-card.span-6 { grid-column: span 6; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone-2);
  margin-bottom: 24px;
}
.product-card.span-7 .product-img-wrap { aspect-ratio: 7 / 5; }
.product-card.span-6 .product-img-wrap { aspect-ratio: 1 / 1; }
.product-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 10, 7, 0.3));
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.product-card:hover .product-img-wrap::before { opacity: 1; }

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-corner {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(14, 10, 7, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 2px;
}
.product-corner.brass { background: var(--brass); color: var(--ink); }

.product-spec {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-align: right;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.product-card:hover .product-spec { opacity: 1; transform: translateX(0); }
.product-spec .k { color: var(--brass-soft); display: block; }

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding-top: 4px;
}
.product-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.product-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-deep); }
.product-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 42ch;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ink);
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.product-cta svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.product-card:hover .product-cta { background: var(--ink); color: var(--bone); transform: rotate(-45deg); }

.products-foot {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 24px;
}
.products-foot p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg-2);
  max-width: 32ch;
}

@media (max-width: 900px) {
  .products { padding: 40px 0; }
  .products-grid { grid-template-columns: 1fr; gap: 56px; }
  .product-card.span-7, .product-card.span-5,
  .product-card.span-4, .product-card.span-6 { grid-column: span 1; }
}

/* ============================================
   SERVICES — split editorial
   ============================================ */
.services-section {
  background: var(--ink);
  color: var(--bone);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 20%; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 160, 107, 0.1), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.svc-list { position: relative; z-index: 2; }
.svc-item {
  display: grid;
  grid-template-columns: 80px 0.8fr 1fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid var(--line-inv);
  align-items: start;
  position: relative;
  transition: background 0.5s var(--ease);
}
.svc-item:last-child { border-bottom: 1px solid var(--line-inv); }
.svc-item:hover { background: rgba(201, 160, 107, 0.04); }
.svc-item:hover .svc-arrow { transform: translateX(8px) rotate(-45deg); color: var(--brass-soft); }

.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brass);
  padding-top: 8px;
}

.svc-titlewrap h3 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.svc-titlewrap h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-soft); }
.svc-titlewrap .svc-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-inv-3);
}

.svc-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-body p {
  color: var(--fg-inv-2);
  font-size: 1rem;
  line-height: 1.65;
}
.svc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.svc-features span {
  padding: 6px 12px;
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-inv-2);
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  align-self: flex-start;
}
.svc-link::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.svc-link:hover::after { transform: translateX(6px); }

.svc-arrow {
  position: absolute;
  top: 56px; right: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-inv);
  display: flex; align-items: center; justify-content: center;
  color: var(--bone);
  transition: all var(--t-fast) var(--ease);
}

@media (max-width: 900px) {
  .services-section { padding: 40px 0; }
  .svc-item { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .svc-arrow { display: none; }
}

/* ============================================
   ABOUT — atelier/savoir-faire
   ============================================ */
.about {
  background: var(--bone);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-vis {
  position: relative;
  height: 720px;
}
.about-vis-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 80%;
  overflow: hidden;
}
.about-vis-main img,
.about-vis-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-vis-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%; height: 45%;
  overflow: hidden;
  border: 8px solid var(--bone);
}
.about-badge {
  position: absolute;
  top: 65%; left: 5%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  animation: spin 30s linear infinite;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
}
.about-badge svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.about-badge .center {
  font-family: var(--display);
  font-weight: 200;
  font-size: 2rem;
  animation: spin-rev 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.about-content { padding: 0; }
.about-content h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
}
.about-content h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-deep); }
.about-content .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 32ch;
}
.about-content p { color: var(--fg-2); margin-bottom: 16px; }

.about-values {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-value {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}
.about-value:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; padding-left: 0; }
.about-value:nth-child(even) { padding-left: 24px; padding-right: 0; }
.about-value-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.about-value-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 8px 0 6px;
  color: var(--ink);
}
.about-value-text {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about { padding: 40px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-vis { height: 480px; }
}

/* ============================================
   GALLERY — horizontal portfolio scroll
   ============================================ */
.gallery {
  background: var(--ink);
  color: var(--bone);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.gallery-rail {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.gallery-rail:active { cursor: grabbing; }
.gallery-tile {
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  background: var(--ash);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}
.gallery-tile:hover { transform: translateY(-6px); }
.gallery-tile.size-md { width: 380px; height: 480px; }
.gallery-tile.size-lg { width: 500px; height: 620px; }
.gallery-tile.size-sm { width: 320px; height: 400px; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(14, 10, 7, 0.85));
  color: var(--bone);
}
.gallery-tile-meta .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brass-soft);
}
.gallery-tile-meta .label {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-top: 6px;
  color: var(--bone);
}

.gallery-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding: 0 var(--gutter);
  flex-wrap: wrap;
  gap: 24px;
}
.gallery-foot .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-inv-3);
}
.gallery-foot .scroll-hint::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--brass);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 10, 7, 0.95);
  backdrop-filter: blur(20px);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.5s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-inv);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.lightbox-close:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

@media (max-width: 700px) {
  .gallery { padding: 40px 0; }
  .gallery-tile.size-md { width: 280px; height: 360px; }
  .gallery-tile.size-lg { width: 320px; height: 400px; }
  .gallery-tile.size-sm { width: 240px; height: 300px; }
}

/* ============================================
   PROCESS — narrative steps (dark contrast band)
   ============================================ */
.process {
  background: var(--ink);
  color: var(--bone);
  padding: 70px 0;
  position: relative;
}
.process .section-head h2 { color: var(--bone); }
.process .section-head .sub { color: var(--fg-inv-2, rgba(244, 239, 230, 0.72)); }
.process .num-block .label { color: var(--brass-soft); }
.process .num-block::before { background: var(--brass-soft); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-inv, rgba(244, 239, 230, 0.12));
  border-bottom: 1px solid var(--line-inv, rgba(244, 239, 230, 0.12));
}
.process-step {
  padding: 48px 32px 56px;
  border-right: 1px solid var(--line-inv, rgba(244, 239, 230, 0.12));
  position: relative;
  transition: background 0.4s var(--ease);
  cursor: default;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--ash); }
.process-step:hover .process-num { color: var(--brass-soft); }
.process-step:hover .process-step-line { width: 100%; }
.process-num {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.04em;
  transition: color 0.4s var(--ease);
}
.process-step h3 {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--bone);
  line-height: 1.1;
}
.process-step h3 em { color: var(--brass-soft); }
.process-step p {
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.6;
}
.process-step-line {
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.5s var(--ease);
}
.process-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 800px) {
  .process { padding: 40px 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line-inv, rgba(244, 239, 230, 0.12)); }
}
@media (max-width: 500px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line-inv, rgba(244, 239, 230, 0.12)); }
  .process-step:last-child { border-bottom: none; }
}

/* ============================================
   TESTIMONIALS — compact editorial
   ============================================ */
.testimonials {
  background: var(--paper);
  padding: 70px 0;
  position: relative;
}

/* Section-head override — 3 colonnes pour les témoignages */
.testimonials .section-head {
  grid-template-columns: auto 1fr auto;
}
.testimonials .section-head .sub {
  grid-column: 2;
}

/* Note globale — colonne droite, alignée verticalement */
.testi-rating {
  display: flex;
  align-items: baseline;
  gap: 18px;
  grid-column: 3;
  grid-row: 1 / -1;
  align-self: center;
  padding-left: 48px;
  border-left: 1px solid var(--line);
}
.testi-rating-score {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.testi-rating-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.testi-rating .testi-stars { color: var(--brass); }
.testi-rating .testi-stars svg { width: 15px; height: 15px; }
.testi-rating-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Grille 4 colonnes */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 12px;
}

.testi-card {
  background: linear-gradient(160deg, #ffffff 0%, var(--bone) 100%);
  border: 1.5px solid rgba(201, 160, 107, 0.28);
  border-radius: 22px;
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(20, 14, 8, 0.05);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -4px; right: 16px;
  font-family: var(--display);
  font-size: 9rem;
  line-height: 1;
  color: var(--brass);
  opacity: 0.09;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-7px);
  border-color: var(--brass);
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--brass);
}
.testi-stars svg { width: 14px; height: 14px; fill: currentColor; }

.testi-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--fg);
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 160, 107, 0.22);
  margin-top: auto;
}
.testi-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass-soft), var(--brass));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(201, 160, 107, 0.4);
}
.testi-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
}
.testi-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials { padding: 40px 0; }
  .testimonials .section-head { grid-template-columns: 1fr; }
  .testi-rating {
    grid-column: 1;
    grid-row: auto;
    padding-left: 0;
    border-left: none;
    margin-top: 16px;
  }
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .testi-rating-score { font-size: 2.4rem; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA SECTION — full bleed
   ============================================ */
.cta {
  background: var(--ink);
  color: var(--bone);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 75%, rgba(201, 160, 107, 0.25), transparent 70%);
  filter: blur(60px);
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cta h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin-bottom: 32px;
}
.cta h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-soft); }
.cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--fg-inv-2);
  max-width: 50ch;
  margin: 0 auto 48px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-preview {
  background: var(--bone);
  padding: 70px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.blog-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bone-2);
  margin-bottom: 24px;
}
.blog-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.blog-meta .cat { color: var(--brass); }
.blog-meta .sep { width: 4px; height: 4px; background: var(--brass); border-radius: 50%; }
.blog-card h3 {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.3s var(--ease);
}
.blog-card:hover h3 { color: var(--brass-deep); }
.blog-card p {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 16px;
}
.blog-readmore {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-card:hover .blog-readmore { color: var(--brass-deep); border-color: var(--brass); }

@media (max-width: 900px) {
  .blog-preview { padding: 40px 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--paper);
  padding: 70px 0;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
}
.contact-left h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-deep); }
.contact-left .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--fg-2);
  margin-bottom: 40px;
  max-width: 32ch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-info-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.contact-info-row .v {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.contact-info-row .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s var(--ease);
}
.contact-info-row:hover .arrow {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

.contact-form {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.contact-form-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
  resize: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 100px; }
.contact-form .btn-fill { align-self: flex-start; margin-top: 8px; }
.contact-form-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.contact-form-foot .dot {
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@media (max-width: 900px) {
  .contact { padding: 40px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-form { padding: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 24px; }
}
