/* =========================================================================
   STAMARG — Feuille de styles partagée (site vitrine premium)
   Palette issue du logo : bleu marine, or, bleu clair.
   Mode clair / sombre via [data-theme] sur <html>.
   ========================================================================= */

:root {
    --navy-900: #0b1f47;
    --navy-800: #0f2c64;
    --navy-700: #163d84;
    --navy-600: #1e5bb8;
    --blue-500: #2e86de;
    --blue-400: #4d9fe6;
    --gold-600: #c8901a;
    --gold-500: #e0aa2e;
    --gold-400: #edc25a;

    --text: #16233d;
    --muted: #5b6b85;
    --bg: #f6f8fc;
    --bg-alt: #eef2f9;
    --card: #ffffff;
    --border: #e3e9f3;
    --shadow: 0 18px 48px rgba(15, 44, 100, 0.10);
    --shadow-sm: 0 8px 24px rgba(15, 44, 100, 0.08);

    --grad-navy: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    --grad-gold: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    --grad-hero: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);

    --radius: 18px;
    --radius-lg: 26px;
    --maxw: 1200px;
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
    --text: #e8eefb;
    --muted: #9fb0cc;
    --bg: #070f22;
    --bg-alt: #0b1730;
    --card: #0f1d3d;
    --border: #1c2c52;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4 {
    font-family: "Poppins", "Inter", sans-serif;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.pad { padding: clamp(64px, 8vw, 108px) 0; }
.pad-alt { background: var(--bg-alt); }

/* ---------------- Boutons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: #2a1e00; box-shadow: 0 10px 26px rgba(200, 144, 26, 0.35); }
.btn-navy { background: var(--grad-navy); color: #fff; box-shadow: 0 10px 26px rgba(30, 91, 184, 0.32); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--navy-700); }
html[data-theme="dark"] .btn-ghost { color: var(--blue-400); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }

/* ---------------- Header ---------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.35s var(--ease), box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
    background: color-mix(in srgb, var(--card) 88%, transparent);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; }
.logo .brand { height: 38px; width: auto; display: block; }
/* Pastille blanche : le logo (fond blanc) reste net sur l'en-tete transparent,
   clair et sur le pied de page fonce. */
.site-header .logo, .site-footer .logo, .mobile-menu .logo {
    background: #fff; padding: 6px 13px; border-radius: 12px;
    box-shadow: 0 6px 16px rgba(11, 31, 71, 0.14);
}
.site-footer .logo { display: inline-flex; margin-bottom: 16px; }

/* Selecteur de langue FR / EN */
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; min-width: 46px; padding: 0 12px; border-radius: 12px;
    border: 1.5px solid var(--border); background: var(--card); color: var(--text);
    font-weight: 700; font-size: 13px; letter-spacing: 1px; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-switch:hover { color: var(--navy-700); border-color: var(--navy-600); }
.site-header:not(.scrolled) .lang-switch {
    background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #fff;
}
html[data-theme="dark"] .lang-switch:hover { color: var(--blue-400); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    font-size: 14.5px; font-weight: 600; color: var(--muted);
    padding: 9px 14px; border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a.active { color: var(--navy-700); background: color-mix(in srgb, var(--navy-600) 10%, transparent); }
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,0.85); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
html[data-theme="dark"] .nav a:hover, html[data-theme="dark"] .nav a.active { color: var(--blue-400); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--border);
    background: var(--card); color: var(--text); cursor: pointer; font-size: 18px;
    display: grid; place-items: center; transition: transform 0.2s, background 0.2s;
}
.site-header:not(.scrolled) .theme-toggle { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.theme-toggle:hover { transform: rotate(-15deg); }

.burger { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { height: 2.5px; width: 24px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.site-header:not(.scrolled) .burger span { background: #fff; }

/* ---------------- Hero / Slider ---------------- */
.hero { position: relative; min-height: 100vh; }
.hero .swiper { width: 100%; height: 100vh; }
.hero-slide {
    position: relative; height: 100%;
    display: flex; align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
}
.hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(1200px 600px at 80% 10%, rgba(224,170,46,0.20), transparent 60%),
      radial-gradient(900px 500px at 10% 90%, rgba(46,134,222,0.28), transparent 55%);
}
.hero-slide::after {
    content: ""; position: absolute; inset: 0; opacity: 0.5;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.hero-content .eyebrow { color: var(--gold-400); }
.hero-content h1 { font-size: clamp(32px, 5.2vw, 60px); font-weight: 800; color: #fff; margin-bottom: 18px; }
.hero-content p { font-size: clamp(16px, 2vw, 21px); color: rgba(255,255,255,0.9); margin: 0 0 32px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
    position: absolute; z-index: 2; right: 6%; top: 50%; transform: translateY(-50%);
    width: 320px; max-width: 34vw;
    display: grid; gap: 14px;
}
.floating-card {
    background: rgba(255,255,255,0.10); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 18px;
    padding: 18px 20px; color: #fff;
    display: flex; align-items: center; gap: 14px;
    animation: floaty 5s var(--ease) infinite;
}
.floating-card:nth-child(2) { animation-delay: 0.8s; margin-left: 40px; }
.floating-card:nth-child(3) { animation-delay: 1.6s; }
.floating-card .fc-ic { font-size: 26px; }
.floating-card b { display: block; font-family: "Poppins"; }
.floating-card small { color: rgba(255,255,255,0.75); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.swiper-pagination-bullet { background: #fff; opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--gold-500); opacity: 1; width: 24px; border-radius: 6px; }
.swiper-button-next, .swiper-button-prev { color: #fff; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 22px; }

.scroll-cue {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,0.8); font-size: 13px; letter-spacing: 1px; text-align: center;
}
.scroll-cue .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px; margin: 0 auto 8px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 20px; } }

/* ---------------- À propos ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
    aspect-ratio: 4/3; border-radius: var(--radius-lg);
    background: var(--grad-navy); position: relative; overflow: hidden;
    box-shadow: var(--shadow);
    display: grid; place-items: center;
}
.about-visual .frame::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px 300px at 70% 20%, rgba(224,170,46,0.35), transparent 60%);
}
.about-visual .frame .big-emblem { font-family: "Poppins"; font-weight: 800; font-size: 76px; color: rgba(255,255,255,0.92); letter-spacing: 4px; z-index: 1; }
.about-visual .stat-chip {
    position: absolute; bottom: -22px; right: -14px;
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 16px 22px; box-shadow: var(--shadow); text-align: center;
}
.about-visual .stat-chip b { font-family: "Poppins"; font-size: 28px; color: var(--navy-700); display: block; }
.about-visual .stat-chip span { font-size: 12.5px; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.value-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.value-item .vk { width: 34px; height: 34px; border-radius: 9px; background: color-mix(in srgb, var(--gold-500) 20%, transparent); color: var(--gold-600); display: grid; place-items: center; flex: 0 0 34px; }

/* ---------------- Cartes expertise ---------------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.xcard {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 26px; box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.xcard::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.xcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.xcard:hover::before { transform: scaleX(1); }
.xcard .xic {
    width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
    font-size: 27px; margin-bottom: 18px;
    background: color-mix(in srgb, var(--navy-600) 12%, transparent); color: var(--navy-700);
}
html[data-theme="dark"] .xcard .xic { color: var(--blue-400); }
.xcard h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.xcard p { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.xcard .more { font-weight: 700; color: var(--navy-700); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
html[data-theme="dark"] .xcard .more { color: var(--gold-500); }
.xcard:hover .more { gap: 12px; }

/* ---------------- Pourquoi nous ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
    padding: 30px 28px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-6px); }
.why-card .wk { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-size: 23px; margin-bottom: 16px; }
.why-card h4 { font-size: 17px; margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------------- Compteurs ---------------- */
.stats-band { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.stats-band::after {
    content: ""; position: absolute; inset: 0; opacity: 0.4;
    background: radial-gradient(700px 400px at 85% 15%, rgba(224,170,46,0.3), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; text-align: center; }
.stat b { font-family: "Poppins"; font-size: clamp(34px, 5vw, 56px); font-weight: 800; display: block; color: #fff; }
.stat b .plus { color: var(--gold-400); }
.stat span { color: rgba(255,255,255,0.82); font-size: 15px; }

/* ---------------- Réalisations ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
    border: 1.5px solid var(--border); background: var(--card); color: var(--muted);
    padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
    background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard .thumb { aspect-ratio: 16/10; background: var(--grad-navy); position: relative; display: grid; place-items: center; color: rgba(255,255,255,0.9); font-size: 44px; }
.pcard .thumb[data-c="tech"] { background: linear-gradient(135deg,#0f2c64,#2e86de); }
.pcard .thumb[data-c="telecom"] { background: linear-gradient(135deg,#123a7a,#4d9fe6); }
.pcard .thumb[data-c="rh"] { background: linear-gradient(135deg,#163d84,#7b5cff); }
.pcard .thumb[data-c="finance"] { background: linear-gradient(135deg,#0b1f47,#c8901a); }
.pcard .thumb[data-c="wallet"] { background: linear-gradient(135deg,#0d4f25,#1a8f45); }
.pcard .pbody { padding: 20px 22px; }
.pcard .tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-600); }
.pcard h4 { font-size: 17px; margin: 6px 0 6px; }
.pcard p { font-size: 13.5px; color: var(--muted); margin: 0; }
.pcard.hide { display: none; }

/* ---------------- Témoignages ---------------- */
.testi .swiper { padding: 8px 4px 52px; }
.tcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); height: 100%; }
.tcard .quote { font-size: 40px; color: var(--gold-500); font-family: Georgia, serif; line-height: 0.6; }
.tcard p { font-size: 15.5px; color: var(--text); margin: 12px 0 22px; }
.tcard .who { display: flex; align-items: center; gap: 14px; }
.tcard .who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: "Poppins"; }
.tcard .who b { display: block; font-size: 15px; }
.tcard .who span { font-size: 13px; color: var(--muted); }

/* ---------------- Actualités ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.ncard:hover { transform: translateY(-6px); }
.ncard .cover { aspect-ratio: 16/9; background: var(--grad-navy); display: grid; place-items: center; font-size: 40px; color: rgba(255,255,255,0.9); }
.ncard .nbody { padding: 22px 24px; }
.ncard .date { font-size: 12.5px; color: var(--gold-600); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.ncard h4 { font-size: 18px; margin: 8px 0 8px; }
.ncard p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* ---------------- CTA ---------------- */
.cta-band { background: var(--grad-hero); color: #fff; text-align: center; border-radius: 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(224,170,46,0.25), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 620px; margin: 0 auto 30px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: #c7d3ea; padding: 72px 0 30px; }
html[data-theme="dark"] .site-footer { background: #050b1a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo .word b { color: #fff; }
.site-footer p { font-size: 14px; color: #93a4c4; }
.footer-col h5 { color: #fff; font-family: "Poppins"; font-size: 15px; margin: 0 0 16px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: #a9b8d6; font-size: 14px; padding: 5px 0; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--gold-400); padding-left: 5px; }
.footer-contact li { list-style: none; display: flex; gap: 10px; font-size: 14px; color: #a9b8d6; padding: 5px 0; }
.footer-contact { padding: 0; margin: 0; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; font-size: 17px; color: #fff; transition: 0.25s; }
.socials a:hover { background: var(--gold-500); color: #2a1e00; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8296b8; }
.footer-bottom a { color: #a9b8d6; }

/* ---------------- Sous-pages (service / produit) ---------------- */
.subhero {
    min-height: 56vh; display: flex; align-items: flex-end;
    background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 54px;
}
.subhero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 20%, rgba(224,170,46,0.25), transparent 60%); }
.subhero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.subhero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; color: #fff; max-width: 780px; }
.subhero p { color: rgba(255,255,255,0.88); font-size: 18px; max-width: 640px; margin: 12px 0 0; }
.subhero .sub-ic { font-size: 46px; margin-bottom: 8px; }

.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: start; }
.prose h2 { font-size: 28px; margin-bottom: 16px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: "✔"; color: var(--gold-600); font-weight: 800; flex: 0 0 auto; }

.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 20px); }
.side-card h3 { font-size: 19px; margin-bottom: 8px; }
.side-card p { font-size: 14px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
    background: var(--bg); color: var(--text); font: inherit; font-size: 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-600); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-success { background: color-mix(in srgb, var(--gold-500) 16%, transparent); border: 1px solid var(--gold-500); color: var(--text); padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-top: 12px; display: none; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.mini-card .mk { font-size: 26px; margin-bottom: 12px; }
.mini-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.mini-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------------- Wallet-Change produit ---------------- */
.phone-mock {
    width: 260px; aspect-ratio: 9/19; border-radius: 34px; background: #0b1f47;
    border: 8px solid #0b1f47; box-shadow: var(--shadow); overflow: hidden; margin: 0 auto;
    position: relative;
}
.phone-mock .screen { position: absolute; inset: 0; background: linear-gradient(160deg, #0d4f25, #1a8f45); color: #fff; padding: 26px 18px; }
.phone-mock .balance { background: rgba(255,255,255,0.12); border-radius: 16px; padding: 16px; margin-top: 40px; }
.phone-mock .balance small { opacity: 0.8; font-size: 12px; }
.phone-mock .balance b { display: block; font-size: 26px; font-family: "Poppins"; }
.phone-mock .row3 { display: flex; gap: 10px; margin-top: 16px; }
.phone-mock .row3 div { flex: 1; background: rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 6px; text-align: center; font-size: 11px; }
.phone-mock .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #0b1f47; border-radius: 0 0 14px 14px; z-index: 2; }

.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font: inherit; font-weight: 600; font-size: 16px; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform 0.3s; color: var(--navy-600); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 22px 18px; margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------- Reveal (AOS fallback) ---------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------------- Menu mobile ---------------- */
.mobile-menu {
    position: fixed; inset: 0; z-index: 200; background: var(--navy-900); color: #fff;
    display: flex; flex-direction: column; padding: 28px 24px; gap: 6px;
    transform: translateX(100%); transition: transform 0.35s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu .mm-close { background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; }
.mobile-menu a { color: #dbe4f5; font-size: 19px; font-weight: 600; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu .btn { margin-top: 20px; justify-content: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .portfolio-grid, .news-grid, .feature-row { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .about-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
    .hero-badge { display: none; }
    .side-card { position: static; }
}
@media (max-width: 720px) {
    .nav, .header-actions .btn { display: none; }
    .burger { display: flex; }
    .cards-grid, .why-grid, .portfolio-grid, .news-grid, .feature-row, .values { grid-template-columns: 1fr; }
    .hero .swiper, .hero-slide { height: auto; min-height: 92vh; }
    .hero { min-height: 92vh; }
    .hero-slide { padding: 120px 0 80px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
