/* ============================================================
   STUDIO MÉRIDIEN — feuille de style
   Encre profonde - Ivoire - Or chaud
   Polices chargées via Google Fonts dans index.html
   ============================================================ */

/* ============================================================
   STUDIO MÉRIDIEN — feuille de style
   Encre profonde · Ivoire · Or chaud
   ============================================================ */

:root {
  --bg:          #0d0a07;
  --bg-2:        #100c08;
  --surface:     #16110a;
  --surface-2:   #1d160d;
  --cream:       #f1eadc;
  --cream-dim:   #cdc4b4;
  --muted:       #8f8676;
  --muted-2:     #6b6457;
  --gold:        #c8a76b;
  --gold-bright: #e6cd92;
  --gold-deep:   #9c7d44;
  --line:        rgba(200,167,107,0.16);
  --line-soft:   rgba(200,167,107,0.08);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --grot:  "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--grot);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: rgba(200,167,107,0.28); color: #fff; }

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

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

/* ambient warm glow fixed behind everything */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ambient::before {
  content: "";
  position: absolute;
  top: -25vh; right: -10vw;
  width: 75vw; height: 90vh;
  background: radial-gradient(circle at 60% 40%,
      rgba(150, 108, 48, 0.30),
      rgba(110, 78, 34, 0.10) 38%,
      transparent 66%);
  filter: blur(20px);
  transform: translate3d(var(--gx,0), var(--gy,0), 0);
  transition: transform 1.4s var(--ease);
}
.ambient::after {
  content: "";
  position: absolute;
  bottom: -20vh; left: -15vw;
  width: 60vw; height: 70vh;
  background: radial-gradient(circle at 40% 60%,
      rgba(90, 66, 32, 0.16),
      transparent 60%);
  filter: blur(30px);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(80px, 12vh, 170px) 0; }

.eyebrow {
  font-family: var(--grot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; }
.italic { font-style: italic; font-weight: 500; }
.gold-text { color: var(--gold); }

p { text-wrap: pretty; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px var(--gutter);
  background: rgba(13,10,7,0.72);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--grot);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 15px;
  white-space: nowrap;
}
.brand .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 1px rgba(200,167,107,0.7);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}
.nav a.navlink {
  font-family: var(--grot);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a.navlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a.navlink:hover { color: var(--cream); }
.nav a.navlink:hover::after { transform: scaleX(1); }

/* buttons */
.btn {
  --pad: 16px 30px;
  font-family: var(--grot);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1206;
  box-shadow: 0 10px 30px -10px rgba(200,167,107,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(200,167,107,0.65), inset 0 1px 0 rgba(255,255,255,0.4); }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(200,167,107,0.08); border-color: var(--gold); transform: translateY(-3px); }

.btn-header {
  --pad: 13px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-header:hover { background: var(--gold); color: #1a1206; border-color: var(--gold); }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  perspective: 1600px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--grot);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 34px;
}
.hero-availability .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7bbf6a;
  box-shadow: 0 0 0 0 rgba(123,191,106,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(123,191,106,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(123,191,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(123,191,106,0); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.hero.in h1 .line:nth-child(1) > span { transition-delay: 0.05s; }
.hero.in h1 .line:nth-child(2) > span { transition-delay: 0.13s; }
.hero.in h1 .line:nth-child(3) > span { transition-delay: 0.21s; }
.hero.in h1 .line:nth-child(4) > span { transition-delay: 0.29s; }
.hero.in h1 .line > span { transform: translateY(0); }

.hero-sub {
  font-family: var(--grot);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--cream-dim);
  max-width: 460px;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s;
}
.hero.in .hero-sub { opacity: 1; transform: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease) 0.65s, transform 1s var(--ease) 0.65s;
}
.hero.in .hero-actions { opacity: 1; transform: none; }

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
  font-family: var(--grot);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint .track {
  width: 1px; height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-hint .track::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--gold);
  animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(280%); }
}

/* hero visual — 3D mockup */
.hero-visual {
  position: relative;
  transform-style: preserve-3d;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.4s;
}
.hero.in .hero-visual { opacity: 1; }

.mockup {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 50px 90px -40px rgba(0,0,0,0.9),
    0 20px 40px -20px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.mockup-url {
  flex: 1;
  text-align: center;
  font-family: var(--grot);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
  padding: 6px 14px;
  max-width: 260px;
  margin: 0 auto;
}
.mockup-screen { display: block; width: 100%; aspect-ratio: 16/11; }
.mockup-screen .ph { width: 100%; height: 100%; }

.float-card {
  position: absolute;
  background: rgba(22,17,10,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.9);
  will-change: transform;
}
.float-card .stat {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  color: var(--gold);
}
.float-card .label {
  font-family: var(--grot);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 8px;
}
.float-card.fc-1 { top: 10%; right: -6%; }
.float-card.fc-2 { bottom: 12%; left: -9%; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 30px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 25px);
  color: var(--cream-dim);
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
  gap: 76px;
  white-space: nowrap;
}
.marquee-track .item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   reveal utility
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============================================================
   VISION / 3 PILIERS
   ============================================================ */
.vision-head {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: end;
  margin-bottom: clamp(50px, 7vh, 90px);
}
.vision-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.vision-head .aside {
  font-family: var(--grot);
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 360px;
  padding-bottom: 8px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: clamp(34px, 4vw, 56px) clamp(24px, 2.5vw, 44px) 14px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.5s var(--ease);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: linear-gradient(180deg, rgba(200,167,107,0.05), transparent 70%); }
.pillar .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}
.pillar .icon {
  width: 54px; height: 54px;
  margin: 34px 0 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.pillar:hover .icon { transform: translateY(-4px); border-color: var(--gold); background: rgba(200,167,107,0.07); }
.pillar .icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: clamp(20px, 1.7vw, 24px); margin-bottom: 18px; }
.pillar p {
  font-family: var(--grot);
  font-size: 15px;
  color: var(--cream-dim);
  line-height: 1.62;
  margin-bottom: 26px;
}
.pillar ul { list-style: none; }
.pillar li {
  font-family: var(--grot);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.pillar li:hover { color: var(--cream); padding-left: 8px; }

/* ============================================================
   SERVICES — list with cursor preview
   ============================================================ */
.services { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
.services-head h2 { font-size: clamp(27px, 3vw, 40px); max-width: 9ch; }
.services-head p { font-family: var(--grot); color: var(--cream-dim); max-width: 360px; font-size: 15px; line-height: 1.6; }

.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(26px, 3.4vw, 44px) 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding-left 0.5s var(--ease), color 0.5s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(200,167,107,0.10), transparent);
  transition: width 0.6s var(--ease);
  z-index: -1;
}
.service-row:hover { padding-left: 28px; }
.service-row:hover::before { width: 100%; }
.service-row .s-num { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); }
.service-row .s-title { font-family: var(--serif); font-size: clamp(20px, 2.3vw, 31px); transition: color 0.4s var(--ease); }
.service-row .s-desc { font-family: var(--grot); font-size: 14.5px; color: var(--muted); max-width: 320px; text-align: right; transition: color 0.4s var(--ease); }
.service-row:hover .s-title { color: var(--gold-bright); }
.service-row:hover .s-desc { color: var(--cream-dim); }

.cursor-preview {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 220px;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.9);
  border: 1px solid var(--line);
}
.cursor-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-preview .ph { width: 100%; height: 100%; }

/* ============================================================
   placeholder treatment
   ============================================================ */

.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(200,167,107,0.06) 0 2px, transparent 2px 11px),
    linear-gradient(135deg, #1a140c, #110d08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* image qui remplit un cadre placeholder (recouvre le texte si présente) */
.ph-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph .ph-label {
  font-family: "Hanken Grotesk", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(13,10,7,0.5);
  backdrop-filter: blur(4px);
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(40px, 6vh, 70px); }
.work-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 50px); perspective: 1400px; }
.project {
  display: block;
  transform-style: preserve-3d;
  will-change: transform;
}
.project:nth-child(even) { margin-top: clamp(0px, 7vw, 90px); }
.project-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: 0 40px 70px -40px rgba(0,0,0,0.85);
}
.project-img .ph { width: 100%; height: 100%; transition: transform 1.1s var(--ease); }
.project:hover .project-img .ph { transform: scale(1.05); }
.project-img .badge {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--grot);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #1a1206;
  background: var(--gold);
  padding: 7px 13px;
  border-radius: 100px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.project:hover .project-img .badge { opacity: 1; transform: none; }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 22px; }
.project-meta h3 { font-size: clamp(20px, 2vw, 27px); }
.project-meta .cat { font-family: var(--grot); font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.project-meta .result { font-family: var(--grot); font-size: 13px; color: var(--gold); white-space: nowrap; }

/* ============================================================
   POURQUOI
   ============================================================ */
.why { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.why-intro h2 { font-size: clamp(27px, 3.2vw, 42px); margin: 24px 0 28px; }
.why-intro p { font-family: var(--grot); color: var(--cream-dim); font-size: 16px; line-height: 1.7; max-width: 420px; }
.why-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.why-stats .st .v { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); color: var(--gold); line-height: 1; }
.why-stats .st .k { font-family: var(--grot); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.reason { background: var(--bg-2); padding: clamp(28px, 3vw, 40px); transition: background 0.5s var(--ease); }
.reason:hover { background: var(--surface); }
.reason .ri { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold); }
.reason h3 { font-size: clamp(17px, 1.4vw, 20px); margin: 22px 0 14px; }
.reason p { font-family: var(--grot); font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testi-feature { text-align: center; max-width: 1000px; margin: 0 auto clamp(50px, 7vh, 80px); }
.testi-feature .quote {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.testi-feature .quote .gold-text { font-style: italic; }
.testi-feature .author { margin-top: 36px; font-family: var(--grot); font-size: 13px; letter-spacing: 0.08em; color: var(--cream-dim); }
.testi-feature .author .name { color: var(--cream); font-weight: 600; }
.testi-quote-mark { font-family: var(--serif); font-size: 60px; line-height: 0; color: var(--gold); opacity: 0.5; display: block; margin-bottom: 10px; }

.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.testi-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 13px; margin-bottom: 18px; }
.testi-card p { font-family: var(--grot); font-size: 15px; line-height: 1.6; color: var(--cream-dim); }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testi-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: grid; place-items: center; color: #1a1206; font-family: var(--serif); font-size: 16px; }
.testi-card .who .meta { font-family: var(--grot); font-size: 12.5px; }
.testi-card .who .meta .n { color: var(--cream); font-weight: 600; }
.testi-card .who .meta .r { color: var(--muted); }

/* ============================================================
   CTA + CONTACT
   ============================================================ */
.cta { background: var(--bg-2); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vh;
  background: radial-gradient(circle, rgba(150,108,48,0.18), transparent 60%);
  pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.cta-left h2 { font-size: clamp(29px, 3.6vw, 50px); margin: 26px 0 30px; }
.cta-left .lead { font-family: var(--grot); font-size: 17px; color: var(--cream-dim); line-height: 1.7; max-width: 420px; }
.cta-contacts { margin-top: 46px; display: flex; flex-direction: column; gap: 4px; }
.cta-contacts a { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--grot); transition: padding-left 0.4s var(--ease); }
.cta-contacts a:hover { padding-left: 10px; }
.cta-contacts a .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); width: 90px; }
.cta-contacts a .val { font-size: 16px; color: var(--cream); }
.cta-contacts a:hover .val { color: var(--gold); }

.contact-form {
  background: rgba(22,17,10,0.6);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 44px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--grot); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--grot);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(200,167,107,0.04); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a76b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
/* Liste déroulante : fond sombre du site + texte clair (lisible) */
.field select option { background-color: #16110a; color: var(--cream); }
.field select option:checked { background-color: #1d160d; }
.contact-form .btn-gold { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-family: var(--grot); font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: clamp(60px, 8vh, 100px) 0 40px; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-soft); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { font-family: var(--grot); font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-family: var(--grot); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col a { display: block; font-family: var(--grot); font-size: 14.5px; color: var(--cream-dim); padding: 7px 0; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 30px; font-family: var(--grot); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 560px; }
  .float-card.fc-1 { right: 0; }
  .float-card.fc-2 { left: 0; }
  .vision-head, .why-grid, .cta-grid { grid-template-columns: 1fr; }
  .why-intro { margin-bottom: 10px; }
}
@media (max-width: 820px) {
  .nav .navlink, .btn-header { display: none; }
  .menu-toggle { display: inline-flex; align-items:center; justify-content:center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--cream); cursor: pointer; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .work-grid { grid-template-columns: 1fr; }
  .project:nth-child(even) { margin-top: 0; }
  .testi-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row .s-desc { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .cursor-preview { display: none; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero h1 .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
