/* ============================================================
   NESL v2026_01 : page "Accommodation" (template accommodation.php)
   Design "Redesign · Accommodation page". Charge uniquement sur cette page (layout.php),
   apres experience-london.css dont il reutilise les composants communs (xl-wrap, xl-crumb,
   xl-eyebrow, xl-h2, xl-sub, xl-sec, xl-btn, xl-video__play).
   ============================================================ */
.ac{ --ac-line:#DCE8F2; --ac-brick:#B5472F; }
.ac-stack{ display:flex; flex-direction:column; gap:28px; }
.ac-head{ max-width:760px; }

/* ---------- 1. introduction ---------- */
.ac-hero{ padding:64px var(--xl-gut) 72px;
  background:radial-gradient(680px 340px at 88% -8%, rgba(124,92,252,.16), transparent 60%),
             radial-gradient(560px 320px at 6% 4%, rgba(24,144,216,.16), transparent 62%),
             linear-gradient(180deg, #F3F9FE, #FFFFFF); }
.ac-hero__in{ display:flex; flex-wrap:wrap; gap:56px; align-items:center; }
.ac-hero__txt{ flex:1 1 540px; display:flex; flex-direction:column; gap:22px; min-width:0; }
.ac-pill{ align-self:flex-start; display:inline-flex; align-items:center; height:38px; padding:0 18px; border-radius:999px; background:linear-gradient(135deg, #1890D8, #7C5CFC); box-shadow:0 8px 20px rgba(24,144,216,.14); color:#fff; font-size:15px; font-weight:700; }
.ac-h1{ margin:0; font-size:clamp(36px, 5vw, 58px); line-height:1.05; font-weight:800; letter-spacing:-.025em;
  background:linear-gradient(120deg, #0F1B2D 0%, #1276B3 60%, #7C5CFC 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.ac-lead{ margin:0; font-size:19px; line-height:1.7; color:var(--xl-muted); max-width:620px; }
.ac-chips{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:12px; }
.ac-chips li{ display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #E5EEFB; border-radius:14px; padding:12px 18px 12px 12px; box-shadow:0 6px 16px rgba(24,144,216,.1); font-size:16px; font-weight:700; }
.ac-chips__ic{ width:40px; height:40px; flex:0 0 40px; border-radius:10px; background:linear-gradient(135deg, #1890D8, #7C5CFC); color:#fff; display:flex; align-items:center; justify-content:center; }
.ac-hero__img{ flex:1 1 400px; min-width:0; max-width:100%; height:440px; object-fit:cover; border-radius:20px; }

/* ---------- 2. hebergements mis en avant ---------- */
.ac-feat{ padding-bottom:40px; }
.ac-tabs{ display:flex; flex-wrap:wrap; gap:10px; }
.ac-tabs a{ height:40px; padding:0 16px; display:inline-flex; align-items:center; border-radius:999px; background:var(--xl-blue-l); color:var(--xl-blue-d); font-size:15px; font-weight:700; text-decoration:none; }
.ac-tabs a.is-on, .ac-tabs a:hover{ background:var(--xl-blue); color:#fff; }
.ac-card{ scroll-margin-top:110px; display:flex; flex-wrap:wrap; background:#fff; border-radius:20px; overflow:hidden; border:1px solid var(--xl-line); box-shadow:0 2px 4px rgba(15,27,45,.04), 0 16px 40px rgba(15,27,45,.10); }
.ac-card__media{ position:relative; flex:1 1 460px; min-width:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); grid-template-rows:minmax(280px, 1fr) 160px; gap:6px; padding:6px; box-sizing:border-box; }
.ac-card--rev .ac-card__media{ order:2; }
.ac-card__big{ grid-column:span 2; width:100%; height:100%; object-fit:cover; border-radius:16px 16px 6px 6px; border:0; display:block; background:#CFE6F6; }
.ac-card__small{ width:100%; height:100%; object-fit:cover; border-radius:6px 6px 6px 16px; display:block; background:#EAF4FB; }
.ac-card__small + .ac-card__small{ border-radius:6px 6px 16px 6px; }
.ac-card__media > .ac-card__small:only-of-type{ grid-column:span 2; border-radius:6px 6px 16px 16px; }
.ac-yt{ position:relative; padding:0; cursor:pointer; overflow:hidden; }
.ac-yt img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ac-yt::after{ content:""; position:absolute; inset:0; background:rgba(15,27,45,.35); }
.ac-yt .xl-video__play{ z-index:1; width:72px; height:72px; margin:-36px 0 0 -36px; }
.ac-yt__cap{ position:absolute; z-index:1; left:0; right:0; bottom:18px; text-align:center; color:#fff; font-size:16px; font-weight:700; }
.ac-yt:focus-visible{ outline:3px solid var(--xl-blue); outline-offset:3px; }
.ac-badge{ position:absolute; top:20px; left:20px; display:inline-flex; align-items:center; height:30px; padding:0 12px; border-radius:999px; background:var(--ac-brick); color:#fff; font-size:13px; font-weight:700; }
.ac-card__body{ flex:1 1 520px; min-width:0; padding:36px 40px; box-sizing:border-box; display:flex; flex-direction:column; gap:24px; }
.ac-card__head{ display:flex; flex-direction:column; gap:6px; }
.ac-card__head h3{ margin:0; font-size:26px; font-weight:800; }
.ac-card__head p{ margin:0; font-size:16px; line-height:1.6; color:var(--xl-muted); }
.ac-ft{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:14px 24px; }
.ac-ft--col{ grid-template-columns:1fr; gap:10px; }
.ac-ft li{ display:flex; align-items:center; gap:10px; font-size:15px; font-weight:600; color:var(--xl-text); min-height:28px; }
.ac-ft a{ color:var(--xl-text); text-decoration:none; }
.ac-ft a:hover{ color:var(--xl-blue-d); }
.ac-ft__ic{ flex:0 0 auto; color:var(--xl-blue); display:flex; }
.ac-prices{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:10px; }
.ac-price{ border:1px solid var(--ac-line); border-radius:12px; padding:14px 16px; display:flex; flex-direction:column; gap:4px; }
.ac-price__l{ font-size:13px; color:var(--xl-muted); }
.ac-price__v{ font-size:20px; font-weight:800; }
.ac-price__v small{ display:block; font-size:12.5px; font-weight:500; line-height:1.35; color:var(--xl-muted); }
.ac-note{ margin:0; font-size:13px; color:#64748B; }
.ac-acts{ display:flex; flex-wrap:wrap; gap:12px; }
.ac-btn{ gap:8px; background:var(--xl-blue); color:#fff; }
.ac-btn:hover{ background:var(--xl-blue-d); color:#fff; }
.ac .ac-btn--outline{ height:52px; padding:0 28px; font-size:16px; gap:8px; align-self:auto; }

/* ---------- 3. autres options ---------- */
.ac-opts{ padding-top:64px; }
.ac-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:24px; }
.ac-opt{ border:1px solid var(--xl-line); border-radius:20px; overflow:hidden; display:flex; flex-direction:column; background:#fff; box-shadow:0 1px 2px rgba(15,27,45,.05); }
.ac-opt__img{ display:block; height:220px; background:#EAF4FB center / cover no-repeat; }
.ac-opt__body{ padding:28px; display:flex; flex-direction:column; gap:16px; flex:1; }
.ac-opt h3{ margin:0; font-size:22px; font-weight:800; }
.ac-opt h3 a{ color:var(--xl-ink); text-decoration:none; }
.ac-opt h3 a:hover{ color:var(--xl-blue-d); }
.ac-opt__body > p{ margin:0; font-size:15px; line-height:1.6; color:var(--xl-muted); }
.ac-opt__foot{ margin-top:auto; padding-top:16px; border-top:1px solid var(--xl-line); display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.ac-opt__from{ font-size:14px; color:var(--xl-muted); }
.ac-opt__from strong{ font-size:18px; color:var(--xl-ink); }
.ac-more{ font-size:15px; font-weight:700; display:inline-flex; align-items:center; gap:6px; min-height:44px; color:var(--xl-blue-d); text-decoration:none; }
.ac-more:hover{ color:var(--xl-blue); }

/* ---------- 4. comparatif (tableau saisi dans l'admin) ---------- */
.ac-table{ overflow-x:auto; background:#fff; border-radius:16px; border:1px solid var(--xl-line); }
.ac-table:focus-visible{ outline:3px solid var(--xl-blue); outline-offset:3px; }
.ac-table table{ width:100%; min-width:760px; border-collapse:collapse; margin:0; }
.ac-table th, .ac-table td{ padding:16px 20px; font-size:15px; line-height:1.5; color:var(--xl-text); text-align:left; vertical-align:top; border-top:1px solid var(--xl-line); }
.ac-table thead th, .ac-table tr:first-child th{ border-top:0; background:#F4FAFE; color:var(--xl-ink); font-size:14px; font-weight:700; }
.ac-table thead th:nth-child(2){ color:var(--xl-blue-d); }
.ac-table tbody th, .ac-table td:first-child{ font-weight:700; color:var(--xl-ink); }
.ac-table p{ margin:0; }

/* ---------- 5. bandeau final ---------- */
.ac-cta{ background:var(--xl-blue-l); border-radius:24px; padding:clamp(32px, 4vw, 56px); display:flex; flex-wrap:wrap; gap:32px; align-items:center; justify-content:space-between; }
.ac-cta__txt{ flex:1 1 460px; display:flex; flex-direction:column; gap:12px; }
.ac-cta__txt h2{ margin:0; font-size:clamp(26px, 3vw, 34px); line-height:1.15; font-weight:800; }
.ac-cta__txt p{ margin:0; font-size:17px; line-height:1.6; color:var(--xl-text); }
.ac-cta__acts{ display:flex; flex-direction:column; gap:12px; flex:0 1 300px; }
.ac-cta__acts .xl-btn{ width:100%; }

/* ---------- responsive ---------- */
@media (max-width:767px){
  .ac-hero{ padding-top:40px; padding-bottom:48px; }
  .ac-hero__in{ gap:32px; }
  .ac-hero__img{ height:260px; flex-basis:100%; }
  .ac-lead{ font-size:17px; }
  .ac-chips li{ font-size:15px; }
  .ac-card--rev .ac-card__media{ order:0; }
  .ac-card__media{ flex-basis:100%; grid-template-rows:220px 120px; }
  .ac-card__body{ padding:24px 20px; flex-basis:100%; }
  .ac-card__head h3{ font-size:22px; }
  .ac .ac-btn, .ac .ac-btn--outline{ width:100%; white-space:normal; text-align:center; }
  .ac-grid{ grid-template-columns:1fr; }
  .ac-cta__acts{ flex-basis:100%; }
}
