/* =========================================================================
   PAGES INTERNES — composants complémentaires (sur tokens + components).
   En-tête d'article, fil d'Ariane, prose, colonne latérale, listes, encadrés,
   tableau d'horaires, formulaire, bandeau CTA. Style « warm » du design system.
   ========================================================================= */

/* Dégage la hauteur de l'en-tête fixe (le fil d'Ariane ouvre les pages internes) */
#contenu { padding-top: 5.25rem; }

/* En-tête de page (hero compact) */
.page-header {
  background:
    radial-gradient(120% 140% at 100% 0, rgba(196,149,106,.14), transparent 55%),
    linear-gradient(180deg, var(--color-cream), #fff);
  border-bottom: 1px solid var(--border);
  padding-top: 2.4rem;
  padding-bottom: 2.6rem;
}
.page-header .container { max-width: var(--container); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl); font-weight: var(--fw-bold);
  color: var(--color-charcoal);
}
@media (min-width: 48rem) { .page-header h1 { font-size: var(--text-5xl); } }
.page-header p { color: var(--text-muted); font-size: var(--text-lg); max-width: 62ch; margin-bottom: 0; }

/* Fil d'Ariane */
.breadcrumb { padding-block: .9rem; font-size: var(--text-sm); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: var(--color-primary-400); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--color-copper); }
.breadcrumb [aria-current="page"] { color: var(--text-muted); }

/* Prose (contenu long) */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--text-2xl); margin-top: 2rem; }
.prose h3 { font-size: var(--text-xl); margin-top: 1.5rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* Deux colonnes : contenu + aside */
.layout-2col { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .layout-2col { grid-template-columns: minmax(0,1fr) 320px; align-items: start; } }

.aside-card {
  background: linear-gradient(160deg, #fff, var(--color-cream));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.aside-card h3 { font-family: var(--font-display); margin-top: 0; font-size: var(--text-lg); }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin-bottom: .55rem; }
.aside-card a { color: var(--color-copper); }

/* Section alternée claire */
.section-alt { background: var(--color-cream); }

/* Cartes cliquables + « en savoir plus » */
.card--link { display: block; text-decoration: none; color: inherit; transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard); }
.card--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--color-copper); font-weight: var(--fw-semibold); font-size: var(--text-sm); }
.card--link:hover .card__more { gap: .75rem; }

/* Liste de contrôle */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .05em;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  background: var(--color-copper); color: #fff; border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 800;
}

/* Encadré info */
.callout {
  background: linear-gradient(120deg, var(--color-cream), #fff);
  border: 1px solid var(--border); border-left: 4px solid var(--color-copper);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
}
.callout h2, .callout h3 { margin-top: 0; }

/* Bandeau CTA */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-dark); color: #fff; text-align: center;
  border-radius: var(--radius-2xl); padding: 2.6rem 1.8rem; box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  top: -150px; right: -110px; background: radial-gradient(circle, rgba(196,149,106,.35), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--color-charcoal); }

/* Bouton fantôme générique (repli) */
.btn--ghost { background: transparent; color: var(--color-copper); border-color: var(--color-primary-300); }
.btn--ghost:hover { background: var(--color-copper); color: #fff; border-color: var(--color-copper); }

/* Infos pratiques / horaires */
.info-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 45rem) { .info-grid { grid-template-columns: 1fr 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .6rem .2rem; border-bottom: 1px solid var(--border); }
.hours-table th { font-weight: var(--fw-semibold); color: var(--text); }
.hours-table td { color: var(--text-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-closed td { color: var(--color-error); font-weight: var(--fw-semibold); }

/* Formulaire */
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: var(--fw-semibold); margin-bottom: .4rem; }
.form-field .req { color: var(--color-error); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--color-primary-200);
  border-radius: var(--radius-lg); font: inherit; color: var(--text); background: #fff;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--color-copper); box-shadow: 0 0 0 4px rgba(196,149,106,.18);
}
.form-hint { font-size: var(--text-sm); color: var(--text-muted); margin-top: .35rem; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-lg); font-weight: var(--fw-semibold); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e7f2ea; color: #2f6b45; }
.form-status--error { background: #f7e6e6; color: #8a3b3b; }

/* Divers */
.lead { font-size: var(--text-lg); color: var(--text-muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
