/* ═══════════════════════════════════════════════════
   PRISME STUDIO — styles.css
   Plain CSS only — no frameworks
   ═══════════════════════════════════════════════════ */

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

/* ── Design tokens ── */
:root {
  --navy:        #1a2240;
  --navy-deep:   #0f1420;
  --gold:        #c9a96e;
  --gold-light:  #d8be8c;
  --white:       #ffffff;
  --off-white:   #f5f4f1;
  --gray-mid:    #8a8890;
  --gray-light:  #e2e0db;
  --text:        #191919;
  --text-muted:  #5e5c60;

  --font-serif:  'Cormorant Garamond', serif;
  --font-body:   'DM Sans', sans-serif;
  --font-cond:   'DM Sans', sans-serif;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --tr:          0.28s var(--ease);
}

html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
img   { display: block; max-width: 100%; }


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.logo-text__main {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--text);
}

.logo-text__main--light { color: var(--white); }

.logo-text__sub {
  font-family: var(--font-cond);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

/* Nav links */
.nav__menu {
  display: flex;
  gap: 2.8rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--tr);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--tr);
}

.nav__link:hover { color: rgba(0,0,0,0.6); }
.nav__link:hover::after { width: 100%; }

/* CTA pill */
.nav__cta {
  display: inline-flex;
  align-items: center;
  margin-right: 32px;
  padding: 0.55rem 1.45rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: background var(--tr), transform var(--tr);
}

.nav__cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background-color: #d4cfc8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 40px;
}

/* ── Video background ── */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Subtle dark overlay so text stays legible */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

/* Fondu naturel vers la section suivante (blanc) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.5) 70%,
    rgba(255,255,255,0.85) 88%,
    #ffffff 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ── Centered logo overlay ── */
.hero__logo-overlay {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  z-index: 3;
}

.hero__logo-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 82px;
  letter-spacing: 0.25em;
  color: #1a1a1a;
  text-transform: uppercase;
  display: block;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.hero__logo-sub {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.4em;
  color: #1a1a1a;
  text-align: center;
  margin-top: 6px;
}

/* ── Hero text content ── */
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 41px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000000;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(15,30,60,0.22);
  margin-bottom: 1.1rem;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #000000;
  opacity: 1;
  text-transform: uppercase;
  line-height: 1.9;
  margin-bottom: 0;
  text-shadow: none;
}

.hero__btn {
  display: none;
  align-items: center;
  padding: 0.85rem 1.9rem;
  border: 1.5px solid rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.04);
  color: #000000;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.15em;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  transition: background var(--tr), border-color var(--tr);
}

.hero__btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.95);
}


/* ═══════════════════════════════════════════
   WHY AI SECTION
   ═══════════════════════════════════════════ */
.why-ai {
  background: var(--white);
  padding: 96px 4% 80px;
}

.why-ai__inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ── Left column ── */
.why-ai__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.why-ai__accent {
  color: #c4a882;
  font-style: normal;
}

.why-ai__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 1.8rem;
}

.why-ai__all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  margin-bottom: 3rem;
  transition: color var(--tr), border-color var(--tr);
}

.why-ai__all-link .arrow { transition: transform var(--tr); }
.why-ai__all-link:hover { color: var(--gold); border-color: var(--gold); }
.why-ai__all-link:hover .arrow { transform: translateX(4px); }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  background: #f5f0e8;
}

/* sparkle decoration (bottom-right) */
.services::after {
  content: '✦';
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 0.9rem;
  color: rgba(26,34,64,0.22);
  pointer-events: none;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.9rem 1.6rem 2rem;
  border-left: 1px solid rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

.service:first-child { border-left: none; padding-left: 1.4rem; }

.service__icon { color: var(--navy); opacity: 1; }

.service__name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--navy);
  text-transform: uppercase;
}

.service__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.68;
}


/* ═══════════════════════════════════════════
   PROJECTS GRID
   ═══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

/* Base card */
.pcard {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 0.82;
}

.pcard--wide {
  grid-column: span 2;
  aspect-ratio: 2.35 / 0.82;
}

/* Photo fills the card */
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hover zoom on visual */
.pcard__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s var(--ease);
}

.pcard:hover .pcard__visual { transform: scale(1.04); }

/* Card number */
.pcard__num {
  position: absolute;
  top: 13px; left: 15px;
  z-index: 4;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

/* Card label band */
.pcard__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  padding: 12px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
}

.pcard__name {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.pcard__cat {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}


/* ── 01 Verde Studios ── */
.pcard--verde .pcard__visual {
  background: linear-gradient(135deg, #181818 0%, #282828 55%, #181818 100%);
}

.mock-verde {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verde-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 4px;
}

.verde-card--a {
  width: 62px;
  height: 82px;
  background: #0e0e0e;
  border: 1px solid #2e2e2e;
}

.verde-card--b {
  width: 48px;
  height: 64px;
  background: linear-gradient(145deg, #c9a96e, #a87e45);
  border-radius: 3px;
  align-items: center;
  justify-content: center;
}

.verde-label {
  font-family: var(--font-cond);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.verde-sub {
  font-family: var(--font-cond);
  font-size: 6px;
  letter-spacing: 0.12em;
  color: #444;
  text-transform: uppercase;
}


/* ── 02 Kinfolk Magazine ── */
.pcard--kinfolk .pcard__visual {
  background: linear-gradient(150deg, #cbbfa8 0%, #ddd1bc 45%, #c4b49a 100%);
}

.mock-kinfolk {
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-spread {
  display: flex;
  align-items: stretch;
  box-shadow: 6px 8px 28px rgba(0,0,0,0.3);
  border-radius: 2px;
}

.book-page {
  width: 60px;
  height: 86px;
  background: #f4eee4;
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 5px;
}

.book-page--left { justify-content: flex-end; border-radius: 2px 0 0 2px; }
.book-page--right {
  background: #1a1a1a;
  padding: 0;
  overflow: hidden;
  border-radius: 0 2px 2px 0;
  justify-content: flex-end;
  align-items: flex-start;
}

.book-lines { display: flex; flex-direction: column; gap: 4px; }

.bline {
  height: 2.5px;
  background: #c8bfb0;
  border-radius: 1px;
}
.bline--lg { width: 40px; background: #8a7e70; }
.bline--sm { width: 25px; }

.book-spine {
  width: 4px;
  background: linear-gradient(to right, #d4c8b5, #bfb3a0);
  box-shadow: inset -1px 0 3px rgba(0,0,0,0.15), inset 1px 0 2px rgba(255,255,255,0.3);
}

.book-img-area {
  flex: 1;
  background: linear-gradient(to bottom, #3a3020 0%, #6a5035 50%, #4a3828 100%);
}

.book-title {
  display: block;
  font-family: var(--font-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.75);
  padding: 6px 6px;
  text-transform: uppercase;
}


/* ── 03 Aurora Skincare ── */
.pcard--aurora .pcard__visual {
  background: linear-gradient(145deg, #252535 0%, #1a1a28 50%, #303042 100%);
}

.mock-aurora {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding-bottom: 22px;
}

.bottle {
  background: linear-gradient(to right,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.22) 45%,
    rgba(255,255,255,0.09) 100%
  );
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.bottle--serum  { width: 24px; height: 80px; }
.bottle--cream  { width: 30px; height: 55px; border-radius: 5px 5px 35px 35px; }
.bottle--oil    { width: 18px; height: 68px; }

.bottle-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  font-family: var(--font-cond);
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.bottle::before {
  content: '';
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  border-radius: 50%;
}


/* ── 04 Nomad Hotel ── */
.pcard--nomad .pcard__visual {
  background: linear-gradient(155deg, #dedad4 0%, #cac5bc 50%, #b8b3aa 100%);
}

.mock-nomad {
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.laptop__screen {
  width: 105px;
  height: 68px;
  background: var(--navy-deep);
  border: 2px solid #2a3050;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  padding: 5px 5px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.screen__nav {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  flex-shrink: 0;
}

.screen__hero {
  height: 20px;
  background: linear-gradient(to right, #c9a96e 0%, #1a2240 50%);
  border-radius: 2px;
  flex-shrink: 0;
}

.screen__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.sc-line {
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.sc-line--h     { width: 65%; background: rgba(255,255,255,0.35); }
.sc-line--short { width: 45%; }

.laptop__chin {
  width: 115px;
  height: 4px;
  background: #3a3a3a;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.laptop__base {
  width: 130px;
  height: 5px;
  background: linear-gradient(to bottom, #555, #444);
  border-radius: 0 0 5px 5px;
  margin-top: -1px;
}


/* ── 05 Wander App ── */
.pcard--wander .pcard__visual {
  background: linear-gradient(130deg, #c8b898 0%, #b8a882 25%, #d4c4a4 55%, #b09872 100%);
}

.mock-wander {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  width: 58px;
  height: 106px;
  background: #0e0e0e;
  border-radius: 14px;
  border: 2px solid #2a2a2a;
  overflow: hidden;
  padding: 0 3px 3px;
  display: flex;
  flex-direction: column;
}

.phone__notch {
  height: 6px;
  width: 18px;
  background: #1a1a1a;
  border-radius: 0 0 6px 6px;
  align-self: center;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.phone__screen {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__topbar {
  background: var(--navy);
  height: 16px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.phone__app-name {
  font-family: var(--font-cond);
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
}

.phone__map {
  flex: 1;
  background: linear-gradient(to bottom, #c8e0b8 0%, #acd090 100%);
  position: relative;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  top: 28%;
  left: 40%;
  width: 6px;
  height: 6px;
  background: #e53;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-route {
  position: absolute;
  top: 30%;
  left: 42%;
  width: 30px;
  height: 1.5px;
  background: rgba(255,255,255,0.6);
  transform: rotate(15deg);
}

.phone__card {
  height: 22px;
  background: #fff;
  border-top: 1px solid #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 5px;
}

.pc-thumb {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #c9a96e, #8a6830);
  border-radius: 3px;
  flex-shrink: 0;
}

.pc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.pct-line {
  height: 2.5px;
  background: #ddd;
  border-radius: 1px;
  width: 80%;
}
.pct-line--bold { background: #aaa; width: 60%; }


/* ═══════════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════════ */
.process {
  background: #f7f3ee;
  padding: 84px 4% 90px;
}

.process__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.process__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 4.5rem;
}

/* Steps row */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step { position: relative; }

.step__track {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.step__circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.step__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--navy) 0%, rgba(26,34,64,0.18) 100%);
}

.step--last .step__circle { margin-right: 0; }

.step__title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--gray-mid);
  padding-right: 1.8rem;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: #1a1814;
  color: var(--white);
  padding: 64px 4% 28px;
}

.footer__inner {
  max-width: 1380px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.8rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.9rem;
}

.footer__wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.3em;
  color: #c4a882;
  margin-bottom: 0.8rem;
}

.footer__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--gray-mid);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 4px;
}

.footer__nav a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr);
}

.footer__nav a:hover { color: var(--gold); }

.footer__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1.1rem;
  padding-top: 4px;
}

.footer__cta-text {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 50px;
  transition: background var(--tr), color var(--tr);
}

.footer__cta-btn:hover {
  background: var(--gold);
  color: #0d1020;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
}

.footer__legal {
  display: flex;
  gap: 1.8rem;
}

.footer__legal a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--tr);
}

.footer__legal a:hover { color: rgba(255,255,255,0.55); }


/* ═══════════════════════════════════════════
   CONTACT / CALENDLY SECTION
   ═══════════════════════════════════════════ */
.contact-section {
  background: var(--white);
  padding: 84px 4% 100px;
  border-top: 1px solid var(--gray-light);
}

.contact-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.contact-section__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.contact-section__sub {
  font-size: 0.92rem;
  color: var(--gray-mid);
  margin-bottom: 2.8rem;
}

.contact-section__calendar {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}


/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about {
  background: #ffffff;
  padding: 100px 8%;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about__label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #c4a882;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 48px;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 20px;
}

.about__divider {
  width: 40px;
  height: 2px;
  background: #c4a882;
  margin-bottom: 24px;
}

.about__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #5e5c60;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: #c4a882;
  margin-top: 24px;
}

.about__quote--mobile { display: none; }

@media (max-width: 768px) {
  .about__quote--mobile {
    display: block;
    text-align: center;
    padding: 0 24px;
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    color: #c4a882;
  }
  .about__left .about__quote:not(.about__quote--mobile) {
    display: none;
  }
}

.about__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .about { padding: 60px 5%; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__title { font-size: 32px; }
  .about__right { display: block; }
}


/* ═══════════════════════════════════════════
   GALLERY LIGHTBOX
   ═══════════════════════════════════════════ */

/* Overlay panel */
.glb-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15,12,10,0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.glb-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.glb-panel {
  background: #faf8f5;
  width: 100%;
  max-width: 100%;
  height: 92vh;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(40px);
  transition: transform 0.35s var(--ease);
}

.glb-overlay.is-open .glb-panel {
  transform: translateY(0);
}

/* Header */
.glb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem 1rem;
  border-bottom: 1px solid #e8e4de;
  flex-shrink: 0;
}

.glb-category {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--navy);
}

.glb-close {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--tr), color var(--tr);
}

.glb-close:hover { background: rgba(0,0,0,0.06); color: var(--navy); }

/* Sub-project tabs */
.glb-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 1rem 2rem 0.6rem;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.glb-tabs::-webkit-scrollbar { display: none; }

.glb-desc {
  flex-shrink: 0;
  padding: 0.6rem 2rem 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #5e5c60;
  line-height: 1.7;
  border-bottom: 1px solid #e8e4de;
}

.glb-desc .brand-analysis {
  padding: 8px 0 6px;
  border-top: none;
  margin-top: 0;
}

.glb-desc .brand-disclaimer {
  padding: 6px 0 2px;
}

.glb-tab {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  background: none;
  border: 1px solid #dbd8d1;
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}

.glb-tab.is-active,
.glb-tab:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Description à l'intérieur de la grille — scroll avec les images */
.glb-desc-inner {
  grid-column: 1 / -1;
  padding: 0 0 1rem;
}

.brand-analysis {
  padding: 20px 0 10px;
  border-top: 1px solid #c4a882;
  margin-top: 16px;
}

.brand-analysis__label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.brand-analysis__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: #1a1f3c;
  font-style: normal;
  line-height: 1.8;
  margin: 0;
}

.brand-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: #9e9c9a;
  text-align: center;
  padding: 12px 0 4px;
  letter-spacing: 0.05em;
}

/* Image grid */
.glb-grid {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3px;
  padding: 1rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: #dbd8d1 transparent;
}

.glb-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: 4px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  opacity: 0.92;
}

.glb-thumb:hover { transform: scale(1.02); opacity: 1; }

.glb-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gray-mid);
  padding: 3rem 0;
  font-size: 1rem;
}

/* Full lightbox viewer */
.glb-viewer {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(10,8,6,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.glb-viewer.is-open {
  opacity: 1;
  visibility: visible;
}

.glb-viewer__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.glb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
}

.glb-nav:hover  { background: rgba(255,255,255,0.22); }
.glb-nav--prev  { left: 1.5rem; }
.glb-nav--next  { right: 1.5rem; }

.glb-viewer__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
}

.glb-viewer__close:hover { background: rgba(255,255,255,0.22); }

/* Mobile adjustments */
@media (max-width: 768px) {
  .glb-panel    { height: 88vh; }
  .glb-grid     { grid-template-columns: repeat(2, 1fr); padding: 0.8rem 1rem 1.5rem; align-items: start; }
  .glb-thumb    { aspect-ratio: 4 / 3; height: auto; }
  .glb-header   { padding: 1.2rem 1.2rem 0.8rem; }
  .glb-tabs     { padding: 0.8rem 1rem 0.5rem; }
  .glb-nav--prev { left: 0.5rem; }
  .glb-nav--next { right: 0.5rem; }
}


/* ═══════════════════════════════════════════
   HAMBURGER MENU
   ═══════════════════════════════════════════ */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-right: 16px;
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #000;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile fullscreen menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav__mobile-cta {
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
  padding: 0.8rem 2rem;
  border: 1px solid #1a1814;
  border-radius: 50px;
  color: #1a1814;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-ai__inner { grid-template-columns: 1fr; gap: 52px; }
}

/* ── Tablet & Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  /* Navbar */
  .nav__menu  { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile-menu { display: flex; }

  /* Hero — mobile layout */
  .hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 48px;
    height: 100vh;
    min-height: unset;
    background-color: #f0ede8;
  }

  /* Image hero mobile */
  .hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
  }

  /* Overlay très léger sur mobile pour ne pas noircir la vidéo */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,20,40,0.02) 0%,
      rgba(10,20,40,0.08) 60%,
      rgba(10,20,40,0.25) 100%
    );
  }

  /* MOON/ARCHIVE : positionné en haut */
  .hero__logo-overlay {
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }
  .hero__logo-title { font-size: 88px; }
  .hero__logo-sub   { font-size: 13px; }


  /* Hero content — sous-titre en haut sous MOON/ARCHIVE, bouton en bas */
  .hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    padding: 28vh 24px 0;
  }

  /* Logo MOON/ARCHIVE en haut */
  .hero__logo-overlay {
    order: 1;
    margin: 0;
    text-align: center;
  }

  /* Groupe titre + sous-titre en bas */
  .hero__bottom {
    order: 1;
    text-align: center;
    width: 100%;
  }

  .hero__title { display: none; }
  .hero__sub   { order: 3; margin: 0; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: #000000; text-shadow: none; opacity: 0.85; font-size: 9px; text-align: center; }
  .hero__btn   { display: inline-flex; position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); white-space: nowrap; border-color: rgba(0,0,0,0.5); color: #000000; background: transparent; }

  /* Force accent color on mobile */
  .why-ai__accent { color: #c4a882 !important; }

  /* Why AI — text top, grid below */
  .why-ai { padding: 60px 5% 50px; }
  .why-ai__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-ai__left  { width: 100%; }
  .why-ai__grid  { width: 100%; }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .pcard--wide { grid-column: span 2; aspect-ratio: 2 / 0.85; }

  /* Services */
  .services {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .service {
    padding: 24px;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.10);
  }
  .service:first-child { border-top: none; }
  .services::after { display: none; }

  /* Projects grid */
  .projects-grid { grid-template-columns: 1fr; }
  .pcard--wide   { grid-column: span 1; aspect-ratio: 1 / 0.75; }
  .pcard__name   { font-size: 16px; }

  /* Process — vertical timeline */
  .process { padding: 60px 5% 60px; }
  .steps   { grid-template-columns: 1fr; gap: 0; }

  .step__line { display: none; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    padding-bottom: 24px;
    position: relative;
  }
  .step__track  { grid-column: 1; grid-row: 1 / 3; align-items: flex-start; flex-direction: column; margin-bottom: 0; }
  .step__circle { width: 40px; height: 40px; font-size: 0.9rem; }
  .step__title  { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 0.3rem; }
  .step__desc   { grid-column: 2; grid-row: 2; padding-right: 0; }

  /* Vertical connector line between steps */
  .step:not(.step--last)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 19px;
    width: 1px;
    height: calc(100% - 16px);
    background: rgba(26,34,64,0.18);
  }

  /* Calendly */
  .contact-section { padding: 60px 5% 60px; }
  .calendly-inline-widget { height: 600px !important; }

  /* Footer */
  .footer { padding: 50px 5% 24px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer__brand       { display: flex; flex-direction: column; align-items: center; }
  .footer__nav         { align-items: center; gap: 1rem; }
  .footer__cta-wrap    { align-items: center; }
  .footer__cta-text    { text-align: center; }
  .footer__wordmark    { font-size: 18px; }
  .footer__nav a,
  .footer__copy,
  .footer__legal a     { font-size: 13px; }
  .footer__bottom      { flex-direction: column; gap: 0.8rem; text-align: center; }
  .footer__legal       { justify-content: center; }

  /* General tap targets */
  .nav__link, .footer__nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ── Mobile only (≤ 480px) ── */
@media (max-width: 480px) {
  .hero__logo-title { font-size: 34px; }
  .hero__title      { font-size: 24px; }
  .why-ai__title    { font-size: 1.6rem; }
  .process__title   { font-size: 1.4rem; }
}


/* ═══════════════════════════════════════════
   WAVE REVEAL ANIMATION
   ═══════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   PROCESS MODAL
   ═══════════════════════════════════════════ */

/* ── Circle hover ── */
.step__circle[data-step] {
  cursor: pointer;
  transition: background var(--tr), color var(--tr), transform var(--tr), border-color var(--tr);
}

.step__circle[data-step]:hover,
.step__circle[data-step]:focus-visible {
  background: #1a1f3c;
  color: #ffffff;
  border-color: #1a1f3c;
  transform: scale(1.08);
  outline: none;
}

/* ── Overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 31, 60, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── Modal box ── */
.modal {
  position: relative;
  background: #faf9f6;
  border: 1px solid #dbd8d1;
  border-radius: 12px;
  padding: 2.4rem 2.6rem 2.2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(26,31,60,0.12), 0 4px 16px rgba(26,31,60,0.08);

  transform: scale(0.94) translateY(10px);
  transition: transform 0.28s var(--ease);
}

.modal-overlay.is-open .modal {
  transform: scale(1) translateY(0);
}

/* ── Close button ── */
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: #9a9893;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--tr), background var(--tr);
}

.modal__close:hover {
  color: #1a1f3c;
  background: rgba(26,31,60,0.06);
}

/* ── Modal content ── */
.modal__step-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9893;
  margin-bottom: 0.6rem;
}

.modal__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  color: #1a1f3c;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.modal__short {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1f3c;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.modal__divider {
  height: 1px;
  background: #dbd8d1;
  margin-bottom: 1.1rem;
}

.modal__detail {
  font-size: 0.87rem;
  line-height: 1.78;
  color: #7a7875;
}

@media (max-width: 540px) {
  .modal { padding: 2rem 1.6rem 1.8rem; }
  .modal__title { font-size: 1.3rem; }
}
