/* Styles des pages : accueil (gabarit « Fidèle », d'après La Porte des Fagnes) puis pages intérieures */
.a-intro { text-align: center; }
.a-narrow { max-width: 52rem; }
.a-lead { font-size: 1.2rem; color: var(--night); }
.a-intro p:not(.a-lead) { color: var(--muted); text-align: left; }
.a-photos { margin-top: 2.5rem; }
.a-photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.a-photo img { width: 100%; height: 100%; object-fit: cover; }
.a-photo figcaption a { color: inherit; text-decoration: none; }
.a-photo figcaption a::after { content: ""; position: absolute; inset: -100vh -100vw; }
.a-photo:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.a-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .9rem; border-radius: 999px;
  background: var(--yellow); color: var(--night); font-weight: 800;
}
.a-split { display: grid; gap: 2rem; align-items: center; }
.a-split__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.a-cta { margin-top: 2rem; }
@media (min-width: 768px) {
  .a-split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
}

/* ==========================================================================
   Pages intérieures (même gabarit que l'accueil : bandeau photo + contenu)
   ========================================================================== */
.breadcrumb { padding-block: .9rem; font-size: var(--fs-small); color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin-block: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--night); font-weight: 600; }

.page-intro { max-width: 52rem; margin: 0 auto; text-align: center; }
.page-intro p { color: var(--muted); font-size: 1.1rem; }

.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border: 2px solid var(--green);
  border-radius: 999px; color: var(--green); font-weight: 700; text-decoration: none;
}
.subnav a:hover { background: var(--green); color: #fff; }

.block { display: grid; gap: 2rem; align-items: start; }
.block + .block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.block__media figcaption { margin-top: .5rem; color: var(--muted); font-size: var(--fs-small); }
.block__media { margin: 0; }
.block p { color: var(--muted); }
.block h2 { margin-bottom: .7rem; }

.price-card { padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.price-card + .price-card { margin-top: 1.5rem; }
.price-card .scroll { overflow-x: auto; }
.price-card .price-table td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--green); }
.price-card .price-table thead th:not(:first-child) { text-align: right; }
.price-card .price-table tbody th { font-weight: 600; }
.price-card ul { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
.price-card li { margin-bottom: .3rem; }
.big-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; margin: 0 0 1rem; }
.big-price strong { font-size: 2.4rem; color: var(--green); line-height: 1; }

.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--yellow); background: var(--yellow-200); border-radius: 8px; color: var(--night); }
.notice p:last-child { margin: 0; }

.keyvals { display: grid; gap: 1rem; margin: 0; }
.keyvals div { padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.keyvals dt { font-weight: 800; color: var(--night); }
.keyvals dd { margin: .2rem 0 0; color: var(--muted); }

.media-card { position: relative; }
.tile { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.tile .icon { width: 2.4rem; height: 2.4rem; color: var(--green); stroke-width: 1.6; }
.tile p { margin: 0; color: var(--muted); }

.cta-band { display: grid; gap: 1.2rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--green); color: #fff; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #d9eadf; }

/* Formulaire */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; }
.field .hint { color: var(--muted); font-size: var(--fs-small); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 2px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 1rem var(--font);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(19 107 58 / .2); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .error { color: #b42318; font-size: var(--fs-small); font-weight: 600; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.form-status--ok { background: var(--green-050); color: var(--green); }
.form-status--err { background: #fde8e8; color: #9b1c1c; }
.legal-small { color: var(--muted); font-size: var(--fs-small); }

/* Carte chargée à la demande (pas de cookie tiers avant consentement) */
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-050); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--night); }
.map__placeholder p { margin: 0; color: var(--muted); font-size: .95rem; }

.prose { max-width: 48rem; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink); }
.credit { color: var(--muted); font-size: var(--fs-small); font-style: italic; }

.submenu-toggle[data-current] { color: var(--green); }

@media (min-width: 768px) {
  .block { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
  .block--rev .block__media { order: 2; }
  .block--rev { grid-template-columns: 1.15fr 1fr; }
  .keyvals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr auto; }
  .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
@media (min-width: 1024px) {
  .submenu-toggle[data-current] { border-bottom-color: var(--yellow); }
}

/* Message d'erreur affiché sans JavaScript (retour de contact.php vers #envoi-erreur) */
.target-only { display: none; margin-bottom: 1rem; }
.target-only:target { display: block; }

/* Fil Facebook (module officiel Meta, chargé après accord du visiteur) */
.fb-feed { width: 100%; max-width: 500px; margin-inline: auto; }
.fb-feed iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.fb-feed__placeholder {
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.fb-feed__placeholder h3 { margin: 0; }
.fb-feed__placeholder p { margin: 0; color: var(--muted); font-size: .95rem; }
.fb-feed__placeholder .icon { width: 3rem; height: 3rem; padding: .5rem; border-radius: 12px; background: #1877f2; color: #fff; }
.fb-feed__placeholder a:not(.btn) { font-size: .95rem; font-weight: 600; }
