@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Orbitron:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --brown: #6B4F3B;
  --silver: #C0C0C0;
  --lavender: #D8B4FE;
  --lavender-dark: #A66BE0;
  --black: #111111;
  --white: #FFFFFF;
  --background: #F9F8FB;
  --muted: #55515A;
  --border: #E7E2EA;
  --shadow: 0 25px 60px rgba(70,45,90,.13);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--background);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.topbar {
  height: 78px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
}

.brand strong { color: var(--brown); }

.brand-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #D8B4FE, #A66BE0);
  color: #111;
  font-size: 25px;
  box-shadow: 5px 6px 0 #6B4F3B;
  transform: perspective(200px) rotateY(-12deg);
}

.menu-btn {
  border: 1px solid var(--border);
  background: var(--lavender);
  color: var(--black);
  padding: 9px 15px;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 90px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(216,180,254,.40), transparent 40%),
    linear-gradient(135deg,#FFFFFF,#F5F0FA);
  perspective: 1200px;
}

.hero-content { position: relative; z-index: 2; }

.eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brown);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px,5vw,62px);
  font-weight: 700;
  line-height: 1.12;
  margin: 22px 0;
  color: #111111;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--brown);
  background: linear-gradient(90deg,#6B4F3B,#A66BE0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content > p {
  font-size: 16px;
  line-height: 1.9;
  color: #333333;
  max-width: 470px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 15px 23px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg,#6B4F3B,#493323);
  box-shadow: 0 8px 0 #C0C0C0, 0 15px 25px #6B4F3B30;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px #6B4F3B40;
}

.btn-secondary {
  background: white;
  color: #111;
  border: 1px solid var(--silver);
  box-shadow: 0 5px 15px #0000000C;
}

.btn-secondary:hover {
  background: var(--lavender);
  transform: translateY(-4px);
}

/* TABLEAU 3D */

.dashboard-preview {
  position: relative;
  padding: 28px;
  border: 1px solid #FFFFFF;
  border-radius: 25px;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(25px);
  box-shadow: 0 35px 70px rgba(74,49,91,.16),
              inset 0 1px 2px white;
  transform: perspective(1200px) rotateY(-9deg) rotateX(4deg);
  transition: .6s;
}

.dashboard-preview:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg,#D8B4FE,#C0C0C0);
  filter: blur(2px);
  opacity: .5;
  top: -55px;
  right: -35px;
  z-index: -1;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
  gap: 10px;
}

.preview-header small,
.preview-card small,
.preview-grid small {
  color: #55515A;
  font-family: 'Sora', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.preview-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 23px;
  color: #111;
}

.status {
  background: #E9F7ED;
  color: #176B35;
  padding: 7px 10px;
  font-size: 10px;
  border-radius: 20px;
}

.preview-card {
  padding: 25px;
  border-radius: 18px;
  background: linear-gradient(135deg,#6B4F3B,#39291F);
  color: white;
  box-shadow: 0 15px 30px #6B4F3B40;
  transform: translateZ(25px);
}

.preview-card small { color: #F1E9E3; }

.preview-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 27px;
  margin: 12px 0;
  color: white;
}

.preview-card h2 span { font-size: 13px; }
.preview-card p { font-size: 11px; color: white; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 20px;
}

.preview-grid div {
  background: linear-gradient(145deg,#FFFFFF,#F1EBF8);
  padding: 17px;
  border: 1px solid #E7D9F6;
  border-radius: 14px;
  box-shadow: 0 5px 12px #00000008;
}

.preview-grid strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  margin-top: 8px;
  color: #111;
}

.preview-note {
  text-align: center;
  font-size: 10px;
  margin-top: 16px;
  color: #555;
}

/* FONCTIONNALITES */

.features {
  padding: 90px 7%;
  background: white;
}

.section-heading { text-align: center; }

.section-heading h2,
.cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  color: #111;
  margin: 15px 0;
}

.section-heading p,
.cta p { color: #444; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 45px;
}

.feature-card {
  padding: 26px 22px;
  background: linear-gradient(145deg,#FFFFFF,#F8F3FC);
  border: 1px solid #E9E0F0;
  border-radius: 19px;
  box-shadow: 0 10px 25px #00000008;
  transition: .35s;
}

.feature-card:hover {
  transform: perspective(700px) rotateX(5deg) translateY(-9px);
  box-shadow: 0 22px 35px #A66BE030;
  border-color: var(--lavender);
}

.feature-card > span { font-size: 32px; }

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  margin: 13px 0 8px;
  color: #111;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}

.cta {
  padding: 85px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%,#E8D4FA,transparent 65%),
    #F5F0FA;
}

.cta p { margin-bottom: 25px; }

footer {
  background: #FFFFFF;
  color: #111;
  border-top: 1px solid var(--silver);
  padding: 38px 15px;
  text-align: center;
}

footer strong {
  font-family: 'Orbitron', sans-serif;
  color: var(--brown);
  letter-spacing: 2px;
}

footer p { margin: 10px 0; color: #333; }
footer small { color: #555; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* APPLICATION MON DJASSA */
.app-body {
  min-height: 100vh;
  background: #F7F6F8;
  display: flex;
  color: #111;
}

.sidebar {
  width: 255px;
  min-width: 255px;
  background: #fff;
  border-right: 1px solid #E6E1E9;
  padding: 25px 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron',sans-serif;
  font-size: 14px;
  margin-bottom: 32px;
}

.app-logo strong { color: #6B4F3B; }

.business-info {
  background: #F5EFFB;
  border: 1px solid #E5D5F4;
  border-radius: 13px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 28px;
}

.business-info small,.nav-label {
  font-size: 9px;
  font-weight: 800;
  color: #65536F;
  letter-spacing: 1px;
}

.business-info strong { font-size: 14px; }
.business-info span { font-size: 10px; color: #555; }

.nav-label { margin: 0 0 12px 10px; }

.side-nav { display: grid; gap: 6px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #292329;
  font: 600 13px 'DM Sans',sans-serif;
  text-align: left;
  cursor: pointer;
}

.nav-link.active {
  background: #D8B4FE;
  color: #111;
  box-shadow: 0 4px 12px #A66BE030;
}

.sidebar-bottom { margin-top: auto; }
.sidebar-slogan {
  margin-top: 20px;
  padding: 15px 8px;
  border-top: 1px solid #EAE5ED;
  font-size: 11px;
  line-height: 1.8;
  color: #6B4F3B;
}

.app-main { flex: 1; min-width: 0; }

.app-header {
  height: 83px;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #E9E4EC;
}

.app-header small {
  color: #746C76;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
}

.app-header h1 {
  font: 700 22px 'Space Grotesk',sans-serif;
}

.header-actions { display: flex; align-items: center; gap: 15px; }
.header-icon { border: 0; background: #F3ECFA; padding: 11px; border-radius: 12px; }
.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #6B4F3B;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.dashboard-content { padding: 30px 35px 50px; }

.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.welcome-row h2,.module-intro h2 {
  font: 700 24px 'Space Grotesk',sans-serif;
}

.welcome-row p,.module-intro p { color: #555; font-size: 13px; margin-top: 5px; }

.demo-tag,.coming-soon {
  background: #EEE2F9;
  color: #493323;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.stat-card {
  background: white;
  border: 1px solid #E9E3EC;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 7px 22px #30203908;
}

.stat-card span { font-size: 12px; font-weight: 600; color: #4E4850; }
.stat-card div {
  font: 700 20px 'Orbitron',sans-serif;
  margin: 15px 0 8px;
  overflow-wrap: anywhere;
}

.stat-card div small { font-size: 10px; }
.stat-card p { color: #777; font-size: 10px; }

.main-stat {
  background: linear-gradient(140deg,#6B4F3B,#493323);
  color: white;
}

.main-stat span,.main-stat p { color: white; }
.main-stat div { color: #D8B4FE; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.panel {
  background: white;
  border: 1px solid #E8E3EA;
  border-radius: 15px;
  padding: 22px;
  margin-bottom: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.panel-heading h3 { font: 700 16px 'Space Grotesk',sans-serif; }
.panel-heading span { font-size: 10px; color: #777; }

.chart-placeholder { height: 155px; padding-top: 10px; }
.chart-bars {
  height: 125px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  border-bottom: 1px solid #DDD;
  background: repeating-linear-gradient(to bottom,transparent 0 30px,#EEE9F0 31px 32px);
}

.chart-bars i {
  width: 8%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(#D8B4FE,#6B4F3B);
}

.chart-days { display: flex; justify-content: space-around; margin-top: 8px; }
.chart-days span { font-size: 9px; color: #666; }

.demo-note { font-size: 10px; color: #777; margin-top: 12px; }

.quick-actions { display: grid; gap: 10px; }
.quick-actions button {
  padding: 12px;
  border: 1px solid #E8DDF2;
  border-radius: 9px;
  background: #FAF7FC;
  color: #111;
  text-align: left;
  font: 600 12px 'DM Sans',sans-serif;
  cursor: pointer;
}

.quick-actions button:hover { background: #D8B4FE; }

.stock-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stock-summary div {
  padding: 16px;
  border-radius: 11px;
  background: #F8F4FB;
  display: flex;
  flex-direction: column;
}
.stock-summary strong { font: 700 22px 'Orbitron',sans-serif; }
.stock-summary span { font-size: 11px; color: #555; }

.text-action {
  background: transparent;
  border: 0;
  color: #6B4F3B;
  font-weight: 700;
  cursor: pointer;
}

.bottom-nav { display: none; }

.module-intro {
  background: white;
  border: 1px solid #E9E2ED;
  border-radius: 18px;
  padding: 35px;
  min-height: 240px;
}

.module-symbol { font-size: 32px; color: #A66BE0; }
.module-intro h2 { margin: 12px 0; }
.coming-soon { display: inline-block; margin-top: 25px; }

.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.module-card {
  background: white;
  border: 1px solid #E8DDF2;
  border-radius: 13px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  font: 600 13px 'DM Sans',sans-serif;
  color: #111;
  cursor: pointer;
  text-align: left;
}
.module-card:hover { background: #F1E6FC; }

/* =========================================
   MON DJASSA — DESIGN SYSTEM 3D PREMIUM
========================================= */

:root {
  --dj-brown: #6B4F3B;
  --dj-silver: #C0C0C0;
  --dj-lavender: #D8B4FE;
  --dj-dark: #30251F;
  --dj-light: #F4EDF8;
  --dj-shadow: rgba(45, 30, 20, .22);
}

.app-body {
  background:
    radial-gradient(ellipse at 15% 10%, #E9DDF5 0%, transparent 38%),
    radial-gradient(ellipse at 90% 90%, #D8C6B8 0%, transparent 40%),
    linear-gradient(135deg, #F7F3FA, #E8DFE9);
  perspective: 1400px;
}

/* PANNEAUX PRINCIPAUX */

.sidebar,
.app-header,
.dashboard-card,
.stat-card,
.chart-card,
.quick-actions,
.stock-card,
.card {
  background: linear-gradient(145deg, #FFFFFF, #E8E1EB);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  box-shadow:
    9px 9px 20px rgba(65,45,35,.13),
    -7px -7px 18px rgba(255,255,255,.9),
    inset 1px 1px 2px rgba(255,255,255,.9);
  transform-style: preserve-3d;
}

/* BARRE LATERALE 3D */

.sidebar {
  background: linear-gradient(155deg, #80634F, #49372B 75%);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow:
    12px 12px 28px rgba(40,25,15,.3),
    inset 2px 2px 5px rgba(255,255,255,.22),
    inset -3px -3px 8px rgba(0,0,0,.2);
  border-radius: 0 28px 28px 0;
}

/* NAVIGATION 3D */

.side-nav button,
.mobile-nav button,
[data-page] {
  position: relative;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 15px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  transform: translateZ(0);
}

.side-nav button:hover,
.mobile-nav button:hover,
[data-page]:hover {
  transform: translateY(-4px) translateZ(12px);
  box-shadow:
    0 9px 16px rgba(30,20,15,.2),
    inset 1px 1px 3px rgba(255,255,255,.8);
}

.side-nav button.active,
.mobile-nav button.active,
[data-page].active {
  background: linear-gradient(145deg, #E9D5FF, #B98AE5);
  color: #21152C;
  border: 1px solid #F5E9FF;
  box-shadow:
    5px 6px 12px rgba(65,35,90,.25),
    inset 2px 2px 4px rgba(255,255,255,.8),
    inset -2px -2px 5px rgba(80,40,110,.16);
  transform: translateY(-2px);
}

/* CARTES ET STATISTIQUES 3D */

.dashboard-card,
.stat-card,
.chart-card,
.stock-card,
.card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.dashboard-card:hover,
.stat-card:hover,
.chart-card:hover,
.stock-card:hover,
.card:hover {
  transform: translateY(-7px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    14px 18px 28px rgba(55,35,25,.2),
    -5px -5px 14px rgba(255,255,255,.9);
}

.dashboard-card::before,
.stat-card::before,
.stock-card::before,
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, transparent, white, transparent);
  opacity: .9;
}

/* VALEURS FINANCIERES */

.stat-card strong,
.stat-card .value,
.dashboard-card .value {
  color: #30251F;
  text-shadow: 1px 2px 1px rgba(255,255,255,.8);
  font-weight: 800;
}

/* BOUTONS 3D */

button,
.action-button,
.quick-actions button {
  cursor: pointer;
  transition: all .2s ease;
}

button:active,
.action-button:active,
.quick-actions button:active {
  transform: translateY(3px) scale(.97);
  box-shadow:
    inset 4px 4px 8px rgba(45,30,20,.2),
    inset -2px -2px 5px rgba(255,255,255,.7);
}

.app-main {
  transform-style: preserve-3d;
}

.app-header {
  backdrop-filter: blur(16px);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(226,215,235,.85));
}

#pageContent {
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* BARRE MOBILE 3D */

.mobile-nav {
  background: linear-gradient(145deg, #80634F, #49372B) !important;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 25px 25px 0 0;
  box-shadow:
    0 -8px 25px rgba(45,30,20,.25),
    inset 0 2px 5px rgba(255,255,255,.2);
  backdrop-filter: blur(18px);
}

.mobile-nav button {
  color: #FFFFFF;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(0,0,0,.12));
  box-shadow:
    3px 4px 8px rgba(0,0,0,.2),
    inset 1px 1px 2px rgba(255,255,255,.2);
}

.mobile-nav button.active {
  color: #21152C;
}

/* TRANSITIONS */

@keyframes djassa-enter {
  from {
    opacity: 0;
    transform: translateY(18px) rotateX(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

#pageContent {
  animation: djassa-enter .45s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ===== NAVIGATION FLOTTANTE 3D ===== */

.mobile-nav {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 14px !important;
  width: auto !important;
  max-width: 600px;
  margin: 0 auto !important;
  padding: 12px 10px !important;
  border-radius: 28px !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  background: linear-gradient(145deg, #80634F, #49372B) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow:
    0 14px 30px rgba(35,20,12,.35),
    0 5px 12px rgba(35,20,12,.2),
    inset 2px 2px 5px rgba(255,255,255,.3),
    inset -2px -2px 5px rgba(0,0,0,.2) !important;
  z-index: 9999;
}

.mobile-nav button {
  min-width: 48px;
  min-height: 48px;
  border-radius: 18px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #92745F, #594333) !important;
  color: #FFFFFF !important;
  box-shadow:
    4px 5px 9px rgba(0,0,0,.25),
    inset 1px 1px 3px rgba(255,255,255,.3) !important;
}

.mobile-nav button.active {
  background: linear-gradient(145deg, #EAD8FF, #C69BEF) !important;
  color: #21152C !important;
  transform: translateY(-5px);
  box-shadow:
    0 8px 14px rgba(0,0,0,.25),
    inset 2px 2px 4px rgba(255,255,255,.9) !important;
}

/* ===== TEXTE NOIR SUR LES CARTES BLANCHES ===== */

.dashboard-card,
.stat-card,
.chart-card,
.stock-card,
.quick-actions,
.card {
  color: #000000 !important;
}

.dashboard-card *,
.stat-card *,
.chart-card *,
.stock-card *,
.quick-actions *,
.card * {
  color: #000000;
}

.dashboard-card h1,
.dashboard-card h2,
.dashboard-card h3,
.stat-card h1,
.stat-card h2,
.stat-card h3,
.chart-card h1,
.chart-card h2,
.chart-card h3,
.stock-card h1,
.stock-card h2,
.stock-card h3,
.card h1,
.card h2,
.card h3 {
  color: #000000 !important;
  font-weight: 700;
}

/* Espace pour la barre flottante */

@media (max-width: 850px) {
  .app-main {
    padding-bottom: 115px !important;
  }

  #pageContent {
    padding-bottom: 20px;
  }
}

/* MON DJASSA — Centre de réglages 3D */
.settings-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  margin:25px 0;
}

.settings-card {
  padding:22px;
  border-radius:24px;
  background:linear-gradient(145deg,#fff,#e9e5e1);
  border:1px solid rgba(107,79,59,.18);
  box-shadow:8px 10px 22px rgba(55,38,27,.13),
             inset 2px 2px 5px white;
  transition:transform .25s,box-shadow .25s;
}

.settings-card:hover {
  transform:translateY(-5px) perspective(800px) rotateX(2deg);
  box-shadow:12px 16px 28px rgba(55,38,27,.2);
}

.settings-heading {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.settings-icon {
  width:52px;
  height:52px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:17px;
  font-size:25px;
  background:linear-gradient(145deg,#e8d8fa,#c9a8ec);
  box-shadow:4px 5px 10px #b6a9bd,
             inset 2px 2px 5px white;
}

.settings-heading h3 {
  margin:0 0 5px;
  color:#30251e;
  font-size:17px;
}

.settings-heading p,
.settings-modules > p {
  margin:0;
  color:#62574f;
  font-size:12px;
}

.settings-items {
  display:grid;
  gap:9px;
}

.settings-item {
  width:100%;
  min-height:62px;
  padding:10px 13px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-align:left;
  border:1px solid rgba(107,79,59,.12);
  border-radius:15px;
  color:#30251e;
  background:linear-gradient(145deg,#fff,#f0ece8);
  box-shadow:3px 4px 8px rgba(60,43,32,.10),
             inset 1px 1px 3px white;
  cursor:pointer;
  transition:transform .2s,background .2s;
}

.settings-item:hover {
  transform:translateX(4px);
  background:linear-gradient(145deg,#f1e5ff,#e3d0f7);
}

.settings-item span {
  display:grid;
  gap:4px;
}

.settings-item strong {
  font-size:13px;
}

.settings-item small {
  color:#75685e;
  font-size:11px;
}

.settings-item > b {
  font-size:25px;
  color:#76558f;
}

.settings-modules {
  margin:30px 0;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(145deg,#e8e2dc,#fff);
  box-shadow:8px 10px 22px rgba(55,38,27,.12);
}

.settings-modules h2 {
  margin:0 0 7px;
  color:#30251e;
}

.settings-modules > p {
  margin-bottom:18px;
}

@media(max-width:600px) {
  .settings-grid {
    grid-template-columns:1fr;
    gap:16px;
  }

  .settings-card,
  .settings-modules {
    padding:17px;
    border-radius:20px;
  }
}

/* MON DJASSA — formulaire commerce */
.business-settings {
  max-width: 980px;
  margin: 0 auto 35px;
  color: #30251e;
}
.business-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.business-form-header h2 { margin: 0 0 6px; }
.business-form-header p { margin: 0; color: #75685e; }
.business-form-section {
  margin: 18px 0;
  padding: 23px;
  border: 1px solid rgba(107,79,59,.15);
  border-radius: 23px;
  background: linear-gradient(145deg,#fff,#eee9e4);
  box-shadow: 7px 9px 20px rgba(55,38,27,.10),
              inset 1px 1px 4px #fff;
}
.business-form-section h3 { margin: 0 0 6px; }
.business-form-section > p {
  margin: 0 0 19px;
  color: #75685e;
  font-size: 13px;
}
.business-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.business-form-grid label,
.business-full-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #49372b;
  font-size: 13px;
  font-weight: 700;
}
.business-form-grid input,
.business-form-grid select,
.business-full-field textarea {
  width: 100%;
  min-height: 47px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d7cbc1;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: #30251e;
  font: inherit;
  font-weight: 400;
  box-shadow: inset 2px 3px 6px rgba(50,35,25,.06);
}
.business-full-field { margin-top: 16px; }
.business-full-field textarea { min-height: 95px; resize: vertical; }
.business-form-grid input:focus,
.business-form-grid select:focus,
.business-full-field textarea:focus {
  border-color: #a77bc9;
  box-shadow: 0 0 0 3px rgba(216,180,254,.25);
}
.business-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0 22px;
  padding: 16px;
  border-radius: 17px;
  background: linear-gradient(145deg,#eee7e1,#fff);
}
.business-logo-area img,
.business-logo-area > span {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 4px 5px 12px rgba(40,25,15,.13);
  font-size: 34px;
}
.business-logo-area input[type="file"] { max-width: 210px; }
.business-logo-area label {
  padding: 11px 15px;
  border-radius: 12px;
  color: #30251e;
  background: #d8b4fe;
  font-weight: 700;
  cursor: pointer;
}
.business-save {
  width: 100%;
  min-height: 54px;
  margin-top: 15px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg,#80634f,#49372b);
  box-shadow: 0 7px 15px rgba(55,38,27,.25),
              inset 1px 1px 3px rgba(255,255,255,.25);
  font-weight: 700;
  cursor: pointer;
}
.future-feature-list { display: grid; gap: 10px; }
.future-feature {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 5px 10px;
  padding: 13px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 4px 9px rgba(55,38,27,.08);
}
.future-feature > span { color: #8b63ad; }
.future-feature small { grid-column: 2; color: #85786e; }
@media(max-width:600px) {
  .business-form-section { padding: 16px; border-radius: 18px; }
  .business-form-grid { grid-template-columns: 1fr; }
  .business-form-header { align-items: flex-start; }
}


/* Déconnexion dans les paramètres */
.settings-account {
  margin-top: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5e0dc;
  border-radius: 16px;
}
.settings-account h3 {
  margin: 0 0 6px;
  color: #6B4F3B;
}
.settings-account p {
  margin: 0;
  color: #777;
  font-size: 13px;
}
.settings-logout {
  padding: 10px 16px;
  border: 1px solid #6B4F3B;
  border-radius: 12px;
  background: transparent;
  color: #6B4F3B;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.settings-logout:disabled {
  opacity: .5;
  cursor: wait;
}
