/* ============================================================================
   Pages de zone : Isère, Savoie, Grenoble, Chambéry, Aix-les-Bains,
   Albertville, Crolles, Pontcharra.
   ----------------------------------------------------------------------------
   Feuille de groupe, chargée APRÈS akame-ui.css (jetons et composants communs :
   .ak-wrap .ak-sec .ak-alt .ak-eb .ak-h2 .ak-lines .ak-sub .ak-btn .ak-more-lk
   .ak-svc-ar .ak-reel .ak-bar .ak-about-* …). Écrite en CSS ordinaire, classes
   préfixées « ak-vl- » ; activée par la classe « ak-vl » sur <body>.

   Même parti pris que les pages de prestation :
   - en-tête : image en fond, viseur, titre à mot-clé en italique ;
   - chaque section : numéro « 02 / 05 », grand titre, puis une grille marge
     (titre, introduction) + colonne principale (lignes numérotées, texte,
     questions…) ;
   - réalisations : bande démo, filtres et rangées de photos comme à l'accueil.

   Mouvement doux : transform / opacity / clip-path seulement, 0,7 à 1,4 s,
   cubic-bezier(.16,1,.3,1) ; tout s'arrête avec prefers-reduced-motion.
   ========================================================================== */

/* ───────── Fil d'Ariane : même gouttière que le contenu, cible tactile de 44 px ───────── */
.ak-vl nav[aria-label="Fil d'Ariane"] ol { align-items: center; min-height: 44px; row-gap: 0; color: var(--ak-dim); }
.ak-vl nav[aria-label="Fil d'Ariane"] ol [aria-current="page"] { color: var(--ak-ink); }
.ak-vl nav[aria-label="Fil d'Ariane"] a { display: inline-flex; align-items: center; min-height: 44px; }

/* ───────── En-tête de page ───────── */
.ak-vl-hd { position: relative; display: flex; align-items: flex-end; min-height: clamp(540px, 76vh, 780px); isolation: isolate; overflow: hidden; background: #000; border-bottom: 1px solid var(--ak-line); }
.ak-vl-hd-bg { position: absolute; inset: -6% 0; z-index: -1; }
.ak-vl-hd-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; animation: akVlImg 1.4s var(--ak-ease) backwards; }
@keyframes akVlImg { from { opacity: 0; transform: scale(1.04); } }
.ak-vl-hd-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 10, .9) 0%, rgba(6, 8, 10, .62) 46%, rgba(6, 8, 10, .2) 100%), linear-gradient(to bottom, rgba(6, 8, 10, .5) 0%, rgba(6, 8, 10, 0) 26%, rgba(6, 8, 10, .35) 70%, var(--ak-bg) 100%); }
.ak-vl-vf { inset: 20px clamp(12px, 2vw, 28px); z-index: 1; animation: akFade 1.3s var(--ak-ease) .3s backwards; }
.ak-vl-hd-in { position: relative; z-index: 2; padding-top: clamp(80px, 9vw, 136px); padding-bottom: clamp(56px, 7vw, 112px); }
body.ak .ak-vl-h1 { margin: 0; max-width: 15em; font-size: clamp(38px, 5.8vw, 88px); line-height: .98; letter-spacing: -.042em; font-weight: 700; color: #fff; text-wrap: balance; hyphens: manual; }
.ak-vl-h1 br { display: none; }
.ak-vl-h1 .ak-ln-in { animation: akLn 1s var(--ak-ease) calc(.1s + var(--d, 0) * 90ms) backwards; }
.ak-vl-h1 em { font-family: var(--ak-serif); font-style: italic; font-weight: 300; letter-spacing: 0; color: var(--ak-acc); font-size: .8em; }
.ak-vl-tag { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(14px, 1.8vw, 26px); font-size: clamp(17px, 1.9vw, 28px); line-height: 1.4; letter-spacing: -.015em; font-weight: 500; color: rgba(242, 244, 245, .86); text-wrap: balance; }
.ak-vl-tag::before { content: ''; flex: none; width: 36px; height: 1px; margin-top: .7em; background: var(--ak-acc); }
body.ak .ak-vl-lead { max-width: 42em; margin: clamp(22px, 2.4vw, 34px) 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(242, 244, 245, .78); }
.ak-vl-lead span { color: var(--ak-ink); }
.ak-vl-br { display: none; }
.ak-vl-hd .ak-cta-row { margin-top: clamp(28px, 3vw, 40px); }
.ak-vl-hd-dn { position: absolute; left: 0; right: 0; bottom: 52px; z-index: 3; display: flex; justify-content: flex-end; pointer-events: none; }
.ak-vl-down { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ak-line2); border-radius: 50%; background: rgba(6, 8, 10, .5); color: var(--ak-ink); pointer-events: auto; transition: background-color .35s, color .35s, border-color .35s; }
.ak-vl-down:hover { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-vl-down svg { width: 20px; height: 20px; animation: akVlDown 3.4s ease-in-out infinite; }
@keyframes akVlDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

@supports (animation-timeline: scroll()) {
	.ak-vl-hd-bg { animation: akVlPar linear both; animation-timeline: scroll(root); animation-range: 0 760px; }
	@keyframes akVlPar { to { transform: translate3d(0, 5%, 0); } }
}

/* ───────── Sections : numéro, grand titre, grille marge + colonne principale ───────── */
body.ak-vl .ak-sec { padding: clamp(64px, 8vw, 128px) 0; }
body.ak-vl .ak-h2 { font-size: clamp(30px, 4.4vw, 68px); line-height: 1.04; }
body.ak-vl .ak-vl-a .ak-h2, body.ak-vl .ak-about-tx .ak-h2 { font-size: clamp(30px, 3.9vw, 60px); }
.ak-vl-nb { white-space: nowrap; }
.ak-vl-ebn { font-variant-numeric: tabular-nums; }
.ak-vl-ebl { display: inline-flex; align-items: center; gap: 14px; color: var(--ak-ink); }
.ak-vl-ebl::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--ak-acc); flex: none; }
.ak-eb { flex-wrap: wrap; row-gap: 6px; }
.ak-vl-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(32px, 6vw, 104px); align-items: start; }
.ak-vl-a, .ak-vl-m { min-width: 0; }
@media (min-width: 981px) and (min-height: 640px) { .ak-vl-a { position: sticky; top: 112px; } }
.ak-vl-a .ak-sub { margin: 24px 0 0; max-width: 40ch; }

/* Liens courants : même soulignement dessiné que sur l'accueil */
.ak-vl .ak-lk { color: var(--ak-acc); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .5s var(--ak-ease), color .3s; }
.ak-vl .ak-lk:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--ak-acc-hi); }

/* Texte courant */
.ak-vl-prose { padding-left: clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--ak-line2); }
.ak-vl-prose p { margin: 0; max-width: 62ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--ak-mute); }
.ak-vl-prose p + p { margin-top: 1.15em; }
.ak-vl-prose strong { color: var(--ak-ink); font-weight: 500; white-space: nowrap; }
.ak-vl-note { margin: 32px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.7; color: var(--ak-mute); }

/* À propos : le texte de la page garde ses liens et ses gras */
.ak-vl .ak-about-tx p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; }
.ak-vl .ak-about-tx .ak-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.ak-vl .ak-about-tx a.ak-lk { color: var(--ak-acc); }
.ak-vl .ak-more-lk { display: inline-flex; align-items: center; min-height: 44px; }

/* Prestations : lignes numérotées */
.ak-vl-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ak-line); }
.ak-vl-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-vl-row::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ak-acc); opacity: 0; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.reveal.revealed.ak-vl-row::before { animation: akVlLine 1.2s var(--ak-ease) .1s both; }
@keyframes akVlLine { 0% { opacity: 1; transform: scaleX(0); } 55% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
.ak-vl-rn { grid-row: 1; font-size: 13px; font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ak-dim); transition: color .4s; }
.ak-vl-row:hover .ak-vl-rn { color: var(--ak-acc); }
.ak-vl-rt { grid-column: 2; margin: 0; font-size: clamp(21px, 2.2vw, 32px); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; color: var(--ak-ink); text-wrap: balance; }
.ak-vl-rp { 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); }
.ak-vl-cta { margin-top: clamp(32px, 3.6vw, 48px); }

/* Villes couvertes : lignes-liens */
.ak-vl-lcs { display: block; border-top: 1px solid var(--ak-line); }
.ak-vl-lc { position: relative; isolation: isolate; display: grid; grid-template-columns: clamp(36px, 4vw, 56px) minmax(0, 1fr) 52px; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 24px 0; border-bottom: 1px solid var(--ak-line); color: var(--ak-ink); }
.ak-vl-lc::before { content: ''; position: absolute; inset: 0 -12px; z-index: -1; background: rgba(24, 191, 239, .07); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ak-ease); }
.ak-vl-lc:hover::before, .ak-vl-lc:focus-visible::before { transform: scaleX(1); }
.ak-vl-lc-n { font-size: 13px; font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ak-dim); transition: color .4s; }
.ak-vl-lc:hover .ak-vl-lc-n { color: var(--ak-acc); }
.ak-vl-lc-b { display: block; min-width: 0; }
.ak-vl-lc-t { display: block; font-size: clamp(24px, 2.8vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: var(--ak-ink); transition: transform .7s var(--ak-ease); }
.ak-vl-lc:hover .ak-vl-lc-t { transform: translateX(6px); }
.ak-vl-lc-s { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ak-mute); }
.ak-vl-lc:hover .ak-svc-ar { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }
.ak-vl-lc .ak-svc-ar { width: 52px; height: 52px; }

/* Réalisations : bande démo, filtres, photos (composants de l'accueil) */
.ak-vl-reel { margin-top: clamp(40px, 5vw, 72px); }
.ak-vl-reel-t { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; color: var(--ak-ink); }
.ak-vl-reel-t::before { content: ''; width: 36px; height: 1px; background: var(--ak-acc); flex: none; }
.ak-vl-reel .ak-reel { margin-top: 0; }
.ak-vl .ak-reel-s { font-size: 12px; }
.ak-vl .ak-bar { margin-top: clamp(32px, 4vw, 56px); }

/* Mur d'images défilant (Isère, Savoie) : sans cadre, bords fondus, défilement lent */
.ak-vl .scrolling-wrapper { margin-top: clamp(40px, 5vw, 72px); padding: 0; gap: 14px; border: 0; border-radius: 0; background: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ak-vl .scrolling-track img { height: clamp(150px, 16vw, 230px); margin: 0 7px; border-radius: 14px; }
.ak-vl .ak-center { margin-top: clamp(32px, 4vw, 52px); }

/* Questions fréquentes : <details> ; ouverture douce quand le navigateur sait l'animer */
.ak-vl-faq { border-top: 1px solid var(--ak-line); interpolate-size: allow-keywords; }
.ak-vl-faq details { border-bottom: 1px solid var(--ak-line); }
.ak-vl-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); transition: color .3s; }
.ak-vl-faq summary::-webkit-details-marker { display: none; }
.ak-vl-faq summary::marker { content: ''; }
.ak-vl-faq summary:hover { color: var(--ak-acc-hi); }
.ak-vl-faq summary:focus-visible { outline-offset: 2px; }
.ak-vl-faq summary i { position: relative; display: block; 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), background-color .3s, border-color .3s; }
.ak-vl-faq summary i::before, .ak-vl-faq summary i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.ak-vl-faq summary i::after { transform: rotate(90deg); transition: transform .6s var(--ak-ease); }
.ak-vl-faq summary:hover i { border-color: var(--ak-acc); }
.ak-vl-faq details[open] summary i { transform: rotate(180deg); background: rgba(24, 191, 239, .1); border-color: rgba(24, 191, 239, .5); }
.ak-vl-faq details[open] summary i::after { transform: rotate(0); }
.ak-vl-faq details > p { margin: 0; padding: 0 clamp(0px, 5vw, 64px) 26px 0; max-width: 64ch; box-sizing: content-box; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; color: var(--ak-mute); }
.ak-vl-faq details[open] > p { animation: akVlFaq .7s var(--ak-ease) backwards; }
@keyframes akVlFaq { from { opacity: 0; transform: translateY(-8px); } }
@supports (interpolate-size: allow-keywords) {
	.ak-vl-faq details::details-content { block-size: 0; overflow: clip; transition: block-size .7s var(--ak-ease), content-visibility .7s allow-discrete; }
	.ak-vl-faq details[open]::details-content { block-size: auto; }
}

/* Contact (balisage commun) : le titre tient dans sa colonne */
.ak-vl #contact .ak-h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; }

/* ───────── Adaptatif ───────── */
@media (min-width: 900px) {
	.ak-vl-br { display: inline; }
}
@media (max-width: 980px) {
	.ak-vl-g { grid-template-columns: minmax(0, 1fr); }
	.ak-vl-a .ak-sub { max-width: 52ch; }
	.ak-vl-hd { min-height: 0; }
}
@media (min-width: 561px) and (max-width: 980px) {
	/* Tablette : la photo de présentation prend la largeur du texte, recadrée en paysage */
	.ak-vl .ak-about-fig { max-width: none; }
	.ak-vl .ak-about-fig .ak-mask { aspect-ratio: 16 / 9; }
	.ak-vl .ak-par img { object-position: 62% 34%; }
}
@media (max-width: 700px) {
	.ak-vl-hd-dn { display: none; }
}
@media (max-width: 640px) {
	.ak-vl nav[aria-label="Fil d'Ariane"] ol { padding-bottom: 10px; }
	.ak-vl-lc { grid-template-columns: 32px minmax(0, 1fr) 44px; gap: 12px; }
	.ak-vl-lc .ak-svc-ar { width: 44px; height: 44px; }
	.ak-vl-faq details > p { padding-right: 0; }
	.ak-vl-faq summary { gap: 16px; }
	.ak-vl .scrolling-track img { height: 140px; }
	.ak-vl-reel .ak-reel-chip { display: none; }
}
@media (max-width: 380px) {
	/* Section contact et boutons : rien ne se coupe à 320 px */
	.ak-vl .ak-tg { gap: 8px; font-size: 15px; text-align: left; }
	.ak-vl .ak-cl b { font-size: 17px; }
	.ak-vl .ak-btn { padding: 0 20px; }
}

/* ───────── Réduire les animations ───────── */
@media (prefers-reduced-motion: reduce) {
	.ak-vl-hd-bg { animation: none; }
	.ak-vl-down svg { animation: none; }
	.reveal.revealed.ak-vl-row::before { animation: none; opacity: 0; }
	.ak-vl-faq details::details-content { transition: none; }
	.ak-vl-faq details[open] > p { animation: none; }
	.ak-vl .scrolling-track { animation: none; }
	.ak-vl .scrolling-wrapper { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
