/* Pépites Découvertes — catégories À faire autour d’ici — V10 */
body.a-faire-detail-body {
  --af-page:#fbfaf7; --af-surface:#fff; --af-ink:#161616; --af-text:#4c4b47; --af-muted:#77736c; --af-line:#e4e1da; --af-orange:#f05a28;
  --af-font-ui:"Montserrat",system-ui,sans-serif; --af-font-serif:"Lora",Georgia,serif;
  margin:0; background:var(--af-page); color:var(--af-ink); font-family:var(--af-font-ui);
}
body.a-faire-detail-body,body.a-faire-detail-body *,body.a-faire-detail-body *::before,body.a-faire-detail-body *::after{box-sizing:border-box}
body.a-faire-detail-body .a-faire-detail-main,body.a-faire-detail-body .v3-main-wrapper{margin:0;padding:0 0 clamp(42px,6vw,74px);overflow-x:clip;background:var(--af-page)}
body.a-faire-detail-body .p-header{position:relative;inset:auto;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--af-line);box-shadow:none;color:var(--af-ink);backdrop-filter:blur(12px)}
body.a-faire-detail-body .p-header__logo a,body.a-faire-detail-body .p-header__link,body.a-faire-detail-body .p-header__theme-btn{color:var(--af-ink);text-shadow:none}
body.a-faire-detail-body .p-header__link:hover,body.a-faire-detail-body .p-header__link:focus-visible{color:var(--af-orange)}
.af-detail{--af-shell:min(1180px,calc(100% - 48px));width:100%}.af-detail-shell{width:var(--af-shell);margin-inline:auto}.af-detail img{display:block;max-width:100%}
.af-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;color:var(--af-muted);font-size:.64rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.af-breadcrumb a,.af-breadcrumb span{color:inherit;text-decoration:none}.af-breadcrumb a:hover,.af-breadcrumb a:focus-visible,.af-breadcrumb span[aria-current="page"]{color:var(--af-accent);outline:0}.af-breadcrumb__sep{opacity:.55}
.af-simple-hero{padding:clamp(28px,4vw,54px) 0 18px;background:radial-gradient(circle at 10% 6%,color-mix(in srgb,var(--af-accent) 6%,transparent),transparent 32%),var(--af-page)}
.af-detail-hero__grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr);gap:clamp(28px,4.5vw,64px);align-items:center}.af-detail-hero__grid--text-only{grid-template-columns:minmax(0,780px)}
.af-detail-hero__eyebrow{display:inline-flex;align-items:center;gap:7px;min-height:27px;margin-bottom:13px;padding:5px 9px;border-radius:7px;color:var(--af-accent);background:var(--af-accent-soft);font-size:.63rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.af-detail-hero__copy h1{margin:0;max-width:680px;font-family:var(--af-font-serif);font-size:clamp(2.75rem,5vw,4.45rem);line-height:.98;letter-spacing:-.045em;text-wrap:balance}.af-detail-hero__copy h1::after{content:"";display:block;width:46px;height:3px;margin-top:13px;border-radius:99px;background:var(--af-orange)}
.af-detail-hero__subtitle{margin:14px 0 0;color:var(--af-accent);font-size:.86rem;font-weight:760}.af-detail-hero__lead{max-width:610px;margin:14px 0 0;color:var(--af-text);font-size:.9rem;line-height:1.7}.af-detail-hero__count{display:inline-flex;margin-top:14px;color:var(--af-muted);font-size:.65rem;font-weight:750}
.af-detail-hero__visual{margin:0;overflow:hidden;border:1px solid var(--af-line);border-radius:12px;aspect-ratio:16/8.9;background:var(--af-accent-soft);box-shadow:0 14px 38px rgba(25,31,28,.07)}.af-detail-hero__visual img{width:100%;height:100%;object-fit:cover;object-position:var(--af-hero-focus,50% 50%)}
.af-detail-note{display:flex;align-items:flex-start;gap:11px;margin-top:14px;padding:12px 15px;border:1px solid var(--af-line);border-radius:9px;background:#fff;color:var(--af-text)}.af-detail-note i{margin-top:2px;color:var(--af-accent)}.af-detail-note p{margin:0;font-size:.72rem;line-height:1.55}
.af-detail-list{margin-top:24px}.af-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.af-place-card{min-width:0;overflow:hidden;border:1px solid var(--af-line);border-radius:10px;background:var(--af-surface);box-shadow:0 8px 24px rgba(25,31,28,.035)}.af-place-card__link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.af-place-card__media{position:relative;overflow:hidden;aspect-ratio:16/9;background:var(--af-accent-soft)}.af-place-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.af-place-card:hover img{transform:scale(1.025)}
.af-place-card__media--empty{background:radial-gradient(circle at 25% 20%,color-mix(in srgb,var(--af-accent) 18%,transparent),transparent 31%),linear-gradient(135deg,var(--af-accent-soft),#f5f2ec)}.af-place-card__fallback{display:grid;place-content:center;gap:7px;width:100%;height:100%;color:var(--af-accent);text-align:center}.af-place-card__fallback i{font-size:2rem}.af-place-card__fallback small{font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.af-place-card__category,.af-place-card__route{position:absolute;top:10px;display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:4px 8px;border-radius:6px;font-size:.55rem;font-weight:800}.af-place-card__category{left:10px;color:#fff;background:color-mix(in srgb,var(--af-accent) 92%,#111)}.af-place-card__route{right:10px;color:var(--af-ink);background:rgba(255,255,255,.93);box-shadow:0 4px 12px rgba(0,0,0,.06)}
.af-place-card__body{display:flex;flex-direction:column;flex:1;padding:15px}.af-place-card__location{display:flex;align-items:center;gap:6px;margin:0 0 7px;color:var(--af-muted);font-size:.6rem}.af-place-card__location i{color:var(--af-accent)}.af-place-card__body h2{margin:0;font-family:var(--af-font-serif);font-size:1.08rem;line-height:1.2}.af-place-card__tags{margin:7px 0 0;color:var(--af-text);font-size:.67rem;line-height:1.48}
.af-place-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px}.af-place-card__access,.af-place-card__cta{display:inline-flex;align-items:center;gap:6px;font-size:.59rem;font-weight:800}.af-place-card__access.is-free{color:#397047}.af-place-card__access.is-paid{color:#8a5a22}.af-place-card__cta{color:var(--af-accent)}.af-place-card:hover h2,.af-place-card__link:focus-visible h2{color:var(--af-accent)}
.af-detail-bottom-note{display:flex;align-items:flex-start;gap:9px;margin-top:20px;padding:11px 0;border-top:1px solid var(--af-line);color:var(--af-muted);font-size:.65rem;line-height:1.5}.af-detail-bottom-note i{color:var(--af-accent);margin-top:2px}
@media(max-width:980px){.af-detail-hero__grid{grid-template-columns:1fr 1fr;gap:24px}.af-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.af-detail{--af-shell:min(100% - 28px,1180px)}.af-detail-hero__grid{grid-template-columns:1fr}.af-detail-hero__visual{aspect-ratio:16/9}.af-card-grid{grid-template-columns:1fr}.af-place-card{max-width:620px}.af-place-card__body h2{font-size:1.16rem}}
@media(max-width:480px){.af-detail{--af-shell:min(100% - 20px,1180px)}.af-place-card__footer{align-items:flex-start;flex-direction:column}}
html[data-theme="dark"] body.a-faire-detail-body,html.theme-dark body.a-faire-detail-body{--af-page:#111210;--af-surface:#181a18;--af-ink:#f5f2eb;--af-text:#d3cfc7;--af-muted:#aaa69e;--af-line:rgba(255,255,255,.13);color-scheme:dark}
html[data-theme="dark"] body.a-faire-detail-body .p-header,html.theme-dark body.a-faire-detail-body .p-header{background:rgba(18,19,17,.96)}
html[data-theme="dark"] body.a-faire-detail-body .p-header__logo a,html[data-theme="dark"] body.a-faire-detail-body .p-header__link,html[data-theme="dark"] body.a-faire-detail-body .p-header__theme-btn,html.theme-dark body.a-faire-detail-body .p-header__logo a,html.theme-dark body.a-faire-detail-body .p-header__link,html.theme-dark body.a-faire-detail-body .p-header__theme-btn{color:var(--af-ink)}
html[data-theme="dark"] .af-detail-note,html.theme-dark .af-detail-note{background:var(--af-surface)}
html[data-theme="dark"] .af-place-card__route,html.theme-dark .af-place-card__route{color:var(--af-ink);background:rgba(24,26,24,.93)}

/* ========================================================================== 
 * V10-C2 — catégories harmonisées + wrapper 1350 + modes de hero réels
 * ========================================================================== */
.af-detail{--af-shell:min(1350px,calc(100% - 48px))}
.af-detail-shell{width:var(--af-shell);margin-inline:auto}
.af-detail-hero{position:relative;isolation:isolate}
.af-detail-hero--simple,.af-detail-hero--compact{padding:clamp(34px,4.4vw,62px) 0 22px;background:radial-gradient(circle at 9% 7%,color-mix(in srgb,var(--af-accent) 7%,transparent),transparent 34%),var(--af-page)}
.af-detail-hero--standard{min-height:clamp(440px,52vh,590px);display:flex;align-items:flex-end;padding:70px 0 62px;color:#fff;background-image:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.42) 48%,rgba(0,0,0,.18)),var(--af-hero-image);background-size:cover;background-position:var(--af-hero-focus,50% 50%)}
.af-detail-hero--standard::after{content:"";position:absolute;inset:auto 0 0;height:110px;z-index:-1;background:linear-gradient(180deg,rgba(251,250,247,0),var(--af-page) 96%)}
.af-detail-hero--standard .af-breadcrumb,.af-detail-hero--standard .af-breadcrumb a,.af-detail-hero--standard .af-breadcrumb span{color:rgba(255,255,255,.82)}
.af-detail-hero--standard .af-detail-hero__eyebrow{color:#fff;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.13);backdrop-filter:blur(8px)}
.af-detail-hero--standard h1,.af-detail-hero--standard .af-detail-hero__subtitle,.af-detail-hero--standard .af-detail-hero__lead,.af-detail-hero--standard .af-detail-hero__count{color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.28)}
.af-detail-hero--standard .af-detail-hero__grid,.af-detail-hero--simple .af-detail-hero__grid{display:block}
.af-detail-hero__grid{grid-template-columns:minmax(0,.88fr) minmax(470px,1.12fr);gap:clamp(38px,5vw,78px)}
.af-detail-hero h1{max-width:760px;font-size:clamp(3.15rem,5.1vw,5rem)}
.af-detail-hero__subtitle{font-size:.98rem;line-height:1.48}.af-detail-hero__lead{max-width:690px;font-size:1.03rem;line-height:1.72}.af-detail-hero__count{font-size:.76rem}
.af-detail-note{padding:15px 18px}.af-detail-note p{font-size:.82rem;line-height:1.62}
.af-detail-list{margin-top:34px}.af-card-grid{gap:18px}.af-place-card__media{min-height:250px}.af-place-card__body{padding:20px 21px 19px}.af-place-card__body h2{font-size:1.38rem}.af-place-card__location,.af-place-card__tags{font-size:.77rem;line-height:1.55}.af-place-card__access,.af-place-card__cta{font-size:.72rem}
@media(max-width:980px){.af-detail{--af-shell:min(100% - 32px,1350px)}.af-detail-hero__grid{grid-template-columns:1fr 1fr;gap:30px}.af-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.af-detail{--af-shell:min(100% - 28px,1350px)}.af-detail-hero--simple,.af-detail-hero--compact{padding:26px 0 16px}.af-detail-hero--standard{min-height:430px;padding:54px 0 46px}.af-detail-hero__grid{grid-template-columns:1fr}.af-detail-hero h1{font-size:clamp(2.6rem,12vw,3.7rem)}.af-detail-hero__lead{font-size:.98rem}.af-card-grid{grid-template-columns:1fr}.af-place-card{max-width:none}.af-place-card__media{min-height:220px}}
@media(max-width:480px){.af-detail{--af-shell:min(100% - 20px,1350px)}}

/* ========================================================================== 
 * V10-C3 — le point de départ devient un contrôle compact dans la catégorie.
 * ========================================================================== */
.af-detail-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 17px;
}

.af-detail-hero__meta .af-detail-hero__count {
  margin-top: 0;
}

.af-detail-origin {
  appearance: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--af-accent) 32%, var(--af-line));
  border-radius: 8px;
  color: var(--af-ink);
  background: var(--af-surface);
  font: inherit;
  font-size: .7rem;
  font-weight: 680;
  cursor: pointer;
}

.af-detail-origin > i {
  color: var(--af-accent);
}

.af-detail-origin strong {
  color: var(--af-accent);
}

.af-detail-origin small {
  padding-left: 8px;
  border-left: 1px solid var(--af-line);
  color: var(--af-muted);
  font-size: .6rem;
  font-weight: 820;
  text-transform: uppercase;
}

.af-detail-origin:hover,
.af-detail-origin:focus-visible {
  border-color: var(--af-accent);
  background: color-mix(in srgb, var(--af-accent-soft) 48%, #fff);
  outline: 0;
}

.af-detail-hero--standard .af-detail-origin {
  color: #171717;
  border-color: #fff;
  background: #fff;
  text-shadow: none;
}

.af-detail-hero--standard .af-detail-origin small {
  color: #67645e;
  border-color: #ddd8cf;
}

.af-detail-hero--standard .af-detail-origin > i,
.af-detail-hero--standard .af-detail-origin strong {
  color: var(--af-accent);
}

@media (max-width: 520px) {
  .af-detail-origin {
    width: 100%;
    justify-content: flex-start;
  }

  .af-detail-origin small {
    margin-left: auto;
  }
}
