/* ==========================================================================
   MIKAA.WEB — Système visuel « Fiche technique »
   Une seule feuille de style pour l'ensemble du site.
   Direction : grille de dessin technique, hairlines, indices, monospace
   pour la donnée, Avenir Next pour la voix, #00ff88 comme signal.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */
:root {
    /* Noirs — le vert du signal est très légèrement infusé dans les gris
       pour que l'ensemble tienne comme une seule famille chromatique. */
    --ink:        #0a0a0a;
    --ink-1:      #0c0e0d;
    --ink-2:      #101312;
    --ink-3:      #161a18;
    --ink-4:      #1d2220;

    /* Papier — une seule section du site est imprimée. */
    --paper:      #f2f4f2;
    --paper-2:    #e4e8e5;
    --paper-ink:  #0a0a0a;

    /* Signal */
    --sig:        #00ff88;
    --sig-2:      #00e079;
    --sig-deep:   #007a41;
    --sig-glow:   rgba(0, 255, 136, .16);
    --sig-faint:  rgba(0, 255, 136, .08);

    /* Encres de texte */
    --fg:         #f2f5f3;
    --fg-2:       rgba(242, 245, 243, .66);
    --fg-3:       rgba(242, 245, 243, .42);
    --fg-4:       rgba(242, 245, 243, .26);

    /* Traits */
    --line:       rgba(242, 245, 243, .10);
    --line-2:     rgba(242, 245, 243, .20);
    --line-3:     rgba(242, 245, 243, .34);
    --line-ghost: rgba(242, 245, 243, .045);

    /* Typographie */
    --sans: "Avenir Next", "Avenir Next LT Pro", "AvenirNext-Regular", Avenir,
            "Nunito Sans", "Segoe UI Variable Text", "Segoe UI", Roboto,
            system-ui, -apple-system, sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "JetBrains Mono",
            "Roboto Mono", "Cascadia Mono", Consolas, monospace;

    /* Mesure */
    --maxw: 1480px;
    --gut:  clamp(20px, 4.6vw, 76px);
    --sec:  clamp(76px, 8.6vw, 132px);
    --sec-b: clamp(52px, 5.6vw, 84px);

    /* Courbes */
    --ease:     cubic-bezier(.22, 1, .36, 1);
    --ease-mec: cubic-bezier(.65, 0, .35, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--fg);
    font-family: var(--sans);
    font-size: clamp(.95rem, .35vw + .88rem, 1.0625rem);
    line-height: 1.62;
    font-weight: 400;
    letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
p  { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--sig); color: var(--ink); text-shadow: none; }

:focus-visible {
    outline: 2px solid var(--sig);
    outline-offset: 3px;
    border-radius: 1px;
}

.vh {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
    position: fixed; top: 10px; left: 10px; z-index: 999;
    transform: translateY(-160%);
    background: var(--sig); color: var(--ink);
    padding: 12px 20px; font-weight: 600; font-size: .85rem;
    transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------------------------
   3. Primitives de mise en page
   -------------------------------------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gut);
}

/* La trame verticale : quatre colonnes, cinq filets, calés sur la gouttière
   du conteneur. Fixée, donc elle ne coûte rien au scroll et donne au site
   son squelette visible — la « feuille de dessin » de toute la direction. */
.rules {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none;
}
.rules-in {
    max-width: var(--maxw); height: 100%;
    margin-inline: auto; padding-inline: var(--gut);
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.rules-in i { border-left: 1px solid var(--line-ghost); }
.rules-in i:last-child { border-right: 1px solid var(--line-ghost); }
@media (max-width: 760px) {
    .rules-in { grid-template-columns: repeat(2, 1fr); }
}

/* Variante encre, pour la section imprimée */
.rules--ink { position: absolute; }
.rules--ink .rules-in i { border-color: rgba(10, 10, 10, .07); }

main, .site-head, .site-foot { position: relative; z-index: 1; }

/* Barre de progression de lecture — scroll-timeline CSS, zéro JavaScript.
   Là où elle n'est pas connue, elle reste simplement à zéro et invisible. */
.progress {
    position: fixed; top: 0; left: 0; z-index: 90;
    height: 2px; width: 100%;
    background: var(--sig);
    transform: scaleX(0); transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
    .progress {
        animation: prog linear both;
        animation-timeline: scroll(root block);
    }
}
@keyframes prog { to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   4. Éléments typographiques récurrents
   -------------------------------------------------------------------------- */
.mono {
    font-family: var(--mono);
    font-size: .6875rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
}

.sig { color: var(--sig); }

/* Titre de section : indice, filet, intitulé. Le même objet partout. */
.sec-head {
    display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
    padding-bottom: clamp(26px, 3.4vw, 44px);
}
.sec-idx {
    font-family: var(--mono); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; color: var(--sig);
    flex: none;
}
.sec-kicker {
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
    flex: none;
}
.sec-line { flex: 1 1 auto; height: 1px; background: var(--line-2); }

.sec-title {
    font-size: clamp(1.9rem, 4.4vw, 3.5rem);
    letter-spacing: -.038em;
    line-height: 1.02;
    max-width: 18ch;
    text-wrap: balance;
}
.sec-title em {
    font-style: normal;
    color: var(--sig);
}
.sec-lead {
    margin-top: clamp(18px, 2vw, 26px);
    color: var(--fg-2);
    max-width: 56ch;
    font-size: clamp(1rem, .5vw + .9rem, 1.15rem);
    text-wrap: pretty;
}

/* Boutons — arêtes vives, pas de librairie, pas de dégradé. */
.btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 26px;
    font-weight: 600; font-size: .9375rem; letter-spacing: -.01em;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: background .28s var(--ease), color .28s var(--ease),
                border-color .28s var(--ease), transform .28s var(--ease);
    will-change: transform;
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--sig { background: var(--sig); color: var(--ink); }
.btn--sig:hover { background: #5affae; transform: translateY(-2px); }

.btn--line { border-color: var(--line-2); color: var(--fg); }
.btn--line:hover { border-color: var(--sig); color: var(--sig); }

.btn--block { width: 100%; justify-content: center; }

/* Lien avec filet qui se dessine */
.ulink {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding-bottom: 3px;
    color: var(--fg);
    transition: color .25s var(--ease);
}
.ulink::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: 100% 50%;
    transition: transform .4s var(--ease);
}
.ulink:hover { color: var(--sig); }
.ulink:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* Révélations : 14px et une opacité. Rien de plus. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   5. En-tête
   -------------------------------------------------------------------------- */
.site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 80;
    border-bottom: 1px solid transparent;
    transition: border-color .35s var(--ease);
}
/* Le fond flouté vit sur un pseudo-élément : s'il vivait sur .site-head
   lui-même, le filtre y créerait un bloc de positionnement qui casserait
   le menu mobile en position fixed dès que l'en-tête est « collé ». */
.site-head::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: transparent;
    transition: background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); }
.site-head.is-stuck::before {
    background: rgba(10, 10, 10, .86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.head-in {
    max-width: var(--maxw); margin-inline: auto;
    padding: 0 var(--gut);
    height: 76px;
    display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
    transition: height .35s var(--ease);
}
.site-head.is-stuck .head-in { height: 62px; }

.mark {
    font-weight: 700; font-size: 1.02rem;
    letter-spacing: .01em;
    flex: none;
    display: inline-flex; align-items: baseline;
}
.mark b { font-weight: 700; }
.mark i { font-style: normal; color: var(--sig); display: inline-block; }

.head-nav {
    display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px);
    margin-left: auto;
}
.head-nav a {
    position: relative;
    display: inline-flex; align-items: baseline; gap: 7px;
    font-size: .875rem; font-weight: 500; letter-spacing: -.01em;
    color: var(--fg-2);
    padding: 6px 0;
    transition: color .25s var(--ease);
}
.head-nav a .n {
    font-family: var(--mono); font-size: .625rem; font-weight: 600;
    letter-spacing: .06em; color: var(--fg-4);
    transition: color .25s var(--ease);
}
.head-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--sig);
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .4s var(--ease);
}
.head-nav a:hover,
.head-nav a[aria-current="true"] { color: var(--fg); }
.head-nav a:hover .n,
.head-nav a[aria-current="true"] .n { color: var(--sig); }
.head-nav a[aria-current="true"]::after { transform: scaleX(1); }

.head-cta {
    flex: none;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    font-size: .8125rem; font-weight: 600;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    transition: background .28s var(--ease), color .28s var(--ease),
                border-color .28s var(--ease);
}
.head-cta::before {
    content: ''; width: 6px; height: 6px; background: var(--sig);
    animation: pulse 2.6s var(--ease) infinite;
}
.head-cta:hover { background: var(--sig); color: var(--ink); border-color: var(--sig); }
.head-cta:hover::before { background: var(--ink); }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.7); }
}

@media (max-width: 1000px) {
    .head-nav, .head-cta { display: none; }
}

/* Menu mobile : <details> natif. Il s'ouvre sans JavaScript et ne peut pas
   se bloquer dans un état intermédiaire. */
.mnav { margin-left: auto; }
.mnav > summary {
    list-style: none; cursor: pointer;
    width: 44px; height: 44px; margin-right: -10px;
    display: none; align-items: center; justify-content: center;
    gap: 5px; flex-direction: column;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary i {
    display: block; width: 22px; height: 1.5px; background: var(--fg);
    transition: transform .35s var(--ease), opacity .2s;
}
.mnav[open] > summary i:first-child { transform: translateY(3.25px) rotate(45deg); }
.mnav[open] > summary i:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.mnav-panel {
    position: fixed; inset: 76px 0 0;
    background: var(--ink);
    border-top: 1px solid var(--line);
    padding: clamp(24px, 6vw, 48px) var(--gut) 40px;
    display: flex; flex-direction: column;
    overflow-y: auto;
    animation: panel .34s var(--ease) both;
}
@keyframes panel { from { opacity: 0; transform: translateY(-8px); } }
.mnav-panel a.big {
    display: flex; align-items: baseline; gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.5rem, 7vw, 2rem);
    font-weight: 600; letter-spacing: -.035em;
}
.mnav-panel a.big span {
    font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em;
    color: var(--sig);
}
.mnav-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mnav-foot a { color: var(--fg-2); font-size: .95rem; }
.mnav-foot .btn { margin-top: 12px; }

@media (max-width: 1000px) {
    .mnav > summary { display: flex; }
}
@media (min-width: 1001px) {
    .mnav { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(126px, 15vh, 190px);
    padding-bottom: clamp(40px, 6vw, 76px);
    overflow: hidden;
}

/* Un seul halo, très bas en opacité, calé en haut à gauche du titre :
   il éclaire la composition sans jamais devenir un décor. */
.hero::before {
    content: ''; position: absolute;
    top: -18%; left: -10%; width: min(920px, 90vw); aspect-ratio: 1;
    background: radial-gradient(circle at 50% 50%, var(--sig-glow), transparent 62%);
    filter: blur(20px);
    pointer-events: none;
}

/* Bandeau de métadonnées : trois cellules séparées par des filets. */
.hero-meta {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center; gap: clamp(12px, 2vw, 24px);
    padding-bottom: clamp(30px, 4.5vw, 54px);
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3);
}
.hero-meta .flag {
    width: 13px; height: 13px; flex: none;
    display: inline-block; vertical-align: -2px; margin-right: 8px;
}
.hero-meta hr { flex: 1; height: 1px; width: 100%; background: var(--line); border: 0; margin: 0; }
.hero-meta .live { color: var(--sig); display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live::before {
    content: ''; width: 6px; height: 6px; background: var(--sig);
    border-radius: 50%; animation: pulse 2.6s var(--ease) infinite;
}
@media (max-width: 760px) {
    .hero-meta { grid-template-columns: 1fr auto; gap: 10px; }
    .hero-meta hr, .hero-meta .mid { display: none; }
}

/* Le titre. Aligné à gauche, sur trois lignes maîtrisées, avec un mot
   au trait vert : la promesse — sur mesure — est le seul mot signalé. */
.hero-h {
    font-size: clamp(3.1rem, 11vw, 11rem);
    font-weight: 600;
    letter-spacing: -.048em;
    line-height: .93;
    margin: 0;
}
.hero-h .ln { display: block; overflow: hidden; }
.hero-h .ln > span {
    display: block;
    animation: rise 1s var(--ease) both;
    animation-delay: var(--d, 0ms);
}
@keyframes rise { from { transform: translateY(110%); } }
@media (prefers-reduced-motion: reduce) {
    .hero-h .ln > span { animation: none; }
}
/* Le mot-clé porte seul la couleur de signal : pas besoin d'un filet
   vert sous un mot déjà vert. */
.hero-h .mark-sig { color: var(--sig); white-space: nowrap; }

.hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 72px);
    align-items: end;
    padding-top: clamp(30px, 4vw, 52px);
}
.hero-lead {
    font-size: clamp(1.0625rem, .6vw + .95rem, 1.375rem);
    line-height: 1.55;
    color: var(--fg-2);
    max-width: 46ch;
    text-wrap: pretty;
}
.hero-lead b { color: var(--fg); font-weight: 600; }

.hero-act { display: flex; flex-wrap: wrap; gap: 12px; }


@media (max-width: 700px) {
    /* Sur mobile, le hero occupe l'écran entier et le titre domine
       davantage : c'est le seul message que le visiteur doit retenir
       avant de faire défiler. */
    .hero {
        min-height: 100svh;
        display: flex;
        align-items: center;
        padding-block: 104px 40px;
        box-sizing: border-box;
    }
    .hero .shell { width: 100%; }
    .hero-h { font-size: clamp(3.6rem, 17vw, 5.2rem); }
    .hero-h .ln:first-child { padding-bottom: .12em; }
}

@media (max-width: 900px) {
    .hero-body { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   7. Bande clients
   -------------------------------------------------------------------------- */
.clients {
    padding: clamp(40px, 5vw, 66px) 0 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
}
.clients-t {
    display: flex; align-items: center; gap: 16px;
    padding-bottom: clamp(26px, 3vw, 40px);
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.clients-t hr { flex: 1; height: 1px; background: var(--line); border: 0; margin: 0; min-width: 24px; }
.clients-t > span { flex: none; }
.clients-t b { color: var(--sig); font-weight: 600; }

/* Un bandeau imprimé en pleine laisse : les marques reprennent leurs
   couleurs d'origine, comme sur un papier à en-tête. */
.band-wrap {
    background: #fff;
    padding-block: clamp(34px, 4.4vw, 58px);
    overflow: hidden;
}
.band { display: flex; width: max-content; }
.band-tr {
    display: flex; align-items: center; flex: none;
    animation: slide 52s linear infinite;
}
@keyframes slide { to { transform: translateX(-100%); } }
.band-tr li {
    flex: none;
    padding-inline: clamp(26px, 3.6vw, 58px);
    display: flex; align-items: center;
}
/* Toutes les marques au même gris : la bande reste calme et ne s'arrête
   jamais, y compris au survol. */
.band-tr img {
    height: clamp(36px, 3.6vw, 52px); width: auto;
    max-width: 200px; object-fit: contain;
    filter: grayscale(1) contrast(.92);
    opacity: .55;
}
/* Une seule marque est trop claire pour du blanc : on la ramène au noir. */
.band-tr img.on-white { filter: grayscale(1) brightness(0); opacity: .42; }
@media (prefers-reduced-motion: reduce) {
    .band-tr { animation: none; }
    .band { overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   9. Services — l'échelle typographique encode la hiérarchie
   -------------------------------------------------------------------------- */
.services { padding: var(--sec) 0 var(--sec-b); }

.svc {
    border-top: 1px solid var(--line-2);
    padding-top: clamp(26px, 3vw, 40px);
    padding-bottom: clamp(38px, 5vw, 70px);
    position: relative;
}
.svc-rank {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: .625rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--fg-3);
    padding-bottom: clamp(18px, 2.4vw, 30px);
}
.svc-rank i { font-style: normal; color: var(--sig); }
.svc-rank .tag {
    color: var(--ink); background: var(--sig);
    padding: 3px 9px; letter-spacing: .14em;
}
.svc-h { letter-spacing: -.042em; text-wrap: balance; }
.svc-p { color: var(--fg-2); text-wrap: pretty; }
.svc-p a { color: var(--sig); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--fg-3);
    border: 1px solid var(--line);
    padding: 5px 10px;
    transition: border-color .25s var(--ease), color .25s var(--ease);
}
.chips li:hover { border-color: var(--line-3); color: var(--fg); }

/* — §01 Sites web sur mesure : le bloc dominant */
.svc--1 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(28px, 4.5vw, 72px); row-gap: 0; }
.svc--1 .svc-rank { grid-column: 1 / -1; }
.svc--1 .svc-h { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.svc--1 .svc-p { font-size: clamp(1rem, .45vw + .92rem, 1.1875rem); margin-top: clamp(20px, 2.4vw, 30px); max-width: 48ch; }
.svc--1 .chips { margin-top: clamp(24px, 3vw, 36px); }
.svc-media { position: relative; align-self: start; }
.svc-media img {
    width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
    filter: grayscale(1) contrast(1.06) brightness(.86);
    transition: filter .6s var(--ease);
}
.svc-media:hover img { filter: grayscale(0) contrast(1) brightness(1); }
/* Repères d'imprimeur aux angles de l'image */
.svc-media::before, .svc-media::after {
    content: ''; position: absolute; width: 18px; height: 18px;
    border: 1px solid var(--sig); pointer-events: none;
}
.svc-media::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.svc-media::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* — §02 Applications web */
.svc--2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 68px); row-gap: 0; }
.svc--2 .svc-rank { grid-column: 1 / -1; }
.svc--2 .svc-h { font-size: clamp(1.75rem, 4vw, 3.1rem); }
.svc--2 .svc-p { margin-top: 18px; max-width: 46ch; }
.svc--2 .chips { margin-top: 24px; }
.speclist { align-self: center; }
.speclist li {
    display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 14px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: .9375rem;
}
.speclist li:first-child { border-top: 1px solid var(--line); }
.speclist .k {
    font-family: var(--mono); font-size: .625rem; letter-spacing: .1em;
    color: var(--sig);
}
.speclist .v { color: var(--fg); font-weight: 500; }
.speclist .m { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; color: var(--fg-4); text-transform: uppercase; }

/* — §03 : pleine laisse, juste sous les applications web */
.svc--3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 68px); row-gap: 0; }
.svc--3 .svc-rank { grid-column: 1 / -1; }
.svc--3 .svc-h { font-size: clamp(1.6rem, 3.4vw, 2.65rem); }
.svc--3 .svc-p { margin-top: 18px; max-width: 46ch; }
.svc--3 .chips { margin-top: 24px; }

/* — §04 : le dernier échelon, volontairement le plus discret */
.svc--4 { padding-bottom: 0; }
.svc--4 .svc-h { font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
.svc--4 .svc-p { margin-top: 14px; font-size: .9375rem; max-width: 62ch; }
.svc--4 .chips { margin-top: 20px; }

@media (max-width: 900px) {
    .svc--1, .svc--2, .svc--3 { grid-template-columns: 1fr; }
    .svc--1 .svc-rank  { order: -2; }
    .svc--1 .svc-media { order: -1; margin-bottom: 6px; }
    .speclist { display: none; }
}

/* --------------------------------------------------------------------------
   10. Réalisations — plaques asymétriques, cadrées comme un navigateur
   -------------------------------------------------------------------------- */
.work { padding: var(--sec) 0 var(--sec-b); }

.plates { display: grid; gap: clamp(38px, 5vw, 78px); padding-top: clamp(28px, 3.4vw, 46px); }

/* Décalages sur douze colonnes : aucune plaque n'occupe la même laisse.
   C'est la composition, et non un effet, qui rend la section mémorable. */
/* L'image occupe sept colonnes, le titre les cinq autres, et le sens de
   lecture s'inverse d'une plaque à l'autre. */
.plate > a {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(22px, 3vw, 52px);
    align-items: end;
}
.plate > a .frame      { grid-column: 1 / 8; grid-row: 1; }
.plate > a .plate-info { grid-column: 8 / 13; grid-row: 1; }
.plate:nth-child(even) > a .frame      { grid-column: 6 / 13; }
.plate:nth-child(even) > a .plate-info { grid-column: 1 / 6; }

.frame {
    border: 1px solid var(--line-2);
    background: var(--ink-2);
    position: relative;
    transition: border-color .45s var(--ease), transform .55s var(--ease),
                box-shadow .55s var(--ease);
    will-change: transform;
}
.plate > a:hover .frame {
    border-color: var(--line-3);
    transform: translateY(-6px);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
/* Barre de navigateur : rappelle sans détour que l'objet livré est un site. */
.frame-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
}
.frame-bar i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--line-2); flex: none;
    transition: background .45s var(--ease);
}
.plate > a:hover .frame-bar i:first-child { background: var(--sig); }
.frame-bar span {
    margin-left: 8px;
    font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em;
    color: var(--fg-3);
    transition: color .45s var(--ease);
}
.plate > a:hover .frame-bar span { color: var(--fg-2); }
.frame-shot { overflow: hidden; }
.frame-shot img {
    width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; object-position: top center;
    filter: saturate(.82) brightness(.92);
    transform: scale(1.001);
    transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.plate > a:hover .frame-shot img {
    transform: scale(1.035);
    filter: saturate(1) brightness(1);
}

.plate-info { padding-top: clamp(6px, .8vw, 12px); }
.plate-head { position: relative; padding-bottom: clamp(12px, 1.4vw, 18px); }

/* Trois vues du site, sous le titre. */
.plate-thumbs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(6px, .7vw, 10px);
    margin-top: clamp(20px, 2.4vw, 30px);
}
.plate-thumbs li { border: 1px solid var(--line); overflow: hidden; background: var(--ink-2); }
.plate-thumbs img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    filter: saturate(.8) brightness(.82);
    transition: filter .5s var(--ease), transform .8s var(--ease);
}
.plate > a:hover .plate-thumbs img { filter: none; transform: scale(1.04); }
/* Le filet vert se dessine sous l'information au survol. */
.plate-head::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--sig);
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .7s var(--ease);
}
.plate > a:hover .plate-head::after { transform: scaleX(1); }

.plate-no {
    display: block; margin-bottom: 10px;
    font-family: var(--mono); font-size: .6875rem; font-weight: 600;
    letter-spacing: .14em; color: var(--sig);
}
.plate-name {
    font-size: clamp(1.6rem, 3.4vw, 2.75rem);
    letter-spacing: -.04em;
    transition: transform .5s var(--ease);
}
.plate > a:hover .plate-name { transform: translateX(6px); }
.plate-url {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: clamp(10px, 1.2vw, 16px);
    font-family: var(--mono); font-size: .75rem; letter-spacing: .06em;
    color: var(--fg-3);
    flex: none; padding-bottom: 4px;
    transition: color .35s var(--ease);
}
.plate-url svg { transition: transform .45s var(--ease); }
.plate > a:hover .plate-url { color: var(--sig); }
.plate > a:hover .plate-url svg { transform: translate(4px, -4px); }

.work-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
    justify-content: space-between;
    margin-top: clamp(44px, 5vw, 68px);
    padding-top: clamp(24px, 3vw, 34px);
    border-top: 1px solid var(--line);
}
.work-foot p { color: var(--fg-3); font-size: .9375rem; max-width: 52ch; }

/* Bandeau d'accès au portfolio : il doit être impossible de croire que
   MIKAA.WEB s'arrête à trois réalisations. */
.more {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 18px 32px;
    margin-top: clamp(38px, 4.6vw, 62px);
    padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 34px);
    border: 1px solid rgba(0, 255, 136, .28);
    background: linear-gradient(100deg, var(--sig-faint), transparent 62%);
    transition: border-color .35s var(--ease);
}
.more:hover { border-color: var(--sig); }
.more-t { display: flex; align-items: baseline; gap: 16px; }
.more-n {
    font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 200;
    letter-spacing: -.05em; line-height: 1; color: var(--sig);
}
.more-l {
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2);
    line-height: 1.7;
}
.more .btn { flex: none; padding: 18px 30px; font-size: 1rem; }
@media (max-width: 620px) {
    .more { flex-direction: column; align-items: stretch; }
    .more .btn { justify-content: center; }
}

@media (max-width: 900px) {
    /* Le titre passe avant l'image, et les trois vignettes ne sont plus
       nécessaires à cette échelle : l'aperçu principal suffit. */
    .plate > a { display: flex; flex-direction: column; }
    .plate-info { order: -1; padding-top: 0; padding-bottom: clamp(14px, 2vw, 20px); }
    .plate-thumbs { display: none; }
}

/* --------------------------------------------------------------------------
   11. Avis clients
   -------------------------------------------------------------------------- */
.voices { padding: var(--sec) 0 var(--sec-b); overflow: hidden; }
.voices-head {
    display: flex; flex-wrap: wrap; align-items: flex-end;
    justify-content: space-between; gap: 24px;
}
.score { display: flex; align-items: baseline; gap: 14px; }
.score b { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.score-r { display: grid; gap: 4px; }
.stars { color: var(--sig); letter-spacing: .22em; font-size: .8125rem; }
.score-r span {
    font-family: var(--mono); font-size: .625rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--fg-3);
}

.rail {
    display: flex; gap: clamp(14px, 1.6vw, 22px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    padding: clamp(34px, 4vw, 52px) var(--gut) 8px;
    margin-inline: calc(var(--gut) * -1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.voice {
    flex: 0 0 clamp(280px, 30vw, 400px);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: clamp(24px, 2.6vw, 34px);
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%);
    transition: border-color .35s var(--ease), background .35s var(--ease);
}
.voice:hover { border-color: var(--line-2); }
.voice-q {
    font-family: var(--mono); color: var(--sig);
    font-size: 1.6rem; line-height: 1; margin-bottom: 18px;
}
.voice blockquote {
    margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--fg);
    letter-spacing: -.012em; text-wrap: pretty;
}
.voice-by {
    display: flex; align-items: center; gap: 12px;
    margin-top: auto; padding-top: clamp(22px, 2.4vw, 30px);
}
.voice-av {
    flex: none; width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    font-family: var(--mono); font-size: .6875rem; font-weight: 600;
    letter-spacing: .06em; color: var(--sig);
}
.voice-by b { display: block; font-size: .9375rem; font-weight: 600; }
.voice-by i {
    display: block; font-style: normal;
    font-family: var(--mono); font-size: .625rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--fg-3); margin-top: 3px;
}
.voice .stars { margin-bottom: 14px; }

.rail-nav {
    display: flex; align-items: center; gap: 10px;
    padding-top: clamp(22px, 2.6vw, 32px);
}
.rail-btn {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: none; border: 1px solid var(--line-2); border-radius: 2px;
    color: var(--fg-2); cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
}
.rail-btn:hover:not(:disabled) { border-color: var(--sig); color: var(--sig); }
.rail-btn:disabled { opacity: .28; cursor: default; }
.rail-track {
    flex: 1; height: 1px; background: var(--line);
    position: relative; margin-left: 12px;
}
.rail-thumb {
    position: absolute; top: -1px; height: 3px; background: var(--sig);
    left: 0; width: 20%;
    transition: left .25s var(--ease-mec), width .25s var(--ease-mec);
}

/* --------------------------------------------------------------------------
   12. Méthode — la seule section imprimée sur papier
   -------------------------------------------------------------------------- */
.method {
    position: relative;
    background: var(--paper);
    color: var(--paper-ink);
    padding: var(--sec) 0;
    overflow: hidden;
}
.method .sec-kicker { color: rgba(10,10,10,.66); }
.method .sec-idx { color: var(--sig-deep); }
.method .sec-line { background: rgba(10,10,10,.18); }
.method .sec-title em { color: var(--sig-deep); }
.method .sec-lead { color: rgba(10,10,10,.8); }
.method .shell { position: relative; z-index: 1; }

.steps { margin-top: clamp(38px, 5vw, 64px); border-top: 1px solid rgba(10,10,10,.16); }
.step {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(16px, 3vw, 48px);
    align-items: baseline;
    padding: clamp(22px, 2.8vw, 34px) 0;
    border-bottom: 1px solid rgba(10,10,10,.16);
    position: relative;
    transition: background .3s var(--ease);
}
.step::before {
    content: ''; position: absolute; left: -1.2vw; right: -1.2vw; top: 0; bottom: 0;
    background: rgba(10,10,10,.03);
    opacity: 0; transition: opacity .3s var(--ease);
    pointer-events: none;
}
.step:hover::before { opacity: 1; }
.step-n {
    font-family: var(--mono); font-size: .6875rem; font-weight: 600;
    letter-spacing: .14em; color: var(--sig-deep);
    display: flex; align-items: center; gap: 10px;
}
.step-n::after { content: ''; flex: 1; height: 1px; background: rgba(10,10,10,.28); }
.step h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    letter-spacing: -.035em;
}
.step p { color: rgba(10,10,10,.8); font-size: .9375rem; text-wrap: pretty; }
.step-d {
    font-family: var(--mono); font-size: .625rem; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(10,10,10,.6);
    display: block; margin-top: 8px;
}
@media (max-width: 860px) {
    .step { grid-template-columns: 1fr; gap: 8px; }
    .step-n::after { display: none; }
}

.method-note {
    margin-top: clamp(34px, 4vw, 52px);
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
    justify-content: space-between;
}
.method-note p { color: rgba(10,10,10,.8); font-size: .9375rem; max-width: 54ch; }
.method .btn--sig { background: var(--ink); color: var(--paper); }
.method .btn--sig:hover { background: #1c211f; }

/* --------------------------------------------------------------------------
   13. Pourquoi moi
   -------------------------------------------------------------------------- */
.why { padding: var(--sec) 0 var(--sec-b); }
.why-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    margin-top: clamp(34px, 4vw, 56px);
    border-top: 1px solid var(--line);
}
.why-i {
    padding: clamp(28px, 3.4vw, 46px) clamp(20px, 3vw, 44px) clamp(34px, 4vw, 52px) 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.why-i:nth-child(even) {
    padding-left: clamp(20px, 3vw, 44px); padding-right: 0;
    border-left: 1px solid var(--line);
}
.why-n {
    font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 200;
    letter-spacing: -.05em; line-height: 1;
    color: var(--fg-4);
    transition: color .4s var(--ease);
}
.why-i:hover .why-n { color: var(--sig); }
.why-i h3 {
    margin-top: clamp(18px, 2vw, 26px);
    font-size: clamp(1.1rem, 1.8vw, 1.375rem);
    letter-spacing: -.03em;
}
.why-i p { margin-top: 12px; color: var(--fg-2); font-size: .9375rem; max-width: 44ch; text-wrap: pretty; }
@media (max-width: 800px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-i, .why-i:nth-child(even) { padding-inline: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   14. Outils gratuits
   -------------------------------------------------------------------------- */
.tools { padding: var(--sec) 0 var(--sec-b); }
.tools-grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 28px);
    margin-top: clamp(34px, 4vw, 52px);
}
.tool-lead {
    border: 1px solid var(--line);
    padding: clamp(26px, 3vw, 40px);
    display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(180deg, rgba(0,255,136,.035), transparent 55%);
    transition: border-color .35s var(--ease);
}
.tool-lead:hover { border-color: var(--sig); }
.tool-lead-h { display: flex; align-items: center; gap: 16px; }
.tool-lead-h img { width: 58px; height: 58px; border-radius: 13px; flex: none; }
.tool-lead-h h3 { font-size: 1.3rem; letter-spacing: -.03em; }
.tool-tags { display: flex; gap: 6px; margin-top: 8px; }
.tool-tags i {
    font-style: normal;
    font-family: var(--mono); font-size: .5625rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--fg-3);
    border: 1px solid var(--line); padding: 3px 7px;
}
.tool-tags i.free { color: var(--sig); border-color: rgba(0,255,136,.32); }
.tool-lead p { margin-top: clamp(18px, 2vw, 24px); color: var(--fg-2); font-size: .9375rem; }
.tool-lead .go {
    padding-top: clamp(24px, 3vw, 34px);
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: .9375rem; color: var(--sig);
}
.tool-lead .go svg { transition: transform .35s var(--ease); }
.tool-lead:hover .go svg { transform: translateX(5px); }

.tool-mini { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.tool-m {
    border: 1px solid var(--line);
    padding: clamp(18px, 2.2vw, 26px);
    display: flex; flex-direction: column; gap: 14px;
    justify-content: space-between;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tool-m:hover { border-color: var(--line-3); transform: translateY(-3px); }
.tool-m img { width: 44px; height: 44px; border-radius: 10px; }
.tool-m span { font-size: .9375rem; font-weight: 600; letter-spacing: -.02em; }
.tool-m em {
    font-style: normal; display: block; margin-top: 4px;
    font-family: var(--mono); font-size: .5625rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--fg-4);
}
@media (max-width: 900px) {
    .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .tool-mini { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tool-m { padding: 16px; }
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact {
    padding: var(--sec) 0 var(--sec-b);
    border-top: 1px solid var(--line);
    position: relative;
}
.contact::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(80% 60% at 12% 0%, var(--sig-faint), transparent 70%);
}
.contact .shell { position: relative; }
.contact-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.contact h2 {
    font-size: clamp(2.2rem, 5.4vw, 4.2rem);
    letter-spacing: -.045em; line-height: 1;
}
.contact h2 em { font-style: normal; color: var(--sig); }
.contact-lead { margin-top: clamp(20px, 2.4vw, 28px); color: var(--fg-2); max-width: 44ch; font-size: 1.0625rem; }

.coords { margin-top: clamp(34px, 4vw, 48px); border-top: 1px solid var(--line); }
.coords a, .coords > li > span {
    display: flex; align-items: center; gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease), padding-left .35s var(--ease);
}
.coords a:hover { color: var(--sig); padding-left: 10px; }
.coords .k {
    flex: none; width: 5.5rem;
    font-family: var(--mono); font-size: .625rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--fg-4);
}
.coords .v { font-size: 1rem; font-weight: 500; letter-spacing: -.015em; }
.coords svg { margin-left: auto; flex: none; color: var(--fg-4); transition: transform .35s var(--ease), color .25s; }
.coords a:hover svg { color: var(--sig); transform: translate(3px, -3px); }

/* Formulaire : champs à filet, aucune boîte arrondie, aucun composant
   emprunté à une librairie. */
.form { display: grid; gap: clamp(18px, 2vw, 24px); }
.form-t {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding-bottom: 6px;
    font-family: var(--mono); font-size: .625rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.form-t span:last-child { color: var(--sig); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 24px); }
.field { position: relative; display: grid; }
.field label {
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3);
    margin-bottom: 9px;
    transition: color .25s var(--ease);
}
.field input, .field textarea {
    background: transparent;
    border: 0; border-bottom: 1px solid var(--line-2);
    padding: 10px 0 12px;
    font-size: 1rem; font-family: var(--sans); letter-spacing: -.01em;
    border-radius: 0;
    transition: border-color .3s var(--ease);
    -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field input:focus, .field textarea:focus {
    outline: none; border-bottom-color: var(--sig);
}
.field:focus-within label { color: var(--sig); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-4); }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; color: var(--fg-4); text-transform: uppercase; }
.form-status { min-height: 1.4em; font-size: .875rem; color: var(--fg-2); }
.form-status.ok  { color: var(--sig); }
.form-status.err { color: #ff6b5e; }
button[disabled] { opacity: .55; cursor: progress; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .f2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding-top: clamp(46px, 6vw, 80px); }

/* Le logo en pleine laisse : la signature finale. */
.foot-mark { display: block; }
.foot-mark img { display: block; width: 100%; height: auto; }

.foot-cols {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-top: clamp(40px, 5vw, 66px);
    padding-top: clamp(28px, 3vw, 40px);
    border-top: 1px solid var(--line);
}
.foot-col h4 {
    font-family: var(--mono); font-size: .625rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2);
    margin-bottom: 16px;
}
.foot-col li { padding: 5px 0; }
.foot-col a, .foot-col p { color: var(--fg-2); font-size: .9375rem; transition: color .25s var(--ease); }
.foot-col a:hover { color: var(--sig); }
.foot-col .thin { color: var(--fg-3); font-size: .875rem; line-height: 1.65; }

.foot-end {
    display: flex; flex-wrap: wrap; gap: 12px 28px;
    align-items: center; justify-content: space-between;
    margin-top: clamp(34px, 4vw, 52px);
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: .625rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--fg-2);
}
.foot-end a { transition: color .25s; }
.foot-end a:hover { color: var(--sig); }
.foot-end .made i { color: var(--sig); font-style: normal; }

@media (max-width: 820px) {
    .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   17. Pages intérieures — en-tête commun
   -------------------------------------------------------------------------- */
.page-head {
    padding-top: clamp(120px, 15vh, 176px);
    padding-bottom: clamp(34px, 4.5vw, 58px);
    position: relative; overflow: hidden;
}
.page-head::before {
    content: ''; position: absolute;
    top: -30%; left: -6%; width: min(760px, 86vw); aspect-ratio: 1;
    background: radial-gradient(circle, var(--sig-glow), transparent 62%);
    pointer-events: none;
}
.page-head .shell { position: relative; }
.crumb {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3);
    margin-bottom: clamp(28px, 3.4vw, 44px);
    transition: color .25s;
}
.crumb svg { transition: transform .3s var(--ease); }
.crumb:hover { color: var(--sig); }
.crumb:hover svg { transform: translateX(-4px); }
.page-title {
    font-size: clamp(2.6rem, 8vw, 6.4rem);
    font-weight: 600; letter-spacing: -.05em; line-height: .94;
}
.page-title em { font-style: normal; color: var(--sig); }
.page-sub { margin-top: clamp(18px, 2.4vw, 26px); color: var(--fg-2); max-width: 52ch; font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   18. Portfolio
   -------------------------------------------------------------------------- */
.filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: clamp(24px, 2.6vw, 34px) 0 clamp(28px, 3.4vw, 44px);
    border-top: 1px solid var(--line);
    margin-top: clamp(14px, 1.8vw, 26px);
}
.filters .lab {
    font-family: var(--mono); font-size: .625rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--fg-4); margin-right: 12px;
}
.fbtn {
    background: none; border: 1px solid var(--line);
    border-radius: 2px; padding: 9px 16px; cursor: pointer;
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
    transition: border-color .25s, color .25s, background .25s;
}
span.fbtn { cursor: default; }
button.fbtn:hover { border-color: var(--line-3); color: var(--fg); }
.fbtn[aria-pressed="true"] {
    background: var(--sig); border-color: var(--sig); color: var(--ink); font-weight: 700;
}
.fbtn .c { opacity: .55; margin-left: 6px; }

.grid-work {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: clamp(70px, 9vw, 130px);
}
/* Une grille au trait : les cellules sont séparées par la trame, pas par
   des cartes flottantes. */
.cell { background: var(--ink); position: relative; }
.cell[hidden] { display: none; }
.cell > * { display: block; height: 100%; }
.cell-shot { overflow: hidden; background: var(--ink-2); }
.cell-shot img {
    width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; object-position: top center;
    transition: transform .9s var(--ease), filter .5s var(--ease);
}
.cell:hover .cell-shot img,
.cell:focus-within .cell-shot img { filter: none; transform: scale(1.04); }
.cell-b { padding: clamp(18px, 1.8vw, 24px); }
.cell-k {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: .5625rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: var(--sig);
}
.cell-k::before { content: ''; width: 5px; height: 5px; background: currentColor; }
.cell h3 { margin-top: 12px; font-size: 1.0625rem; letter-spacing: -.025em; }
.cell p { margin-top: 7px; font-size: .875rem; color: var(--fg-3); line-height: 1.55; }
.cell-t { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.cell-t span {
    font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--fg-4);
    border: 1px solid var(--line); padding: 3px 7px;
}
.cell-go {
    position: absolute; top: 0; right: 0;
    width: 40px; height: 40px; display: grid; place-items: center;
    background: var(--sig); color: var(--ink);
    opacity: 0; transform: translate(-6px, 6px);
    transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.cell:hover .cell-go, .cell:focus-within .cell-go { opacity: 1; transform: none; }
.cell-empty { text-align: center; padding: 70px 20px; color: var(--fg-3); grid-column: 1 / -1; background: var(--ink); }

@media (max-width: 1000px) { .grid-work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid-work { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. Outils (page)
   -------------------------------------------------------------------------- */
.apps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: clamp(46px, 6vw, 72px);
}
.app {
    background: var(--ink);
    padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
    transition: background .35s var(--ease);
}
.app:hover { background: var(--ink-2); }
.app img { width: 66px; height: 66px; border-radius: 15px; }
.app h3 { font-size: 1.125rem; letter-spacing: -.03em; }
.app p { font-size: .875rem; color: var(--fg-3); line-height: 1.6; }
.app .go {
    margin-top: auto; padding-top: 8px;
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono); font-size: .625rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--sig);
}
.app .go svg { transition: transform .35s var(--ease); }
.app:hover .go svg { transform: translateX(5px); }
.app-badge {
    position: absolute; top: 16px; right: 16px;
    font-family: var(--mono); font-size: .5625rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--sig);
    border: 1px solid rgba(0,255,136,.3); padding: 3px 8px;
}

/* Flow est l'outil le plus abouti de la suite : sa carte occupe toute la
   largeur de la grille et reprend la teinte de signal en continu, pas
   seulement au survol. */
.app.app--feat {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(28px, 3vw, 40px) clamp(26px, 3vw, 44px);
    background: linear-gradient(100deg, rgba(0,255,136,.07), transparent 60%);
    border: 1px solid rgba(0,255,136,.3);
}
.app.app--feat:hover {
    background: linear-gradient(100deg, rgba(0,255,136,.1), transparent 60%);
}
.app-feat-media { display: flex; align-items: center; gap: 18px; }
.app-feat-media img { width: 84px; height: 84px; border-radius: 18px; flex: none; }
.app-feat-media h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); letter-spacing: -.03em; }
.app-feat-media .tool-tags { margin-top: 8px; }
.app--feat p { margin: 0; color: var(--fg-2); font-size: .9375rem; }
.app--feat .go { padding-top: 0; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
/* Le badge reste hors flux, comme sur toutes les autres cartes. */
.app--feat .app-badge { top: 14px; right: 14px; }

@media (max-width: 900px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .app.app--feat {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
    }
}
@media (max-width: 560px) { .apps { grid-template-columns: 1fr; } }

.credit {
    color: var(--fg-4); font-family: var(--mono); font-size: .625rem;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: clamp(60px, 8vw, 110px);
}
.credit a { color: var(--fg-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.credit a:hover { color: var(--sig); border-color: var(--sig); }

/* --------------------------------------------------------------------------
   20. Bandeau d'appel final (pages intérieures)
   -------------------------------------------------------------------------- */
.strip {
    border-top: 1px solid var(--line);
    padding: clamp(50px, 7vw, 96px) 0;
}
.strip-in {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 26px 40px;
}
.strip h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); letter-spacing: -.04em; max-width: 34ch; }
.strip h2 em { font-style: normal; color: var(--sig); }
.strip p { color: var(--fg-3); font-size: .9375rem; margin-top: 12px; max-width: 46ch; }
