/* Version 2 « ultime » (13 sections) : thème et composants propres, par-dessus base.css (socle .tpl-c). */
.tpl-c--u {
  --c-bg: #fbf9f5;
  --c-alt: #f3efe7;
  --c-card: #fff;
  --c-text: #14304a;
  --c-muted: #4b5f72;
  --c-line: #ddd5c8;
  --c-cta: #b5431f;
  --c-cta-hover: #973617;
  --c-on-cta: #fff;
  --c-title: 'Manrope', system-ui, sans-serif;
  --c-title-weight: 800;
}
.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.u-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.u-badges li {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

/* 5. Vous aimerez */
.u-loves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.u-loves li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.u-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-alt);
  color: var(--c-cta);
}

/* 6. Accordéon d'itinéraire */
.u-acc {
  border-top: 1px solid var(--c-line);
}
.u-acc-item {
  border-bottom: 1px solid var(--c-line);
}
.tpl-c .u-acc-title {
  font-size: 18px;
}
.tpl-c .u-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.u-acc-meta {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
}
.u-acc-chevron {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.u-acc-btn[aria-expanded='true'] .u-acc-chevron {
  transform: rotate(-135deg);
}
.u-acc-panel {
  padding: 0 0 20px;
}
.u-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}
.tpl-c .u-step-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

/* Titres : hiérarchie plus nette, moins d'effet « mur de texte » sur mobile (audit du 11/11/2026). */
.tpl-c--u .c-h2 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.tpl-c--u .c-h3 {
  line-height: 1.3;
}
/* Espacements réduits sur mobile (13/11/2026) : page moins haute, sections plus serrées. */
@media (max-width: 820px) {
  .tpl-c--u .c-h2 {
    font-size: 26px;
  }
  .tpl-c--u .c-section {
    padding: 32px 0;
  }
  .tpl-c--u .c-stack {
    gap: 16px;
  }
  .tpl-c--u .c-hero-body {
    padding-top: 110px;
    padding-bottom: 20px;
  }
  .tpl-c--u .u-story {
    gap: 12px;
  }
  .tpl-c--u .u-step {
    gap: 12px;
  }
  .tpl-c--u .u-acc-panel {
    padding-bottom: 12px;
  }
  .tpl-c--u .f-form {
    gap: 12px;
    padding: 16px;
  }
  .tpl-c--u .c-contact {
    gap: 16px;
  }
  .tpl-c--u .c-grid3 {
    gap: 12px;
  }
  .tpl-c--u .c-card {
    padding: 16px;
  }
}

/* « Vous aimerez » : un paragraphe d'accroche en titrage, puis du texte courant de 17 px sur 62 caractères au plus. */
.tpl-c--u .u-story {
  display: grid;
  gap: 18px;
  max-width: 62ch;
}
.tpl-c--u .u-story .c-prose {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
}
.tpl-c--u .u-story .c-prose:first-child {
  font-family: var(--c-title);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

/* « Les départs » sans dates fixes : durée, départ et prix sont déjà dans le héros, inutile sur mobile. */
@media (max-width: 820px) {
  .u-departs-redundant {
    display: none;
  }
}

@media (max-width: 820px) {
  .u-loves,
  .u-step {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Tableau des départs : une carte par départ */
  .u-departs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .u-departs,
  .u-departs tbody,
  .u-departs tr,
  .u-departs td {
    display: block;
    width: 100%;
  }
  .u-departs tr {
    margin-bottom: 12px;
    padding: 8px 16px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-card);
  }
  .u-departs td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 0;
    padding: 6px 0;
  }
  .u-departs td::before {
    content: attr(data-label);
    flex: none;
    font-size: 14px;
    color: var(--c-muted);
  }
}
@media (prefers-reduced-motion: reduce) {
  .u-acc-chevron {
    transition: none;
  }
}

/* Héros : les lumières de Las Vegas sont dans le bas de la photo, on cale le cadrage dessus. */
.tpl-c--u .c-hero-img {
  object-position: center 82%;
}
.tpl-c--u .c-hero-veil {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.05) 100%);
}
@media (min-width: 821px) {
  .tpl-c--u .c-hero {
    min-height: calc(100svh - 11rem);
  }
}
/* Fond de repli du héros avant l'arrivée de la photo. */
.tpl-c--u .c-hero {
  background: #0b1220;
}
