/**
 * HESPERANS - Case Study Styles
 * ==============================
 * Styles pour les pages works refondues (Variante A: Scrollytelling)
 */

/* === VARIABLES LOCALES === */
:root {
  --cs-accent: #000000;
  --cs-accent-light: #f5f5f5;
  --cs-border: #e6e6e6;
  --cs-text-muted: #666666;
}

/* ===========================================
   HERO CASE STUDY
   =========================================== */

.cs-hero {
  padding: 60px 0 80px;
  background: var(--color-bg-white);
}

.cs-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Tag/Badge */
.cs-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cs-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  width: fit-content;
}

/* Titre */
.cs-hero__title {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-title);
  max-width: 800px;
  margin: 0;
}

.cs-hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--cs-text-muted);
  line-height: 1.5;
  max-width: 700px;
  margin: 0;
}

/* KPIs Grid */
.cs-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.cs-kpi {
  padding: 24px 20px;
  background: var(--cs-accent-light);
  border-radius: 12px;
  text-align: center;
}

.cs-kpi__value {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1;
  margin-bottom: 8px;
}

.cs-kpi__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ===========================================
   LAYOUT PRINCIPAL (2 colonnes)
   =========================================== */

.cs-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.cs-main {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ===========================================
   SECTIONS DE CONTENU
   =========================================== */

.cs-section {
  scroll-margin-top: 100px;
}

.cs-section__title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text-title);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cs-border);
}

.cs-section__intro {
  font-size: 17px;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===========================================
   CARDS ENJEUX
   =========================================== */

.cs-challenges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cs-challenge {
  padding: 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-left: 4px solid var(--cs-accent);
  border-radius: 0 12px 12px 0;
  transition: all 0.2s ease;
}

.cs-challenge:hover {
  border-left-color: var(--cs-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cs-challenge__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent-light);
  border-radius: 10px;
  margin-bottom: 16px;
}

.cs-challenge__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cs-accent);
}

.cs-challenge__title {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cs-challenge__desc {
  font-size: 14px;
  color: var(--cs-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===========================================
   BLOCS D'ACTIONS (Ce que j'ai fait)
   =========================================== */

.cs-actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cs-action {
  padding-left: 24px;
  border-left: 2px solid var(--cs-border);
}

.cs-action__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 12px;
}

.cs-action__desc {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin: 0;
}

/* ===========================================
   TIMELINE HORIZONTALE
   =========================================== */

.cs-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 40px 0 20px;
  margin: 24px 0;
}

.cs-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cs-border);
}

.cs-timeline__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  max-width: 160px;
}

.cs-timeline__dot {
  width: 16px;
  height: 16px;
  background: var(--cs-accent);
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cs-timeline__year {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 4px;
}

.cs-timeline__label {
  font-size: 12px;
  color: var(--cs-text-muted);
  line-height: 1.4;
}

/* ===========================================
   TABLEAU RESULTATS CLIENTS
   =========================================== */

.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.cs-result-card {
  padding: 24px 20px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  text-align: center;
}

.cs-result-card__client {
  font-size: 12px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cs-border);
}

.cs-result-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-result-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-result-card__value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1;
}

.cs-result-card__label {
  font-size: 11px;
  color: var(--cs-text-muted);
}

/* ===========================================
   SCHEMA 3P (People, Process, Performance)
   =========================================== */

.cs-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.cs-pillar {
  padding: 32px 24px;
  background: var(--cs-accent-light);
  border-radius: 16px;
  text-align: center;
}

.cs-pillar__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent);
  border-radius: 50%;
  margin: 0 auto 20px;
}

.cs-pillar__icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.cs-pillar__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 12px;
}

.cs-pillar__desc {
  font-size: 14px;
  color: var(--cs-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===========================================
   OFFRE / SERVICES
   =========================================== */

.cs-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cs-service-chip {
  padding: 10px 18px;
  background: var(--cs-accent-light);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-title);
}

.cs-products {
  margin-top: 32px;
  padding: 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
}

.cs-products__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}

.cs-products__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-product__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent);
  border-radius: 8px;
}

.cs-product__icon svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.cs-product__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-title);
}

/* ===========================================
   IMAGE EQUIPE
   =========================================== */

.cs-team-image {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
}

.cs-team-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-team-image__caption {
  padding: 16px 20px;
  background: var(--cs-accent-light);
  font-size: 13px;
  color: var(--cs-text-muted);
  text-align: center;
}

/* ===========================================
   LOGOS CLIENTS
   =========================================== */

.cs-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.cs-client-badge {
  padding: 12px 20px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-title);
}

/* ===========================================
   LISTE A PUCES AMELIOREE
   =========================================== */

.cs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.cs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--cs-accent);
  border-radius: 2px;
}

/* ===========================================
   SIDEBAR STICKY
   =========================================== */

.cs-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Metadata blocks */
.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: var(--cs-accent-light);
  border-radius: 16px;
}

.cs-meta__block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-meta__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cs-meta__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-title);
  line-height: 1.4;
}

/* Table of contents */
.cs-toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-toc__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cs-toc__link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cs-text-muted);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cs-toc__link:hover,
.cs-toc__link.is-active {
  background: var(--cs-accent-light);
  color: var(--color-text-title);
}

/* CTA Button */
.cs-sidebar__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-sidebar__cta .primary-btn {
  width: 100%;
  justify-content: center;
}

/* ===========================================
   SYNTHESE / TAKEAWAYS
   =========================================== */

.cs-takeaways {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.cs-takeaway {
  padding: 20px 16px;
  background: var(--cs-accent-light);
  border-radius: 12px;
  text-align: center;
}

.cs-takeaway__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent);
  border-radius: 50%;
  margin: 0 auto 12px;
}

.cs-takeaway__icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.cs-takeaway__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-title);
  line-height: 1.4;
}

/* ===========================================
   QUOTE / VERBATIM
   =========================================== */

.cs-quote {
  padding: 32px;
  background: var(--cs-accent);
  border-radius: 16px;
  margin: 40px 0;
}

.cs-quote__text {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 16px;
}

.cs-quote__author {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.cs-quote__title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.cs-quote__content {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

/* ===========================================
   IMAGE FLOTTANTE (dans le texte)
   =========================================== */

.cs-float-image {
  max-width: 280px;
  margin-bottom: 16px;
}

.cs-float-image--left {
  float: left;
  margin-right: 24px;
}

.cs-float-image--right {
  float: right;
  margin-left: 24px;
}

.cs-float-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.cs-float-image__caption {
  display: block;
  font-size: 12px;
  color: var(--cs-text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* ===========================================
   GALERIE (images avec ratio fixe)
   =========================================== */

.cs-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1200px) {
  .cs-layout {
    grid-template-columns: 1fr 260px;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .cs-hero__title {
    font-size: 38px;
  }

  .cs-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-layout {
    grid-template-columns: 1fr;
  }

  .cs-sidebar {
    position: static;
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .cs-meta {
    flex: 1;
    min-width: 280px;
  }

  .cs-toc {
    display: none;
  }

  .cs-challenges {
    grid-template-columns: 1fr;
  }

  .cs-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-pillars {
    grid-template-columns: 1fr;
  }

  .cs-takeaways {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .cs-hero {
    padding: 40px 0 60px;
  }

  .cs-hero__title {
    font-size: 28px;
  }

  .cs-hero__subtitle {
    font-size: 17px;
  }

  .cs-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cs-kpi {
    padding: 20px 16px;
  }

  .cs-kpi__value {
    font-size: 32px;
  }

  .cs-section__title {
    font-size: 22px;
  }

  .cs-main {
    gap: 48px;
  }

  .cs-float-image {
    float: none;
    max-width: 100%;
    margin: 0 0 24px 0;
  }

  .cs-float-image--left,
  .cs-float-image--right {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .cs-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 0 20px 30px;
  }

  .cs-timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    height: auto;
  }

  .cs-timeline__item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    max-width: none;
    gap: 16px;
  }

  .cs-timeline__dot {
    margin: 0;
    flex-shrink: 0;
  }

  .cs-timeline__content {
    display: flex;
    flex-direction: column;
  }

  .cs-results-grid {
    grid-template-columns: 1fr;
  }

  .cs-takeaways {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-sidebar {
    flex-direction: column;
  }

  .cs-meta {
    min-width: auto;
  }
}

@media (max-width: 479px) {
  .cs-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .cs-takeaways {
    grid-template-columns: 1fr;
  }
}


/* ===========================================================================
   VARIANTE B : FICHE MISSION / INVESTISSEMENT (Format compact)
   =========================================================================== */

/**
 * Variante B est un format plus compact, adapté aux pages missions
 * et investissements qui n'ont pas besoin du scrollytelling complet.
 * Structure : Header compact + Facts + Contenu + Skills/Takeaways
 */

/* === HEADER VARIANTE B === */

.csb-header {
  padding: 48px 0 40px;
  background: var(--color-bg-white);
}

.csb-header__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.csb-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  width: fit-content;
}

.csb-header__tag--mission {
  background: var(--cs-accent);
  color: #fff;
}

.csb-header__tag--investment {
  background: #e8f5e9;
  color: #2e7d32;
}

.csb-header__tag--entrepreneuriat {
  background: #fff3e0;
  color: #e65100;
}

.csb-header__tag--project {
  background: #e3f2fd;
  color: #1565c0;
}

.csb-header__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-title);
  margin: 0;
}

.csb-header__subtitle {
  font-size: 18px;
  color: var(--cs-text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 700px;
}

/* === FACTS BAR (Métadonnées inline) === */

.csb-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--cs-border);
  border-bottom: 1px solid var(--cs-border);
  margin-bottom: 40px;
}

.csb-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.csb-fact__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.csb-fact__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-title);
}

/* === KPIs COMPACTS (3-4 en ligne) === */

.csb-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 32px;
}

.csb-kpi {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
  padding: 20px 16px;
  background: var(--cs-accent-light);
  border-radius: 12px;
  text-align: center;
}

.csb-kpi__value {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1;
  margin-bottom: 4px;
}

.csb-kpi__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* === LAYOUT VARIANTE B === */

.csb-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.csb-layout--single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.csb-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.csb-section {
  scroll-margin-top: 80px;
}

.csb-section__title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.csb-section__title svg {
  width: 20px;
  height: 20px;
  stroke: var(--cs-accent);
  flex-shrink: 0;
}

.csb-section__content {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.csb-section__content p {
  margin: 0 0 16px;
}

.csb-section__content p:last-child {
  margin-bottom: 0;
}

/* === LISTE COMPACTE === */

.csb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.csb-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.csb-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--cs-accent);
  border-radius: 1px;
}

.csb-list li strong {
  color: var(--color-text-title);
}

/* === HIGHLIGHT BOX === */

.csb-highlight {
  padding: 20px 24px;
  background: var(--cs-accent-light);
  border-radius: 12px;
  border-left: 3px solid var(--cs-accent);
}

.csb-highlight__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.csb-highlight__content {
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin: 0;
}

/* === SKILLS / TAGS COMPACTS === */

.csb-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.csb-skill {
  padding: 6px 14px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-title);
}

.csb-skill--accent {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #fff;
}

/* === CARDS COMPACTES (pour résultats/missions) === */

.csb-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.csb-card {
  padding: 20px;
  background: var(--color-bg-white);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
}

.csb-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent-light);
  border-radius: 8px;
  margin-bottom: 12px;
}

.csb-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cs-accent);
}

.csb-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-title);
  margin: 0 0 6px;
}

.csb-card__desc {
  font-size: 13px;
  color: var(--cs-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* === SIDEBAR VARIANTE B === */

.csb-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.csb-sidebar__block {
  padding: 20px;
  background: var(--cs-accent-light);
  border-radius: 12px;
}

.csb-sidebar__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.csb-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.csb-sidebar__item {
  font-size: 14px;
  color: var(--color-text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.csb-sidebar__item svg {
  width: 14px;
  height: 14px;
  stroke: var(--cs-accent);
  flex-shrink: 0;
}

/* CTA Sidebar */
.csb-sidebar__cta {
  padding: 20px;
  background: var(--cs-accent);
  border-radius: 12px;
  text-align: center;
}

.csb-sidebar__cta-text {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 12px;
}

.csb-sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  color: var(--cs-accent);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.csb-sidebar__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* === TAKEAWAYS COMPACTS === */

.csb-takeaways {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.csb-takeaway {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cs-accent-light);
  border-radius: 8px;
}

.csb-takeaway__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cs-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.csb-takeaway__icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
}

.csb-takeaway__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-title);
}

/* === IMAGE VARIANTE B === */

.csb-image {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.csb-image img {
  width: 100%;
  height: auto;
  display: block;
}

.csb-image--gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.csb-image--gallery img {
  border-radius: 8px;
}

/* === RESPONSIVE VARIANTE B === */

@media (max-width: 991px) {
  .csb-layout {
    grid-template-columns: 1fr;
  }

  .csb-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .csb-sidebar__block {
    flex: 1;
    min-width: 200px;
  }

  .csb-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .csb-header {
    padding: 32px 0;
  }

  .csb-header__title {
    font-size: 26px;
  }

  .csb-header__subtitle {
    font-size: 16px;
  }

  .csb-facts {
    gap: 20px;
  }

  .csb-kpis {
    gap: 10px;
  }

  .csb-kpi {
    min-width: 100px;
    padding: 16px 12px;
  }

  .csb-kpi__value {
    font-size: 24px;
  }

  .csb-section__title {
    font-size: 18px;
  }

  .csb-sidebar {
    flex-direction: column;
  }

  .csb-sidebar__block {
    min-width: auto;
  }

  .csb-image--gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .csb-header__title {
    font-size: 22px;
  }

  .csb-kpis {
    flex-direction: column;
  }

  .csb-kpi {
    max-width: none;
  }

  .csb-facts {
    flex-direction: column;
    gap: 16px;
  }

  .csb-takeaways {
    flex-direction: column;
  }
}
