/* ============================================
   QUEV.MOV — STYLE GLOBAL
   Thème clair : blanc cassé / vert sapin / ambre / marron
   Typographie : Hanken Grotesk (alternative gratuite à Söhne)
   ============================================ */

:root {
  /* Palette DA */
  --vert-sapin: #0e2d14;
  --vert-sapin-darker: #081a0c;
  --ambre: #f79e00;
  --ambre-soft: #f7a91a;
  --marron: #54412d;
  --marron-soft: #6b5239;
  --blanc-casse: #faf4e8;
  --blanc-casse-warm: #f3ecd9;

  /* Palette par contexte (mode clair par défaut) */
  --bg: var(--blanc-casse);
  --bg-alt: var(--blanc-casse-warm);
  --bg-dark: var(--marron);
  --bg-deep: var(--vert-sapin);
  --text: var(--vert-sapin);
  --text-muted: rgba(14, 45, 20, 0.65);
  --text-faint: rgba(14, 45, 20, 0.4);
  --text-on-dark: var(--blanc-casse);
  --text-on-dark-muted: rgba(250, 244, 232, 0.7);
  --line: rgba(14, 45, 20, 0.12);
  --line-on-dark: rgba(250, 244, 232, 0.15);
  --accent: var(--ambre);

  /* Typographies (Hanken Grotesk = alternative la + proche de Söhne sur Google Fonts) */
  --font-display: "Hanken Grotesk", "Söhne", "Inter", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Söhne", system-ui, sans-serif;
  --font-cite: "Parisienne", cursive;

  /* Espacements */
  --container-max: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Easings + durées (transitions plus rapides) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-base: 0.28s;
  --t-slow: 0.5s;
}

/* ============================================
   RESET
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-weight: 400;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--ambre);
  color: var(--vert-sapin);
}

/* ============================================
   LOADER (rapide)
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: -0.025em;
  color: var(--vert-sapin);
}

.loader__word .dot {
  color: var(--ambre);
  animation: blink 0.5s var(--ease) infinite alternate;
}

.loader__word .ext {
  color: var(--ambre);
  opacity: 0;
  animation: fadeInExt 0.4s var(--ease) 0.25s forwards;
}

@keyframes blink {
  to { opacity: 0.35; }
}

@keyframes fadeInExt {
  to { opacity: 1; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-base) var(--ease), padding var(--t-base) var(--ease), backdrop-filter var(--t-base);
  pointer-events: none;
}

.nav.is-scrolled {
  background: rgba(250, 244, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

/* Variante nav sur fond foncé (hero) */
.nav.on-dark .nav__brand,
.nav.on-dark .nav__links a,
.nav.on-dark .nav__cta,
.nav.on-dark .nav__burger span {
  color: var(--blanc-casse);
}
.nav.on-dark .nav__brand .dot,
.nav.on-dark .nav__brand .ext { color: var(--ambre); }
.nav.on-dark .nav__cta { border-color: rgba(250, 244, 232, 0.25); }
.nav.on-dark .nav__burger span { background: var(--blanc-casse); }

.nav.on-dark.is-scrolled {
  background: rgba(8, 26, 12, 0.85);
  border-bottom: 1px solid var(--line-on-dark);
}

.nav > * { pointer-events: auto; }

.nav__brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--vert-sapin);
  display: inline-flex;
  align-items: baseline;
}

.nav__brand .dot,
.nav__brand .ext { color: var(--ambre); }

.nav__links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active {
  color: var(--ambre);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.nav .nav__cta:hover {
  background: var(--vert-sapin);
  border-color: var(--vert-sapin);
  color: var(--blanc-casse);
}

.nav.on-dark .nav__cta:hover {
  background: var(--ambre);
  border-color: var(--ambre);
  color: var(--vert-sapin);
}

.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base);
}

.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); }

@media (max-width: 800px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 360px;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    border-left: 1px solid var(--line);
    z-index: 110;
  }

  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.4rem; color: var(--text); }
  .nav.on-dark .nav__links a { color: var(--text); }
  .nav__cta { font-size: 0.95rem; padding: 0.7rem 1.4rem; }

  /* IMPORTANT : sur mobile, retirer backdrop-filter du nav scrolled.
     backdrop-filter crée un containing block qui casse le positionnement
     fixed du panneau menu. Solution : fond solide à la place du blur. */
  .nav.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-alt);
  }
  .nav.on-dark.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--vert-sapin);
  }
}

/* ============================================
   HERO (centré, plus compact)
   ============================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 5rem var(--gutter) clamp(7rem, 16vh, 11rem);
  background: var(--vert-sapin);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--vert-sapin);
  background-size: cover;
  background-position: center;
}

/* Vidéo locale en background : scale-up léger pour un cadrage généreux,
   fade-in court pour adoucir la transition avec le poster. */
.hero__bg iframe,
.hero__bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108vw;
  height: 60.75vw;
  min-height: 108vh;
  min-width: 192vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  object-fit: cover;
  opacity: 0;
  animation: heroVideoFadeIn 1s var(--ease) 0.5s forwards;
}

/* Sur mobile : on garde la vidéo si elle peut autoplay (muted+playsinline OK iOS Safari récent),
   l'image poster s'affiche en attendant. Cadrage légèrement plus généreux pour rester cinématique. */
@media (max-width: 800px) {
  .hero__bg video {
    width: 130vw;
    height: 73.125vw;
    min-height: 110vh;
    min-width: 195.55vh;
  }
}

@keyframes heroVideoFadeIn {
  to { opacity: 1; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(8, 26, 12, 0.05) 0%, rgba(8, 26, 12, 0.32) 80%),
    linear-gradient(to bottom, rgba(8, 26, 12, 0.10) 0%, rgba(8, 26, 12, 0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--blanc-casse);
  margin-bottom: 1rem;
  text-transform: uppercase;
  opacity: 0;
  animation: revealUp 0.8s var(--ease) 0.25s forwards;
}

.hero__wordmark .accent {
  color: var(--ambre);
}

.hero__title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.72rem, 0.95vw, 0.85rem);
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 0;
  opacity: 0;
  animation: revealUp 0.8s var(--ease) 0.45s forwards;
  text-wrap: balance;
}

.hero__title .accent {
  color: var(--ambre);
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  opacity: 0.7;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ambre), transparent);
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 700px) {
  .hero__scroll { display: none; }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  position: relative;
}

.section--tight { padding: clamp(3rem, 6vh, 5rem) var(--gutter); }

.section--alt { background: var(--bg-alt); }

.section--dark {
  background: var(--marron);
  color: var(--text-on-dark);
}
.section--dark .section__title,
.section--dark p,
.section--dark a { color: var(--text-on-dark); }
.section--dark .section__lede { color: var(--text-on-dark-muted); }

.section--deep {
  background: var(--vert-sapin);
  color: var(--text-on-dark);
}

.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 1rem;
  display: block;
}

.section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 18ch;
  text-wrap: balance;
}

.section__title .accent { color: var(--ambre); }

.section__lede {
  max-width: 45ch;
  font-size: 1.02rem;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ============================================
   À PROPOS (compact, sans titre eyebrow ni h2)
   ============================================ */

.about {
  background: var(--bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.4fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .about__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  max-width: 320px;
  width: 100%;
}

@media (max-width: 800px) {
  .about__media {
    max-width: 280px;
    margin: 0 auto;
  }
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 1s var(--ease);
}

.about__media:hover img {
  transform: scale(1.04);
}

.about__text p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text);
  margin-bottom: 1.1rem;
  max-width: 52ch;
  line-height: 1.65;
  text-wrap: pretty;
}

.about__text p:last-of-type { margin-bottom: 1.5rem; }

.about__text p .accent {
  color: var(--ambre);
  font-style: italic;
  font-weight: 600;
}

.about__signature {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.about__signature strong {
  font-weight: 600;
  color: var(--text);
}

.about__signature .sep {
  opacity: 0.4;
}

/* ============================================
   EXPERTISES (nouvelle section)
   ============================================ */

.expertises {
  background: var(--vert-sapin);
  color: var(--text-on-dark);
}

.expertises .section__title { color: var(--blanc-casse); }
.expertises .section__lede { color: var(--text-on-dark-muted); }
.expertises .section__eyebrow { color: var(--ambre); }

.expertises__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  margin-top: 1.5rem;
}

.expertise {
  background: var(--vert-sapin);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: background var(--t-base) var(--ease);
}

.expertise:hover { background: var(--vert-sapin-darker); }

.expertise__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blanc-casse);
}

.expertise__desc {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* ============================================
   PORTAILS (Vidéos / Photos) — cartes
   ============================================ */

.portals-section {
  padding: clamp(4rem, 8vh, 6rem) var(--gutter);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Wordmark fantôme géant en arrière-plan, italique, très peu opaque.
   Centré verticalement pour ne pas être coupé par overflow:hidden de la section.
   Beaucoup plus gros que la zone des cartes pour qu'il déborde latéralement. */
.portals-section__ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(9rem, 27vw, 26rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--vert-sapin);
  opacity: 0.06;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

@media (max-width: 720px) {
  .portals-section__ghost { display: none; }
}

.portals-section__inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.portals-section__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.portals-section__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ambre);
}

.portals-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}

.portals-section__title .accent {
  color: var(--ambre);
}

/* Ligne de keywords sous les cartes */
.portals-section__keywords {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.portals-section__keywords .dot {
  color: var(--ambre);
  font-size: 0.9rem;
  line-height: 1;
}

@media (max-width: 600px) {
  .portals-section__keywords {
    font-size: 0.66rem;
    gap: 0.4rem 0.7rem;
  }
}

.portals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}

@media (max-width: 720px) {
  .portals {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
  }
  .portal {
    width: 100%;
    max-width: 380px;
  }
}

.portal {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  cursor: pointer;
  color: var(--blanc-casse);
  background: var(--marron);
  isolation: isolate;
}

.portal__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: transform 1.4s var(--ease);
  z-index: 0;
}

.portal:hover .portal__bg {
  transform: scale(1.05);
}

/* Overlay très léger : on veut bien voir l'image (~20% d'assombrissement) */
.portal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 12, 0.15) 0%, rgba(8, 26, 12, 0.35) 100%);
  z-index: 1;
  transition: background var(--t-base) var(--ease);
}

.portal:hover::after {
  background: linear-gradient(180deg, rgba(8, 26, 12, 0.25) 0%, rgba(8, 26, 12, 0.5) 100%);
}

.portal__sub {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blanc-casse);
  opacity: 0.85;
  text-shadow: 0 1px 8px rgba(8, 26, 12, 0.6);
}

.portal__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(8, 26, 12, 0.5);
}

/* ============================================
   FAQ
   ============================================ */

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 1.4rem 0;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast);
}

.faq__question:hover { color: var(--ambre); }

.faq__icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base) var(--ease);
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}

.faq__answer-inner {
  padding: 0 0 1.5rem;
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq__item.is-open .faq__answer { max-height: 480px; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: clamp(3rem, 6vh, 5rem) var(--gutter) 2rem;
  background: var(--marron);
  color: var(--text-on-dark);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer__brand-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--blanc-casse);
}

.footer__brand-wordmark .dot,
.footer__brand-wordmark .ext { color: var(--ambre); }

.footer__pitch {
  color: var(--text-on-dark-muted);
  max-width: 38ch;
  font-size: 0.95rem;
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__col a {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: color var(--t-fast);
}

.footer__col a:hover { color: var(--ambre); }

.footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

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

.footer__legal a:hover { color: var(--ambre); }

/* ============================================
   PORTFOLIO VIDÉO — grille à la Valentin Anger
   (pas de regroupement par catégorie)
   ============================================ */

/* Filtres par catégorie (barre au-dessus de la grille vidéo) */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.video-filter {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.video-filter:hover {
  border-color: var(--vert-sapin);
  color: var(--vert-sapin);
}

.video-filter.is-active {
  background: var(--vert-sapin);
  border-color: var(--vert-sapin);
  color: var(--blanc-casse);
}

/* Carte cachée par le filtre */
.card.is-hidden {
  display: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  transition: transform var(--t-base) var(--ease);
}

.card:hover { transform: translateY(-3px); }

.card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter var(--t-base);
  filter: saturate(0.88);
}

.card:hover .card__thumb {
  transform: scale(1.05);
  filter: saturate(1);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 12, 0.92) 0%, rgba(8, 26, 12, 0.05) 50%, rgba(8, 26, 12, 0.45) 100%);
  z-index: 1;
  transition: background var(--t-base);
}

.card:hover .card__overlay {
  background: linear-gradient(to top, rgba(8, 26, 12, 0.95) 0%, rgba(8, 26, 12, 0.2) 50%, rgba(8, 26, 12, 0.5) 100%);
}

.card__content {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--blanc-casse);
}

.card__top {
  display: flex;
  justify-content: flex-start;
}

.card__cat {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blanc-casse);
  background: rgba(14, 45, 20, 0.7);
  padding: 0.3rem 0.65rem;
  backdrop-filter: blur(6px);
  border-radius: 999px;
}

.card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.card__sub {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.card__play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.card:hover .card__play {
  background: var(--ambre);
  border-color: var(--ambre);
}

.card__play svg {
  width: 11px;
  height: 11px;
  fill: var(--blanc-casse);
  margin-left: 2px;
  transition: fill var(--t-fast);
}

.card:hover .card__play svg { fill: var(--vert-sapin); }

/* ============================================
   PAGE PROJET (hero discret, métas en bas)
   Avec fond image optionnel sur tout l'écran
   ============================================ */

/* Fond plein écran, fixe, faible opacité — ambiance discrète mais présente */
.project-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.16;
  pointer-events: none;
}

.project-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}

.project-hero {
  padding: clamp(6rem, 10vh, 7rem) var(--gutter) clamp(0.75rem, 1.5vh, 1.25rem);
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
}

.project-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.project-hero__cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 0.55rem;
  display: block;
}

.project-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.4rem;
  text-wrap: balance;
}

.project-hero__sub {
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  color: var(--text-muted);
  text-wrap: balance;
}

.project-video {
  padding: clamp(0.75rem, 1.5vh, 1.25rem) var(--gutter);
  background: transparent;
  position: relative;
  z-index: 1;
}

.project-video__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--vert-sapin);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(8, 26, 12, 0.25);
}

.project-video__inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Description + métas en bas */
.project-body {
  padding: clamp(1.5rem, 3vh, 2.5rem) var(--gutter) clamp(2.5rem, 5vh, 4rem);
  background: transparent;
  position: relative;
  z-index: 1;
}

.project-body__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 800px) {
  .project-body__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-left: 2px solid var(--ambre);
  padding-left: 1.25rem;
}

.project-meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-top: 0.3rem;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  line-height: 1.4;
}

.project-body__text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.project-body__text p:first-child {
  font-size: 1.15rem;
  color: var(--text);
}

.project-nav {
  padding: 0 var(--gutter) clamp(3rem, 6vh, 5rem);
}

.project-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.project-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast), gap var(--t-base) var(--ease);
}

.project-nav__link:hover {
  color: var(--ambre);
  gap: 1.1rem;
}

.project-nav__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   PAGES PHOTO
   ============================================ */

/* Fond plein écran sur la page photo (catégorie cover principale) */
.photos-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.18;
  pointer-events: none;
}

.photos-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  background: transparent;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cat-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--marron);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--blanc-casse);
  border-radius: 6px;
}

.cat-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  transition: opacity var(--t-slow), transform 1.3s var(--ease);
}

.cat-tile:hover .cat-tile__bg {
  opacity: 0.8;
  transform: scale(1.06);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 12, 0.9) 0%, rgba(8, 26, 12, 0.25) 80%);
  z-index: 1;
}

.cat-tile__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.cat-tile__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.cat-tile__desc {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  max-width: 28ch;
}

.cat-tile__count {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 0.5rem;
  display: block;
}

.cat-tile__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base) var(--ease);
}

.cat-tile:hover .cat-tile__arrow {
  background: var(--ambre);
  border-color: var(--ambre);
  transform: rotate(-45deg);
}

.cat-tile__arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--blanc-casse);
  fill: none;
  stroke-width: 1.5;
}

.cat-tile:hover .cat-tile__arrow svg { stroke: var(--vert-sapin); }

/* Tuile sans cover : pattern */
.cat-tile--empty .cat-tile__bg {
  background:
    repeating-linear-gradient(45deg, var(--marron) 0 14px, var(--marron-soft) 14px 28px);
  opacity: 0.85;
}

/* Galerie photo masonry */
/* Galerie : layout masonry — les photos verticales gardent leur hauteur naturelle.
   Hover : assombrissement + scale + icône loupe pour indiquer la cliquabilité. */
.gallery {
  columns: 3 320px;
  column-gap: 1rem;
}

@media (max-width: 700px) {
  .gallery { columns: 2 180px; column-gap: 0.6rem; }
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 2px;
  position: relative;
  display: block;
}

.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease), filter var(--t-base);
  filter: brightness(0.94);
  display: block;
}

/* Overlay assombri qui apparait au hover */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 12, 0);
  transition: background var(--t-base) var(--ease);
  pointer-events: none;
  z-index: 1;
}

/* Icône loupe centrée qui apparait au hover */
.gallery__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ambre) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2d14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>") center / 22px 22px no-repeat;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(8, 26, 12, 0.35);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.gallery__item:hover::after {
  background: rgba(8, 26, 12, 0.18);
}

.gallery__item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 12, 0.95);
  backdrop-filter: blur(20px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  padding: 2rem;
  cursor: zoom-out;
}

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

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: var(--blanc-casse);
}

.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after  { transform: rotate(-45deg); }

/* Boutons de navigation prev/next dans la lightbox */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: rgba(8, 26, 12, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  z-index: 10;
}

.lightbox__nav:hover {
  background: var(--ambre);
  border-color: var(--ambre);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
  stroke: var(--blanc-casse);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t-fast);
}

.lightbox__nav:hover svg { stroke: var(--vert-sapin); }

.lightbox__nav--prev { left: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(1rem, 3vw, 2rem); }

@media (max-width: 600px) {
  .lightbox__nav {
    width: 44px;
    height: 44px;
  }
  .lightbox__nav svg { width: 18px; height: 18px; }
}

/* ============================================
   PAGE CONTACT
   ============================================ */

.contact {
  min-height: 100vh;
  padding: 8rem var(--gutter) 4rem;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.contact__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

.contact__intro h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-wrap: balance;
}

.contact__intro h1 .accent { color: var(--ambre); }

.contact__intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 38ch;
}

.contact__quick {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.contact__quick a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.contact__quick a:hover {
  border-color: var(--ambre);
  background: rgba(247, 158, 0, 0.06);
}

.contact__quick svg {
  width: 18px;
  height: 18px;
  stroke: var(--ambre);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.contact__socials {
  display: flex;
  gap: 0.65rem;
}

.contact__socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.contact__socials a:hover {
  border-color: var(--ambre);
  background: var(--ambre);
}

.contact__socials svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
  transition: fill var(--t-fast);
}

.contact__socials a:hover svg { fill: var(--vert-sapin); }

/* Formulaire */
.form {
  background: var(--bg-alt);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form__field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.45rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-bottom-color: var(--ambre);
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%230e2d14' fill='none' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form__field select option {
  background: var(--bg-alt);
  color: var(--text);
}

.form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--vert-sapin);
  color: var(--blanc-casse);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.form__submit:hover {
  background: var(--ambre);
  color: var(--vert-sapin);
}

.form__submit:active { transform: scale(0.98); }

.form__success {
  background: rgba(247, 158, 0, 0.12);
  border: 1px solid var(--ambre);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
  display: none;
  margin-top: 1.25rem;
}

.form__success.is-visible { display: block; }

.form__hint {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 1rem;
  line-height: 1.5;
}

.form__hint a { color: var(--ambre); }

/* ============================================
   CTA bottom on project pages
   ============================================ */

.cta-bottom {
  padding: clamp(3rem, 6vh, 5rem) var(--gutter);
  background: var(--marron);
  color: var(--text-on-dark);
  text-align: center;
}

.cta-bottom h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 auto 0.8rem;
  max-width: 22ch;
  color: var(--blanc-casse);
}

.cta-bottom h2 .accent { color: var(--ambre); }

.cta-bottom p {
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  margin: 0 auto 1.75rem;
  max-width: 40ch;
}

.cta-bottom .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: var(--ambre);
  color: var(--vert-sapin);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--t-fast);
}

.cta-bottom .btn:hover { background: var(--blanc-casse); }

.cta-bottom .btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   ANIMATIONS RÉVÉLATION SCROLL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   PAGES LÉGALES
   ============================================ */

.legal {
  padding: 8rem var(--gutter) 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
}

.legal h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 2.25rem 0 1rem;
  color: var(--marron);
}

.legal p, .legal li {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.legal ul { padding-left: 1.5rem; }

.legal a { color: var(--ambre); }
.legal a:hover { text-decoration: underline; }

/* ============================================
   404
   ============================================ */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--gutter) 4rem;
  background: var(--bg);
}

.error-page h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 9rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-bottom: 1rem;
}

.error-page h1 .accent { color: var(--ambre); }

.error-page p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.error-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--vert-sapin);
  color: var(--blanc-casse);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--t-fast);
}

.error-page .btn:hover { background: var(--ambre); color: var(--vert-sapin); }
.error-page .btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
