/* ================================================
   Bloom Vidéos — shared styles
   ================================================ */

:root {
  --paper: #F7F6F2;
  --paper-2: #EFEDE6;
  --ink: #0B0B0C;
  --ink-2: #1A1A1C;
  --mute: #6B6B6E;
  --hairline: rgba(11, 11, 12, 0.08);
  --hairline-strong: rgba(11, 11, 12, 0.18);
  --warm: oklch(72% 0.02 70);
  --bloom: rgb(251, 189, 2);
  --bloom-soft: rgba(251, 189, 2, 0.14);
  --glass-light: rgba(247, 246, 242, 0.62);
  --glass-dark: rgba(11, 11, 12, 0.42);
  --shadow-soft: 0 1px 0 rgba(11,11,12,0.04), 0 30px 60px -30px rgba(11,11,12,0.15);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  line-height: 1.55;
  font-size: 15px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

/* ============== Typography ============== */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 400;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--bloom);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* ============== Layout ============== */

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-tight {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== Nav ============== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding .3s ease, background .3s ease;
}
.nav.scrolled {
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: var(--glass-light);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  max-width: 1320px;
  margin: 0 auto;
  width: calc(100% - 64px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav__logo-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--paper);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 0.55; }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 18px;
  background: var(--bloom);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: transform .2s, filter .2s;
  white-space: nowrap;
}
.nav__cta:hover { transform: translateY(-1px); filter: brightness(0.96); }
.nav__cta .arrow {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bloom);
  font-size: 11px;
  text-align: center;
  line-height: 18px;
}

/* ============== Buttons ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--ink {
  background: var(--bloom);
  color: var(--ink);
}
.btn--ink:hover { transform: translateY(-1px); filter: brightness(0.96); }
.btn--ink .arrow-c { background: var(--ink); color: var(--bloom); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--glass {
  background: rgba(247, 246, 242, 0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--paper);
  border: 1px solid rgba(247, 246, 242, 0.22);
}
.btn--glass:hover { background: rgba(247, 246, 242, 0.25); }
.btn .arrow-c {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
}
.btn--ghost .arrow-c { background: var(--ink); color: var(--paper); }

/* ============== Footer ============== */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0 36px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}
.foot__display {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 80px;
}
.foot__display .it { font-style: italic; color: rgba(247,246,242,0.55); }
.foot__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(247,246,242,0.12);
  flex-wrap: wrap;
}
.foot__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(247,246,242,0.12);
}
.foot__col h5 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(247,246,242,0.5);
  font-weight: 400;
  margin-bottom: 18px;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin-bottom: 10px; font-size: 14px; color: rgba(247,246,242,0.85); }
.foot__col li a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(247,246,242,0.12);
  font-size: 12px;
  color: rgba(247,246,242,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.foot__social {
  display: flex;
  gap: 14px;
}
.foot__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247,246,242,0.18);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: background .2s;
}
.foot__social a:hover { background: rgba(247,246,242,0.12); }

/* ============== Marquee ============== */

.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: -0.02em;
}
.marquee__track {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.marquee__track span { padding: 0 28px; }
.marquee__track .it { font-style: italic; color: var(--mute); }
.marquee__track .star {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--bloom);
  vertical-align: middle;
  transform: rotate(45deg);
  margin: 0 18px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Reveal ============== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Utility ============== */

.hairline { background: var(--hairline); height: 1px; width: 100%; }
.spacer-xl { height: 140px; }
.spacer-lg { height: 96px; }
.spacer-md { height: 56px; }

/* ============== Shared page header ============== */

.pagehead {
  padding: 40px 0 0;
}
.pagehead__crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 44px;
}
.pagehead__crumb .sep { opacity: 0.5; }
.pagehead__crumb a:hover { color: var(--ink); }
.pagehead__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.pagehead__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 14px;
}
.pagehead__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 184px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 6px 0 0;
}
.pagehead__title .it { font-style: italic; color: var(--mute); }
.pagehead__lede {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: end;
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.pagehead__lede-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.7;
}
.pagehead__lede-r {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.pagehead__lede-r .it { font-style: italic; color: var(--mute); }

/* ============== Image placeholders ============== */

.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(11,11,12,0.045) 0 1px, transparent 1px 11px),
    var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph--dark {
  background:
    repeating-linear-gradient(-45deg, rgba(247,246,242,0.06) 0 1px, transparent 1px 11px),
    var(--ink-2);
}
.ph__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 14px 18px;
  line-height: 1.7;
}
.ph--dark .ph__tag { color: rgba(247,246,242,0.55); }
.ph__tag .b { color: var(--ink); }
.ph--dark .ph__tag .b { color: var(--paper); }

/* ============== Forms ============== */

.form-grid {
  display: grid;
  gap: 26px 30px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.field__label .req { color: var(--bloom); }
.input, .textarea, .select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 10px 2px;
  letter-spacing: -0.005em;
  transition: border-color .25s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--mute); opacity: 0.6; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236B6B6E' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

/* Choice chips (radio / checkbox cards) */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice__box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.choice__box::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hairline-strong);
  transition: background .2s ease, transform .2s ease;
}
.choice:hover .choice__box { border-color: var(--ink); }
.choice input:checked + .choice__box {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.choice input:checked + .choice__box::before {
  background: var(--bloom);
  transform: scale(1.1);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--bloom); outline-offset: 2px; }

/* Big selectable project-type cards */
.optcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 540px) {
  .optcards { grid-template-columns: 1fr; }
}
.optcard { position: relative; cursor: pointer; }
.optcard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.optcard__inner {
  height: 100%;
  padding: 22px 22px 24px;
  border: 1px solid var(--hairline-strong);
  border-radius: 6px;
  background: var(--paper);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.optcard:hover .optcard__inner { transform: translateY(-3px); border-color: var(--ink); }
.optcard__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.optcard__tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.optcard__name {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.optcard__desc { font-size: 13px; color: var(--mute); line-height: 1.45; }
.optcard input:checked + .optcard__inner {
  background: var(--ink);
  border-color: var(--ink);
}
.optcard input:checked + .optcard__inner .optcard__name { color: var(--paper); }
.optcard input:checked + .optcard__inner .optcard__desc { color: rgba(247,246,242,0.7); }
.optcard input:checked + .optcard__inner .optcard__num { color: rgba(247,246,242,0.6); }
.optcard input:checked + .optcard__inner .optcard__tick {
  background: var(--bloom); color: var(--ink); border-color: var(--bloom);
}
.optcard input:focus-visible + .optcard__inner { outline: 2px solid var(--bloom); outline-offset: 2px; }

/* Form confirmation toast/panel */
.form-done {
  display: none;
  text-align: center;
  padding: 70px 30px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--paper-2);
}
.form-done.show { display: block; animation: doneIn .6s cubic-bezier(.2,.7,.2,1); }
@keyframes doneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.form-done__mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bloom);
  color: var(--ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
}
.form-done__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.form-done__title .it { font-style: italic; color: var(--mute); }
.form-done__sub { max-width: 460px; margin: 0 auto; color: var(--mute); font-size: 16px; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
}
@media (max-width: 900px) {
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .marquee { font-size: 36px; }
  .spacer-xl { height: 80px; }
  .spacer-lg { height: 56px; }
  .pagehead__lede { grid-template-columns: 1fr; gap: 28px; }
}
