/* Page « Commander » : accueil des réseaux et tiroir de commande (habillage Aurore). */

.tlc,
.tlc * {
    box-sizing: border-box;
}

html.tlc-bloque,
html.tlc-bloque body {
    overflow: hidden;
}

.tlc {
    color: var(--ink, #101828);
    font-family: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tlc button,
.tlc input {
    font: inherit;
}

.tlc button,
.tlc a {
    -webkit-tap-highlight-color: transparent;
}

.tlc input::placeholder {
    color: #64748b;
    opacity: 1;
}

.tlc :focus-visible {
    outline: 3px solid var(--brand-bright, var(--brand-bright));
    outline-offset: 2px;
}

.tlc h1:focus,
.tlc h2:focus,
.tlc h3:focus {
    outline: none;
}

.tlc [hidden],
.tlc[hidden] {
    display: none !important;
}

.tlc-cache {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Accueil ----------
   Habillage Aurore, uniquement sur les jetons du thème (customer.css) :
   --panel, --ink, --muted, --line, --chip, --brand… La page suit ainsi les
   thèmes de la page Apparence et le mode sombre. Seules les tuiles des
   réseaux gardent la couleur de leur marque (--tlc-tuile, --tlc-encre). */

.tlc-page {
    /* Bouton plein : couleur d'action du thème si elle existe, sinon l'accent,
       assombri en mode sombre pour garder un texte blanc lisible. */
    --tlc-plein: var(--brand-action, var(--brand));
    --tlc-plein-fort: var(--brand-action-strong, var(--brand-strong));
    --tlc-plein-encre: var(--brand-action-ink, #ffffff);
    position: relative;
    isolation: isolate;
}

:root[data-theme="dark"] .tlc-page {
    --tlc-plein: var(--brand-action, color-mix(in srgb, var(--brand) 58%, #000000));
    --tlc-plein-fort: var(--brand-action-strong, color-mix(in srgb, var(--brand) 48%, #000000));
}

/* Halos doux qui bougent derrière le haut de la page. */
.tlc-aurore {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 820px;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.tlc-aurore span {
    position: absolute;
    border-radius: 50%;
    animation: tlc-aurore 24s ease-in-out infinite alternate;
}

.tlc-aurore span:nth-child(1) {
    left: -180px;
    top: -220px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand) 30%, transparent) 0%, transparent 68%);
}

.tlc-aurore span:nth-child(2) {
    right: -200px;
    top: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-bright) 26%, transparent) 0%, transparent 68%);
    animation-duration: 29s;
    animation-direction: alternate-reverse;
}

.tlc-aurore span:nth-child(3) {
    left: 30%;
    top: 300px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 68%);
    animation-duration: 34s;
}

@keyframes tlc-aurore {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(48px, 36px, 0) scale(1.14); }
}

/* Jetons propres à l'accueil, tirés du thème : verre, cartes, ombres. */
.tlc-page {
    --tlc-verre: color-mix(in srgb, var(--panel) 76%, transparent);
    --tlc-verre-bord: rgba(255, 255, 255, .96);
    --tlc-verre-ombre: 0 1px 2px rgba(16, 40, 70, .06), 0 22px 48px -18px rgba(16, 40, 70, .26);
    --tlc-carte-bord: color-mix(in srgb, var(--brand) 13%, transparent);
    --tlc-carte-ombre: 0 1px 2px rgba(16, 40, 70, .05), 0 12px 30px -22px rgba(16, 40, 70, .40);
    --tlc-ok: var(--ok);
    /* Fonds de logo : lueur sous le pictogramme, teinte de la tuile, filigrane. */
    --tlc-lueur-tuile: 95%;
    --tlc-teinte-fond: 26%;
    --tlc-teinte-opacite: .45;
    --tlc-filigrane: 9%;
    --tlc-vedette: 10%;
}

:root[data-theme="dark"] .tlc-page {
    --tlc-verre: color-mix(in srgb, var(--panel) 70%, transparent);
    --tlc-verre-bord: rgba(255, 255, 255, .08);
    --tlc-verre-ombre: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 54px -20px rgba(0, 0, 0, .65);
    --tlc-carte-bord: rgba(255, 255, 255, .08);
    --tlc-carte-ombre: 0 14px 32px -20px rgba(0, 0, 0, .7);
    --tlc-ok: color-mix(in srgb, var(--ok) 62%, #000000);
    /* Mode sombre : les fonds de logo restent discrets, sans taches de couleur. */
    --tlc-lueur-tuile: 30%;
    --tlc-teinte-fond: 12%;
    --tlc-teinte-opacite: .35;
    --tlc-filigrane: 4%;
    --tlc-vedette: 5%;
}

.tlc-corps {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px 72px;
}

/* ---- Héros : diaporama et panneau des réseaux côte à côte (ordinateur) ---- */

.tlc-heros {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

/* ---- Diaporama (Console > Apparence > Bannières de l'accueil) ---- */

.tlc-diapo {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: clamp(420px, min(38vw, 100vh - 210px), 560px);
    overflow: hidden;
    border-radius: 30px;
    background: #0a1630;
    box-shadow: var(--tlc-verre-ombre);
    animation: tlc-entre .7s cubic-bezier(.2, .8, .2, 1) backwards;
}

.tlc-diapo-fenetre {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.tlc-diapo-piste {
    display: flex;
    height: 100%;
    transition: transform 700ms cubic-bezier(.22, .72, .16, 1);
    touch-action: pan-y;
    will-change: transform;
}

.tlc-diapo-glisse .tlc-diapo-piste {
    transition: none;
}

.tlc-diapo-vue {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.tlc-diapo-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Photos 16:10 au sujet placé à droite (visage vers 65-80 % de la largeur) :
       la carte PC (~1,24) rogne surtout la gauche, calme, où se pose le texte.
       96 % : le drapeau tenu au bord droit (Abonnés) reste entier. */
    object-position: 96% 40%;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Voile sous le texte : l'image peut être claire ou sombre, le texte reste lisible. */
.tlc-diapo-avec-texte::after {
    content: '';
    position: absolute;
    inset: 34% 0 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 11, 28, 0), rgba(4, 11, 28, .5) 45%, rgba(4, 11, 28, .78));
}

.tlc-diapo-texte {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 32px 30px;
    color: #ffffff;
}

.tlc-diapo-titre {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.022em;
    color: #ffffff;
    text-wrap: balance;
}

.tlc-diapo-sous {
    max-width: 40ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
    text-wrap: pretty;
}

.tlc-diapo-vue[aria-hidden="false"] .tlc-diapo-texte > * {
    animation: tlc-monte .75s .18s cubic-bezier(.2, .8, .2, 1) backwards;
}

.tlc-diapo-vue[aria-hidden="false"] .tlc-diapo-texte > :nth-child(2) { animation-delay: .25s; }
.tlc-diapo-vue[aria-hidden="false"] .tlc-diapo-texte > :nth-child(3) { animation-delay: .32s; }

/* La seule action pleine du diaporama. */
.tlc-diapo-bouton {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    margin-top: 6px;
    padding: 0 22px;
    border-radius: 14px;
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px -10px rgba(var(--brand-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .24);
    transition: transform 180ms ease, background-color 200ms ease-out;
}

.tlc-diapo-bouton:hover {
    background: var(--tlc-plein-fort);
    color: var(--tlc-plein-encre);
    transform: translateY(-1px);
}

.tlc-diapo-bouton:active {
    transform: scale(.97);
}

.tlc-diapo-bouton svg {
    transition: transform 200ms ease;
}

.tlc-diapo-bouton:hover svg {
    transform: translateX(3px);
}

.tlc-diapo-bouton::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 34%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: tlc-reflet 4.2s ease-in-out infinite;
    pointer-events: none;
}

.tlc .tlc-diapo :focus-visible {
    outline-color: #ffffff;
}

/* Verre posé sur l'image : compteur et pilule des commandes. */
.tlc-diapo-compteur,
.tlc-diapo-commandes {
    position: absolute;
    z-index: 3;
    top: 18px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(6, 14, 34, .40);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    color: #ffffff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.tlc-diapo-compteur {
    left: 18px;
    gap: 8px;
    height: 38px;
    padding: 0 14px 0 6px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.tlc-diapo-compteur i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-strong);
}

.tlc-diapo-compteur b {
    font-weight: 750;
}

.tlc-diapo-compteur span {
    opacity: .75;
}

.tlc-diapo-compteur span:last-child {
    opacity: 1;
}

.tlc-diapo-commandes {
    right: 18px;
    padding: 1px 3px;
}

/* Sans le script, les commandes ne servent à rien : leur place reste gardée. */
.tlc-diapo:not(.tlc-diapo-pret) .tlc-diapo-commandes,
.tlc-diapo:not(.tlc-diapo-pret) .tlc-diapo-compteur {
    visibility: hidden;
}

.tlc-diapo-rond {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 200ms, transform 200ms;
}

.tlc-diapo-rond:hover {
    background: rgba(255, 255, 255, .16);
}

.tlc-diapo-rond:active {
    transform: scale(.92);
}

.tlc-diapo-sep {
    width: 1px;
    height: 18px;
    margin: 0 3px;
    background: rgba(255, 255, 255, .25);
}

.tlc-diapo-points {
    display: flex;
    align-items: center;
}

.tlc-diapo-point {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 36px;
    padding: 0 3px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.tlc-diapo-barre {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .55);
    transition: width .4s cubic-bezier(.2, .8, .2, 1), background-color .3s;
}

.tlc-diapo-point[aria-current="true"] .tlc-diapo-barre {
    width: 28px;
    background: rgba(255, 255, 255, .32);
}

.tlc-diapo-barre > i {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left center;
}

.tlc-diapo-pret:not(.tlc-diapo-fixe) .tlc-diapo-point[aria-current="true"] .tlc-diapo-barre > i {
    animation: tlc-progres var(--tlc-delai, 6000ms) linear forwards;
}

.tlc-diapo-arret .tlc-diapo-point[aria-current="true"] .tlc-diapo-barre > i {
    animation-play-state: paused !important;
}

.tlc-diapo-fixe .tlc-diapo-point[aria-current="true"] .tlc-diapo-barre > i {
    transform: scaleX(1);
}

.tlc-diapo-nom {
    display: none;
}

.tlc-diapo-ic-lecture,
.tlc-diapo-pause[aria-pressed="true"] .tlc-diapo-ic-pause {
    display: none;
}

.tlc-diapo-pause[aria-pressed="true"] .tlc-diapo-ic-lecture {
    display: block;
}

/* Pas de défilement automatique demandé par le téléphone : pas de bouton pause. */
.tlc-diapo-fixe .tlc-diapo-pause,
.tlc-diapo-fixe .tlc-diapo-sep {
    display: none;
}

@keyframes tlc-progres {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes tlc-monte {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes tlc-reflet {
    0%, 60% { left: -45%; }
    100% { left: 130%; }
}

@keyframes tlc-entre {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@keyframes tlc-onde {
    from { transform: scale(.9); opacity: .55; }
    to { transform: scale(1.55); opacity: 0; }
}

@keyframes tlc-pop {
    from { transform: scale(.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---- Bannière illustrée (aucune diapositive affichée) ---- */

.tlc-banniere {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    align-items: center;
    min-height: 236px;
    padding: 22px 0 22px 20px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
    border-radius: 22px;
    background:
        radial-gradient(110% 130% at 100% 0%, color-mix(in srgb, var(--brand-bright) 26%, transparent) 0%, transparent 56%),
        radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%),
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--panel)) 0%, var(--panel) 72%);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}

.tlc-banniere-texte {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.tlc-banniere-marque {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--panel) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.tlc-banniere-titre {
    margin: 2px 0 0;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink-strong);
    text-wrap: balance;
}

.tlc-banniere-sous {
    margin: 0;
    max-width: 36ch;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
}

.tlc-banniere-bouton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 6px;
    padding: 0 14px 0 18px;
    border-radius: 999px;
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px -12px rgba(var(--brand-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform 180ms var(--dash-ease), background-color 180ms ease-out;
}

.tlc-banniere-bouton:hover {
    background: var(--tlc-plein-fort);
    color: var(--tlc-plein-encre);
}

.tlc-banniere-bouton:active {
    transform: scale(.97);
}

.tlc-banniere-art {
    position: relative;
    align-self: stretch;
    min-height: 190px;
}

.tlc-banniere-anneau {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--brand) 18%, transparent);
    transform: translate(-50%, -50%);
}

.tlc-banniere-anneau-1 { width: 190px; height: 190px; }
.tlc-banniere-anneau-2 { width: 290px; height: 290px; border-color: color-mix(in srgb, var(--brand) 10%, transparent); }

.tlc-banniere-tel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 104px;
    height: auto;
    transform: translate(-36%, -48%) rotate(8deg);
    filter: drop-shadow(0 18px 26px rgba(var(--brand-rgb), .26));
}

.tlc-art-coque { fill: color-mix(in srgb, var(--navy-deep) 86%, var(--brand)); }
.tlc-art-ecran { fill: var(--panel); }
.tlc-art-avatar { fill: var(--brand); }
.tlc-art-ligne { fill: var(--line); }
.tlc-art-ligne-douce { fill: var(--chip); }
.tlc-art-photo { fill: color-mix(in srgb, var(--brand) 22%, var(--panel)); }
.tlc-art-soleil { fill: var(--panel); }
.tlc-art-colline { fill: color-mix(in srgb, var(--brand) 72%, var(--panel)); }
.tlc-art-coeur { fill: var(--accent); }
.tlc-art-trait { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; }

.tlc-flot {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 5px;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--panel) 88%, transparent);
    color: var(--ink-strong);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: tlc-flotte 6s ease-in-out infinite alternate;
}

.tlc-flot-ic {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
}

.tlc-flot-ic-accent {
    background: var(--accent-soft);
    color: var(--accent);
}

.tlc-flot-1 { right: 38px; top: 10px; }
.tlc-flot-2 { right: -8px; bottom: 18px; animation-delay: -2s; }
.tlc-flot-3 { display: none; }

@keyframes tlc-flotte {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
}

/* Dans le héros (ordinateur), la bannière illustrée tient la place du diaporama. */
@media (min-width: 761px) {
    .tlc-banniere {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 44%);
        min-height: clamp(420px, min(38vw, 100vh - 210px), 560px);
        padding: 36px 0 36px clamp(28px, 3.4vw, 48px);
        border-radius: 30px;
    }

    .tlc-banniere-titre {
        font-size: clamp(30px, 3vw, 44px);
        line-height: 1.04;
    }

    .tlc-banniere-sous {
        font-size: clamp(14.5px, 1.2vw, 17px);
    }

    .tlc-banniere-bouton {
        min-height: 46px;
        margin-top: 10px;
        font-size: 15px;
    }

    .tlc-banniere-art {
        min-height: 260px;
    }

    .tlc-banniere-anneau-1 { width: 250px; height: 250px; }
    .tlc-banniere-anneau-2 { width: 380px; height: 380px; }

    .tlc-banniere-tel {
        width: 140px;
        transform: translate(-50%, -50%) rotate(7deg);
    }

    .tlc-flot {
        padding: 6px 12px 6px 6px;
        font-size: 13.5px;
    }

    .tlc-flot-ic {
        width: 26px;
        height: 26px;
    }

    .tlc-flot-1 { left: 4%; right: auto; top: 22%; }
    .tlc-flot-2 { right: 6%; bottom: 18%; }
    .tlc-flot-3 { display: inline-flex; right: 8%; top: 12%; animation-delay: -4s; }
}

/* ---- Panneau de verre des réseaux ---- */

.tlc-panneau {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    border-radius: 30px;
    background: var(--tlc-verre);
    box-shadow: var(--tlc-verre-ombre), inset 0 0 0 1px var(--tlc-verre-bord);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    animation: tlc-entre .7s .08s cubic-bezier(.2, .8, .2, 1) backwards;
}

.tlc-panneau-tete {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px;
}

.tlc-section-titre {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.012em;
    color: var(--ink-strong);
}

.tlc-section-sous {
    margin: 4px 0 0;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--muted);
}

.tlc-section-compte {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.tlc-section-compte i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

/* Grille 3 × 3 : sept réseaux, les étapes dans la case libre après le dernier. */
.tlc-grille {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(96px, 1fr);
    gap: 10px;
}

/* ---- Tuiles des réseaux : pictogramme de marque avec reflet, filigrane du logo ---- */

.tlc-reseau {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto;
    grid-template-areas: "tuile tuile" "textes fleche";
    align-items: end;
    gap: 10px 6px;
    min-width: 0;
    padding: 14px;
    border: 0;
    border-radius: 19px;
    background: var(--panel);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px var(--tlc-carte-bord);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
    animation: tlc-entre .55s cubic-bezier(.2, .8, .2, 1) backwards;
}

.tlc-reseau:nth-child(1) { animation-delay: .12s; }
.tlc-reseau:nth-child(2) { animation-delay: .16s; }
.tlc-reseau:nth-child(3) { animation-delay: .2s; }
.tlc-reseau:nth-child(4) { animation-delay: .24s; }
.tlc-reseau:nth-child(5) { animation-delay: .28s; }
.tlc-reseau:nth-child(6) { animation-delay: .32s; }
.tlc-reseau:nth-child(n + 7) { animation-delay: .36s; }

/* Teinte douce de la marque, en bas à droite. */
.tlc-reseau::after {
    content: '';
    position: absolute;
    z-index: -2;
    right: -34px;
    bottom: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tlc-lueur, #475569) var(--tlc-teinte-fond), transparent), transparent);
    opacity: var(--tlc-teinte-opacite);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}

/* Grand logo en filigrane, incliné, qui se redresse au survol. */
.tlc-filigrane {
    position: absolute;
    z-index: -1;
    right: -16px;
    bottom: -20px;
    width: 92px;
    height: 92px;
    transform: rotate(-14deg);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}

.tlc-filigrane svg {
    display: block;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--tlc-lueur, #475569) var(--tlc-filigrane), transparent) !important;
}

.tlc-reseau-tuile {
    position: relative;
    grid-area: tuile;
    align-self: start;
    justify-self: start;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    transition: transform .4s cubic-bezier(.3, 1.5, .5, 1);
}

/* Fond, logo, reflet et lueur du pictogramme : .tl-tuile-marque
   (brand-tile.css), partagé avec les fenêtres d'accès. */

.tlc-logo-marque svg {
    color: inherit !important;
}

.tlc-reseau-textes {
    grid-area: textes;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tlc-reseau-nom {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 650;
    color: var(--ink-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tlc-reseau-compte {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.tlc-reseau-badge {
    display: none;
    align-items: center;
    gap: 6px;
    width: fit-content;
    height: 24px;
    margin-top: 6px;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 650;
}

.tlc-reseau-fleche {
    grid-area: fleche;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-strong);
    transition: transform .25s, background-color .25s, color .25s;
}

.tlc-fleche-droite {
    display: none;
}

.tlc-reseau:active {
    transform: scale(.98);
}

@media (hover: hover) {
    .tlc-reseau:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--tlc-lueur, #475569) 60%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--tlc-lueur, #475569) 34%, transparent);
    }

    .tlc-reseau:hover .tlc-reseau-tuile {
        transform: scale(1.08) rotate(-4deg);
    }

    .tlc-reseau:hover .tlc-filigrane {
        transform: rotate(0) scale(1.1);
    }

    .tlc-reseau:hover .tlc-reseau-fleche {
        transform: translateX(2px);
    }
}

.tlc-reseau:hover::after,
.tlc-reseau[data-choisi]::after {
    opacity: 1;
    transform: scale(1.25);
}

/* Réseau choisi (tiroir ouvert, ou dernier ouvert) : contour animé à l'accent + coche. */
.tlc-reseau[data-choisi]::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 2.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--tlc-a), var(--brand), var(--brand-bright) 22%, var(--brand) 46%, color-mix(in srgb, var(--brand-bright) 45%, var(--panel)) 72%, var(--brand));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: tlc-tourne 3.4s linear infinite;
    pointer-events: none;
}

.tlc-reseau[data-choisi] .tlc-reseau-fleche {
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
}

.tlc-reseau-coche {
    position: absolute;
    z-index: 4;
    top: -8px;
    right: -8px;
    display: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
    box-shadow: 0 0 0 3px var(--panel), 0 6px 14px -4px rgba(var(--brand-rgb), .8);
}

.tlc-reseau[data-choisi] .tlc-reseau-coche {
    display: grid;
    animation: tlc-pop .42s cubic-bezier(.3, 1.6, .5, 1) backwards;
}

@media (hover: hover) {
    :root[data-theme="dark"] .tlc-reseau:hover {
        box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px color-mix(in srgb, var(--tlc-lueur, #475569) 30%, transparent);
    }
}

/* ---- « Comment ça marche » : la case libre de la grille ---- */

.tlc-guide {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 30%, transparent));
    box-shadow: inset 0 0 0 1px var(--tlc-carte-bord);
    animation: tlc-entre .55s .42s cubic-bezier(.2, .8, .2, 1) backwards;
}

/* Le dernier réseau ne laisse pas deux cases libres : les étapes prennent une ligne entière. */
.tlc-grille:not(:has(> .tlc-reseau:nth-of-type(3n + 1):last-of-type)) .tlc-guide {
    grid-column: 1 / -1;
}

.tlc-guide-titre {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-strong);
}

.tlc-pas {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tlc-pas-etape {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.25;
    font-weight: 550;
    color: var(--ink-strong);
}

.tlc-pas-n {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: var(--panel);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 750;
    box-shadow: inset 0 0 0 1px var(--tlc-carte-bord);
    transition: background-color .3s, color .3s;
}

.tlc-pas-coche,
.tlc-pas-court,
.tlc-pas-etape.est-faite .tlc-pas-chiffre {
    display: none;
}

.tlc-pas-etape.est-faite .tlc-pas-coche {
    display: block;
}

.tlc-pas-etape.est-courante .tlc-pas-n {
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
    box-shadow: none;
}

.tlc-pas-etape.est-courante .tlc-pas-n::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--brand);
    animation: tlc-onde 1.8s ease-out infinite;
}

.tlc-pas-etape.est-faite .tlc-pas-n {
    background: var(--tlc-ok);
    color: #ffffff;
    box-shadow: none;
}

.tlc-vide {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
}

/* ---- Raccourcis du client connecté (sous le héros) ---- */

.tlc-ic-fond {
    fill: color-mix(in srgb, var(--brand) 16%, transparent);
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}

.tlc-lien-carte {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px 10px 12px;
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: 18px;
    background: color-mix(in srgb, var(--panel) 82%, transparent);
    color: var(--ink-strong);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease-out, transform 220ms var(--dash-ease), box-shadow 220ms ease-out;
}

.tlc-lien-ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
    background: var(--panel);
    color: var(--brand);
}

.tlc-lien-texte {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.tlc-lien-texte small {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
}

.tlc-lien-fleche {
    flex: none;
    color: var(--brand);
    transition: transform 200ms var(--dash-ease);
}

@media (hover: hover) {
    .tlc-lien-carte:hover {
        border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
        box-shadow: var(--shadow-md);
        color: var(--ink-strong);
    }

    .tlc-lien-carte:hover .tlc-lien-fleche {
        transform: translateX(3px);
    }
}

.tlc-liens {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

/* ---------- Tablette (761 à 1099 px) : le duo s'empile, la grille garde ses 3 × 3 ---------- */

@media (min-width: 761px) and (max-width: 1099px) {
    .tlc-corps {
        padding: 24px 24px 56px;
    }

    .tlc-heros {
        grid-template-columns: minmax(0, 1fr);
    }

    .tlc-diapo,
    .tlc-banniere {
        min-height: clamp(340px, 50vw, 480px);
    }

    /* Carte très large (~2:1) : l'image est rognée en haut et en bas ; on
       garde le haut, où sont les visages. */
    .tlc-diapo-image {
        object-position: 74% 30%;
    }
}

/* ---------- Téléphone (jusqu'à 760 px) : la mosaïque ---------- */

@media (max-width: 760px) {
    .tlc-corps {
        padding: 14px 16px 40px;
    }

    .tlc-heros {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Diaporama façon « stories ». */
    .tlc-diapo {
        min-height: 0;
        aspect-ratio: 1 / .9;
        border-radius: 24px;
    }

    /* Carte presque carrée : 70 % de la largeur de l'image reste visible. */
    .tlc-diapo-image {
        object-position: 86% 50%;
    }

    .tlc-diapo-avec-texte::after {
        inset: 0;
        background:
            linear-gradient(0deg, rgba(4, 11, 28, .80) 0%, rgba(4, 11, 28, .4) 40%, rgba(4, 11, 28, 0) 62%),
            linear-gradient(180deg, rgba(4, 11, 28, .45), rgba(4, 11, 28, 0) 26%);
    }

    .tlc-diapo-texte {
        gap: 10px;
        padding: 0 70px 18px 18px;
    }

    .tlc-diapo-titre {
        max-width: 15ch;
        font-size: 23px;
    }

    .tlc-diapo-sous {
        display: none;
    }

    .tlc-diapo-bouton {
        min-height: 46px;
        margin-top: 2px;
        padding: 0 18px;
        border-radius: 13px;
        font-size: 15px;
    }

    .tlc-diapo-compteur,
    .tlc-diapo-fleche,
    .tlc-diapo-sep {
        display: none;
    }

    .tlc-diapo-commandes {
        display: contents;
    }

    .tlc-diapo-points {
        position: absolute;
        z-index: 3;
        top: 8px;
        left: 14px;
        right: 14px;
        gap: 6px;
        align-items: flex-start;
    }

    .tlc-diapo-point {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
        height: auto;
        min-height: 44px;
        padding: 8px 0 0;
        color: rgba(255, 255, 255, .78);
        font-size: 12px;
        font-weight: 650;
        transition: color .3s;
    }

    .tlc-diapo-barre,
    .tlc-diapo-point[aria-current="true"] .tlc-diapo-barre {
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, .30);
    }

    .tlc-diapo-passe .tlc-diapo-barre > i {
        transform: scaleX(1);
    }

    .tlc-diapo-nom {
        display: block;
        max-width: 100%;
        overflow: hidden;
        padding: 3px 9px;
        border-radius: 999px;
        background: rgba(6, 14, 34, .34);
        font-weight: 650;
        white-space: nowrap;
        text-overflow: ellipsis;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        transition: background-color .3s;
    }

    .tlc-diapo-point[aria-current="true"] {
        color: #ffffff;
    }

    .tlc-diapo-point[aria-current="true"] .tlc-diapo-nom {
        background: rgba(6, 14, 34, .52);
    }

    /* Beaucoup de diapositives : les barres seules. */
    .tlc-diapo-points:has(> :nth-child(5)) .tlc-diapo-nom {
        display: none;
    }

    .tlc-diapo-pause {
        position: absolute;
        z-index: 3;
        right: 12px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        background: rgba(6, 14, 34, .40);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
        color: #ffffff;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .tlc-diapo-pause:hover {
        background: rgba(6, 14, 34, .58);
    }

    .tlc-diapo:not(.tlc-diapo-pret) .tlc-diapo-points,
    .tlc-diapo:not(.tlc-diapo-pret) .tlc-diapo-pause {
        visibility: hidden;
    }

    /* Le panneau s'efface : pilule des étapes, titre, puis les tuiles. */
    .tlc-panneau {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        animation: none;
    }

    .tlc-grille {
        display: contents;
    }

    .tlc-panneau-tete {
        order: -1;
        grid-column: 1 / -1;
        margin: 10px 0 2px;
        padding: 0;
    }

    .tlc-section-titre {
        font-size: 25px;
        font-weight: 800;
        letter-spacing: -.026em;
        line-height: 1.1;
    }

    .tlc-section-compte {
        display: none;
    }

    .tlc-guide,
    .tlc-grille:not(:has(> .tlc-reseau:nth-of-type(3n + 1):last-of-type)) .tlc-guide {
        order: -2;
        grid-column: 1 / -1;
        padding: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        animation: tlc-entre .6s cubic-bezier(.2, .8, .2, 1) backwards;
    }

    .tlc-guide-titre {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .tlc-pas {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px;
        border-radius: 999px;
        background: var(--tlc-verre);
        box-shadow: var(--tlc-verre-ombre), inset 0 0 0 1px var(--tlc-verre-bord);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .tlc-pas-etape {
        position: relative;
        flex: 1;
        justify-content: center;
        gap: 7px;
        height: 40px;
        padding: 0 8px 0 4px;
        border-radius: 999px;
        font-size: 13.5px;
        font-weight: 600;
        white-space: nowrap;
        color: var(--muted);
        transition: background-color .35s, color .35s, box-shadow .35s;
    }

    .tlc-pas-etape + .tlc-pas-etape {
        margin-left: 12px;
    }

    .tlc-pas-etape + .tlc-pas-etape::before {
        content: '';
        position: absolute;
        left: -11px;
        top: 50%;
        width: 10px;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
    }

    .tlc-pas-n {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--surface-2, var(--chip));
        color: var(--muted);
        font-size: 13px;
        box-shadow: none;
    }

    .tlc-pas-etape.est-courante {
        color: var(--ink-strong);
        background: var(--panel);
        box-shadow: 0 8px 18px -10px rgba(16, 40, 70, .45), inset 0 0 0 1px var(--tlc-carte-bord);
    }

    .tlc-pas-etape.est-faite {
        color: var(--ink);
    }

    .tlc-pas-long {
        display: none;
    }

    .tlc-pas-court {
        display: inline;
    }

    /* Tuiles : la grande « Le plus de choix », puis deux colonnes. */
    .tlc-reseau {
        order: 1;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto 1fr;
        grid-template-areas: "tuile fleche" "textes textes";
        align-items: start;
        gap: 12px;
        min-height: 128px;
        padding: 14px;
        border-radius: 20px;
        animation-duration: .6s;
    }

    .tlc-reseau::after {
        right: -22%;
        bottom: -48%;
        width: 90%;
        height: auto;
        aspect-ratio: 1;
        background: radial-gradient(closest-side, color-mix(in srgb, var(--tlc-lueur, #475569) calc(var(--tlc-teinte-fond) - 4%), transparent), transparent);
        opacity: 1;
    }

    .tlc-filigrane {
        right: -18px;
        bottom: -22px;
        width: 104px;
        height: 104px;
    }

    .tlc-reseau-tuile {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .tlc-reseau-textes {
        align-self: end;
    }

    .tlc-reseau-nom {
        font-size: 16px;
        font-weight: 700;
    }

    .tlc-reseau-compte {
        margin-top: 2px;
        font-size: 13px;
    }

    .tlc-reseau-fleche {
        width: 30px;
        height: 30px;
        background: var(--surface-2, var(--chip));
        color: var(--ink-strong);
        transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), background-color .25s, color .25s;
    }

    .tlc-fleche-chevron {
        display: none;
    }

    .tlc-fleche-droite {
        display: block;
    }

    .tlc-reseau-vedette {
        order: 0;
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto;
        grid-template-areas: "tuile textes fleche";
        align-items: center;
        gap: 14px;
        min-height: 0;
        padding: 16px;
        background: linear-gradient(165deg, color-mix(in srgb, var(--tlc-lueur, #475569) var(--tlc-vedette), var(--panel)), var(--panel) 62%);
    }

    .tlc-reseau-vedette .tlc-reseau-tuile {
        align-self: center;
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    .tlc-reseau-vedette .tlc-reseau-textes {
        align-self: center;
    }

    .tlc-reseau-vedette .tlc-reseau-nom {
        font-size: 21px;
        letter-spacing: -.02em;
    }

    .tlc-reseau-vedette .tlc-reseau-compte {
        font-size: 14px;
    }

    .tlc-reseau-vedette .tlc-reseau-badge {
        display: inline-flex;
    }

    .tlc-reseau-vedette .tlc-reseau-fleche {
        width: 44px;
        height: 44px;
    }

    .tlc-reseau-vedette .tlc-filigrane {
        right: -30px;
        bottom: -50px;
        width: 150px;
        height: 150px;
    }

    .tlc-liens {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 18px;
    }
}

@media (max-width: 760px) and (hover: hover) {
    .tlc-reseau:hover {
        transform: none;
    }

    .tlc-reseau:hover .tlc-reseau-fleche {
        transform: rotate(-45deg);
        color: var(--brand-strong);
        background: var(--brand-soft);
    }
}

/* Très petits téléphones : la pilule garde ses trois étapes sans toucher les bords. */
@media (max-width: 359px) {
    .tlc-pas-etape {
        gap: 5px;
        padding: 0 6px 0 3px;
        font-size: 12.5px;
    }

    .tlc-pas-etape + .tlc-pas-etape {
        margin-left: 8px;
    }

    .tlc-pas-etape + .tlc-pas-etape::before {
        left: -7px;
        width: 6px;
    }
}

/* ---- Moins d'animations demandé par le téléphone ---- */

@media (prefers-reduced-motion: reduce) {
    .tlc-aurore span,
    .tlc-flot,
    .tlc-diapo,
    .tlc-panneau,
    .tlc-reseau,
    .tlc-guide,
    .tlc-diapo-bouton::after,
    .tlc-diapo-texte > *,
    .tlc-reseau[data-choisi]::before,
    .tlc-reseau[data-choisi] .tlc-reseau-coche,
    .tlc-pas-n::after,
    .tlc-diapo-barre > i {
        animation: none !important;
    }

    .tlc-diapo-piste,
    .tlc-diapo-barre,
    .tlc-reseau,
    .tlc-reseau::after,
    .tlc-reseau-tuile,
    .tlc-filigrane,
    .tlc-reseau-fleche,
    .tlc-lien-carte,
    .tlc-lien-fleche {
        transition: none !important;
    }

    .tlc-reseau:hover,
    .tlc-reseau:hover .tlc-reseau-tuile,
    .tlc-reseau:hover .tlc-filigrane {
        transform: none !important;
    }
}

/* ---------- Tiroir ---------- */

.tlc-couche {
    position: fixed;
    inset: 0;
    z-index: 920; /* au-dessus du toast d’activité du gabarit (900) */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.tlc-voile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(11, 27, 46, .5);
    cursor: default;
    animation: tlc-fondu 260ms ease-out;
}

.tlc-tiroir {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    height: calc(100% - 44px);
    background: #f5faf9;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 34px rgba(11, 27, 46, .22);
    outline: none;
    overflow: hidden;
    animation: tlc-monte 340ms cubic-bezier(.32, .72, 0, 1);
}

.tlc-couche.tlc-ferme .tlc-voile {
    opacity: 0;
    transition: opacity 220ms ease-out;
}

.tlc-couche.tlc-ferme .tlc-tiroir {
    transform: translateY(100%);
    transition: transform 240ms cubic-bezier(.4, 0, 1, 1);
}

@keyframes tlc-monte {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes tlc-fondu {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tlc-halos {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 340px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.tlc-halo {
    position: absolute;
    border-radius: 50%;
    animation: tlc-derive 16s ease-in-out infinite alternate;
}

.tlc-halo-1 {
    left: -70px;
    top: -90px;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(114, 179, 255, .5), rgba(114, 179, 255, 0) 68%);
}

.tlc-halo-2 {
    right: -90px;
    top: -60px;
    width: 290px;
    height: 290px;
    background: radial-gradient(circle, rgba(139, 124, 246, .34), rgba(139, 124, 246, 0) 68%);
    animation-duration: 21s;
    animation-direction: alternate-reverse;
}

.tlc-halo-3 {
    left: 90px;
    top: 70px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--tlc-halo, rgba(114, 179, 255, .3)), rgba(255, 255, 255, 0) 68%);
    animation-duration: 26s;
}

.tlc-halos-fondu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(245, 250, 249, 0), #f5faf9);
}

@keyframes tlc-derive {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(36px, 24px) scale(1.16); }
}

.tlc-tete {
    flex: none;
    touch-action: none;
    position: relative;
    z-index: 1;
    padding: 8px 12px 14px 16px;
}

.tlc-poignee {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.tlc-poignee span {
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(11, 27, 46, .22);
}

.tlc-tete-ligne {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tlc-tete-logo {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .6), 0 8px 18px var(--tlc-halo, rgba(30, 70, 90, .2));
}

.tlc-tete-textes {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tlc-tete-titre {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b1b2e;
    letter-spacing: -.015em;
}

.tlc-tete-chemin {
    font-size: 13px;
    line-height: 1.35;
    color: #3f5163;
}

.tlc-fermer {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .7);
    color: #0b1b2e;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 70, 90, .1);
}

/* Bandeau des trois étapes */

.tlc-nav {
    flex: none;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    padding: 0 16px;
    border-bottom: 1px solid rgba(16, 40, 70, .08);
    background: rgba(255, 255, 255, .55);
}

.tlc-etape {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 50px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #5b6b7f;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
}

.tlc-etape[data-etat="faite"] {
    color: var(--brand-strong);
    font-weight: 600;
    cursor: pointer;
}

.tlc-etape[data-etat="courante"] {
    color: #0b1b2e;
    font-weight: 700;
}

.tlc-etape-rond {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #94a3b8;
    background: #ffffff;
    color: #5b6b7f;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 220ms ease-out, border-color 220ms ease-out;
}

.tlc-etape[data-etat="faite"] .tlc-etape-rond {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
}

.tlc-etape[data-etat="courante"] .tlc-etape-rond {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .14);
}

.tlc-progres {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, var(--brand-bright), var(--brand));
    transition: width 460ms cubic-bezier(.2, .8, .2, 1);
}

/* Zone qui défile */

.tlc-zone {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.tlc-defile {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 16px 24px;
}

.tlc-defile-cats {
    gap: 16px;
    padding-top: 20px;
}

.tlc-defile-form {
    gap: 22px;
    padding-bottom: 20px;
}

/* Petits téléphones : les trois étapes tiennent sans toucher les bords. */
@media (max-width: 379px) {
    .tlc-etape {
        gap: 5px;
        padding: 0 2px;
        font-size: 12.5px;
    }

    .tlc-etape-rond {
        width: 22px;
        height: 22px;
    }
}

.tlc-volet {
    animation: tlc-volet-in 260ms cubic-bezier(.2, 0, 0, 1);
}

.tlc-volet-retour {
    animation: tlc-volet-back 260ms cubic-bezier(.2, 0, 0, 1);
}

@keyframes tlc-volet-in {
    from { opacity: 0; transform: translateX(26px); }
    to { opacity: 1; transform: none; }
}

@keyframes tlc-volet-back {
    from { opacity: 0; transform: translateX(-26px); }
    to { opacity: 1; transform: none; }
}

.tlc-titre {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #0b1b2e;
    letter-spacing: -.02em;
}

.tlc-titre-2 {
    font-size: 20px;
    letter-spacing: -.015em;
}

.tlc-sous {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #5b6b7f;
}

.tlc-retour {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    margin-left: -6px;
    padding: 0 10px 0 4px;
    border: 0;
    background: none;
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.tlc-pile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tlc-bloc-tete {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Cartes (catégories, services) */

.tlc-carte {
    position: relative;
    display: flex;
    width: 100%;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .86);
    color: #101828;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 24px rgba(30, 70, 90, .08);
}

button.tlc-carte {
    cursor: pointer;
    transition: transform 140ms ease-out, border-color 150ms ease-out, background-color 150ms ease-out, box-shadow 200ms ease-out;
}

button.tlc-carte:active {
    transform: scale(.98);
}

.tlc-carte-cat {
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 12px 12px 12px 13px;
}

.tlc-carte-svc {
    align-items: flex-start;
    gap: 12px;
    padding: 13px 13px 13px 12px;
}

.tlc-carte.tlc-choisie {
    border-color: transparent;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(23, 105, 224, .18);
}

.tlc-entre {
    animation: tlc-entre 440ms cubic-bezier(.2, .8, .2, 1) backwards;
}

@keyframes tlc-entre {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.tlc-apparait {
    animation: tlc-apparait 220ms ease-out;
}

@keyframes tlc-apparait {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* Une teinte par famille de service */

.tlc-t-followers { --tlc-c: 79, 91, 213; --tlc-doux: #eceefe; --tlc-fonce: #3b46b8; }
.tlc-t-likes { --tlc-c: 220, 63, 118; --tlc-doux: #fdecf2; --tlc-fonce: #b02a5b; }
.tlc-t-views { --tlc-c: 212, 122, 31; --tlc-doux: #fdf2e1; --tlc-fonce: #9a5a10; }
.tlc-t-comments { --tlc-c: 26, 149, 102; --tlc-doux: #e3f6ee; --tlc-fonce: #147a51; }
.tlc-t-reactions { --tlc-c: 223, 132, 8; --tlc-doux: #fef3d8; --tlc-fonce: #9a5c00; }
.tlc-t-shares { --tlc-c: 13, 135, 170; --tlc-doux: #e0f4fa; --tlc-fonce: #0a6a86; }
.tlc-t-live { --tlc-c: 212, 56, 56; --tlc-doux: #fde9e7; --tlc-fonce: #ab2828; }
.tlc-t-other { --tlc-c: 71, 85, 105; --tlc-doux: #eef1f5; --tlc-fonce: #334155; }

.tlc-tuile {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(160deg, #ffffff, var(--tlc-doux));
    box-shadow: inset 0 0 0 1px rgba(var(--tlc-c), .2), 0 4px 10px rgba(var(--tlc-c), .14);
    color: var(--tlc-fonce);
}

/* Réaction Facebook : le visage remplace le dessin de la catégorie. */
.tlc-tuile-visage {
    background: #ffffff;
}

.tlc-visage {
    font-size: 26px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.tlc-visages {
    flex: none;
    display: flex;
    gap: 6px;
    margin: -4px -16px -6px;
    padding: 6px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tlc-visages::-webkit-scrollbar {
    display: none;
}

.tlc-visage-choix {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 58px;
    min-height: 68px;
    padding: 6px 4px 5px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: #44566b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 180ms ease-out, color 180ms ease-out;
}

.tlc-visage-rond {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(16, 40, 70, .1), 0 3px 8px rgba(16, 40, 70, .08);
    font-size: 24px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    transition: box-shadow 180ms ease-out, scale 180ms ease-out;
}

.tlc-visage-toutes {
    color: #c2410c;
}

.tlc-visage-toutes .tlc-glyphe-fond {
    fill: rgba(234, 88, 12, .22);
}

.tlc-visage-choix[aria-pressed="true"] {
    color: #0b1b2e;
}

.tlc-visage-choix[aria-pressed="true"] .tlc-visage-rond {
    box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px rgba(23, 105, 224, .14), 0 4px 10px rgba(23, 105, 224, .18);
    scale: 1.06;
}

.tlc-visage-choix:active .tlc-visage-rond {
    scale: .96;
}

.tlc-visage-choix:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.tlc-groupe {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 8px;
    padding: 0 2px;
}

.tlc-groupe:first-child {
    margin-top: 0;
}

.tlc-groupe-nom {
    color: #0b1b2e;
    font-size: 15px;
    font-weight: 700;
}

.tlc-groupe-note {
    flex: 1 1 100%;
    color: #5b6b7f;
    font-size: 13px;
    line-height: 1.4;
}

.tlc-tuile-grande {
    width: 52px;
    height: 52px;
}

.tlc-tuile .tlc-glyphe-fond {
    fill: rgba(var(--tlc-c), .3);
}

.tlc-coche {
    position: absolute;
    right: -6px;
    bottom: -6px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 0 0 2.5px #ffffff;
    animation: tlc-pop 340ms cubic-bezier(.3, 1.5, .5, 1) backwards;
}

@keyframes tlc-pop {
    from { opacity: 0; transform: scale(.3); }
    to { opacity: 1; transform: scale(1); }
}

.tlc-cat-textes {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tlc-cat-nom {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

.tlc-cat-infos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.tlc-pastille {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--tlc-doux);
    color: var(--tlc-fonce);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.tlc-cat-des {
    font-size: 13px;
    line-height: 1.4;
    color: #5b6b7f;
}

.tlc-fleche {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    transition: transform 160ms ease-out;
}

button.tlc-carte:active .tlc-fleche,
.tlc-cta:active .tlc-cta-fleche {
    transform: translateX(4px);
}

/* Ligne de service */

.tlc-svc-corps {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tlc-svc-haut {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tlc-svc-gauche {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.tlc-svc-titre {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #101828;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}

.tlc-svc-marques {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
}

.tlc-numero {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    border-radius: 6px;
    border: 1px solid #d9e0e8;
    background: rgba(255, 255, 255, .9);
    color: #5b6b7f;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}

.tlc-garantie {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    color: #475569;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
    white-space: nowrap;
}

.tlc-garantie svg {
    flex: none;
    color: #7b8794;
}

.tlc-garantie-oui {
    padding: 0 9px 0 6px;
    border-radius: 999px;
    background: #e2f5ec;
    color: #0a6648;
    font-weight: 600;
}

.tlc-garantie-oui svg {
    color: #087252;
}

.tlc-svc-prix {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    min-width: 78px;
}

.tlc-svc-prix-ligne {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.tlc-svc-prix-nb {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b1b2e;
    letter-spacing: -.01em;
}

.tlc-svc-prix-devise {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    color: #5b6b7f;
}

.tlc-svc-prix-pour {
    font-size: 12px;
    line-height: 1.4;
    color: #5b6b7f;
    white-space: nowrap;
}

.tlc-puce {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #475569;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 500;
}

.tlc-puce svg {
    flex: none;
    color: #5b6b7f;
}

.tlc-puce-vitesse svg {
    color: #c7780a;
}

/* Contour animé sur le choix (teintes de l'accent seulement) */

@property --tlc-a {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.tlc-contour::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    padding: 2.5px;
    background: conic-gradient(from var(--tlc-a), var(--brand), var(--brand-bright) 22%, var(--brand) 46%, var(--brand-soft) 72%, var(--brand));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: tlc-tourne 3.6s linear infinite;
    pointer-events: none;
}

.tlc-contour-clair::before {
    inset: 0;
    background: conic-gradient(from var(--tlc-a), rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 16%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .7) 76%, rgba(255, 255, 255, 0));
}

@keyframes tlc-tourne {
    to { --tlc-a: 360deg; }
}

/* Encadrés (mots à comprendre, aide du lien, forfait, récapitulatif) */

.tlc-douche {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(16, 40, 70, .08);
}

.tlc-notes-bouton {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    background: none;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.tlc-notes-bouton span {
    flex: 1;
    min-width: 0;
}

.tlc-notes-info {
    flex: none;
    color: var(--brand);
}

.tlc-notes-chevron {
    flex: none;
    color: #5b6b7f;
    transition: transform 200ms ease-out;
}

.tlc-notes-bouton[aria-expanded="true"] .tlc-notes-chevron {
    transform: rotate(180deg);
}

.tlc-notes {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0 14px 13px;
}

.tlc-notes p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

.tlc-notes strong {
    font-weight: 600;
    color: #101828;
}

/* Formulaire */

.tlc-champ-bloc {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tlc-champ-tete {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tlc-champ-icone {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #e0f4fa;
    color: #0a6a86;
}

.tlc-champ-icone-qte {
    background: #eceefe;
    color: #3b46b8;
}

.tlc-champ-textes {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.tlc-etiquette {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #101828;
}

.tlc-consigne {
    font-size: 13px;
    line-height: 1.4;
    color: #5b6b7f;
}

.tlc-saisie {
    width: 100%;
    height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1.5px solid rgba(16, 60, 80, .16);
    background: rgba(255, 255, 255, .9);
    font-size: 16px;
    color: #101828;
}

.tlc-saisie:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(23, 105, 224, .18);
}

.tlc-saisie[aria-invalid="true"],
.tlc-champ[data-invalide="true"] {
    border-color: #b42333;
}

.tlc-champ {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1.5px solid rgba(16, 60, 80, .16);
    background: rgba(255, 255, 255, .9);
}

.tlc-champ:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(23, 105, 224, .18);
}

/* Le cadre de la case (focus-within) suffit : pas de second contour autour
   du nombre quand on touche la quantité. */
.tlc-champ input:focus-visible {
    outline: none;
}

.tlc-champ input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 19px;
    font-weight: 700;
    color: #101828;
}

.tlc-champ-unite {
    flex: none;
    font-size: 14px;
    color: #5b6b7f;
}

.tlc-erreur {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #b42333;
}

.tlc-erreur svg {
    flex: none;
    margin-top: 1px;
}

.tlc-erreur[hidden] {
    display: none;
}

.tlc-bouton-doux {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 15px 0 12px;
    border-radius: 12px;
    border: 0;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 120ms ease-out;
}

.tlc-bouton-doux:active,
.tlc-raccourci:active,
.tlc-fermer:active {
    transform: scale(.96);
}

/* « Coller » dans la case du lien, à droite. */
.tlc-lien-case {
    position: relative;
}

.tlc-lien-case .tlc-saisie {
    display: block;
    padding-right: 108px;
}

.tlc-coller {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    gap: 6px;
    min-height: 0;
    padding: 0 12px 0 10px;
    border-radius: 11px;
    font-size: 13.5px;
}

.tlc-raccourcis {
    display: flex;
    gap: 8px;
}

.tlc-raccourci {
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    padding: 0 8px;
    border-radius: 12px;
    border: 1.5px solid #dbe3ea;
    background: #ffffff;
    color: #101828;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 120ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}

.tlc-raccourci[aria-pressed="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
    animation: tlc-rebond 420ms cubic-bezier(.3, 1.7, .5, 1);
}

@keyframes tlc-rebond {
    0% { transform: scale(.8); }
    55% { transform: scale(1.14); }
    100% { transform: scale(1); }
}

.tlc-forfait {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.tlc-forfait-icone {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand);
}

.tlc-forfait-textes {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tlc-forfait-titre {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
}

.tlc-forfait-sous {
    font-size: 13px;
    line-height: 1.4;
    color: #475569;
}

/* Commentaires personnalisés : la case à plusieurs lignes et son compteur.
   16 px au moins : pas de zoom automatique sur iPhone. */
.tlc-saisie.tlc-coms {
    display: block;
    height: auto;
    min-height: 148px;
    max-height: 340px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
    overflow-y: auto;
    font-family: inherit;
}

.tlc-coms::placeholder {
    color: #8a97a8;
}

.tlc-coms-compte {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #5b6b7f;
    font-variant-numeric: tabular-nums;
}

.tlc-coms-compte[data-ok="true"] {
    color: var(--brand-strong);
}

.tlc-alerte {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fdeef0;
    color: #8f1d2a;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}

.tlc-alerte svg {
    flex: none;
    margin-top: 1px;
}

/* Pied : prix et bouton */

.tlc-pied {
    flex: none;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 12px 16px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(16, 40, 70, .08);
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -8px 20px rgba(16, 40, 70, .06);
}

.tlc-pied-haut {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px 12px;
}

.tlc-pied-gauche {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tlc-pied-titre {
    font-size: 13px;
    color: #5b6b7f;
}

.tlc-prix {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.tlc-prix-nb {
    font-size: 27px;
    line-height: 1.15;
    font-weight: 800;
    color: #0b1b2e;
    letter-spacing: -.02em;
}

.tlc-prix-devise {
    font-size: 14px;
    font-weight: 700;
    color: #5b6b7f;
}

.tlc-prix-inconnu {
    font-size: 15px;
    line-height: 31px;
    font-weight: 600;
    color: #b42333;
}

.tlc-pied-droite {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
    padding-bottom: 3px;
    text-align: right;
}

.tlc-pied-solde {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.35;
    color: #5b6b7f;
}

.tlc-pied-reste {
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    color: #101828;
}

.tlc-pied-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #5b6b7f;
}

.tlc-manque {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px 8px 12px;
    border-radius: 14px;
    background: #fdeef0;
    color: #b42333;
}

.tlc-manque-textes {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.tlc-manque-titre {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}

.tlc-manque-valeur {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}

.tlc-manque a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 11px;
    border: 1.5px solid var(--brand);
    background: #ffffff;
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.tlc-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    border-radius: 18px;
    border: 0;
    background: var(--brand);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .005em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(23, 105, 224, .34);
    transition: transform 120ms ease-out;
}

.tlc-cta:active {
    transform: scale(.98);
}

.tlc-cta-fleche {
    transition: transform 160ms ease-out;
}

.tlc-cta[data-attente="true"] {
    background: #dfe6ea;
    color: #4a5868;
    box-shadow: none;
}

.tlc-cta[data-attente="true"]::before {
    display: none;
}

.tlc-cta[disabled] {
    cursor: progress;
    opacity: .85;
}

.tlc-cta-second {
    height: 52px;
    border: 1.5px solid var(--line);
    background: #ffffff;
    color: var(--brand-strong);
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
}

/* Attente, panne, fin */

.tlc-etat {
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 24px 60px;
    text-align: center;
}

.tlc-etat p {
    margin: 0;
    max-width: 300px;
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
}

.tlc-tourne {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(23, 105, 224, .18);
    border-top-color: var(--brand);
    animation: tlc-rotation 800ms linear infinite;
}

@keyframes tlc-rotation {
    to { transform: rotate(360deg); }
}

.tlc-fin {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px 16px 20px;
}

.tlc-fin-haut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.tlc-fin-rond {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
}

.tlc-onde {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid #34c48f;
    animation: tlc-onde 1.8s ease-out infinite;
}

@keyframes tlc-onde {
    from { transform: scale(.85); opacity: .55; }
    to { transform: scale(1.9); opacity: 0; }
}

.tlc-confetti {
    position: absolute;
    left: 34px;
    top: 34px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: tlc-confetti 1000ms 200ms cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes tlc-confetti {
    from { transform: translate(0, 0) rotate(0) scale(.4); opacity: 0; }
    15% { opacity: 1; }
    to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); opacity: 0; }
}

.tlc-c0 { --dx: -58px; --dy: -46px; --r: 150deg; background: #f9c64b; }
.tlc-c1 { --dx: -30px; --dy: -70px; --r: -120deg; background: var(--brand-bright); }
.tlc-c2 { --dx: 8px; --dy: -78px; --r: 200deg; background: #f57c97; }
.tlc-c3 { --dx: 44px; --dy: -62px; --r: -160deg; background: #8b7cf6; }
.tlc-c4 { --dx: 66px; --dy: -24px; --r: 110deg; background: #4cc698; }
.tlc-c5 { --dx: 62px; --dy: 26px; --r: -90deg; background: #f9c64b; }
.tlc-c6 { --dx: -66px; --dy: -8px; --r: 170deg; background: #40bfe0; }
.tlc-c7 { --dx: -54px; --dy: 34px; --r: -140deg; background: #f57c97; }
.tlc-c8 { --dx: 26px; --dy: 58px; --r: 130deg; background: var(--brand-bright); }
.tlc-c9 { --dx: -18px; --dy: 62px; --r: -110deg; background: #8b7cf6; }

.tlc-fin-coche {
    position: relative;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(140deg, #34c48f, #087252);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(8, 114, 82, .3);
    animation: tlc-pop 340ms cubic-bezier(.3, 1.5, .5, 1) backwards;
}

.tlc-trace {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: tlc-trace 520ms 260ms cubic-bezier(.6, 0, .2, 1) forwards;
}

@keyframes tlc-trace {
    to { stroke-dashoffset: 0; }
}

.tlc-fin-texte {
    margin: 0;
    max-width: 300px;
    font-size: 14px;
    line-height: 1.5;
    color: #5b6b7f;
    text-wrap: balance;
}

.tlc-fin-liste {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(16, 40, 70, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 24px rgba(30, 70, 90, .08);
}

.tlc-fin-liste > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(16, 40, 70, .08);
    font-size: 14px;
    line-height: 1.4;
}

.tlc-fin-liste > div:first-child {
    border-top: 0;
}

.tlc-fin-liste dt {
    flex: none;
    color: #5b6b7f;
}

.tlc-fin-liste dd {
    margin: 0;
    min-width: 0;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.tlc-fin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tlc-toast {
    position: fixed;
    left: 50%;
    top: 72px;
    z-index: 930;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(448px, calc(100% - 32px));
    padding: 12px 14px;
    border-radius: 14px;
    background: #0b1b2e;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 24px rgba(11, 27, 46, .25);
    transform: translateX(-50%);
    animation: tlc-toast 200ms ease-out;
}

.tlc-toast svg {
    flex: none;
    color: var(--brand-bright);
}

@keyframes tlc-toast {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Prix cachés au visiteur (réglage console) : texte simple à la place du montant. */
.tlc-svc-prix-cache {
    display: block;
    max-width: 92px;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--brand-strong);
    text-align: right;
}

.tlc-prix-inconnu.tlc-prix-masque {
    color: var(--brand-strong);
}

/* ---------- Ordinateur (tiroir) ---------- */

@keyframes tlc-glisse {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@media (min-width: 900px) {
    /* Le tiroir devient un panneau à droite, à hauteur d'écran. */
    .tlc-couche {
        justify-content: flex-end;
        align-items: stretch;
    }

    .tlc-tiroir {
        max-width: 540px;
        height: 100%;
        border-radius: 28px 0 0 28px;
        box-shadow: -16px 0 44px rgba(11, 27, 46, .24);
        animation-name: tlc-glisse;
    }

    .tlc-couche.tlc-ferme .tlc-tiroir {
        transform: translateX(100%);
    }

    .tlc-poignee {
        display: none;
    }

    .tlc-tete {
        touch-action: auto;
        padding-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tlc-tiroir,
    .tlc-voile,
    .tlc-volet,
    .tlc-volet-retour,
    .tlc-entre,
    .tlc-apparait,
    .tlc-halo,
    .tlc-coche,
    .tlc-fin-coche,
    .tlc-onde,
    .tlc-confetti,
    .tlc-toast,
    .tlc-raccourci[aria-pressed="true"],
    .tlc-contour::before {
        animation: none !important;
    }

    .tlc-trace {
        animation: none !important;
        stroke-dashoffset: 0;
    }

    .tlc-onde,
    .tlc-confetti {
        display: none;
    }

    .tlc-reseau,
    button.tlc-carte,
    .tlc-cta,
    .tlc-fleche,
    .tlc-cta-fleche,
    .tlc-progres,
    .tlc-couche.tlc-ferme .tlc-voile,
    .tlc-couche.tlc-ferme .tlc-tiroir {
        transition: none !important;
    }

    .tlc-reseau:active,
    button.tlc-carte:active,
    .tlc-cta:active {
        transform: none;
    }
}

/* ---------- Mode sombre ----------
   Même page, mêmes repères : fonds bleu nuit (ceux du gabarit
   client), textes clairs, bleu éclairci pour garder le contraste. Les
   logos des réseaux gardent leur couleur ; une fine bordure claire détache
   les tuiles noires (TikTok, X, Threads) du fond. */

:root[data-theme="dark"] .tlc { color: #edf5ff; }
:root[data-theme="dark"] .tlc input::placeholder { color: #94a8c6; }
:root[data-theme="dark"] .tlc :focus-visible { outline-color: var(--brand-bright); }

/* Tiroir */
:root[data-theme="dark"] .tlc-voile { background: rgba(2, 8, 10, .66); }
:root[data-theme="dark"] .tlc-tiroir { background: #101d31; box-shadow: 0 -10px 34px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .tlc-halo-1 { opacity: .35; }
:root[data-theme="dark"] .tlc-halo-2 { opacity: .3; }
:root[data-theme="dark"] .tlc-halo-3 { opacity: .55; }
:root[data-theme="dark"] .tlc-halos-fondu { background: linear-gradient(180deg, rgba(16, 29, 49, 0), #101d31); }
:root[data-theme="dark"] .tlc-poignee span { background: rgba(255, 255, 255, .24); }
:root[data-theme="dark"] .tlc-tete-logo { box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 18px rgba(0, 0, 0, .35); }
:root[data-theme="dark"] .tlc-tete-titre,
:root[data-theme="dark"] .tlc-titre,
:root[data-theme="dark"] .tlc-groupe-nom,
:root[data-theme="dark"] .tlc-svc-titre,
:root[data-theme="dark"] .tlc-svc-prix-nb,
:root[data-theme="dark"] .tlc-notes-bouton,
:root[data-theme="dark"] .tlc-notes strong,
:root[data-theme="dark"] .tlc-etiquette,
:root[data-theme="dark"] .tlc-saisie,
:root[data-theme="dark"] .tlc-champ input,
:root[data-theme="dark"] .tlc-forfait-titre,
:root[data-theme="dark"] .tlc-prix-nb,
:root[data-theme="dark"] .tlc-pied-reste,
:root[data-theme="dark"] .tlc-visage-choix[aria-pressed="true"] { color: #f5f9ff; }
:root[data-theme="dark"] .tlc-tete-chemin { color: #a9bbd6; }
:root[data-theme="dark"] .tlc-sous,
:root[data-theme="dark"] .tlc-groupe-note,
:root[data-theme="dark"] .tlc-cat-des,
:root[data-theme="dark"] .tlc-svc-prix-devise,
:root[data-theme="dark"] .tlc-svc-prix-pour,
:root[data-theme="dark"] .tlc-puce,
:root[data-theme="dark"] .tlc-puce svg,
:root[data-theme="dark"] .tlc-garantie,
:root[data-theme="dark"] .tlc-garantie svg,
:root[data-theme="dark"] .tlc-notes-chevron,
:root[data-theme="dark"] .tlc-notes p,
:root[data-theme="dark"] .tlc-consigne,
:root[data-theme="dark"] .tlc-champ-unite,
:root[data-theme="dark"] .tlc-forfait-sous,
:root[data-theme="dark"] .tlc-pied-titre,
:root[data-theme="dark"] .tlc-prix-devise,
:root[data-theme="dark"] .tlc-pied-solde,
:root[data-theme="dark"] .tlc-pied-note,
:root[data-theme="dark"] .tlc-etat p,
:root[data-theme="dark"] .tlc-fin-texte,
:root[data-theme="dark"] .tlc-fin-liste dt,
:root[data-theme="dark"] .tlc-visage-choix { color: #a9bbd6; }
:root[data-theme="dark"] .tlc-puce-vitesse svg { color: #f5b047; }
:root[data-theme="dark"] .tlc-retour,
:root[data-theme="dark"] .tlc-notes-info,
:root[data-theme="dark"] .tlc-svc-prix-cache,
:root[data-theme="dark"] .tlc-prix-inconnu.tlc-prix-masque { color: var(--brand-bright); }

:root[data-theme="dark"] .tlc-fermer { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #edf5ff; box-shadow: none; }
:root[data-theme="dark"] .tlc-nav { border-bottom-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); }
:root[data-theme="dark"] .tlc-etape { color: #94a8c6; }
:root[data-theme="dark"] .tlc-etape[data-etat="faite"] { color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-etape[data-etat="courante"] { color: #f5f9ff; }
:root[data-theme="dark"] .tlc-etape-rond { border-color: #3a5680; background: #16263d; color: #a9bbd6; }
:root[data-theme="dark"] .tlc-etape[data-etat="faite"] .tlc-etape-rond { border-color: var(--brand); background: rgba(107, 167, 255, .16); color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-etape[data-etat="courante"] .tlc-etape-rond { border-color: var(--brand); background: var(--brand-action, var(--brand)); color: var(--brand-action-ink, #ffffff); box-shadow: 0 0 0 4px rgba(107, 167, 255, .22); }
:root[data-theme="dark"] .tlc-progres { background: linear-gradient(90deg, var(--brand), var(--brand)); }

:root[data-theme="dark"] .tlc-carte,
:root[data-theme="dark"] .tlc-fin-liste,
:root[data-theme="dark"] .tlc-douche {
    border-color: rgba(255, 255, 255, .08);
    background: #16263d;
    color: #edf5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 8px 22px rgba(0, 0, 0, .28);
}
:root[data-theme="dark"] .tlc-carte.tlc-choisie { background: #1b3150; box-shadow: 0 0 0 1.5px var(--brand), 0 12px 28px rgba(0, 0, 0, .34); }
:root[data-theme="dark"] .tlc-fin-liste > div,
:root[data-theme="dark"] .tlc-pied { border-top-color: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .tlc-numero { border-color: #2d476a; background: rgba(255, 255, 255, .05); color: #a9bbd6; }
:root[data-theme="dark"] .tlc-garantie-oui { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
:root[data-theme="dark"] .tlc-garantie-oui svg { color: #34d399; }
:root[data-theme="dark"] .tlc-fleche,
:root[data-theme="dark"] .tlc-forfait-icone,
:root[data-theme="dark"] .tlc-bouton-doux { background: rgba(107, 167, 255, .16); color: var(--brand-bright); }

/* Familles de service : pastel clair -> teinte profonde, encre éclaircie. */
:root[data-theme="dark"] .tlc-t-followers { --tlc-doux: #262b4f; --tlc-fonce: #aab3ff; }
:root[data-theme="dark"] .tlc-t-likes { --tlc-doux: #43202f; --tlc-fonce: #ff9fc2; }
:root[data-theme="dark"] .tlc-t-views { --tlc-doux: #3d2a14; --tlc-fonce: #ffc27a; }
:root[data-theme="dark"] .tlc-t-comments { --tlc-doux: #173a2c; --tlc-fonce: #7ee2b5; }
:root[data-theme="dark"] .tlc-t-reactions { --tlc-doux: #3d2c0f; --tlc-fonce: #ffcc66; }
:root[data-theme="dark"] .tlc-t-shares { --tlc-doux: #133240; --tlc-fonce: #7fd3ee; }
:root[data-theme="dark"] .tlc-t-live { --tlc-doux: #42201f; --tlc-fonce: #ff9d96; }
:root[data-theme="dark"] .tlc-t-other { --tlc-doux: #29333f; --tlc-fonce: #c3cfdc; }
:root[data-theme="dark"] .tlc-tuile { background: linear-gradient(160deg, #1b2c46, var(--tlc-doux)); box-shadow: inset 0 0 0 1px rgba(var(--tlc-c), .38), 0 4px 10px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .tlc-tuile-visage,
:root[data-theme="dark"] .tlc-visage-rond { background: #f5f9ff; }
:root[data-theme="dark"] .tlc-visage-toutes { color: #fb923c; }
:root[data-theme="dark"] .tlc-coche { background: var(--brand-action, var(--brand)); color: var(--brand-action-ink, #ffffff); box-shadow: 0 0 0 2.5px #101d31; }

/* Formulaire */
:root[data-theme="dark"] .tlc-champ-icone { background: rgba(13, 135, 170, .2); color: #7fd3ee; }
:root[data-theme="dark"] .tlc-champ-icone-qte { background: rgba(79, 91, 213, .24); color: #aab3ff; }
:root[data-theme="dark"] .tlc-saisie,
:root[data-theme="dark"] .tlc-champ { border-color: #2d476a; background: #0d1727; }
:root[data-theme="dark"] .tlc-saisie:focus,
:root[data-theme="dark"] .tlc-champ:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(107, 167, 255, .26); }
:root[data-theme="dark"] .tlc-champ[data-invalide="true"] { border-color: #f87171; }
:root[data-theme="dark"] .tlc-saisie[aria-invalid="true"] { border-color: #f87171; }
:root[data-theme="dark"] .tlc-coms::placeholder { color: #7388a8; }
:root[data-theme="dark"] .tlc-coms-compte { color: #a9bbd6; }
:root[data-theme="dark"] .tlc-coms-compte[data-ok="true"] { color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-erreur,
:root[data-theme="dark"] .tlc-prix-inconnu { color: #fca5a5; }
:root[data-theme="dark"] .tlc-raccourci { border-color: #2d476a; background: #16263d; color: #edf5ff; }
:root[data-theme="dark"] .tlc-raccourci[aria-pressed="true"] { border-color: var(--brand); background: rgba(107, 167, 255, .18); color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-alerte,
:root[data-theme="dark"] .tlc-manque { background: rgba(239, 68, 68, .16); color: #fecaca; }
:root[data-theme="dark"] .tlc-manque a { border-color: var(--brand); background: transparent; color: var(--brand-bright); }

/* Pied du tiroir et boutons */
:root[data-theme="dark"] .tlc-pied { background: rgba(16, 29, 49, .86); box-shadow: 0 -8px 20px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .tlc-cta { background: var(--brand-action, var(--brand)); color: var(--brand-action-ink, #ffffff); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand-action, var(--brand)) 45%, transparent); }
:root[data-theme="dark"] .tlc-cta[data-attente="true"] { background: #243651; color: #a9bbd6; box-shadow: none; }
:root[data-theme="dark"] .tlc-cta-second { border-color: #2d476a; background: transparent; color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-contour::before { background: conic-gradient(from var(--tlc-a), var(--brand), var(--brand-bright) 22%, var(--brand) 46%, var(--brand-strong) 72%, var(--brand)); }
:root[data-theme="dark"] .tlc-tourne { border-color: rgba(107, 167, 255, .22); border-top-color: var(--brand-bright); }
:root[data-theme="dark"] .tlc-toast { background: #f5f9ff; color: #0b1b2e; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .tlc-toast svg { color: var(--brand-strong); }

/* Le gabarit commun pose ses styles d'éléments (liens, titres, champs) :
   la page Commander garde les siens. */
.tlc a:hover { text-decoration: none; }
.tlc h1,
.tlc h2,
.tlc h3 { white-space: normal; overflow: visible; }
.tlc-couche .tlc-champ input,
.tlc-couche .tlc-champ input:hover,
.tlc-couche .tlc-champ input:focus { min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tlc-couche label { margin-bottom: 0; }
.tlc-couche .tlc-saisie { min-height: 0; transition: border-color 150ms ease-out, box-shadow 150ms ease-out; }
.tlc-couche .tlc-saisie.tlc-coms { min-height: 148px; }

/* ---------- Ordinateur (1 100 px et plus) : l'espace de commande ----------
   Toucher un réseau ne glisse plus de tiroir : la zone du haut (diaporama +
   réseaux) laisse sa place à cet espace, dans la page. En-tête du réseau,
   puis trois colonnes visibles d'un coup : catégories, services, commande.
   Les pièces viennent du tiroir ; ici elles prennent les jetons du thème
   (customer.css) et le verre de l'accueil, en clair comme en sombre. Sous
   1 100 px, commander.js garde le tiroir. */

.tlc-bureau {
    scroll-margin-top: 84px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 548px;
    padding: 18px 22px 22px;
    border-radius: 30px;
    background: var(--tlc-verre);
    box-shadow: var(--tlc-verre-ombre), inset 0 0 0 1px var(--tlc-verre-bord);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
}

/* En-tête : retour, réseau choisi, autres réseaux */

.tlc-bureau-tete {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tlc-bureau-retour {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink-strong);
    font-size: 14.5px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px var(--tlc-carte-bord);
    transition: color .2s, box-shadow .2s;
}

.tlc-bureau-retour svg {
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.tlc-bureau-identite {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tlc-bureau-logo {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 17px;
}

.tlc-bureau-textes {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tlc .tlc-bureau-titre {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tlc-bureau-compte {
    font-size: 14px;
    line-height: 1.35;
    color: var(--muted);
}

.tlc-bureau-reseaux {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--panel) 72%, transparent);
    box-shadow: inset 0 0 0 1px var(--tlc-carte-bord);
}

.tlc-bureau-puce {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
}

.tlc-bureau-puce-tuile {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    transition: transform .3s cubic-bezier(.3, 1.5, .5, 1);
}

.tlc-bureau-puce[aria-current="true"] {
    background: var(--panel);
    box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 0 0 2px var(--brand);
    cursor: default;
}

@media (hover: hover) {
    .tlc-bureau-retour:hover {
        color: var(--brand-strong);
        box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent);
    }

    .tlc-bureau-retour:hover svg {
        transform: translateX(-3px);
    }

    .tlc-bureau-puce:not([aria-current="true"]):hover {
        background: color-mix(in srgb, var(--panel) 80%, transparent);
    }

    .tlc-bureau-puce:not([aria-current="true"]):hover .tlc-bureau-puce-tuile {
        transform: translateY(-2px) scale(1.06);
    }
}

/* Trois colonnes : la commande reste à l'écran pendant qu'on parcourt les services. */

.tlc-bureau-grille {
    display: grid;
    grid-template-columns: minmax(200px, 236px) minmax(0, 1fr) minmax(340px, 384px);
    gap: 20px;
    align-items: start;
}

.tlc-bureau-col {
    min-width: 0;
}

.tlc-bureau-cats,
.tlc-bureau-commande {
    position: sticky;
    top: 84px;
}

.tlc .tlc-bureau-col-titre {
    margin: 4px 0 10px 4px;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.tlc-bureau-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tlc-page .tlc-bureau .tlc-bureau-cat {
    min-height: 0;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 16px;
}

.tlc-bureau-cat .tlc-tuile {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.tlc-bureau-cat .tlc-tuile svg {
    width: 21px;
    height: 21px;
}

.tlc-bureau-cat .tlc-cat-textes {
    gap: 2px;
}

.tlc-bureau-cat-ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tlc-page .tlc-bureau .tlc-cat-nom {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink-strong);
}

.tlc-bureau-cat-nombre {
    flex: none;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--tlc-doux);
    color: var(--tlc-fonce);
    font-size: 12px;
    font-weight: 700;
}

.tlc-page .tlc-bureau .tlc-cat-des {
    font-size: 12.5px;
    color: var(--muted);
}

.tlc-bureau-services {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tlc-bureau-col-tete {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tlc-bureau-services .tlc-bloc-tete {
    gap: 2px;
    padding: 4px 4px 0;
}

.tlc-bureau-services .tlc-pile {
    gap: 10px;
}

/* La carte de commande : défile seule si l'écran est bas, prix et bouton restent
   en bas. Sa hauteur tient dans l'écran dès l'ouverture (sous l'en-tête du
   site et celui de l'espace), sans attendre qu'on fasse défiler la page. */
.tlc-bureau-carte {
    display: flex;
    flex-direction: column;
    max-height: max(440px, calc(100vh - 204px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px var(--tlc-carte-bord);
}

.tlc-bureau-commande-corps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 18px 14px;
}

.tlc-page .tlc-bureau .tlc-bureau-commande-corps .tlc-titre {
    font-size: 18px;
}

.tlc-bureau-commande-corps .tlc-champ-bloc {
    gap: 8px;
}

.tlc-bureau-choix {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--chip) 60%, transparent);
    box-shadow: inset 0 0 0 1px var(--line);
}

.tlc-bureau-choix .tlc-tuile {
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.tlc-bureau-choix-textes {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tlc-bureau-choix-nom {
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 650;
    color: var(--ink-strong);
}

.tlc-bureau-choix-prix {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    white-space: nowrap;
}

.tlc-bureau-choix-prix b {
    font-size: 14.5px;
    font-weight: 750;
    color: var(--ink-strong);
}

.tlc-bureau-choix-prix small {
    font-size: 12px;
    color: var(--muted);
}

.tlc-bureau-fin {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.tlc-bureau-corps > .tlc-etat {
    min-height: 420px;
}

/* Rendu discret (choix d'un service, d'une catégorie) : pas de nouvelle entrée. */
.tlc-bureau-calme .tlc-entre,
.tlc-bureau-calme .tlc-coche {
    animation: none;
}

/* Les pièces du tiroir aux couleurs du thème (clair et sombre). */

.tlc-page .tlc-bureau .tlc-carte {
    border-color: transparent;
    background: var(--panel);
    color: var(--ink);
    box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px var(--tlc-carte-bord);
}

.tlc-page .tlc-bureau .tlc-carte.tlc-choisie {
    background: color-mix(in srgb, var(--brand) 7%, var(--panel));
    box-shadow: 0 14px 30px -20px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 0 0 2px var(--brand);
}

@media (hover: hover) {
    .tlc-page .tlc-bureau button.tlc-carte:not(.tlc-choisie):hover {
        box-shadow: var(--tlc-carte-ombre), inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent);
    }
}

.tlc-page .tlc-bureau .tlc-titre,
.tlc-page .tlc-bureau .tlc-svc-titre,
.tlc-page .tlc-bureau .tlc-svc-prix-nb,
.tlc-page .tlc-bureau .tlc-groupe-nom,
.tlc-page .tlc-bureau .tlc-notes-bouton,
.tlc-page .tlc-bureau .tlc-notes strong,
.tlc-page .tlc-bureau .tlc-etiquette,
.tlc-page .tlc-bureau .tlc-saisie,
.tlc-page .tlc-bureau .tlc-champ input,
.tlc-page .tlc-bureau .tlc-forfait-titre,
.tlc-page .tlc-bureau .tlc-prix-nb,
.tlc-page .tlc-bureau .tlc-pied-reste,
.tlc-page .tlc-bureau .tlc-fin-liste dd,
.tlc-page .tlc-bureau .tlc-visage-choix[aria-pressed="true"] {
    color: var(--ink-strong);
}

.tlc-page .tlc-bureau .tlc-sous,
.tlc-page .tlc-bureau .tlc-groupe-note,
.tlc-page .tlc-bureau .tlc-svc-prix-devise,
.tlc-page .tlc-bureau .tlc-svc-prix-pour,
.tlc-page .tlc-bureau .tlc-puce,
.tlc-page .tlc-bureau .tlc-garantie,
.tlc-page .tlc-bureau .tlc-notes-chevron,
.tlc-page .tlc-bureau .tlc-notes p,
.tlc-page .tlc-bureau .tlc-consigne,
.tlc-page .tlc-bureau .tlc-champ-unite,
.tlc-page .tlc-bureau .tlc-forfait-sous,
.tlc-page .tlc-bureau .tlc-pied-titre,
.tlc-page .tlc-bureau .tlc-prix-devise,
.tlc-page .tlc-bureau .tlc-pied-solde,
.tlc-page .tlc-bureau .tlc-pied-note,
.tlc-page .tlc-bureau .tlc-etat p,
.tlc-page .tlc-bureau .tlc-fin-texte,
.tlc-page .tlc-bureau .tlc-fin-liste dt,
.tlc-page .tlc-bureau .tlc-visage-choix {
    color: var(--muted);
}

.tlc-page .tlc-bureau .tlc-numero {
    border-color: var(--line);
    background: var(--panel);
    color: var(--muted);
}

.tlc-page .tlc-bureau .tlc-douche,
.tlc-page .tlc-bureau .tlc-fin-liste {
    border-color: transparent;
    background: color-mix(in srgb, var(--chip) 55%, var(--panel));
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

.tlc-page .tlc-bureau .tlc-fin-liste > div {
    border-top-color: var(--line);
}

.tlc-page .tlc-bureau .tlc-notes-info,
.tlc-page .tlc-bureau .tlc-svc-prix-cache,
.tlc-page .tlc-bureau .tlc-prix-inconnu.tlc-prix-masque {
    color: var(--brand-strong);
}

.tlc-page .tlc-bureau .tlc-coche {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 0 0 2.5px var(--panel);
}

.tlc-page .tlc-bureau .tlc-bouton-doux,
.tlc-page .tlc-bureau .tlc-forfait-icone {
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.tlc-page .tlc-bureau .tlc-visage-choix[aria-pressed="true"] .tlc-visage-rond {
    box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}

/* Champs */
.tlc-page .tlc-bureau .tlc-saisie,
.tlc-page .tlc-bureau .tlc-champ {
    height: 50px;
    border-color: color-mix(in srgb, var(--ink) 16%, transparent);
    background: var(--panel);
}

.tlc-page .tlc-bureau .tlc-champ input,
.tlc-page .tlc-bureau .tlc-champ input:hover,
.tlc-page .tlc-bureau .tlc-champ input:focus {
    min-height: 0;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tlc-page .tlc-bureau .tlc-saisie {
    min-height: 0;
    transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.tlc-page .tlc-bureau label {
    margin-bottom: 0;
}

.tlc-page .tlc-bureau .tlc-saisie:focus,
.tlc-page .tlc-bureau .tlc-champ:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.tlc-page .tlc-bureau .tlc-saisie[aria-invalid="true"],
.tlc-page .tlc-bureau .tlc-champ[data-invalide="true"] {
    border-color: var(--bad);
}

/* La case des commentaires garde sa hauteur (les cases d'une ligne font 50 px). */
.tlc-page .tlc-bureau .tlc-saisie.tlc-coms {
    height: auto;
    min-height: 148px;
}

.tlc-page .tlc-bureau .tlc-coms-compte {
    color: var(--muted);
}

.tlc-page .tlc-bureau .tlc-coms-compte[data-ok="true"] {
    color: var(--brand-strong);
}

.tlc-page .tlc-bureau .tlc-erreur,
.tlc-page .tlc-bureau .tlc-prix-inconnu {
    color: var(--bad);
}

.tlc-page .tlc-bureau .tlc-raccourci {
    height: 42px;
    border-color: var(--line);
    background: var(--panel);
    color: var(--ink-strong);
}

.tlc-page .tlc-bureau .tlc-raccourci[aria-pressed="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.tlc-page .tlc-bureau .tlc-champ-icone {
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    color: var(--brand-strong);
}

.tlc-page .tlc-bureau .tlc-alerte,
.tlc-page .tlc-bureau .tlc-manque {
    background: var(--bad-soft);
    color: var(--bad);
}

.tlc-page .tlc-bureau .tlc-manque a {
    border-color: var(--brand);
    background: var(--panel);
    color: var(--brand-strong);
}

/* Pied : prix et bouton, collés au bas de la carte de commande. */
.tlc-page .tlc-bureau .tlc-pied {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    box-shadow: 0 -10px 22px -18px rgba(16, 40, 70, .35);
}

/* Le seul bouton plein : couleur d'action du thème. */
.tlc-page .tlc-bureau .tlc-cta {
    height: 54px;
    border-radius: 16px;
    background: var(--tlc-plein);
    color: var(--tlc-plein-encre);
    box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--tlc-plein) 80%, transparent);
}

/* Reflet blanc qui tourne sur le bouton, en clair comme en sombre. */
.tlc-page .tlc-bureau .tlc-contour-clair::before {
    background: conic-gradient(from var(--tlc-a), rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 16%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .6) 76%, rgba(255, 255, 255, 0));
}

.tlc-page .tlc-bureau .tlc-cta[data-attente="true"] {
    background: var(--chip);
    color: var(--muted);
    box-shadow: none;
}

.tlc-page .tlc-bureau .tlc-cta-second {
    border: 1.5px solid var(--line);
    background: var(--panel);
    color: var(--brand-strong);
    box-shadow: none;
}

.tlc-page .tlc-bureau .tlc-tourne {
    border-color: color-mix(in srgb, var(--brand) 22%, transparent);
    border-top-color: var(--brand);
}

@media (hover: hover) {
    .tlc-page .tlc-bureau .tlc-cta:not([data-attente="true"]):not([disabled]):hover {
        background: var(--tlc-plein-fort);
    }

    .tlc-page .tlc-bureau .tlc-cta:hover .tlc-cta-fleche {
        transform: translateX(3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tlc-bureau-puce,
    .tlc-bureau-puce-tuile,
    .tlc-bureau-retour,
    .tlc-bureau-retour svg {
        transition: none !important;
    }
}

/* Sous 1 400 px, la languette « En cours » du suivi (customer.css, fixée au
   bord droit, 70 px) recouvrirait la carte de commande : on lui laisse sa place. */
@media (min-width: 1100px) and (max-width: 1399px) {
    body:has(.order-tray-tab) .tlc-corps:has(> .tlc-bureau:not([hidden])) {
        padding-right: 88px;
    }
}

/* Écrans de 1 100 à 1 279 px : colonnes un peu plus serrées. */
@media (max-width: 1279px) {
    .tlc-bureau {
        padding: 16px 18px 18px;
    }

    .tlc-bureau-grille {
        grid-template-columns: minmax(190px, 214px) minmax(0, 1fr) minmax(320px, 352px);
        gap: 16px;
    }
}
