/* ============================================================
 * style.css — Styles globaux du site vitrine katlas.net
 * Refonte premium — "Moroccan Geometry meets Digital Precision"
 * Auteur : Claude Vitrine-KAtlas
 * Date : 2026-04-15
 * ============================================================ */

/* === TOKENS === */
:root {
  /* Brand — bold emerald green */
  --primary: #059669;
  --primary-dark: #047857;
  --primary-darker: #064E3B;
  --primary-light: #D1FAE5;
  --primary-mist: #ECFDF5;

  /* Earth — vivid Moroccan terracotta */
  --earth: #C2410C;
  --earth-dark: #9A3412;
  --earth-light: #FFF7ED;
  --earth-mist: #FFFBF5;

  /* Accent — rich saffron gold */
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-light: #FEF3C7;

  /* Danger / Alert */
  --danger: #DC2626;
  --danger-light: #FEE2E2;

  /* Neutrals — crisp with contrast */
  --ink: #111827;
  --text: #1F2937;
  --muted: #4B5563;
  --subtle: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --surface: #F9FAFB;
  --surface-cool: #F3F4F6;
  --bg: #FFFFFF;
  --white: #FFFFFF;

  /* Shadows — punchier */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.2);
  --shadow-primary: 0 4px 24px rgba(5,150,105,.35);
  --shadow-earth: 0 4px 24px rgba(194,65,12,.25);

  /* Radii */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --nav-h: 72px;
  --section-py: 100px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Zellige pattern (diamond grid — Moroccan geometric) */
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M24 2L46 24 24 46 2 24z' fill='none' stroke='%23059669' stroke-width='.7' opacity='.08'/%3E%3Cpath d='M24 12L36 24 24 36 12 24z' fill='none' stroke='%23C2410C' stroke-width='.5' opacity='.05'/%3E%3C/svg%3E");
  --zellige-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M24 2L46 24 24 46 2 24z' fill='none' stroke='%23ffffff' stroke-width='.7' opacity='.1'/%3E%3Cpath d='M24 12L36 24 24 36 12 24z' fill='none' stroke='%23ffffff' stroke-width='.5' opacity='.06'/%3E%3C/svg%3E");
  --zellige-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 5l10.6 14.4L65.6 30 50.6 40.6 40 55 29.4 40.6 14.4 30l15-10.6z' fill='none' stroke='%23059669' stroke-width='.6' opacity='.06'/%3E%3C/svg%3E");
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.section-title,
.section-title-accent,
.hero h1,
.page-hero h1 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; position: relative; }
.section-alt { background: var(--surface); }
.text-center { text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.75;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, .85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(253, 251, 247, .95);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}
.nav-logo img { height: 36px; }
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all .25s var(--ease);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-mist);
}
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all .25s var(--ease) !important;
  box-shadow: var(--shadow-primary);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(20, 122, 94, .3) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  transition: all .2s var(--ease);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  gap: 4px;
  border-bottom: 1px solid var(--border);
}
.nav-links.open a { padding: 12px 16px; width: 100%; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(20, 122, 94, .3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-mist);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* === HERO (INDEX LANDING) === */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(160deg, #064E3B 0%, #059669 40%, #10B981 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: #FCD34D;
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(252,211,77,.3);
  border-radius: 3px;
  z-index: -1;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .mockup-frame {
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.hero-visual .mockup-frame:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(255,255,255,.1) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  z-index: -1;
}
/* Hero pillars (fallback if used like the old layout) */
.hero-pillars {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 32px;
}
.hero-pillar { text-align: left; min-width: 130px; }
.hero-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.hero-pillar-label {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
}
.hero-pillar-sub { font-size: .78rem; color: rgba(255,255,255,.6); }

/* === PAGE HERO (INTERNAL PAGES) === */
.page-hero {
  padding: 140px 0 70px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige);
  background-size: 48px 48px;
  opacity: .4;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* === STATS BAR === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.stat-item {
  text-align: center;
  padding: 36px 20px;
  background: var(--ink);
  color: var(--white);
}
.stat-item:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat-item:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #34D399;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  line-height: 1.4;
}
.stat-item.earth .stat-number { color: #FB923C; }
.stat-item.orange .stat-number { color: #FBBF24; }
.stat-item.blue .stat-number { color: #60A5FA; }

/* === SERVICES / SECTORS STRIP === */
.services-strip {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.services-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  pointer-events: none;
}
.services-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .3s var(--ease);
}
.service-item:last-child { border-right: none; }
.service-item:hover { background: rgba(255,255,255,.05); }
.service-item .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform .3s var(--ease-spring);
}
.service-item:hover .icon { transform: scale(1.1); }
.service-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}
.service-item .label {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 600;
}
.service-item .sub { font-size: .78rem; opacity: .5; }

/* === PROBLEM SECTION === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC2626, #D97706);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #FEE2E2, #FECACA);
  color: #DC2626;
  box-shadow: 0 4px 14px rgba(220,38,38,.12);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.problem-card:hover .problem-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 20px rgba(220,38,38,.2);
}
.problem-icon svg {
  width: 26px;
  height: 26px;
  stroke: #B91C1C;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.problem-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === SECURITY / TRACEABILITY === */
.security-money {
  background: linear-gradient(145deg, #022C22, #064E3B 50%, #047857);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(5,150,105,.25);
}
.security-money::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  pointer-events: none;
}
.security-money h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.security-money .subtitle {
  font-size: 1.05rem;
  opacity: .8;
  margin-bottom: 44px;
  max-width: 580px;
  position: relative;
}
.security-grid-money {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}
.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(4px);
  transition: all .3s var(--ease);
}
.sec-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.sec-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.sec-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}
.sec-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sec-item p { font-size: .85rem; opacity: .75; line-height: 1.55; }

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .35s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
  position: relative;
}
.card:hover .card-icon { transform: scale(1.1) rotate(-2deg); }
.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}
.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.card:hover .card-icon::after { opacity: 1; }
.card-icon.green {
  background: linear-gradient(145deg, #D1FAE5, #A7F3D0);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(5,150,105,.15);
}
.card-icon.green::after { box-shadow: 0 6px 24px rgba(5,150,105,.3); }
.card-icon.green svg { stroke: var(--primary-dark); }
.card-icon.blue {
  background: linear-gradient(145deg, #DBEAFE, #BFDBFE);
  color: #2563EB;
  box-shadow: 0 4px 16px rgba(37,99,235,.12);
}
.card-icon.blue::after { box-shadow: 0 6px 24px rgba(37,99,235,.25); }
.card-icon.blue svg { stroke: #1D4ED8; }
.card-icon.earth {
  background: linear-gradient(145deg, #FFF7ED, #FED7AA);
  color: var(--earth);
  box-shadow: 0 4px 16px rgba(194,65,12,.12);
}
.card-icon.earth::after { box-shadow: 0 6px 24px rgba(194,65,12,.25); }
.card-icon.earth svg { stroke: var(--earth-dark); }
.card-icon.gold {
  background: linear-gradient(145deg, #FEF3C7, #FDE68A);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(217,119,6,.12);
}
.card-icon.gold::after { box-shadow: 0 6px 24px rgba(217,119,6,.25); }
.card-icon.gold svg { stroke: var(--accent-dark); }
.card-icon.orange {
  background: linear-gradient(145deg, #FFF7ED, #FDBA74);
  color: #C2410C;
  box-shadow: 0 4px 16px rgba(194,65,12,.12);
}
.card-icon.orange::after { box-shadow: 0 6px 24px rgba(194,65,12,.25); }
.card-icon.orange svg { stroke: #9A3412; }
.card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* === RELANCE TIMELINE === */
.relance-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.relance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--earth), var(--danger));
}
.relance-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.relance-section > p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
}
.relance-timeline { display: flex; flex-direction: column; gap: 0; }
.relance-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.relance-step:last-child { padding-bottom: 0; }
.relance-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.relance-step:last-child::before { display: none; }
.relance-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.relance-dot.soft { background: var(--accent); }
.relance-dot.medium { background: var(--earth); }
.relance-dot.hard { background: #9A3412; }
.relance-dot.final { background: var(--danger); }
.relance-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.relance-body .timing {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.relance-body .msg {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--text);
  border-left: 3px solid var(--accent);
  line-height: 1.6;
}

/* === DARIJA DEMO === */
.darija-demo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.darija-messages { display: flex; flex-direction: column; gap: 12px; }
.darija-msg {
  background: var(--surface);
  border-radius: 18px;
  padding: 14px 20px;
  max-width: 300px;
  position: relative;
  font-size: .88rem;
  line-height: 1.55;
}
.darija-msg.incoming {
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  border: 1px solid var(--border);
  background: var(--white);
}
.darija-msg.outgoing {
  border-bottom-right-radius: 6px;
  align-self: flex-end;
  background: var(--primary-light);
  border: 1px solid rgba(20, 122, 94, .15);
}
.darija-msg .sender {
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.darija-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.darija-content p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
}

/* === USE CASES === */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
}
.usecase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.usecase-header {
  padding: 24px 28px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
}
.usecase-header .emoji {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  transition: transform .4s var(--ease-spring);
}
.usecase:hover .usecase-header .emoji { transform: scale(1.1) rotate(-3deg); }
.usecase-header .emoji svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 1.5;
}
.usecase-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.usecase-header .tag {
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: .02em;
}
.usecase-body { padding: 20px 28px 28px; }
.usecase-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.usecase-body ul { padding: 0; }
.usecase-body li {
  font-size: .85rem;
  color: var(--text);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.usecase-body li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23147A5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* === CALLOUT === */
.callout {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 50%, #064E3B 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  pointer-events: none;
}
.callout h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
}
.callout p {
  font-size: 1.05rem;
  opacity: .8;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  line-height: 1.7;
}

/* === VISIBILITY GRID === */
.visibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vis-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
}
.vis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.vis-emoji {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, #D1FAE5, #A7F3D0);
  box-shadow: 0 4px 16px rgba(5,150,105,.15);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.vis-card:hover .vis-emoji {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(5,150,105,.25);
}
.vis-emoji svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 1.5;
}
.vis-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.vis-card p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(5,150,105,.3);
  position: relative;
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #059669, #D97706);
}
.pricing-header {
  padding: 32px 28px 24px;
  text-align: center;
}
.pricing-card.featured .pricing-header {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
.pricing-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-card.featured .pricing-badge {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.pricing-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-desc { font-size: .85rem; opacity: .6; }
.pricing-price {
  padding: 24px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.pricing-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pricing-card.featured .pricing-amount { color: var(--primary); }
.pricing-unit { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.pricing-setup { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.pricing-features { padding: 24px 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  margin-bottom: 14px;
  color: var(--text);
}
.pricing-features .check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  font-size: .7rem;
}
.pricing-footer { padding: 8px 28px 28px; text-align: center; }
.pricing-footer .btn { width: 100%; justify-content: center; }

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.trust-item .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}
.trust-item .icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

/* === TESTIMONIALS (new section) === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all .35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--earth-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}
.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.testimonial-role { font-size: .8rem; color: var(--muted); }

/* === CTA SECTION === */
.cta-section {
  padding: var(--section-py) 0;
  background: linear-gradient(145deg, #064E3B 0%, #047857 30%, #059669 60%, #D97706 150%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* === FORMS / CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--bg);
  transition: all .25s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 122, 94, .1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: center;
}
.contact-info p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-info a { color: var(--primary); font-weight: 600; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-divider { height: 1px; background: var(--border-light); margin: 20px 0; }
.contact-info-note { font-size: .88rem; color: var(--muted); line-height: 1.65; padding: 12px 0; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 16px; }
.required { color: var(--danger); font-weight: 600; }
.optional { font-size: .78rem; color: var(--subtle); font-weight: 400; margin-left: 4px; }

/* === STEPS (comment ca marche) === */
.steps { max-width: var(--max-w-narrow); margin: 0 auto; }
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: all .3s var(--ease);
}
.step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: var(--shadow-primary);
}
.step-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.step-content p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* === FAQ === */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 12px;
  transition: all .3s var(--ease);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}
.faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer { font-size: .92rem; color: var(--muted); line-height: 1.7; }

/* === FEATURE BLOCKS (services page) === */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border-light);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--ink);
}
.feature-text p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.feature-text ul { padding: 0; }
.feature-text li {
  font-size: .9rem;
  color: var(--text);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-text li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23147A5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.feature-visual {
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.feature-block:hover .feature-visual { transform: scale(1.02); }
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige);
  background-size: 48px 48px;
  opacity: .25;
  pointer-events: none;
}
/* Illustration image inside feature-visual */
.feature-visual .fv-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  transition: transform .5s var(--ease);
}
.feature-block:hover .fv-img { transform: scale(1.04); }
/* Crop helper — hides text-heavy bottom/top of Canva exports */
.feature-visual.fv-crop-center {
  overflow: hidden;
}
.feature-visual.fv-crop-center .fv-img {
  object-fit: cover;
  object-position: center 30%;
}

/* Icon disc inside feature-visual */
.feature-visual .fv-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease);
}
.feature-block:hover .fv-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.feature-visual .fv-icon svg {
  width: 52px;
  height: 52px;
  position: relative;
  z-index: 1;
}
/* Color variants for feature-visual backgrounds */
.feature-visual.fv-emerald {
  background: linear-gradient(160deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
}
.feature-visual.fv-emerald .fv-icon {
  background: linear-gradient(145deg, #059669, #047857);
  box-shadow: 0 8px 32px rgba(5,150,105,.35);
}
.feature-visual.fv-emerald .fv-icon svg { stroke: #fff; fill: none; stroke-width: 1.5; }
.feature-visual.fv-earth {
  background: linear-gradient(160deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
}
.feature-visual.fv-earth .fv-icon {
  background: linear-gradient(145deg, #C2410C, #9A3412);
  box-shadow: 0 8px 32px rgba(194,65,12,.3);
}
.feature-visual.fv-earth .fv-icon svg { stroke: #fff; fill: none; stroke-width: 1.5; }
.feature-visual.fv-gold {
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
}
.feature-visual.fv-gold .fv-icon {
  background: linear-gradient(145deg, #D97706, #B45309);
  box-shadow: 0 8px 32px rgba(217,119,6,.3);
}
.feature-visual.fv-gold .fv-icon svg { stroke: #fff; fill: none; stroke-width: 1.5; }
.feature-visual.fv-slate {
  background: linear-gradient(160deg, #F8FAFC 0%, #E2E8F0 50%, #CBD5E1 100%);
}
.feature-visual.fv-slate .fv-icon {
  background: linear-gradient(145deg, #1E293B, #0F172A);
  box-shadow: 0 8px 32px rgba(15,23,42,.3);
}
.feature-visual.fv-slate .fv-icon svg { stroke: #fff; fill: none; stroke-width: 1.5; }
.feature-visual.fv-blue {
  background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 50%, #BFDBFE 100%);
}
.feature-visual.fv-blue .fv-icon {
  background: linear-gradient(145deg, #2563EB, #1D4ED8);
  box-shadow: 0 8px 32px rgba(37,99,235,.3);
}
.feature-visual.fv-blue .fv-icon svg { stroke: #fff; fill: none; stroke-width: 1.5; }
/* Decorative ring around the icon disc */
.feature-visual .fv-icon::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.feature-visual.fv-emerald .fv-icon::before { border-color: rgba(5,150,105,.2); }
.feature-visual.fv-earth .fv-icon::before { border-color: rgba(194,65,12,.15); }
.feature-visual.fv-gold .fv-icon::before { border-color: rgba(217,119,6,.15); }
.feature-visual.fv-slate .fv-icon::before { border-color: rgba(30,41,59,.12); }
.feature-visual.fv-blue .fv-icon::before { border-color: rgba(37,99,235,.15); }

/* === ABOUT === */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-value, .about-value-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
}
.about-value:hover, .about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-value .icon, .about-value-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--primary-light);
}
.about-value h3, .about-value-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.about-value p, .about-value-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}
.about-context {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
}
.about-context p { margin-bottom: 20px; }

/* === MOCKUP FRAMES === */
.mockup-frame {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: all .4s var(--ease);
}
.mockup-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 29, 35, .2);
}
.mockup-titlebar {
  background: #2A2D35;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28C840; }
.mockup-titlebar-text {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-left: 10px;
  font-family: 'DM Sans', monospace;
}
.mockup-content { position: relative; width: 100%; overflow: hidden; }
.mockup-content img { width: 100%; display: block; }
.mockup-content iframe {
  width: 200%;
  height: 800px;
  border: none;
  transform: scale(.5);
  transform-origin: top left;
  pointer-events: none;
}
.mockup-content.tall iframe { height: 1000px; }
.mockup-wrapper { width: 100%; height: 400px; overflow: hidden; position: relative; }
.mockup-wrapper.short { height: 300px; }

/* Mobile mockup */
.mockup-mobile-frame {
  background: var(--ink);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  max-width: 280px;
  margin: 0 auto;
  transition: transform .4s var(--ease);
}
.mockup-mobile-frame:hover { transform: translateY(-4px); }
.mockup-mobile-screen { border-radius: 20px; overflow: hidden; position: relative; }
.mockup-mobile-screen iframe {
  width: 200%;
  height: 1200px;
  border: none;
  transform: scale(.5);
  transform-origin: top left;
  pointer-events: none;
}
.mockup-mobile-wrapper { width: 100%; height: 480px; overflow: hidden; }
.mockup-mobile-notch {
  width: 100px;
  height: 24px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.mockups-dual { display: flex; gap: 24px; justify-content: center; align-items: flex-start; }
.feature-mockup { border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; }

/* === FOOTER === */
.footer {
  background: linear-gradient(180deg, #0F172A, #020617);
  color: #94A3B8;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #059669;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige-light);
  background-size: 48px 48px;
  opacity: .5;
  pointer-events: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.footer-brand { max-width: 340px; }
.footer-brand .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-brand .logo img { height: 32px; }
.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  color: #94A3B8;
}
.footer-col h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col a {
  display: block;
  font-size: .88rem;
  margin-bottom: 12px;
  transition: all .25s var(--ease);
  color: #94A3B8;
}
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  text-align: center;
  position: relative;
  color: #64748B;
}

/* === ZELLIGE DECORATIVE ELEMENTS === */
.zellige-divider {
  height: 48px;
  background: var(--zellige);
  background-size: 48px 48px;
  opacity: .5;
}
.section-zellige {
  position: relative;
}
.section-zellige::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zellige);
  background-size: 48px 48px;
  opacity: .3;
  pointer-events: none;
}

/* Decorative gradient orbs */
.section-decorated { position: relative; overflow: hidden; }
.section-decorated::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 122, 94, .05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.section-decorated::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(160, 103, 75, .04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* === GRADIENT SECTIONS === */
.section-gradient-green {
  background: linear-gradient(180deg, var(--primary-mist) 0%, var(--bg) 100%);
}
.section-gradient-earth {
  background: linear-gradient(180deg, var(--earth-mist) 0%, var(--bg) 100%);
}
.section-dark {
  background: linear-gradient(145deg, var(--ink) 0%, #2A2D35 100%);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }
.section-dark .section-label { color: rgba(255,255,255,.6); }
.section-dark .section-label::before { background: rgba(255,255,255,.3); }

/* Section headers for richer backgrounds */
.section-header-green {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 56px 0;
}
.section-header-green .section-title,
.section-header-green .section-subtitle { color: var(--white); }
.section-header-green .section-subtitle { opacity: .8; }
.section-header-earth {
  background: linear-gradient(145deg, var(--earth-dark), var(--earth));
  color: var(--white);
  padding: 56px 0;
}

/* === ANIMATIONS === */
/* Fade up on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Slide from sides */
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.slide-left.visible, .slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}
/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger delays for grid children */
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .4s; }
.fade-up:nth-child(7) { transition-delay: .48s; }
.fade-up:nth-child(8) { transition-delay: .56s; }

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--earth));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grain overlay */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { margin-top: 48px; }
  .hero-visual .mockup-frame { transform: none; }
  .hero-visual .mockup-frame:hover { transform: translateY(-4px); }
  .hero-pillars { justify-content: center; }
  .hero-pillar { text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .cards-grid,
  .pricing-grid,
  .security-grid-money,
  .problem-grid,
  .usecases-grid,
  .about-values,
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .visibility-grid { grid-template-columns: repeat(2, 1fr); }
  .darija-demo,
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .stat-item:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat-item:nth-child(3) { border-radius: 0; }
  .stat-item:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .services-inner { flex-wrap: wrap; justify-content: center; gap: 0; }
  .service-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); flex: 1 1 auto; min-width: 200px; justify-content: center; }
  .mockups-dual { flex-direction: column; align-items: center; }
  .mockup-wrapper { height: 280px; }
  .mockup-mobile-wrapper { height: 360px; }
  .relance-section { padding: 36px 28px; }
  .security-money { padding: 44px 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  :root { --section-py: 60px; --nav-h: 64px; }
  .section { padding: var(--section-py) 0; }
  .hero { padding: 120px 0 56px; }
  .page-hero { padding: 110px 0 48px; }
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .visibility-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-radius: 0 !important; }
  .stat-item:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .stat-item:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .hero-pillars { flex-direction: column; gap: 16px; }
  .callout { padding: 44px 24px; }
  .darija-demo { padding: 36px 24px; }
  .relance-section { padding: 28px 20px; }
  .security-money { padding: 36px 20px; }
  .contact-form, .contact-form-wrapper { padding: 28px 20px; }
  .hero-visual::before { display: none; }
}

/* Print styles */
@media print {
  .nav, .cta-section, .footer { display: none; }
  .hero { padding-top: 0; }
  .fade-up, .slide-left, .slide-right, .scale-in { opacity: 1; transform: none; }
}
