/* ============================================================
   VECTEUR 25 — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital@1&family=IBM+Plex+Mono&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --noir:    #0C0C0E;
  --surface: #1E1E24;
  --or:      #BFA06A;
  --lin:     #EAE7E0;
  --muted:   #5C5C62;
  --foret:   #2C5F52;

  --nav-bg:  rgba(12, 12, 14, 0.92);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Libre Baskerville', 'Georgia', serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1100px;
  --sep:   1px solid var(--surface);
}

/* ── Light mode ───────────────────────────────────────────── */
.light-mode {
  --noir:    #F2EFE8;
  --surface: #E3DFD6;
  --or:      #BFA06A;
  --lin:     #0C0C0E;
  --muted:   #6C6B6E;
  --foret:   #2C5F52;

  --nav-bg:  rgba(242, 239, 232, 0.92);
}

/* ── Theme transitions ────────────────────────────────────── */
* {
  transition: background-color 300ms ease, color 300ms ease,
              border-color 300ms ease, stroke 300ms ease;
}
/* Preserve existing interaction transitions */
.nav__links a         { transition: color 200ms ease; }
.nav__toggle span     { transition: opacity 200ms; }
.btn                  { transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }

.fade-in              { transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible      { transition: opacity 0.55s ease, transform 0.55s ease; }

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--noir);
  color: var(--lin);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.sep { border: none; border-top: var(--sep); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--sep);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__wordmark {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--lin);
  text-transform: uppercase;
}

.nav__wordmark span {
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}

.nav__links a:hover { color: var(--or); }

/* Theme toggle button */
.nav__theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease;
  flex-shrink: 0;
}

.nav__theme-btn:hover { color: var(--or); }

.nav__theme-btn svg { display: block; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--lin);
  transition: opacity 200ms;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background element */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: min(520px, 55vw);
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, rgba(191,160,106,0.045) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.08;
  color: var(--lin);
  margin-bottom: 1.75rem;
}

.hero__sub {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  border: 1px solid var(--or);
  padding: 0.85rem 1.75rem;
  transition: background 200ms ease, color 200ms ease;
}

.btn:hover {
  background: var(--or);
  color: var(--noir);
}

.btn--ghost {
  border-color: var(--surface);
  color: var(--lin);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--or);
}

/* ── Services section ─────────────────────────────────────── */
.services {
  padding-block: clamp(3rem, 8vh, 6rem);
  border-top: var(--sep);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 3rem;
}

/* ── Services list — expand on click ──────────────────────── */
.svc-section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 52px;
  color: #EAE7E0;
  margin-bottom: 40px;
}

.svc-list {
  list-style: none;
  border-top: 1px solid #1E1E24;
}

.svc-item {
  border-bottom: 1px solid #1E1E24;
}

.svc-item__header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 0;
  text-align: left;
  color: inherit;
}

.svc-item__header:hover .svc-item__title { color: #BFA06A; }
.svc-item.active .svc-item__title { color: #BFA06A; }

.svc-item__num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #3A3A42;
  width: 60px;
  flex-shrink: 0;
}

.svc-item__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--lin);
  flex: 1;
  transition: color 200ms ease;
}

.svc-item__arrow {
  font-size: 1rem;
  color: #3A3A42;
  transition: transform 300ms ease;
  flex-shrink: 0;
}

.svc-item.active .svc-item__arrow { transform: rotate(45deg); }

/* Expandable body */
.svc-item__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms ease, opacity 300ms ease;
}

.svc-item.active .svc-item__body {
  max-height: 280px;
  opacity: 1;
}

.svc-item__body-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 2rem;
  padding: 0 0 32px 60px;
}

.svc-item__desc {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #5C5C62;
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

.svc-item__cta {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #BFA06A;
  text-decoration: none;
  transition: color 200ms ease;
}

.svc-item__cta:hover { color: var(--lin); }

.svc-item__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.svc-item__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #3A3A42;
}

/* ── Showcase ─────────────────────────────────────────────── */
.showcase {
  padding-block: clamp(4rem, 10vh, 7rem);
  border-top: var(--sep);
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.showcase__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--foret);
  margin-bottom: 1rem;
}

.showcase__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--lin);
  margin-bottom: 1.25rem;
}

.showcase__desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: left;
  max-width: 480px;
  margin: 0 0 2rem 0;
  padding: 0;
}

/* Visual block for showcase */
.showcase__visual {
  background: var(--surface);
  border: var(--sep);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(191,160,106,0.04) 100%);
}

.showcase__mono {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  color: var(--muted);
  line-height: 2;
  padding: 2rem;
  letter-spacing: 0.03em;
}

.showcase__mono .hl { color: var(--or); }
.showcase__mono .hl2 { color: var(--foret); }

/* ── Showcase carousel ─────────────────────────────────────── */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  flex-direction: row;
  width: 200%;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
}
.carousel-slide {
  width: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 2.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #2a2a2a;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
}
.carousel-dot.active {
  background: #BFA06A;
  transform: scale(1.4);
}

/* ── Badges showcase ──────────────────────────────────────── */
.badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.badge {
  background: #14141A;
  border: 1px solid #1E1E24;
  border-left: 2px solid transparent;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-left-color 200ms ease, background 200ms ease;
  cursor: default;
  text-decoration: none;
}

a.badge { cursor: pointer; }

.badge:hover {
  border-left-color: #BFA06A;
  background: #18181F;
}

.badge__icon {
  flex-shrink: 0;
}

.badge__label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3A3A42;
}

.badge__value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: #EAE7E0;
  line-height: 1.2;
}

/* ── Modal overlay ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-box {
  background: #0C0C0E;
  border: 1px solid #1E1E24;
  border-radius: 4px;
  padding: 48px;
  max-width: 540px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 300ms ease;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #3A3A42;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 200ms ease;
}

.modal-close:hover { color: #BFA06A; }

.modal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.modal-brand__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #EAE7E0;
}

.modal-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--lin);
  line-height: 1.1;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 28px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.modal-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3A3A42;
  margin-bottom: 6px;
}

.modal-input {
  background: #14141A;
  border: 1px solid #1E1E24;
  border-radius: 4px;
  color: #EAE7E0;
  padding: 14px 16px;
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 13px;
  outline: none;
  width: 100%;
  transition: border-color 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.modal-input:focus { border-color: #BFA06A; }
textarea.modal-input { resize: vertical; }

select.modal-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpolyline points='1,1 6,7 11,1' stroke='%233A3A42' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select.modal-input option {
  background: #14141A;
  color: #EAE7E0;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.modal-success {
  text-align: center;
  padding: 40px 0;
}

.modal-success__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: #EAE7E0;
  line-height: 1.4;
}

.modal-success__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #BFA06A;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .modal-overlay { align-items: flex-start; }

  .modal-box {
    width: 100%;
    min-height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 28px 20px;
  }

  .modal-input { font-size: 16px; }
  .modal-submit { height: 52px; }
}

/* ── Terminal dashboard ───────────────────────────────────── */
.term {
  background: #0C0C0E;
  border: 1px solid #1E1E24;
  border-radius: 4px;
  font-family: var(--font-mono);
  overflow: hidden;
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid #1E1E24;
  position: relative;
}

.term__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.term__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #3A3A42;
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.term__body {
  padding: 24px 32px;
  font-size: 12px;
  line-height: 1.7;
  color: #EAE7E0;
  min-height: 320px;
}

.term__line {
  display: block;
  white-space: pre;
}

.term__cursor {
  display: inline-block;
  color: #BFA06A;
  animation: term-blink 1s step-end infinite;
}

@keyframes term-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Contact form ────────────────────────────────────────── */
.contact-section {
  padding-block: clamp(4rem, 10vh, 7rem);
  border-top: var(--sep);
}

.contact-wrap {
  max-width: 640px;
}

.contact-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--lin);
  line-height: 1.1;
  margin: 1rem 0 2.5rem;
}

.contact-form {
  background: #14141A;
  border-radius: 4px;
  padding: 40px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3A3A42;
  margin-bottom: 6px;
}

.contact-input {
  background: #0C0C0E;
  border: 1px solid #1E1E24;
  border-radius: 4px;
  color: #EAE7E0;
  padding: 14px 16px;
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 13px;
  outline: none;
  width: 100%;
  transition: border-color 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus { border-color: #BFA06A; }

textarea.contact-input {
  resize: vertical;
  min-height: 100px;
}

select.contact-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpolyline points='1,1 6,7 11,1' stroke='%233A3A42' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select.contact-input option {
  background: #14141A;
  color: #EAE7E0;
}

.contact-submit { margin-top: 8px; }

.contact-success {
  text-align: center;
  padding: 48px 40px;
}

.contact-success p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--lin);
  line-height: 1.55;
}

/* Light mode overrides */
.light-mode .contact-form {
  background: #E3DFD6;
}

.light-mode .contact-input {
  background: #F2EFE8;
  border-color: #C8C3BA;
  color: var(--lin);
}

.light-mode select.contact-input option {
  background: #E3DFD6;
}

@media (max-width: 768px) {
  .contact-form { padding: 24px 20px; }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: var(--sep);
  padding-block: 2.5rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer__neq,
.footer__loc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer__copyright,
.footer__privacy {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #3A3A42;
  letter-spacing: 0.08em;
}

.footer__privacy {
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__privacy:hover { color: #BFA06A; }

.light-mode .footer__bottom { border-top-color: rgba(0,0,0,0.06); }

@media (max-width: 480px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.page-hero {
  padding-top: calc(64px + clamp(3rem, 8vh, 5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  border-bottom: var(--sep);
}

.page-hero__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--lin);
}

/* Service detail cards */
.services-detail {
  padding-block: clamp(3rem, 8vh, 6rem);
}

.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem 2.5rem;
  padding-block: clamp(2.5rem, 6vh, 4rem);
  border-bottom: var(--sep);
}

.service-block:first-child { border-top: var(--sep); }

.service-block__icon {
  padding-top: 0.2rem;
}

.service-block__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--or);
  margin-bottom: 0.75rem;
}

.service-block__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--lin);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.service-block__desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.service-block__price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--or);
  border: 1px solid rgba(191,160,106,0.25);
  display: inline-block;
  padding: 0.4rem 0.85rem;
  transition: background 200ms ease, color 200ms ease;
}

a.service-block__price:hover {
  background: var(--or);
  color: var(--noir);
}

.services-cta {
  padding-block: clamp(3rem, 8vh, 5rem);
  text-align: center;
  border-top: var(--sep);
}

.services-cta__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--lin);
  margin-bottom: 2rem;
}

/* ============================================================
   À PROPOS PAGE
   ============================================================ */

.about-intro {
  padding-block: clamp(3rem, 8vh, 6rem);
  border-bottom: var(--sep);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-intro__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.5rem;
}

.about-intro__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--lin);
}

.about-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
}

.about-body p { margin-bottom: 24px; }
.about-body p:last-child { margin-bottom: 0; }

/* Values */
.values {
  padding-block: clamp(3rem, 8vh, 6rem);
  border-bottom: var(--sep);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--surface);
  border: var(--sep);
}

.value-card {
  background: var(--noir);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.value-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--or);
  margin-bottom: 1.25rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--lin);
  margin-bottom: 0.85rem;
}

.value-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   WORKFLOW PIPELINE
   ============================================================ */
.workflow {
  padding-block: clamp(4rem, 10vh, 7rem);
  border-top: var(--sep);
}

.workflow__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--lin);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.workflow__track {
  display: flex;
  align-items: flex-start;
}

/* Step */
.workflow__step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.workflow__node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--surface);
  background: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color 400ms ease;
}

.workflow__step.active .workflow__node { border-color: var(--or); }

.workflow__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface);
  transition: background 400ms ease;
}

.workflow__step.active .workflow__pulse {
  background: var(--or);
  animation: wf-pulse 2s ease-in-out infinite;
}

@keyframes wf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(191,160,106,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(191,160,106,0); }
}

.workflow__card {
  border: 1px solid var(--surface);
  padding: 0.85rem 0.6rem;
  width: 100%;
  text-align: center;
  transition: border-color 400ms ease;
}

.workflow__step.active .workflow__card { border-color: rgba(191,160,106,0.35); }

.workflow__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: #3A3A42;
  margin-bottom: 0.35rem;
  transition: color 400ms ease;
}

.workflow__step.active .workflow__num { color: var(--or); }

.workflow__title {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 400;
  color: #3A3A42;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  transition: color 400ms ease;
}

.workflow__step.active .workflow__title { color: var(--lin); }

.workflow__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #3A3A42;
  line-height: 1.75;
  transition: color 400ms ease;
}

.workflow__step.active .workflow__sub { color: var(--muted); }

/* Connector — margin-top aligns with node center (32px ÷ 2) */
.workflow__connector {
  flex: 0 0 clamp(6px, 0.8vw, 14px);
  height: 1px;
  background: var(--surface);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.workflow__connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms ease;
}

.workflow__connector.active::after { transform: scaleX(1); }

/* ============================================================
   ROTATOR "QUI SOMMES-NOUS"
   ============================================================ */
.rotator {
  padding-block: clamp(4rem, 10vh, 7rem);
  border-top: var(--sep);
  border-bottom: var(--sep);
}

.rotator__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.rotator__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 2.5rem;
}

/* CSS grid stacking: all slides overlap, height = tallest slide */
.rotator__stage {
  display: grid;
  margin-bottom: 2.5rem;
}

.rotator__slide {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.65;
  color: var(--lin);
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
  user-select: none;
}

.rotator__slide.active {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.rotator__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Thin bar buttons — padding gives click area, ::after gives visual */
.rotator__dot {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  width: 24px;
  transition: width 250ms ease;
}

.rotator__dot::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--surface);
  transition: background-color 200ms ease;
}

.rotator__dot.active          { width: 36px; }
.rotator__dot.active::after   { background: var(--or); }

/* ============================================================
   APPROCHE — section index.html
   ============================================================ */
.approche {
  padding-block: clamp(3rem, 8vh, 6rem);
  border-bottom: var(--sep);
}

.approche__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.approche__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--lin);
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .approche__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT CAROUSEL — fade
   ============================================================ */
.ab-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ab-carousel__track {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ab-carousel__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ab-carousel__stage {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.ab-carousel__arrow {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #3A3A42;
  transition: color 200ms ease;
  line-height: 0;
}

.ab-carousel__arrow:hover { color: #BFA06A; }

.ab-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
  pointer-events: none;
}

.ab-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ab-slide__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  font-weight: 400;
  color: var(--lin);
  line-height: 1.1;
}

.ab-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ab-dot {
  width: 20px;
  height: 2px;
  background: #1E1E24;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  transition: background 300ms ease;
}

.ab-dot.active { background: #BFA06A; }

.ab-slide__desc {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #5C5C62;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ============================================================
   CLIP-PATH REVEAL — HERO
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes clip-reveal {
    from { clip-path: inset(0 100% 0 0); opacity: 0; }
    to   { clip-path: inset(0 0%   0 0); opacity: 1; }
  }

  .hero-anim {
    animation: clip-reveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) both;
    transform: none !important; /* override any fade-in translateY */
  }

  .hero__eyebrow.hero-anim { animation-delay: 150ms; }
  .hero__title.hero-anim   { animation-delay: 300ms; }
  .hero__sub.hero-anim     { animation-delay: 500ms; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1; clip-path: none; }
}

/* ============================================================
   HERO GLOW — mouse radial light
   ============================================================ */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(191,160,106,0.045),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.light-mode .hero__glow { display: none; }

/* Make sure hero content stacks above glow */
.hero .container { position: relative; z-index: 1; }

/* ── Hero decorative marks (JS-generated) ─────────────── */
.hero-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  --op-factor: 1;
}

.hero-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }

.hm-group {
  transform-box: fill-box;
  transform-origin: center;
}

/* Light mode — réduire opacité de moitié */
.light-mode .hero-mark { --op-factor: 0.5; }

/* Light mode — strokes : sombre sauf accents or */
.light-mode .hero-mark line:not(.hm-accent),
.light-mode .hero-mark polygon:not(.hm-accent) { stroke: #0C0C0E; }

@keyframes hm-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes hm-pulse {
  0%, 100% { opacity: calc(var(--op) * var(--op-factor) * 0.55); }
  50%      { opacity: calc(var(--op) * var(--op-factor) * 1.4);  }
}

@keyframes hm-rotate {
  to { transform: rotate(360deg); }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
@media (min-width: 1024px) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }

  #v25-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #BFA06A;
    background: transparent;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
    display: none;
    will-change: left, top;
  }

  #v25-cursor.visible  { display: block; }

  #v25-cursor.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(191,160,106,0.08);
  }

  #v25-dot {
    position: fixed;
    top: 0; left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #BFA06A;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
  }

  #v25-dot.visible { display: block; }
}

/* ============================================================
   FADE-IN AU SCROLL
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Article promo ─────────────────────────────────────────── */
.section-article-promo { padding: 80px 0; border-bottom: var(--sep); }
.article-promo-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.article-promo-card { display: block; border: 1px solid rgba(191,160,106,.25); padding: 40px 48px; text-decoration: none; transition: border-color 200ms, background 200ms; position: relative; overflow: hidden; max-width: 720px; }
.article-promo-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #BFA06A; opacity: .6; }
.article-promo-card:hover { border-color: rgba(191,160,106,.55); background: rgba(191,160,106,.04); }
.article-promo-meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.article-promo-title { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px,3vw,30px); color: var(--lin); line-height: 1.15; margin-bottom: 16px; }
.article-promo-desc { font-size: 13px; color: rgba(234,231,224,.55); line-height: 1.75; margin-bottom: 24px; max-width: 480px; }
.article-promo-cta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #BFA06A; }
.article-promo-cta svg { flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--noir);
    border-bottom: var(--sep);
    padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
    gap: 1.25rem;
  }

  /* Services list — mobile single column */
  .svc-item__body-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 1rem;
  }

  .svc-item__title { font-size: 22px; }

  .showcase__inner {
    grid-template-columns: 1fr;
  }

  .showcase__visual { order: -1; }
  .badges { order: -1; }
  .term { order: -1; }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-block__icon { display: none; }

  .about-intro__inner {
    grid-template-columns: 1fr;
  }

  .bio-card {
    grid-template-columns: 1fr !important;
  }
  .bio-photo {
    min-height: 280px !important;
  }
  .bio-photo div {
    background: linear-gradient(to bottom, transparent 55%, #0d0d0d 100%) !important;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  /* Workflow: vertical timeline */
  .workflow__track {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .workflow__card {
    text-align: left;
    flex: 1;
  }

  .workflow__node { flex-shrink: 0; }

  .workflow__connector {
    flex: 0 0 2.5rem;
    width: 1px;
    height: 2.5rem;
    margin-top: 0;
    margin-left: 15px; /* (32px node - 1px line) / 2 */
    align-self: auto;
  }

  .workflow__connector::after {
    transform-origin: top;
    transform: scaleY(0);
  }

  .workflow__connector.active::after { transform: scaleY(1); }

  .footer__meta { align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
