/* Carnet de Patinage — pages intérieures « Kiss & Cry » (blog, articles, contact, 404, pages). S'appuie sur kc.css. */

/* Les contenus Elementor / UiCore cachent des blocs en attendant une animation : tout est visible d'office. */
.kc .uicore-animate-hide, .kc .elementor-invisible { opacity: 1 !important; visibility: visible !important; animation: none !important; }

.kc-inner .kc-top { background: rgba(5, 11, 26, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--kc-line); }
.kc-nav a[aria-current="page"] { color: var(--kc-white); box-shadow: inset 0 -2px 0 var(--kc-pink); padding-bottom: 4px; }
.kc-narrow { max-width: 900px; }

/* Bandeau d'ouverture des pages */
.kc-head { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 90px; background: radial-gradient(70% 120% at 85% -10%, rgba(30, 58, 110, .85), transparent 60%), var(--kc-night); }
.kc-head h1 { font-size: clamp(3rem, 8vw, 6rem); max-width: 16ch; }
.kc-head h1 span { display: block; color: var(--kc-ice-hi); }
.kc-head__lead { margin-top: 22px !important; font-size: 1.14rem; color: var(--kc-mute); max-width: 56ch; }
.kc-head--article { padding-bottom: 130px; }
.kc-head--article h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 22ch; }
.kc-head--404 { min-height: 80vh; display: flex; align-items: center; }
.kc-head__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.6); }
.kc-404 { font-weight: 900; font-stretch: 62%; font-size: clamp(6rem, 20vw, 14rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--kc-pink); margin-bottom: 18px !important; }
.kc-head--404 .kc-actions { margin-top: 32px; }
.kc-crumbs { font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 18px !important; }
.kc-crumbs a { color: var(--kc-ice-hi); text-decoration: none; }
.kc-crumbs a::before { content: "← "; }
.kc-meta { margin-top: 18px !important; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--kc-mute); }

/* Recherche */
.kc-search { display: flex; max-width: 520px; margin-top: 30px; box-shadow: inset 0 0 0 1px var(--kc-line); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.kc-search input { flex: 1; min-width: 0; height: 52px; border: 0; background: rgba(14, 31, 61, .7); color: var(--kc-white); padding: 0 18px; font: inherit; }
.kc-search input::placeholder { color: var(--kc-mute); }
.kc-search input:focus { outline: none; background: var(--kc-panel-2); }
.kc-search button { border: 0; padding: 0 22px; background: var(--kc-ice); color: var(--kc-ink); font: inherit; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; cursor: pointer; }
.kc-search button:hover { background: var(--kc-ice-hi); }

/* Liste d'articles */
.kc-list { padding: 80px 0 120px; }
.kc-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.kc-card { display: flex; flex-direction: column; text-decoration: none; background: var(--kc-panel); box-shadow: inset 0 0 0 1px var(--kc-line); transition: box-shadow .25s ease, transform .35s var(--kc-ease); }
.kc-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--kc-ice); }
.kc-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--kc-navy); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.kc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--kc-ease); }
.kc-card:hover .kc-card__img img { transform: scale(1.04); }
.kc-card__txt { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.kc-card .kc-meta { margin: 0 !important; }
.kc-card h2 { font-size: 1.7rem; line-height: .98; max-width: none; margin: 0; }
.kc-card__ext { color: var(--kc-mute); font-size: .96rem; }
.kc-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; color: var(--kc-ice-hi); }
.kc-card__more svg { transition: transform .25s var(--kc-ease); }
.kc-card:hover .kc-card__more svg { transform: translateX(4px); }
.kc-card--une { grid-column: 1 / -1; flex-direction: row; }
.kc-card--une .kc-card__img { flex: 1.25; aspect-ratio: auto; min-height: 380px; }
.kc-card--une .kc-card__txt { flex: 1; padding: 44px; justify-content: center; }
.kc-card--une h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.kc-pager { display: flex; justify-content: center; gap: 6px; margin-top: 50px; }
.kc-pager .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; text-decoration: none; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--kc-line); }
.kc-pager .current { background: var(--kc-ice); color: var(--kc-ink); box-shadow: none; }
.kc-empty { text-align: center; padding: 30px 0; }
.kc-empty h2 { margin: 0 auto 12px; }
.kc-empty a { color: var(--kc-ice-hi); }
.kc-final--compact { padding: 130px 0 120px; }

/* Article : surface de lecture claire, la glace */
.kc-cover { margin-top: -90px; position: relative; z-index: 2; max-width: 1060px; }
.kc-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.kc-read { background: var(--kc-frost); color: var(--kc-ink); margin-top: -140px; padding: 200px 0 1px; }
.kc-single:not(:has(.kc-cover)) .kc-read { margin-top: 0; padding-top: 60px; }
.kc-prose { max-width: 1000px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); font-family: var(--kc-font); }
.kc-prose .e-con, .kc-prose .e-con-inner { --container-max-width: 100%; padding-left: 0; padding-right: 0; }
.kc-prose [class*="max-w-"] { max-width: 100%; }
body.kc.kc-single { font-family: var(--kc-font) !important; background-color: var(--kc-night) !important; color: var(--kc-white) !important; }
.kc-prose, .kc-prose p, .kc-prose li, .kc-prose td, .kc-prose th { font-family: var(--kc-font) !important; }
.kc-prose p, .kc-prose li { line-height: 1.72; }
.kc-prose h1, .kc-prose h2, .kc-prose h3, .kc-prose .title-font { font-family: var(--kc-font) !important; font-weight: 850 !important; font-stretch: 72%; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; text-wrap: balance; }
.kc-prose h2.title-font, .kc-prose h3.title-font { font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important; margin-top: .4em; }
.kc-prose h4, .kc-prose h5 { font-family: var(--kc-font) !important; font-weight: 800; font-stretch: 85%; }
.kc-prose .text-blue-800, .kc-prose .text-blue-900, .kc-prose .text-slate-900, .kc-prose .text-slate-800, .kc-prose .text-black { color: var(--kc-ink) !important; }
.kc-prose .text-blue-700, .kc-prose .text-blue-600, .kc-prose .text-cyan-600, .kc-prose .text-cyan-800, .kc-prose .text-purple-600, .kc-prose .text-purple-700, .kc-prose .text-purple-900 { color: #0974AE !important; }
.kc-prose .text-cyan-400, .kc-prose .text-blue-300, .kc-prose .text-purple-300 { color: var(--kc-ice-hi) !important; }
.kc-prose .text-amber-400, .kc-prose .text-amber-500, .kc-prose .text-rose-300, .kc-prose .text-rose-500 { color: var(--kc-pink) !important; }
.kc-prose .text-rose-700, .kc-prose .text-rose-900 { color: #B0305C !important; }
.kc-prose .text-slate-600, .kc-prose .text-slate-500, .kc-prose .text-slate-700 { color: var(--kc-ink-mute) !important; }
.kc-prose .bg-slate-800, .kc-prose .bg-slate-900 { background-color: var(--kc-navy) !important; }
.kc-prose .bg-slate-800 .text-slate-400, .kc-prose .bg-slate-900 .text-slate-400, .kc-prose .bg-slate-800 .text-slate-300, .kc-prose .bg-slate-900 .text-slate-300 { color: var(--kc-mute) !important; }
.kc-prose :is(.bg-slate-800, .bg-slate-900, .from-slate-800) :is(h1, h2, h3, h4, h5, p, li, span, .text-black, .text-slate-800, .text-slate-900, .text-blue-800, .text-blue-900, .text-slate-600, .text-slate-700) { color: var(--kc-white) !important; }
.kc-prose :is(.bg-slate-800, .bg-slate-900, .from-slate-800) :is(.text-slate-400, .text-slate-300, .text-slate-500) { color: var(--kc-mute) !important; }
.kc-prose :is(.bg-slate-800, .bg-slate-900, .from-slate-800) :is(.text-cyan-400, .text-blue-300) { color: var(--kc-ice-hi) !important; }
.kc-prose :is(.bg-slate-800, .bg-slate-900, .from-slate-800) :is(.text-amber-400, .text-amber-500) { color: var(--kc-pink) !important; }
.kc-prose .text-justify, .kc-prose p { text-align: left !important; }
.kc-prose .hover\:bg-slate-700:hover { background-color: var(--kc-panel-2) !important; }
.kc-prose .bg-gradient-to-br.from-slate-800 { background-image: radial-gradient(90% 90% at 90% 0%, #1E3A6E, var(--kc-navy) 70%) !important; }
.kc-prose .bg-blue-50, .kc-prose .bg-blue-100, .kc-prose .bg-cyan-100, .kc-prose .bg-purple-50 { background-color: #DCEBF8 !important; }
.kc-prose .bg-rose-50 { background-color: #FFE6EF !important; }
.kc-prose .border-cyan-400, .kc-prose .border-cyan-500, .kc-prose .border-blue-500, .kc-prose .border-blue-600, .kc-prose .border-purple-500 { border-color: var(--kc-ice) !important; }
.kc-prose .border-amber-400, .kc-prose .border-amber-500, .kc-prose .border-rose-500 { border-color: var(--kc-pink) !important; }
.kc-prose .border-slate-200 { border-color: rgba(7, 20, 43, .12) !important; }
.kc-prose .border-slate-700, .kc-prose .border-slate-800 { border-color: rgba(255, 255, 255, .1) !important; }
.kc-prose [class*="rounded"] { border-radius: 0 !important; }
.kc-prose [class*="shadow"] { box-shadow: 0 24px 44px -32px rgba(7, 20, 43, .45) !important; }
.kc-prose .text-transparent { color: var(--kc-ink) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
.kc-prose header { position: static !important; box-shadow: none !important; border: 1px solid rgba(7, 20, 43, .12); margin-bottom: 32px; }
.kc-prose footer { margin-top: 32px; }
.kc-prose a:not([class*="bg-"]) { color: #0974AE; text-underline-offset: 3px; }
/* Contenu Gutenberg simple (futurs articles) */
.kc-prose > h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 1.6em 0 .5em; color: var(--kc-ink); }
.kc-prose > h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.4em 0 .4em; color: var(--kc-ink); }
.kc-prose > p, .kc-prose > ul, .kc-prose > ol { max-width: 68ch; font-size: 1.08rem; color: #1E2F4A; }
.kc-prose > ul li::marker, .kc-prose > ol li::marker { color: var(--kc-ice); font-weight: 800; }
.kc-prose blockquote { margin: 2em 0; padding: 4px 0 4px 22px; box-shadow: inset 3px 0 0 var(--kc-pink); font-size: 1.2rem; font-weight: 600; }
.kc-prose table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.kc-prose figure.wp-block-table table th { background: var(--kc-navy); color: var(--kc-white); text-align: left; padding: 10px 14px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: .84rem; }
.kc-prose figure.wp-block-table table td { padding: 10px 14px; border-bottom: 1px solid rgba(7, 20, 43, .1); }
.kc-prose img { max-width: 100%; height: auto; }

.kc-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 70px auto 110px; padding: 32px 36px; background: var(--kc-navy); color: var(--kc-white); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.kc-cta__title { font-weight: 850; font-stretch: 70%; text-transform: uppercase; font-size: 2rem; line-height: .95; margin-bottom: 8px !important; }
.kc-cta p:not(.kc-cta__title) { color: var(--kc-mute); }
.kc-cta .kc-btn { flex: none; }

/* Contact */
.kc-contact { padding: 80px 0 130px; }
.kc-contact__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.kc-contact__aside h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.kc-rows { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--kc-line); }
.kc-rows a { display: flex; flex-direction: column; gap: 3px; padding: 18px 0; border-bottom: 1px solid var(--kc-line); text-decoration: none; transition: padding-left .25s var(--kc-ease), color .2s ease; }
.kc-rows a:hover { padding-left: 10px; color: var(--kc-ice-hi); }
.kc-rows strong { font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.kc-rows span { color: var(--kc-mute); font-size: .94rem; }
.kc-form { background: var(--kc-panel); box-shadow: inset 0 0 0 1px var(--kc-line), 0 40px 70px -40px rgba(0, 0, 0, .7); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.kc-form__head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px; background: var(--kc-ice); color: var(--kc-ink); font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; }
.kc-form__body { display: grid; gap: 20px; padding: 28px 28px 30px; }
.kc-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kc-field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.kc-field label, .kc-field legend { font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--kc-mute); }
.kc-field input, .kc-field textarea { width: 100%; font: inherit; color: var(--kc-white); background: rgba(5, 11, 26, .55); border: 0; box-shadow: inset 0 0 0 1px var(--kc-line); padding: 14px 16px; transition: box-shadow .2s ease, background-color .2s ease; }
.kc-field input:focus, .kc-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--kc-ice); background: rgba(5, 11, 26, .8); }
.kc-field textarea { resize: vertical; min-height: 150px; }
.kc-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-choice legend { width: 100%; margin-bottom: 8px; padding: 0; }
.kc-choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; cursor: pointer; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em; font-size: .84rem; color: var(--kc-white); box-shadow: inset 0 0 0 1px var(--kc-line); }
.kc-choice label:has(input:checked) { background: var(--kc-white); color: var(--kc-ink); box-shadow: none; }
.kc-choice input { accent-color: var(--kc-pink); margin: 0; }
.kc-form .kc-btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.kc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kc-form__msg { padding: 14px 18px; font-weight: 600; }
.kc-form__msg.is-ok { background: rgba(79, 224, 166, .14); color: #8FF0C8; box-shadow: inset 0 0 0 1px rgba(79, 224, 166, .4); }
.kc-form__msg.is-err { background: rgba(255, 107, 154, .12); color: #FFB3CB; box-shadow: inset 0 0 0 1px rgba(255, 107, 154, .45); }

@media (max-width: 1060px) {
	.kc-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kc-contact__in { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
	.kc-head { padding: 116px 0 64px; }
	.kc-head h1 { font-size: clamp(2.8rem, 14vw, 3.8rem); }
	.kc-head--article { padding-bottom: 96px; }
	.kc-head--article h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
	.kc-list { padding: 56px 0 90px; }
	.kc-list__grid { grid-template-columns: 1fr; }
	.kc-card--une { flex-direction: column; }
	.kc-card--une .kc-card__img { min-height: 0; aspect-ratio: 16 / 10; }
	.kc-card--une .kc-card__txt { padding: 22px 24px 26px; }
	.kc-cover { margin-top: -64px; }
	.kc-read { margin-top: -110px; padding-top: 118px; }
	.kc-prose { padding-left: 14px; padding-right: 14px; }
	.kc-cta { flex-direction: column; align-items: stretch; padding: 28px 22px; }
	.kc-cta .kc-btn { width: 100%; }
	.kc-form__body { padding: 22px 18px 24px; }
	.kc-form__row { grid-template-columns: 1fr; }
	.kc-form .kc-btn { width: 100%; justify-self: stretch; }
	.kc-search button { padding: 0 14px; }
}

/* Pages légales */
.kc-legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.kc-legal-nav a { padding: 9px 14px; text-decoration: none; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; box-shadow: inset 0 0 0 1px var(--kc-line); }
.kc-legal-nav a[aria-current="page"] { background: var(--kc-white); color: var(--kc-ink); box-shadow: none; }
.kc-legale .kc-read { margin-top: 0; padding-top: 64px; padding-bottom: 96px; }
.kc-prose--legal { max-width: 820px; }
.kc-prose--legal .kc-maj { font-size: .9rem; color: var(--kc-ink-mute); }
.kc-prose--legal > table { margin: 1em 0 1.6em; font-size: .98rem; color: #1E2F4A; }
.kc-prose--legal > table th { background: var(--kc-navy); color: var(--kc-white); text-align: left; padding: 10px 12px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.kc-prose--legal > table td { padding: 10px 12px; border-bottom: 1px solid rgba(7, 20, 43, .1); vertical-align: top; }
@media (max-width: 640px) { .kc-prose--legal > table { display: block; overflow-x: auto; } }

/* Articles en blocs simples (Gutenberg) : une seule colonne de lecture pour l'en-tête, l'image et le texte.
   Les articles Elementor gardent leur mise en page (pas de classe kc-single--blocs). */
.kc-single--blocs { --kc-col: 740px; }
.kc-single--blocs .kc-head .kc-narrow,
.kc-single--blocs .kc-cover,
.kc-single--blocs .kc-prose { max-width: calc(var(--kc-col) + 40px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.kc-single--blocs .kc-cta { max-width: var(--kc-col); }
.kc-single--blocs .kc-prose > * { max-width: none; margin-left: 0; margin-right: 0; }
.kc-single--blocs .kc-prose > p,
.kc-single--blocs .kc-prose > ul,
.kc-single--blocs .kc-prose > ol { margin-top: 0; margin-bottom: 1.1em; font-size: 1.1rem; line-height: 1.75; }
.kc-single--blocs .kc-prose > ul, .kc-single--blocs .kc-prose > ol { padding-left: 1.3em; }
.kc-single--blocs .kc-prose > ul li + li, .kc-single--blocs .kc-prose > ol li + li { margin-top: .35em; }
.kc-single--blocs .kc-prose > h2 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; margin: 1.7em 0 .55em; text-wrap: balance; }
.kc-single--blocs .kc-prose > h3 { max-width: none; font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 1.5em 0 .45em; }
.kc-single--blocs .kc-prose > h2:first-child, .kc-single--blocs .kc-prose > p:first-child { margin-top: 0; }
.kc-single--blocs .kc-prose > figure.wp-block-table { margin: 1.6em 0; overflow-x: auto; }
.kc-single--blocs .kc-prose > figure.wp-block-table table { min-width: 520px; }
.kc-single--blocs .kc-prose > p.sources { margin-top: 2.4em; padding-top: 1.1em; border-top: 1px solid rgba(7, 20, 43, .14); font-size: .92rem; line-height: 1.6; color: var(--kc-ink-mute); }
.kc-single--blocs .kc-prose > p.sources a { word-break: break-word; }
.kc-single--blocs .kc-read { padding-bottom: 1px; }
@media (max-width: 640px) { .kc-single--blocs .kc-read { padding-top: 142px; } }
