

:root {
  --bg:      #f8f7f4;
  --surface: #ffffff;
  --card:    #f2f1ee;
  --border:  #e0ddd8;
  --text:    #1a1a1a;
  --text-imp: #c49c00;
  --muted:   #888680;
  --dark:    #2c2c2c;
  --white:   #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, padding 0.3s;
}
nav.scrolled {
  background: rgba(248,247,244,0.97);
  backdrop-filter: blur(8px);
  border-color: var(--border);
  padding: 18px 64px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--muted); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: var(--text);
  border: none; padding: 12px 26px;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.75; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 1px; background: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 64px 88px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #ece9e3 0%, #f8f7f4 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 70% at 80% 60%, black 20%, transparent 80%);
}
.hero-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted); margin-bottom: 28px;
  position: relative; z-index: 1;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 8vw, 130px);
  font-weight: 300; line-height: 0.95;
  color: var(--text);
  position: relative; z-index: 1;
}
.hero-title em { font-style: italic; color: var(--text-imp); }
.hero-sub {
  display: flex; align-items: center; gap: 48px;
  margin-top: 52px; position: relative; z-index: 1;
}
.hero-desc {
  font-family: 'DM Mono', monospace;
  font-size: 12px; line-height: 1.9;
  color: var(--muted); max-width: 380px; letter-spacing: 0.04em;
}
.hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-left: auto;
}
.hero-scroll span {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--text), transparent);
}
.hero-stats {
  display: flex; gap: 64px;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 300; color: var(--text); line-height: 1;
}
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface); padding: 14px 0;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 0 48px;
  display: flex; align-items: center; gap: 48px;
}
.marquee-dot { color: var(--border); font-size: 6px; }

/* ── SECTIONS ── */
section { padding: 112px 64px; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::after {
  content: ''; height: 1px; width: 32px; background: var(--border);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300; line-height: 1.1; color: var(--text);
}
.section-title em { font-style: italic; color: var(--text-imp); }

/* ── ABOUT ── */
.about { background: var(--surface); border-top: 1px solid var(--border); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 56px; align-items: start;
}
.about-text p {
  font-family: 'DM Mono', monospace;
  font-size: 12px; line-height: 2;
  color: var(--muted); margin-bottom: 18px; letter-spacing: 0.03em;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.about-features { display: flex; flex-direction: column; }
.feature-item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
}
.feature-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--muted); letter-spacing: 0.1em;
  flex-shrink: 0; margin-top: 3px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.feature-desc {
  font-family: 'DM Mono', monospace;
  font-size: 11px; line-height: 1.75; color: var(--muted); letter-spacing: 0.02em;
}

/* ── PORTFOLIO ── */
.portfolio-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.filter-tabs { display: flex; gap: 2px; }
.filter-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 9px 18px;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--text); border-color: var(--text); color: var(--white);
}
.projects-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.project-card {
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  transition: box-shadow 0.25s;
}
.project-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.project-card.large  { grid-column: span 7; }
.project-card.medium { grid-column: span 5; }
.project-card.half   { grid-column: span 6; }
.project-card.third  { grid-column: span 4; }
.project-thumb { height: 260px; position: relative; overflow: hidden; }
.project-card.large .project-thumb { height: 340px; }

.project-mock { width: 100%; height: 100%; position: relative; overflow: hidden; }
.mock-1 { background: linear-gradient(135deg, #dde3ea, #c8d2dc); }
.mock-2 { background: linear-gradient(160deg, #e8ddd5, #d4c4b8); }
.mock-3 { background: linear-gradient(135deg, #dce8dc, #c4d4c4); }
.mock-4 { background: linear-gradient(150deg, #e8e4d8, #d4cdb8); }
.mock-5 { background: linear-gradient(135deg, #dddde8, #c8c8d8); }
.mock-6 { background: linear-gradient(145deg, #e8dde4, #d4c4cc); }

.mock-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; padding: 0 12px; gap: 7px;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #e0856f; }
.mock-dot:nth-child(2) { background: #e0c06f; }
.mock-dot:nth-child(3) { background: #6fb87a; }
.mock-url {
  flex: 1; height: 16px;
  background: rgba(0,0,0,0.07); border-radius: 3px; margin-left: 10px;
}
.mock-content { padding: 44px 18px 18px; }
.mock-hero-block { height: 70px; background: rgba(255,255,255,0.4); border-radius: 3px; margin-bottom: 10px; }
.mock-row { display: flex; gap: 7px; margin-bottom: 7px; }
.mock-block { height: 34px; border-radius: 3px; background: rgba(255,255,255,0.3); flex: 1; }
.mock-block.accent { background: rgba(0,0,0,0.12); }
.mock-block.sm { height: 20px; flex: 0.4; }
.mock-text-line { height: 7px; border-radius: 2px; background: rgba(255,255,255,0.4); margin-bottom: 5px; }
.mock-text-line.short { width: 55%; }
.mock-grid-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 8px; }
.mock-grid-block { height: 44px; background: rgba(255,255,255,0.3); border-radius: 3px; }
.mock-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(248,247,244,0.4) 100%);
}
.mock-floating-label {
  position: absolute; bottom: 14px; right: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--text); color: var(--white); padding: 4px 10px;
}
.project-info { padding: 22px 24px 26px; }
.project-category {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 7px;
}
.project-desc {
  font-family: 'DM Mono', monospace;
  font-size: 11px; line-height: 1.75; color: var(--muted); letter-spacing: 0.02em;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--muted); padding: 3px 9px;
}

/* ── SERVICES ── */
.services { background: var(--surface); border-top: 1px solid var(--border); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); margin-top: 56px;
}
.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.service-card:hover { background: var(--card); }
.service-icon { font-size: 18px; margin-bottom: 20px; display: block; filter: grayscale(1); }
.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px;
}
.service-desc {
  font-family: 'DM Mono', monospace;
  font-size: 11px; line-height: 1.85; color: var(--muted); letter-spacing: 0.02em;
}
.service-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300; color: var(--border); line-height: 1;
}
.service-card { position: relative; }

/* ── PROCESSUS ── */
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border); margin-top: 72px; position: relative;
}
.process-step {
  text-align: center; padding: 48px 24px 40px;
  border-right: 1px solid var(--border);
}
.process-step:last-child { border-right: none; }
.step-circle {
  width: 48px; height: 48px;
  border: 1px solid var(--text); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; background: var(--surface); position: relative; z-index: 1;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 300; color: var(--text);
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em;
}
.step-desc {
  font-family: 'DM Mono', monospace;
  font-size: 10px; line-height: 1.75; color: var(--muted); letter-spacing: 0.02em;
}

/* ── TÉMOIGNAGES ── */
.testimonials { background: var(--card); border-top: 1px solid var(--border); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); margin-top: 56px;
}
.testimonial-card {
  background: var(--surface); padding: 40px 36px;
  border-right: 1px solid var(--border);
}
.testimonial-card:last-child { border-right: none; }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300; color: var(--border);
  line-height: 0.6; margin-bottom: 20px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-style: italic; line-height: 1.65;
  color: var(--text); margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: var(--text);
}
.author-name {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--text);
}
.author-role {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px;
}

/* ── CTA ── */
.cta {
  text-align: center; padding: 140px 64px;
  background: var(--text);
}
.cta-bg { display: none; }
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 88px); font-weight: 300; line-height: 1.05;
  color: var(--bg); margin-bottom: 28px;
}
.cta-title em { font-style: italic; color: var(--text-imp); }
.cta-sub {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 48px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; }
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bg); color: var(--text);
  border: none; padding: 16px 36px; text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: rgba(248,247,244,0.6);
  border: 1px solid rgba(248,247,244,0.2); padding: 16px 36px;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: rgba(248,247,244,0.5); color: var(--bg); }

/* ── CONTACT ── */
.contact { background: var(--surface); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 96px; margin-top: 56px;
}
.contact-info p {
  font-family: 'DM Mono', monospace;
  font-size: 12px; line-height: 2; color: var(--muted); margin-bottom: 40px; letter-spacing: 0.02em;
}
.contact-detail { margin-bottom: 22px; }
.contact-detail-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.contact-detail-value {
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600; color: var(--text);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.form-input, .form-textarea {
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  padding: 13px 16px; font-family: 'DM Mono', monospace; font-size: 12px;
  outline: none; transition: border-color 0.2s; resize: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--text); }
.form-textarea { height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--text); color: var(--white);
  border: none; padding: 15px; cursor: pointer; transition: opacity 0.2s; margin-top: 6px;
}
.form-submit:hover { opacity: 0.75; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 36px 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--text);
}
.footer-logo span { color: var(--muted); }
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--muted);
}
.footer-social { display: flex; gap: 24px; }
.footer-social a {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-social a:hover { color: var(--text); }

/* ── MARQUEE ANIMATION (seule exception) ── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding: 20px 28px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  section { padding: 72px 28px; }
  .hero   { padding: 0 28px 64px; }
  .hero-stats { gap: 28px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large, .project-card.medium,
  .project-card.half, .project-card.third { grid-column: span 1; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  .services-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .process-step { border-bottom: 1px solid var(--border); }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { border-right: none; border-bottom: 1px solid var(--border); }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}
