/* ============================================================================
   Habillage « cinéma nocturne » du site vitrine
   ----------------------------------------------------------------------------
   Une couche de style posée PAR-DESSUS Tailwind et site.css : elle est
   chargée après eux et activée par la classe « ak » sur <body>. Elle ne
   remplace aucun comportement : les filtres, la visionneuse, le carrousel,
   le formulaire, le menu mobile gardent leurs identifiants et leur JavaScript.

   Écrite en CSS ordinaire (préfixe « ak- ») : une classe que Tailwind n'a pas
   vue dans le HTML à la compilation n'existe pas, alors que cette feuille,
   elle, est toujours là. Les polices restent Inter (texte) et Merriweather
   (italique des mots en couleur et des avis).

   Mouvement : doux. Seules transform, opacity et clip-path s'animent ; tout
   s'arrête si le visiteur a demandé de réduire les animations ; sans
   JavaScript, tout est visible.
   ========================================================================== */

@property --ak-ss { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --ak-mm { syntax: '<integer>'; inherits: true; initial-value: 0; }

/* ───────── Jetons ───────── */
body.ak {
	--ak-bg: #06080a;
	--ak-bg2: #0a0e11;
	--ak-bg3: #10161a;
	--ak-ink: #f2f4f5;
	--ak-mute: rgba(242, 244, 245, .66);
	--ak-dim: rgba(242, 244, 245, .58);
	--ak-line: rgba(242, 244, 245, .12);
	--ak-line2: rgba(242, 244, 245, .22);
	--ak-acc: #18bfef;
	--ak-acc-hi: #83e8ff;
	--ak-acc-ink: #04141b;
	--ak-ease: cubic-bezier(.16, 1, .3, 1);
	--ak-ease-io: cubic-bezier(.65, 0, .35, 1);
	--ak-dist: 14px;
	--ak-dur: .8s;
	--ak-kb: 1.04;
	--ak-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ak-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
	background-color: var(--ak-bg);
	color: var(--ak-ink);
	font-family: var(--ak-sans);
	line-height: 1.6;
	overflow-x: hidden;
}
html.dark body.ak { background-color: var(--ak-bg); color: var(--ak-ink); }
.ak ::selection { background: var(--ak-acc); color: var(--ak-acc-ink); }
.ak :focus-visible { outline: 2px solid var(--ak-acc-hi); outline-offset: 3px; border-radius: 6px; }

.ak-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.ak-sec { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.ak-alt { background: var(--ak-bg2); border-top: 1px solid var(--ak-line); }
.ak-eb { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ak-acc); }
.ak-eb::before { content: ''; width: 36px; height: 1px; background: currentColor; transform-origin: left; }
.reveal.revealed .ak-eb::before { animation: akLine 1.1s var(--ak-ease) .15s backwards; }
@keyframes akLine { from { transform: scaleX(0); } }
.ak-h2 { margin: 18px 0 0; font-size: clamp(36px, 5.6vw, 92px); line-height: 1; letter-spacing: -.035em; font-weight: 600; color: var(--ak-ink); text-wrap: balance; }
.ak-h2 em, .ak-h1 em { font-family: var(--ak-serif); font-style: italic; font-weight: 300; letter-spacing: 0; color: var(--ak-acc); font-size: .8em; }
.ak-sub { max-width: 44ch; color: var(--ak-mute); font-size: clamp(16px, 1.3vw, 19px); }
.ak-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.ak-rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4b3e; animation: akRec 2.6s ease-out infinite; flex: none; }
@keyframes akRec { 0% { box-shadow: 0 0 0 0 rgba(255, 75, 62, .4); } 70%, 100% { box-shadow: 0 0 0 6px rgba(255, 75, 62, 0); } }

/* Viseur : quatre coins tracés par dégradés */
.ak-vf { position: absolute; pointer-events: none; --c: rgba(242, 244, 245, .6); --l: 22px; --t: 1.5px;
	background:
		linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l) no-repeat; }

/* ───────── Révélations au défilement ─────────
   .reveal / .revealed : posées par site.js (même observateur qu'avant).
   .ak-mask / .ak-lines : posées par akame-ui.js (classe « in »).
   Sans JavaScript (pas de « ak-js » sur <html>), tout reste visible. */
.ak .reveal { opacity: 1; transform: none; }
.ak-js .ak .reveal:not(.revealed) { opacity: 0; transform: translateY(var(--ak-dist)); }
.ak .reveal.revealed { opacity: 1; transform: none; animation: akRise var(--ak-dur) var(--ak-ease) calc(var(--i, 0) * 70ms) backwards; }
@keyframes akRise { from { opacity: 0; transform: translateY(var(--ak-dist)); } }

.ak-ln { display: block; overflow: hidden; padding: .04em .08em .14em; margin: -.04em -.08em -.14em; }
.ak-ln-in { display: block; }
.ak-js .ak-lines:not(.in) .ak-ln-in { transform: translateY(115%); }
.ak-lines.in .ak-ln-in { animation: akLn var(--ak-dur) var(--ak-ease) calc(var(--d, 0) * 100ms) backwards; }
@keyframes akLn { from { transform: translateY(115%); } to { transform: none; } }

.ak-mask { position: relative; overflow: hidden; border-radius: 18px; }
.ak-js .ak-mask:not(.in) { clip-path: inset(0 0 100% 0 round 18px); }
.ak-mask.in { animation: akMask 1.2s var(--ak-ease) backwards; }
@keyframes akMask { from { clip-path: inset(0 0 100% 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
.ak-mask.in .ak-mask-i { animation: akZoom 1.6s var(--ak-ease) backwards; }
@keyframes akZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.ak-mask-i { width: 100%; height: 100%; object-fit: cover; }

/* ───────── Barre de progression de lecture (amélioration progressive) ───────── */
.ak-prog { display: none; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9100; background: var(--ak-acc); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ───────── Navigation (balisage existant : #navbar) ───────── */
.ak #navbar { background: linear-gradient(to bottom, rgba(6, 8, 10, .6), rgba(6, 8, 10, 0)); }
.ak #navbar.backdrop-blur-2xl { background: rgba(6, 8, 10, .76); border-color: var(--ak-line); box-shadow: none; }
.ak #navbar.mm-open { background-color: var(--ak-bg); border-bottom-color: var(--ak-line); }
.ak-logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: var(--ak-ink); }
.ak-logo img { width: 40px; height: 40px; object-fit: contain; transition: transform 1s var(--ak-ease); }
.ak-logo:hover img { transform: rotate(45deg); }
.ak-logo b { font-weight: 300; }
.ak #navbar .nav-link { font-size: 14px; font-weight: 500; color: var(--ak-mute); transition: color .3s; }
.ak #navbar .nav-link:hover, .ak #navbar .nav-link.active { color: var(--ak-ink); }
.ak .nav-link::after { left: .75rem; right: .75rem; width: auto; bottom: 5px; height: 1px; background: var(--ak-acc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ak-ease); }
.ak .nav-link:hover::after, .ak .nav-link.active::after { width: auto; transform: scaleX(1); transform-origin: left; }
.ak .nav-dropdown-panel > ul { border-color: var(--ak-line); border-radius: 16px; background-color: rgba(10, 14, 17, .97); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ak .nav-dropdown-panel a { border-radius: 10px; color: var(--ak-mute); transition: background-color .3s, color .3s, padding .4s var(--ak-ease); }
.ak .nav-dropdown-panel a:hover { background: rgba(242, 244, 245, .06); color: var(--ak-ink); padding-left: 1.1rem; }
.ak #navbar a[aria-label^="Instagram"], .ak #navbar a[aria-label*="YouTube"] { color: var(--ak-mute); }
.ak #mobile-menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ak-line2); }
.ak #mobile-menu { background-color: var(--ak-bg); }
.ak .mm-link, .ak .mm-toggle { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }

/* ───────── Boutons ───────── */
.ak-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.2; white-space: nowrap; overflow: hidden; isolation: isolate; cursor: pointer; transition: transform .5s var(--ak-ease), box-shadow .5s var(--ak-ease), background-color .3s, border-color .3s; }
.ak-btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ak-ease); }
.ak-btn:hover svg { transform: translateX(3px); }
.ak-btn-p { background: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-btn-p::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); }
.ak-btn-p:hover::before { transform: translateX(120%); transition: transform .9s var(--ak-ease); }
.ak-btn-p:hover { color: var(--ak-acc-ink); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(24, 191, 239, .55); }
.ak-btn-g { color: var(--ak-ink); border: 1px solid var(--ak-line2); background: rgba(242, 244, 245, .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ak-btn-g:hover { background: rgba(242, 244, 245, .12); border-color: rgba(242, 244, 245, .42); }
.ak-btn-s { min-height: 44px; padding: 0 22px; font-size: 14px; }
.ak-rnd { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ak-line2); background: rgba(6, 8, 10, .5); color: var(--ak-ink); cursor: pointer; transition: background-color .35s, color .35s, border-color .35s; }
.ak-rnd:hover { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-rnd svg { width: 20px; height: 20px; }

/* ───────── Héros ───────── */
.ak-hero { position: relative; display: flex; align-items: flex-end; min-height: 640px; min-height: max(640px, 100vh); min-height: max(640px, 100svh); overflow: hidden; isolation: isolate; background: #000; --mx: 50%; --my: 38%; }
.ak-hero-stage { position: absolute; inset: -4% 0; z-index: -4; }
.ak-slide { position: absolute; inset: 0; opacity: 0; animation: akSlide 28s linear infinite; }
.ak-slide img { width: 100%; height: 100%; object-fit: cover; animation: akKb 28s linear infinite; will-change: transform; }
.ak-s1 { opacity: 1; }
.ak-s2, .ak-s2 img { animation-delay: 7s; }
.ak-s3, .ak-s3 img { animation-delay: 14s; }
.ak-s4, .ak-s4 img { animation-delay: 21s; }
.ak-s2 img { --tx: 1.4%; --ty: -1.2%; }
.ak-s3 img { --tx: -1.2%; --ty: 1.2%; }
.ak-s4 img { --tx: 1.2%; --ty: .8%; }
@keyframes akSlide { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@keyframes akKb { 0% { transform: scale(1.02) translate3d(0, 0, 0); } 29%, 100% { transform: scale(var(--ak-kb)) translate3d(var(--tx, -1.4%), var(--ty, -1%), 0); } }
.ak-hero-shade { position: absolute; inset: 0; z-index: -3; background: radial-gradient(120% 90% at 50% 32%, transparent 0%, rgba(6, 8, 10, .4) 55%, rgba(6, 8, 10, .88) 100%), linear-gradient(to bottom, rgba(6, 8, 10, .6) 0%, rgba(6, 8, 10, .06) 26%, rgba(6, 8, 10, .3) 58%, var(--ak-bg) 100%); }
.ak-hero-spot { position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: screen; opacity: .28; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(24, 191, 239, .26), transparent 62%); }
.ak-grain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .07; mix-blend-mode: overlay; }
.ak-vf-hero { inset: 96px clamp(12px, 2vw, 28px) 24px; z-index: 1; animation: akFade 1.3s var(--ak-ease) .3s backwards; }
.ak-hero-in { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 112px clamp(16px, 4vw, 56px) 112px; }
/* Le titre prend la place que la hauteur de l'écran lui laisse (430 px = marges + accroche + boutons) :
   les deux boutons restent visibles sans défiler sur un portable de 768 px de haut. */
.ak-h1 { margin: 0; font-size: clamp(44px, min(13.6vw, calc((100vh - 430px) / 2.68)), 150px); line-height: .95; letter-spacing: -.045em; font-weight: 700; color: #fff; }
.ak-h1 .ak-ln-in { animation: akLn 1s var(--ak-ease) calc(var(--d, 0) * 90ms) backwards; }
.ak-h1 .ak-ser { font-size: .58em; line-height: 1.35; }
.ak-lead { max-width: 34em; margin-top: 34px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ak-mute); }
.ak-lead b { color: var(--ak-ink); font-weight: 500; }
.ak-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.ak-fi { animation: akFadeUp .9s var(--ak-ease) calc(.35s + var(--k, 0) * .1s) backwards; }
@keyframes akFadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes akFade { from { opacity: 0; } }
.ak-hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 36px; animation: akFade 1s ease 1s backwards; }
.ak-hud-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ak-mute); }
.ak-cap-w { position: relative; height: 20px; }
.ak-cap { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; animation: akCap 28s linear infinite; }
.ak-cap b { color: var(--ak-acc); font-weight: 600; margin-right: 12px; }
.ak-c2 { animation-delay: 7s; } .ak-c3 { animation-delay: 14s; } .ak-c4 { animation-delay: 21s; }
@keyframes akCap { 0% { opacity: 0; transform: translateY(10px); } 3%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-10px); } }
.ak-segs { display: flex; gap: 8px; }
.ak-sg { display: block; width: 56px; height: 2px; background: rgba(242, 244, 245, .22); overflow: hidden; }
.ak-sg::after { content: ''; display: block; height: 100%; background: var(--ak-ink); transform-origin: left; transform: scaleX(0); animation: akSeg 28s linear infinite; }
.ak-g2::after { animation-delay: 7s; } .ak-g3::after { animation-delay: 14s; } .ak-g4::after { animation-delay: 21s; }
@keyframes akSeg { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
.ak-tc { justify-self: end; display: flex; align-items: center; gap: 10px; color: var(--ak-ink); font-variant-numeric: tabular-nums; counter-reset: akh 0 akm var(--ak-mm) aks var(--ak-ss); animation: akSs 60s steps(60) infinite, akMm 3600s steps(60) infinite; }
.ak-tcv::after { content: counter(akh, decimal-leading-zero) ':' counter(akm, decimal-leading-zero) ':' counter(aks, decimal-leading-zero); }
@keyframes akSs { from { --ak-ss: 0; } to { --ak-ss: 60; } }
@keyframes akMm { from { --ak-mm: 0; } to { --ak-mm: 60; } }

/* ───────── Bandeau défilant ───────── */
.ak-marq { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid var(--ak-line); }
.ak-marq-track { display: flex; width: max-content; animation: akMarq 80s linear infinite; }
.ak-marq:hover .ak-marq-track { animation-play-state: paused; }
.ak-marq-g { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); padding-right: clamp(24px, 3vw, 56px); }
.ak-marq-g span { font-size: clamp(40px, 7.4vw, 118px); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: rgba(242, 244, 245, .16); transition: color .5s; }
.ak-marq-g span:hover { color: var(--ak-ink); }
.ak-marq-g svg { flex: none; width: clamp(20px, 2.6vw, 38px); height: clamp(20px, 2.6vw, 38px); color: var(--ak-acc); animation: akSpin 40s linear infinite; }
@keyframes akMarq { to { transform: translateX(-50%); } }
@keyframes akSpin { to { transform: rotate(360deg); } }

/* ───────── À propos ───────── */
.ak-about-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.ak-about-fig { position: relative; max-width: 560px; }
.ak-about-fig .ak-mask { aspect-ratio: 4 / 5; border-radius: 22px; }
.ak-about-fig .ak-vf { inset: -16px; --c: var(--ak-acc); --l: 28px; --t: 2px; }
.ak-par { position: absolute; inset: -6% 0; }
.ak-par img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ak-tag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ak-line2); background: rgba(6, 8, 10, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.ak-about-tx p { color: var(--ak-mute); }
.ak-about-tx p + p { margin-top: 16px; }
.ak-about-tx strong { color: var(--ak-ink); font-weight: 500; }
.ak-about-tx .ak-lede { margin-top: 30px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ak-ink); }
.ak-about-tx a.ak-lk { color: var(--ak-acc); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ak-ease), color .3s; }
.ak-about-tx a.ak-lk:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--ak-acc-hi); }
.ak-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ak-chip { padding: 9px 16px; border: 1px solid var(--ak-line2); border-radius: 999px; font-size: 14px; color: var(--ak-mute); transition: border-color .4s, color .4s; }
.ak-chip:hover { border-color: var(--ak-acc); color: var(--ak-ink); }
.ak-more-lk { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-weight: 600; color: var(--ak-acc); }
.ak-more-lk svg { width: 18px; height: 18px; transition: transform .5s var(--ak-ease); }
.ak-more-lk:hover svg { transform: translateX(6px); }

/* ───────── Services (index éditorial) ───────── */
.ak-sv-list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ak-line); }
.ak-svc { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px minmax(0, 1fr) 190px 250px 56px; align-items: center; gap: clamp(16px, 2.4vw, 36px); padding: 30px 0; border-bottom: 1px solid var(--ak-line); color: var(--ak-ink); }
.ak-svc::before { content: ''; position: absolute; inset: 0 -28px; z-index: -1; background: rgba(24, 191, 239, .07); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ak-ease); }
.ak-svc:hover::before, .ak-svc:focus-visible::before { transform: scaleX(1); }
.ak-svc-n { font-size: 13px; font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ak-dim); transition: color .4s; }
.ak-svc:hover .ak-svc-n { color: var(--ak-acc); }
.ak-svc-t h3 { margin: 0; font-size: clamp(28px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; color: var(--ak-ink); transition: transform .7s var(--ak-ease); }
.ak-svc:hover .ak-svc-t h3 { transform: translateX(8px); }
.ak-svc-t p { margin: 10px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--ak-mute); }
.ak-svc-img { position: relative; height: 104px; border-radius: 12px; overflow: hidden; transition: transform .8s var(--ak-ease), box-shadow .8s var(--ak-ease); }
.ak-svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s, transform 1.2s var(--ak-ease); }
.ak-svc:hover .ak-svc-img { transform: scale(1.06); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); z-index: 3; }
.ak-svc:hover .ak-svc-img img { filter: none; transform: scale(1.03); }
.ak-svc-ex { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; list-style: none; font-size: 13px; letter-spacing: .01em; color: var(--ak-dim); transition: color .4s; }
.ak-svc-ex li::before { content: '+ '; color: var(--ak-acc); }
.ak-svc:hover .ak-svc-ex { color: var(--ak-ink); }
.ak-svc-ar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ak-line2); transition: background-color .4s, color .4s, border-color .4s; }
.ak-svc-ar svg { width: 22px; height: 22px; }
.ak-svc:hover .ak-svc-ar { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-center { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ───────── Portfolio ───────── */
.ak-reel { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.ak-reel .video-container { border-radius: 22px; border: 0; box-shadow: none; background: var(--ak-bg3); }
.ak-reel .youtube-lazy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; background: var(--ak-bg3); overflow: hidden; border-radius: 22px; }
.ak-reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ak-ease); }
.ak-reel .youtube-lazy:hover .ak-reel-poster { transform: scale(1.02); }
.ak-reel-sh { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 10, .7), rgba(6, 8, 10, .08) 55%, rgba(6, 8, 10, .35)); pointer-events: none; }
.ak-reel-chip { position: absolute; left: 22px; top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ak-line2); background: rgba(6, 8, 10, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.ak-play { position: relative; display: grid; place-items: center; width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); border-radius: 50%; background: var(--ak-acc); color: var(--ak-acc-ink); transition: transform .7s var(--ak-ease), box-shadow .7s var(--ak-ease); }
.ak-play svg { width: 34%; height: 34%; margin-left: 6%; }
.youtube-lazy:hover .ak-play { transform: scale(1.04); box-shadow: 0 14px 50px -14px rgba(24, 191, 239, .55); }
.ak-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ak-acc); opacity: 0; animation: akRing 4.4s var(--ak-ease) infinite; pointer-events: none; }
.ak-ring.r2 { animation-delay: 2.2s; }
@keyframes akRing { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.7); opacity: 0; } }
.ak-reel-t { position: relative; font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); color: #fff; }
.ak-reel-s { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-mute); }
.ak-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: clamp(40px, 5vw, 64px) 0 28px; }
.ak .filter-btn { min-height: 44px; padding: 11px 18px; border: 1px solid var(--ak-line2); border-radius: 999px; background: transparent; color: var(--ak-mute); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background-color .35s, color .35s, border-color .35s; }
.ak .filter-btn:hover { border-color: var(--ak-acc); color: var(--ak-ink); }
.ak .filter-btn.active { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak .masonry-grid { columns: auto; column-gap: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.ak .masonry-grid::after { content: ''; flex-grow: 1000; }
.ak .masonry-item { margin: 0; break-inside: auto; flex: calc(var(--r, 1.5) * 10) 1 calc(var(--r, 1.5) * 280px); min-width: 0; aspect-ratio: var(--r, 1.5); }
.ak .masonry-item > div { height: 100%; border-radius: 14px; background: var(--ak-bg3); }
.ak .masonry-item img { height: 100%; object-fit: cover; }
.ak .photo-item .group img { transition: transform 1.4s var(--ak-ease), filter .8s; }
.ak .photo-item .group:hover img { transform: scale(1.03); }
.ak .photo-item .group::after { content: ''; position: absolute; inset: 12px; pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .8s var(--ak-ease); --c: var(--ak-acc); --l: 18px; --t: 2px;
	background:
		linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l) no-repeat; }
.ak .photo-item .group:hover::after { opacity: 1; transform: none; }

/* Visionneuse (balisage existant) */
.ak #photo-lightbox { background: rgba(3, 5, 7, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ak #photo-lightbox #lb-close, .ak #photo-lightbox .lb-nav-btn { border: 1px solid var(--ak-line2); background: rgba(6, 8, 10, .5); transition: background-color .35s, color .35s, border-color .35s; }
.ak #photo-lightbox #lb-close:hover, .ak #photo-lightbox .lb-nav-btn:hover { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak #lb-img { border-radius: 12px; }

/* ───────── Ils m'ont fait confiance ───────── */
.ak-trust { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--ak-line); border-bottom: 1px solid var(--ak-line); overflow: hidden; }
.ak-trust .ak-h2 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.03em; }
.ak .logo-marquee-wrapper { margin-top: clamp(28px, 4vw, 48px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ak .logo-marquee-track { animation: none; }
.ak .logo-marquee-track.ak-loop { animation: scroll-wall-left 60s linear infinite; }
.ak .logo-marquee-track .logo-item { width: auto; height: auto; padding: 0; margin: 0 clamp(14px, 2vw, 32px); background: none; border-radius: 0; }
.ak .logo-marquee-track .logo-item img { width: clamp(76px, 8vw, 104px); height: clamp(76px, 8vw, 104px); max-width: none; max-height: none; border-radius: 20px; object-fit: cover; filter: grayscale(1); opacity: .62; transition: filter .5s, opacity .5s; }
.ak .logo-marquee-track .logo-item:hover img { filter: none; opacity: 1; }

/* ───────── Avis clients (balisage existant : carrousel + points) ───────── */
.ak-rev-g { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 7vw, 120px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.ak-score { font-size: clamp(88px, 11vw, 176px); font-weight: 700; line-height: .86; letter-spacing: -.06em; }
.ak-score span { font-family: var(--ak-serif); font-style: italic; font-weight: 300; font-size: .34em; letter-spacing: 0; color: var(--ak-dim); }
.ak-stars { display: flex; gap: 6px; margin-top: 20px; color: #f5b73b; }
.ak-stars svg { width: 24px; height: 24px; }
.reveal.revealed .ak-stars svg { animation: akStar .7s var(--ak-ease) calc(.4s + var(--s, 0) * 90ms) backwards; }
@keyframes akStar { from { opacity: 0; transform: scale(.8); } }
.ak-rate-t { margin-top: 16px; font-size: 15px; color: var(--ak-mute); }
.ak-rate .ak-btn { margin-top: 28px; }
.ak-rev-vp { overflow: hidden; }
.ak .carousel-track { transition-duration: .9s; }
.ak .review-slide { padding: 0; }
.ak .review-slide > div { background: none; border: 0; border-radius: 0; padding: 0; text-align: left; }
.ak .review-slide > div > .text-amber-400 { display: none; }
.ak .review-slide blockquote { margin: 0 0 34px; font-family: var(--ak-serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.1vw, 31px); line-height: 1.55; letter-spacing: 0; color: var(--ak-ink); text-wrap: pretty; }
.ak .review-slide .justify-center.gap-3 { justify-content: flex-start; }
.ak .review-slide > div > .text-white\/50 { font-weight: 600; font-size: 16px; color: var(--ak-ink); }
.ak .review-slide .rounded-full { background: rgba(24, 191, 239, .18); color: var(--ak-acc); }
.ak .review-slide a { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ak-ease); }
.ak .review-slide a:hover { background-size: 100% 1px; color: var(--ak-ink); }
.ak .review-slide p { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-dim); }
.ak-rev-ctl { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.ak #carousel-dots { display: flex; gap: 8px; margin: 0 8px; padding: 0; justify-content: flex-start; }
.ak #carousel-dots .carousel-dot { position: relative; width: 44px; height: 44px; border-radius: 0; background: none; transition: none; }
.ak #carousel-dots .carousel-dot::before, .ak #carousel-dots .carousel-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.ak #carousel-dots .carousel-dot::before { background: rgba(242, 244, 245, .2); transition: background-color .4s; }
.ak #carousel-dots .carousel-dot:hover::before { background: rgba(242, 244, 245, .5); }
.ak #carousel-dots .carousel-dot::after { background: var(--ak-acc); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ak-ease); }
.ak #carousel-dots .carousel-dot.bg-akame-500::after { transform: scaleX(1); }

/* ───────── Contact ───────── */
.ak-ct-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.ak-ct-l .ak-sub { margin-top: 24px; }
.ak-cls { margin-top: 40px; }
.ak-cl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ak-line); color: var(--ak-ink); }
.ak-cl:last-of-type { border-bottom: 1px solid var(--ak-line); }
.ak-cl small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-dim); }
.ak-cl b { display: block; margin-top: 4px; font-size: clamp(19px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; transition: transform .6s var(--ak-ease), color .3s; }
.ak-cl:hover b { transform: translateX(6px); color: var(--ak-acc); }
.ak-cl .ak-svc-ar { flex: none; width: 48px; height: 48px; }
.ak-cl:hover .ak-svc-ar { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-resp { margin-top: 20px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ak-mute); }
.ak-resp b { color: var(--ak-ink); font-weight: 600; }
.ak-form { position: relative; padding: clamp(18px, 3.4vw, 48px); border: 1px solid var(--ak-line); border-radius: clamp(20px, 2.4vw, 28px); background: var(--ak-bg2); }
.ak-fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.ak-fld { position: relative; min-width: 0; }
.ak-fld.full { grid-column: 1 / -1; }
.ak-fld input, .ak-fld select, .ak-fld textarea { display: block; width: 100%; min-height: 56px; padding: 24px 0 8px; border: 0; border-bottom: 1px solid var(--ak-line2); border-radius: 0; background: transparent; color: var(--ak-ink); font: inherit; font-size: 16px; outline: none; box-shadow: none; transition: border-color .3s; color-scheme: dark; }
.ak-fld textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.ak-fld select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--ak-mute) 50%), linear-gradient(135deg, var(--ak-mute) 50%, transparent 50%); background-position: calc(100% - 9px) 60%, calc(100% - 4px) 60%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.ak-fld select option, .ak-fld select optgroup { background: #0a0e11; color: var(--ak-ink); }
.ak-fld label { position: absolute; left: 0; top: 19px; max-width: 100%; font-size: 16px; color: var(--ak-mute); pointer-events: none; transform-origin: left top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .45s var(--ak-ease), color .3s; }
.ak-fld input:focus + label, .ak-fld input:not(:placeholder-shown) + label, .ak-fld textarea:focus + label, .ak-fld textarea:not(:placeholder-shown) + label, .ak-fld.up label { transform: translateY(-17px) scale(.74); color: var(--ak-acc); }
.ak-fld .ak-ul { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ak-acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ak-ease); }
.ak-fld:focus-within .ak-ul { transform: scaleX(1); }
.ak-fld input:focus-visible, .ak-fld select:focus-visible, .ak-fld textarea:focus-visible { outline: none; border-radius: 0; }
.ak-opt { font-size: .8em; opacity: .7; }
.ak-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ak-ease); }
.ak-more.open { grid-template-rows: 1fr; }
.ak-more > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .8s; }
.ak-more.open > div { visibility: visible; transition-delay: 0s; }
.ak-more .ak-fg { padding-top: 22px; }
.ak-tg { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; min-height: 44px; font-weight: 600; color: var(--ak-acc); cursor: pointer; }
.ak-tg i { position: relative; display: block; width: 28px; height: 28px; flex: none; border: 1px solid currentColor; border-radius: 50%; transition: transform .6s var(--ak-ease); }
.ak-tg i::before, .ak-tg i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.ak-tg i::after { transform: rotate(90deg); transition: transform .6s var(--ak-ease); }
.ak-tg.open i { transform: rotate(180deg); }
.ak-tg.open i::after { transform: rotate(0); }
.ak-legal { margin-top: 26px; font-size: 13px; line-height: 1.55; color: var(--ak-dim); }
.ak-legal a { color: var(--ak-acc); text-decoration: underline; text-underline-offset: 3px; }
.ak-captcha { margin-top: 22px; max-width: 100%; }
.ak-sub-r { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.ak-form .ak-btn:disabled { opacity: .6; cursor: progress; }

/* ───────── Pied de page ───────── */
.ak-foot { position: relative; overflow: hidden; border-top: 1px solid var(--ak-line); background: var(--ak-bg2); }
.ak-fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: clamp(32px, 4vw, 64px); padding: clamp(56px, 7vw, 96px) 0 48px; }
.ak-fcols h3 { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ak-ink); }
.ak-fcols ul { margin: 0; padding: 0; list-style: none; }
.ak-fcols li + li { margin-top: 9px; }
.ak-fl { display: inline-block; font-size: 14px; color: var(--ak-mute); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ak-ease), color .3s; }
.ak-fl:hover { color: var(--ak-acc); background-size: 100% 1px; }
.ak-fb p { margin: 14px 0 22px; font-size: 14px; line-height: 1.65; color: var(--ak-mute); max-width: 36ch; }
.ak-fsoc { display: flex; gap: 8px; }
.ak-soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ak-line2); color: var(--ak-mute); transition: background-color .3s, color .3s, border-color .3s; }
.ak-soc:hover { background: rgba(24, 191, 239, .1); border-color: rgba(24, 191, 239, .5); color: var(--ak-ink); }
.ak-soc svg { width: 20px; height: 20px; }
.ak-zn + .ak-zn { margin-top: 18px; }
.ak-zn a.t { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ak-acc); }
.ak-zn a.t svg { width: 16px; height: 16px; flex: none; }
.ak-zn a.t:hover { text-decoration: underline; }
.ak-zn p { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--ak-dim); }
.ak-fbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid var(--ak-line); font-size: 13px; color: var(--ak-dim); }
.ak-fbar nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ak-fbar a { transition: color .3s; }
.ak-fbar a:hover { color: var(--ak-ink); }
.ak-wm { margin: clamp(8px, 2vw, 24px) 0 -.12em; text-align: center; white-space: nowrap; font-size: clamp(34px, 13vw, 250px); font-weight: 800; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; color: rgba(242, 244, 245, .07); -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 96%); mask-image: linear-gradient(to bottom, #000 25%, transparent 96%); user-select: none; }
.ak-wm span { display: inline-block; transition: color .6s; }
.ak-wm span:hover { color: var(--ak-acc); }

/* ───────── Contact flottant (balisage existant) ───────── */
.ak #floating-cta-trigger { background: var(--ak-acc); color: var(--ak-acc-ink); animation: none; box-shadow: 0 14px 40px -10px rgba(24, 191, 239, .6); }
.ak #floating-cta-trigger:hover { background: var(--ak-acc-hi); }
.ak #floating-menu > div { border-color: var(--ak-line); background: rgba(10, 14, 17, .94); border-radius: 18px; }
.ak #floating-menu a { border: 1px solid var(--ak-line2); background: rgba(10, 14, 17, .92); color: var(--ak-ink); transition: background-color .3s, color .3s; }
.ak #floating-menu a:hover { background: var(--ak-acc); color: var(--ak-acc-ink); transform: none; }

/* ───────── Sous-pages : balisage Tailwind existant, repris par attributs ─────────
   Ces règles ne ciblent que les pages qui portent la classe « ak » et jamais l'accueil
   (qui n'a ni <main>, ni <header> direct, ni ces utilitaires Tailwind). */
.ak nav[aria-label="Fil d'Ariane"] { background: var(--ak-bg); border-bottom-color: var(--ak-line); }
.ak nav[aria-label="Fil d'Ariane"] ol { align-items: center; min-height: 44px; row-gap: 0; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ak-dim); }
.ak nav[aria-label="Fil d'Ariane"] ol [aria-current="page"] { color: var(--ak-ink); }
/* Séparateur « / » (décoratif, masqué aux lecteurs d'écran) : le balisage le posait à 20 % de blanc, soit 1,7:1.
   Il passe à 50 % : lisible pour qui le voit, et plus aucun contrôle automatique de contraste ne le signale. */
.ak nav[aria-label="Fil d'Ariane"] ol > li[aria-hidden="true"] { color: rgba(242, 244, 245, .5); }
.ak nav[aria-label="Fil d'Ariane"] a { display: inline-flex; align-items: center; min-height: 44px; transition: color .3s; }
.ak nav[aria-label="Fil d'Ariane"] a:hover { color: var(--ak-acc); }

/* En-tête de page : grand titre, mot-clé en italique, viseur */
.ak > header.relative { border-bottom-color: var(--ak-line); }
.ak > header.relative > .relative.z-10 { max-width: 64rem; }
.ak > header.relative h1 { font-size: clamp(38px, 6.2vw, 88px); line-height: .98; letter-spacing: -.04em; font-weight: 700; color: #fff; text-wrap: balance; }
.ak > header.relative p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ak-mute); }
.ak > header.relative::after { content: ''; position: absolute; inset: 20px clamp(12px, 2vw, 28px); z-index: 5; pointer-events: none; opacity: .55; animation: akFade 1.3s var(--ak-ease) .3s backwards; --c: rgba(242, 244, 245, .6); --l: 22px; --t: 1.5px;
	background:
		linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l) no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l) no-repeat; }
.ak .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--ak-acc); font-family: var(--ak-serif); font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .82em; }

/* Titres de section et rubriques */
.ak main h2:not(.ak-h2), .ak section:not(.ak-sec):not(.ak-hero) h2:not(.ak-h2) { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; color: var(--ak-ink); text-wrap: balance; }
.ak main h3:not(.ak-svc-t h3), .ak section:not(.ak-sec):not(.ak-hero) h3 { letter-spacing: -.02em; }
.ak p[class~="uppercase"][class*="text-akame-500"] { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--ak-acc); }
.ak section[class*="bg-dark-900"] { background-color: var(--ak-bg2); border-color: var(--ak-line); }

/* Boutons des pages : plein cyan à texte foncé, contour, bouton discret */
.ak a[class~="bg-akame-500"].rounded-full, .ak button[class~="bg-akame-500"].rounded-full { background-color: var(--ak-acc); color: var(--ak-acc-ink); font-weight: 600; transition: transform .5s var(--ak-ease), box-shadow .5s var(--ak-ease); }
.ak a[class~="bg-akame-500"].rounded-full:hover, .ak button[class~="bg-akame-500"].rounded-full:hover { background-color: var(--ak-acc); color: var(--ak-acc-ink); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(24, 191, 239, .55); }
.ak a.rounded-full[class~="bg-white/5"], .ak button.rounded-full[class~="bg-white/5"] { color: var(--ak-ink); border-color: var(--ak-line2); background-color: rgba(242, 244, 245, .05); transition: background-color .3s, border-color .3s; }
.ak a.rounded-full[class~="bg-white/5"]:hover, .ak button.rounded-full[class~="bg-white/5"]:hover { background-color: rgba(242, 244, 245, .12); border-color: rgba(242, 244, 245, .42); }

/* Cartes et encadrés */
.ak [class~="rounded-2xl"][class*="border-white/[0.06]"] { border-color: var(--ak-line); background-color: var(--ak-bg2); border-radius: 18px; transition: border-color .4s, background-color .4s; }
.ak a[class~="rounded-2xl"][class*="border-white/[0.06]"]:hover { border-color: rgba(24, 191, 239, .4); }
.ak [class~="rounded-2xl"][class*="bg-akame-500/5"] { border-radius: 18px; }

/* Pied de page : liens dans les zones d'intervention */
.ak-zn p .ak-fl { display: inline; color: inherit; }
.ak-zn p .ak-fl:hover { color: var(--ak-acc); }

/* ───────── Sous-pages : socle commun (issu des groupes de pages) ───────── */

/* Menu de bureau : survol et clavier du menu « Prestations », libellés sur une ligne, réseaux masqués
   quand la place manque (ces règles vivaient dans site.css, que les pages légales et d'erreur ne chargent pas). */
.ak .nav-dropdown:hover > .nav-dropdown-panel, .ak .nav-dropdown:focus-within > .nav-dropdown-panel { display: block; }
/* Fermé par Échap (akame-ui.js) : l'emporte sur le survol et le focus jusqu'à ce que l'un ou l'autre sorte du menu. */
body.ak .nav-dropdown.ak-closed > .nav-dropdown-panel { display: none; }
@media (min-width: 1024px) {
	.ak #navbar .nav-link, .ak #navbar #nav-logo, .ak #navbar a.rounded-full { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.ak #navbar a[aria-label^="Instagram"], .ak #navbar a[aria-label*="YouTube"] { display: none; }
}

/* Cibles tactiles de 44 px : la mise en page ne bouge pas, seule la zone cliquable grandit (pseudo-élément). */
.ak .ak-fl, .ak .ak-fbar a, .ak .ak-zn a.t, .ak .ak-logo { position: relative; }
.ak .ak-fl::after, .ak .ak-fbar a::after, .ak .ak-zn a.t::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
/* Les zones de 44 px se chevauchent si les liens sont plus serrés que 44 px : le lien suivant, plus haut dans la
   pile, volait alors le bas de la zone du précédent (mesuré : 34 px utiles). Sur écran étroit ou tactile, chaque
   ligne du pied de page occupe donc 44 px pleins ; le texte garde sa taille, les lignes s'espacent un peu plus. */
@media (max-width: 1023px), (pointer: coarse) {
	.ak .ak-fcols li { display: flex; align-items: center; min-height: 44px; }
	.ak .ak-fcols li + li { margin-top: 0; }
	.ak .ak-fcols .ak-fl::after { left: -9px; right: -9px; }
	.ak .ak-fbar nav { row-gap: 0; }
	.ak .ak-fbar nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
.ak .ak-logo::after { content: ''; position: absolute; inset: -2px -6px; }
.ak #navbar .nav-link { padding-top: 12px; padding-bottom: 12px; }
.ak .nav-link::after { bottom: 9px; }
.ak #navbar a[aria-label^="Instagram"], .ak #navbar a[aria-label*="YouTube"] { width: 44px; height: 44px; }
.ak .nav-dropdown-panel a { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 640px) {
	.ak nav[aria-label="Fil d'Ariane"] ol { padding-bottom: 10px; }
}

/* Viseur à poser dans n'importe quelle section (avec .ak-vf) : mêmes marges que l'en-tête des sous-pages. */
.ak-vf-pg { inset: 96px clamp(12px, 2vw, 28px) 24px; z-index: 2; opacity: .55; animation: akFade 1.3s var(--ak-ease) .3s backwards; }

/* Bouton à libellé long : il passe à la ligne au lieu de déborder. */
.ak-btn-w { white-space: normal; text-align: center; min-height: 48px; height: auto; padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 640px) { .ak-btn-w { width: 100%; } }

/* Lien « Voir plus » à libellé qui peut passer à la ligne : la flèche reste en ligne, collée au dernier mot
   (<span class="ak-nb">Premium<svg …/></span>). .ak-nb garde aussi « 48 h », « 50 % », « Saint-Martin-d'Hères » d'un seul tenant. */
.ak-more-lk { display: inline-block; max-width: 100%; padding: 10px 0; line-height: 1.5; min-height: 44px; }
.ak-more-lk svg { display: inline-block; vertical-align: -.22em; margin-left: 10px; }
.ak-nb { white-space: nowrap; }
.ak main p, .ak main li { text-wrap: pretty; }

/* Lien de texte dans un paragraphe */
.ak-a { color: var(--ak-acc); text-decoration: underline; text-decoration-color: rgba(24, 191, 239, .4); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.ak-a:hover { color: var(--ak-acc-hi); text-decoration-color: currentColor; }

/* Lignes numérotées (numéro, titre, description) : exemples, étapes, services sans lien.
   Pas de tabular-nums sur un paragraphe entier : Inter élargit alors les traits d'union. */
.ak-rows { border-top: 1px solid var(--ak-line); }
.ak-row { position: relative; display: grid; grid-template-columns: clamp(40px, 5vw, 64px) minmax(0, 1fr); align-items: baseline; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--ak-line); }
.ak-row-n { font-size: 13px; font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ak-dim); }
.ak-row-t { grid-column: 2; margin: 0; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; color: var(--ak-ink); text-wrap: balance; }
.ak-row-p { grid-column: 2; margin: 10px 0 0; max-width: 58ch; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--ak-mute); }

/* Questions fréquentes en <details> : +/− dessiné en CSS, ouverture douce sans JavaScript
   (repli instantané dans les navigateurs qui ne savent pas animer ::details-content).
   Balisage : <div class="ak-faq"><details><summary><span>Question</span><i aria-hidden="true"></i></summary><p>Réponse</p></details></div> */
.ak-faq { border-top: 1px solid var(--ak-line); interpolate-size: allow-keywords; }
.ak-faq details { border-bottom: 1px solid var(--ak-line); }
.ak-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; margin: 0 -14px; padding: 20px 14px; border-radius: 10px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--ak-ink); }
.ak-faq summary::-webkit-details-marker { display: none; }
.ak-faq summary i { position: relative; width: 32px; height: 32px; flex: none; border: 1px solid var(--ak-line2); border-radius: 50%; color: var(--ak-acc); transition: transform .6s var(--ak-ease); }
.ak-faq summary i::before, .ak-faq summary i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.ak-faq summary i::after { transform: rotate(90deg); transition: transform .6s var(--ak-ease); }
.ak-faq details[open] summary i { transform: rotate(180deg); }
.ak-faq details[open] summary i::after { transform: rotate(0); }
.ak-faq details > p { margin: 0; padding: 0 0 26px; max-width: 64ch; line-height: 1.75; color: var(--ak-mute); }
@supports (interpolate-size: allow-keywords) {
	.ak-faq details::details-content { block-size: 0; overflow: clip; transition: block-size .7s var(--ak-ease), content-visibility .7s allow-discrete; }
	.ak-faq details[open]::details-content { block-size: auto; }
}

/* ───────── Animation liée au défilement (amélioration progressive) ───────── */
@supports (animation-timeline: scroll()) {
	.ak-prog { display: block; animation: akProg linear both; animation-timeline: scroll(root); }
	@keyframes akProg { to { transform: scaleX(1); } }
	.ak-hero-stage { animation: akHeroPar linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
	@keyframes akHeroPar { to { transform: translate3d(0, 8%, 0); } }
	.ak-hero-in { animation: akHeroOut linear both; animation-timeline: scroll(root); animation-range: 0 640px; }
	@keyframes akHeroOut { to { opacity: 0; transform: translate3d(0, -24px, 0); } }
}
@supports (animation-timeline: view()) {
	.ak-par { animation: akParY linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
	@keyframes akParY { from { transform: translateY(-3%); } to { transform: translateY(3%); } }
}

/* ───────── Adaptatif ───────── */
/* Menu de bureau entre 1024 et 1279 px : logo et liens se resserrent pour ne jamais se toucher. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ak-logo { font-size: 17px; gap: 8px; }
	.ak-logo img { width: 32px; height: 32px; }
	.ak #navbar .nav-link { font-size: 13px; padding-left: .5rem; padding-right: .5rem; }
	.ak .nav-link::after { left: .5rem; right: .5rem; }
}
@media (max-width: 1100px) {
	.ak-svc { grid-template-columns: 44px minmax(0, 1fr) 170px 52px; }
	.ak-svc-ex { display: none; }
	.ak-svc-img { height: 96px; }
}
@media (max-width: 980px) {
	.ak-about-g, .ak-rev-g, .ak-ct-g { grid-template-columns: minmax(0, 1fr); }
	.ak-about-fig { max-width: 420px; }
	.ak-svc { grid-template-columns: 36px minmax(0, 1fr) 48px; row-gap: 18px; }
	.ak-svc-ar { grid-column: 3; grid-row: 1; width: 48px; height: 48px; }
	.ak-svc-img { grid-column: 2 / 4; height: auto; aspect-ratio: 16 / 9; max-width: 560px; }
	.ak-svc-ex { display: flex; grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
	.ak-fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-fcols .ak-fb, .ak-fcols .ak-zones { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.ak-hero { min-height: 640px; min-height: max(640px, 100svh); }
	.ak-hero-in { padding-top: 112px; padding-bottom: 120px; }
	.ak-cta-row .ak-btn { flex: 1 1 100%; }
	.ak-hud-in { grid-template-columns: minmax(0, 1fr); }
	.ak-tc { display: none; }
	.ak-segs { order: -1; }
	.ak-sg { width: 44px; }
	.ak-vf-hero, .ak-vf-pg { inset: 84px 12px 16px; }
	.ak-fg { grid-template-columns: minmax(0, 1fr); }
	.ak .masonry-grid { display: block; columns: 2; column-gap: 10px; }
	.ak .masonry-grid::after { display: none; }
	.ak .masonry-item { display: block; flex: none; width: 100%; margin: 0 0 10px; break-inside: avoid; }
	.ak-reel-chip { left: 14px; top: 14px; }
	.ak-reel .youtube-lazy { gap: 14px; }
	.ak-rev-ctl { gap: 12px; flex-wrap: wrap; }
	.ak-rnd { width: 48px; height: 48px; }
	.ak #carousel-dots .carousel-dot { width: 36px; }
	.ak-cl { padding: 18px 0; }
}
@media (max-width: 520px) {
	.ak-reel-chip { display: none; }
}
@media (max-width: 380px) {
	.ak .ak-tg { gap: 8px; font-size: 15px; text-align: left; }
	.ak .ak-cl b { font-size: 17px; }
	.ak .ak-btn { padding: 0 20px; }
}
@media (max-width: 400px) {
	.ak .g-recaptcha { transform: scale(.82); transform-origin: 0 0; margin-bottom: -14px; }
}
@media (hover: none) {
	.ak-svc:hover .ak-svc-img { transform: none; box-shadow: none; }
	.ak-svc-img img { filter: none; }
}
@supports (height: 100svh) {
	.ak-h1 { font-size: clamp(44px, min(13.6vw, calc((100svh - 430px) / 2.68)), 150px); }
}
@media (min-width: 1640px) {
	.ak-h1 { font-size: clamp(44px, min(10.4vw, calc((100vh - 430px) / 2.68)), 190px); }
}
@supports (height: 100svh) {
	@media (min-width: 1640px) {
		.ak-h1 { font-size: clamp(44px, min(10.4vw, calc((100svh - 430px) / 2.68)), 190px); }
	}
}

/* Réduire les animations : tout s'arrête, tout reste lisible. */
@media (prefers-reduced-motion: reduce) {
	.ak *, .ak *::before, .ak *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.ak-slide:not(.ak-s1) { display: none; }
	.ak-s1 { opacity: 1; animation: none; }
	.ak-marq-track, .ak .logo-marquee-track { animation: none; }
	.ak .ak-par, .ak .ak-hero-stage, .ak .ak-hero-in { animation: none; transform: none; }
	.ak .ak-prog { display: none; }
	.ak-js .ak .reveal:not(.revealed), .ak-js .ak-lines:not(.in) .ak-ln-in { opacity: 1; transform: none; }
	.ak-js .ak-mask:not(.in) { clip-path: none; }
}
