/*
Theme Name: Choix SN — Enfant
Theme URI: https://choixsn.com
Description: Thème enfant pour le site vitrine LUTs cinématiques & matériel audiovisuel. Templates codés (sans Elementor) pour les fiches LUT, Matériel et Réalisateur.
Author: Choix SN
Template: hello-elementor
Version: 1.0.0
Text Domain: choix-child
*/

/* ============================================================
   VARIABLES — Charte cinématique sombre
   ============================================================ */
:root {
  --bg:          #0c0c0d;
  --surface:     #141416;
  --surface-2:   #1c1c1f;
  --border:      rgba(255,255,255,.08);
  --border-hover:rgba(255,255,255,.16);
  --text:        #f0ede8;
  --text-muted:  #9c9a92;
  --text-dim:    #5f5e5a;
  --accent:      #c9a96e;
  --accent-dim:  rgba(201,169,110,.15);
  --whatsapp:    #25d366;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --font:        'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:        'DM Mono', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   BASE
   ============================================================ */
body.choix-single {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

.choix-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ============================================================
   FICHE LUT
   ============================================================ */
.lut-single {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .lut-single { grid-template-columns: 1fr; gap: 28px; }
}

/* Comparaison avant/après (slider CSS pur) */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: var(--surface-2);
}
.ba img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__line {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 2px;
  background: rgba(255,255,255,.95);
  transform: translateX(-50%);
  pointer-events: none; z-index: 5;
}
.ba__handle {
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  z-index: 6;
}
.ba__handle svg { width: 20px; height: 20px; }
.ba__badge {
  position: absolute; top: 14px; z-index: 4;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 4px;
  background: rgba(0,0,0,.65); color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
.ba__badge--before { left: 14px; }
.ba__badge--after  { right: 14px; }

/* Colonne infos */
.lut-info__cats { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.lut-info__cat {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 3px 10px; border-radius: 4px; text-decoration: none;
}
.lut-info__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300; letter-spacing: -.02em;
  margin: 0 0 12px; color: var(--text);
}
.lut-info__price {
  font-family: var(--mono); font-size: 26px;
  font-weight: 500; color: var(--accent);
  margin-bottom: 24px;
}
.lut-info__section { margin-bottom: 20px; }
.lut-info__label {
  font-size: 11px; font-weight: 500; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 8px;
}
.lut-info__softwares { display:flex; flex-wrap:wrap; gap:6px; }
.lut-info__software {
  font-size: 12px; padding: 4px 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted);
}
.lut-info__format {
  font-family: var(--mono); font-size: 13px;
  color: var(--text); padding: 4px 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: inline-block;
}

/* Bloc réalisateur */
.director-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  margin-bottom: 20px; text-decoration: none;
  transition: border-color .15s;
}
.director-card:hover { border-color: var(--border-hover); }
.director-card__photo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--surface-2);
}
.director-card__name { font-size: 14px; font-weight: 500; color: var(--text); }
.director-card__role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.director-card__arrow { margin-left: auto; color: var(--text-dim); }

/* Bouton WhatsApp */
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 24px;
  background: var(--whatsapp); color: #04261a;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  border-radius: var(--radius-md); text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.wa-btn:hover { opacity: .92; }
.wa-btn:active { transform: scale(.99); }
.wa-btn svg { width: 20px; height: 20px; }
.wa-note {
  font-size: 12px; color: var(--text-dim);
  text-align: center; margin-top: 10px;
}

/* ============================================================
   FICHE MATÉRIEL
   ============================================================ */
.mat-single {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: start;
}
@media (max-width: 900px) {
  .mat-single { grid-template-columns: 1fr; gap: 28px; }
}
.mat-gallery {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.mat-gallery__main { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--surface-2); }
.mat-gallery__thumbs { display: flex; gap: 8px; padding: 8px; background: var(--surface); overflow-x: auto; }
.mat-gallery__thumb {
  width: 72px; height: 54px; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent; flex-shrink: 0;
}
.mat-gallery__thumb.is-active { border-color: var(--accent); }

.mat-info__cat {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: 8px;
}
.mat-info__title {
  font-size: clamp(22px, 3vw, 30px); font-weight: 300;
  letter-spacing: -.02em; margin: 0 0 6px;
}
.mat-info__brand { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.mat-info__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-family: var(--mono);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
}
.mat-info__badge--dispo { background: rgba(37,211,102,.12); color: #7ee0a4; }
.mat-info__badge--indispo { background: rgba(224,85,85,.12); color: #e58080; }

.mat-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.mat-price {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px; text-align: center;
}
.mat-price__label {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.mat-price__value { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--text); }
.mat-price__value--accent { color: var(--accent); }
.mat-price__unit { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.mat-info__state {
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}
.mat-info__state strong { color: var(--text); font-weight: 500; }

/* ============================================================
   FICHE RÉALISATEUR
   ============================================================ */
.director-single { max-width: 900px; margin: 0 auto; }
.director-hero {
  display: flex; gap: 28px; align-items: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.director-hero__photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent);
}
.director-hero__name { font-size: 32px; font-weight: 300; letter-spacing: -.02em; margin: 0 0 6px; }
.director-hero__role { font-size: 14px; color: var(--accent); font-family: var(--mono); }
.director-hero__bio { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 14px; max-width: 480px; }
.director-contacts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.director-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); color: var(--text-muted);
  text-decoration: none; font-size: 13px; transition: all .15s;
}
.director-contact:hover { border-color: var(--accent); color: var(--accent); }
.director-contact--wa { background: var(--whatsapp); color: #04261a; border-color: transparent; }
.director-contact--wa:hover { opacity: .92; color: #04261a; }

.director-luts__title { font-size: 20px; font-weight: 300; margin: 40px 0 20px; padding-top: 32px; border-top: 1px solid var(--border); }
.director-luts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.lut-mini {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.lut-mini:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.lut-mini__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.lut-mini__body { padding: 12px 14px; }
.lut-mini__title { font-size: 14px; color: var(--text); margin-bottom: 4px; }
.lut-mini__price { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* Fil d'ariane */
.choix-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.choix-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.choix-breadcrumb a:hover { color: var(--accent); }
.choix-breadcrumb span { color: var(--text-dim); margin: 0 8px; }

/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 90px 24px 80px;
  text-align: center;
}
.hero__inner { max-width: 680px; margin: 0 auto; }
.hero__eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(30px, 5vw, 52px); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.15; margin: 0 0 20px; color: var(--text);
}
.hero__sub {
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
  max-width: 520px; margin: 0 auto 36px;
}
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: opacity .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: #1a1408; }
.btn--primary:hover { opacity: .9; }
.btn--ghost { border: 1px solid var(--border-hover); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.home-section { padding: 56px 24px; }
.home-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.home-section__title { font-size: 26px; font-weight: 300; letter-spacing: -.02em; margin: 0; color: var(--text); }
.home-section__sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.home-section__link { font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.home-section__link:hover { text-decoration: underline; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step__num {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px; font-weight: 500;
}
.step__title { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.step__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   GRILLES
   ============================================================ */
.grid-luts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.grid-mat  { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.grid-rea  { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.grid-rea--index { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* ---- Carte LUT ---- */
.card-lut {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card-lut:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-lut__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); }
.card-lut__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-lut__img--after { opacity: 1; transition: opacity .4s; }
.card-lut__img--before { opacity: 0; transition: opacity .4s; }
.card-lut:hover .card-lut__img--before { opacity: 1; }
.card-lut:hover .card-lut__img--after { opacity: 0; }
.card-lut__hint {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(0,0,0,.6); color: rgba(255,255,255,.8);
  padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s;
}
.card-lut:hover .card-lut__hint { opacity: 0; }
.card-lut__body { padding: 14px 16px; }
.card-lut__title { font-size: 15px; color: var(--text); margin-bottom: 3px; }
.card-lut__author { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.card-lut__price { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--accent); }

/* ---- Carte Matériel ---- */
.card-mat {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card-mat:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-mat__media { position: relative; aspect-ratio: 4/3; background: var(--surface-2); }
.card-mat__img { width: 100%; height: 100%; object-fit: cover; }
.card-mat__badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 20px;
}
.card-mat__badge--dispo { background: rgba(37,211,102,.15); color: #7ee0a4; }
.card-mat__badge--indispo { background: rgba(224,85,85,.15); color: #e58080; }
.card-mat__body { padding: 14px 16px; }
.card-mat__cat { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 5px; }
.card-mat__title { font-size: 15px; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.card-mat__prices { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.card-mat__price { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); }
.card-mat__price--loc { color: var(--accent); font-size: 12px; }

/* ---- Carte Réalisateur ---- */
.card-rea {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; padding: 20px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color .2s, transform .2s;
}
.card-rea:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-rea__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 1px solid var(--border); }
.card-rea--lg .card-rea__photo { width: 96px; height: 96px; }
.card-rea__name { font-size: 14px; font-weight: 500; color: var(--text); }
.card-rea__role { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-top: 3px; }
.card-rea__count { font-size: 11px; color: var(--text-dim); margin-top: 8px; }

/* ============================================================
   CATALOGUES + FILTRES
   ============================================================ */
.catalogue__header { padding: 48px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.catalogue__title { font-size: clamp(26px, 4vw, 40px); font-weight: 300; letter-spacing: -.02em; margin: 0 0 8px; color: var(--text); }
.catalogue__sub { font-size: 14px; color: var(--text-muted); }

.filters {
  display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.filters__group { display: flex; flex-direction: column; gap: 6px; }
.filters__label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); }
.filters__select {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 12px; color: var(--text); font-family: var(--font); font-size: 13px;
  min-width: 180px; cursor: pointer; outline: none;
}
.filters__select:focus { border-color: var(--accent); }
.filters__pills { display: flex; gap: 6px; }
.filters__pill {
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); text-decoration: none;
  transition: all .15s;
}
.filters__pill:hover { border-color: var(--border-hover); color: var(--text); }
.filters__pill.is-active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.filters__reset { font-size: 12px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; align-self: center; }
.filters__reset:hover { color: var(--accent); }
.filters__count { margin-left: auto; align-self: center; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

.catalogue__empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.catalogue__empty a { display: inline-block; margin-top: 14px; color: var(--accent); text-decoration: none; border: 1px solid var(--accent); padding: 8px 20px; border-radius: var(--radius-md); }
