﻿/* ═══════════════════════════════════════════════════════════════════════
   waka.css — feuille de style du site WAKA Services and Trade SARL
   GÉNÉRÉ par build.ps1 depuis index.html — ne pas éditer directement.
   ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
   WAKA SERVICES & TRADE SARL — site institutionnel
   RCCM CM-DLA-01-2026-B12-00661 · Douala, Cameroun

   Direction artistique
   ────────────────────
   Deux identités, deux voix, un seul système :

   • WAKA (l'entreprise) parle bas et large — anthracite #1F2D36 et
     ardoise #64748B repris du logotype, capitales espacées comme sur
     le lockup. C'est le fond, le cadre, la signature.
   • MEWA (le produit) parle fort et serré — ambre #FFC107 de sa marque,
     grotesque ultra-gras très resserré. C'est ce qui bouge dans la page.

   La structure emprunte au tableau des départs : chaque service est une
   ligne avec son indicatif, parce que le sujet, c'est le déplacement.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* Identité WAKA — relevée sur le logotype */
    --waka:       #1F2D36;
    --waka-deep:  #16212A;
    --waka-soft:  #2B3B46;
    --slate:      #64748B;

    /* Identité MEWA — produit */
    --amber:      #FFC107;
    --amber-ink:  #8A5D00;   /* ambre lisible sur fond clair */
    --amber-soft: #FFF4D4;
    --blue:       #0072A3;

    /* Fonds & encres — neutres inclinés vers l'ardoise du logo */
    --paper:      #F3F5F7;
    --surface:    #FFFFFF;
    --text:       #1F2D36;
    --text-2:     #4E5D6B;
    --text-3:     #7F8D9B;
    --line:       #DCE2E8;
    --line-2:     #EAEEF2;

    /* Sémantique — distincte de l'accent */
    --ok:         #17825A;

    --shadow-sm: 0 1px 2px rgba(31, 45, 54, .06), 0 4px 14px rgba(31, 45, 54, .05);
    --shadow-md: 0 2px 6px rgba(31, 45, 54, .08), 0 20px 44px rgba(31, 45, 54, .12);

    /* Voix « produit » : plaque signalétique, très serrée */
    --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* Voix « entreprise » et texte courant */
    --body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Codes, indicatifs, montants */
    --mono:    ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

    --wrap: 1130px;
    --gut:  clamp(20px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper:   #10171C;
        --surface: #18222A;
        --text:    #E9EEF2;
        --text-2:  #A5B3BF;
        --text-3:  #7B8996;
        --line:    #27333C;
        --line-2:  #1F2A32;
        --waka:    #17222A;
        --waka-deep: #0D141A;
        --waka-soft: #22303A;
        --amber-ink:  #FFCB63;
        --amber-soft: #2A2314;
        --blue:       #46ABD8;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 4px 14px rgba(0, 0, 0, .32);
        --shadow-md: 0 2px 6px rgba(0, 0, 0, .5), 0 20px 44px rgba(0, 0, 0, .4);
    }
}

/* Le sélecteur de thème du lecteur doit l'emporter dans les deux sens. */
:root[data-theme="dark"] {
    --paper:   #10171C;
    --surface: #18222A;
    --text:    #E9EEF2;
    --text-2:  #A5B3BF;
    --text-3:  #7B8996;
    --line:    #27333C;
    --line-2:  #1F2A32;
    --waka:    #17222A;
    --waka-deep: #0D141A;
    --waka-soft: #22303A;
    --amber-ink:  #FFCB63;
    --amber-soft: #2A2314;
    --blue:       #46ABD8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 4px 14px rgba(0, 0, 0, .32);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .5), 0 20px 44px rgba(0, 0, 0, .4);
}
:root[data-theme="light"] {
    --paper:   #F3F5F7;
    --surface: #FFFFFF;
    --text:    #1F2D36;
    --text-2:  #4E5D6B;
    --text-3:  #7F8D9B;
    --line:    #DCE2E8;
    --line-2:  #EAEEF2;
    --waka:      #1F2D36;
    --waka-deep: #16212A;
    --waka-soft: #2B3B46;
    --amber-ink:  #8A5D00;
    --amber-soft: #FFF4D4;
    --blue:       #0072A3;
    --shadow-sm: 0 1px 2px rgba(31, 45, 54, .06), 0 4px 14px rgba(31, 45, 54, .05);
    --shadow-md: 0 2px 6px rgba(31, 45, 54, .08), 0 20px 44px rgba(31, 45, 54, .12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
img, svg { max-width: 100%; }
a { color: inherit; }

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

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gut);
}

/* Indicatif de ligne / petite capitale technique */
.code {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

/* Voix « entreprise » : capitales espacées, comme le lockup WAKA */
.corp {
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
}

/* ══ NAVIGATION ════════════════════════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--waka) 93%, transparent);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 72px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.lockup svg { width: 40px; height: 40px; flex: none; }
.lockup-txt { line-height: 1.05; }
.lockup-name {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .12em;
}
.lockup-sub {
    color: #8FA0AF;
    font-size: 8.5px;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-top: 3px;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    padding: 7px 0;
    border-bottom: 2px solid transparent;
    transition: color .18s, border-color .18s;
}
.nav-links a:hover { color: #fff; border-bottom-color: var(--amber); }
.nav-cta {
    background: var(--amber);
    color: #1F2D36;
    text-decoration: none;
    font-weight: 800;
    font-size: 14.5px;
    padding: 11px 18px;
    border-radius: 3px;
    white-space: nowrap;
    transition: transform .16s, box-shadow .16s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 193, 7, .3); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ══ HÉROS ═════════════════════════════════════════════════════════ */
.hero {
    background: var(--waka);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-block: clamp(54px, 8vw, 96px) clamp(60px, 9vw, 108px);
}
/* Trame d'itinéraires : fines diagonales ascendantes */
.hero::before {
    content: "";
    position: absolute;
    inset: -25% -12% auto auto;
    width: 74vw;
    height: 150%;
    background: repeating-linear-gradient(74deg,
        rgba(255, 255, 255, .055) 0 1px, transparent 1px 78px);
    transform: rotate(-3deg);
    pointer-events: none;
}
.hero-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
}
@media (max-width: 940px) { .hero-in { grid-template-columns: 1fr; } }

.hero .corp { color: #8FA0AF; display: block; margin-bottom: 22px; }
.hero h1 {
    font-family: var(--display);
    font-size: clamp(40px, 6.8vw, 82px);
    line-height: .95;
    letter-spacing: -.05em;
    margin-bottom: 22px;
}
.hero h1 .hl { color: var(--amber); }
.hero-lead {
    font-size: clamp(16.5px, 1.9vw, 19.5px);
    color: rgba(255, 255, 255, .79);
    max-width: 33em;
    margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15.5px;
    padding: 15px 24px;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: transform .16s, box-shadow .16s, border-color .16s, color .16s;
}
.btn-primary { background: var(--amber); color: #1F2D36; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 193, 7, .3); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .55);
    font-size: 13.5px;
}

/* ── Téléphone : illustration schématique de MEWA ─────────────────── */
.phone {
    justify-self: center;
    width: min(306px, 80vw);
    aspect-ratio: 306 / 620;
    background: #0B1116;
    border: 9px solid #33424D;
    border-radius: 40px;
    box-shadow: 0 34px 74px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden;
}
.phone::after {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 104px; height: 21px;
    background: #33424D;
    border-radius: 0 0 13px 13px;
    z-index: 4;
}
.ph-map { position: absolute; inset: 0; background: radial-gradient(120% 90% at 32% 14%, #22323D 0%, #16212A 58%, #0E161C 100%); }
.ph-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-badge {
    position: absolute;
    top: 42px; left: 12px;
    z-index: 3;
    display: flex; align-items: center; gap: 7px;
    background: rgba(11, 17, 22, .9);
    border: 1px solid rgba(255, 255, 255, .13);
    color: #fff;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
}
.ph-badge b { color: var(--amber); font-family: var(--mono); }
.ph-mewa {
    position: absolute;
    top: 42px; right: 12px;
    z-index: 3;
    width: 30px; height: 30px;
    border-radius: 7px;
}
.ph-card {
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    background: var(--surface);
    color: var(--text);
    border-radius: 17px;
    padding: 15px;
    z-index: 3;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, .42);
}
.ph-row { display: flex; align-items: center; gap: 11px; }
.ph-av {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--blue); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 14.5px; flex: none;
}
.ph-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.ph-sub { font-size: 12px; color: var(--text-3); }
.ph-price { margin-left: auto; font-family: var(--mono); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.ph-sep { height: 1px; background: var(--line-2); margin: 13px 0; }
.ph-pay { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.ph-chip {
    font-family: var(--mono); font-size: 10.5px; font-weight: 700;
    padding: 3px 8px; border-radius: 3px;
    background: var(--amber-soft); color: var(--amber-ink);
    letter-spacing: .06em;
}
.ph-car {
    position: absolute;
    z-index: 2;
    width: 21px; height: 21px;
    margin: -10.5px 0 0 -10.5px;
    border-radius: 50%;
    background: var(--amber);
    border: 3px solid #0B1116;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, .2);
    offset-path: path("M 40 462 C 88 424, 60 346, 118 316 S 206 276, 236 188 S 246 118, 296 94");
    offset-rotate: 0deg;
    animation: drive 9s cubic-bezier(.45, .05, .55, .95) infinite;
}
@keyframes drive {
    0%, 6% { offset-distance: 0%; opacity: 0; }
    10%    { opacity: 1; }
    92%    { offset-distance: 100%; opacity: 1; }
    100%   { offset-distance: 100%; opacity: 0; }
}

/* ══ BANDEAU PAIEMENT ══════════════════════════════════════════════ */
.strip { background: var(--waka-deep); border-top: 1px solid rgba(255, 255, 255, .07); padding-block: 21px; }
.strip-in {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 13px 30px;
    color: rgba(255, 255, 255, .6);
    font-size: 13.5px;
}
.strip-in .code { color: rgba(255, 255, 255, .36); }
.pay-chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; }
.pay-dot { width: 9px; height: 9px; border-radius: 2px; flex: none; }

/* ══ SECTIONS ══════════════════════════════════════════════════════ */
.sec { padding-block: clamp(62px, 8vw, 106px); }
.sec-head { max-width: 46em; margin-bottom: clamp(32px, 4.6vw, 54px); }
.sec-head .code { color: var(--amber-ink); display: block; margin-bottom: 13px; }
.sec h2 {
    font-family: var(--display);
    font-size: clamp(29px, 4.4vw, 48px);
    line-height: 1.03;
    letter-spacing: -.043em;
    margin-bottom: 15px;
}
.sec-head p { color: var(--text-2); font-size: clamp(15.5px, 1.75vw, 18px); }

/* ── Tableau des départs ──────────────────────────────────────────── */
.board { border-top: 2px solid var(--text); }
.line {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.28fr) auto;
    gap: 16px 26px;
    align-items: baseline;
    padding: 25px 4px;
    border-bottom: 1px solid var(--line);
    transition: background .2s;
}
.line:hover { background: var(--surface); }
.line .code { color: var(--amber-ink); padding-top: 4px; }
.line h3 {
    font-family: var(--display);
    font-size: clamp(19px, 2.3vw, 25px);
    letter-spacing: -.035em;
    line-height: 1.1;
}
.line p { color: var(--text-2); font-size: 15.5px; }
.line .tag {
    font-family: var(--mono);
    font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
    color: var(--text-3);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 4px 9px;
    white-space: nowrap;
    align-self: center;
}
.line .tag.live { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 42%, transparent); }
@media (max-width: 780px) {
    .line { grid-template-columns: 60px minmax(0, 1fr); }
    .line .tag { grid-column: 2; justify-self: start; }
}

/* ── Cartes ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.5vw, 26px); }
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: clamp(24px, 3vw, 34px);
    box-shadow: var(--shadow-sm);
}
.card.dark { background: var(--waka); border-color: transparent; color: #fff; }
.card.dark .card-lead, .card.dark li { color: rgba(255, 255, 255, .76); }
.card .code { color: var(--amber-ink); }
.card.dark .code { color: var(--amber); }
.card h3 {
    font-family: var(--display);
    font-size: clamp(21px, 2.5vw, 28px);
    letter-spacing: -.038em;
    line-height: 1.08;
    margin: 12px 0;
}
.card-lead { color: var(--text-2); margin-bottom: 19px; font-size: 15.5px; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--text-2);
    font-size: 15.5px;
}
.tick { width: 20px; height: 20px; margin-top: 2px; flex: none; }

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 24px;
}
.fact { background: var(--surface); padding: 19px 21px; }
.card.dark .facts { background: rgba(255, 255, 255, .14); border-color: transparent; }
.card.dark .fact { background: var(--waka); }
.fact-n {
    font-family: var(--display);
    font-size: clamp(23px, 2.9vw, 32px);
    letter-spacing: -.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.card.dark .fact-n { color: var(--amber); }
.fact-l { font-size: 12.5px; color: var(--text-3); margin-top: 7px; line-height: 1.35; }
.card.dark .fact-l { color: rgba(255, 255, 255, .55); }

/* ── Bande sombre : sécurité ──────────────────────────────────────── */
.dark-band { background: var(--waka); color: #fff; }
.dark-band .sec-head p { color: rgba(255, 255, 255, .74); }
.dark-band .sec-head .code { color: var(--amber); }
.safe { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.safe-item { border-top: 2px solid var(--amber); padding-top: 17px; }
.safe-item h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 9px; letter-spacing: -.008em; }
.safe-item p { color: rgba(255, 255, 255, .67); font-size: 14.8px; }

/* ── Entreprise ───────────────────────────────────────────────────── */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(28px, 5vw, 58px); align-items: start; }
@media (max-width: 880px) { .company { grid-template-columns: 1fr; } }
.company h2 {
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: clamp(21px, 2.7vw, 30px);
    line-height: 1.25;
    margin-bottom: 18px;
}
.company p { color: var(--text-2); }
.company p + p { margin-top: 15px; }
.reg { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.reg-h {
    background: var(--waka);
    color: #fff;
    padding: 15px 20px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.reg dl { margin: 0; padding: 5px 20px 17px; }
.reg div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-2);
    align-items: baseline;
}
.reg div:last-child { border-bottom: 0; }
.reg dt { color: var(--text-3); font-size: 13.5px; }
.reg dd {
    margin: 0;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.contact-cell { background: var(--surface); padding: 25px; }
.contact-cell .code { color: var(--amber-ink); }
.contact-cell h3 { font-size: 16.5px; font-weight: 800; margin: 11px 0 7px; }
.contact-cell p { color: var(--text-2); font-size: 14.8px; }
.contact-line { margin-top: 12px !important; }
.contact-line a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    overflow-wrap: anywhere;
}

/* ── Pied de page ─────────────────────────────────────────────────── */
.foot { background: var(--waka); color: rgba(255, 255, 255, .62); padding-block: 52px 32px; font-size: 14px; }
.foot-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(136px, 1fr));
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}
.foot h4 {
    color: #fff;
    font-size: 11px;
    font-family: var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.foot a:hover { color: var(--amber); }
.foot-legal {
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    align-items: baseline;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}
.foot-legal .code { color: rgba(255, 255, 255, .33); }

/* ── Révélation au défilement ─────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rise { opacity: 1; transform: none; }
}
