/**
 * Sketch & croquis v3 — gamme cards: identical size/style to loisirs créatifs.
 */

body.cf-univers-sketch-croquis-v3 .cf-sketch-v3-hero {
  isolation: isolate;
}

body.cf-univers-sketch-croquis-v3 .cf-sketch-v3-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Same collection grid rules as cf-univers-loisirs-creatifs-v3.css */
body.cf-univers-sketch-croquis-v3 .collections-section {
  padding: 0 40px 60px;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-content-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 0 20px;
  grid-auto-rows: 1fr;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-collection-card {
  display: flex;
  flex-direction: column;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transform: none;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-collection-card:hover {
  box-shadow: none;
  transform: none;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-col-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e6e6e6;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-collection-card:hover .cf-lc-v3-col-img img {
  transform: scale(1.04);
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-collection-card h2 {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-blue, #374296);
  margin: 15px 0 8px;
  padding: 0;
  letter-spacing: normal;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-card-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: #777;
  margin: -2px 0 10px;
  line-height: 1.3;
  text-align: left;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-pictos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 12px;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1.5px solid var(--cf-v3-primary-blue, #374296);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--cf-v3-primary-blue, #374296);
  white-space: nowrap;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag .material-symbols-outlined {
  font-size: 16px;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag--green {
  border-color: #3d9a5e;
  color: #3d9a5e;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag--pink {
  border-color: #c24c86;
  color: #c24c86;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag--dark {
  border-color: #1f1462;
  background: white;
  color: #1f1462;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-picto-tag--warm {
  border-color: #c07d3a;
  color: #c07d3a;
}

body.cf-univers-sketch-croquis-v3 .cf-lc-v3-block-desc {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: #555;
  margin: 0;
  text-align: left;
}

@media (max-width: 900px) {
  body.cf-univers-sketch-croquis-v3 .cf-sketch-v3-hero {
    min-height: 620px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-lc-v3-content-blocks {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-lc-v3-collection-card {
    min-width: 0;
  }

  body.cf-univers-sketch-croquis-v3 .cf-lc-v3-col-img {
    aspect-ratio: 4 / 3;
  }

  body.cf-univers-sketch-croquis-v3 .cf-lc-v3-col-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  body.cf-univers-sketch-croquis-v3 .cf-sketch-v3-hero {
    min-height: 560px;
    align-items: flex-end;
    padding-top: 180px;
  }
}

/* Comment choisir — sketchbook timeline (sketch page only) */
body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir {
  padding: 20px 40px 70px;
  text-align: left;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-lead {
  margin: 0 0 36px;
  max-width: 52rem;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(55, 66, 150, 0.35);
  font-family: 'Jost', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-guide {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-guide::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(55, 66, 150, 0.45) 0 6px,
    transparent 6px 12px
  );
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-row:last-child {
  border-bottom: none;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-mark {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf7f2;
  border: 2px solid var(--cf-v3-primary-blue, #374296);
  color: var(--cf-v3-primary-blue, #374296);
  box-shadow: 0 0 0 6px #faf7f2;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-mark .material-symbols-outlined {
  font-size: 24px;
}

body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-row-text {
  margin: 6px 0 0;
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2a2a2a;
}

@media (max-width: 640px) {
  body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir {
    padding: 20px 24px 50px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-guide::before {
    left: 19px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-mark {
    width: 40px;
    height: 40px;
  }

  body.cf-univers-sketch-croquis-v3 .cf-sc-v3-choisir-mark .material-symbols-outlined {
    font-size: 20px;
  }
}

