/* =====================================================
   MIA — STYLES GLOBAUX
   assets/css/style.css
===================================================== */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:   #F5F0E8;
  --coral:   #E8492A;
  --cobalt:  #1D3FA6;
  --marigold:#F2A922;
  --ink:     #1A1612;
  --stone:   #8C847A;
  --white:   #FDFCFA;
  --dark-brown-grey: #1d1913;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
::selection { background: var(--marigold); color: var(--ink); }
html { scroll-behavior: auto; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); overflow-x: hidden; cursor: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ─── CURSOR ─── */
#cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--coral); border-radius: 50%;
  pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease), background 0.2s;
}
#cursor-follower {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 1.5px solid var(--coral); border-radius: 50%;
  pointer-events: none; z-index: 9998; transform: translate(-50%, -50%);
  transition: border-color 0.2s;
}

/* ─── GRAIN ─── */
#grain { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9990; opacity: 0.03; }

/* ─── LOADER ─── */
#loader { position: fixed; inset: 0; background: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 99999; }
#loader svg { width: 140px; height: 70px; }
#loader-logo {
  width: 160px;
  height: auto;
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}
@keyframes loaderPulse {
  from { opacity: 0.3; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1);    }
}
#loader-path { stroke-dasharray: 500; stroke-dashoffset: 500; animation: strokeTrace 1.3s var(--ease) forwards 0.2s; }
@keyframes strokeTrace { to { stroke-dashoffset: 0; } }

/* ─── PAGE TRANSITION ─── */
#page-transition { position: fixed; inset: 0; background: var(--coral); transform: scaleY(0); transform-origin: bottom; z-index: 9997; pointer-events: none; }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245, 240, 232, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,22,18,0.08);
  transition: transform 0.4s var(--ease);
}
nav.hidden { transform: translateY(-100%); }
.nav-logo { display: flex; align-items: center; cursor: none;     max-width: 4%;}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-logo span { color: var(--coral); font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.nav-logo span { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: var(--ink); opacity: 0.7; transition: opacity 0.2s; cursor: none; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta {
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  background: var(--coral); color: var(--white); padding: 10px 22px; border-radius: 4px;
  position: relative; overflow: hidden; cursor: none; transition: color 0.3s; display: inline-block;
}
.nav-cta::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); transition: transform 0.3s var(--ease); }
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; position: relative; overflow: hidden; cursor: none; transition: color 0.3s; }
.btn::before { content: ''; position: absolute; inset: 0; transform: translateX(-101%); transition: transform 0.35s var(--ease); }
.btn:hover::before { transform: translateX(0); }
.btn span { position: relative; z-index: 1; }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral::before { background: var(--ink); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt::before { background: var(--coral); }
.btn-dark-brown-grey { background: var(--dark-brown-grey); color: var(--ink); }
.btn-marigold { background: var(--marigold); color: var(--ink); }
.btn-dark-brown-grey::before { background: var(--dark-brown-grey); }

.btn-marigold::before { background: var(--ink); }
.btn-marigold:hover { color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(253,252,250,0.4); }
.btn-outline-white::before { background: var(--white); }
.btn-outline-white:hover { color: var(--ink); }

/* ─── LABEL ─── */
.label { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.label-coral { color: var(--coral); }
.label-cobalt { color: var(--cobalt); }
.label-marigold { color: var(--marigold); }
.label-dark-brown-grey { color: var(--dark-brown-grey); }

/* ─── SECTION COMMONS ─── */
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.section-title em { font-style: italic; color: var(--coral); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.section-num { font-family: 'Playfair Display', serif; font-size: 6rem; font-weight: 700; color: var(--coral); opacity: 0.12; line-height: 1; pointer-events: none; user-select: none; }

/* ─── HERO ─── */
.hero { min-height: 100vh; padding: 120px 48px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; overflow: hidden; background: var(--cream); }
.hero-content { position: relative; z-index: 2; }
.hero-label { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); display: inline-block; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 5.5vw, 5.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 28px; }
.hero-title em { font-style: italic; color: var(--coral); }
.hero-title .word { display: inline-block; overflow: hidden; margin-right: 0.25em; }
.hero-title .word-inner { display: inline-block; transform: translateY(110%); }
.hero-sub { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 300; color: var(--stone); line-height: 1.65; max-width: 460px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 580px; }
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; height: 100%; }
.hero-rect { border-radius: 8px; transition: transform 0.4s var(--ease); }
.hero-rect:hover { transform: scale(1.03); }
.hero-rect:nth-child(1) { background: var(--coral); grid-row: span 2; }
.hero-rect:nth-child(2) { background: var(--cobalt); }
.hero-rect:nth-child(3) { background: var(--marigold); grid-row: span 2; }
.hero-rect:nth-child(4) { background: #E8E2D6; }
.hero-rect:nth-child(5) { background: var(--ink); grid-column: span 2; }
.hero-rect:nth-child(6) { background: #BDB6AC; }
.hero-rect--video {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-rect--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Image dans hero-rect */
.hero-rect {
  overflow: hidden;
}
.hero-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge { position: absolute; bottom: 30px; right: -10px; width: 110px; height: 110px; animation: rotate 14s linear infinite; z-index: 3; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-badge text { font-family: 'DM Mono', monospace; font-size: 9.5px; fill: var(--ink); letter-spacing: 2px; }

/* ─── MARQUEE ─── */
.marquee-strip { background: var(--ink); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marqueeRun 22s linear infinite; }
.marquee-text { font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 0.12em; color: var(--white); padding-right: 60px; }
.marquee-sep { color: var(--coral); margin: 0 4px; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SHOWCASE ─── */
.showcase { padding: 120px 48px; background: var(--white); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.showcase-card { position: relative; border-radius: 16px; overflow: hidden; cursor: none; aspect-ratio: 3/4; }
.showcase-card .card-bg { width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.showcase-card .card-bg--video,
.showcase-card .card-bg--image { position: relative; overflow: hidden; }
.showcase-card .card-bg--video video,
.showcase-card .card-bg--image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.showcase-card:hover .card-bg { transform: scale(1.04); }
.showcase-card .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,22,18,0.85) 0%, transparent 50%); opacity: 0; transition: opacity 0.35s; display: flex; align-items: flex-end; padding: 28px; }
.showcase-card:hover .card-overlay { opacity: 1; }
.card-brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
.card-cat { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold); margin-top: 4px; }

/* ─── STATS ─── */
.stats-section { background: var(--ink); padding: 120px 48px; position: relative; overflow: hidden; }
.stats-quote { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-style: italic; font-weight: 400; color: var(--white); line-height: 1.3; max-width: 700px; margin: 0 auto 80px; text-align: center; }
.stats-quote em { color: var(--coral); font-style: normal; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 900px; margin: 0 auto; }
.stat-item { text-align: center; padding: 48px 32px; border: 1px solid rgba(253,252,250,0.08); }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 700; color: var(--white); line-height: 1; display: block; }
.stat-num .stat-suffix { color: var(--coral); }
.stat-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }

/* ─── SERVICE CARDS (home) ─── */
.services-home { padding: 120px 48px; background: var(--cream); position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.service-card { border-radius: 16px; padding: 44px 36px; position: relative; overflow: hidden; border: 1px solid rgba(26,22,18,0.08); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,22,18,0.12); }
.service-card.coral { background: var(--coral); color: var(--white); }
.service-card.cobalt { background: var(--cobalt); color: var(--white); }
.service-card.marigold { background: var(--marigold); color: var(--ink); }
.service-card.dark-brown-grey { background: var(--dark-brown-grey); color: white; }
.service-card.dark-brown-grey { background: var(--dark-brown-grey); color: white; }
.service-num { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; opacity: 0.5; margin-bottom: 36px; }
.service-icon { font-size: 36px; margin-bottom: 20px; }
.service-name { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.service-desc { font-size: 15px; line-height: 1.7; opacity: 0.8; margin-bottom: 32px; }
.service-price { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; }
.service-price-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; opacity: 0.6; margin-top: 4px; }

/* ─── PROCESS (home) ─── */
.process-home { padding: 120px 48px; background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px; }
.process-step { padding: 48px 36px; border: 1px solid rgba(26,22,18,0.08); position: relative; }
.step-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 700; color: var(--coral); opacity: 0.15; line-height: 1; margin-bottom: 20px; }
.step-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 15px; color: var(--stone); line-height: 1.7; }

/* ─── CTA ─── */
.cta-section { padding: 160px 48px; background: var(--coral); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: 'MIA'; font-family: 'Playfair Display', serif; font-size: 28vw; font-weight: 700; font-style: italic; color: rgba(253,252,250,0.06); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; line-height: 1; white-space: nowrap; }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; font-style: italic; color: var(--white); line-height: 1.1; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-sub { font-size: 18px; color: rgba(253,252,250,0.8); margin-bottom: 48px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }

/* ─── WORK FILTERS ─── */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 48px 48px;
}
.filter-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1.5px solid rgba(26,22,18,0.15);
  background: transparent;
  color: var(--stone);
  cursor: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-btn.active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}
/* Indication visuelle multi-sélection */
.filter-btn[data-filter="*"].active {
  background: var(--ink);
  border-color: var(--ink);
}
.filter-btn:not([data-filter="*"]).active::before {
  content: '✕ ';
  font-size: 9px;
  opacity: 0.7;
}

/* ─── WORK ITEM HIDDEN (filtre) ─── */
.work-item {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.work-item--hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* ─── PAGE HEADER (pages intérieures) ─── */
.page-header { padding: 140px 48px 60px; }
.page-header h1 { margin-top: 12px; }

/* ─── WORK GRID ─── */
.work-grid { columns: 3; column-gap: 20px; padding: 0 48px 100px; }
.work-item { break-inside: avoid; margin-bottom: 20px; border-radius: 16px; overflow: hidden; cursor: none; position: relative; }
.work-item-inner { width: 100%; position: relative; transition: transform 0.5s var(--ease); }
.work-item:hover .work-item-inner { transform: scale(1.02); }
.work-rect { width: 100%; }
.work-rect--video,
.work-rect--image { position: relative; overflow: hidden; }
.work-rect--video video,
.work-rect--image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.work-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,22,18,0.8) 0%, transparent 55%); opacity: 0; transition: opacity 0.35s; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.work-item:hover .work-overlay { opacity: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.work-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(253,252,250,0.15);
  color: var(--white);
  border: 1px solid rgba(253,252,250,0.25);
}
.work-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); }
.work-type { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold); margin-top: 4px; }

/* ─── SERVICES PAGE ─── */
.services-content { padding: 0 48px 100px; }
.service-detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; border-bottom: 1px solid rgba(26,22,18,0.08); }
.service-detail-card.reverse .service-detail-visual { order: -1; }
.service-detail-visual { height: 80vh; border-radius: 16px; overflow: hidden; }
.service-detail-label { margin-bottom: 20px; }
.service-detail-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.service-detail-title em { font-style: italic; color: var(--coral); }
.service-detail-desc { font-size: 16px; color: var(--stone); line-height: 1.8; margin-bottom: 32px; }
.service-features { list-style: none; margin-bottom: 40px; }
.service-features li { padding: 12px 0; border-bottom: 1px solid rgba(26,22,18,0.06); font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.service-features li::before { content: '→'; color: var(--coral); flex-shrink: 0; margin-top: 1px; }
.service-detail-price { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--ink); }
.comparison-section { padding: 100px 0; }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.comparison-table th, .comparison-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid rgba(26,22,18,0.08); }
.comparison-table thead th { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.comparison-table thead th:first-child { color: var(--ink); }
.comparison-table tbody td:first-child { font-weight: 500; color: var(--ink); }
.comparison-table tbody tr:hover { background: rgba(26,22,18,0.02); }
.check { color: var(--coral); font-size: 16px; }
.col-highlight { background: rgba(29,63,166,0.04); }

/* ─── FAQ ─── */
.faq-section { padding: 100px 0; }
.faq-list { margin-top: 48px; }
.faq-item { border-bottom: 1px solid rgba(26,22,18,0.08); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 500; color: var(--ink); cursor: none; background: none; border: none; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(26,22,18,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--coral); transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--coral); border-color: var(--coral); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: var(--stone); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ─── PROCESS PAGE ─── */
.process-content { padding: 0 48px 100px; }
.process-timeline { margin-top: 80px; position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--coral), var(--cobalt)); }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 48px; margin-bottom: 80px; position: relative; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); border: 3px solid var(--cream); position: relative; z-index: 1; margin-top: 8px; }
.timeline-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--coral); opacity: 0.15; line-height: 1; margin-top: 8px; }
.timeline-content { padding: 4px 0 48px; border-bottom: 1px solid rgba(26,22,18,0.06); }
.timeline-step-label { margin-bottom: 12px; }
.timeline-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; }
.timeline-desc { font-size: 16px; color: var(--stone); line-height: 1.8; max-width: 600px; }

/* ─── ABOUT PAGE ─── */
.about-hero { padding: 140px 48px 100px; background: var(--ink); min-height: 60vh; display: flex; align-items: flex-end; }
.about-manifesto { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-style: italic; font-weight: 400; color: var(--white); line-height: 1.4; max-width: 800px; }
.about-manifesto em { color: var(--coral); font-style: normal; }
.about-vision { padding: 100px 48px; background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-vision-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.about-vision-title em { font-style: italic; color: var(--cobalt); }
.about-vision-text { font-size: 16px; color: var(--stone); line-height: 1.85; margin-top: 16px; }
.about-vision-visual { height: 420px; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-values { padding: 100px 48px; background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.value-card { padding: 44px 32px; border-radius: 16px; border: 1px solid rgba(26,22,18,0.08); transition: transform 0.3s var(--ease); }
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 32px; margin-bottom: 20px; }
.value-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.value-desc { font-size: 14px; color: var(--stone); line-height: 1.7; }

/* ─── CONTACT PAGE ─── */
.contact-layout { padding: 140px 48px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; min-height: 100vh; align-items: start; }
.contact-title { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.contact-title em { font-style: italic; color: var(--coral); }
.contact-desc { font-size: 16px; color: var(--stone); line-height: 1.8; margin-bottom: 48px; }
.contact-detail { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(26,22,18,0.06); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-item-text strong { display: block; font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.contact-item-text span { font-size: 14px; color: var(--stone); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.form-group input, .form-group select, .form-group textarea { padding: 14px 18px; border: 1.5px solid rgba(26,22,18,0.12); border-radius: 4px; background: var(--white); font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); outline: none; transition: border-color 0.2s; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--coral); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { appearance: none; cursor: none; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; margin-top: 8px; }

/* ─── FOOTER ─── */
footer { background: var(--ink); padding: 80px 48px 40px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--coral); }
.footer-tagline { font-size: 14px; color: var(--stone); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(253,252,250,0.6); transition: color 0.2s; cursor: none; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { margin-bottom: 12px; }
.footer-contact-item .label { display: block; margin-bottom: 2px; }
.footer-contact-item p { font-size: 14px; color: rgba(253,252,250,0.6); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(253,252,250,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-copy, .footer-credits { font-size: 13px; color: var(--stone); }
.footer-credits span { color: var(--coral); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── FLASH MESSAGE (contact form) ─── */
.flash { padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; font-size: 15px; }
.flash.success { background: rgba(29,63,166,0.08); color: var(--cobalt); border: 1px solid var(--cobalt); }
.flash.error   { background: rgba(232,73,42,0.08);  color: var(--coral);  border: 1px solid var(--coral);  }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 120px 32px 60px; }
  .hero-visual { height: 360px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .work-grid { columns: 2; }
  .service-detail-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-vision { grid-template-columns: 1fr; }
  nav { padding: 0 24px; }
}
@media (max-width: 640px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .work-grid { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ─── HAMBURGER BUTTON ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu-links a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
  cursor: pointer;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--coral);
}
.mobile-menu-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-cta:hover { background: var(--ink); }
.nav-links li a {
  padding: 5px;
}
.nav-links li:hover a {
  background: #e64b2c;
  padding: 5px;
  color: white !important;
  border-radius: 6%;
}

.hero-rect {
  overflow: hidden;       /* coupe ce qui dépasse */
}
.hero-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* remplit sans déformer */
  display: block;         /* supprime l'espace sous l'image */
}

.card-overlay, .work-overlay {opacity: 1!important;}

footer .nav-logo {
    display: flex;
    align-items: center;
    cursor: none;
    max-width: 150px;
}

footer .nav-logo img {
    height: auto;
    width: auto;
    display: block;
}

nav a.nav-logo {
    max-width: 60px;
}