/* =========================================================================
   ZoKids : fiche structure (ZOK-034, 2026-09-25)
   Réutilise home.css (hero, stats, section-head) et
   location-structures-gonflables.css (galerie, tuiles prix, étapes, FAQ),
   chargées par $page_extra_styles. Ici : le propre des fiches.
   ========================================================================= */

.page-fiche-structure h1 em,
.page-fiche-structure h2 em {
  font-style: italic;
  color: var(--gold);
  font-family: inherit;
  font-weight: inherit;
}
.page-fiche-structure .final h2 em {
  color: var(--gold-2);
}
.page-fiche-structure .final .btn-ghost {
  border-color: rgba(246, 239, 227, .3);
  color: var(--cream);
  background: transparent;
}
.page-fiche-structure .final .btn-ghost:hover {
  background: rgba(246, 239, 227, .08);
  border-color: rgba(246, 239, 227, .5);
}
.page-fiche-structure .section-head--centered {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  margin-bottom: 48px;
}

/* ------- 1. Hero ------- */
.fiche-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.fiche-crumbs a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fiche-crumbs [aria-current] {
  font-weight: 600;
  color: var(--ink);
}
.page-fiche-structure .fiche-hero .hero-grid {
  align-items: center;
  padding-top: 32px;
}
.page-fiche-structure .fiche-hero h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  text-wrap: balance;
}
.page-fiche-structure .fiche-hero h1 em {
  white-space: normal;
}
.page-fiche-structure .fiche-hero .hero-photo {
  aspect-ratio: 5 / 4;
}
.page-fiche-structure .fiche-hero .hero-photo picture,
.page-fiche-structure .fiche-hero .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fiche-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 24px;
}
.fiche-price strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.fiche-price span {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 34ch;
}
.fiche-reassure {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-2);
}

/* ------- 2. Galerie + fiche technique ------- */
.gallery-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.fiche-video {
  display: block;
  width: 100%;
  margin-top: 20px;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.spec-table {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.spec-table > div {
  display: grid;
  grid-template-columns: minmax(130px, 38%) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  padding-top: 2px;
}
.spec-table dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ------- 3. Ce que les enfants y font ------- */
.page-fiche-structure .paragraphs {
  display: grid;
  gap: 14px;
}
.jeux-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .jeux-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .jeux-grid { grid-template-columns: 1fr; }
}
.jeux-grid li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.jeux-grid li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* ------- 4. Où l'installer ------- */
.lieux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .lieux-grid { grid-template-columns: 1fr; }
}
.lieu {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
.lieu h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.lieu p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ------- 5. Prix ------- */
.page-fiche-structure .fiche-pricing {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .page-fiche-structure .fiche-pricing { grid-template-columns: 1fr; }
}
.price-tile--total {
  background: var(--ink);
  border-color: var(--ink);
}
.price-tile--total .lbl,
.price-tile--total p,
.price-tile--total .val small {
  color: var(--gold-soft);
}
.price-tile--total .val {
  color: var(--cream);
}
.inclus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.inclus-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}
.inclus-list li::before {
  content: "✓";
  color: var(--moss);
  font-weight: 700;
}

/* ------- 8. L'autre structure ------- */
.autre-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 20px;
  color: inherit;
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}
.autre-card:hover,
.autre-card:focus-visible {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-md);
}
.autre-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-2);
}
.autre-photo picture,
.autre-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.autre-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 10px 0 12px;
  text-wrap: balance;
}
.autre-body p {
  color: var(--ink-2);
  max-width: 60ch;
}
.autre-body .more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--gold);
}
.autre-hub {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
}
.autre-hub a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .autre-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Colonnes de grille rétrécissables et bouton long repliable sur mobile */
.page-fiche-structure .struct-detail > * {
  min-width: 0;
}
.page-fiche-structure .struct-cta .btn {
  white-space: normal;
  text-align: left;
}

.gallery-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-2);
  opacity: .8;
}

/* Lien de la carte « Salle » vers la page salle (2026-09-25, ZOK-037) */
.lieu-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

/* Cartes structure avec devis, partagées par les pages salle et Hauts-de-Seine (2026-09-25) */
.salle-structs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.salle-struct {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.salle-struct-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-2);
}
.salle-struct-photo picture {
  position: absolute;
  inset: 0;
}
.salle-struct-photo picture,
.salle-struct-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.salle-struct-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 26, 59, .78);
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
}
.salle-struct-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: clamp(24px, 3vw, 36px);
}
.salle-struct-pour {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.salle-struct-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.salle-struct h3 {
  font-size: clamp(28px, 2.6vw, 36px);
}
.salle-struct-price {
  font-size: 14px;
  color: var(--ink-2);
}
.salle-struct-price strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}
.salle-struct-body > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.salle-struct-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 8px;
}
.salle-struct-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.salle-prix-note {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .salle-structs { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .salle-struct-ctas .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
