/* ============================================================== */
/* Wlidi (وليدي) — Site Web Vitrine Officiel                      */
/* Design Exécutif SaaS • Thème Sombre Slate & Émeraude           */
/* Conception : Imagin'Art — Laabidi Abdelghani                   */
/* ============================================================== */

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

:root {
  --bg-base: #070d18;
  --bg-surface: #0f172a;
  --bg-card: rgba(17, 27, 46, 0.75);
  --bg-card-hover: rgba(23, 37, 63, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(20, 184, 166, 0.35);
  
  --primary: #14b8a6;
  --primary-hover: #0d9488;
  --primary-glow: rgba(20, 184, 166, 0.45);
  --primary-light: #2dd4bf;
  
  --secondary: #38bdf8;
  --secondary-glow: rgba(56, 189, 248, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-fr: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(20, 184, 166, 0.28);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(20, 184, 166, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

html[dir="ltr"] body {
  font-family: var(--font-fr);
}

/* ═══ TRAME DE POINTS EXECUTIVE (#15 Dot matrix) ═══ */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(20, 184, 166, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 20%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 20%, black 35%, transparent 85%);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================================== */
/* NAVIGATION BAR                                                 */
/* ============================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  background: rgba(20, 184, 166, 0.15);
  color: var(--primary-light);
  border: 1px solid var(--border-glow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-lang {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-lang:hover {
  background: rgba(20, 184, 166, 0.12);
  border-color: var(--primary);
  color: var(--text-primary);
}

/* Bouton Burger Mobile */
.btn-burger {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  padding: 8px 7px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.25s ease;
  outline: none;
}

.btn-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.btn-burger:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--primary);
}

.btn-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.btn-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-nav-download {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ============================================================== */
/* HERO SECTION                                                   */
/* ============================================================== */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.28);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-pill .heart {
  color: #ef4444;
}

.hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 1.4rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.22rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25),
    0 10px 30px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 16px 36px var(--primary-glow);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.hero-badge-item .icon {
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ============================================================== */
/* MASSAR PARTNERSHIP / ECOSYSTEM BADGE                           */
/* ============================================================== */
.massar-strip {
  margin: 1.5rem auto 4.5rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px -8px rgba(0, 0, 0, 0.5);
}

.massar-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.massar-icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35);
  flex-shrink: 0;
}

.massar-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.2rem;
}

.massar-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.massar-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.massar-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}

/* ============================================================== */
/* VIDEO SHOWCASE SECTION (APP DEMO)                              */
/* ============================================================== */
.video-showcase {
  margin-bottom: 6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary-light);
  border: 1px solid var(--border-glow);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.video-player-frame {
  background: #0f172a;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), var(--shadow-glow);
  position: relative;
}

.window-titlebar {
  background: #1e293b;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.video-element {
  width: 100%;
  height: auto;
  display: block;
  max-height: 720px;
  object-fit: cover;
  background: #000000;
}

/* ============================================================== */
/* HOW IT WORKS (3 STEPS)                                         */
/* ============================================================== */
.steps-section {
  margin-bottom: 6rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: linear-gradient(155deg, rgba(17, 27, 46, 0.85) 0%, rgba(12, 19, 34, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 10px 28px -6px rgba(0, 0, 0, 0.45);
}

.step-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(155deg, rgba(23, 37, 63, 0.92) 0%, rgba(15, 24, 42, 0.98) 100%);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 40px -8px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(20, 184, 166, 0.22);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.3);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ============================================================== */
/* FEATURES GRID                                                  */
/* ============================================================== */
.features-section {
  margin-bottom: 6rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.feature-card {
  background: linear-gradient(155deg, rgba(17, 27, 46, 0.85) 0%, rgba(12, 19, 34, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 10px 28px -6px rgba(0, 0, 0, 0.45);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.45);
  background: linear-gradient(155deg, rgba(23, 37, 63, 0.92) 0%, rgba(15, 24, 42, 0.98) 100%);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 36px -6px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(20, 184, 166, 0.2);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================== */
/* COMPARISON TABLE                                               */
/* ============================================================== */
.comparison-section {
  margin-bottom: 6rem;
}

.comparison-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

html[dir="ltr"] .comparison-table {
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: #1e293b;
  font-size: 1.05rem;
  font-weight: 800;
}

.comparison-table th.col-wlidi {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(13, 148, 136, 0.25) 100%);
  color: var(--primary-light);
  border-inline: 1px solid rgba(20, 184, 166, 0.3);
}

.comparison-table td.col-wlidi {
  background: rgba(20, 184, 166, 0.05);
  font-weight: 700;
  color: var(--primary-light);
  border-inline: 1px solid rgba(20, 184, 166, 0.2);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================== */
/* CALL TO ACTION & DOWNLOAD BOX                                  */
/* ============================================================== */
.download-section {
  margin-bottom: 5rem;
}

.cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(13, 148, 136, 0.2) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.btn-cta-download {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 1.15rem 2.8rem;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 35px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
}

.btn-cta-download:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px var(--primary-glow);
}

.cta-meta-info {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ============================================================== */
/* SMARTSCREEN REASSURANCE CARD                                   */
/* ============================================================== */
.smartscreen-card {
  margin-top: 2.2rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 2.4rem 2.2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.08);
  position: relative;
}

.smartscreen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.smartscreen-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #f1f5f9;
  margin-bottom: 0.65rem;
}

.smartscreen-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.smartscreen-main-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
  text-align: start;
}

.smartscreen-visual-col {
  flex: 0 0 380px;
  max-width: 400px;
}

.smartscreen-img-wrapper {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smartscreen-img-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.25);
}

.smartscreen-img-tag {
  background: #1e293b;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smartscreen-img {
  width: 100%;
  height: auto;
  display: block;
}

.smartscreen-img-callout {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.95) 0%, rgba(3, 105, 161, 0.95) 100%);
  color: #ffffff;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  justify-content: center;
}

.smartscreen-steps-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.smartscreen-step {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  text-align: start;
  transition: all 0.25s ease;
}

.smartscreen-step.highlight-step {
  background: rgba(14, 116, 144, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.smartscreen-step:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-2px);
}

.step-badge-num {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
}

.step-badge-num.pulse {
  animation: stepPulse 2.5s infinite;
}

@keyframes stepPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.step-instruction {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.link-highlight {
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 800;
}

.btn-highlight {
  background: #ffffff;
  color: #0f172a;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: inline-block;
  margin: 0 0.2rem;
}

.smartscreen-step-connector {
  text-align: center;
  color: #38bdf8;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
  margin: -0.3rem 0;
}

.smartscreen-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.6rem;
}

.guarantee-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.45rem 0.95rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.guarantee-pill .pill-icon {
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .smartscreen-main-layout {
    flex-direction: column;
    gap: 1.8rem;
  }
  .smartscreen-visual-col {
    flex: none;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .smartscreen-card {
    padding: 1.6rem 1.2rem;
  }
  .smartscreen-guarantees {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
}

/* ============================================================== */
/* FAQ SECTION                                                    */
/* ============================================================== */
.faq-section {
  margin-bottom: 6rem;
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(20, 184, 166, 0.3);
  background: var(--bg-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  user-select: none;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  margin-top: 0.85rem;
}

/* ============================================================== */
/* FOOTER                                                         */
/* ============================================================== */
.site-footer {
  background: #090e1a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.footer-top-strip {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  font-size: 1rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link-item:hover {
  color: var(--primary-light);
}

.footer-bottom-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-copy strong {
  color: var(--text-primary);
}

/* ============================================================== */
/* RESPONSIVE DESIGN (Mobile, Tablette, Desktop)                  */
/* ============================================================== */
@media (max-width: 992px) {
  .btn-burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1.4rem 1.2rem;
    gap: 0.35rem;
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.is-open {
    max-height: 380px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(20, 184, 166, 0.12);
    color: var(--primary-light);
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Réduction des espaces démesurés & distinction claire des sections */
  .steps-section,
  .features-section,
  .download-section,
  .faq-section {
    margin-bottom: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 0.6rem 0;
  }
  
  .brand-logo {
    height: 30px;
  }
  
  .brand-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
  }

  .btn-lang {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  /* Hero Section Ultra-Compacte */
  .hero {
    padding: 1.6rem 0 1.2rem;
  }
  
  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: 1.42rem;
    line-height: 1.32;
    white-space: normal;
    margin-bottom: 0.75rem;
  }

  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.4rem;
  }

  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.96rem;
    padding: 0.82rem 1.2rem;
    border-radius: var(--radius-sm);
  }

  .hero-meta-badges {
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.8rem;
  }

  /* Massar Strip Compact */
  .massar-strip {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.1rem;
    margin: 0.8rem auto 2.4rem;
    border-radius: var(--radius-md);
    gap: 0.75rem;
  }

  .massar-info {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .massar-icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .massar-text h4 {
    font-size: 0.98rem;
  }

  .massar-text p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .massar-tags {
    justify-content: center;
    gap: 0.45rem;
  }

  .massar-tag {
    font-size: 0.74rem;
    padding: 0.25rem 0.55rem;
  }

  /* Cartes Étapes & Features Compactes */
  .step-card {
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
    border-radius: var(--radius-sm);
  }

  .step-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
  }

  .step-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .feature-card {
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
  }

  .feature-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
    border-radius: var(--radius-sm);
  }

  .feature-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
  }

  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Call To Action Box Compact */
  .cta-box {
    padding: 1.8rem 1.1rem;
    border-radius: var(--radius-lg);
  }

  .cta-title {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
  }

  .cta-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .btn-cta-download {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
  }

  .cta-meta-info {
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  /* FAQ Compact */
  .faq-grid {
    gap: 0.55rem;
  }

  .faq-item {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
  }

  .faq-question {
    font-size: 0.94rem;
    gap: 0.6rem;
  }

  .faq-answer {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Footer Compact */
  .site-footer {
    padding: 1.6rem 0 1rem;
  }

  .footer-top-strip {
    font-size: 0.8rem;
    line-height: 1.45;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1.1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 0.9rem;
  }

  .footer-brand img {
    height: 28px;
  }

  .footer-brand p {
    font-size: 0.78rem;
  }

  .footer-links-group {
    justify-content: center;
    flex-direction: column;
    gap: 0.65rem;
  }

  .footer-link-item {
    font-size: 0.84rem;
  }

  .footer-bottom-copy {
    flex-direction: column;
    text-align: center;
    gap: 0.45rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.28rem;
  }
  .btn-hero-primary,
  .btn-cta-download {
    font-size: 0.9rem;
    padding: 0.78rem 1rem;
  }
  .section-title {
    font-size: 1.25rem;
  }
}
