/* EJIM Express — feuille de style du site vitrine (ejimexpress.com).
   Charte v1 (dossier Yese ejim-express) : bleu nuit #081428, or #9C7631, Poppins (titres) + Roboto (texte).
   Or sur fond sombre : #DBB87D (dore-300) ; or sur fond clair : #704E03 (dore-700), pour le contraste AA. */

@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("/fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
    --nuit: #081428;
    --nuit-950: #0E1A2F;
    --nuit-900: #1F2C41;
    --nuit-800: #334055;
    --nuit-600: #616C7F;
    --nuit-200: #D4D8DE;
    --nuit-100: #E9EBEF;
    --nuit-50: #F5F7FA;
    --or: #9C7631;
    --or-clair: #DBB87D;
    --or-vif: #C09B5B;
    --or-fonce: #704E03;
    --or-50: #FFF6E7;
    --blanc: #FFFFFF;
    --creme: #FAF9F7;
    --texte: #1F2C41;
    --texte-doux: #49566A;
    --rayon: 14px;
    --rayon-grand: 22px;
    --ombre: 0 18px 40px -18px rgba(8, 20, 40, .35);
    --largeur: 1180px;
    --titres: "Poppins", Arial, sans-serif;
    --corps: "Roboto", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--corps); font-size: 1.0625rem; line-height: 1.65; color: var(--texte); background: var(--creme); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titres); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; color: var(--nuit); }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; background: var(--or-clair); color: var(--nuit); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 500; }
.evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--or-vif); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; font-family: var(--titres); font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.bouton:hover { transform: translateY(-1px); }
.bouton svg { width: 1.25em; height: 1.25em; flex: none; }
.bouton-or { background: var(--or-vif); color: var(--nuit); box-shadow: 0 10px 24px -12px rgba(192, 155, 91, .9); }
.bouton-or:hover { background: var(--or-clair); }
.bouton-contour { color: var(--blanc); border: 1.5px solid rgba(255, 255, 255, .55); }
.bouton-contour:hover { border-color: var(--blanc); background: rgba(255, 255, 255, .08); }
.bouton-nuit { background: var(--nuit); color: var(--blanc); }
.bouton-nuit:hover { background: var(--nuit-900); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(8, 20, 40, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blanc); font-family: var(--titres); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.marque img { border-radius: 9px; }
.marque span { color: var(--or-clair); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--blanc); }
.nav .bouton { color: var(--nuit); padding: .65em 1.1em; font-size: .92rem; }
@media (max-width: 860px) { .nav a:not(.bouton) { display: none; } }

/* Héros */
.heros { position: relative; color: var(--blanc); background: var(--nuit); overflow: hidden; }
.heros picture, .heros picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 40, .96) 0%, rgba(8, 20, 40, .86) 42%, rgba(8, 20, 40, .35) 100%), linear-gradient(0deg, rgba(8, 20, 40, .7) 0%, rgba(8, 20, 40, 0) 40%); }
@media (max-width: 760px) { .heros::after { background: linear-gradient(0deg, rgba(8, 20, 40, .97) 30%, rgba(8, 20, 40, .55) 100%); } }
.heros .conteneur { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 132px); padding-bottom: clamp(56px, 9vw, 112px); }
.heros-texte { max-width: 640px; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titres); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 18px; }
.surtitre::before { content: ""; width: 26px; height: 2px; background: var(--or-clair); }
.heros h1 { color: var(--blanc); }
.heros h1 em { font-style: normal; color: var(--or-clair); }
.heros .chapo { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .86); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.garanties { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.garanties svg { width: 18px; height: 18px; color: var(--or-clair); flex: none; }

/* Bandeau de preuves */
.preuves { background: var(--blanc); border-bottom: 1px solid var(--nuit-100); }
.preuves ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.preuves li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--texte-doux); line-height: 1.45; }
.preuves strong { display: block; font-family: var(--titres); color: var(--nuit); font-weight: 600; font-size: 1rem; }
.pastille { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--nuit); color: var(--or-clair); display: grid; place-items: center; }
.pastille svg { width: 22px; height: 22px; }
@media (max-width: 920px) { .preuves ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .preuves ul { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-claire { background: var(--blanc); }
.section-sombre { background: var(--nuit); color: rgba(255, 255, 255, .86); }
.section-sombre h2, .section-sombre h3 { color: var(--blanc); }
.entete-section { max-width: 720px; margin-bottom: 44px; }
.entete-section .surtitre { color: var(--or-fonce); }
.entete-section .surtitre::before { background: var(--or-fonce); }
.section-sombre .entete-section .surtitre { color: var(--or-clair); }
.section-sombre .entete-section .surtitre::before { background: var(--or-clair); }
.entete-section p { color: var(--texte-doux); font-size: 1.1rem; }
.section-sombre .entete-section p { color: rgba(255, 255, 255, .78); }

/* Services */
.grille-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.carte-service { display: grid; grid-template-columns: 220px 1fr; background: var(--blanc); border: 1px solid var(--nuit-100); border-radius: var(--rayon-grand); overflow: hidden; box-shadow: 0 1px 0 rgba(8, 20, 40, .03); transition: box-shadow .2s ease, transform .2s ease; }
.carte-service:hover { box-shadow: var(--ombre); transform: translateY(-2px); }
.carte-service img { width: 100%; height: 100%; object-fit: cover; }
.carte-service div { padding: 24px 24px 22px; }
.carte-service p { color: var(--texte-doux); font-size: .98rem; margin-bottom: .6em; }
.carte-service ul { margin: 0; padding-left: 1.1em; color: var(--texte-doux); font-size: .95rem; }
.etiquette { display: inline-block; font-family: var(--titres); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--or-fonce); background: var(--or-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 1020px) { .grille-services { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .carte-service { grid-template-columns: 1fr; } .carte-service img { aspect-ratio: 16 / 9; height: auto; } }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: etape; }
.etapes li { position: relative; background: var(--nuit-950); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--rayon-grand); padding: 26px 22px 24px; counter-increment: etape; }
.etapes li::before { content: counter(etape, decimal-leading-zero); display: block; font-family: var(--titres); font-weight: 700; font-size: 2rem; color: var(--or-clair); margin-bottom: 10px; line-height: 1; }
.etapes p { font-size: .97rem; color: rgba(255, 255, 255, .76); margin: 0; }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* E-commerçants : argent et suivi */
.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.duo-image { position: relative; }
.duo-image img { border-radius: var(--rayon-grand); box-shadow: var(--ombre); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.recu { position: absolute; right: -10px; bottom: -26px; width: min(300px, 78%); background: var(--blanc); border-radius: 16px; box-shadow: var(--ombre); padding: 16px 18px; font-size: .9rem; border: 1px solid var(--nuit-100); }
.recu-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--nuit-200); color: var(--texte-doux); }
.recu-ligne:last-of-type { border-bottom: 0; }
.recu-ligne strong { color: var(--nuit); font-family: var(--titres); font-weight: 600; }
.recu-titre { font-family: var(--titres); font-weight: 600; color: var(--nuit); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.recu-titre i { width: 9px; height: 9px; border-radius: 50%; background: #1F9D55; display: inline-block; }
.recu small { display: block; color: var(--nuit-600); margin-top: 6px; font-size: .78rem; }
.liste-coches { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.liste-coches li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.liste-coches svg { width: 22px; height: 22px; color: var(--or); margin-top: 3px; }
.liste-coches strong { color: var(--nuit); font-family: var(--titres); font-weight: 600; }
.mention-herkon { display: block; font-size: .9rem; color: var(--texte-doux); margin-top: 16px; }
.mention-herkon a { color: var(--nuit); font-weight: 500; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .recu { right: 10px; } .duo-texte { margin-top: 30px; } }

/* Flotte */
.mosaique { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.mosaique figure { margin: 0; position: relative; border-radius: var(--rayon-grand); overflow: hidden; background: var(--nuit-900); }
.mosaique figure:first-child { grid-row: span 2; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(8, 20, 40, .92), rgba(8, 20, 40, 0)); color: var(--blanc); }
.mosaique figcaption strong { display: block; font-family: var(--titres); font-weight: 600; font-size: 1.1rem; }
.mosaique figcaption span { font-size: .93rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 820px) { .mosaique { grid-template-columns: 1fr; } .mosaique figure:first-child { grid-row: auto; } .mosaique figure { aspect-ratio: 16 / 10; } }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.carte-adresse { background: var(--nuit); color: rgba(255, 255, 255, .85); border-radius: var(--rayon-grand); padding: 30px; box-shadow: var(--ombre); }
.carte-adresse h3 { color: var(--blanc); }
.carte-adresse dl { margin: 0; display: grid; gap: 14px; }
.carte-adresse dt { font-family: var(--titres); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or-clair); }
.carte-adresse dd { margin: 2px 0 0; color: var(--blanc); }
.carte-adresse a { color: var(--blanc); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }

/* Recrutement */
.recrutement { position: relative; overflow: hidden; background: var(--nuit); color: rgba(255, 255, 255, .86); }
.recrutement .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.recrutement h2 { color: var(--blanc); }
.recrutement img { border-radius: var(--rayon-grand); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.recrutement .liste-coches strong { color: var(--blanc); }
.recrutement .liste-coches svg { color: var(--or-clair); }
@media (max-width: 860px) { .recrutement .conteneur { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: var(--blanc); border: 1px solid var(--nuit-100); border-radius: var(--rayon); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font-family: var(--titres); font-weight: 600; color: var(--nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--or); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texte-doux); margin: -4px 0 20px; }

/* Appel final */
.appel { background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-900) 100%); color: var(--blanc); border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(219, 184, 125, .35), rgba(219, 184, 125, 0) 70%); }
.appel h2 { color: var(--blanc); margin-bottom: .35em; }
.appel p { color: rgba(255, 255, 255, .8); margin: 0; }
.appel .actions { margin-top: 0; justify-content: flex-end; position: relative; }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; } .appel .actions { justify-content: flex-start; } }

/* Pied de page */
.pied-page { background: var(--nuit); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: .94rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.pied-page h3 { color: var(--blanc); font-size: .95rem; margin-bottom: 12px; }
.pied-page ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied-page a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.pied-page a:hover { color: var(--blanc); text-decoration: underline; }
.pied-page .legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant (mobile) */
.flottant { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; width: 58px; height: 58px; border-radius: 50%; background: var(--or-vif); color: var(--nuit); box-shadow: 0 12px 28px -8px rgba(8, 20, 40, .6); place-items: center; }
.flottant svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .flottant { display: grid; } }

/* Pages de texte (mentions, confidentialité) */
.texte { padding: 56px 0 80px; background: var(--blanc); }
.texte .conteneur { max-width: 820px; }
.texte h2 { font-size: 1.35rem; margin-top: 1.8em; }
.texte table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .97rem; }
.texte th, .texte td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--nuit-100); }
.texte th { width: 34%; color: var(--nuit); font-weight: 500; }
.maj { color: var(--texte-doux); font-size: .92rem; }
.surtitre-fonce { color: var(--or-fonce); }
.surtitre-fonce::before { background: var(--or-fonce); }
.pied-accroche { margin-top: 14px; }
@media (max-width: 560px) { .nav .bouton { display: none; } }
@media (max-width: 560px) { .recu { position: relative; right: auto; bottom: auto; width: auto; margin: -36px 14px 0; } }
.recrutement-note { margin-top: 16px; font-size: .92rem; color: rgba(255, 255, 255, .7); }
