/* ============================================================================
   Page Tarifs (tarifs.html)
   ----------------------------------------------------------------------------
   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-lk …).
   CSS ordinaire, classes préfixées « ak-tf- », activée par « ak-tf » sur <body>.

   Parti pris : la page la plus dense du site doit se lire comme un barème.
   - listes de prix éditoriales : libellé / contenu / montant (chiffres tabulaires),
     filets fins, survol discret ; sur mobile, chaque ligne devient une fiche
     (libellé + montant, puis le détail) : aucun tableau ne déborde ;
   - formules : trois cartes alignées, la formule « Signature » porte un filet cyan ;
   - options, droits, modalités : colonnes et listes à filets, même grammaire ;
   - questions fréquentes : accordéon à filets, titre en marge sur grand écran.

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

.ak-tf { --ak-tf-g: clamp(16px, 4vw, 56px); }

/* ───────── Fond animé : deux halos très discrets, sans flou animé, absents sur mobile ───────── */
.ak-tf .tx-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: layout paint; }
.ak-tf .tx-bg span { position: absolute; display: block; width: min(60vw, 720px); height: min(60vw, 720px); border-radius: 50%; opacity: .075; will-change: transform; backface-visibility: hidden; animation: 140s cubic-bezier(.45, 0, .55, 1) infinite alternate both; }
.ak-tf .tx-bg span:nth-child(1) { top: -16%; left: -14%; background: radial-gradient(circle, #18bfef, transparent 68%); animation-name: akTfDriftA; }
.ak-tf .tx-bg span:nth-child(2) { top: 36%; right: -20%; background: radial-gradient(circle, #0a9cd0, transparent 68%); animation-name: akTfDriftB; animation-duration: 170s; }
.ak-tf .tx-bg span:nth-child(3) { display: none; }
@keyframes akTfDriftA { to { transform: translate3d(4vw, 5vh, 0); } }
@keyframes akTfDriftB { to { transform: translate3d(-5vw, -4vh, 0); } }
@media (max-width: 767px) { .ak-tf .tx-bg { display: none; } }

/* ───────── Menu, fil d'Ariane, pied de page : cibles tactiles de 44 px ─────────
   Les liens gardent leur taille ; leur zone cliquable atteint 44 px de haut. */
.ak-tf .ak-fl, .ak-tf .ak-fbar a, .ak-tf .ak-zn a.t, .ak-tf .ak-logo, .ak-tf nav[aria-label="Fil d'Ariane"] a { position: relative; }
.ak-tf .ak-fl::after, .ak-tf .ak-fbar a::after, .ak-tf .ak-zn a.t::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.ak-tf .ak-logo::after { content: ''; position: absolute; inset: -2px -6px; }
.ak-tf #navbar .nav-link { padding-top: 12px; padding-bottom: 12px; }
.ak-tf .nav-link::after { bottom: 9px; }
.ak-tf #navbar a[aria-label^="Instagram"], .ak-tf #navbar a[aria-label*="YouTube"] { width: 44px; height: 44px; }
.ak-tf .nav-dropdown-panel a { padding-top: 12px; padding-bottom: 12px; }
.ak-tf nav[aria-label="Fil d'Ariane"] ol { align-items: center; min-height: 44px; row-gap: 0; color: var(--ak-dim); }
.ak-tf nav[aria-label="Fil d'Ariane"] ol [aria-current="page"] { color: var(--ak-ink); }
.ak-tf nav[aria-label="Fil d'Ariane"] a { display: inline-flex; align-items: center; min-height: 44px; }
.ak-tf nav[aria-label="Fil d'Ariane"] > div { padding-top: 0; padding-bottom: 0; }

/* ───────── En-tête de page ───────── */
.ak-tf-hd { position: relative; isolation: isolate; background: var(--ak-bg); }
.ak-tf-hd-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ak-tf-hd-img { position: absolute; top: 0; right: 0; width: min(64%, 920px); height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .62; -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 100%); mask-image: linear-gradient(to left, #000 20%, transparent 100%); animation: akTfImg 2.2s var(--ak-ease) backwards; }
@keyframes akTfImg { from { opacity: 0; transform: scale(1.04); } }
.ak-tf-hd-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 10, .8) 0%, rgba(6, 8, 10, .5) 38%, rgba(6, 8, 10, 0) 72%), linear-gradient(to bottom, rgba(6, 8, 10, .6), rgba(6, 8, 10, 0) 30%, rgba(6, 8, 10, 0) 64%, var(--ak-bg) 100%); }
.ak-tf-hd-in { position: relative; z-index: 2; padding-top: clamp(56px, 7.4vw, 112px); padding-bottom: clamp(56px, 6vw, 96px); }
.ak-tf .ak-tf-hd .ak-tf-h1 { margin: 0; max-width: 15em; font-size: clamp(38px, 6.2vw, 88px); line-height: .98; letter-spacing: -.042em; font-weight: 700; color: #fff; text-wrap: balance; overflow-wrap: break-word; }
.ak-tf-h1 .ak-ln-in { animation: akLn 1s var(--ak-ease) calc(.1s + var(--d, 0) * 90ms) backwards; }
.ak-tf-h1 .gradient-text { font-size: .8em; }
.ak-tf .ak-tf-hd .ak-tf-lead { max-width: 42em; margin: clamp(22px, 2.4vw, 34px) 0 0; }
.ak-tf-l1 { display: block; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: rgba(242, 244, 245, .84); }
.ak-tf-l1 b { font-weight: 600; color: var(--ak-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ak-tf-l2 { display: block; max-width: 44em; margin-top: 14px; font-size: 15px; line-height: 1.65; color: rgba(242, 244, 245, .72); }
.ak-tf-hd .ak-cta-row { margin-top: clamp(28px, 3vw, 40px); }

/* Rubriques de la page : une rangée de pastilles (défilement contenu sur mobile) */
.ak-tf .ak-tf-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 44px); overflow: visible; }
.ak-tf-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ak-line2); border-radius: 999px; background: rgba(6, 8, 10, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; color: var(--ak-mute); white-space: nowrap; transition: border-color .4s, color .4s, background-color .4s; }
.ak-tf-jump a:hover { border-color: var(--ak-acc); color: var(--ak-ink); background: rgba(24, 191, 239, .08); }

/* Libellés du bloc de contact : 12 px au minimum */
.ak-tf .ak-cl small { font-size: 12px; }

/* Lignes de fin de paragraphe : pas de mot orphelin (amélioration progressive) */
.ak-tf-l1, .ak-tf-l2, .ak-tf-note, .ak-tf-ol p, .ak-tf-q p, .ak-tf-ul li, .ak-tf-intro .ak-sub, .ak-tf-side .ak-sub, .ak-tf-pl .ak-tf-row > :nth-child(2), .ak-tf-cd, .ak-tf-legal { text-wrap: pretty; }

/* Mot composé qu'on ne coupe pas au tiret */
.ak-tf-nw { white-space: nowrap; }

/* ───────── Sections ───────── */
.ak-tf .ak-sec { padding: clamp(56px, 7.4vw, 112px) 0; }
.ak-tf section[id] { scroll-margin-top: 80px; }
.ak-tf-sec { --ak-tf-card: var(--ak-bg2); }
.ak-tf-sec.ak-alt { --ak-tf-card: var(--ak-bg3); }
.ak-tf .ak-h2 { font-size: clamp(32px, 4.6vw, 72px); overflow-wrap: break-word; }
.ak-tf-nb { font-variant-numeric: tabular-nums; }
.ak-tf-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.ak-tf-intro { flex: 1 1 340px; min-width: 0; max-width: 56ch; }
.ak-tf-intro .ak-sub { max-width: none; margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; }
.ak-tf .ak-sub { color: var(--ak-mute); }
.ak-tf 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-tf a.ak-lk:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--ak-acc-hi); }

/* Bas de section : note à gauche, appel à l'action à droite */
.ak-tf-ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(32px, 4vw, 56px); }
.ak-tf-note { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.6; color: var(--ak-mute); }
.ak-tf .ak-btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }

/* ───────── Liste de prix : <table> et <ul> sur la même grille ─────────
   Colonnes : libellé / contenu / montant. Les rôles ARIA sont posés dans le HTML : changer
   le « display » d'un tableau ne lui fait pas perdre sa sémantique. */
.ak-tf-pl { display: block; width: 100%; margin: clamp(36px, 4.4vw, 64px) 0 0; padding: 0; list-style: none; border-collapse: collapse; text-align: left; }
.ak-tf-pl thead, .ak-tf-pl tbody { display: block; }
.ak-tf-pl .ak-tf-row, .ak-tf-pl thead tr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr); column-gap: clamp(20px, 3vw, 56px); align-items: baseline; }
.ak-tf-pl thead tr { padding: 0 0 14px; border-bottom: 1px solid var(--ak-line2); }
.ak-tf-pl th { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; color: var(--ak-dim); text-align: left; }
.ak-tf-rows { border-top: 1px solid var(--ak-line2); }
.ak-tf-pl .ak-tf-row { position: relative; isolation: isolate; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--ak-line); }
.ak-tf-pl .ak-tf-row::before { content: ''; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 4px; background: rgba(24, 191, 239, .06); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ak-ease); }
.ak-tf-pl .ak-tf-row > :first-child { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ak-ink); overflow-wrap: break-word; transition: transform .7s var(--ak-ease); }
.ak-tf-pl .ak-tf-row > :nth-child(2) { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ak-mute); overflow-wrap: break-word; }
.ak-tf-pl th:last-child, .ak-tf-pl .ak-tf-px { text-align: right; }
.ak-tf-px { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; color: var(--ak-ink); white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.ak-tf-px small { font-size: max(13px, .5em); font-weight: 500; letter-spacing: .02em; color: var(--ak-dim); }
.ak-tf-pl td.ak-tf-px::before { display: none; }
@media (hover: hover) {
	.ak-tf-pl .ak-tf-row:hover::before { transform: scaleX(1); }
	.ak-tf-pl .ak-tf-row:hover > :first-child { transform: translateX(6px); }
}

/* Droits d'usage : tableau à quatre colonnes de texte (pas de montant) */
.ak-tf-pl-d .ak-tf-row, .ak-tf-pl-d thead tr { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 1.3fr) minmax(0, 2fr); }
.ak-tf-pl-d th:last-child { text-align: left; }
.ak-tf-pl-d .ak-tf-row > td { font-size: 15px; line-height: 1.6; color: var(--ak-mute); }
.ak-tf-pl-d .ak-tf-row > :first-child { font-size: clamp(18px, 1.6vw, 22px); color: var(--ak-ink); }

/* ───────── Formules : trois cartes alignées ───────── */
.ak-tf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(36px, 4.4vw, 64px); }
.ak-tf-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--ak-line); border-radius: 22px; background: var(--ak-tf-card); transition: border-color .5s; }
.ak-tf-card:hover { border-color: rgba(24, 191, 239, .3); }
.ak-tf-card h3 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--ak-ink); }
.ak-tf-card-rec { border-color: rgba(24, 191, 239, .42); background: linear-gradient(to bottom, rgba(24, 191, 239, .07), rgba(24, 191, 239, 0) 46%), var(--ak-tf-card); }
.ak-tf-card-rec::before { content: ''; position: absolute; left: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); top: -1px; height: 2px; border-radius: 2px; background: var(--ak-acc); }
.ak-tf-cd { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; font-size: 15px; line-height: 1.6; color: var(--ak-mute); }
.ak-tf-cd b { font-weight: 600; color: var(--ak-ink); }
.ak-tf-cr { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--ak-line); font-size: 14px; line-height: 1.55; color: var(--ak-ink); }
.ak-tf-cr small, .ak-tf-cpx dt { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-dim); }
.ak-tf-cpx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ak-line); }
@supports (grid-template-rows: subgrid) {
	/* quatre rangées communes : titres, descriptions, droits et montants s'alignent d'une carte à l'autre */
	.ak-tf-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
	.ak-tf-cr { margin-top: 0; align-self: end; }
}
.ak-tf-cpx dd { margin: 0; font-size: clamp(28px, 2.7vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--ak-ink); white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* ───────── Mariage : options sous forme de pastilles ───────── */
.ak-tf-opts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 24px; margin-top: clamp(28px, 3.4vw, 44px); }
.ak-tf-opts-t { flex: none; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ak-acc); }
.ak-tf-opts ul { display: flex; flex-wrap: wrap; flex: 1 1 360px; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ak-tf-opts li { padding: 9px 16px; border: 1px solid var(--ak-line2); border-radius: 999px; font-size: 14px; line-height: 1.4; color: var(--ak-mute); }
.ak-tf-opts li b { margin-left: 6px; font-weight: 600; color: var(--ak-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ───────── Options : trois colonnes ───────── */
.ak-tf-ocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(36px, 4.4vw, 64px); }
.ak-tf-oc { min-width: 0; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--ak-line); border-radius: 22px; background: var(--ak-tf-card); }
.ak-tf-oc h3, .ak-tf-mc h3 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--ak-acc); }
.ak-tf-oc h3 { margin-bottom: 6px; }

/* Lignes « libellé ... montant » avec description */
.ak-tf-ol { margin: 0; padding: 0; list-style: none; }
.ak-tf-ol li { padding: 16px 0; border-top: 1px solid var(--ak-line); }
.ak-tf-ol-r { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ak-tf-ol-n { min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ak-ink); overflow-wrap: break-word; }
.ak-tf-ol-p { flex: none; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--ak-ink); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.ak-tf-ol-p small { font-size: 13px; font-weight: 500; color: var(--ak-dim); }
.ak-tf-ol p { margin: 6px 0 0; max-width: 54ch; font-size: 14px; line-height: 1.6; color: var(--ak-dim); }
.ak-tf-ol-lg li { padding: clamp(20px, 2.2vw, 28px) 0; }
.ak-tf-ol-lg .ak-tf-ol-n { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.ak-tf-ol-lg .ak-tf-ol-p { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.02em; }
.ak-tf-ol-lg p { margin-top: 8px; font-size: 15px; color: var(--ak-mute); }
.ak-tf-ol-t { margin: clamp(44px, 5vw, 72px) 0 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ak-acc); }
.ak-tf-ol-box { margin-top: 18px; border-bottom: 1px solid var(--ak-line); }

/* ───────── Marge + colonne principale (questions, conseil) ───────── */
.ak-tf-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.ak-tf-side { position: sticky; top: 112px; min-width: 0; }
.ak-tf-side .ak-h2 { font-size: clamp(32px, 3.6vw, 56px); }
.ak-tf-side .ak-sub { margin-top: 24px; max-width: 40ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; }
.ak-tf-side-cta { margin-top: 32px; }
.ak-tf-qs { min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ak-line2); }
.ak-tf-ol.ak-tf-qs li:first-child { border-top: 0; }

/* Questions fréquentes : accordéon à filets */
.ak-tf-q { border-bottom: 1px solid var(--ak-line); }
.ak-tf-q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 24px 0; cursor: pointer; list-style: none; }
.ak-tf-q summary::-webkit-details-marker { display: none; }
.ak-tf-q-t { font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ak-ink); transition: color .3s, transform .6s var(--ak-ease); }
.ak-tf-q summary:hover .ak-tf-q-t { color: var(--ak-acc-hi); transform: translateX(4px); }
.ak-tf-q i { position: relative; display: block; flex: none; width: 32px; height: 32px; border: 1px solid var(--ak-line2); border-radius: 50%; color: var(--ak-acc); transition: transform .6s var(--ak-ease), border-color .3s, background-color .3s; }
.ak-tf-q i::before, .ak-tf-q i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.ak-tf-q i::after { transform: rotate(90deg); transition: transform .6s var(--ak-ease); }
.ak-tf-q summary:hover i { border-color: var(--ak-acc); }
.ak-tf-q[open] i { transform: rotate(180deg); background: rgba(24, 191, 239, .1); border-color: rgba(24, 191, 239, .5); }
.ak-tf-q[open] i::after { transform: rotate(0); }
.ak-tf-q p { max-width: 66ch; margin: 0; padding: 0 clamp(0px, 4vw, 60px) 28px 0; font-size: 16px; line-height: 1.7; color: var(--ak-mute); }
.ak-tf-q[open] p { animation: akFade .8s var(--ak-ease) backwards; }

/* ───────── Modalités : deux colonnes à filets ───────── */
.ak-tf-mcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 96px); margin-top: clamp(36px, 4.4vw, 64px); }
.ak-tf-mc { min-width: 0; }
.ak-tf-mc h3 { padding-bottom: 18px; border-bottom: 1px solid var(--ak-line2); }
.ak-tf-ul { margin: 0; padding: 0; list-style: none; }
.ak-tf-ul li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--ak-line); font-size: 15.5px; line-height: 1.6; color: var(--ak-mute); overflow-wrap: break-word; }
.ak-tf-ul li::before { content: ''; position: absolute; left: 0; top: 1.5em; width: 16px; height: 1px; background: var(--ak-acc); }
.ak-tf-ul-ok li::before { top: 1.28em; width: 16px; height: 16px; 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.4' 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.4' 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; }
.ak-tf-legal { margin: 22px 0 0; font-size: 13px; line-height: 1.65; color: var(--ak-dim); }

/* ───────── Bon à savoir : deux cartes ───────── */
.ak-tf-bcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(36px, 4.4vw, 64px); }
.ak-tf-bc { min-width: 0; padding: clamp(24px, 2.8vw, 40px); border: 1px solid var(--ak-line); border-radius: 22px; background: var(--ak-tf-card); }
.ak-tf-bc h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--ak-ink); }
.ak-tf-bc .ak-tf-ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.ak-tf-bc .ak-tf-ul li:first-child { border-top: 1px solid var(--ak-line); margin-top: 18px; }

/* ───────── Adaptatif ───────── */
@media (max-width: 1099px) {
	.ak-tf-ocs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-tf-oc-w { grid-column: 1 / -1; }
	.ak-tf-oc-w .ak-tf-ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 980px) {
	.ak-tf-split { grid-template-columns: minmax(0, 1fr); }
	.ak-tf-side { position: static; }
	.ak-tf-side .ak-sub { max-width: 56ch; }
}
@media (max-width: 1100px) {
	/* image plus présente que le texte : on renforce le voile sous les lignes de lecture */
	.ak-tf-hd-bg::after { background: linear-gradient(90deg, rgba(6, 8, 10, .86) 0%, rgba(6, 8, 10, .7) 52%, rgba(6, 8, 10, .3) 100%), linear-gradient(to bottom, rgba(6, 8, 10, .6), rgba(6, 8, 10, 0) 30%, rgba(6, 8, 10, 0) 64%, var(--ak-bg) 100%); }
}
@media (max-width: 899px) {
	.ak-tf-cards { grid-template-columns: minmax(0, 1fr); }
	.ak-tf-card { padding: 26px 24px; }
	.ak-tf-card h3 { font-size: 32px; }
}
@media (max-width: 820px) {
	.ak-tf-mcs, .ak-tf-bcs { grid-template-columns: minmax(0, 1fr); }
	.ak-tf-mcs { gap: 44px; }

	/* chaque ligne de prix devient une fiche : libellé + montant, puis le détail */
	.ak-tf-pl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.ak-tf-pl .ak-tf-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: end; padding: 20px 0; }
	.ak-tf-pl .ak-tf-row > :nth-child(2) { align-self: start; }
	.ak-tf-pl .ak-tf-row > :nth-child(1) { grid-column: 1; grid-row: 1; }
	.ak-tf-pl .ak-tf-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
	.ak-tf-pl .ak-tf-row > .ak-tf-px { grid-column: 2; grid-row: 1; font-size: 24px; }
	.ak-tf-pl td.ak-tf-px::before { content: 'À partir de'; display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-dim); }
	.ak-tf-pl .ak-tf-row > :first-child { font-size: 18px; }

	/* droits d'usage : palier en titre, puis supports, durée et zone */
	.ak-tf-pl-d .ak-tf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-tf-pl-d .ak-tf-row > :nth-child(1) { grid-column: 1 / -1; }
	.ak-tf-pl-d .ak-tf-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
	.ak-tf-pl-d .ak-tf-row > :nth-child(3) { grid-column: 1; grid-row: 3; }
	.ak-tf-pl-d .ak-tf-row > :nth-child(4) { grid-column: 2; grid-row: 3; }
	.ak-tf-pl-d td::before { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ak-dim); }
	.ak-tf-pl-d td:nth-child(2)::before { content: 'Supports'; }
	.ak-tf-pl-d td:nth-child(3)::before { content: 'Durée'; }
	.ak-tf-pl-d td:nth-child(4)::before { content: 'Zone'; }
	.ak-tf-pl-d .ak-tf-row > :first-child::before { display: none; }

	.ak-tf-hd-img { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 561px) and (max-width: 820px) {
	/* tablette : le montant occupe la marge de droite, le libellé et le détail s'empilent à gauche */
	.ak-tf-pl .ak-tf-row { row-gap: 8px; }
	.ak-tf-pl .ak-tf-row > :nth-child(2) { grid-column: 1; }
	.ak-tf-pl .ak-tf-row > .ak-tf-px { grid-row: 1 / span 2; align-self: start; }
	.ak-tf-pl .ak-tf-row > :first-child { align-self: start; }
}
@media (min-width: 600px) and (max-width: 899px) {
	/* formules : titre pleine largeur, puis détail à gauche, droits et montants à droite */
	.ak-tf-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-row: auto; column-gap: clamp(28px, 6vw, 56px); align-content: start; }
	.ak-tf-card h3 { grid-column: 1 / -1; }
	.ak-tf-cd { grid-column: 1; grid-row: 2 / span 2; margin: 20px 0 0; }
	.ak-tf-cr { grid-column: 2; grid-row: 2; align-self: start; margin-top: 20px; }
	.ak-tf-cpx { grid-column: 2; grid-row: 3; align-self: start; }
}
@media (max-width: 640px) {
	/* rubriques de la page : une bande à défilement horizontal, contenue dans son cadre */
	.ak-tf .ak-tf-jump { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--ak-tf-g)); margin-right: calc(-1 * var(--ak-tf-g)); padding: 6px var(--ak-tf-g); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 var(--ak-tf-g); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
	.ak-tf-jump::-webkit-scrollbar { display: none; }
	.ak-tf-jump a { flex: none; scroll-snap-align: start; }
}
@media (max-width: 699px) {
	.ak-tf-ocs { grid-template-columns: minmax(0, 1fr); }
	.ak-tf-oc-w .ak-tf-ol { display: block; }
}
@media (max-width: 640px) {
	.ak-tf-ft { align-items: stretch; flex-direction: column; }
	.ak-tf-ft .ak-btn, .ak-tf-side-cta .ak-btn { width: 100%; }
	.ak-tf-q summary { padding: 20px 0; }
	.ak-tf-q p { padding-right: 0; }
	.ak-tf-opts li { padding: 8px 14px; }
}
@media (max-width: 400px) {
	.ak-tf-ul li { padding-left: 26px; }
}

/* Réduire les animations : tout s'arrête, tout reste lisible. */
@media (prefers-reduced-motion: reduce) {
	.ak-tf .tx-bg span { animation: none; }
	.ak-tf-pl .ak-tf-row::before { transition: none; }
}
