/* ================================================================
   CÔTE D'OR — Strength of Character
   ================================================================
   Structure (allégée session 5, sur retours Vincent) :
     1. Hero vidéo (loop) + titre + crédits discrets en overlay
     2. Film sur fond noir (l'essentiel du projet)
     3. Bouton see more / see less
     4. Bloc déplié vers le bas : KV packshot + 3 Biscoff,
        vignettes cliquables (lightbox)
   ================================================================ */


.cdo {
  position: relative;
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
}


/* ---- Hero ---- */

.cdo__hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF;
}
.cdo__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cdo__hero-voile {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0)   22%,
      rgba(0,0,0,0)   55%,
      rgba(0,0,0,0.7) 100%
    );
}
.cdo__hero-contenu {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: var(--espace-l) var(--padding-cote);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--espace-m);
}

.cdo__titre {
  font-family: var(--typo-titre);
  font-weight: 700;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-size: clamp(60px, 9vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin: 0;
}
.cdo__titre em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1, 'wght' 700;
  color: var(--couleur-accent);
}
.cdo__baseline {
  font-family: var(--typo-titre);
  font-style: italic;
  font-variation-settings: 'opsz' 24, 'SOFT' 50, 'WONK' 0, 'wght' 400;
  font-size: var(--taille-l);
  line-height: 1.25;
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,0.92);
}

/* Crédits client / agence : très discrets, en overlay sur la vidéo
   (remplacent l'ancien bandeau blanc sous le hero) */
.cdo__credits {
  font-family: var(--typo-corps);
  font-size: var(--taille-xs);
  font-variation-settings: 'wght' 500, 'wdth' 100;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255,255,255,0.55);
  margin: 0 0 var(--espace-m) 0;
}


/* ---- Film noir (l'essentiel) ---- */

.cdo__film-wrap {
  background-color: #0F0E0C;
  padding: var(--espace-l) var(--padding-cote) var(--espace-m);
}
.cdo__film {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.cdo__film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Le toggle est posé sur fond noir, dans la continuité du film */
.cdo__toggle {
  --projet-toggle-fond: #0F0E0C;
  --projet-toggle-bord: rgba(244, 240, 234, 0.28);
  --projet-toggle-texte: #F4F0EA;
}


/* ---- Bloc déplié : KV packshot + série Biscoff ---- */

.cdo__plus {
  background-color: #0F0E0C;
}

.cdo__kv-bloc {
  padding: var(--espace-m) var(--padding-cote) var(--espace-xl);
  display: flex;
  flex-direction: column;
  gap: var(--espace-m);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.cdo__kv-titre {
  font-family: var(--typo-corps);
  font-size: var(--taille-xs);
  font-variation-settings: 'wght' 500, 'wdth' 100;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: var(--espace-s);
}
.cdo__kv-titre::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: rgba(255,255,255,0.5);
}

/* KV packshot : taille contenue — pas besoin d'immense,
   le clic ouvre la lightbox pour le plein écran */
.cdo__kv {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 2 / 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
}
.cdo__kv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duree-moyenne) var(--ease-doux);
}
.cdo__kv:hover img { transform: scale(1.02); }

/* Biscoff : 3 vignettes en ligne */
.cdo__kv-biscoff-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.cdo__kv-biscoff {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  background-color: #f8f0e8;
}
.cdo__kv-biscoff img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duree-moyenne) var(--ease-doux);
}
.cdo__kv-biscoff:hover img { transform: scale(1.03); }


/* ---- Responsive ---- */

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