/*
Theme Name: Kass & You Conciergerie
Theme URI: https://kassandyouconciergerie.fr
Author: Kass & You Conciergerie
Description: Thème one-page cinématographique pour Kass & You Conciergerie : ouverture plein écran, services en scènes, étapes, engagements, formulaire de devis (demandes enregistrées dans WordPress + e-mail) visite automatique, effets de texte animés et version anglaise (FR / EN).
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kass-you
*/

:root {
	--abyss: #18264A;
	--abyss-2: #22345F;
	--magenta: #B0124F;
	--magenta-light: #E0336F;
	--pink-light: #FF7AA8;
	--gold: #B8862B;
	--gold-light: #E8C979;
	--sky: #3FA7DF;
	--white: #ffffff;
	--font-head: "Playfair Display", Georgia, serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.kass {
	margin: 0;
	background: var(--abyss);
	color: #fff;
	font-family: var(--font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.kass::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 60;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.05; }
p { margin: 0; }
section[id] { scroll-margin-top: 80px; }
.kicon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.c-pink { color: var(--magenta); }
.c-pink-light { color: var(--pink-light); }
.c-gold { color: var(--gold-light); }
.c-sky { color: var(--sky); }
.c-white { color: #fff; }
.k-italic { font-style: italic; }
.k-amp { font-style: normal; font-weight: 500; }
/* Couleurs et effets du logo (titre d'accueil) : dégradé + reflet brillant + léger relief */
.logo-kass, .logo-amp, .logo-you {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-inline: 0.02em;
}
.logo-kass {
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.08) 38%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.18) 100%),
        linear-gradient(90deg, #A3065E 0%, #C40C72 30%, #DB1A86 55%, #EE2A96 80%, #FF3DA5 100%);
    filter: drop-shadow(0 2px 0 #6E0540) drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.logo-amp {
    background-image: linear-gradient(165deg, #7A4810 0%, #B8782A 22%, #F6D98C 42%, #C98A3A 55%, #8F5714 72%, #D9A653 88%, #F3CF7E 100%);
    filter: drop-shadow(0 2px 0 #5A3508) drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.logo-you {
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 40%, rgba(255,255,255,0) 55%, rgba(0,40,80,0.18) 100%),
        linear-gradient(90deg, #4FA6D6 0%, #5BB4DF 40%, #66C0E6 70%, #78CCF2 100%);
    filter: drop-shadow(0 2px 0 #2F7FAE) drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}


.k-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .k-container { padding: 0 32px; } }

/* Boutons */
.k-btn {
	display: inline-flex; align-items: center; gap: 10px;
	height: 52px; padding: 0 28px; border-radius: 999px;
	font: 600 16px/1 var(--font-body); cursor: pointer; border: 1px solid transparent;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s;
}
.k-btn:hover { transform: translateY(-2px); }
.k-btn .kicon { transition: transform .3s var(--ease); }
.k-btn:hover .kicon { transform: translateX(4px); }
.k-btn--magenta { background: var(--magenta); color: #fff; }
.k-btn--glow { box-shadow: 0 0 40px rgba(176, 18, 79, .55); }
.k-btn--glow:hover { box-shadow: 0 0 60px rgba(224, 51, 111, .75); }
.k-btn--ghost { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(10px); }
.k-btn--ghost:hover { border-color: var(--gold-light); background: rgba(255,255,255,.12); }
.k-btn--gold-outline { margin-top: 32px; border-color: rgba(232,201,121,.5); background: rgba(255,255,255,.05); color: var(--gold-light); }
.k-btn--gold-outline:hover { border-color: var(--gold-light); background: rgba(232,201,121,.1); }
.k-btn--block { width: 100%; justify-content: center; }

/* En-tête */
.k-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.k-header.is-solid { background: rgba(24, 38, 74, .82); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(232,201,121,.15); }
.k-progress { position: absolute; left: 0; top: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--magenta), var(--gold-light), var(--sky)); }
.k-header__row { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.k-brand { display: flex; align-items: center; gap: 12px; }
.k-brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(232,201,121,.6), 0 8px 24px rgba(0,0,0,.3); }
.k-brand__text { display: none; font: 700 18px/1 var(--font-head); }
.k-brand__text .c-pink { color: var(--pink-light); }
.k-brand__text small { display: block; margin-top: 4px; font: 600 10px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (min-width: 640px) { .k-brand__text { display: block; } }
.k-nav { display: none; gap: 36px; }
.k-nav a { position: relative; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .3s; }
.k-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gold-light); transition: width .3s var(--ease); }
.k-nav a:hover { color: #fff; }
.k-nav a:hover::after { width: 100%; }
.k-header__actions { display: flex; align-items: center; gap: 8px; }
.k-burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.k-burger .kicon { width: 24px; height: 24px; }
@media (min-width: 768px) { .k-nav { display: flex; } .k-burger { display: none; } }
.k-mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 24px; background: rgba(24,38,74,.96); backdrop-filter: blur(18px); border-top: 1px solid rgba(255,255,255,.1); }
.k-mobile-menu[hidden] { display: none; }
.k-mobile-menu a:not(.k-btn) { padding: 12px; border-radius: 12px; font-weight: 500; color: rgba(255,255,255,.85); }
.k-mobile-menu .k-btn { margin-top: 8px; }

/* Ouverture */
.k-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.k-hero__media { position: absolute; inset: 0; }
.k-hero__media img, .k-hero__media video { width: 100%; height: 100%; object-fit: cover; animation: k-kenburns 18s ease-out forwards; }
.k-hero__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(24,38,74,.35) 0%, rgba(24,38,74,.45) 55%, rgba(24,38,74,.85) 100%);
}
.k-letterbox { position: absolute; left: 0; right: 0; z-index: 20; height: 14vh; background: #000; animation: k-letterbox 1.4s .6s var(--ease) forwards; }
.k-letterbox--top { top: 0; }
.k-letterbox--bottom { bottom: 0; }
.k-hero__content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; }
.k-hero__over { font-size: 12px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: rgba(232,201,121,.9); opacity: 0; animation: k-fade .8s 1.1s forwards; }
.k-hero__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .25em; margin-top: 16px; font-size: clamp(4.5rem, 16vw, 13rem); font-weight: 700; line-height: .9; letter-spacing: -.02em; }
.k-mask { display: inline-block; overflow: hidden; padding-bottom: .08em; }
.k-mask > span { display: inline-block; transform: translateY(110%); animation: k-rise 1.1s var(--d, 1.3s) var(--ease) forwards; }
.k-hero__bottom { margin-top: 32px; display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 1024px) { .k-hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.k-hero__text { max-width: 620px; }
.k-fade-in { opacity: 0; transform: translateY(20px); animation: k-fade-up 1s 2s var(--ease) forwards; }
.k-hero__slogan { font: italic 400 clamp(1.5rem, 3vw, 2.25rem)/1.2 var(--font-head); color: var(--gold-light); }
.k-hero__sub { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.78); }
.k-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.k-seal { position: relative; display: none; width: 192px; height: 192px; flex-shrink: 0; }
@media (min-width: 768px) { .k-seal { display: block; margin-right: 80px; } }
.k-seal-in { opacity: 0; transform: scale(.6) rotate(-30deg); animation: k-seal 1.4s 2.2s var(--ease) forwards; }
.k-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--gold-light); font: 600 12.5px var(--font-body); animation: k-spin 22s linear infinite; }
.k-seal img { position: absolute; top: 20%; left: 20%; width: 60%; height: 60%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 60px rgba(232,201,121,.35); }
.k-scroll-hint { position: absolute; left: 50%; bottom: 24px; z-index: 10; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.k-scroll-hint > span { display: flex; justify-content: center; width: 24px; height: 40px; padding-top: 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.k-scroll-hint i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); animation: k-dot 2s ease-in-out infinite; }
@media (min-width: 768px) { .k-scroll-hint { display: flex; } }

/* Accueil épuré */
.k-hero__content--clean { justify-content: center; align-items: center; text-align: center; padding-bottom: 0; }
.k-hero__content--clean .k-hero__title { justify-content: center; margin-top: 0; font-size: clamp(3.6rem, 13vw, 10rem); gap: 0 .18em; }
.k-hero__clean { display: flex; flex-direction: column; align-items: center; }
.k-hero__rule { display: block; width: 64px; height: 1px; margin-top: 32px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.k-hero__clean .k-hero__slogan { margin-top: 24px; color: rgba(255,255,255,.9); }
.k-btn--line { margin-top: 40px; height: 48px; padding: 0 32px; font-size: 14px; letter-spacing: .02em; border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(4px); }
.k-btn--line:hover { background: #fff; border-color: #fff; color: var(--abyss); transform: none; }

/* Ruban */
.k-ribbon { position: relative; z-index: 2; overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(232,201,121,.2); background: var(--abyss-2); }
.k-ribbon__track { display: flex; width: max-content; gap: 48px; animation: k-marquee 40s linear infinite; }
.k-ribbon__track span { display: inline-flex; align-items: center; gap: 48px; font: italic 400 clamp(1.25rem, 2.5vw, 1.875rem)/1 var(--font-head); color: rgba(255,255,255,.9); white-space: nowrap; }
.k-ribbon__track em { font-style: normal; font-size: .7em; }

/* Titres de chapitres */
.k-label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; color: var(--gold-light); }
.k-label::before { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.k-h2 { margin-top: 20px; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.02; }
.k-h2 em { font-style: italic; }
.k-lead { margin-top: 20px; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.72); }
.k-chapter { padding: 112px 20px 64px; }
@media (min-width: 640px) { .k-chapter { padding: 128px 32px 80px; } }

/* Services en scènes */
.k-panel { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--abyss); }
.k-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.k-panel__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,38,74,.9), rgba(24,38,74,.5) 55%, transparent); }
.k-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .6; mix-blend-mode: soft-light; pointer-events: none; }
.k-tone-pink::before { background: linear-gradient(0deg, rgba(224,51,111,.8), transparent); }
.k-tone-sky::before { background: linear-gradient(0deg, rgba(63,167,223,.8), transparent); }
.k-tone-gold::before { background: linear-gradient(0deg, rgba(232,201,121,.8), transparent); }
.k-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(232,201,121,.6), transparent); }
.k-panel__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; will-change: transform, opacity; }
.k-panel__num { font: 700 clamp(5rem, 16vw, 12rem)/.85 var(--font-head); color: transparent; -webkit-text-stroke: 1px rgba(232,201,121,.55); user-select: none; }
.k-panel__text { margin-top: 28px; max-width: 580px; }
.k-panel__tag { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.k-tone-pink .k-panel__tag { color: var(--pink-light); }
.k-tone-sky .k-panel__tag { color: var(--sky); }
.k-tone-gold .k-panel__tag { color: var(--gold-light); }
.k-panel__text h3 { margin-top: 16px; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; }
.k-panel__text h3 + p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.78); }
.k-panel__dots { position: absolute; right: 24px; bottom: 32px; z-index: 3; display: flex; gap: 8px; }
.k-panel__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.3); transition: width .3s; }
.k-panel__dots i.is-on { width: 32px; background: var(--gold-light); }

/* Comment ça marche */
.k-process { position: relative; background: var(--abyss); padding: 112px 0; }
.k-process__sticky { overflow: hidden; }
.k-process__track { display: grid; gap: 20px; margin-top: 48px; padding: 0 20px; }
.k-step { padding: 32px; border-radius: 32px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); backdrop-filter: blur(16px); }
.k-step__num { display: block; font: 700 clamp(4.5rem, 8vw, 6rem)/1 var(--font-head); opacity: .9; }
.k-step h3 { margin-top: 24px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; }
.k-step p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.72); }
.k-process__bar { display: none; }
@media (max-width: 767px) {
	.k-process { padding: 96px 0 48px; }
	.k-process__track { gap: 10px; margin-top: 24px; }
	.k-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 20px; }
	.k-step__num { grid-row: span 2; font-size: 2.4rem; }
	.k-step h3 { margin-top: 0; font-size: 1.2rem; }
	.k-step p { margin-top: 4px; font-size: 14px; line-height: 1.45; }
}
@media (min-width: 768px) {
	.k-process { min-height: 100vh; display: flex; align-items: center; padding: 104px 0 56px; }
	.k-process__sticky { width: 100%; }
	.k-process__track { max-width: 1280px; margin: 32px auto 0; padding: 0 32px; display: flex; flex-direction: column; gap: 14px; }
	.k-step { display: grid; grid-template-columns: 120px 1fr; align-items: center; column-gap: 32px; padding: 20px 32px; border-radius: 24px; }
	.k-step__num { grid-row: span 2; font-size: clamp(3rem, 5vw, 4.25rem); }
	.k-step h3 { margin-top: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
	.k-step p { margin-top: 6px; font-size: 16px; }
}

/* Promesse */
.k-slogan { position: relative; height: 220vh; }
.k-slogan__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.k-slogan__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transform: scale(1.1); will-change: transform; }
.k-slogan__scrim { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(24,38,74,.25), rgba(24,38,74,.85) 80%); }
.k-slogan__content { position: relative; text-align: center; }
.k-slogan__content .k-label { justify-content: center; }
.k-slogan__title { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .3em; font: italic 700 clamp(3rem, 9vw, 8.5rem)/1.05 var(--font-head); }
.k-slogan__title span { opacity: .12; filter: blur(8px); will-change: opacity, filter; }
.k-slogan__line { display: block; width: 192px; height: 1px; margin: 40px auto 0; transform: scaleX(0); background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }

/* Engagements */
.k-engage { position: relative; padding: 112px 0 144px; background: radial-gradient(ellipse at 20% 0%, rgba(224,51,111,.18), transparent 50%), radial-gradient(ellipse at 90% 100%, rgba(63,167,223,.18), transparent 50%), var(--abyss); }
.k-engage__grid { margin-top: 64px; display: grid; gap: 20px; }
@media (min-width: 640px) { .k-engage__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .k-engage__grid { grid-template-columns: repeat(4, 1fr); } }
.k-card { padding: 1px; border-radius: 28px; transition: transform .4s var(--ease); }
.k-card:hover { transform: translateY(-8px); }
.k-ring-pink { background: linear-gradient(160deg, rgba(224,51,111,.8), rgba(255,255,255,.05)); }
.k-ring-sky { background: linear-gradient(160deg, rgba(63,167,223,.8), rgba(255,255,255,.05)); }
.k-ring-gold { background: linear-gradient(160deg, rgba(232,201,121,.8), rgba(255,255,255,.05)); }
.k-ring-white { background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,.05)); }
.k-card__inner { height: 100%; padding: 32px; border-radius: 27px; background: var(--abyss-2); }
.k-card__badge { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.k-card__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-top: 24px; border-radius: 16px; background: rgba(255,255,255,.06); }
.k-card__icon .kicon { width: 26px; height: 26px; }
.k-card h3 { margin-top: 24px; font-size: 26px; font-weight: 700; line-height: 1.15; }
.k-card p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.7); }

/* Contact */
.k-contact { position: relative; padding: 112px 0 128px; background: radial-gradient(ellipse at 80% 20%, rgba(176,18,79,.25), transparent 55%), var(--abyss-2); }
.k-contact__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .k-contact__grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.k-contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.k-contact__list a, .k-contact__zone { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; color: rgba(255,255,255,.88); transition: color .3s; }
.k-contact__list a:hover { color: var(--gold-light); }
.k-contact__list a > span, .k-contact__zone > span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
.k-form { display: grid; gap: 20px; padding: 24px; border-radius: 32px; border: 1px solid rgba(232,201,121,.2); background: rgba(255,255,255,.04); backdrop-filter: blur(20px); box-shadow: 0 30px 120px -30px rgba(176,18,79,.45); }
@media (min-width: 640px) { .k-form { grid-template-columns: 1fr 1fr; padding: 40px; } }
.k-field { display: grid; gap: 8px; }
.k-field > span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.k-field--full, .k-form__foot, .k-form__error { grid-column: 1 / -1; }
.k-field input, .k-field select, .k-field textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
	border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04);
	color: #fff; font: 400 16px/1.4 var(--font-body);
	transition: border-color .25s, box-shadow .25s;
}
.k-field select option { color: #18264A; }
.k-field textarea { resize: vertical; }
.k-field input::placeholder, .k-field textarea::placeholder { color: rgba(255,255,255,.35); }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(232,201,121,.2); }
.k-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.k-form__foot small { font-size: 12px; color: rgba(255,255,255,.45); }
.k-form__error { padding: 12px 16px; border-radius: 12px; background: rgba(224,51,111,.15); border: 1px solid rgba(224,51,111,.4); color: #ffd1e0; font-size: 14px; }
.k-form--done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-color: rgba(63,167,223,.3); }
.k-form--done h3 { font-size: 30px; }
.k-form--done p { color: rgba(255,255,255,.72); }
.k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pied de page */
.k-footer { padding: 48px 0; border-top: 1px solid rgba(232,201,121,.15); background: var(--abyss); }
.k-footer__row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .k-footer__row { flex-direction: row; align-items: center; justify-content: space-between; } }
.k-footer__brand { display: flex; align-items: center; gap: 16px; }
.k-footer__brand img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(232,201,121,.6); }
.k-footer__name { font: 700 18px/1.2 var(--font-head); }
.k-footer__name .c-pink { color: var(--pink-light); }
.k-footer__slogan { margin-top: 4px; font: italic 400 14px var(--font-head); color: var(--gold-light); }
.k-footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: rgba(255,255,255,.7); }
.k-footer__links a:hover { color: var(--gold-light); }
.k-footer__copy { font-size: 12px; color: rgba(255,255,255,.45); }

/* Pages simples */
.k-page { padding: 140px 0 96px; min-height: 70vh; }
.k-page__content { margin-top: 32px; max-width: 760px; font-size: 17px; color: rgba(255,255,255,.82); }
.k-page__content a { color: var(--gold-light); text-decoration: underline; }
.k-page__content h2 { margin: 48px 0 16px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: clamp(1.75rem, 3.5vw, 2.25rem); scroll-margin-top: 100px; }
.k-page__content p, .k-page__content ul { margin: 0 0 16px; }
.k-page__content ul { padding-left: 22px; }
.k-page__content li { margin-bottom: 6px; }
.k-page__content strong { color: #fff; }
.k-page__back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: rgba(255,255,255,.7); }
.k-page__back:hover { color: var(--gold-light); }
.k-todo { display: inline; padding: 1px 6px; border: 1px dashed rgba(232,201,121,.6); border-radius: 6px; background: rgba(232,201,121,.1); color: var(--gold-light); font-weight: 600; }

/* Visite automatique */
.k-tour {
	position: fixed; right: 20px; bottom: 20px; z-index: 55;
	display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px;
	border-radius: 999px; border: 1px solid rgba(232,201,121,.4); background: rgba(24,38,74,.7);
	color: #fff; font: 600 14px/1 var(--font-body); cursor: pointer; backdrop-filter: blur(18px);
	box-shadow: 0 10px 40px rgba(0,0,0,.35);
	opacity: 0; transform: translateY(20px); animation: k-fade-up .6s 2.5s var(--ease) forwards;
	transition: border-color .3s, background-color .3s;
}
.k-tour:hover { border-color: var(--gold-light); background: rgba(24,38,74,.9); }
.k-tour.is-hidden { visibility: hidden; opacity: 0 !important; transform: translateY(20px) !important; pointer-events: none; transition: opacity .4s, transform .4s, visibility .4s; }
.k-tour__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--magenta), var(--magenta-light)); }
.k-tour__icon .kicon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.k-tour__pause { display: none; }
.k-tour.is-playing .k-tour__play { display: none; }
.k-tour.is-playing .k-tour__pause { display: flex; }
.k-tour.is-playing .k-tour__icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(176,18,79,.4); animation: k-ping 1.4s cubic-bezier(0,0,.2,1) infinite; }

/* Bouton WhatsApp */
.k-wa {
	position: fixed; right: 20px; bottom: 84px; z-index: 55;
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
	border-radius: 50%; background: #25D366; color: #fff;
	box-shadow: 0 10px 35px rgba(37,211,102,.45);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.k-wa--low { bottom: 20px; }
.k-wa:hover { transform: translateY(-4px); box-shadow: 0 14px 45px rgba(37,211,102,.6); }
.k-wa svg { position: relative; width: 28px; height: 28px; }
.k-wa__pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,.35); animation: k-ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
.k-wa__tip { position: absolute; right: calc(100% + 12px); display: none; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--abyss); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: opacity .3s; }
@media (min-width: 768px) { .k-wa__tip { display: block; } }
.k-wa:hover .k-wa__tip { opacity: 1; }

/* Apparitions au défilement */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) var(--delay, 0s), transform .9s var(--ease) var(--delay, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Animations */
@keyframes k-kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes k-letterbox { to { height: 0; } }
@keyframes k-rise { to { transform: translateY(0); } }
@keyframes k-fade { to { opacity: 1; } }
@keyframes k-fade-up { to { opacity: 1; transform: none; } }
@keyframes k-seal { to { opacity: 1; transform: none; } }
@keyframes k-spin { to { transform: rotate(360deg); } }
@keyframes k-dot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes k-marquee { to { transform: translateX(-50%); } }
@keyframes k-ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}


/* Étapes : quatre blocs qui apparaissent l'un après l'autre */


@media (min-width: 768px) { .k-process__track { gap: 20px; } }

/* Bande défilante + Chapitre I réunis sur un même écran */
.k-services__intro { min-height: calc(100svh - 80px); display: flex; flex-direction: column; }
.k-services__intro .k-chapter { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.k-services__intro { position: relative; overflow: hidden; }
.k-services__intro::before { content: ""; position: absolute; inset: 0; background: var(--intro-bg) 20% 40% / cover no-repeat; opacity: .85; animation: k-kenburns 18s ease-out forwards; }
.k-services__intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,38,74,.88) 0%, rgba(24,38,74,.55) 55%, rgba(24,38,74,.2) 100%), linear-gradient(0deg, var(--abyss) 0%, transparent 30%); }
.k-services__intro > * { position: relative; z-index: 1; }
@media (max-width: 767px) { .k-services__intro::after { background: linear-gradient(0deg, var(--abyss) 10%, rgba(24,38,74,.7) 60%, rgba(24,38,74,.5) 100%); } }

/* Quatre scènes : section défilée, chaque étape apparaît l'une après l'autre */
.k-process { height: 340svh; min-height: 0; display: block; padding: 0; }
.k-process__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; overflow: hidden; }
.k-process .k-container[data-reveal] { opacity: 1; transform: none; }
.k-step { opacity: 0; transform: translateX(-90px) scale(.92); filter: blur(10px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease), box-shadow .6s, border-color .6s; }
.k-step.is-on { opacity: 1; transform: none; filter: none; }
.k-step:nth-child(even) { transform: translateX(90px) scale(.92); }
.k-step:nth-child(even).is-on { transform: none; }
.k-step__num { display: inline-block; transform: scale(.4) rotate(-12deg); opacity: 0; transition: transform .9s cubic-bezier(.34,1.56,.64,1) .2s, opacity .6s .2s; }
.k-step.is-on .k-step__num { transform: none; opacity: 1; }
.k-step.is-on:has(+ .k-step:not(.is-on)), .k-step.is-on:last-child { border-color: rgba(232,201,121,.55); box-shadow: 0 0 0 1px rgba(232,201,121,.25), 0 20px 50px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .k-process { height: auto; } .k-process__sticky { position: static; height: auto; padding: 96px 0; } .k-step, .k-step__num { opacity: 1; transform: none; filter: none; } }
/* La case 04 doit toujours tenir entièrement à l'écran */
.k-process__sticky { padding-bottom: 40px; }
.k-process .k-h2 { font-size: clamp(2rem, min(5vw, 7svh), 4.5rem); }
.k-process__track { margin-top: clamp(14px, 3svh, 32px); padding-bottom: 6px; }
@media (min-width: 768px) {
	.k-process__track { gap: clamp(10px, 2svh, 20px); }
	.k-step { padding-block: clamp(12px, 2svh, 20px); }
}
@media (min-width: 768px) and (max-height: 860px) {
	.k-step__num { font-size: clamp(2.4rem, 6svh, 4rem); }
	.k-step h3 { font-size: clamp(1.2rem, 3svh, 1.7rem); }
	.k-step p { font-size: 15px; margin-top: 2px; }
}
@media (max-width: 767px) {
	.k-process__sticky { padding-top: 84px; padding-bottom: 96px; }
	.k-process .k-label { margin-bottom: 4px; }
	.k-process .k-h2 { font-size: clamp(1.6rem, 4.6svh, 2.2rem); }
	.k-process__track { gap: 8px; margin-top: 14px; }
	.k-step { padding: 10px 14px; border-radius: 16px; }
	.k-step__num { font-size: 2rem; }
	.k-step h3 { font-size: 1.05rem; }
	.k-step p { font-size: 13px; line-height: 1.35; }
}

/* Sélecteur de langue (en haut à droite) */
.k-lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(232,201,121,.35); background: rgba(24,38,74,.45); backdrop-filter: blur(12px); }
.k-lang button { min-width: 38px; height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.75); font: 600 12px/1 var(--font-body, "Plus Jakarta Sans", sans-serif); letter-spacing: .12em; cursor: pointer; transition: background-color .3s, color .3s, transform .3s; }
.k-lang button:hover { color: #fff; transform: translateY(-1px); }
.k-lang button.is-on { background: linear-gradient(135deg, #E8C979, #B8862B); color: #18264A; }
@media (max-width: 380px) { .k-lang button { min-width: 32px; padding: 0 7px; } }

/* Libellé du bouton de visite selon l'état */
.k-tour__label > span { display: none; }
.k-tour:not([data-state]) [data-s="paused"], .k-tour[data-state="paused"] [data-s="paused"], .k-tour[data-state="playing"] [data-s="playing"], .k-tour[data-state="done"] [data-s="done"] { display: inline; }



/* Kass & You (accueil) : animation permanente — reflet lumineux, flottement et halo doré */
.k-hero__title .logo-kass, .k-hero__title .logo-amp, .k-hero__title .logo-you {
	--sheen: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 58%);
	background-repeat: no-repeat;
}
.k-hero__title .logo-kass {
	background-image: var(--sheen),
		linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.08) 38%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.18) 100%),
		linear-gradient(90deg, #A3065E 0%, #C40C72 30%, #DB1A86 55%, #EE2A96 80%, #FF3DA5 100%);
	background-size: 300% 100%, 100% 100%, 100% 100%;
}
.k-hero__title .logo-amp {
	background-image: var(--sheen), linear-gradient(165deg, #7A4810 0%, #B8782A 22%, #F6D98C 42%, #C98A3A 55%, #8F5714 72%, #D9A653 88%, #F3CF7E 100%);
	background-size: 300% 100%, 100% 100%;
}
.k-hero__title .logo-you {
	background-image: var(--sheen),
		linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 40%, rgba(255,255,255,0) 55%, rgba(0,40,80,0.18) 100%),
		linear-gradient(90deg, #4FA6D6 0%, #5BB4DF 40%, #66C0E6 70%, #78CCF2 100%);
	background-size: 300% 100%, 100% 100%, 100% 100%;
}
/* Effets pilotés par le temps de la vidéo (src/lib/heroSync.js) */
.k-hero__title .k-mask > span { background-position: calc(150% - var(--sh, 0) * 200%) 0, 0 0, 0 0; }
.k-hero__title .k-mask { translate: 0 calc(var(--fl, 0) * -9px); }
.k-hero__title .logo-amp { filter: drop-shadow(0 2px 0 #5A3508) drop-shadow(0 0 calc(12px + var(--gl, 0) * 14px) rgba(246,217,140, calc(.15 + var(--gl, 0) * .65))); }
.k-hero__title.k-loop-pulse { animation: k-loop-pulse 1.4s cubic-bezier(.22,1,.36,1); }
@keyframes k-loop-pulse { 0% { scale: 1; filter: brightness(1); } 35% { scale: 1.035; filter: brightness(1.25); } 100% { scale: 1; filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .k-hero__title .k-mask, .k-hero__title .k-mask > span { animation: none; transform: none; } }
/* Quatre scènes : arrivée accélérée */
.k-process { height: 190svh; }
.k-step { transition: opacity .45s var(--ease), transform .5s var(--ease), filter .45s var(--ease), box-shadow .4s, border-color .4s; }
.k-step__num { transition: transform .55s cubic-bezier(.34,1.56,.64,1) .08s, opacity .35s .08s; }

/* Effet d'apparition des textes à l'ouverture et au changement de langue */
.k-tfx { animation: k-tfx 1.1s cubic-bezier(.22,1,.36,1) var(--td, 0s) both; }
@keyframes k-tfx {
	0% { opacity: 0; filter: blur(14px); translate: 0 22px; letter-spacing: .06em; }
	60% { filter: blur(2px); }
	100% { opacity: 1; filter: blur(0); translate: 0 0; letter-spacing: normal; }
}
@media (prefers-reduced-motion: reduce) { .k-tfx { animation: none; } }
.k-tfx-wait { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .k-tfx-wait { opacity: 1; } }

/* Chapitre II : apparition rapide du titre */
.k-process .k-tfx { animation-duration: .45s; animation-delay: 0s; }

/* Quatre scènes : apparition fluide et rapide, l'une après l'autre dès l'arrivée sur la section */
.k-process { height: auto; min-height: 100svh; }
.k-process__sticky { position: relative; height: auto; min-height: 100svh; }
.k-step { transition: opacity .4s var(--ease), transform .45s var(--ease), filter .4s var(--ease), box-shadow .4s, border-color .4s; }
.k-step:nth-child(2) { transition-delay: .12s; }
.k-step:nth-child(3) { transition-delay: .24s; }
.k-step:nth-child(4) { transition-delay: .36s; }
.k-step:nth-child(2) .k-step__num { transition-delay: .2s; }
.k-step:nth-child(3) .k-step__num { transition-delay: .32s; }
.k-step:nth-child(4) .k-step__num { transition-delay: .44s; }

/* Chapitre II remonté + blocs un peu plus lents */
.k-process__sticky { justify-content: flex-start; padding-top: 104px; }
@media (max-width: 767px) { .k-process__sticky { padding-top: 88px; } }
.k-step { transition: opacity .55s var(--ease), transform .6s var(--ease), filter .55s var(--ease), box-shadow .4s, border-color .4s; }
.k-step:nth-child(2) { transition-delay: .18s; }
.k-step:nth-child(3) { transition-delay: .36s; }
.k-step:nth-child(4) { transition-delay: .54s; }
.k-step:nth-child(2) .k-step__num { transition-delay: .28s; }
.k-step:nth-child(3) .k-step__num { transition-delay: .46s; }
.k-step:nth-child(4) .k-step__num { transition-delay: .64s; }
.k-process__sticky { padding-top: 20px; }
@media (max-width: 767px) { .k-process__sticky { padding-top: 16px; } }

/* Blocs 01 → 04 : un après l'autre, bien distincts */
.k-step { transition: opacity .7s var(--ease), transform .75s var(--ease), filter .7s var(--ease), box-shadow .4s, border-color .4s; }
.k-step:nth-child(2) { transition-delay: .45s; }
.k-step:nth-child(3) { transition-delay: .9s; }
.k-step:nth-child(4) { transition-delay: 1.35s; }
.k-step:nth-child(1) .k-step__num { transition-delay: .15s; }
.k-step:nth-child(2) .k-step__num { transition-delay: .6s; }
.k-step:nth-child(3) .k-step__num { transition-delay: 1.05s; }
.k-step:nth-child(4) .k-step__num { transition-delay: 1.5s; }

/* Votre sérénité, notre priorité : passage plus rapide */
.k-slogan { height: 150vh; }

/* Diapos suivantes (engagements, contact) : arrivée un peu plus lente */
.k-engage [data-reveal], .k-contact [data-reveal] { transition-duration: 1.3s, 1.3s; }
.k-engage__grid .k-card:nth-child(1) { transition-delay: .1s; }
.k-engage__grid .k-card:nth-child(2) { transition-delay: .4s; }
.k-engage__grid .k-card:nth-child(3) { transition-delay: .7s; }
.k-engage__grid .k-card:nth-child(4) { transition-delay: 1s; }

/* Promesse un peu plus bas + sections suivantes encore plus douces */
.k-slogan__content { margin-top: 16vh; }
@media (max-width: 767px) { .k-slogan__content { margin-top: 10vh; } }
.k-engage [data-reveal], .k-contact [data-reveal], .k-footer { transition-duration: 1.7s, 1.7s; }
.k-engage__grid .k-card:nth-child(2) { transition-delay: .5s; }
.k-engage__grid .k-card:nth-child(3) { transition-delay: .9s; }
.k-engage__grid .k-card:nth-child(4) { transition-delay: 1.3s; }
.k-engage .k-tfx, .k-contact .k-tfx { animation-duration: 1.6s; }

/* Promesse en bas de l'écran + pages suivantes plus rapides */
.k-slogan { height: 120vh; }
.k-slogan__sticky { align-items: flex-end; }
.k-slogan__content { margin-top: 0; padding-bottom: 9vh; }
@media (max-width: 767px) { .k-slogan__content { margin-top: 0; padding-bottom: 12vh; } }
.k-engage [data-reveal], .k-contact [data-reveal], .k-footer { transition-duration: .8s, .8s; }
.k-engage__grid .k-card:nth-child(1) { transition-delay: 0s; }
.k-engage__grid .k-card:nth-child(2) { transition-delay: .15s; }
.k-engage__grid .k-card:nth-child(3) { transition-delay: .3s; }
.k-engage__grid .k-card:nth-child(4) { transition-delay: .45s; }
.k-engage .k-tfx, .k-contact .k-tfx { animation-duration: .8s; }
@media (max-width: 767px) { .k-slogan__content { padding-bottom: 24vh; } }

/* Chapitre III remonté et compact : titre + 4 blocs sur un seul écran */
.k-engage { padding: 24px 0 40px; min-height: calc(100svh - 80px); display: flex; align-items: flex-start; }
.k-engage > .k-container { width: 100%; }
.k-engage .k-h2 { font-size: clamp(1.9rem, min(4.2vw, 7svh), 3.6rem); }
.k-engage__grid { margin-top: clamp(20px, 4svh, 40px); gap: 16px; }
.k-card__inner { padding: clamp(18px, 3svh, 28px); }
.k-card__icon { width: 46px; height: 46px; margin-top: clamp(10px, 2svh, 18px); }
.k-card h3 { margin-top: clamp(10px, 2svh, 18px); font-size: clamp(19px, 3svh, 24px); }
.k-card p { margin-top: 8px; font-size: 14px; line-height: 1.45; }
@media (max-width: 767px) {
	.k-engage { padding: 16px 0 28px; }
	.k-engage .k-label { margin-bottom: 4px; }
	.k-engage .k-h2 { font-size: clamp(1.5rem, 4.4svh, 2rem); }
	.k-engage__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
	.k-card { border-radius: 18px; }
	.k-card__inner { padding: 12px; border-radius: 17px; }
	.k-card__badge { font-size: 9px; letter-spacing: .14em; }
	.k-card__icon { width: 34px; height: 34px; margin-top: 8px; border-radius: 10px; }
	.k-card__icon .kicon { width: 18px; height: 18px; }
	.k-card h3 { margin-top: 8px; font-size: 16px; }
	.k-card p { margin-top: 4px; font-size: 12px; line-height: 1.35; }
}
@media (max-width: 767px) {
	.k-card__icon { display: none; }
	.k-card__badge { display: block; margin-bottom: 2px; }
}

/* Dernier chapitre : apparition rapide + tout sur un seul écran */
.k-contact [data-reveal] { transition-duration: .45s, .45s; }
.k-contact .k-tfx { animation-duration: .45s; animation-delay: 0s; }
.k-contact { padding: 20px 0 32px; min-height: calc(100svh - 80px); }
.k-contact__grid { gap: 32px; }
@media (min-width: 1024px) { .k-contact__grid { grid-template-columns: 4fr 7fr; align-items: center; min-height: calc(100svh - 132px); } }
.k-contact .k-h2 { font-size: clamp(1.9rem, min(4vw, 7svh), 3.4rem); }
.k-contact .k-lead { margin-top: 14px; font-size: 16px; }
.k-contact__list { margin-top: 22px; gap: 10px; }
.k-contact__list a, .k-contact__zone { font-size: 15px; gap: 10px; }
.k-contact__list a > span, .k-contact__zone > span { width: 36px; height: 36px; }
.k-form { gap: 12px; }
@media (min-width: 640px) { .k-form { padding: 24px 28px; } }
.k-field { gap: 5px; }
.k-field > span { font-size: 13px; }
.k-field input, .k-field select { padding-top: 9px; padding-bottom: 9px; }
.k-field textarea { height: clamp(64px, 12svh, 110px); min-height: 0; }
@media (max-width: 767px) {
	.k-contact { padding: 12px 0 90px; }
	.k-contact__grid { gap: 14px; }
	.k-contact .k-label { margin-bottom: 2px; }
	.k-contact .k-h2 { font-size: clamp(1.4rem, 4svh, 1.8rem); }
	.k-contact .k-lead { margin-top: 6px; font-size: 13px; line-height: 1.4; }
	.k-contact__list { margin-top: 10px; gap: 6px; grid-template-columns: 1fr; }
	.k-contact__list a, .k-contact__zone { font-size: 13px; gap: 8px; }
	.k-contact__list a > span, .k-contact__zone > span { width: 28px; height: 28px; }
	.k-contact__list .kicon { width: 14px; height: 14px; }
	.k-form { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-radius: 20px; }
	.k-field > span { font-size: 11px; }
	.k-field input, .k-field select, .k-field textarea { padding: 7px 10px; font-size: 13px; border-radius: 10px; }
	.k-field textarea { height: 54px; }
	.k-form__foot { gap: 8px; }
	.k-form__foot small { font-size: 10px; }
	.k-form__foot .k-btn { width: 100%; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 767px) {
	.k-field input, .k-field select { min-height: 0; height: 34px; }
	.k-field textarea { min-height: 0; }
	.k-contact__list { gap: 4px; }
}
@media (max-width: 767px) {
	.k-engage { align-items: center; }
	.k-form { gap: 6px; }
	.k-form__foot small { font-size: 9.5px; line-height: 1.3; }
}
@media (max-width: 767px) and (max-height: 700px) {
	.k-contact .k-h2 { font-size: 1.3rem; }
	.k-contact .k-lead { display: none; }
	.k-contact__list { margin-top: 6px; }
	.k-contact__list a > span, .k-contact__zone > span { width: 24px; height: 24px; }
	.k-field input, .k-field select { height: 30px; }
	.k-field textarea { height: 44px; }
	.k-form__foot .k-btn { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 767px) { .k-engage { align-items: flex-start; } }

/* Arrière-plans vivants : zoom lent, panoramique et halos colorés animés */
@keyframes k-bg-zoom { from { scale: 1; } to { scale: 1.12; } }
@keyframes k-bg-pan { 0% { translate: -1.5% 0; } 100% { translate: 1.5% -1.2%; } }
@keyframes k-aurora { 0% { background-position: 0% 0%, 100% 100%, 50% 50%; } 50% { background-position: 60% 40%, 30% 70%, 20% 80%; } 100% { background-position: 100% 100%, 0% 20%, 80% 10%; } }
.k-hero__media video { animation: k-bg-zoom 26s ease-in-out infinite alternate; }
.k-services__intro::before { animation: k-bg-zoom 20s ease-in-out infinite alternate; }
.k-panel__img, .k-slogan__img { animation: k-bg-pan 14s ease-in-out infinite alternate; }
.k-panel:nth-child(even) .k-panel__img { animation-direction: alternate-reverse; }
.k-process, .k-engage, .k-contact, .k-footer, .k-page { position: relative; overflow: hidden; }
.k-process::before, .k-engage::before, .k-contact::before, .k-footer::before, .k-page::before {
	content: ""; position: absolute; inset: -10%; z-index: 0; pointer-events: none;
	background:
		radial-gradient(circle at center, rgba(224,51,111,.22), transparent 38%),
		radial-gradient(circle at center, rgba(63,167,223,.2), transparent 40%),
		radial-gradient(circle at center, rgba(232,201,121,.12), transparent 35%);
	background-size: 140% 140%, 160% 160%, 120% 120%;
	background-repeat: no-repeat;
	animation: k-aurora 22s ease-in-out infinite alternate;
}
.k-engage::before { animation-duration: 18s; animation-direction: alternate-reverse; }
.k-contact::before { animation-duration: 26s; }
.k-process > *, .k-engage > *, .k-contact > *, .k-footer > *, .k-page > * { position: relative; z-index: 1; }

/* Textes : apparition retardée et animée */
@keyframes k-tfx {
	0% { opacity: 0; filter: blur(16px); translate: 0 28px; scale: .96; letter-spacing: .08em; }
	55% { opacity: 1; filter: blur(3px); }
	100% { opacity: 1; filter: blur(0); translate: 0 0; scale: 1; letter-spacing: normal; }
}
.k-tfx { animation-duration: 1.2s; }
.k-process .k-tfx, .k-contact .k-tfx, .k-engage .k-tfx { animation-duration: 1.2s; animation-delay: var(--td, 0s); }
@media (prefers-reduced-motion: reduce) {
	.k-hero__media video, .k-services__intro::before, .k-panel__img, .k-slogan__img, .k-process::before, .k-engage::before, .k-contact::before, .k-footer::before, .k-page::before { animation: none; }
}

/* Effets 3D à l'apparition */
[data-reveal] { transform: perspective(1200px) rotateX(22deg) translateY(60px) scale(.96); transform-origin: 50% 100%; }
[data-reveal].is-in { transform: none; }
.k-engage__grid .k-card[data-reveal]:nth-child(odd):not(.is-in) { transform: perspective(1000px) rotateY(-38deg) translateZ(-90px) translateY(30px); }
.k-engage__grid .k-card[data-reveal]:nth-child(even):not(.is-in) { transform: perspective(1000px) rotateY(38deg) translateZ(-90px) translateY(30px); }
.k-engage__grid .k-card[data-reveal].is-in { transition-property: opacity, transform; }
.k-engage__grid .k-card.is-in:hover { transform: perspective(900px) rotateX(6deg) rotateY(-6deg) translateY(-8px); transition-delay: 0s; transition-duration: .4s; }
.k-step:not(.is-on) { transform: perspective(1000px) rotateY(-42deg) translateX(-90px) translateZ(-60px); }
.k-step:nth-child(even):not(.is-on) { transform: perspective(1000px) rotateY(42deg) translateX(90px) translateZ(-60px); }
.k-step { transform-style: preserve-3d; }
[data-word] { display: inline-block; transform-origin: 50% 100%; }
@keyframes k-tfx {
	0% { opacity: 0; filter: blur(14px); transform: perspective(700px) rotateX(70deg) translateY(30px); letter-spacing: .08em; }
	55% { opacity: 1; filter: blur(3px); }
	100% { opacity: 1; filter: blur(0); transform: none; letter-spacing: normal; }
}
.k-tfx { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) { [data-reveal], .k-step:not(.is-on) { transform: none; } }


/* « Votre sérénité, notre priorité » : apparition en fondu dégradé (couleurs d'origine) */
.k-slogan__title [data-word] {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 60%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 60%, transparent 100%);
	-webkit-mask-size: 260% 100%; mask-size: 260% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: var(--mp, 100%) 0; mask-position: var(--mp, 100%) 0;
	animation: k-word-glow 4s ease-in-out infinite;
}
.k-slogan__title [data-word]:nth-child(2) { animation-delay: .5s; }
.k-slogan__title [data-word]:nth-child(3) { animation-delay: 1s; }
.k-slogan__title [data-word]:nth-child(4) { animation-delay: 1.5s; }
@keyframes k-word-glow { 0%, 100% { text-shadow: 0 0 0 rgba(255,255,255,0); } 50% { text-shadow: 0 0 28px rgba(255,255,255,.35); } }
@media (prefers-reduced-motion: reduce) { .k-slogan__title [data-word] { animation: none; -webkit-mask-image: none; mask-image: none; } }

/* « Votre sérénité, notre priorité » : animation permanente du texte (vague, respiration, halo) */
.k-slogan__title [data-word] {
	animation: k-word-wave 3.6s ease-in-out infinite, k-word-glow 3.6s ease-in-out infinite;
}
.k-slogan__title [data-word]:nth-child(1) { animation-delay: 0s, 0s; }
.k-slogan__title [data-word]:nth-child(2) { animation-delay: .3s, .3s; }
.k-slogan__title [data-word]:nth-child(3) { animation-delay: .6s, .6s; }
.k-slogan__title [data-word]:nth-child(4) { animation-delay: .9s, .9s; }
@keyframes k-word-wave {
	0%, 100% { translate: 0 0; scale: 1; letter-spacing: normal; }
	50% { translate: 0 -14px; scale: 1.04; letter-spacing: .015em; }
}
@keyframes k-word-glow {
	0%, 100% { text-shadow: 0 0 0 transparent; }
	50% { text-shadow: 0 0 24px currentColor, 0 0 60px rgba(255,255,255,.18); }
}
.k-slogan__line { animation: k-line-shine 3.6s ease-in-out infinite; }
@keyframes k-line-shine { 0%, 100% { opacity: .55; filter: none; } 50% { opacity: 1; filter: drop-shadow(0 0 8px #E8C979); } }
@media (prefers-reduced-motion: reduce) { .k-slogan__title [data-word], .k-slogan__line { animation: none; } }

/* Dernier chapitre : textes visibles tout de suite */
.k-contact .k-tfx { animation-duration: .6s; }

/* Dernier chapitre + barre de fin sur un seul écran */
.k-footer { padding: 14px 0; }
.k-footer__brand img { width: 40px; height: 40px; }
.k-footer__name { font-size: 15px; }
.k-footer__slogan { margin-top: 2px; font-size: 12px; }
.k-footer__links { gap: 18px; font-size: 13px; }
.k-contact { min-height: calc(100svh - 80px - 70px); padding: 14px 0 18px; display: flex; align-items: center; }
.k-contact > .k-container { width: 100%; }
@media (min-width: 1024px) { .k-contact__grid { min-height: 0; } }
@media (min-width: 640px) { .k-form { padding: 18px 24px; } }
.k-form { gap: 10px; }
.k-field input, .k-field select { min-height: 0; height: 42px; padding-top: 0; padding-bottom: 0; }
.k-field textarea { height: clamp(52px, 9svh, 90px); }
.k-form__foot .k-btn { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 767px) {
	.k-footer { padding: 8px 0 10px; }
	.k-footer__row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
	.k-footer__brand { gap: 8px; }
	.k-footer__brand img { width: 30px; height: 30px; }
	.k-footer__name { font-size: 12px; }
	.k-footer__slogan { display: none; }
	.k-footer__links { order: 3; width: 100%; gap: 4px 12px; font-size: 10.5px; }
	.k-footer__copy { font-size: 10px; }
	.k-contact { min-height: 0; padding: 8px 0 10px; }
	.k-contact .k-lead { display: none; }
	.k-contact__list { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
	.k-contact__list a, .k-contact__zone { font-size: 12px; gap: 6px; }
	.k-contact__list a > span, .k-contact__zone > span { width: 24px; height: 24px; }
	.k-field input, .k-field select { height: 30px; }
	.k-field textarea { height: 44px; }
	.k-form__foot .k-btn { padding-top: 8px; padding-bottom: 8px; }
}
.k-contact { min-height: calc(100svh - 80px - 92px); }
@media (max-width: 767px) {
	.k-contact { min-height: 0; padding: 4px 0 8px; }
	.k-contact .k-h2 { font-size: 1.45rem; }
	.k-form { padding: 10px; gap: 5px; }
	.k-field { gap: 3px; }
	.k-field input, .k-field select { height: 28px; }
	.k-field textarea { height: 38px; }
	.k-form__foot { gap: 5px; }
}
@media (max-width: 767px) and (max-height: 700px) {
	.k-contact .k-label { letter-spacing: .14em; font-size: 10px; }
	.k-footer__links { display: none; }
	.k-contact__list { margin-top: 2px; }
}
