/*
 * parcsattractions.fr - design (REDESIGN 2026-10, Bootstrap 5.3). docs/migration/REDESIGN.md, register R22.
 * Colour system of the sister sites (321skivacances HANDOFF §2): one primary colour for every normal action
 * (teal), navy for structure, one promo colour reserved for deals (raspberry, from the logo's ferris wheel).
 * Contrast ratios (WCAG 2.x) are against white unless stated.
 */
:root {
    /* Palette (docs/redesign/BRIEF.md §2, owner decision BRIEF §8) */
    --pa-navy: #1d305f;             /* headings, nav, structure, prices: 12.80:1; white on it 12.80:1 */
    --pa-navy-deep: #16254a;        /* footer, hero base: white on it 14.9:1 */
    --pa-text: #1b2340;             /* body text: 15.43:1 */
    --pa-primary: #0b7285;          /* every normal action, links: 5.59:1; white on it 5.59:1 */
    --pa-primary-hover: #08596a;    /* hover: 7.93:1 */
    --pa-primary-active: #064a58;
    --pa-accent: #17b3c4;           /* decorative only (2.54:1, never text on white); on navy 5.05:1 */
    --pa-accent-light: #8ee3ec;     /* highlighted words of the hero title, on the navy overlay (≈ 9:1 on navy) */
    --pa-promo: #d61159;            /* deals only: badges, "Bons plans", discounts; white on it 5.14:1 */
    --pa-promo-dark: #b00c4a;       /* promo hover, promo text on the pale promo surface: 7.01:1 */
    --pa-promo-soft: #fde7ef;       /* pale promo surface; navy on it 10.88:1, promo-dark on it 6.0:1 */
    --pa-sun: #ffc83d;              /* highlights and ribbons, always with navy text: navy on it 8.28:1 */
    --pa-surface: #e8f6f8;          /* icon circles, selected chips; teal on it 5.05:1 */
    --pa-section: #f5f7fb;          /* section background; muted on it 5.35:1 */
    --pa-muted: #5a6683;            /* secondary copy: 5.73:1 */
    --pa-line: #dfe5ef;             /* borders */
    --pa-line-soft: #e9edf4;
    --pa-field: #f2f5f9;            /* secondary fields (header search) */

    /* Shapes and depth (321skivacances layout rules) */
    --radius-chip: 9px;
    --radius-control: 10px;
    --card-radius: 14px;
    --radius-panel: 20px;
    --shadow-soft: 0 1px 2px rgba(29, 48, 95, .05), 0 2px 8px rgba(29, 48, 95, .05);
    --shadow-hover: 0 2px 4px rgba(29, 48, 95, .06), 0 10px 24px rgba(29, 48, 95, .12);
    --shadow-menu: 0 4px 10px rgba(29, 48, 95, .08), 0 14px 30px rgba(29, 48, 95, .12);
    --focus-ring: 0 0 0 3px rgba(11, 114, 133, .35);
    --header-h: 68px;
    --site-max: 1200px;

    --bs-primary: var(--pa-primary);
    --bs-primary-rgb: 11, 114, 133;
    --bs-link-color: var(--pa-primary);
    --bs-link-color-rgb: 11, 114, 133;
    --bs-link-hover-color: var(--pa-primary-hover);
    --bs-link-hover-color-rgb: 8, 89, 106;
    --bs-body-bg: #fff;
    --bs-body-color: var(--pa-text);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-border-radius: var(--radius-control);
    --bs-border-color: var(--pa-line);
}

body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.bi { vertical-align: -.125em; flex-shrink: 0; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; padding: .5rem 1rem; background: #fff; border-radius: var(--radius-control); }
h1, h2, h3, .h4, .h5 { letter-spacing: -.01em; color: var(--pa-navy); }

/* One content grid for header, hero, strip and sections: 1200 px max, 16 px side padding. */
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1200px) { .container { max-width: var(--site-max); } }

/* Keyboard focus: always visible (white on the hero and the navy footer). */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 3px solid var(--pa-primary); outline-offset: 2px; box-shadow: none; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.hero .hero-search a:focus-visible, .hero .hero-search button:focus-visible { outline-color: var(--pa-primary); }

/* Buttons: teal is the action colour (white on it 5.59:1, AA for small text). */
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-bg: var(--pa-primary); --bs-btn-border-color: var(--pa-primary);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--pa-primary-hover); --bs-btn-hover-border-color: var(--pa-primary-hover);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--pa-primary-active); --bs-btn-active-border-color: var(--pa-primary-active);
    --bs-btn-disabled-bg: var(--pa-primary); --bs-btn-disabled-border-color: var(--pa-primary);
    --bs-btn-focus-shadow-rgb: 11, 114, 133;
    font-weight: 700;
}
.btn-outline-primary {
    --bs-btn-color: var(--pa-primary); --bs-btn-bg: #fff; --bs-btn-border-color: #a8d3db;
    --bs-btn-hover-color: var(--pa-primary-hover); --bs-btn-hover-bg: var(--pa-surface); --bs-btn-hover-border-color: var(--pa-primary);
    --bs-btn-active-color: var(--pa-primary-hover); --bs-btn-active-bg: var(--pa-surface); --bs-btn-active-border-color: var(--pa-primary);
    --bs-btn-focus-shadow-rgb: 11, 114, 133;
    font-weight: 600;
}
/* Deals only (register R22): the promo button of the "Bons plans" sections. */
.btn-promo {
    --bs-btn-color: #fff; --bs-btn-bg: var(--pa-promo); --bs-btn-border-color: var(--pa-promo);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--pa-promo-dark); --bs-btn-hover-border-color: var(--pa-promo-dark);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--pa-promo-dark); --bs-btn-active-border-color: var(--pa-promo-dark);
    --bs-btn-focus-shadow-rgb: 214, 17, 89;
    font-weight: 700;
}

/* ------------------------------------------------------------------ Header: white, 68 px, hairline border. */
/* No backdrop-filter: it would become the containing block of the fixed offcanvas menu (321skivacances pitfall). */
.site-header { background: #fff; border-bottom: 1px solid var(--pa-line-soft); }
.site-header .navbar { --bs-navbar-padding-y: 0; min-height: var(--header-h); }
.site-header .container { gap: 1rem; flex-wrap: nowrap; }
/* The logo is 2.75:1 (1074 × 390): 160 px wide is 58 px high, inside the 68 px header. */
.site-header .navbar-brand { padding: 0; margin: 0 .25rem 0 0; flex-shrink: 0; line-height: 0; }
.brand-logo img { display: block; height: auto; }
.site-header .navbar-brand img { width: 190px; }
.site-header .navbar-toggler { border: 0; font-size: 1.6rem; color: var(--pa-navy); padding: .35rem .5rem; border-radius: var(--radius-control); }
.site-header .navbar-toggler:focus { box-shadow: var(--focus-ring); }
.site-header .navbar-nav { gap: .25rem; }
.site-header .nav-link { color: var(--pa-navy); font-weight: 600; font-size: .95rem; border-radius: var(--radius-control); padding: .5rem .75rem !important; display: flex; align-items: center; white-space: nowrap; }
.site-header .nav-link > .bi:first-child { font-size: 1.05rem; margin-right: .45rem; }
.site-header .nav-link.dropdown-toggle::after { border-top-width: .3em; border-left-width: .28em; border-right-width: .28em; margin-left: .4em; opacity: .7; }
.site-header .nav-link:hover, .site-header .nav-link.show { background: var(--pa-field); color: var(--pa-navy); text-decoration: none; }
.site-header .nav-link.active { color: var(--pa-primary); box-shadow: inset 0 -2px 0 var(--pa-accent); }
/* "Bons plans": the promo colour (deals only). */
.site-header .nav-link-deals, .site-header .nav-link-deals:hover, .site-header .nav-link-deals.active { color: var(--pa-promo-dark); }
.site-header .nav-link-deals > .bi:first-child { color: var(--pa-promo); }
.site-header .nav-link-deals:hover { background: var(--pa-promo-soft); }
.site-header .nav-link-deals.active { box-shadow: inset 0 -2px 0 var(--pa-promo); }
.site-header .dropdown-menu { border: 1px solid var(--pa-line-soft); border-radius: var(--card-radius); box-shadow: var(--shadow-menu); padding: .5rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .4rem .75rem; font-size: .93rem; color: var(--pa-text); white-space: normal; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--pa-surface); color: var(--pa-navy); text-decoration: none; }
.site-header .dropdown-header { font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--pa-muted); padding: .5rem .75rem .25rem; }
.site-header .dropdown-park { font-weight: 700; color: var(--pa-navy); }
.site-header .dropdown-sub { padding-left: 1.5rem; font-size: .88rem; color: var(--pa-muted); }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (min-width: 992px) {
    /* Desktop nav reads as words; only the bons plans tag keeps its icon. */
    .site-header .nav-link:not(.nav-link-deals) > .bi:first-child { display: none; }
    /* Opens to the left of "Parcs" (the menu is near the right edge). */
    .site-header .dropdown-menu-parks { min-width: 32rem; right: 0; left: auto; }
    .site-header .offcanvas { flex-grow: 0; margin-left: auto; }
    .header-actions { order: 3; margin-left: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .navbar-brand img { width: 170px; }
    .site-header .navbar-nav { gap: 0; }
    .site-header .nav-link { padding: .5rem .55rem !important; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { max-width: 22rem; }
    .site-header .offcanvas-body .nav-link { padding: .7rem .75rem !important; font-size: 1.05rem; }
    .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--pa-section); margin: .25rem 0 .5rem; }
}
@media (max-width: 575.98px) {
    .site-header .navbar-brand img { width: 150px; }
    .site-header .container { gap: .5rem; }
}

/* ------------------------------------------------------------------ Park search with suggestions */
.header-search { flex: 1 1 auto; min-width: 0; max-width: 20rem; margin-left: 1rem; }
@media (min-width: 992px) and (max-width: 1199.98px) { .header-search { max-width: 13rem; margin-left: .25rem; } }
.header-search-mobile { max-width: none; margin: 0 0 1rem; }
.search-field { position: relative; }
.search-field > .bi { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--pa-muted); pointer-events: none; z-index: 2; }
.header-search .form-control { border-radius: var(--radius-control); background: var(--pa-field); border: 1px solid var(--pa-line); padding: .5rem .9rem .5rem 2.5rem; min-height: 2.6rem; font-size: .95rem; color: var(--pa-text); }
.header-search .form-control::placeholder, .hero-search .form-control::placeholder { color: #66718b; }
.header-search .form-control:focus { background: #fff; border-color: var(--pa-primary); box-shadow: var(--focus-ring); }
.quick-search { position: relative; }
.qs-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1060; margin: 0; padding: .35rem; list-style: none;
    background: #fff; border: 1px solid var(--pa-line-soft); border-radius: 12px; box-shadow: var(--shadow-menu); max-height: 22rem; overflow-y: auto; text-align: left;
}
.qs-option { display: flex; align-items: center; gap: .75rem; padding: .45rem .6rem; border-radius: 8px; cursor: pointer; color: var(--pa-text); }
.qs-option img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--pa-line-soft); flex-shrink: 0; }
.qs-option.is-active, .qs-option:hover { background: var(--pa-surface); }
.qs-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-empty { padding: .6rem .75rem; font-size: .9rem; color: var(--pa-muted); }

/* ------------------------------------------------------------------ Hero */
/* The owner's collage of park photos behind a navy overlay strongest on the left (copy), lighter on the
   right; the search card on the right on desktop. Phones: the photo as a band on top, then the copy and
   the search card on navy. No overflow: hidden, so the suggestions can extend below the hero. */
.hero { position: relative; z-index: 2; color: #fff; background: var(--pa-navy-deep); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    /* White text sits on ≥ 82 % navy: worst case (white photo pixel) ≈ 7.9:1. */
    background: linear-gradient(90deg, rgba(22, 37, 74, .93) 0%, rgba(22, 37, 74, .88) 38%, rgba(22, 37, 74, .72) 56%, rgba(22, 37, 74, .45) 72%, rgba(22, 37, 74, .35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1rem; }
.hero-eyebrow .bi { font-size: 1rem; color: var(--pa-sun); }
.hero-title { color: #fff; font-weight: 900; font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 1rem; text-shadow: 0 2px 14px rgba(10, 18, 40, .35); }
.hero-title-accent { color: var(--pa-accent-light); }
.hero-lead { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; color: #fff; max-width: 36rem; margin-bottom: 1.25rem; text-shadow: 0 1px 10px rgba(10, 18, 40, .5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.hero-trust li { display: flex; align-items: center; gap: .55rem; }
.hero-trust-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(142, 227, 236, .65); color: var(--pa-accent-light); font-size: 1rem; }

/* Search card: white panel, teal "Rechercher". */
.hero-search { background: #fff; color: var(--pa-text); border-radius: var(--radius-panel); box-shadow: 0 2px 6px rgba(10, 18, 40, .1), 0 16px 38px rgba(10, 18, 40, .22); padding: 1.5rem 1.5rem 1.35rem; }
.hero-search-title { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: .35rem; color: var(--pa-navy); }
.hero-search-lead { color: var(--pa-muted); font-size: .92rem; margin-bottom: 1rem; }
.hero-search .form-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pa-navy); margin-bottom: .4rem; }
.hero-search .search-field > .bi { color: var(--pa-primary); font-size: 1.1rem; left: 1rem; }
.hero-search .form-control { border-color: #cfdbe6; border-radius: var(--radius-control); background-color: var(--pa-section); color: var(--pa-text); min-height: 3rem; font-size: 1rem; padding-left: 2.85rem; }
.hero-search .form-control:hover { border-color: #a9c4d6; }
.hero-search .form-control:focus { background-color: #fff; border-color: var(--pa-primary); box-shadow: var(--focus-ring); }
.hero-submit { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 3rem; margin-top: .85rem; font-size: 1.08rem; border-radius: var(--radius-control); }
.hero-popular { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--pa-line-soft); }
.hero-popular-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pa-muted); margin-bottom: .55rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--pa-navy); background: #fff; border: 1px solid var(--pa-line); border-radius: var(--radius-chip); padding: .32rem .7rem; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
a.chip:hover { background: var(--pa-surface); border-color: var(--pa-primary); color: var(--pa-primary-hover); text-decoration: none; }
.chip-promo { color: var(--pa-promo-dark); background: var(--pa-promo-soft); border-color: #f7c6d8; }
a.chip-promo:hover { color: #fff; background: var(--pa-promo); border-color: var(--pa-promo); }
@media (min-width: 992px) {
    .hero-copy { max-width: 37rem; }
}
@media (max-width: 991.98px) {
    .hero { background: var(--pa-navy-deep); }
    .hero-media { position: relative; inset: auto; z-index: 0; height: clamp(11rem, 46vw, 20rem); }
    .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(22, 37, 74, 0), var(--pa-navy-deep)); }
    .hero::before { display: none; }
    .hero-inner { margin-top: -2.5rem; padding-top: 0; padding-bottom: 2.75rem; }
}
@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-lead { font-size: 1rem; }
    .hero-trust { flex-direction: column; gap: .5rem; }
    .hero-search { padding: 1.15rem 1rem 1rem; border-radius: 18px; }
}

/* ------------------------------------------------------------------ Benefit strip under the hero */
.features-bar { background: #fff; padding: 1.8rem 0 2rem; border-bottom: 1px solid var(--pa-line-soft); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: .9rem; }
.features li > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.features strong { font-weight: 700; font-size: 1rem; color: var(--pa-navy); }
.features li > span:last-child > span { color: var(--pa-muted); font-size: .88rem; margin-top: .1rem; }
.feature-icon { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; background: var(--pa-surface); color: var(--pa-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature-icon-promo { background: var(--pa-promo-soft); color: var(--pa-promo); }
@media (max-width: 991.98px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .features-bar { padding: 1.1rem 0 1.25rem; }
    .features { gap: 1rem .75rem; }
    .features li { gap: .6rem; align-items: flex-start; }
    .feature-icon { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
    .features strong { font-size: .9rem; line-height: 1.25; }
    .features li > span:last-child > span { font-size: .8rem; }
}

/* ------------------------------------------------------------------ Sections */
.section { padding-top: 3.5rem; }
.section-band { margin-top: 3.5rem; padding-top: 3rem; padding-bottom: 3rem; background: var(--pa-section); border-block: 1px solid var(--pa-line-soft); }
.section-band-promo { background: linear-gradient(180deg, #fff 0%, var(--pa-promo-soft) 100%); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-kicker { display: flex; align-items: center; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pa-primary); margin-bottom: .4rem; }
.section-kicker::before { content: ""; display: inline-block; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--pa-accent); margin-right: .7rem; }
.section-kicker-promo { color: var(--pa-promo-dark); }
.section-kicker-promo::before { background: var(--pa-promo); }
.section-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; color: var(--pa-navy); margin: 0; }
.section-lead { color: var(--pa-muted); margin: .4rem 0 0; max-width: 48rem; }
.section-actions { display: flex; align-items: center; gap: 1rem; }
.section-link { white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.section-link-promo { color: var(--pa-promo-dark); }
.section-link-promo:hover { color: var(--pa-promo-dark); }
.section-cta { margin-top: 1.75rem; text-align: center; }

/* ------------------------------------------------------------------ Sliders (Swiper) */
.swiper { position: relative; overflow: hidden; padding: .35rem .35rem 1rem; margin: -.35rem -.35rem -1rem; }
/* Before Swiper runs (and without JavaScript): a horizontal scroll-snap row. */
.swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; width: min(18rem, 78vw); scroll-snap-align: start; }
/* Equal card heights in a row (higher specificity than swiper.min.css, loaded after this file). */
.swiper .swiper-slide { height: auto; display: flex; }
.swiper-nav-group { display: flex; gap: .5rem; }
.swiper-nav { width: 2.5rem; height: 2.5rem; border: 1px solid var(--pa-line); border-radius: 50%; background: #fff; color: var(--pa-primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); transition: background-color .15s ease, border-color .15s ease, opacity .15s ease; }
.swiper-nav:hover { background: var(--pa-surface); border-color: var(--pa-accent); color: var(--pa-primary-hover); }
.swiper-nav.swiper-button-disabled { opacity: .35; pointer-events: none; }
.swiper-nav.swiper-button-lock { display: none; }

/* ------------------------------------------------------------------ Cards (one per content type) */
.park-card, .event-card, .deal-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--pa-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.park-card:hover, .event-card:hover, .deal-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.park-card:has(a:focus-visible), .event-card:has(a:focus-visible), .deal-card:has(a:focus-visible) { outline: 3px solid var(--pa-primary); outline-offset: 2px; }
.park-card a:focus-visible, .event-card a:focus-visible, .deal-card a:focus-visible { outline: 0; }
/* The whole card is the link of its title. */
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-media { position: relative; display: block; overflow: hidden; background: var(--pa-section); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.park-card:hover .card-media img, .event-card:hover .card-media img { transform: scale(1.03); }
.card-body-pa { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem 1rem; }
.card-title-pa { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0; }
.card-title-pa a { color: var(--pa-navy); }
.card-title-pa a:hover { color: var(--pa-primary); text-decoration: none; }
.card-text-pa { color: var(--pa-muted); font-size: .88rem; margin: .3rem 0 0; }
.card-more { margin-top: auto; padding-top: .7rem; font-size: .88rem; font-weight: 600; color: var(--pa-primary); display: inline-flex; align-items: center; gap: .35rem; }

/* Park card: 4:3 photo, country chip on the photo. */
.park-card .card-media { aspect-ratio: 4 / 3; }
.country-chip { position: absolute; left: .7rem; top: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; color: var(--pa-navy); background: rgba(255, 255, 255, .94); border-radius: 999px; padding: .22rem .6rem; box-shadow: 0 1px 3px rgba(10, 18, 40, .15); }
.country-chip .bi { color: var(--pa-primary); }

/* Event card: article photo 16:10, season chip (sun on navy text: 8.28:1). */
.event-card .card-media { aspect-ratio: 16 / 10; }
.season-chip { position: absolute; left: .7rem; top: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--pa-navy); background: var(--pa-sun); border-radius: 999px; padding: .22rem .6rem; }
.event-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--pa-primary); margin: 0 0 .25rem; }

/* Deal card (from 321voyages redesign/_deal_card): the whole 300×250 picture (partner banners carry text),
   promo value badge, kind, park, title, expiry. */
.deal-card .card-media { aspect-ratio: 6 / 5; background: #fff; border-bottom: 1px solid var(--pa-line-soft); }
.deal-card .card-media img { object-fit: contain; }
.deal-value { position: absolute; top: .65rem; right: .65rem; z-index: 2; background: var(--pa-promo); color: #fff; font-weight: 800; font-size: .9rem; line-height: 1.2; padding: .25rem .55rem; border-radius: 7px; }
.deal-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .78rem; margin: 0 0 .45rem; }
.deal-kind { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; padding: .18rem .5rem; border-radius: 6px; background: var(--pa-promo-soft); color: var(--pa-promo-dark); }
.deal-company { font-weight: 600; color: var(--pa-muted); }
.deal-card-title { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deal-card-title a { color: var(--pa-text); }
.deal-card-title a:hover { color: var(--pa-primary); text-decoration: none; }
.deal-card-expiry { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--pa-muted); margin: auto 0 0; }
.deal-card.is-expired .card-media img { filter: grayscale(.6); opacity: .8; }
.deal-card.is-expired .deal-value { background: var(--pa-muted); }

/* ------------------------------------------------------------------ SEO / editorial text */
.seo-text { background: #fff; border: 1px solid var(--pa-line); border-radius: var(--card-radius); padding: 2rem; color: #33405c; font-size: .97rem; line-height: 1.65; }
.seo-text h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; margin-bottom: .9rem; }
.seo-text h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.seo-text ul { padding-left: 1.2rem; }
.seo-text li::marker { color: var(--pa-primary); }
@media (max-width: 575.98px) { .seo-text { padding: 1.25rem; } }

/* ==================================================================
   Inner pages (REDESIGN slice A): shared components of the list and detail pages
   (templates/redesign/_page_head, _breadcrumb, _share, _listing, _sidebar; from 321voyages).
   ================================================================== */

/* Page head band: breadcrumb, kicker, the page's single H1 (R30), lead; white band under the header. */
.page-head { background: linear-gradient(180deg, #fff 0%, var(--pa-section) 100%); border-bottom: 1px solid var(--pa-line-soft); padding: 1rem 0 1.75rem; }
.page-head-row { display: flex; align-items: flex-start; gap: 1rem 1.75rem; }
.page-head-text { min-width: 0; flex: 1 1 auto; }
.page-head .section-kicker { margin-bottom: .45rem; }
.page-head .section-kicker a { color: inherit; }
.page-title { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: var(--pa-navy); margin: 0; overflow-wrap: anywhere; }
.page-lead { color: var(--pa-muted); margin: .65rem 0 0; max-width: 52rem; font-size: 1.02rem; line-height: 1.6; }
.page-lead p:last-child { margin-bottom: 0; }
.page-head-chips { margin-top: 1rem; }
@media (max-width: 767.98px) {
    .page-head { padding: .75rem 0 1.25rem; }
    .page-lead { font-size: .96rem; }
}

/* Breadcrumb (BreadcrumbList JSON-LD next to it). */
.page-breadcrumb { margin-bottom: .9rem; }
.page-breadcrumb .breadcrumb { --bs-breadcrumb-divider-color: #8d97ad; --bs-breadcrumb-item-active-color: var(--pa-muted); --bs-breadcrumb-item-padding-x: .45rem; margin: 0; font-size: .85rem; flex-wrap: wrap; row-gap: .15rem; }
.page-breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; min-width: 0; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; font-size: 1rem; line-height: 1; }
.page-breadcrumb a { color: var(--pa-primary); font-weight: 500; }
.page-breadcrumb .breadcrumb-item.active { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-breadcrumb .bi-house { font-size: .95rem; vertical-align: -.1em; }
@media (max-width: 575.98px) {
    /* Phones: one scrolling line instead of wrapped lines. */
    .page-breadcrumb .breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: .1rem; }
    .page-breadcrumb .breadcrumb::-webkit-scrollbar { display: none; }
    .page-breadcrumb .breadcrumb-item.active { overflow: visible; }
}

/* Page body sections. */
.page-section { margin-top: 2.75rem; }
.section-title-sm { font-size: 1.2rem; margin-bottom: .85rem; }
.content-card { background: #fff; border: 1px solid var(--pa-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.75rem 2rem; }
@media (max-width: 575.98px) { .content-card { padding: 1.15rem 1rem; } }
.text-primary-pa { color: var(--pa-primary); }

/* Share links (legacy targets, inline icons). */
.share-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.share-links-start { justify-content: flex-start; }
.share-links-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pa-muted); margin-right: .25rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; border: 1px solid var(--pa-line); color: var(--pa-navy); font-size: 1rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.social-link:hover { background: var(--pa-primary); border-color: var(--pa-primary); color: #fff; text-decoration: none; }

/* Tag chips */
.tag-chips .chip .bi { color: var(--pa-primary); }
.tag-chips .chip { white-space: normal; }

/* Listings: toolbar, grid, empty state, pager. */
.listing-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1rem; }
.listing-count { margin: 0; color: var(--pa-muted); font-size: .95rem; }
.listing-count strong { color: var(--pa-navy); font-size: 1.05rem; }
.listing-empty { background: #fff; border: 1px dashed #c3cede; border-radius: var(--card-radius); padding: 2rem 1.5rem; text-align: center; color: var(--pa-muted); }
.listing-empty > .bi { font-size: 1.8rem; color: var(--pa-primary); margin-bottom: .6rem; }
.listing-empty strong { color: var(--pa-navy); }
.listing-pager { margin-top: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }

/* Pagination (App\Twig\PaginationExtension "bootstrap5": "Précédent" / "Suivant"). */
.pagination { --bs-pagination-color: var(--pa-navy); --bs-pagination-border-color: var(--pa-line); --bs-pagination-hover-bg: var(--pa-surface); --bs-pagination-hover-color: var(--pa-primary-hover); --bs-pagination-hover-border-color: #a8d3db; --bs-pagination-active-bg: var(--pa-primary); --bs-pagination-active-border-color: var(--pa-primary); --bs-pagination-disabled-color: #8d97ad; --bs-pagination-focus-box-shadow: var(--focus-ring); gap: .35rem; }
.pagination .page-link { border-radius: var(--radius-control) !important; min-width: 2.6rem; min-height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-left: 0 !important; }
.pagination .page-item.disabled .page-link { background: transparent; border-color: transparent; }

/* Sidebar side cards (search, parks, recent articles; register R25: no banners). */
.side-cards { display: grid; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--pa-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.1rem 1.2rem 1.2rem; }
.side-card-title { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 800; color: var(--pa-navy); margin: 0 0 .8rem; }
.side-card-title .bi { color: var(--pa-primary); }
.side-search { max-width: none; margin-left: 0; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .55rem; margin: 0 -.55rem; border-radius: 8px; color: var(--pa-text); font-weight: 600; font-size: .93rem; }
.side-links a .bi { color: #9aa4ba; font-size: .8rem; }
.side-links a:hover { background: var(--pa-surface); color: var(--pa-primary-hover); text-decoration: none; }
.side-links a:hover .bi { color: var(--pa-primary); }
.side-links li + li { border-top: 1px solid var(--pa-line-soft); }
.side-links .side-links-all { color: var(--pa-primary); }
.side-links .side-links-all .bi { color: var(--pa-primary); font-size: .9rem; }
.side-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.side-post { position: relative; display: flex; gap: .8rem; align-items: flex-start; }
.side-post img { flex-shrink: 0; width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--pa-section); }
.side-post-title { display: block; font-weight: 600; font-size: .9rem; line-height: 1.3; color: var(--pa-navy); }
.side-post-title::after { content: ""; position: absolute; inset: 0; }
.side-post:hover .side-post-title { color: var(--pa-primary); }
.side-post time { display: block; font-size: .78rem; color: var(--pa-muted); margin-top: .2rem; }

/* Prose: stored HTML of the parks and articles (CKEditor), with the legacy classes it uses
   (ac-btn, thumbnail, bullet, is-flex boxes, legacy margins) restyled with the tokens. */
.prose { color: #2b3654; font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4, .prose h5 { color: var(--pa-navy); line-height: 1.3; margin: 1.6rem 0 .7rem; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; }
.prose h3 { font-size: 1.2rem; font-weight: 700; }
.prose h4 { font-size: 1.05rem; font-weight: 700; }
.prose h5 { font-size: .98rem; font-weight: 700; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .25rem; }
.prose li::marker { color: var(--pa-primary); }
.prose hr { border-color: var(--pa-line); opacity: 1; margin: 1.75rem 0; }
.prose hr.light { border-color: var(--pa-line-soft); }
.prose table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--pa-line); padding: .4rem .6rem; }
.prose blockquote { border-left: 4px solid var(--pa-accent); padding: .25rem 0 .25rem 1rem; color: var(--pa-muted); }
.prose .row { --bs-gutter-x: 1.25rem; }
.prose .text-right { text-align: right; }
.prose .thumbnail { display: block; margin-bottom: 1rem; }
.prose .thumbnail.no-border, .prose .no-border { border: 0; }
.prose .box.shadow { background: #fff; border: 1px solid var(--pa-line); border-radius: 12px; box-shadow: var(--shadow-soft) !important; padding: .75rem; }
.prose .background-transparent { background-color: transparent !important; }
.prose .margin-top-bottom-xs { margin-top: .6rem; margin-bottom: .6rem; }
.prose .margin-top-bottom-sm { margin-top: 1rem; margin-bottom: 1rem; }
.prose .margin-bottom-lg { margin-bottom: 1.5rem; }
.prose .headline { position: relative; text-align: center; padding-bottom: .75rem; margin-bottom: 1.5rem; }
.prose .headline::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6rem; height: 3px; margin-left: -3rem; border-radius: 2px; background: var(--pa-accent); }
/* Inline fonts of the stored HTML (Comic Sans MS headings, <font>) follow the site's font stack. */
.prose [style*="font-family"], .prose font[face] { font-family: inherit !important; }
/* Legacy call-to-action buttons (almost all lead to /go-url/ click-outs): the teal action colour. */
.prose a.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; margin: .35rem 0; padding: .7rem 1.35rem; border-radius: var(--radius-control); font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; color: #fff; background: var(--pa-primary); border: 1px solid var(--pa-primary); transition: background-color .15s ease; }
.prose a.ac-btn:hover { background: var(--pa-primary-hover); border-color: var(--pa-primary-hover); color: #fff; text-decoration: none; }
.prose a.ac-btn[href*="/go-"]::after { content: "\2197"; font-weight: 400; }
/* Legacy price boxes (row.is-flex > .ac-flex-box-container > .ac-box-container). */
.prose .row.is-flex > [class*="col-"] { display: flex; flex-direction: column; }
.prose .ac-flex-box-container { display: flex; flex-direction: column; flex: 1; margin-bottom: 1.25rem; }
.prose .ac-box-container { display: flex; flex-direction: column; height: 100%; text-align: center; }
.prose .ac-box-container .thumbnail { margin-bottom: .5rem; }
.prose .ac-box-caption { display: flex; flex-direction: column; flex: 1; }
.prose .ac-box-caption-cta { margin-top: auto; }
.prose .price { color: var(--pa-promo-dark); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.prose .caption { font-size: .92rem; }
/* Legacy price-period swatches ("bullet green" …). */
.prose .bullet { display: inline-block; width: 1.4rem; height: 1.4rem; margin: .15rem; border-radius: 6px; vertical-align: middle; color: transparent; overflow: hidden; background: #fff; border: 1px solid rgba(29, 48, 95, .12); }
.prose .bullet.green { background-color: #98de7e; }
.prose .bullet.blue { background-color: #91b6fd; }
.prose .bullet.violet { background-color: #c69ffc; }
.prose .bullet.yellow { background-color: #ffe281; }
.prose .bullet.pink { background-color: #f7b3e4; }
.prose .bullet.orange { background-color: #ffbaab; }

/* ------------------------------------------------------------------ Ads (register R25): one AdSense unit. */
.ad-slot { margin: 1.5rem 0; text-align: center; }
.ad-slot-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pa-muted); margin-bottom: .35rem; }

/* ------------------------------------------------------------------ Footer: navy, logo on a white badge (R41). */
.site-footer { margin-top: 4rem; color: rgba(255, 255, 255, .82); background: var(--pa-navy-deep); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--pa-accent-light); }
.footer-logo img { width: 200px; }
.brand-logo-badge { display: inline-block; padding: .55rem .8rem; background: #fff; border-radius: 14px; line-height: 0; }
.footer-title { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer li { padding: .2rem 0; }
.footer-promo { color: #ff9bbd !important; }  /* raspberry tint on navy: 6.9:1 */
.footer-bottom { background: rgba(0, 0, 0, .2); color: rgba(255, 255, 255, .75); }

/* ------------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .park-card, .event-card, .deal-card, .card-media img, .chip, .swiper-nav, .social-link, .prose a.ac-btn { transition: none; }
    .park-card:hover, .event-card:hover, .deal-card:hover { transform: none; }
    .park-card:hover .card-media img, .event-card:hover .card-media img { transform: none; }
}
