/* ==========================================================================
   En-tête et méga menu (repris du prototype validé prototype-menu-ccn.html)
   ========================================================================== */

/* Remise à zéro des styles de boutons d'Astra dans nos composants.
   Couleurs, fonds et bordures : sélecteur :is() assez fort pour battre Astra (button:hover, button:focus).
   Typographie : :where() = spécificité nulle, pour que la taille propre de chaque composant gagne toujours
   (sinon un bouton qui a le focus retombait en taille de texte courante). */
:is(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) :is(button, button:hover, button:focus, button:active) {
	color: inherit;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	min-height: 0;
}
:is(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) button {
	padding: 0;
	margin: 0;
}
:where(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) :where(button, button:hover, button:focus, button:active) {
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	line-height: inherit;
}

:is(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) a:where(:link, :visited, :hover, :focus) {
	color: inherit;
	text-decoration: none;
}

:is(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) :focus-visible {
	outline: 2px solid var(--terre-600);
	outline-offset: 3px;
	border-radius: 4px;
}

:is(.ccn-ann, .ccn-tb, .ccn-hdr, .ccn-ov, .ccn-sticky-book) {
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
}

.ccn-spacer { margin-left: auto; }

/* ---------- Bandeau d'information défilant ---------- */

.ccn-ann {
	/* Dégradé terre battue / pétrole qui glisse lentement (60 s par aller). */
	background: linear-gradient(100deg, var(--terre-800) 0%, var(--terre-700) 22%, #5a3a2c 42%, var(--petrole-700) 62%, var(--petrole-800) 80%, var(--terre-800) 100%);
	background-size: 300% 100%;
	animation: ccn-grad 60s ease-in-out infinite alternate;
	color: #fff;
	overflow: hidden;
	height: 38px;
	display: flex;
	align-items: center;
	font-size: 13.5px;
	letter-spacing: .04em;
}
.ccn-ann-track { display: flex; width: max-content; animation: ccn-marq 38s linear infinite; }
.ccn-ann:hover .ccn-ann-track { animation-play-state: paused; }
.ccn-ann-set { display: flex; align-items: center; flex-shrink: 0; }
.ccn-ann-set span { padding: 0 28px; white-space: nowrap; }
.ccn-ann-set i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .55); flex-shrink: 0; }
@keyframes ccn-marq { to { transform: translateX(-50%); } }
@keyframes ccn-grad { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Barre fine crème (ordinateur) ---------- */

.ccn-tb { background: var(--cream); border-bottom: 1px solid var(--sand); font-size: 13.5px; color: var(--ink); }
.ccn-tb-in { height: 38px; max-width: 1500px; margin: auto; padding-inline: 28px; display: flex; align-items: center; gap: 22px; }
.ccn-soc { display: flex; gap: 4px; }
.ccn-soc a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.ccn-soc a:hover { background: var(--sand); }
.ccn-soc .is-empty { width: 30px; height: 30px; display: grid; place-items: center; opacity: .4; }
.ccn-soc svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-tb .ccn-tb-l { font-weight: 500; letter-spacing: .04em; }
.ccn-tb .ccn-tb-l:hover { text-decoration: underline; text-underline-offset: 4px; }
.ccn-lang { font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--graphite); }
.ccn-lang b { color: var(--ink); font-weight: 700; }

/* ---------- Barre principale (fixe au défilement) ---------- */

/* La barre garde une hauteur réservée de 76 px dans la page : son rétrécissement à 56 px
   ne décale pas le contenu (pas de saut). La zone libérée est transparente et non cliquable. */
.ccn-hdr { position: sticky; top: 0; z-index: 30; height: 77px; pointer-events: none; color: var(--ink); }
.ccn-hdr-bar { pointer-events: auto; background: var(--ink); border-bottom: 1px solid #2a2724; color: #fff; transition: box-shadow .3s ease; }
.admin-bar .ccn-hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .ccn-hdr { top: 46px; } }
.ccn-hdr-in { height: 76px; max-width: 1500px; margin: auto; padding-inline: 28px; display: flex; align-items: center; gap: 22px; transition: height .3s ease; }

.ccn-compact .ccn-hdr-bar { box-shadow: 0 6px 24px rgba(17, 17, 17, .25); }
.ccn-compact .ccn-hdr-in { height: 56px; }
.ccn-hdr .ccn-logo, .ccn-hdr .ccn-ic, .ccn-hdr a.ccn-btn, .ccn-hdr .ccn-menu-btn { transition: transform .3s ease, height .3s ease, width .3s ease; }
.ccn-compact .ccn-hdr .ccn-logo { transform: scale(.78); transform-origin: left center; }
.ccn-compact .ccn-hdr .ccn-ic { width: 36px; height: 36px; }
.ccn-compact .ccn-hdr a.ccn-btn { height: 44px; }
.ccn-compact .ccn-hdr .ccn-menu-btn { height: 38px; }

.ccn-logo { display: grid; line-height: 1.1; color: var(--ink); }
.ccn-logo b { font-weight: 500; font-size: 20px; white-space: nowrap; }
.ccn-logo-img { display: block; max-height: 60px; width: auto; }

.ccn-hdr .ccn-lnk { font-size: 16px; font-weight: 500; padding: 8px 4px; position: relative; }
.ccn-lnk::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px; background: var(--terre-600); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.ccn-lnk:hover::after { transform: scaleX(1); }

.ccn-ic { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.ccn-ic:hover { background: var(--cream); }
.ccn-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-cnt { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--terre-600); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

a.ccn-btn,
a.ccn-btn:hover,
a.ccn-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding-inline: 20px;
	border-radius: var(--radius-btn);
	background: var(--terre-600);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	transition: background .2s, color .2s;
	white-space: nowrap;
}
a.ccn-btn:hover { background: var(--terre-700); }

.ccn-hdr .ccn-menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding-inline: 8px 4px; font-weight: 500; font-size: 16px; letter-spacing: .04em; color: var(--ink); }

.ccn-bars { position: relative; width: 26px; height: 18px; display: block; }
.ccn-bars i { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform .35s cubic-bezier(.6, 0, .2, 1), width .3s, opacity .2s, top .35s; }
.ccn-bars i:nth-child(1) { top: 2px; width: 26px; }
.ccn-bars i:nth-child(2) { top: 8.5px; width: 18px; }
.ccn-bars i:nth-child(3) { top: 15px; width: 26px; }
.ccn-menu-btn:hover .ccn-bars i:nth-child(2) { width: 26px; }
.ccn-menu-btn.is-open .ccn-bars i:nth-child(1) { top: 8.5px; transform: rotate(45deg); width: 26px; }
.ccn-menu-btn.is-open .ccn-bars i:nth-child(2) { opacity: 0; width: 0; }
.ccn-menu-btn.is-open .ccn-bars i:nth-child(3) { top: 8.5px; transform: rotate(-45deg); width: 26px; }

/* Barre principale noire : logo, liens, icônes et bouton Réserver en blanc. */
.ccn-hdr .ccn-logo, .ccn-hdr .ccn-lnk, .ccn-hdr .ccn-ic, .ccn-hdr .ccn-menu-btn { color: #fff; }
.ccn-hdr .ccn-ic:hover { background: rgba(255, 255, 255, .1); }
.ccn-hdr a.ccn-btn, .ccn-hdr a.ccn-btn:focus { background: #fff; color: var(--ink); }
.ccn-hdr a.ccn-btn:hover { background: var(--cream); color: var(--ink); }
.ccn-hdr .ccn-cnt { box-shadow: 0 0 0 2px var(--ink); }
.ccn-hdr :focus-visible { outline-color: #fff; }

/* ---------- Panneau plein écran ---------- */

.ccn-ov[hidden] { display: none; }
.ccn-ov {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	--mut: rgba(255, 255, 255, .72);
	--line: rgba(255, 255, 255, .22);
	--acc: #E3A98A;
	animation: ccn-ovin .4s ease both;
	font-size: 17px;
	line-height: 1.5;
}
@keyframes ccn-ovin { from { opacity: 0; } to { opacity: 1; } }
.ccn-ov[data-th="tennis"] { --acc: #FFC9A6; --acc-strong: #F0915A; }
.ccn-ov[data-th="pickleball"] { --acc: #C6DDEA; --acc-strong: #8CC6E2; }
.ccn-ov[data-th="neutral"] { --acc: #E3A98A; --acc-strong: #E3A98A; }
.ccn-ov[data-th="duo"], .ccn-ov[data-th="trio"] { --acc: #E3A98A; --acc-strong: #F0915A; }

.ccn-bg { position: absolute; inset: 0; z-index: 0; }
.ccn-sec { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.ccn-sec.on { opacity: 1; }
.ccn-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.ccn-slide.on { opacity: 1; }
.ccn-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.08); transition: transform 8s cubic-bezier(.25, .1, .25, 1); will-change: transform; }
/* Zoom lent : une photo sur deux se rapproche, l'autre recule. */
.ccn-slide.on img { transform: scale(1); }
.ccn-slide:nth-child(even) img { transform: scale(1); }
.ccn-slide:nth-child(even).on img { transform: scale(1.08); }

/* Objets flottants (balles, raquettes) : suivent doucement la souris, changent selon la rubrique. */
.ccn-fl { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ccn-fl-set { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.ccn-ov[data-th="tennis"] .ccn-fl-set[data-set="tennis"],
.ccn-ov[data-th="pickleball"] .ccn-fl-set[data-set="pickleball"],
.ccn-ov[data-th="neutral"] .ccn-fl-set[data-set="neutral"],
.ccn-ov[data-th="duo"] .ccn-fl-set[data-set="neutral"],
.ccn-ov[data-th="trio"] .ccn-fl-set[data-set="neutral"] { opacity: 1; }
.ccn-fl-i { position: absolute; left: var(--x); top: var(--y); width: var(--s); opacity: var(--o); transform: translate3d(calc(var(--mx, 0) * var(--d) * 48px), calc(var(--my, 0) * var(--d) * 48px), 0); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.ccn-fl-b { display: block; animation: ccn-bob var(--t) ease-in-out infinite alternate; }
.ccn-fl svg { display: block; width: 100%; height: auto; transform: rotate(var(--r)) scale(.86); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ccn-fl svg * { vector-effect: non-scaling-stroke; }
.ccn-ov[data-th="tennis"] [data-set="tennis"] svg,
.ccn-ov[data-th="pickleball"] [data-set="pickleball"] svg,
.ccn-ov[data-th="neutral"] [data-set="neutral"] svg,
.ccn-ov[data-th="duo"] [data-set="neutral"] svg,
.ccn-ov[data-th="trio"] [data-set="neutral"] svg { transform: rotate(var(--r)) scale(1); }
@keyframes ccn-bob { from { transform: translateY(-9px) rotate(-4deg); } to { transform: translateY(9px) rotate(4deg); } }

.ccn-scrim { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.ccn-scrim.on { opacity: 1; }
.ccn-scrim.neutral { background: linear-gradient(95deg, #111 0%, rgba(17, 17, 17, .94) 30%, rgba(17, 17, 17, .62) 62%, rgba(17, 17, 17, .35) 100%); }
.ccn-scrim.tennis { background: linear-gradient(95deg, #111 0%, rgba(38, 15, 5, .95) 28%, rgba(140, 62, 22, .66) 68%, rgba(196, 98, 45, .5) 100%); }
.ccn-scrim.pickleball { background: linear-gradient(95deg, #111 0%, rgba(9, 26, 38, .95) 28%, rgba(29, 74, 99, .7) 68%, rgba(47, 95, 121, .55) 100%); }
/* Rubriques sans photo : dégradés de marque qui glissent lentement (côté gauche sombre pour le texte). */
.ccn-scrim.duo { background: linear-gradient(115deg, #0E2634 0%, #163A4F 24%, #2F5F79 44%, #A34A19 70%, #C4622D 100%); background-size: 125% 125%; }
.ccn-scrim.trio { background: linear-gradient(115deg, #0B0B0B 0%, #111 20%, #163A4F 42%, #7A3712 64%, #B8541F 86%); background-size: 125% 125%; }
.ccn-scrim.duo.on, .ccn-scrim.trio.on { animation: ccn-drift 30s ease-in-out infinite alternate; }
@keyframes ccn-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.ccn-scrim.ccn-vig { opacity: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, transparent 26%, transparent 80%, rgba(0, 0, 0, .25) 100%); }

.ccn-ov-top, .ccn-grid, .ccn-mob, .ccn-ov-foot { position: relative; z-index: 2; }
/* Haut : logo centré avec Réserver et Devenir membre dessous ; à droite langue, réseaux, fermer. */
.ccn-ov-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 22px; padding: 48px 28px 0; flex: none; }
.ccn-ov-mid { grid-column: 2; display: grid; justify-items: center; gap: 18px; }
.ccn-ov-top .ccn-logo-img { max-height: 100px; }
.ccn-ov-r1 { grid-column: 3; justify-self: end; margin-top: -20px; display: flex; align-items: center; gap: 22px; }
.ccn-ov-soc { display: flex; align-items: center; gap: 4px; }
.ccn-ov-soc a, .ccn-ov-soc span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; transition: background-color .2s; }
.ccn-ov-soc a:hover { background: rgba(255, 255, 255, .12); }
.ccn-ov-soc svg, .ccn-pill svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-ov .is-empty { opacity: .45; cursor: help; }
.ccn-ov-cta { display: flex; gap: 10px; }
.ccn-ov .ccn-ov-cta a.ccn-btn { height: 48px; padding-inline: 20px; }
.ccn-ov a.ccn-btn.ccn-btn-line, .ccn-ov a.ccn-btn.ccn-btn-line:focus { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.ccn-ov a.ccn-btn.ccn-btn-line:hover { background: #fff; color: var(--ink); }
/* Bas : WhatsApp et Contact centrés. */
.ccn-ov-foot { flex: none; display: flex; justify-content: center; gap: 12px; padding: 0 28px 26px; }
.ccn-ov .ccn-pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 15.5px; font-weight: 500; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s; }
.ccn-ov a.ccn-pill:hover { background: rgba(255, 255, 255, .2); border-color: #fff; color: #fff; }
.ccn-ov .ccn-logo { color: #fff; }
.ccn-ov .ccn-lang { color: var(--mut); }
.ccn-ov .ccn-lang b { color: #fff; }
.ccn-ov .ccn-close { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding-inline: 8px; font-weight: 500; letter-spacing: .04em; }
.ccn-x { position: relative; width: 26px; height: 26px; }
.ccn-x::before, .ccn-x::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.ccn-x::after { transform: rotate(-45deg); }
.ccn-ov a.ccn-btn, .ccn-ov a.ccn-btn:focus { background: #fff; color: var(--ink); }
.ccn-ov a.ccn-btn:hover { background: var(--acc); color: var(--ink); }

.ccn-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 30% 23% 25% 22%; padding: 0 28px 16px; }
.ccn-grid.single { grid-template-columns: 30% 0 48% 22%; }
.ccn-grid.single #ccn-c2 { padding: 0; visibility: hidden; }
.ccn-col { padding: 8px 28px 0 0; overflow-y: auto; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
/* Sous-menus alignés sur l'élément choisi (décalage calculé en JS). */
#ccn-c2, #ccn-c3 { justify-content: flex-start; }
#ccn-grid #ccn-c2 > h2, #ccn-grid #ccn-c3 > h2 { margin-top: var(--ccn-off, 0px); }
.ccn-ov ul { list-style: none; margin: 0; padding: 0; }
.ccn-col ul { display: grid; gap: 2px; }

.ccn-ov .ccn-l1,
.ccn-ov .ccn-l1:hover,
.ccn-ov .ccn-l1:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 8px 0;
	font-size: clamp(1.6rem, 2.8vw, 2.5rem);
	font-weight: 300;
	line-height: 1.2;
	text-align: left;
	color: var(--mut);
	transition: color .25s;
}
.ccn-ov .ccn-l1:hover, .ccn-ov .ccn-l1:focus-visible { color: #fff; }
.ccn-ov .ccn-l1.on { color: var(--acc-strong); }
.ccn-l1-t { display: inline-block; transform-origin: left center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ccn-l1:hover .ccn-l1-t, .ccn-l1:focus-visible .ccn-l1-t { transform: scale(1.06); }
.ccn-ov .ccn-l1.on .ccn-l1-t { transform: scale(1.16); font-weight: 400; }
.ccn-ar { font-size: .7em; opacity: .75; margin-right: 12px; }
.ccn-ov .ccn-l2 { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; line-height: 1.3; letter-spacing: 0; text-transform: none; text-align: left; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: color .2s; }
.ccn-ov .ccn-l2:hover, .ccn-ov .ccn-l2.on { color: var(--acc-strong); }
.ccn-ov .ccn-l2 .ccn-ar { font-size: 1.1em; transition: transform .25s; }
.ccn-ov .ccn-l2:hover .ccn-ar, .ccn-ov .ccn-l2.on .ccn-ar { transform: translateX(3px); }
.ccn-c3 a { display: block; padding: 6px 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; color: #fff; transition: color .15s, transform .15s; }
.ccn-ov .ccn-c3 a:hover { color: var(--acc); transform: translateX(4px); }
#ccn-c2 > h2, .ccn-c3 h2 { margin: 0 0 14px; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--acc); line-height: 1.4; }
/* Entrée des sous-menus : chaque ligne se dévoile de bas en haut, en cascade. */
.ccn-reveal > * { animation: ccn-reveal .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes ccn-reveal { from { opacity: 0; transform: translateY(14px); clip-path: inset(-10% -10% 100% -10%); } to { opacity: 1; transform: none; clip-path: inset(-10% -10% -10% -10%); } }
#ccn-c2 > h2.ccn-reveal-h, .ccn-c3 h2.ccn-reveal-h { animation: ccn-reveal .45s cubic-bezier(.2, .7, .2, 1) both; }
.ccn-rise > * { opacity: 0; animation: ccn-rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes ccn-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ccn-side { position: absolute; right: 28px; bottom: 90px; z-index: 3; width: min(340px, 26vw); display: grid; gap: 14px; justify-items: end; }
.ccn-card { width: 100%; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.ccn-news { width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background-color .2s, border-color .2s; }
.ccn-ov a.ccn-news:hover { background: rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .4); color: #fff; }
.ccn-news img, .ccn-news-ph { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; display: block; background: rgba(255, 255, 255, .1); }
.ccn-news-tx { display: grid; gap: 3px; min-width: 0; }
.ccn-news-k { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-strong); }
.ccn-news-t { font-size: 15px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccn-news-d { font-size: 13px; color: var(--mut); }
.ccn-side > .ccn-news, .ccn-side > .ccn-card { animation: ccn-reveal .5s cubic-bezier(.2, .7, .2, 1) both; }
.ccn-side > .ccn-card { animation-delay: 80ms; }
.ccn-card strong { font-size: 19px; font-weight: 500; line-height: 1.2; }
.ccn-card p { margin: 0; color: var(--mut); font-size: 15px; }
.ccn-ov .ccn-card a.ccn-btn { margin-top: 8px; justify-self: start; height: 44px; font-size: 15px; }
.ccn-dots { display: flex; gap: 8px; align-items: center; }
.ccn-ov .ccn-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: width .25s, background .25s; }
.ccn-ov .ccn-dots button.on { background: #fff; width: 24px; border-radius: 4px; }

.ccn-menu-src { display: none; }
.ccn-mob { display: none; }

/* Mobile : écrans successifs */
.ccn-mp { animation: ccn-mpin .3s ease both; }
.ccn-mp.back { animation-name: ccn-mpback; }
@keyframes ccn-mpin { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ccn-mpback { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.ccn-ov .ccn-mp-a { display: flex; width: 100%; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 26px; font-weight: 300; line-height: 1.2; padding: 20px 4px; text-align: left; }
.ccn-ov .ccn-mp-back { color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0 14px; }
.ccn-mp-back span { font-size: 20px; margin-right: 6px; vertical-align: -2px; }
.ccn-mp-t { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); padding: 6px 4px 4px; }
.ccn-ov .ccn-mp a.ccn-btn { margin-top: 24px; }

/* Bouton Réserver fixe (mobile) */
.ccn-sticky-book { display: none; }

@media (max-width: 900px) {
	.ccn-hdr-in { padding-inline: 16px; gap: 10px; }
	.ccn-hdr .ccn-lnk, .ccn-hdr .ccn-ic-acct, .ccn-hdr a.ccn-btn { display: none; }
	.ccn-logo b { font-size: 17px; }
	.ccn-logo-img { max-height: 44px; }
	.ccn-tb { display: none; }
	.ccn-ann { font-size: 12.5px; }

	.ccn-ov-top { grid-template-columns: auto 1fr; gap: 12px 8px; padding: 16px 16px 0; }
	.ccn-ov-mid { display: contents; }
	.ccn-ov-top .ccn-logo { grid-column: 1; grid-row: 1; }
	.ccn-ov-top .ccn-logo-img { max-height: 48px; }
	.ccn-ov-r1 { grid-column: 2; grid-row: 1; justify-self: end; gap: 4px; }
	.ccn-ov-r1 .ccn-lang, .ccn-ov .ccn-close > span:first-child { display: none; }
	.ccn-ov-cta { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 6px; }
	.ccn-ov .ccn-ov-cta a.ccn-btn { width: 100%; padding-inline: 12px; }
	.ccn-ov-foot { padding: 12px 16px 20px; }
	.ccn-ov .ccn-pill { flex: 1; justify-content: center; }
	.ccn-menu-open .ccn-sticky-book { display: none; }
	.ccn-grid, .ccn-side { display: none; }
	.ccn-scrim.neutral { background: linear-gradient(180deg, rgba(17, 17, 17, .82), rgba(17, 17, 17, .92)); }
	.ccn-scrim.tennis { background: linear-gradient(180deg, rgba(38, 15, 5, .8), rgba(140, 62, 22, .78)); }
	.ccn-scrim.pickleball { background: linear-gradient(180deg, rgba(9, 26, 38, .8), rgba(29, 74, 99, .8)); }
	.ccn-mob { display: block; flex: 1; overflow-y: auto; padding: 0 16px 16px; }

	.ccn-sticky-book { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100001; }
	.ccn-sticky-book a.ccn-btn { width: 100%; height: 52px; }
	body { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
	.ccn-reveal > *, .ccn-c3 h2.ccn-reveal-h, .ccn-side > .ccn-news, .ccn-side > .ccn-card { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
	:is(.ccn-ann, .ccn-hdr, .ccn-ov) *,
	.ccn-ov { animation: none !important; transition: none !important; }
	.ccn-rise > * { opacity: 1; }
	.ccn-ann-set[aria-hidden] { display: none; }
	.ccn-ann { justify-content: center; }
}

/* ---------- Fenêtre Contact ---------- */

.ccn-cm[hidden] { display: none; }
.ccn-cm { position: fixed; inset: 0; z-index: 100010; display: grid; place-items: center; padding: 16px; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
.ccn-cm-bg { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: ccn-fade .3s ease both; }
.ccn-cm-box { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 32px 28px 24px; box-shadow: 0 30px 80px rgba(17, 17, 17, .3); display: grid; gap: 18px; animation: ccn-pop .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ccn-fade { from { opacity: 0; } }
@keyframes ccn-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ccn-cm .ccn-cm-x, .ccn-cm .ccn-cm-x:hover, .ccn-cm .ccn-cm-x:focus { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); padding: 0; cursor: pointer; }
.ccn-cm .ccn-cm-x:hover { background: var(--sand); }
.ccn-cm-x .ccn-x { width: 18px; height: 18px; }
.ccn-cm-x .ccn-x::before, .ccn-cm-x .ccn-x::after { top: 8px; }
.ccn-cm-k { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--terre-700); }
.ccn-cm .ccn-cm-t { margin: -10px 0 0; font-family: var(--font); font-size: 32px; font-weight: 300; line-height: 1.15; color: var(--ink); }
.ccn-cm a { text-decoration: none; }
.ccn-cm a.ccn-cm-wa, .ccn-cm a.ccn-cm-wa:hover, .ccn-cm a.ccn-cm-wa:focus { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-btn); background: #1F7A4D; color: #fff; transition: background-color .2s; }
.ccn-cm a.ccn-cm-wa:hover { background: #17643e; }
.ccn-cm-wa svg { width: 30px; height: 30px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-cm-wa span { display: grid; line-height: 1.3; }
.ccn-cm-wa b { font-size: 17px; font-weight: 500; }
.ccn-cm-wa small { font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.ccn-cm-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ccn-cm-list li + li { border-top: 1px solid var(--sand); }
.ccn-cm-list a, .ccn-cm-list a:hover, .ccn-cm-list a:focus { display: flex; align-items: center; gap: 14px; padding: 14px 4px; color: var(--ink); font-size: 16px; }
.ccn-cm-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ccn-cm-list svg { width: 22px; height: 22px; flex: none; stroke: var(--terre-700); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-cm-list span { display: grid; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ccn-cm-list small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.ccn-cm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--sand); }
.ccn-cm-soc { display: flex; gap: 2px; }
.ccn-cm-soc a, .ccn-cm-soc span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.ccn-cm-soc a:hover { background: var(--cream); }
.ccn-cm-soc .is-empty { opacity: .35; }
.ccn-cm-soc svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-cm a.ccn-cm-more { font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ccn-cm :focus-visible { outline: 2px solid var(--terre-600); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.ccn-ann { animation: none; }
	.ccn-cm-bg, .ccn-cm-box { animation: none; }
}

@media (max-width: 900px) { .ccn-fl { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.ccn-slide img, .ccn-slide.on img, .ccn-slide:nth-child(even).on img { transform: none; transition: none; }
	.ccn-fl-b { animation: none; }
	.ccn-fl-i, .ccn-fl svg { transition: none; }
}

@media (prefers-reduced-motion: reduce) { .ccn-scrim.duo.on, .ccn-scrim.trio.on { animation: none; } }

/* Titres de colonnes cliquables */
.ccn-ov :is(#ccn-c2, #ccn-c3) h2 a, .ccn-ov .ccn-mp-t a { color: inherit; text-decoration: none; }
.ccn-ov :is(#ccn-c2, #ccn-c3) h2 a span { display: inline-block; transition: transform .2s; }
.ccn-ov :is(#ccn-c2, #ccn-c3) h2 a:hover { color: #fff; }
.ccn-ov :is(#ccn-c2, #ccn-c3) h2 a:hover span { transform: translateX(4px); }

/* ---------- Bandeau 1 : dégradé bleu pétrole / orange qui bouge doucement ---------- */
.ccn-ann {
	background: linear-gradient(110deg, #1D4A63 0%, #2F5F79 18%, #B8541F 40%, #C4622D 50%, #2F5F79 72%, #163A4F 100%);
	background-size: 260% 100%;
	animation: ccn-grad 14s ease-in-out infinite alternate;
}
@keyframes ccn-grad { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* ---------- Bandeau 2 : réseaux au centre, couleurs officielles ---------- */
.ccn-tb-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.ccn-tb-r { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.ccn-soc--brand { gap: 10px; }
.ccn-soc--brand a, .ccn-soc--brand span { width: 26px; height: 26px; border-radius: 7px; color: #fff; transition: transform .2s, filter .2s; }
.ccn-soc--brand a:hover { background-color: inherit; transform: translateY(-1px); filter: brightness(1.08); }
.ccn-soc--brand svg { width: 15px; height: 15px; stroke: #fff; }
.ccn-soc--brand > :nth-child(1) { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.ccn-soc--brand > :nth-child(2) { background: #1877F2; }
.ccn-soc--brand > :nth-child(3) { background: #0A66C2; }
.ccn-tb .ccn-soc--brand a:hover { background-image: none; }
.ccn-tb .ccn-soc--brand > :nth-child(1):hover { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.ccn-tb .ccn-soc--brand > :nth-child(2):hover { background: #1877F2; }
.ccn-tb .ccn-soc--brand > :nth-child(3):hover { background: #0A66C2; }
@media (prefers-reduced-motion: reduce) { .ccn-ann { animation: none; } }

/* ---------- Mobile : mini barre fixe WhatsApp / Réserver / Appeler ---------- */
@media (max-width: 900px) {
	.ccn-sticky-book { left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(17, 17, 17, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
	.ccn-sticky-book a.ccn-btn { height: 52px; border-radius: 10px; }
	.ccn-sticky-book .ccn-sb-ic { display: grid; place-items: center; height: 52px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; }
	.ccn-sticky-book .ccn-sb-wa { background: #25D366; color: #fff; }
	.ccn-sticky-book .ccn-sb-ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
	.ccn-sticky-book .ccn-sb-ic span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	body { padding-bottom: 92px; }
}

/* Menu : titres de colonne à la taille des rubriques de la colonne voisine, cartes centrées à droite */
.ccn-ov #ccn-c2 > h2 { font-size: 16px; line-height: 1.3; margin-bottom: 18px; }
@media (min-width: 901px) {
	.ccn-grid { grid-template-columns: 28% 22% 22% 28%; }
	.ccn-grid.single { grid-template-columns: 28% 0 44% 28%; }
	.ccn-side { right: auto; left: calc(28px + (100% - 56px) * .72 + ((100% - 56px) * .28 - min(340px, 24vw)) / 2); width: min(340px, 24vw); justify-items: stretch; top: 50%; bottom: auto; transform: translateY(-40%); }
	.ccn-side .ccn-dots { justify-self: center; }
}

/* Barre fine : icônes au trait centrées ; barre principale : Boutique … Contact, FR | EN à droite du menu */
.ccn-tb .ccn-soc { justify-self: center; }
.ccn-hdr .ccn-lang--hdr { color: rgba(255, 255, 255, .6); font-size: 14px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); white-space: nowrap; }
.ccn-hdr .ccn-lang--hdr b { color: #fff; }
@media (max-width: 1200px) { .ccn-hdr .ccn-lnk { font-size: 15px; } .ccn-hdr-in { gap: 16px; } }
@media (max-width: 900px) { .ccn-hdr .ccn-lang--hdr { display: none; } }

/* Bouton Menu plus visible : pastille contour clair, pleine au survol */
html body .ccn-hdr .ccn-menu-btn { height: 46px; padding: 0 16px 0 18px; gap: 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius-btn); background: rgba(255, 255, 255, .08); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), height .3s ease; }
html body .ccn-hdr .ccn-menu-btn:hover, html body .ccn-hdr .ccn-menu-btn:focus-visible { background: rgba(255, 255, 255, .18); border-color: #fff; }
html body .ccn-hdr .ccn-menu-btn.is-open { background: #fff; color: var(--ink); border-color: #fff; }
html body.ccn-compact .ccn-hdr .ccn-menu-btn, html .ccn-compact .ccn-hdr .ccn-menu-btn { height: 38px; }
@media (max-width: 1280px) { .ccn-hdr .ccn-lnk { font-size: 15px; } .ccn-hdr-in { gap: 14px; } }
.ccn-hdr .ccn-lnk { white-space: nowrap; }
@media (max-width: 1180px) { .ccn-hdr .ccn-lnk { font-size: 14px; } .ccn-hdr-in { gap: 10px; } html body .ccn-hdr .ccn-menu-btn { padding: 0 12px 0 14px; } }

/* Barre des réseaux : réseaux au centre, compte et langue à droite */
.ccn-tb-side { flex: 1; min-width: 0; }
.ccn-tb-r { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.ccn-tb .ccn-tb-acct { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.ccn-tb .ccn-tb-acct:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ccn-tb-acct svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccn-tb .ccn-lang { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.ccn-tb .ccn-lang a { color: var(--graphite); text-decoration: none; }
.ccn-tb .ccn-lang a:hover { color: var(--ink); text-decoration: underline; }
.ccn-tb .ccn-lang span { color: var(--sand); }
@media (max-width: 640px) { .ccn-tb-acct span { display: none; } .ccn-tb-in { padding-inline: 16px; gap: 10px; } }
.ccn-ov .ccn-lang { display: inline-flex; gap: 8px; align-items: center; } .ccn-ov .ccn-lang a { color: var(--mut); text-decoration: none; } .ccn-ov .ccn-lang a:hover { color: #fff; }
