/*
 * Comment ca marche - polish classique LOGUETOWN.
 * Scope: .lt26-manifeste.ccm-page
 */

.lt26-manifeste.ccm-page {
  --ccm-bg: #071020;
  --ccm-surface: #0d1a2d;
  --ccm-surface-2: #111f34;
  --ccm-card: rgba(13, 26, 45, 0.92);
  --ccm-text: #f3ead8;
  --ccm-soft: rgba(243, 234, 216, 0.74);
  --ccm-muted: rgba(243, 234, 216, 0.56);
  --ccm-gold: #d4a017;
  --ccm-gold-strong: #f0c842;
  --ccm-line: rgba(212, 160, 23, 0.2);
  --ccm-line-strong: rgba(212, 160, 23, 0.34);
  --ccm-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--ccm-bg), #091426 44%, var(--ccm-bg));
  color: var(--ccm-text);
  font-family: Rajdhani, system-ui, sans-serif;
}

[data-theme="light"] .lt26-manifeste.ccm-page {
  --ccm-bg: #f5efe3;
  --ccm-surface: #fffaf0;
  --ccm-surface-2: #ffffff;
  --ccm-card: rgba(255, 250, 240, 0.94);
  --ccm-text: #17202a;
  --ccm-soft: rgba(23, 32, 42, 0.74);
  --ccm-muted: rgba(23, 32, 42, 0.56);
  --ccm-gold: #a86f12;
  --ccm-gold-strong: #d99a18;
  --ccm-line: rgba(138, 90, 15, 0.22);
  --ccm-line-strong: rgba(138, 90, 15, 0.36);
  --ccm-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
  background: linear-gradient(180deg, #f5efe3, #fffaf0 44%, #f4ead8);
}

.lt26-manifeste .ccm-container,
.lt26-manifeste .ccm-hero {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.lt26-manifeste .ccm-hero {
  min-height: auto;
  padding: calc(var(--gl-nav-h, 76px) + 3rem) 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.86fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.lt26-manifeste .ccm-hero__copy,
.lt26-manifeste .ccm-hero__visual {
  min-width: 0;
}

.lt26-manifeste .ccm-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lt26-manifeste .ccm-hero h1,
.lt26-manifeste .ccm-section h2 {
  margin: 0;
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.lt26-manifeste .ccm-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  line-height: 1.08;
}

.lt26-manifeste .ccm-section h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  line-height: 1.12;
}

.lt26-manifeste .ccm-hero__lead,
.lt26-manifeste .ccm-section-head p,
.lt26-manifeste .ccm-section-lead,
.lt26-manifeste .ccm-final p,
.lt26-manifeste .ccm-map-band p,
.lt26-manifeste .ccm-check-list {
  color: var(--ccm-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.lt26-manifeste .ccm-hero__lead {
  max-width: 660px;
  margin: 1rem 0 0;
}

.lt26-manifeste .ccm-hero__copy > .ccm-hero__lead:not(.ccm-hero__lead--clear) {
  display: none;
}

.lt26-manifeste .ccm-hero__actions,
.lt26-manifeste .ccm-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.lt26-manifeste .ccm-btn {
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ccm-line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.lt26-manifeste .ccm-btn:hover,
.lt26-manifeste .ccm-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--ccm-gold);
  background: rgba(212, 160, 23, 0.1);
  text-decoration: none;
}

.lt26-manifeste .ccm-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ccm-gold-strong), #b8860b);
  color: #071020;
}

.lt26-manifeste .ccm-btn--primary:hover,
.lt26-manifeste .ccm-btn--primary:focus-visible {
  background: linear-gradient(135deg, #f3cf62, #c18a10);
  color: #071020;
}

.lt26-manifeste .ccm-hero__stats {
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lt26-manifeste .ccm-hero__stats div,
.lt26-manifeste .ccm-visual-panel,
.lt26-manifeste .ccm-objective-grid article,
.lt26-manifeste .ccm-feature-card,
.lt26-manifeste .ccm-step,
.lt26-manifeste .ccm-trust-grid article {
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background: var(--ccm-card);
  box-shadow: var(--ccm-shadow);
}

.lt26-manifeste .ccm-hero__stats div {
  padding: 0.8rem;
}

.lt26-manifeste .ccm-hero__stats dt {
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lt26-manifeste .ccm-hero__stats dd {
  margin: 0.25rem 0 0;
  color: var(--ccm-soft);
  font-size: 0.9rem;
}

.lt26-manifeste .ccm-hero__visual {
  display: grid;
  gap: 0.85rem;
}

.lt26-manifeste .ccm-guide-card {
  padding: 1.15rem;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background: var(--ccm-card);
  box-shadow: var(--ccm-shadow);
}

.lt26-manifeste .ccm-guide-card .ccm-eyebrow {
  margin-bottom: 0.55rem;
}

.lt26-manifeste .ccm-guide-card h2 {
  margin: 0;
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.lt26-manifeste .ccm-guide-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.lt26-manifeste .ccm-guide-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid rgba(212, 160, 23, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

[data-theme="light"] .lt26-manifeste .ccm-guide-list article {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(138, 90, 15, 0.16);
}

.lt26-manifeste .ccm-guide-list article > span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(212, 160, 23, 0.13);
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-weight: 700;
}

.lt26-manifeste .ccm-guide-list h3 {
  margin: 0;
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.lt26-manifeste .ccm-guide-list p {
  margin: 0.22rem 0 0;
  color: var(--ccm-soft);
  line-height: 1.45;
}

.lt26-manifeste .ccm-mini-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.lt26-manifeste .ccm-mini-types a {
  min-width: 0;
  height: 72px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background: var(--ccm-card);
  color: var(--ccm-text);
  text-decoration: none;
}

.lt26-manifeste .ccm-mini-types img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.lt26-manifeste .ccm-mini-types span {
  min-width: 0;
  color: var(--ccm-soft);
  font-family: Cinzel, serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.lt26-manifeste .ccm-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.lt26-manifeste .ccm-type-card {
  height: clamp(135px, 12vw, 180px);
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background: var(--ccm-surface);
  color: #fff8e1;
  text-decoration: none;
}

.lt26-manifeste .ccm-type-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
  transition: transform 0.25s, filter 0.25s;
}

.lt26-manifeste .ccm-type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(5, 10, 26, 0.74));
}

.lt26-manifeste .ccm-type-card span {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: Cinzel, serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lt26-manifeste .ccm-type-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.lt26-manifeste .ccm-visual-panel {
  padding: 1rem;
}

.lt26-manifeste .ccm-visual-panel span,
.lt26-manifeste .ccm-feature-card span,
.lt26-manifeste .ccm-objective-grid article span {
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lt26-manifeste .ccm-visual-panel strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.lt26-manifeste .ccm-visual-panel p {
  margin: 0.55rem 0 0;
  color: var(--ccm-soft);
  line-height: 1.55;
}

.lt26-manifeste .ccm-section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--ccm-line);
}

.lt26-manifeste .ccm-section--intro,
.lt26-manifeste .ccm-section--split,
.lt26-manifeste .ccm-section--map {
  background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .lt26-manifeste .ccm-section--intro,
[data-theme="light"] .lt26-manifeste .ccm-section--split,
[data-theme="light"] .lt26-manifeste .ccm-section--map {
  background: rgba(255, 255, 255, 0.24);
}

.lt26-manifeste .ccm-section-head {
  max-width: 840px;
  margin-bottom: 1.7rem;
}

.lt26-manifeste .ccm-section-head p,
.lt26-manifeste .ccm-section-lead {
  max-width: 680px;
  margin: 0.85rem 0 0;
}

.lt26-manifeste .ccm-objective-grid,
.lt26-manifeste .ccm-feature-grid,
.lt26-manifeste .ccm-trust-grid {
  display: grid;
  gap: 0.9rem;
}

.lt26-manifeste .ccm-objective-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.lt26-manifeste .ccm-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lt26-manifeste .ccm-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lt26-manifeste .ccm-objective-grid article,
.lt26-manifeste .ccm-feature-card,
.lt26-manifeste .ccm-trust-grid article {
  padding: 1rem;
}

.lt26-manifeste .ccm-objective-grid h3,
.lt26-manifeste .ccm-feature-card h3,
.lt26-manifeste .ccm-step h3,
.lt26-manifeste .ccm-trust-grid strong {
  margin: 0.55rem 0 0;
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  line-height: 1.25;
}

.lt26-manifeste .ccm-objective-grid p,
.lt26-manifeste .ccm-feature-card p,
.lt26-manifeste .ccm-step p,
.lt26-manifeste .ccm-trust-grid span {
  color: var(--ccm-soft);
  line-height: 1.6;
}

.lt26-manifeste .ccm-feature-card p,
.lt26-manifeste .ccm-objective-grid p {
  margin-bottom: 0;
}

.lt26-manifeste .ccm-two-col,
.lt26-manifeste .ccm-map-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lt26-manifeste .ccm-two-col--reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.88fr);
}

.lt26-manifeste .ccm-steps {
  display: grid;
  gap: 0.75rem;
}

.lt26-manifeste .ccm-step {
  padding: 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
}

.lt26-manifeste .ccm-step > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ccm-line-strong);
  border-radius: 6px;
  background: rgba(212, 160, 23, 0.12);
  color: var(--ccm-gold);
  font-family: Cinzel, serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.lt26-manifeste .ccm-step h3 {
  margin-top: 0;
}

.lt26-manifeste .ccm-step p {
  margin: 0.3rem 0 0;
}

.lt26-manifeste .ccm-check-list {
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}

.lt26-manifeste .ccm-check-list li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.45rem 0;
}

.lt26-manifeste .ccm-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--ccm-gold);
}

.lt26-manifeste .ccm-map-preview {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 23, 0.04) 1px, transparent 1px),
    var(--ccm-surface-2);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  box-shadow: var(--ccm-shadow);
}

.lt26-manifeste .ccm-map-dot {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--ccm-line-strong);
  background: rgba(212, 160, 23, 0.16);
}

.lt26-manifeste .ccm-map-dot::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--ccm-gold);
}

.lt26-manifeste .ccm-map-dot--a { left: 16%; top: 18%; }
.lt26-manifeste .ccm-map-dot--b { right: 18%; top: 26%; width: 78px; height: 78px; }
.lt26-manifeste .ccm-map-dot--b::after { inset: 30px; }
.lt26-manifeste .ccm-map-dot--c { left: 38%; bottom: 18%; }
.lt26-manifeste .ccm-map-dot--d { right: 26%; bottom: 16%; width: 48px; height: 48px; }
.lt26-manifeste .ccm-map-dot--d::after { inset: 18px; }

.lt26-manifeste .ccm-map-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: min(250px, calc(100% - 2rem));
  padding: 0.9rem;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  background: var(--ccm-card);
  box-shadow: var(--ccm-shadow);
}

.lt26-manifeste .ccm-map-card strong,
.lt26-manifeste .ccm-map-card span,
.lt26-manifeste .ccm-trust-grid strong,
.lt26-manifeste .ccm-trust-grid span {
  display: block;
}

.lt26-manifeste .ccm-map-card strong {
  color: var(--ccm-text);
  font-family: Cinzel, Georgia, serif;
}

.lt26-manifeste .ccm-map-card span {
  margin-top: 0.25rem;
  color: var(--ccm-soft);
}

.lt26-manifeste .ccm-final {
  text-align: center;
}

.lt26-manifeste .ccm-final .ccm-container {
  max-width: 840px;
}

.lt26-manifeste .ccm-final h2 {
  margin-inline: auto;
}

.lt26-manifeste .ccm-final p {
  max-width: 700px;
  margin: 1rem auto 0;
}

.lt26-manifeste .ccm-final .ccm-hero__actions {
  justify-content: center;
}

@media (max-width: 1120px) {
  .lt26-manifeste .ccm-hero,
  .lt26-manifeste .ccm-two-col,
  .lt26-manifeste .ccm-two-col--reverse,
  .lt26-manifeste .ccm-map-band {
    grid-template-columns: 1fr;
  }

  .lt26-manifeste .ccm-hero__visual {
    max-width: 760px;
  }

  .lt26-manifeste .ccm-feature-grid,
  .lt26-manifeste .ccm-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lt26-manifeste .ccm-container,
  .lt26-manifeste .ccm-hero {
    width: min(100% - 1.25rem, 1160px);
  }

  .lt26-manifeste .ccm-hero {
    padding: calc(var(--gl-nav-h, 64px) + 2rem) 0 3rem;
  }

  .lt26-manifeste .ccm-hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .lt26-manifeste .ccm-section h2 {
    font-size: clamp(1.65rem, 8vw, 2.45rem);
  }

  .lt26-manifeste .ccm-hero__stats,
  .lt26-manifeste .ccm-objective-grid,
  .lt26-manifeste .ccm-feature-grid,
  .lt26-manifeste .ccm-trust-grid {
    grid-template-columns: 1fr;
  }

  .lt26-manifeste .ccm-type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .lt26-manifeste .ccm-mini-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lt26-manifeste .ccm-type-card {
    height: 138px;
  }

  .lt26-manifeste .ccm-hero__actions,
  .lt26-manifeste .ccm-inline-actions {
    width: 100%;
  }

  .lt26-manifeste .ccm-btn {
    width: 100%;
  }

  .lt26-manifeste .ccm-map-preview {
    min-height: 280px;
  }
}

@media (max-width: 440px) {
  .lt26-manifeste .ccm-type-grid {
    grid-template-columns: 1fr;
  }

  .lt26-manifeste .ccm-mini-types {
    grid-template-columns: 1fr;
  }

  .lt26-manifeste .ccm-type-card {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt26-manifeste .ccm-type-card img,
  .lt26-manifeste .ccm-btn {
    transition: none;
  }
}

/*
 * Compatibility pass for the former hero markup.
 * Some cached/live pages can still render .ccm-type-grid + .ccm-visual-panel.
 * Keep that version readable and secondary instead of letting the image mosaic dominate.
 */
.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) {
  align-self: center;
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-grid {
  order: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-card {
  height: 92px;
  border-radius: 8px;
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-card img {
  filter: saturate(0.85) contrast(0.9) brightness(0.72);
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-card::after {
  background: linear-gradient(180deg, rgba(5, 10, 26, 0.1), rgba(5, 10, 26, 0.82));
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-card span {
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.48rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-visual-panel {
  order: 1;
  padding: 1.15rem;
  background:
    linear-gradient(135deg, rgba(212, 160, 23, 0.09), transparent 44%),
    var(--ccm-card);
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-visual-panel strong {
  max-width: 15ch;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-visual-panel p {
  max-width: 52ch;
  font-size: 0.96rem;
}

@media (max-width: 760px) {
  .lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lt26-manifeste .ccm-hero__visual:has(.ccm-type-grid) .ccm-type-card {
    height: 118px;
  }
}
