/* ===========================================================
   VELVET COMPANY · feuille de style globale
   DA : éditorial sensuel, bleu électrique, blanc cassé,
   bordeaux profond. Typo sans-serif large + serif italique.
   =========================================================== */

:root {
  --blanc-casse: #e8e6e1;
  --blanc: #f6f4f0;
  --noir: #111111;
  --bordeaux: #3d1028;
  --bordeaux-clair: #5a1a3d;
  --bleu: #1a3a9e;
  --bleu-vif: #1b4dff;
  --rouge: #e8221d;
  --gris-texte: #4a4a48;
  --gris-leger: #8a8a86;

  --serif: "Times New Roman", "Georgia", serif;
  --sans: "Helvetica Neue", "Arial", "Segoe UI", sans-serif;

  --max: 1320px;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--blanc-casse);
  color: var(--noir);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad-x); }

/* ----------------------- Typographie ----------------------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; }

.label-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gris-leger);
}

/* Badge ovale type maquette */
.pill {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.4em 1.1em;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Texte vertical latéral */
.vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.35em;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gris-leger);
}

/* ----------------------- Logo ----------------------- */
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  line-height: 1;
}
.logo b { font-weight: 700; }
.logo .company {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.5em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  align-self: flex-start;
}

/* ----------------------- Header / Nav ----------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  color: #fff;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0));
  z-index: -1;
  pointer-events: none;
}
.site-header .logo { color: #fff; position: relative; }
.site-header .nav, .site-header .nav-toggle { position: relative; }

.nav { display: flex; gap: 2.2rem; align-items: center; }
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ----------------------- Hero ----------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .logo-xl {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.9;
}
.hero .logo-xl .company {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.16em;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.4em;
}
.hero .tagline {
  margin-top: 1.6rem;
  max-width: 40ch;
  margin-inline: auto;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.5;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.8;
}

/* ----------------------- Sections génériques ----------------------- */
section { padding-block: clamp(4rem, 10vw, 8rem); }

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
  display: block;
  line-height: 1;
}
.section-title {
  font-size: clamp(2.4rem, 8vw, 6rem);
  text-transform: uppercase;
}

/* Bloc vision : image fixe + texte */
.vision { background: var(--blanc-casse); }
.vision .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.vision .copy p { margin-bottom: 1.1rem; color: var(--gris-texte); max-width: 52ch; }
.vision img { border-radius: 2px; object-fit: cover; aspect-ratio: 3/4; width: 100%; }

/* Manifesto bordeaux */
.manifesto {
  background: var(--bordeaux);
  color: var(--blanc);
  text-align: center;
}
.manifesto .section-title { color: var(--blanc); }
.manifesto .section-num { color: var(--blanc); }
.manifesto .creed {
  max-width: 60ch;
  margin: 2.5rem auto 0;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 300;
  line-height: 1.7;
}
.manifesto .creed strong { font-weight: 700; }

/* Capsules (cartes projets) */
.capsules { background: var(--blanc); }
.capsules .head { margin-bottom: clamp(2rem, 5vw, 4rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/5;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75));
}
.card:hover img { transform: scale(1.05); }
.card .card-body { position: relative; z-index: 1; padding: clamp(1.2rem, 3vw, 2rem); }
.card .card-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.9;
}
.card .card-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
.card .card-meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-top: 0.5rem; }

/* Bande activités */
.activites { background: var(--blanc-casse); }
.activites .section-title { color: var(--bleu); }
.activites ul { list-style: none; margin-top: 2.5rem; }
.activites li {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(0,0,0,.12);
}
.activites li:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.activites li .n { font-family: var(--serif); font-style: italic; color: var(--gris-leger); min-width: 2.5rem; }
.activites li .t { font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 700; }
.activites li .d { color: var(--gris-texte); flex: 1; }

/* CTA contact */
.cta {
  background: var(--bleu);
  color: #fff;
  text-align: center;
}
.cta .section-title { color: #fff; }
.cta p { max-width: 46ch; margin: 1.5rem auto 2.5rem; font-weight: 300; opacity: 0.95; }

.btn {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0.9em 2.4em;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: #fff; color: var(--bleu); }
.btn-dark:hover { background: var(--noir); color: #fff; }

/* ----------------------- Footer ----------------------- */
.site-footer {
  background: var(--noir);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.site-footer .grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .foot-nav { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.8rem; }
.site-footer a:hover { color: var(--gris-leger); }
.site-footer .legal { width: 100%; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.7rem; color: var(--gris-leger); letter-spacing: 0.08em; }

/* ----------------------- Page projets ----------------------- */
.page-hero {
  min-height: 60svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero .page-hero-bg { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; z-index: -1; }
.page-hero::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,.4); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 9vw, 6rem); text-transform: uppercase; }
.page-hero .sub { margin-top: 1rem; font-weight: 300; opacity: 0.9; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}
.proj {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16/10;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.proj img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform .7s ease; }
.proj::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.8)); }
.proj:hover img { transform: scale(1.06); }
.proj .body { position: relative; z-index:1; padding: clamp(1.2rem, 3vw, 2rem); }
.proj .kicker { font-family: var(--serif); font-style: italic; opacity: .9; }
.proj .name { font-size: clamp(1.6rem, 4vw, 2.6rem); text-transform: uppercase; }
.proj.tall { aspect-ratio: 4/5; }

/* ----------------------- Page DUST ----------------------- */
.dust-hero {
  min-height: 90svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dust-hero .bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.dust-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,20,60,.35), rgba(10,20,60,.55)); }
.dust-hero .wrap { position: relative; z-index:1; }
.dust-hero .kick { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,3vw,2rem); letter-spacing: .05em; }
.dust-hero h1 { font-size: clamp(4rem, 16vw, 12rem); line-height: .85; }

.dust-poem {
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
}
.dust-poem p {
  font-size: clamp(1.3rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 24ch;
  margin: 0 auto;
}
.dust-poem .last {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--bleu-vif);
}

.credits { background: var(--blanc-casse); }
.credits .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.credits dt { font-weight: 800; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--bleu); margin-bottom: 0.4rem; }
.credits dd { color: var(--gris-texte); line-height: 1.7; }

/* ----------------------- Page contact ----------------------- */
.contact-wrap { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.contact-aside {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: clamp(3rem, 8vw, 7rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-aside h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); text-transform: uppercase; }
.contact-aside .lead { margin-top: 1.5rem; font-weight: 300; opacity: 0.9; max-width: 36ch; }
.contact-aside .direct { margin-top: 2.5rem; }
.contact-aside .direct a { font-family: var(--serif); font-style: italic; font-size: 1.3rem; border-bottom: 1px solid currentColor; }

.contact-form-side {
  background: var(--blanc);
  padding: clamp(3rem, 8vw, 7rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; color: var(--gris-texte); }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.3);
  background: transparent;
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--noir);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bleu); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.78rem; color: var(--gris-leger); margin-top: 1rem; }

/* ----------------------- Reveal ----------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------- Responsive ----------------------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--noir);
    color: #fff;
    mix-blend-mode: normal;
  }
  .nav.open a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .vision .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card img, .proj img { transition: none; }
}
