/* ==========================================================================
   Page d'accueil (DESIGN-SYSTEM-SITE-CCN.md, section 7, blocs 1, 3, 4, 5, 6, 12)
   Trois effets forts : carrousel, offres phares (scrollytelling), services (défilement horizontal).
   ========================================================================== */

/* Astra : pleine largeur, sans titre ni marges. */
body.home #content > .ast-container { display: block; max-width: none; padding: 0; margin: 0; }
body.home #primary, body.home .site-main { margin: 0; padding: 0; }
body.home .entry-header { display: none; }
.ccn-home { overflow-x: clip; }

/* ---------- 1. Carrousel ---------- */

.ccn-hero { position: relative; height: clamp(560px, calc(100svh - 153px), 900px); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.ccn-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.ccn-hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.ccn-hero-media { position: absolute; inset: 0; }
.ccn-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.ccn-hero-slide.is-on .ccn-hero-media img { transform: scale(1); }
/* Voile Encre uniforme (35 %) pour la lisibilité du texte blanc. */
.ccn-hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, .35); }
.ccn-hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 128px; box-sizing: border-box; }
.ccn-hero-txt { max-width: 780px; }
body .ccn-hero .ccn-hero-title {
	margin: 0 0 var(--s-5);
	color: #fff;
	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: var(--title-tracking-h1);
	text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}
/* Titre révélé mot par mot. */
.ccn-hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.ccn-hero-title .w > span { display: inline-block; }
.ccn-hero-slide.is-on .ccn-hero-title .w > span { animation: ccn-word .9s var(--ease) both; animation-delay: calc(var(--k) * 55ms + .15s); }
@keyframes ccn-word { from { transform: translateY(105%); } to { transform: none; } }
.ccn-hero-lead { margin: 0; max-width: 560px; font-size: 1.25rem; font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.ccn-hero-slide.is-on :is(.ccn-hero-lead, .ccn-btns) { animation: ccn-up .8s var(--ease) both .55s; }
@keyframes ccn-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ccn-hero-nav { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 16px; }
.ccn-hero-dots { display: flex; gap: 4px; }
.ccn-hero .ccn-hero-dots button, .ccn-hero .ccn-hero-pause, .ccn-hero .ccn-hero-arrows button { border: 0; background: none; padding: 0; margin: 0; color: #fff; cursor: pointer; min-height: 0; min-width: 0; box-shadow: none; }
.ccn-hero .ccn-hero-dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.ccn-hero-dots i { position: relative; display: block; width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .4); overflow: hidden; transition: width .3s var(--ease); }
.ccn-hero-dots button.is-on i { width: 44px; }
.ccn-hero-dots button.is-on i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: ccn-prog var(--hero-t, 7s) linear both; }
.ccn-hero.is-paused .ccn-hero-dots button.is-on i::after, .ccn-hero.is-static .ccn-hero-dots button.is-on i::after { animation: none; transform: none; }
@keyframes ccn-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ccn-hero .ccn-hero-pause { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.ccn-hero .ccn-hero-pause:hover { background: rgba(255, 255, 255, .12); }
.ccn-hero-pause svg, .ccn-hero-arrows svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ccn-hero-pause .i-play { display: none; }
.ccn-hero.is-paused .ccn-hero-pause .i-play { display: block; }
.ccn-hero.is-paused .ccn-hero-pause .i-pause { display: none; }
.ccn-hero-arrows { margin-left: auto; display: flex; gap: 8px; }
.ccn-hero .ccn-hero-arrows button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-btn); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); transition: background-color .15s var(--ease); }
.ccn-hero .ccn-hero-arrows button:hover { background: #fff; color: var(--ink); }

/* ---------- 3. Offres phares ---------- */

.ccn-offers-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.ccn-offers-list ol { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.ccn-offer-step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); }
.ccn-offer-step:last-child { min-height: 60vh; }
.ccn-offer-step > a { display: flex; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0; color: var(--text-soft); text-decoration: none; transition: color .3s var(--ease); }
.ccn-offer-step.is-on > a, .ccn-offer-step > a:hover { color: var(--ink); }
.ccn-offer-n { font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.ccn-offer-name { font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.ccn-offer-step.is-on .ccn-offer-name { font-weight: 500; }
.ccn-offers-sticky { position: sticky; top: 110px; }
.ccn-offers-stage { position: relative; height: min(640px, calc(100vh - 150px)); }
.ccn-offer-card { display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.ccn-offers-stage .ccn-offer-card { position: absolute; inset: 0 0 44px; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.ccn-offers-stage .ccn-offer-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ccn-offer-card img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; display: block; }
.ccn-offer-body { display: grid; gap: var(--s-2); padding: var(--s-6); }
.ccn-offer-body p { margin: 0; color: var(--text); }
.ccn-offer-body .ccn-label { color: var(--accent); }
.ccn-offer-title { font-size: 1.375rem; font-weight: 500; color: var(--ink) !important; }
.ccn-offer-price { font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3rem); font-weight: 300; line-height: 1.1; color: var(--ink) !important; letter-spacing: var(--title-tracking-h2); }
.ccn-offer-price small { font-size: 1rem; letter-spacing: 0; color: var(--text-soft); }
.ccn-offer-body .ccn-b { justify-self: start; margin-top: var(--s-2); }
.ccn-offer-card--inline { display: none; }
.ccn-offers-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--s-4); height: 24px; font-size: .875rem; font-weight: 500; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.ccn-offers-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ccn-offers-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .45s var(--ease); }

/* ---------- 4. Le cadre ---------- */

.ccn-duo-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.ccn-duo-media { margin: 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.ccn-duo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccn-links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-5); }
.ccn-links a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.ccn-links a:hover { text-decoration-thickness: 2px; }

/* ---------- 5. Services (défilement horizontal) ---------- */

.ccn-hs { padding-inline: 0; }
.ccn-hs-pin { overflow: hidden; }
.ccn-band > .ccn-hs-pin { max-width: none; }
.ccn-hs-head { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto var(--s-7); padding-inline: var(--gutter); box-sizing: border-box; }
.ccn-hs-head h2 { margin: 0; }
.ccn-hs-track { display: flex; gap: var(--grid-gap); padding-inline: max(var(--gutter), calc((100vw - var(--content-max)) / 2)); will-change: transform; }
.ccn-hs-card { flex: 0 0 min(420px, 80vw); display: flex; flex-direction: column; gap: var(--s-4); color: var(--ink); text-decoration: none; }
.ccn-hs-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--ink); }
.ccn-hs-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ccn-hs-card:hover .ccn-hs-media img { transform: scale(1.03); }
.ccn-hs-ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ccn-hs-ph svg { width: 34%; fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.ccn-hs-ph svg * { vector-effect: non-scaling-stroke; }
.ccn-hs-body { position: relative; display: grid; gap: 4px; padding-right: 56px; }
.ccn-hs-title { font-size: 1.375rem; font-weight: 500; line-height: 1.3; }
.ccn-hs-text { color: var(--text-soft); }
.ccn-hs-go { position: absolute; right: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .2s var(--ease); }
.ccn-hs-card:hover .ccn-hs-go { transform: translateX(3px); }
.ccn-hs-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Ordinateur : la section est épinglée, les cartes glissent pendant le défilement vertical (JS). */
.ccn-hs.is-pinned { padding-block: 0; }
.ccn-hs.is-pinned .ccn-hs-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 128px; box-sizing: border-box; }

/* ---------- 6. Actualités ---------- */

.ccn-news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.ccn-news-head h2 { margin: 0; }
.ccn-tabs { display: flex; gap: var(--s-6); border-bottom: 1px solid var(--line); }
.ccn-home .ccn-tabs button { position: relative; padding: 12px 0; margin: 0; border: 0; background: none; color: var(--text-soft); font: 500 1rem/1.2 var(--font); cursor: pointer; min-height: 44px; min-width: 0; box-shadow: none; }
.ccn-home .ccn-tabs button[aria-selected="true"] { color: var(--ink); }
.ccn-home .ccn-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.ccn-post { display: grid; gap: var(--s-2); color: var(--ink); text-decoration: none; }
.ccn-post-media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-media); overflow: hidden; background: var(--surface); margin-bottom: var(--s-2); }
.ccn-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ccn-post:hover .ccn-post-media img { transform: scale(1.03); }
.ccn-post-date { font-size: .875rem; color: var(--text-soft); }
.ccn-post-title { font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.ccn-post:hover .ccn-post-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.ccn-empty-news { color: var(--text-soft); }
.ccn-news-all { margin: var(--s-7) 0 0; }

/* ---------- 7 et 8. Entreprises, appel final ---------- */

.ccn-pro > * { max-width: 760px; }
.ccn-final { padding: var(--s-9) var(--s-6); border-radius: var(--radius-card); background: var(--ink); color: #fff; text-align: center; }
body .ccn-final h2 { color: #fff; margin: 0; }
.ccn-final .ccn-btns { justify-content: center; margin-top: var(--s-6); }

/* ---------- Tablette et mobile ---------- */

@media (max-width: 1023px) {
	.ccn-offers-grid { grid-template-columns: 1fr; gap: 0; }
	.ccn-offers-sticky { display: none; }
	.ccn-offer-step, .ccn-offer-step:last-child { min-height: 0; padding-bottom: var(--s-5); }
	.ccn-offer-step > a { color: var(--ink); }
	.ccn-offer-card--inline { display: flex; }
	.ccn-offer-card--inline img { aspect-ratio: 16 / 9; flex: none; height: auto; }
	.ccn-duo-in { grid-template-columns: 1fr; gap: var(--s-6); }
	.ccn-hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); scrollbar-width: none; }
	.ccn-hs-track::-webkit-scrollbar { display: none; }
	.ccn-hs-card { scroll-snap-align: start; }
}
@media (max-width: 900px) {
	.ccn-hero { height: clamp(520px, calc(100svh - 114px), 760px); }
	.ccn-hero-in { padding-bottom: 104px; }
	.ccn-hero-arrows { display: none; }
	.ccn-hero-lead { font-size: 1.0625rem; }
	.ccn-hero-nav { bottom: 24px; }
	.ccn-final { padding: var(--s-8) var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
	.ccn-hero-media img, .ccn-hero-slide.is-on .ccn-hero-media img { transform: none; transition: none; }
	.ccn-hero-slide.is-on .ccn-hero-title .w > span, .ccn-hero-slide.is-on :is(.ccn-hero-lead, .ccn-btns) { animation: none; }
	.ccn-hero-slide { transition: none; }
	.ccn-offers-stage .ccn-offer-card { transition: none; }
}

/* ==========================================================================
   Carrousel v2 : bloc arrondi avec marges, panneau de texte coloré translucide,
   onglets titrés avec progression.
   ========================================================================== */
.ccn-hero-shell { padding: var(--s-5) var(--gutter) 0; background: var(--page); }
.ccn-hero { max-width: var(--wide-max); margin-inline: auto; height: clamp(460px, 66vh, 640px); border-radius: var(--radius-card); }
.ccn-hero-media::after { background: linear-gradient(90deg, rgba(17, 17, 17, .35) 0%, rgba(17, 17, 17, .08) 60%, rgba(17, 17, 17, 0) 100%); }
.ccn-hero-in { align-items: center; padding: var(--s-6) var(--s-7) 112px; max-width: none; }
.ccn-hero-txt { max-width: 600px; padding: var(--s-6) var(--s-6) var(--s-5); border-radius: 14px; background: rgba(22, 58, 79, .62); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4); }
.ccn-tone-1 .ccn-hero-txt { background: rgba(122, 55, 18, .62); }
.ccn-tone-2 .ccn-hero-txt { background: rgba(14, 38, 52, .62); }
.ccn-tone-3 .ccn-hero-txt { background: rgba(17, 17, 17, .58); }
body .ccn-hero .ccn-hero-title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem); margin-bottom: var(--s-4); text-shadow: none; }
.ccn-hero-lead { font-size: 1.0625rem; }
.ccn-hero-txt .ccn-btns { margin-top: var(--s-5); }
.ccn-hero-txt .ccn-b--acc { background: #fff; color: var(--ink); }
.ccn-hero-txt .ccn-b--acc:hover { background: var(--cream); color: var(--ink); }

/* Onglets titrés */
.ccn-hero-nav { bottom: 0; padding: 0 var(--s-7) var(--s-5); max-width: none; background: linear-gradient(0deg, rgba(17, 17, 17, .55), rgba(17, 17, 17, 0)); padding-top: var(--s-7); gap: var(--s-4); }
.ccn-hero-dots { flex: 1; gap: var(--s-5); }
.ccn-hero .ccn-hero-dots button { flex: 1; width: auto; height: auto; min-height: 44px; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 10px; padding-top: 14px; text-align: left; color: rgba(255, 255, 255, .65); font: 500 .9375rem/1.2 var(--font); transition: color .2s; }
.ccn-hero .ccn-hero-dots button:hover, .ccn-hero .ccn-hero-dots button.is-on { color: #fff; }
.ccn-hero-dots button i { grid-column: 1 / -1; order: -1; width: 100%; height: 2px; background: rgba(255, 255, 255, .3); }
.ccn-hero-dots button.is-on i { width: 100%; }
.ccn-hero-dots .n { font-variant-numeric: tabular-nums; opacity: .8; }
.ccn-hero-dots .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccn-hero-arrows { margin-left: var(--s-4); }
@media (max-width: 900px) {
	.ccn-hero-shell { padding: var(--s-3) var(--s-3) 0; }
	.ccn-hero { height: clamp(480px, 78svh, 620px); }
	.ccn-hero-in { align-items: flex-end; padding: var(--s-4) var(--s-4) 92px; }
	.ccn-hero-txt { padding: var(--s-5) var(--s-4); }
	.ccn-hero-nav { padding: var(--s-6) var(--s-4) var(--s-3); }
	.ccn-hero-dots { gap: var(--s-2); }
	.ccn-hero-dots .t { display: none; }
}
.ccn-hero .ccn-hero-dots button { grid-template-columns: max-content 1fr; justify-items: start; justify-content: stretch; }
.ccn-hero-dots .t { justify-self: start; }

/* Bloc local + FAQ */
.ccn-local { border-top: 1px solid var(--line); }
.ccn-local-in { max-width: var(--content-max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.ccn-local-txt h2 { margin-top: 0; }
.ccn-local .ccn-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-5); }
.ccn-local .ccn-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; color: var(--ink); font-weight: 500; text-decoration: none; }
.ccn-local .ccn-links a:hover { background: var(--surface); }
.ccn-hq { border-bottom: 1px solid var(--line); }
.ccn-hq:first-child { border-top: 1px solid var(--line); }
.ccn-hq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 52px 20px 0; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.ccn-hq summary::-webkit-details-marker { display: none; }
.ccn-hq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 300; color: var(--text-soft); transition: transform .2s var(--ease); }
.ccn-hq[open] summary::after { transform: rotate(45deg); }
.ccn-hq p { margin: 0 0 20px; color: var(--text-soft); }
@media (max-width: 1023px) { .ccn-local-in { grid-template-columns: 1fr; gap: var(--s-6); } }

/* L'essentiel */
.ccn-facts-bar { padding: var(--s-6) var(--gutter) 0; background: var(--page); }
.ccn-fb { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ccn-fb > div { padding: var(--s-5) var(--s-4); border-left: 1px solid var(--line); }
.ccn-fb > div:first-child { border-left: 0; padding-left: 0; }
.ccn-fb dt { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.ccn-fb dd { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
@media (max-width: 1023px) { .ccn-fb { grid-template-columns: 1fr 1fr; } .ccn-fb > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .ccn-fb > div:nth-child(-n+2) { border-top: 0; } }

/* Avis */
.ccn-reviews-in { max-width: var(--content-max); margin-inline: auto; }
.ccn-reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.ccn-reviews-head h2 { margin: 0; }
.ccn-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.ccn-review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); padding: var(--s-6); border-radius: var(--radius-card); background: #fff; box-shadow: 0 24px 60px -28px rgba(17, 17, 17, .2); }
.ccn-review::before { content: "★★★★★"; color: var(--terre-600); letter-spacing: 2px; font-size: 15px; }
.ccn-review blockquote { margin: 0; padding: 0; border: 0; }
.ccn-review blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink); font-style: normal; }
.ccn-review figcaption { font-weight: 600; color: var(--ink); }
.ccn-review figcaption span { display: block; font-weight: 400; font-size: .875rem; color: var(--text-soft); }
@media (max-width: 1023px) { .ccn-reviews-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Offres phares v2 : contenu détaillé à gauche, carte figée au centre de l'écran à droite
   ========================================================================== */
.ccn-offers { --stage-h: min(560px, calc(100vh - 220px)); }
.ccn-offers-grid { align-items: start; }
.ccn-offers-list h2 { margin-bottom: var(--s-6); }
.ccn-offers-list ol { margin-top: 0; }
.ccn-offer-step, .ccn-offer-step:last-child { min-height: 0; display: block; padding: var(--s-5) 0; }
.ccn-offer-step:last-child { border-bottom: 1px solid var(--line); margin-bottom: 30vh; }
.ccn-offer-step > a.ccn-offer-head { display: grid; grid-template-columns: 32px 1fr auto; align-items: baseline; gap: var(--s-3); padding: 0; }
.ccn-offer-p { font-size: 1.125rem; font-weight: 500; color: inherit; white-space: nowrap; }
.ccn-offer-p small { font-size: .8125rem; font-weight: 400; color: var(--text-soft); }
.ccn-offer-more { display: grid; grid-template-rows: 0fr; opacity: .45; transition: grid-template-rows .45s var(--ease), opacity .45s var(--ease); padding-left: 44px; }
.ccn-offer-more > * { overflow: hidden; min-height: 0; }
.ccn-offer-step.is-on .ccn-offer-more { grid-template-rows: 1fr; opacity: 1; }
.ccn-offer-more { display: grid; }
.ccn-offer-more > p { margin: var(--s-3) 0 0; color: var(--text); }
.ccn-offer-more ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; }
.ccn-offer-more li { position: relative; padding-left: 18px; margin: 0 0 6px; color: var(--text); font-size: .9375rem; }
.ccn-offer-more li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* Carte de droite : figée au centre vertical de l'écran (sous le header compact de 56 px). */
.ccn-offers-sticky { position: sticky; top: calc(28px + (100vh - var(--stage-h)) / 2); }
.ccn-offers-stage { height: var(--stage-h); }
.ccn-offer-price small { font-size: 1rem; letter-spacing: 0; color: var(--text-soft); }
@media (max-width: 1023px) {
	.ccn-offer-more { grid-template-rows: 1fr; opacity: 1; padding-left: 0; }
	.ccn-offer-step:last-child { margin-bottom: 0; }
	.ccn-offer-step > a.ccn-offer-head { grid-template-columns: 28px 1fr; }
	.ccn-offer-p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .ccn-offer-more { transition: none; } }
/* Repli des offres non actives (texte et liste ensemble). */
.ccn-offer-more { display: block; opacity: .45; }
.ccn-offer-more > * { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s var(--ease); }
.ccn-offer-more > p { margin-top: 0; }
.ccn-offer-more > ul { margin-top: 0; }
.ccn-offer-step.is-on .ccn-offer-more > p { max-height: 120px; margin-top: var(--s-3); }
.ccn-offer-step.is-on .ccn-offer-more > ul { max-height: 360px; margin-top: var(--s-3); }
@media (max-width: 1023px) {
	.ccn-offer-more { opacity: 1; }
	.ccn-offer-more > * { max-height: none; }
	.ccn-offer-more > p, .ccn-offer-more > ul { margin-top: var(--s-3); }
}
/* Section épinglée (ordinateur) : liste et carte figées, l'offre change au fil du défilement. */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned { height: calc(100vh + var(--n, 5) * 34vh); padding-block: 0; }
	.ccn-offers.is-pinned .ccn-offers-grid { position: sticky; top: calc(28px + (100vh - 660px) / 2); min-height: 660px; align-items: center; max-width: var(--content-max); margin-inline: auto; }
	.ccn-offers.is-pinned .ccn-offers-sticky { position: static; }
	.ccn-offers.is-pinned .ccn-offer-step:last-child { margin-bottom: 0; }
	.ccn-offers.is-pinned .ccn-offer-step { padding: 14px 0; }
	.ccn-offers.is-pinned .ccn-offers-list h2 { margin-bottom: var(--s-4); }
}
@media (min-width: 1024px) and (max-height: 760px) { .ccn-offers.is-pinned .ccn-offers-grid { top: 70px; } }

/* Offres v3 : liste stable, plus aérée ; carte animée au changement */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned .ccn-offers-grid { align-items: start; top: calc(28px + (100vh - 640px) / 2); min-height: 640px; }
	.ccn-offers.is-pinned .ccn-offers-sticky { padding-top: 12px; }
	.ccn-offers.is-pinned .ccn-offer-step { padding: 22px 0; }
}
.ccn-offer-step > a.ccn-offer-head { grid-template-columns: 56px 1fr auto; gap: var(--s-4); }
.ccn-offer-n { font-size: .9375rem; color: var(--text-soft); }
.ccn-offer-step.is-on .ccn-offer-n { color: var(--accent); font-weight: 600; }
.ccn-offer-more { padding-left: 72px; }
.ccn-offer-step { position: relative; }
.ccn-offer-step::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--ink); transition: width .6s var(--ease); }
.ccn-offer-step.is-on::before { width: 56px; }
/* Carte de droite : la photo se dézoome, le texte arrive en cascade */
.ccn-offers-stage .ccn-offer-card { transform: translateY(24px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.ccn-offers-stage .ccn-offer-card img { transform: scale(1.12); transition: transform 1.2s var(--ease); }
.ccn-offers-stage .ccn-offer-card.is-on img { transform: scale(1); }
.ccn-offers-stage .ccn-offer-card .ccn-offer-body > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > * { opacity: 1; transform: none; }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > :nth-child(1) { transition-delay: .12s; }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > :nth-child(2) { transition-delay: .18s; }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > :nth-child(3) { transition-delay: .24s; }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > :nth-child(4) { transition-delay: .30s; }
.ccn-offers-stage .ccn-offer-card.is-on .ccn-offer-body > :nth-child(5) { transition-delay: .36s; }
.ccn-offers-bar i { transition: transform .7s var(--ease); }
@media (max-width: 1023px) { .ccn-offer-step > a.ccn-offer-head { grid-template-columns: 40px 1fr; } .ccn-offer-more { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) {
	.ccn-offers-stage .ccn-offer-card, .ccn-offers-stage .ccn-offer-card img, .ccn-offers-stage .ccn-offer-card .ccn-offer-body > * { transition: none; transform: none; }
	.ccn-offers-stage .ccn-offer-card .ccn-offer-body > * { opacity: 1; }
}

/* Services : bloc figé au centre vertical de l'écran (sous le header compact), défilement horizontal des cartes */
@media (min-width: 1024px) {
	.ccn-hs.is-pinned .ccn-hs-pin { top: 0; height: 100vh; justify-content: center; padding-top: 56px; box-sizing: border-box; }
	.ccn-hs.is-pinned .ccn-hs-head { margin-bottom: var(--s-6); }
	.ccn-hs-card { flex-basis: min(420px, 30vw); }
}

/* Offres v4 : défilement long (≈ 90 % d'écran par offre), liste plus espacée */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned { height: calc(100vh + var(--n, 5) * 90vh); }
	.ccn-offers.is-pinned .ccn-offer-step { padding: 30px 0; }
	.ccn-offers.is-pinned .ccn-offers-list h2 { margin-bottom: var(--s-6); }
	.ccn-offers.is-pinned .ccn-offers-grid { top: calc(28px + (100vh - 720px) / 2); min-height: 720px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
	.ccn-offers.is-pinned .ccn-offer-step { padding: 20px 0; }
	.ccn-offers.is-pinned .ccn-offers-grid { top: 70px; }
}
@media (min-width: 1024px) { .ccn-offers.is-pinned .ccn-offers-sticky { align-self: center; padding-top: 0; } }

/* Offres v5 : la section suivante (Le cadre) monte par-dessus le bloc figé */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned { height: calc(200vh + var(--n, 5) * 90vh); position: relative; z-index: 1; }
	.ccn-offers.is-pinned .ccn-offers-grid { transform: scale(calc(1 - var(--cover, 0) * .06)); opacity: calc(1 - var(--cover, 0) * .55); transform-origin: 50% 40%; }
	.ccn-offers.is-pinned + .ccn-duo { position: relative; z-index: 2; margin-top: -100vh; border-radius: 28px 28px 0 0; box-shadow: 0 -30px 60px -20px rgba(17, 17, 17, .18); border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .ccn-offers.is-pinned .ccn-offers-grid { transform: none; opacity: 1; } }

/* Offres v6 : défilement d'environ 45 % d'écran par offre ; empilement dans la liste */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned { height: calc(200vh + var(--n, 5) * 45vh); }
	.ccn-offers.is-pinned .ccn-offer-step { background: var(--surface); padding: 26px 0; transition: box-shadow .5s var(--ease), padding .5s var(--ease); }
	/* Offres passées : réduites à leur titre, l'offre active vient se poser dessus */
	.ccn-offers.is-pinned .ccn-offer-step.is-past { padding: 14px 0; }
	.ccn-offers.is-pinned .ccn-offer-step.is-past .ccn-offer-head { opacity: .55; }
	.ccn-offers.is-pinned .ccn-offer-step.is-on { box-shadow: 0 -22px 30px -26px rgba(17, 17, 17, .35); }
	.ccn-offers.is-pinned .ccn-offer-step.is-enter { animation: ccn-stack .7s var(--ease) both; }
}
@keyframes ccn-stack { from { transform: translateY(70px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ccn-offers.is-pinned .ccn-offer-step.is-enter { animation: none; } }

/* Recouvrement complet : Le cadre fait au moins un écran, les offres disparaissent à la fin */
@media (min-width: 1024px) {
	.ccn-offers.is-pinned + .ccn-duo { min-height: 100vh; display: flex; align-items: center; box-sizing: border-box; }
	.ccn-offers.is-pinned + .ccn-duo > .ccn-duo-in { width: 100%; }
	.ccn-offers.is-pinned .ccn-offers-grid { opacity: calc(1 - var(--cover, 0)); }
	.ccn-offers.is-pinned.is-covered .ccn-offers-grid { visibility: hidden; }
}

/* v7 : fond de toute la section qui change légèrement à chaque offre (teintes claires de la charte) */
.ccn-offers { --offer-bg: var(--terre-100); }
.ccn-offers[data-offer="1"] { --offer-bg: var(--cream); }
.ccn-offers[data-offer="2"] { --offer-bg: var(--petrole-100); }
.ccn-offers[data-offer="3"] { --offer-bg: var(--terre-50); }
.ccn-offers[data-offer="4"] { --offer-bg: color-mix(in srgb, var(--sand) 45%, #fff); }
html body .ccn-offers.ccn-band { background-color: var(--offer-bg); transition: background-color .8s var(--ease); }
@media (min-width: 1024px) {
	html body .ccn-offers.is-pinned .ccn-offer-step { background-color: var(--offer-bg); transition: background-color .8s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease); }
}
@media (prefers-reduced-motion: reduce) { html body .ccn-offers.ccn-band, html body .ccn-offers .ccn-offer-step { transition: none; } }

/* Prix mensuel des formules mensualisées (sous le prix annuel) */
.ccn-offer-month { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--text-soft); letter-spacing: 0; }
.ccn-offer-price .ccn-offer-month { font-size: 1rem; margin-top: 6px; }

/* v8 : hauteur de la section offres calculée en JS (pas identique par offre) */
.ccn-offers.is-pinned { position: relative; }

/* v9 : hero en glissement horizontal (au lieu du fondu) + logo fixe à droite sur toutes les diapositives */
.ccn-hero .ccn-hero-slide { opacity: 1; visibility: hidden; transform: translateX(100%); transition: transform .9s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .9s; will-change: transform; }
.ccn-hero .ccn-hero-slide.is-on { visibility: visible; transform: none; z-index: 2; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.ccn-hero .ccn-hero-slide.is-leaving { visibility: visible; z-index: 1; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.ccn-hero-logo { position: absolute; z-index: 4; right: clamp(24px, 5vw, 80px); top: 46%; transform: translateY(-50%); width: clamp(170px, 17vw, 290px); pointer-events: none; filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .5)); }
.ccn-hero-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .ccn-hero-logo { top: 20px; right: 20px; transform: none; width: 120px; } }
@media (max-width: 639px) { .ccn-hero-logo { width: 92px; top: 14px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .ccn-hero .ccn-hero-slide, .ccn-hero .ccn-hero-slide.is-on { transition: none; } }
/* Logo en haut à droite du hero : ne chevauche jamais le panneau de texte (à gauche ou à droite selon la diapositive) */
.ccn-hero-logo { top: clamp(22px, 3vw, 40px); right: clamp(24px, 3.5vw, 56px); transform: none; width: clamp(140px, 12vw, 200px); }
@media (max-width: 1023px) { .ccn-hero-logo { top: 18px; right: 18px; width: 110px; } }
@media (max-width: 639px) { .ccn-hero-logo { width: 92px; top: 14px; right: 14px; } }
.ccn-hero-logo::before { content: ""; position: absolute; inset: -30% -22%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 12, 14, .55), rgba(10, 12, 14, 0)); }

/* v10 : section « Le club en images » : sobre, vidéo courte muette en boucle */
.ccn-vid-sec { background: var(--page); }
html body .ccn-vid-sec > .ccn-wrap { padding-inline: 0; max-width: var(--content-max); }
.ccn-vid-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--col-gap); align-items: center; }
.ccn-vid-k { margin: 0 0 var(--s-4); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
html body .ccn-vid-sec h2 { margin: 0 0 var(--s-4); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.ccn-vid-x { margin: 0 0 var(--s-5); color: var(--text-soft); line-height: 1.6; }
.ccn-vid-link { font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ccn-vid-link::after { content: " →"; }
.ccn-vid-sec .ccn-video--bg { aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: none; }
@media (max-width: 1023px) { .ccn-vid-in { grid-template-columns: 1fr; } }

/* v11 : logo du hero grand, centré dans la partie droite libre (le panneau de texte est à gauche) */
@media (min-width: 1024px) {
	.ccn-hero-logo { top: calc((100% - 112px) / 2); right: auto; left: calc(var(--s-7) + 600px + (100% - var(--s-7) - 600px) / 2); transform: translate(-50%, -50%); width: clamp(240px, 24vw, 400px); }
	.ccn-hero-logo::before { inset: -35% -25%; }
}

/* v11 : nom et texte du service à l'intérieur de la photo */
.ccn-hs-card { position: relative; gap: 0; border-radius: 16px; overflow: hidden; }
.ccn-hs-card .ccn-hs-media { display: block; aspect-ratio: 4 / 5; }
.ccn-hs-card .ccn-hs-media img { width: 100%; height: 100%; object-fit: cover; }
.ccn-hs-card .ccn-hs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 14, 0) 40%, rgba(10, 12, 14, .78) 100%); pointer-events: none; }
.ccn-hs-card .ccn-hs-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 76px 24px 24px; color: #fff; }
.ccn-hs-card .ccn-hs-title { color: #fff; font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.ccn-hs-card .ccn-hs-text { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; }
.ccn-hs-card .ccn-hs-go { right: 20px; top: auto; bottom: 24px; background: #fff; color: var(--ink); }

/* v12 : fond photo du service en cours, derrière « Nos services » ET « Le club en images » ;
   la zone coupe le fond (overflow: clip), qui s'arrête donc au-dessus des actualités. */
.ccn-svc-zone { position: relative; overflow: clip; background: var(--surface); }
.ccn-hs-bg { display: none; }
@media (min-width: 1024px) {
	.ccn-svc-zone .ccn-hs-bg { display: block; position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; pointer-events: none; z-index: 0; }
	.ccn-svc-zone > section { position: relative; z-index: 1; background: transparent; }
	.ccn-hs-bg-i { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
	.ccn-hs-bg-i.is-on { opacity: .28; }
	.ccn-hs-bg-i img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transform: scale(1.04); }
	.ccn-hs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--surface) 0%, rgba(248, 247, 245, .55) 30%, rgba(248, 247, 245, .45) 60%, var(--surface) 100%), radial-gradient(120% 80% at 50% 50%, rgba(248, 247, 245, 0) 40%, rgba(248, 247, 245, .6) 100%); }
}
@media (prefers-reduced-motion: reduce) { .ccn-hs-bg-i { transition: none; } }
