/* ============================================================================
   Pages de prestation : captation vidéo, conseil créatif, film d'entreprise,
   photographie pro, photographe événementiel, vidéaste événementiel.
   ----------------------------------------------------------------------------
   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 …). Écrite en CSS ordinaire, classes préfixées « ak- ».

   Un seul parti pris pour les six pages :
   - en-tête : image en fond, viseur, titre à mot-clé en italique ;
   - chaque section : numéro « 01 / 08 », grand titre, puis une grille
     marge (introduction) + colonne principale (lignes numérotées, texte,
     avis, questions…) ;
   - l'encadré « Tarifs indicatifs et modalités » : panneau sobre, pictogrammes
     de trait, montants en chiffres tabulaires ;
   - « Pour aller plus loin » : lignes-liens avec vignette, façon index de l'accueil.

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

/* ───────── Fond animé : deux ou trois halos, très discrets ───────── */
.ak-pg .tx-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: layout paint; }
.ak-pg .tx-bg span { position: absolute; display: block; width: min(60vw, 720px); height: min(60vw, 720px); border-radius: 50%; filter: blur(110px); opacity: .07; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; animation: 120s cubic-bezier(.45, 0, .55, 1) infinite alternate both; }
.ak-pg .tx-bg span:nth-child(1) { top: -16%; left: -14%; background: radial-gradient(circle, #18bfef, transparent 70%); animation-name: akPgDriftA; animation-duration: 110s; }
.ak-pg .tx-bg span:nth-child(2) { top: 34%; right: -20%; background: radial-gradient(circle, #0a9cd0, transparent 70%); animation-name: akPgDriftB; animation-duration: 140s; }
.ak-pg .tx-bg span:nth-child(3) { bottom: -22%; left: 18%; background: radial-gradient(circle, #155471, transparent 72%); animation-name: akPgDriftA; animation-duration: 170s; animation-direction: alternate-reverse; }
@keyframes akPgDriftA { to { transform: translate3d(4vw, 5vh, 0) scale(1.06); } }
@keyframes akPgDriftB { to { transform: translate3d(-5vw, -4vh, 0) scale(.94); } }

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

/* ───────── En-tête de page ───────── */
.ak-ph { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 60vh, 680px); isolation: isolate; background: #000; border-bottom: 1px solid var(--ak-line); }
.ak-ph-bg { position: absolute; inset: -6% 0; z-index: -1; overflow: hidden; }
.ak-ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--ph-o, .5); animation: akPhImg 1.4s var(--ak-ease) backwards; }
@keyframes akPhImg { from { opacity: 0; transform: scale(1.04); } }
.ak-ph-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-ph-in { position: relative; z-index: 2; padding-top: clamp(80px, 9vw, 136px); padding-bottom: clamp(56px, 7vw, 112px); }
body.ak .ak-ph h1 { margin: 0; max-width: 15em; font-size: clamp(38px, 6vw, 92px); line-height: .98; letter-spacing: -.042em; font-weight: 700; color: #fff; text-wrap: balance; }
.ak-ph h1 .ak-ln-in { animation: akLn 1s var(--ak-ease) .1s backwards; }
@media (max-width: 359px) { body.ak .ak-ph h1 { font-size: clamp(32px, 10.6vw, 38px); } }
body.ak .ak-ph .ak-ph-lead { max-width: 40em; margin: clamp(22px, 2.4vw, 34px) 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(242, 244, 245, .8); }
.ak-ph .ak-cta-row { margin-top: clamp(28px, 3vw, 40px); }

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

/* ───────── Sections ───────── */
.ak-pg .ak-sec { padding: clamp(64px, 8vw, 128px) 0; }
.ak-pg-s .ak-eb > span { font-variant-numeric: tabular-nums; }
body.ak-pg .ak-pg-s .ak-h2 { font-size: clamp(30px, 4.6vw, 72px); line-height: 1.04; }
.ak-pg-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 6vw, 104px); align-items: start; margin-top: clamp(40px, 4.4vw, 60px); }
.ak-pg-m { grid-column: 2; min-width: 0; }
.ak-pg-a { grid-column: 1; grid-row: 1; min-width: 0; }
@media (min-width: 981px) and (min-height: 640px) { .ak-pg-a { position: sticky; top: 112px; } }
.ak-pg-a .ak-sub { margin: 0; max-width: 40ch; }
.ak-pg-a .ak-sub + .ak-sub { margin-top: 1em; }
.ak-pg .ak-pg-m > .ak-more-lk, .ak-pg .ak-pg-m > .ak-btn { margin-top: clamp(32px, 3.6vw, 48px); }
.ak-pg .ak-more-lk { display: inline-block; max-width: 100%; padding: 10px 0; line-height: 1.5; min-height: 44px; }
.ak-pg .ak-more-lk svg { display: inline-block; vertical-align: -.22em; margin-left: 10px; }
.ak-pg .ak-pg-m > :first-child { margin-top: 0; }

/* Grand numéro en filigrane : occupe la marge des sections sans introduction ni image (décor, jamais lu) */
.ak-ghost { display: block; font-size: clamp(120px, 14vw, 220px); font-weight: 700; line-height: .78; letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: rgba(242, 244, 245, .055); -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); user-select: none; pointer-events: none; }

/* Image d'accompagnement : rideau doux + coins de viseur */
.ak-fig { position: relative; margin: 0; max-width: 440px; }
.ak-pg-a .ak-sub + .ak-fig { margin-top: clamp(28px, 3vw, 40px); }
.ak-fig .ak-mask { aspect-ratio: 4 / 3; border-radius: 18px; background: var(--ak-bg3); }
.ak-fig .ak-mask-i { display: block; }
.ak-fig .ak-vf { inset: -12px; --c: var(--ak-acc); --l: 22px; --t: 2px; }
.ak-pg .ak-mask.in .ak-mask-i { animation: akPgZoom 1.2s var(--ak-ease) backwards; }
@keyframes akPgZoom { from { transform: scale(1.04); } to { transform: scale(1); } }

/* Texte courant */
.ak-prose p { margin: 0; max-width: 62ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--ak-mute); }
.ak-prose p + p { margin-top: 1.15em; }
.ak-note { margin: 32px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.7; color: var(--ak-mute); }
.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 (exemples, étapes, formats) */
.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::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-row::before { animation: akPgLine 1.2s var(--ak-ease) .1s both; }
@keyframes akPgLine { 0% { opacity: 1; transform: scaleX(0); } 55% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
.ak-row-n { 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-row:hover .ak-row-n { color: var(--ak-acc); }
.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); }

/* Liste « ce que vous recevez » */
.ak-checks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ak-line); }
.ak-checks li { position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--ak-line); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--ak-mute); }
.ak-checks li::before { content: ''; position: absolute; left: 0; top: 23px; width: 20px; height: 20px; background: var(--ak-acc); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Avis */
.ak-quotes { border-top: 1px solid var(--ak-line); }
.ak-qt { margin: 0; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--ak-line); }
.ak-st { font-size: 15px; letter-spacing: .28em; color: #f5b73b; line-height: 1; }
.ak-q { margin: 18px 0 22px; font-family: var(--ak-serif); font-style: italic; font-weight: 300; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.6; letter-spacing: 0; color: var(--ak-ink); text-wrap: pretty; }
.ak-qc { font-size: 14px; font-weight: 600; color: var(--ak-ink); }
.ak-qc .ak-a { font-weight: 600; }

/* Questions fréquentes : <details> ; ouverture douce quand le navigateur sait l'animer */
.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); transition: color .3s; }
.ak-faq summary::-webkit-details-marker { display: none; }
.ak-faq summary::marker { content: ''; }
.ak-faq summary:hover { color: var(--ak-acc-hi); }
.ak-faq summary:focus-visible { outline-offset: 2px; }
.ak-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-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 summary:hover i { border-color: var(--ak-acc); }
.ak-faq details[open] summary i { transform: rotate(180deg); background: rgba(24, 191, 239, .1); border-color: rgba(24, 191, 239, .5); }
.ak-faq details[open] summary i::after { transform: rotate(0); }
.ak-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-faq details[open] > p { animation: akPgFaq .7s var(--ak-ease) backwards; }
@keyframes akPgFaq { from { opacity: 0; transform: translateY(-8px); } }
@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; }
}

/* Encadré « Tarifs indicatifs et modalités » */
.ak-price { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: 't l' 't k'; grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 80px); row-gap: 24px; margin-top: clamp(56px, 6vw, 96px); padding: clamp(24px, 4vw, 56px); border: 1px solid rgba(24, 191, 239, .22); border-radius: clamp(20px, 2.4vw, 28px); background: linear-gradient(160deg, rgba(24, 191, 239, .07), rgba(24, 191, 239, 0) 55%), var(--ak-bg2); }
.ak-price-t { grid-area: t; margin: 0; font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--ak-ink); text-wrap: balance; }
.ak-price-t em { font-family: var(--ak-serif); font-style: italic; font-weight: 300; letter-spacing: 0; color: var(--ak-acc); font-size: .8em; }
.ak-price-l { grid-area: l; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.ak-pi { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--ak-line); font-size: 15px; line-height: 1.7; color: var(--ak-mute); }
.ak-pi:first-child { grid-column: 1 / -1; padding-top: 0; border-top: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: rgba(242, 244, 245, .86); }
.ak-pi:last-child:nth-child(even) { grid-column: 1 / -1; }
.ak-pi-ic { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ak-line2); border-radius: 50%; color: var(--ak-acc); }
.ak-pi-ic svg { width: 18px; height: 18px; }
.ak-pi-tx { min-width: 0; padding-top: 6px; }
.ak-pi:first-child .ak-pi-tx { padding-top: 5px; }
.ak-nb { white-space: nowrap; }
.ak-n { white-space: nowrap; font-weight: 600; color: var(--ak-ink); font-variant-numeric: tabular-nums; }
.ak-price .ak-more-lk { grid-area: k; align-self: start; justify-self: start; margin-top: 0; }

/* « Pour aller plus loin » : lignes-liens à vignette */
.ak-lcs { border-top: 1px solid var(--ak-line); }
.ak-lc { position: relative; isolation: isolate; display: grid; grid-template-columns: clamp(110px, 15vw, 190px) minmax(0, 1fr) 52px; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: 20px 0; border-bottom: 1px solid var(--ak-line); color: var(--ak-ink); }
.ak-lc::before { content: ''; position: absolute; inset: 0 -20px; z-index: -1; background: rgba(24, 191, 239, .07); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ak-ease); }
.ak-lc:hover::before, .ak-lc:focus-visible::before { transform: scaleX(1); }
.ak-lc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--ak-bg3); }
.ak-lc-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s, transform 1.2s var(--ak-ease); }
.ak-lc:hover .ak-lc-img img { filter: none; transform: scale(1.03); }
.ak-lc-b { display: block; min-width: 0; }
.ak-lc-t { display: block; font-size: clamp(21px, 2.3vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--ak-ink); transition: transform .7s var(--ak-ease); }
.ak-lc:hover .ak-lc-t { transform: translateX(6px); }
.ak-lc-s { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ak-acc); }
.ak-lc .ak-svc-ar { width: 52px; height: 52px; }
.ak-lc:hover .ak-svc-ar { background: var(--ak-acc); border-color: var(--ak-acc); color: var(--ak-acc-ink); }

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

/* Bande démo : l'accueil en donne le style ; ici elle passe sous le titre, pleine largeur */
.ak-pg-s > .ak-wrap > .ak-reel { margin-top: clamp(36px, 4.4vw, 72px); }
.ak-pg .ak-reel-s { font-size: 12px; }
@media (max-width: 520px) { .ak-pg .ak-reel-chip { display: none; } }

/* ───────── Adaptatif ───────── */
@media (max-width: 980px) {
	.ak-pg-g { grid-template-columns: minmax(0, 1fr); }
	.ak-pg-m, .ak-pg-a { grid-column: 1; grid-row: auto; }
	.ak-pg-a .ak-sub { max-width: 52ch; }
	.ak-pg-a-g { display: none; }
	.ak-fig { max-width: 480px; }
	.ak-fig .ak-mask { aspect-ratio: 16 / 10; }
	.ak-fig { margin-top: 14px; }
	.ak-price { grid-template-columns: minmax(0, 1fr); grid-template-areas: 't' 'l' 'k'; grid-template-rows: auto; }
	.ak-price .ak-more-lk { margin-top: 4px; }
	.ak-ph { min-height: 0; }
}
@media (max-width: 640px) {
	.ak-price-l { grid-template-columns: minmax(0, 1fr); }
	.ak-pi:last-child:nth-child(even) { grid-column: auto; }
	.ak-pi { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
	.ak-pi-ic { width: 36px; height: 36px; }
	.ak-lc { grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 14px; }
	.ak-lc::before { inset: 0 -12px; }
	.ak-lc .ak-svc-ar { width: 44px; height: 44px; }
	.ak-lc-img { border-radius: 10px; }
	.ak-faq details > p { padding-right: 0; }
	.ak-faq summary { gap: 16px; }
}
@media (max-width: 380px) {
	/* Section contact (balisage commun) : rien ne se coupe à 320 px */
	.ak-pg .ak-tg { gap: 8px; font-size: 15px; text-align: left; }
	.ak-pg .ak-cl b { font-size: 17px; }
	.ak-lc { grid-template-columns: 76px minmax(0, 1fr) 40px; gap: 12px; }
	.ak-lc .ak-svc-ar { width: 40px; height: 40px; }
	.ak-lc-t { font-size: 20px; }
}
@media (hover: none) {
	.ak-lc-img img { filter: none; }
}

/* ───────── Réduire les animations ───────── */
@media (prefers-reduced-motion: reduce) {
	.ak-pg .tx-bg span { animation: none; }
	.ak-pg .ak-mask.in .ak-mask-i { animation: none; }
	.ak-faq details::details-content { transition: none; }
	.ak-faq details[open] > p { animation: none; }
	.reveal.revealed.ak-row::before { animation: none; opacity: 0; }
}
