/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3nWuZEC.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3jWuZEC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3nWuZEC.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3jWuZEC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3nWuZEC.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3jWuZEC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    color-scheme: light;
    --ink: #142820;
    --deep: #101e19;
    --lime: #d9f44c;
    --sand: #f5f2e9;
    --line: #d8d9cb;
    --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 1rem/1.55 var(--body); }
a { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .94; }
h1, h2 { text-transform: uppercase; font-weight: 800; }
h2 { font-size: clamp(2.8rem, 6.1vw, 5rem); letter-spacing: -.025em; }
:focus-visible { outline: 3px solid #89730c; outline-offset: 4px; }
.shell { width: min(1200px, 100% - clamp(2rem, 8vw, 8rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-180%); z-index: 4; padding: .7rem; background: var(--lime); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { background: var(--deep); color: white; }
.header, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 82px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .65rem; font: 800 1.45rem/.83 var(--display); text-transform: uppercase; }
.mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font: 800 2.2rem/.8 var(--body); padding-bottom: .2rem; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.5rem); }
nav > a { text-decoration: none; font-size: .94rem; font-weight: 700; }
nav > a:hover:not(.button) { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; background: var(--lime); color: var(--deep); border-radius: .25rem; padding: .95rem 1.35rem; font-weight: 800; text-decoration: none; transition: background .2s; }
.button:hover { background: #eefc9f; }
.button-small { padding: .65rem .9rem; }

.hero { position: relative; isolation: isolate; overflow: clip; background: var(--deep); min-height: clamp(535px, 69vh, 760px); color: white; display: grid; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.loisirs-accueil .hero > .hero-image { margin: 0; }
.hero::after { pointer-events: none; }
.hero-image { z-index: -2; object-position: center 50%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(7,23,18,.92), rgba(7,23,18,.62) 52%, rgba(7,23,18,.12)), linear-gradient(0deg, rgba(7,23,18,.52), transparent 38%); }
.hero-inner { position: relative; display: flex; align-items: center; padding-block: 4.25rem 5rem; }
.kicker { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; display: flex; align-items: center; gap: .62rem; margin-bottom: 1.15rem; }
.kicker span { width: 1.3rem; height: 3px; background: var(--lime); }
.hero-title { font-size: clamp(4.1rem, 9vw, 9rem); letter-spacing: -.025em; }
.hero-title em { color: var(--lime); font-style: normal; }
.lead { max-width: 34rem; margin: 1.3rem 0 1.6rem; font-size: clamp(1.03rem, 2vw, 1.24rem); }
.hero-location { position: absolute; bottom: 1.2rem; right: 0; font-size: .89rem; font-weight: 700; }

.activities { padding-block: clamp(3.1rem, 7vw, 6.75rem); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.9rem; }
.section-intro p { max-width: 38rem; margin-top: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { border: 1px solid #a9afa3; background: transparent; color: var(--ink); cursor: pointer; padding: .46rem .85rem; border-radius: 2rem; min-height: 44px; font-weight: 700; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; grid-column: span 2; background: #fffdf6; border: 1px solid var(--line); border-radius: .4rem; overflow: hidden; }
.card:nth-child(n+4) { grid-column: span 3; }
.cards.is-filtered .card { grid-column: span 3; }
.card img { aspect-ratio: 1.7; }
.card:nth-child(n+4) img { aspect-ratio: 2.1; }
.card-body { padding: clamp(1.05rem, 2vw, 1.65rem); display: flex; flex-direction: column; flex: 1; }
.place { color: #3d6049; text-transform: uppercase; font-size: .79rem; font-weight: 700; letter-spacing: .09em; }
.card h3 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; margin: .45rem 0 .7rem; }
.card-body > p:not(.place) { margin-bottom: 1.05rem; }
.card a, .text-link { font-weight: 800; text-underline-offset: .25em; }
.card a { margin-top: auto; align-self: flex-start; }
.card a:hover, .text-link:hover { text-decoration-thickness: .15em; }

.territory { background: var(--deep); color: white; padding-block: clamp(2rem, 6vw, 5rem); }
.territory-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 6rem); }
.territory img { aspect-ratio: 4 / 3; border-radius: .35rem; }
.territory h2 { color: var(--lime); font-size: clamp(2.7rem, 5.2vw, 4.6rem); }
.territory p { margin: 1rem 0 1.2rem; }
.group { padding-block: clamp(2.5rem, 6vw, 5rem); }
.group-inner { border-radius: .4rem; background: var(--lime); padding: clamp(1.45rem, 5vw, 3.65rem); display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; }
.group h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.group p { max-width: 37rem; margin-top: .65rem; }
.dark { background: var(--deep); color: white; flex-shrink: 0; }
.dark:hover { background: #344c40; }
footer { background: var(--deep); color: white; }
.footer-inner { padding-block: 1.35rem; }
.footer-inner p { color: #d3dfd3; }
.footer-inner > a:last-child { text-underline-offset: .25em; }
@media (max-width: 850px) {
    .section-intro { align-items: start; flex-direction: column; }
    .card { grid-column: span 3; }
    .card:nth-child(n+4) img { aspect-ratio: 1.7; }
    .group-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 550px) {
    .header { min-height: 64px; }
    .brand { font-size: 1.18rem; }
    .mark { width: 33px; height: 33px; font-size: 1.8rem; }
    nav { gap: .7rem; }
    nav > a { font-size: .86rem; }
    nav a[href="#territoire"] { display: none; }
    .button-small { padding: .55rem .6rem; }
    .hero { min-height: 510px; }
    .hero-inner { padding-block: 3.5rem 4.8rem; }
    .hero-image { object-position: 58% center; }
    .hero-title { font-size: clamp(3.15rem, 11.8vw, 5rem); }
    .card, .card:nth-child(n+4), .cards.is-filtered .card { grid-column: 1 / -1; }
    .territory-inner { grid-template-columns: 1fr; }
    .footer-inner { flex-wrap: wrap; }
    .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}

/* Les blocs Image et Paragraphe ajoutent chacun un conteneur dans Gutenberg. */
.loisirs-accueil .wp-block-image { margin: 0; }
.hero-image img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.loisirs-accueil .hero-title { color: inherit; line-height: .94; }
.loisirs-accueil .kicker { font-family: var(--body); line-height: 1.55; }
.maquette-action { margin: 0; }
.card-body > .maquette-action { margin: auto 0 0; }
.territory-copy > .maquette-action { margin: 0; }
@media (max-width: 550px) {
    .hero-image img { object-position: 58% center; }
}

/* Le lien reste repérable dans le texte et couvre la carte sur l’accueil publié. */
.loisirs-accueil .card { position: relative; }
.loisirs-accueil .card .maquette-action a::after { content: ""; position: absolute; inset: 0; }
.loisirs-accueil .card:focus-within { outline: 3px solid #89730c; outline-offset: 3px; }

.activity-banner { background: var(--deep); color: white; padding-block: clamp(2.75rem, 6vw, 5rem); }
.activity-banner .place { color: var(--lime); margin-block: 1.2rem .7rem; }
.activity-banner .activity-title { font-size: clamp(3rem, 7vw, 6.4rem); color: inherit; }
.activity-banner .lead { margin-block: 1.1rem 0; }
.activity-banner .maquette-action a { text-underline-offset: .25em; }
.activity-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.activity-detail img { border-radius: .4rem; aspect-ratio: 4 / 3; }
.activity-copy h2 { font-size: clamp(2.15rem, 4vw, 3.4rem); margin-bottom: .8rem; }
.activity-copy p { margin-bottom: 1rem; }
.activity-copy h2:not(:first-child) { margin-top: 1.7rem; }
.activity-copy .maquette-action { margin-top: 1.2rem; }
.activity-copy .maquette-action > a { font-weight: 700; text-underline-offset: .25em; }
@media (max-width: 720px) {
    .activity-detail { grid-template-columns: 1fr; }
}

.activity-gallery { display: grid; gap: 1rem; }
.activity-related { margin-bottom: clamp(2.5rem, 6vw, 5rem); padding: clamp(1.35rem, 4vw, 2.5rem); background: #fffdf6; border: 1px solid var(--line); border-radius: .4rem; }
.activity-related h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.activity-related .maquette-action { margin-top: .55rem; font-weight: 700; }
.activity-related a { text-underline-offset: .24em; }

.top { position: relative; z-index: 3; }
.activity-menu { position: relative; color: white; }
.activity-menu summary { cursor: pointer; padding-block: .55rem; font-size: .94rem; font-weight: 700; white-space: nowrap; }
.activity-menu summary:hover { text-decoration: underline; }
.activity-menu ul { position: absolute; z-index: 1; inset: 100% 0 auto auto; box-sizing: border-box; width: max-content; max-width: calc(100vw - 2rem); margin: 0; padding: .35rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--sand); color: var(--ink); list-style: none; box-shadow: 0 12px 32px rgb(0 0 0 / .2); }
.activity-menu li { margin: 0; }
.activity-menu li a { display: block; padding: .6rem .8rem; border-radius: .2rem; text-decoration: none; font-weight: 700; }
.activity-menu li a:hover, .activity-menu li a:focus-visible, .activity-menu li a[aria-current="page"] { background: var(--lime); }
@media (max-width: 550px) {
    .activity-menu summary { font-size: .86rem; }
    .activity-menu ul { left: 50%; right: auto; transform: translateX(-50%); }
}

.legal-content { max-width: 790px; padding-block: clamp(2rem, 5vw, 4.5rem); }
.footer-links { flex-wrap: wrap; gap: .55rem 1.2rem; }
.footer-links a { text-underline-offset: .22em; }
@media (max-width: 720px) {
    .footer-inner { flex-wrap: wrap; }
    .footer-links { width: 100%; }
}

.cookie-notice {
    position: fixed;
    z-index: 10;
    right: 1rem;
    bottom: 1rem;
    width: min(36rem, calc(100% - 2rem));
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: .4rem;
    background: var(--deep);
    color: white;
    box-shadow: 0 8px 30px rgb(0 0 0 / .22);
}
.cookie-notice p { margin-block: .2rem .35rem; }
.cookie-notice a { text-underline-offset: .22em; }
.cookie-notice button { flex: none; border: 0; cursor: pointer; }
@media (max-width: 450px) {
    .cookie-notice { align-items: flex-start; flex-direction: column; gap: .6rem; }
}

.accueil-decouverte {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.8rem, 5vw, 4.8rem);
    align-items: center;
    padding-block: clamp(2.5rem, 6vw, 5.75rem);
    border-bottom: 1px solid var(--line);
}
.accueil-decouverte h2 { font-size: clamp(2.65rem, 5vw, 4.35rem); margin-bottom: 1.15rem; }
.accueil-decouverte-texte p + p { margin-top: .8rem; }
.accueil-decouverte-texte p:first-of-type { font-size: 1.1rem; font-weight: 700; }
.accueil-decouverte img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .4rem; }
@media (max-width: 760px) {
    .accueil-decouverte { grid-template-columns: 1fr; }
    .accueil-decouverte img { aspect-ratio: 4 / 3; }
}




.prices-page { padding-block: clamp(2rem, 5vw, 5rem); }
.prices-index { display: flex; gap: .65rem 1.15rem; flex-wrap: wrap; margin-bottom: 1rem; }
.prices-index a { font-weight: 700; text-underline-offset: .2em; }
.prices-note { margin-bottom: 1.65rem; }
.prices-card { margin-bottom: 1.6rem; padding: clamp(.95rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: .4rem; background: #fffdf6; }
.prices-card-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.prices-card-top img { aspect-ratio: 16 / 9; border-radius: .3rem; }
.prices-card-header h2 { font-size: clamp(2.3rem, 4.5vw, 4rem); scroll-margin-top: 1.25rem; }
.prices-provider { margin-top: .5rem; font-weight: 800; }
.prices-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.prices-actions .button { padding: .63rem .82rem; }
.prices-actions > p:not(:first-child) .button { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.prices-actions > p:not(:first-child) .button:hover { background: var(--sand); }
.price-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .75rem; margin-top: 1.2rem; }
.price-option { padding: 1rem; border-radius: .3rem; background: var(--sand); }
.price-option h3 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.price-amount { font-size: 1.06rem; font-weight: 800; margin-block: .35rem; }
@media (max-width: 950px) {
    .header .nav-group-link { display: none; }
}
@media (max-width: 720px) {
    .prices-card-top { grid-template-columns: 1fr; }
}
