/* ==========================================================
   CréaZo — feuille de style
   Identité reprise de la facture : rouge #C3393B, Montserrat,
   logo "CréaZo." avec point, numérotation 01 / 02 et filets.
   ========================================================== */

:root {
  --red: #c3393b;
  --red-dark: #a42d2f;
  --ink: #111111;
  --text: #4a4a4a;
  --muted: #7a7a7a;
  --line: #d9d9d9;
  --grey: #efefef;
  --paper: #ffffff;
  --dark: #141414;
  --dark-2: #1d1d1d;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.dot { color: var(--red); }

/* ---------- Logo ---------- */
.logo {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.logo__dot { color: var(--red); }
.logo--light { color: #fff; }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.section__title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section__intro {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--small { padding: 11px 18px; font-size: 12px; }
.btn--block { width: 100%; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo { color: #fff; transition: color .3s; }
.header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .logo { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header.is-scrolled .nav a:not(.btn) { color: var(--ink); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease), background .3s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.is-scrolled .burger span { background: var(--ink); }
.nav-open .burger span { background: var(--ink); }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: #fff;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { color: var(--ink); font-size: 24px; font-weight: 600; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header .logo { color: var(--ink); position: relative; z-index: 2; }
  .nav-open { overflow: hidden; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero__slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slides img.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(80px, 12vh, 140px);
}
.hero__title {
  color: #fff;
  font-size: clamp(42px, 7.4vw, 104px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: .98;
}
.hero__lead {
  max-width: 520px;
  margin: 28px 0 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.85);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__counter {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  text-align: right;
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
}
.hero__counter span { color: #fff; font-weight: 600; }

/* ==========================================================
   Band (références) — bandeau rouge façon facture
   ========================================================== */
.band { background: var(--red); color: #fff; }
.band__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.band__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 10px 40px;
  font-size: 17px; font-weight: 600;
  letter-spacing: -.01em;
}
.band__list li { opacity: .92; }
@media (max-width: 720px) {
  .band__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .band__list { gap: 6px 22px; font-size: 15px; }
}

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); color: rgba(255,255,255,.72); }
.section--dark .section__title,
.section--dark h3 { color: #fff; }
.section--dark .section__intro { color: rgba(255,255,255,.6); }

.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section__head--row .section__intro { margin: 0; max-width: 400px; }

/* ---------- Services (liste numérotée façon facture) ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service__num { font-size: 15px; font-weight: 700; color: var(--muted); transition: color .3s; }
.service h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  transition: color .3s, transform .4s var(--ease);
}
.service p { margin: 10px 0 0; max-width: 580px; color: var(--muted); }
.service img {
  width: 180px; height: 120px;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .4s var(--ease), opacity .4s, transform .5s var(--ease);
}
.service:hover .service__num,
.service:hover h3 { color: var(--red); }
.service:hover h3 { transform: translateX(6px); }
.service:hover img { filter: none; opacity: 1; transform: scale(1.03); }

@media (max-width: 720px) {
  .service { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; align-items: start; }
  .service img { display: none; }
  .service__num { padding-top: 6px; }
}

/* ---------- Videos ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video {
  position: relative;
  display: block;
  padding: 0; border: 0;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-align: left;
}
.video--feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.video img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: transform .8s var(--ease), opacity .4s;
}
.video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 55%);
}
.video:hover img { transform: scale(1.04); opacity: 1; }
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--red);
  z-index: 1;
  transition: transform .35s var(--ease);
}
.video__play::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  margin: -10px 0 0 -6px;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.video:hover .video__play { transform: scale(1.12); }
.video__meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
  color: #fff;
}
.video__meta em {
  font-style: normal;
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.video__meta strong { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.01em; }

.videos--vertical {
  margin-top: 20px;
  grid-template-columns: 1fr 1fr 1.4fr;
  align-items: center;
}
.video--vertical { aspect-ratio: 9 / 16; }
.vertical-note { padding: 0 clamp(0px, 3vw, 40px); }
.vertical-note h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.vertical-note p:last-child { margin-top: 18px; }

@media (max-width: 880px) {
  .videos { grid-template-columns: 1fr; }
  .video--feature { aspect-ratio: 16 / 9; }
  .videos--vertical { grid-template-columns: 1fr 1fr; }
  .vertical-note { grid-column: 1 / -1; order: -1; padding: 20px 0 8px; }
  .video__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

/* ---------- Portfolio photo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px; font-weight: 500;
  color: var(--text);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { columns: 3 300px; column-gap: 16px; }
.shot {
  display: block;
  position: relative;
  margin-bottom: 16px;
  break-inside: avoid;
  overflow: hidden;
  background: var(--grey);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease), filter .4s;
}
.shot span {
  position: absolute;
  left: 0; bottom: 0;
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.shot:hover img { transform: scale(1.04); }
.shot:hover span, .shot:focus-visible span { transform: none; }
.shot.is-hidden { display: none; }

/* ---------- Approche ---------- */
.approach {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.approach__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.approach__photo { margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.approach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid #555;
}
.step:last-child { border-bottom: 1px solid #555; }
.step__num { font-size: 15px; font-weight: 700; color: var(--red); padding-top: 4px; }
.step h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.step p { margin: 10px 0 0; color: var(--muted); }

@media (max-width: 880px) {
  .approach { grid-template-columns: 1fr; }
  .approach__intro { position: static; }
  .step { grid-template-columns: 44px 1fr; }
}

/* ---------- Statement ---------- */
.statement {
  background: var(--red);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
}
.statement__text {
  margin: 0;
  font-size: clamp(56px, 12vw, 170px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
}
.statement__text span { font-weight: 300; }
.statement .dot { color: #fff; }
.statement__sub { margin: 26px auto 0; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.88); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
}
.contact__list { margin: 44px 0 0; }
.contact__list > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.contact__list dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.contact__list dd { margin: 0; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--red); }
.contact__list a:hover { color: var(--red); }

.form { display: grid; gap: 22px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
  padding: 0;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #bbb;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .25s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { padding: 14px; border: 1px solid #bbb; margin-top: 4px; }
.field textarea:focus { border-color: var(--red); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }

.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { margin-bottom: 12px; width: 100%; }
.field--chips label { position: relative; }
.field--chips input { position: absolute; opacity: 0; pointer-events: none; }
.field--chips span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
  user-select: none;
}
.field--chips span:hover { border-color: var(--ink); }
.field--chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.field--chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.form__status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form__status.is-error { color: var(--red); }

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 70px 0 30px; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .logo { font-size: 40px; }
.footer__tag { margin: 12px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; }
.footer__nav a:hover { color: var(--red); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.5px;
}
.footer__legal p { margin: 0; }
.footer__legal a { color: rgba(255,255,255,.6); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,.96);
  display: flex; align-items: center; justify-content: center;
  padding: 60px clamp(16px, 7vw, 100px);
  animation: fade .3s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img,
.lightbox__stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__stage video { width: 100%; background: #000; }
.lightbox__stage video.is-vertical { width: auto; height: 100%; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: none; border: 0;
  color: #fff;
  line-height: 1;
  transition: color .2s, transform .2s;
}
.lightbox__close { top: 14px; right: 20px; font-size: 44px; font-weight: 300; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 64px; font-weight: 300; padding: 10px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--red); }
.lightbox.is-video .lightbox__nav { display: none; }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: 18px;
  margin: 0; text-align: center;
  color: rgba(255,255,255,.7);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 720px) {
  .lightbox__nav { font-size: 44px; top: auto; bottom: 6px; transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Lecteur YouTube dans la visionneuse */
.lightbox__stage iframe {
  width: 100%;
  max-width: calc((100vh - 120px) * 16 / 9);
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
