/* ============================================================
   Afrik Digitaux Shop — Thème Savane & Sahel
   Palette : terre ocre, baobab, ciel saharien, or du soleil
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Couleurs principales — savane / sahel */
    --primary:        #c8711a;   /* ocre brûlé — terre africaine */
    --primary-dark:   #a05510;   /* terre sombre */
    --primary-light:  #e8a45a;   /* sable chaud */

    --accent:         #f5c842;   /* or du soleil sahélien */
    --accent2:        #7ab648;   /* vert baobab / acacia */

    --success:        #7ab648;
    --warning:        #f5c842;
    --error:          #d94f3d;

    /* Fonds — nuit de savane, ciel avant l'aube */
    --bg:             #0f0b07;   /* nuit profonde, terre noire */
    --bg2:            #1a1208;   /* sol de latérite sombre */
    --surface:        rgba(255, 220, 150, 0.05);
    --surface-hover:  rgba(255, 220, 150, 0.09);
    --glass:          rgba(255, 200, 100, 0.06);
    --glass-border:   rgba(255, 200, 100, 0.14);

    --text:           #f5ead8;   /* sable clair, lune sahélienne */
    --text-muted:     rgba(245, 234, 216, 0.5);
    --border:         rgba(255, 200, 100, 0.1);

    --radius:         16px;
    --radius-sm:      10px;
    --radius-xl:      24px;
    --shadow:         0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow:    0 0 40px rgba(200, 113, 26, 0.2);
    --transition:     all 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; }
body {
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    /* Forêt africaine — baobabs, acacias, crépuscule */
    background-image:
        radial-gradient(ellipse 60% 40% at 50% 70%, rgba(200,113,26,0.12) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='ciel' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23080400'/%3E%3Cstop offset='30%25' stop-color='%23160a01'/%3E%3Cstop offset='60%25' stop-color='%232d1200'/%3E%3Cstop offset='80%25' stop-color='%233d1f00'/%3E%3Cstop offset='100%25' stop-color='%231a0c02'/%3E%3C/linearGradient%3E%3ClinearGradient id='sol' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%232a1200'/%3E%3Cstop offset='100%25' stop-color='%230f0700'/%3E%3C/linearGradient%3E%3CradialGradient id='halo' cx='50%25' cy='72%25' r='30%25'%3E%3Cstop offset='0%25' stop-color='%23ff7700' stop-opacity='0.6'/%3E%3Cstop offset='40%25' stop-color='%23cc4400' stop-opacity='0.22'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='lune' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%23ffe8b0'/%3E%3Cstop offset='100%25' stop-color='%23ffcc44'/%3E%3C/radialGradient%3E%3C!-- Dégradé pour la carte Afrique --%3E%3ClinearGradient id='carte' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23c8711a' stop-opacity='0.18'/%3E%3Cstop offset='50%25' stop-color='%23a05510' stop-opacity='0.12'/%3E%3Cstop offset='100%25' stop-color='%237a3a05' stop-opacity='0.06'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='3' result='blur'/%3E%3CfeComposite in='SourceGraphic' in2='blur' operator='over'/%3E%3C/filter%3E%3Cfilter id='blur5'%3E%3CfeGaussianBlur stdDeviation='5'/%3E%3C/filter%3E%3Cfilter id='blur2'%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3C/filter%3E%3C/defs%3E%3C!-- CIEL --%3E%3Crect width='1440' height='900' fill='url(%23ciel)'/%3E%3C!-- HALO SOLEIL --%3E%3Crect width='1440' height='900' fill='url(%23halo)'/%3E%3C!-- ═══════════════════════════════════════════ CARTE DE L'AFRIQUE — silhouette centrée Echelle : ~420px haut, centrée sur x=720 ═══════════════════════════════════════════ --%3E%3C!-- Lueur derrière la carte --%3E%3Cellipse cx='720' cy='430' rx='220' ry='260' fill='%23c8711a' opacity='0.07' filter='url(%23blur5)'/%3E%3C!-- Silhouette de l'Afrique — contour précis en SVG path --%3E%3C!-- Origine approximative : nord ~y=100, sud ~y=750, ouest x=480, est x=960 --%3E%3Cpath d=' M 618 108 C 630 104, 648 100, 665 102 C 682 104, 700 108, 718 110 C 736 112, 752 110, 768 108 C 784 106, 800 102, 818 104 C 836 106, 852 112, 860 122 C 868 132, 865 145, 860 158 C 855 171, 845 180, 848 192 C 851 204, 862 210, 868 222 C 874 234, 872 248, 868 260 C 864 272, 856 280, 858 292 C 860 304, 870 312, 875 324 C 880 336, 878 350, 872 360 C 866 370, 855 376, 852 388 C 849 400, 855 412, 858 424 C 861 436, 860 448, 855 458 C 850 468, 840 474, 838 486 C 836 498, 842 510, 845 522 C 848 534, 847 548, 842 560 C 837 572, 828 580, 822 592 C 816 604, 814 618, 810 630 C 806 642, 798 652, 792 664 C 786 676, 782 690, 778 702 C 774 714, 768 724, 762 734 C 756 744, 748 752, 742 762 C 736 772, 732 784, 728 794 C 724 804, 720 814, 718 820 C 716 814, 712 804, 708 794 C 704 784, 700 772, 694 762 C 688 752, 680 744, 674 734 C 668 724, 662 714, 658 702 C 654 690, 650 676, 644 664 C 638 652, 630 642, 626 630 C 622 618, 620 604, 614 592 C 608 580, 599 572, 594 560 C 589 548, 588 534, 591 522 C 594 510, 600 498, 598 486 C 596 474, 586 468, 581 458 C 576 448, 575 436, 578 424 C 581 412, 587 400, 584 388 C 581 376, 570 370, 564 360 C 558 350, 556 336, 561 324 C 566 312, 576 304, 578 292 C 580 280, 572 272, 568 260 C 564 248, 562 234, 568 222 C 574 210, 585 204, 588 192 C 591 180, 581 171, 576 158 C 571 145, 568 132, 576 122 C 584 112, 606 112, 618 108 Z ' fill='url(%23carte)' stroke='%23c8711a' stroke-width='1.2' stroke-opacity='0.25' opacity='0.9'/%3E%3C!-- Détail : Corne de l'Afrique (est) --%3E%3Cpath d=' M 855 320 C 870 318, 888 322, 900 330 C 912 338, 918 350, 920 362 C 922 374, 916 384, 908 390 C 900 396, 890 396, 880 390 C 870 384, 862 372, 858 360 C 854 348, 852 334, 855 320 Z ' fill='%23c8711a' opacity='0.10' stroke='%23c8711a' stroke-width='0.8' stroke-opacity='0.2'/%3E%3C!-- Madagascar --%3E%3Cpath d=' M 930 500 C 936 492, 944 488, 950 492 C 956 496, 958 506, 956 516 C 954 526, 948 534, 944 542 C 940 550, 938 558, 936 550 C 934 542, 930 530, 928 518 C 926 506, 924 508, 930 500 Z ' fill='%23c8711a' opacity='0.12' stroke='%23c8711a' stroke-width='0.8' stroke-opacity='0.2'/%3E%3C!-- Lueur bordure carte --%3E%3Cpath d=' M 618 108 C 630 104, 648 100, 665 102 C 682 104, 700 108, 718 110 C 736 112, 752 110, 768 108 C 784 106, 800 102, 818 104 C 836 106, 852 112, 860 122 C 868 132, 865 145, 860 158 C 855 171, 845 180, 848 192 C 851 204, 862 210, 868 222 C 874 234, 872 248, 868 260 C 864 272, 856 280, 858 292 C 860 304, 870 312, 875 324 C 880 336, 878 350, 872 360 C 866 370, 855 376, 852 388 C 849 400, 855 412, 858 424 C 861 436, 860 448, 855 458 C 850 468, 840 474, 838 486 C 836 498, 842 510, 845 522 C 848 534, 847 548, 842 560 C 837 572, 828 580, 822 592 C 816 604, 814 618, 810 630 C 806 642, 798 652, 792 664 C 786 676, 782 690, 778 702 C 774 714, 768 724, 762 734 C 756 744, 748 752, 742 762 C 736 772, 732 784, 728 794 C 724 804, 720 814, 718 820 C 716 814, 712 804, 708 794 C 704 784, 700 772, 694 762 C 688 752, 680 744, 674 734 C 668 724, 662 714, 658 702 C 654 690, 650 676, 644 664 C 638 652, 630 642, 626 630 C 622 618, 620 604, 614 592 C 608 580, 599 572, 594 560 C 589 548, 588 534, 591 522 C 594 510, 600 498, 598 486 C 596 474, 586 468, 581 458 C 576 448, 575 436, 578 424 C 581 412, 587 400, 584 388 C 581 376, 570 370, 564 360 C 558 350, 556 336, 561 324 C 566 312, 576 304, 578 292 C 580 280, 572 272, 568 260 C 564 248, 562 234, 568 222 C 574 210, 585 204, 588 192 C 591 180, 581 171, 576 158 C 571 145, 568 132, 576 122 C 584 112, 606 112, 618 108 Z ' fill='none' stroke='%23f5c842' stroke-width='0.6' stroke-opacity='0.15' filter='url(%23blur2)'/%3E%3C!-- SOLEIL / LUNE à l'horizon --%3E%3Ccircle cx='720' cy='648' r='52' fill='url(%23lune)' opacity='0.80' filter='url(%23blur2)'/%3E%3Ccircle cx='720' cy='648' r='42' fill='%23ffdd66' opacity='0.65'/%3E%3Cellipse cx='720' cy='653' rx='180' ry='7' fill='%23ff8800' opacity='0.10' filter='url(%23blur5)'/%3E%3C!-- ÉTOILES --%3E%3Ccircle cx='110' cy='55' r='1.2' fill='%23fff8e0' opacity='0.80'/%3E%3Ccircle cx='260' cy='28' r='0.9' fill='%23fff8e0' opacity='0.60'/%3E%3Ccircle cx='420' cy='72' r='1.4' fill='%23fff8e0' opacity='0.90'/%3E%3Ccircle cx='540' cy='18' r='0.8' fill='%23fff8e0' opacity='0.50'/%3E%3Ccircle cx='680' cy='42' r='1.0' fill='%23fff8e0' opacity='0.70'/%3E%3Ccircle cx='760' cy='42' r='1.0' fill='%23fff8e0' opacity='0.70'/%3E%3Ccircle cx='900' cy='14' r='1.3' fill='%23fff8e0' opacity='0.80'/%3E%3Ccircle cx='1020' cy='65' r='0.9' fill='%23fff8e0' opacity='0.60'/%3E%3Ccircle cx='1180' cy='32' r='1.5' fill='%23fff8e0' opacity='0.90'/%3E%3Ccircle cx='1350' cy='82' r='0.8' fill='%23fff8e0' opacity='0.50'/%3E%3Ccircle cx='185' cy='115' r='0.7' fill='%23fff8e0' opacity='0.40'/%3E%3Ccircle cx='1060' cy='125' r='0.8' fill='%23fff8e0' opacity='0.50'/%3E%3Ccircle cx='330' cy='142' r='0.6' fill='%23fff8e0' opacity='0.40'/%3E%3Ccircle cx='1155' cy='105' r='1.1' fill='%23fff8e0' opacity='0.65'/%3E%3Ccircle cx='480' cy='135' r='0.8' fill='%23fff8e0' opacity='0.45'/%3E%3C!-- SOL --%3E%3Crect x='0' y='730' width='1440' height='170' fill='url(%23sol)'/%3E%3C!-- COLLINES LOINTAINES --%3E%3Cpath d='M0 685 Q180 610 360 648 Q540 588 720 628 Q900 578 1080 618 Q1260 568 1440 608 L1440 900 L0 900Z' fill='%231a0900' opacity='0.85'/%3E%3Cpath d='M0 705 Q200 658 400 675 Q600 635 800 665 Q1000 625 1200 658 Q1360 635 1440 648 L1440 900 L0 900Z' fill='%23120600' opacity='0.92'/%3E%3C!-- ══════════════ BAOBAB 1 — gauche ══════════════ --%3E%3Cpath d='M315 725 Q304 605 299 505 Q302 422 309 382 Q314 362 322 382 Q330 422 332 505 Q330 605 322 725Z' fill='%231f0d00'/%3E%3Cellipse cx='315' cy='565' rx='27' ry='78' fill='%232a1100'/%3E%3Cellipse cx='283' cy='365' rx='54' ry='34' fill='%231a2e0a' opacity='0.9'/%3E%3Cellipse cx='332' cy='350' rx='58' ry='37' fill='%23162808'/%3E%3Cellipse cx='362' cy='368' rx='44' ry='29' fill='%231a2e0a' opacity='0.8'/%3E%3Cellipse cx='298' cy='345' rx='48' ry='31' fill='%23122206'/%3E%3Cline x1='315' y1='402' x2='254' y2='342' stroke='%231f0d00' stroke-width='8' stroke-linecap='round'/%3E%3Cline x1='315' y1='402' x2='372' y2='352' stroke='%231f0d00' stroke-width='7' stroke-linecap='round'/%3E%3Cline x1='315' y1='422' x2='292' y2='362' stroke='%231f0d00' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='254' y1='342' x2='228' y2='312' stroke='%231f0d00' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='254' y1='342' x2='268' y2='310' stroke='%231f0d00' stroke-width='4' stroke-linecap='round'/%3E%3Cline x1='372' y1='352' x2='396' y2='320' stroke='%231f0d00' stroke-width='4' stroke-linecap='round'/%3E%3Cline x1='372' y1='352' x2='352' y2='312' stroke='%231f0d00' stroke-width='4' stroke-linecap='round'/%3E%3C!-- ══════════════ BAOBAB 2 — droite ══════════════ --%3E%3Cpath d='M1108 725 Q1100 635 1098 565 Q1100 505 1106 480 Q1111 464 1118 480 Q1124 505 1122 565 Q1120 635 1115 725Z' fill='%231f0d00'/%3E%3Cellipse cx='1110' cy='595' rx='21' ry='63' fill='%232a1100'/%3E%3Cellipse cx='1082' cy='460' rx='43' ry='29' fill='%231a2e0a' opacity='0.9'/%3E%3Cellipse cx='1116' cy='448' rx='48' ry='31' fill='%23162808'/%3E%3Cellipse cx='1143' cy='464' rx='37' ry='25' fill='%231a2e0a' opacity='0.8'/%3E%3Cline x1='1110' y1='495' x2='1062' y2='443' stroke='%231f0d00' stroke-width='7' stroke-linecap='round'/%3E%3Cline x1='1110' y1='495' x2='1154' y2='450' stroke='%231f0d00' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='1062' y1='443' x2='1044' y2='416' stroke='%231f0d00' stroke-width='4' stroke-linecap='round'/%3E%3Cline x1='1154' y1='450' x2='1170' y2='422' stroke='%231f0d00' stroke-width='4' stroke-linecap='round'/%3E%3C!-- ══════════════ BAOBAB 3 — centre (petit) ══════════════ --%3E%3Cpath d='M540 725 Q534 668 532 622 Q534 588 538 572 Q542 562 546 572 Q550 588 550 622 Q549 668 545 725Z' fill='%231f0d00'/%3E%3Cellipse cx='540' cy='638' rx='14' ry='44' fill='%232a1100'/%3E%3Cellipse cx='522' cy='558' rx='32' ry='20' fill='%231a2e0a' opacity='0.85'/%3E%3Cellipse cx='542' cy='550' rx='35' ry='22' fill='%23162808'/%3E%3Cellipse cx='560' cy='560' rx='28' ry='18' fill='%23122206' opacity='0.8'/%3E%3Cline x1='540' y1='578' x2='510' y2='545' stroke='%231f0d00' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='540' y1='578' x2='568' y2='548' stroke='%231f0d00' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='510' y1='545' x2='496' y2='526' stroke='%231f0d00' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='568' y1='548' x2='582' y2='528' stroke='%231f0d00' stroke-width='3' stroke-linecap='round'/%3E%3C!-- ══════════════ ACACIA 1 — gauche lointain ══════════════ --%3E%3Crect x='170' y='605' width='9' height='118' fill='%231a0900' rx='2'/%3E%3Cellipse cx='174' cy='595' rx='58' ry='15' fill='%23142206' opacity='0.9'/%3E%3Cellipse cx='156' cy='602' rx='38' ry='11' fill='%231a2e0a' opacity='0.7'/%3E%3Cellipse cx='196' cy='600' rx='36' ry='10' fill='%23122206' opacity='0.8'/%3E%3C!-- ══════════════ ACACIA 2 — droite ══════════════ --%3E%3Crect x='1260' y='625' width='8' height='98' fill='%231a0900' rx='2'/%3E%3Cellipse cx='1264' cy='615' rx='50' ry='13' fill='%23142206' opacity='0.9'/%3E%3Cellipse cx='1247' cy='622' rx='34' ry='10' fill='%231a2e0a' opacity='0.7'/%3E%3Cellipse cx='1282' cy='620' rx='32' ry='9' fill='%23122206' opacity='0.8'/%3E%3C!-- ══════════════ ACACIA 3 — centre droit ══════════════ --%3E%3Crect x='925' y='655' width='7' height='78' fill='%231a0900' rx='2'/%3E%3Cellipse cx='928' cy='646' rx='42' ry='11' fill='%23142206' opacity='0.85'/%3E%3Cellipse cx='914' cy='652' rx='28' ry='8' fill='%231a2e0a' opacity='0.7'/%3E%3Cellipse cx='944' cy='650' rx='26' ry='7' fill='%23122206' opacity='0.75'/%3E%3C!-- ══════════════ HERBES avant-plan ══════════════ --%3E%3Cpath d='M0 782 Q22 742 44 782 Q66 748 88 784 Q110 750 132 782 Q154 748 176 784 Q198 748 218 782 L218 900 L0 900Z' fill='%23100800' opacity='0.96'/%3E%3Cpath d='M355 802 Q378 764 402 802 Q426 767 450 802 Q474 770 498 802 Q522 767 546 804 L546 900 L355 900Z' fill='%230f0700' opacity='0.93'/%3E%3Cpath d='M620 792 Q644 754 668 792 Q692 758 716 794 Q740 760 764 792 Q788 758 812 794 L812 900 L620 900Z' fill='%23110800' opacity='0.96'/%3E%3Cpath d='M1048 802 Q1078 762 1108 802 Q1138 766 1168 802 Q1198 769 1228 802 Q1258 764 1288 802 L1288 900 L1048 900Z' fill='%230f0700' opacity='0.93'/%3E%3Cpath d='M1305 812 Q1332 774 1360 812 Q1388 777 1418 814 Q1434 782 1440 814 L1440 900 L1305 900Z' fill='%23110800' opacity='0.91'/%3E%3C!-- ══════════════ SILHOUETTES OISEAUX ══════════════ --%3E%3Cpath d='M560 195 Q566 189 572 195 Q578 187 584 195' stroke='%232a1200' stroke-width='1.8' fill='none' opacity='0.65'/%3E%3Cpath d='M598 175 Q605 168 612 175 Q619 167 626 175' stroke='%232a1200' stroke-width='1.8' fill='none' opacity='0.55'/%3E%3Cpath d='M878 155 Q885 148 892 155 Q899 147 906 155' stroke='%232a1200' stroke-width='1.6' fill='none' opacity='0.60'/%3E%3Cpath d='M920 172 Q926 165 932 172 Q938 164 944 172' stroke='%232a1200' stroke-width='1.5' fill='none' opacity='0.50'/%3E%3C!-- LUEUR horizon --%3E%3Crect x='0' y='715' width='1440' height='14' fill='%23ff5500' opacity='0.06' filter='url(%23blur5)'/%3E%3C/svg%3E");
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
}

/* ============================== SCROLLBAR ============================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================== HEADER ============================== */
header {
    background: rgba(15, 11, 7, 0.80);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 200;
}

header .logo {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f5ead8 20%, var(--primary-light) 60%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.3px;
}

header .logo::before { content: '🌍 '; }

header nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid transparent;
}

header nav a:hover {
    color: var(--text);
    background: var(--glass);
    border-color: var(--glass-border);
}

header nav a.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(200,113,26,0.4);
}

header nav a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,113,26,0.55);
}

/* ============================== HERO ============================== */
.hero {
    text-align: center;
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(200,113,26,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #f5ead8 30%, var(--primary-light) 60%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================== MAIN ============================== */
main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2.5rem 0 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-light), transparent);
    opacity: 0.35;
}

/* ============================== CARDS / PRODUCTS ============================== */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.4rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: var(--radius);
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.card-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.4rem;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,113,26,0.35);
    box-shadow: 0 12px 32px rgba(200,113,26,0.20);
}

.product-image {
    height: 160px;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    overflow: hidden;
}

.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 1rem 1.2rem 1.2rem;
}

.product-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: #1a0d00;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.78rem;
    color: #6b5a4a;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.product-price {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

/* ============================== BUTTONS ============================== */
.checkout-button, .add-to-cart {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    font-size: 0.97rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 18px rgba(200,113,26,0.35);
    letter-spacing: 0.2px;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

.checkout-button:hover, .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(200,113,26,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    font-weight: 700;
    font-size: 0.97rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-copy {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-light);
    transition: var(--transition);
}

.btn-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-copy.copied { background: var(--success); color: #fff; border-color: var(--success); }

/* ============================== FORMS / AUTH ============================== */
.auth-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(200,113,26,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 200, 100, 0.04);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    padding: 2.8rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,200,66,0.3), transparent);
}

.auth-logo { text-align: center; margin-bottom: 1.8rem; }
.auth-logo span { font-size: 2.4rem; }
.auth-logo h1 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-top: 0.4rem; }

.auth-container h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--text); }
.auth-container .auth-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.8rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.97rem;
    transition: var(--transition);
    background: rgba(255, 200, 100, 0.05);
    color: var(--text);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: #1a1208; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(200,113,26,0.08);
    box-shadow: 0 0 0 3px rgba(200,113,26,0.18);
}

.form-group small { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.35rem; }

.auth-link { text-align: center; margin-top: 1.4rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.9; }
.auth-link a { color: var(--primary-light); font-weight: 600; text-decoration: none; transition: var(--transition); }
.auth-link a:hover { color: var(--accent); text-decoration: underline; }

.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; color: var(--text-muted); font-size: 0.82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================== ACCOUNT TYPE CARDS ============================== */
.account-type-choice { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.account-type-option {
    flex: 1;
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255,200,100,0.03);
}

.account-type-option:hover { border-color: var(--primary); background: rgba(200,113,26,0.08); }
.account-type-option input[type="radio"] { accent-color: var(--primary); margin-right: 6px; }
.account-type-option strong { color: var(--text); font-size: 0.95rem; }
.account-type-option small { display: block; color: var(--text-muted); margin-top: 5px; font-size: 0.78rem; }
.account-type-option.selected { border-color: var(--primary); background: rgba(200,113,26,0.12); }

.payout-fields, .other-country-field { display: none; }
.payout-fields.active, .other-country-field.active { display: block; }

.section-divider {
    margin: 1.6rem 0 1rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================== ALERTS ============================== */
.alert {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.alert-error   { background: rgba(217,79,61,0.12);  color: #ff8a70; border-left-color: var(--error); }
.alert-success { background: rgba(122,182,72,0.12); color: #a8e063; border-left-color: var(--success); }
.alert-warning { background: rgba(245,200,66,0.12); color: var(--accent); border-left-color: var(--warning); }

/* ============================== TABLES ============================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.data-table th {
    background: rgba(200,113,26,0.12);
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    padding: 0.9rem 1.1rem;
    font-weight: 700;
}

.data-table td { padding: 0.85rem 1.1rem; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text); }
.data-table tr:hover td { background: rgba(255,200,100,0.03); }

/* ============================== BADGES ============================== */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.badge-pending    { background: rgba(245,200,66,0.15);  color: var(--accent); }
.badge-processing { background: rgba(122,182,72,0.15);  color: #a8e063; }
.badge-paid       { background: rgba(122,182,72,0.15);  color: #a8e063; }
.badge-rejected   { background: rgba(217,79,61,0.15);   color: #ff8a70; }
.badge-cancelled  { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.badge-active     { background: rgba(122,182,72,0.15);  color: #a8e063; }
.badge-inactive, .badge-suspended { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.badge-completed, .badge-confirmed { background: rgba(122,182,72,0.15); color: #a8e063; }

/* ============================== EMPTY STATE ============================== */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state i { font-size: 2.8rem; color: var(--primary); opacity: 0.4; display: block; margin-bottom: 1rem; }

/* ============================== FOOTER ============================== */
footer {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

footer h3 { color: var(--text); margin-bottom: 0.5rem; }
footer a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
footer a:hover { color: var(--accent); }
.footer-contact { margin-top: 0.6rem; }

/* ============================== DASHBOARD ============================== */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.dashboard-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.stat-value { font-size: 1.7rem; font-weight: 900; color: var(--accent); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.card-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    margin-bottom: 1.8rem;
}

/* Generic buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.btn-secondary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    box-shadow: 0 3px 12px rgba(200,113,26,0.3);
}

.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,113,26,0.45); }

.btn-danger { background: rgba(217,79,61,0.12); color: #ff8a70; border-color: rgba(217,79,61,0.3); }
.btn-danger:hover { background: var(--error); color: #fff; border-color: var(--error); }

.product-admin-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    background: rgba(255,200,100,0.03);
    transition: var(--transition);
}

.product-admin-card:hover { border-color: rgba(200,113,26,0.35); }
.product-admin-card .info { font-size: 0.93rem; }
.product-admin-card .actions { display: flex; gap: 0.5rem; }


/* ============================== SHOP CARDS (liste boutiques index) ============================== */
.shop-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.shop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--shop-color, #c8711a);
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.shop-card-image {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-card-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-card-title {
    font-weight: 800;
    font-size: .97rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.shop-card-desc {
    color: var(--text-muted);
    font-size: .83rem;
    flex: 1;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

/* ============================== FEATURE CARDS ============================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,113,26,0.4);
    box-shadow: var(--shadow-glow);
}

.feature-card .icon { font-size: 2.2rem; margin-bottom: 0.9rem; display: block; }
.feature-card h3 { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================== FILTER BAR ============================== */
.filter-bar {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.8rem;
    padding: 1rem 1.4rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

.filter-bar input,
.filter-bar select {
    background: rgba(255,200,100,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.55rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.filter-bar input:focus,
.filter-bar select:focus { outline: none; border-color: var(--primary); background: rgba(200,113,26,0.08); }
.filter-bar select option { background: #1a1208; }

/* ============================== MERCHANT NOTICE ============================== */
.merchant-notice {
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: .9rem;
    line-height: 1.7;
    border: 1px solid;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.merchant-notice.on-time { background: rgba(122,182,72,.08); border-color: rgba(122,182,72,.3); color: #a8e063; }
.merchant-notice.late    { background: rgba(245,200,66,.08); border-color: rgba(245,200,66,.3); color: var(--accent); }
.merchant-notice .n-icon { font-size: 1.8rem; flex-shrink: 0; }
.merchant-notice .n-title { font-weight: 700; margin-bottom: .3rem; }
.merchant-notice .n-amount { font-size: 1.4rem; font-weight: 900; margin: .3rem 0 .5rem; }

/* ============================== RESPONSIVE ============================== */

/* Tableaux : scroll horizontal au lieu de casser la mise en page sur mobile */
.data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table thead, .data-table tbody, .data-table tr { width: 100%; }

/* Toute table.data-table qui ne serait pas déjà entourée d'un wrapper
   dédié profite quand même du scroll horizontal grâce à la règle ci-dessus.
   Si un wrapper existe (ex: <div style="overflow-x:auto">), les deux se
   combinent sans problème. */

@media (max-width: 900px) {
    .stats-grid, .features-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 768px) {
    header { padding: 0.9rem 1.2rem; flex-wrap: wrap; gap: 0.6rem; }
    header nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; row-gap: .5rem; }
    header nav a { font-size: 0.82rem; padding: 0.4rem 0.8rem; }
    .hero { padding: 4rem 1.2rem 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .auth-container { padding: 2rem 1.4rem; }
    .product-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .account-type-choice { flex-direction: column; }
    main { padding: 0 1rem 3rem; }

    .dashboard-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .dashboard-header h1 { font-size: 1.3rem; }

    .card-box { padding: 1.2rem 1rem; }
    .section-title { font-size: 1.1rem; }

    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
    .stat-value { font-size: 1.4rem; }

    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-bar input, .filter-bar select { width: 100%; }

    .data-table th, .data-table td { padding: 0.5rem 0.6rem; font-size: 0.82rem; }

    .shop-card-image { height: 140px; }
    .product-admin-card { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

    .merchant-notice, .notice-card { flex-direction: column; padding: 1rem; }
    .merchant-notice .n-amount { font-size: 1.2rem; }

    /* Grilles de formulaire à 2/3 colonnes -> 1 colonne sur mobile */
    .withdrawal-form-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
    /* Beaucoup de formulaires (admin/vendeur/inscription) utilisent des
       grilles à 2 ou 3 colonnes en style inline plutôt qu'en classe CSS.
       Cette règle les fait passer en 1 colonne sur mobile, où qu'elles
       soient dans le projet, sans avoir à modifier chaque fichier. */
    [style*="grid-template-columns:1fr 1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .product-list { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 0.95rem; }
    .auth-container { border-radius: var(--radius); padding: 1.5rem 1.1rem; }
    .auth-logo h1 { font-size: 1.2rem; }

    header .logo { font-size: 1.1rem; }
    header nav a span { display: none; } /* garde les icônes, cache le texte si présent en <span> */

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .btn, .checkout-button, .add-to-cart { width: 100%; justify-content: center; }

    .data-table th, .data-table td { padding: 0.4rem 0.5rem; font-size: 0.76rem; }

    .modal, .modal-overlay .modal { max-width: 100% !important; width: 100% !important; margin: 0; border-radius: 12px; padding: 1.2rem !important; }
}
