/*
Theme Name: CREADEV
Theme URI: https://creadev.dz
Author: CREADEV
Author URI: https://creadev.dz
Description: Thème officiel CREADEV — L'écosystème digital de l'éducation. Compatible Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://creadev.dz
Text Domain: creadev
Tags: education, elementor, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, translation-ready

*/

/* ============================================================
   CREADEV Design System — CSS Custom Properties
   ============================================================ */

:root {
  /* === COULEURS PRUNE === */
  --prune-night:    #2D1F47;
  --prune-dark:     #4A3588;
  --prune-medium:   #7B6098;
  --prune-lavender: #B8A5D4;
  --prune-light:    #EDE6F5;

  /* === COULEURS OR === */
  --gold-dark:  #C49A3C;
  --gold:       #DDB96A;
  --gold-light: #EDD090;
  --gold-cream: #FBF3E0;

  /* === NEUTRES === */
  --white-neutral: #FAFAFA;
  --white-pure:    #FFFFFF;
  --gray-100:      #F5F4F0;
  --gray-200:      #E5E3DC;
  --gray-400:      #999791;
  --gray-600:      #5F5E5A;
  --gray-800:      #2C2C2A;
  --black-soft:    #1A1626;

  /* === SÉMANTIQUES === */
  --success: #2E8B57;
  --warning: #D97706;
  --error:   #DC2626;
  --info:    #2563EB;

  /* === TYPOGRAPHIE === */
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', sans-serif;

  /* === BORDER RADIUS === */
  --radius-sm:  0.25rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;

  /* === OMBRES === */
  --shadow-sm: 0 1px 2px rgba(45,31,71,0.05);
  --shadow-md: 0 4px 12px rgba(45,31,71,0.08);
  --shadow-lg: 0 12px 24px rgba(45,31,71,0.10);
  --shadow-xl: 0 24px 48px rgba(45,31,71,0.12);
}

/* ============================================================
   BASE RESET & GLOBAL STYLES
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--black-soft);
  background-color: var(--white-neutral);
  line-height: 1.6;
}

body.rtl, [dir="rtl"] { font-family: var(--font-arabic); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

*:focus-visible {
  outline: 2px solid var(--prune-night);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 3rem; } }

.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--prune-night);
  color: #fff;
  border-color: var(--prune-night);
}
.btn-primary:hover {
  background: var(--prune-dark);
  border-color: var(--prune-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn-gold {
  background: var(--gold-dark);
  color: var(--prune-night);
  border-color: var(--gold-dark);
}
.btn-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.site-header.scrolled {
  background: rgba(45,31,71,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.site-logo { font-size: 1.5rem; font-weight: 800; color: var(--prune-night); }
.site-header.scrolled .site-logo { color: #fff; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}
.main-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a.current-menu-item {
  color: var(--prune-night);
  background: var(--prune-light);
}
.site-header.scrolled .main-nav a { color: rgba(255,255,255,0.75); }
.site-header.scrolled .main-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: none; background: none; cursor: pointer;
  color: var(--prune-night);
  border-radius: var(--radius-md);
}
.site-header.scrolled .menu-toggle { color: #fff; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--prune-night);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu nav a:hover { color: var(--gold-dark); }
.mobile-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: #fff; cursor: pointer; font-size: 1.5rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--prune-night);
  padding-top: 4.5rem; /* offset for fixed header */
}
.hero-blob-1 {
  position: absolute;
  top: -8rem; right: -8rem;
  width: 32rem; height: 32rem;
  border-radius: 50%;
  background: rgba(74,53,136,0.4);
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute;
  bottom: 0; left: 0;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: rgba(196,154,60,0.05);
  filter: blur(80px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 5rem 6rem;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 7rem 8rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(196,154,60,0.4);
  background: rgba(196,154,60,0.1);
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
}
.hero-badge span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2.5rem; max-width: 32rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }
.hero-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--gold-dark); line-height: 1.2; }

/* Dashboard Mockup */
.hero-mockup { display: none; }
@media (min-width: 1024px) { .hero-mockup { display: block; } }
.mockup-window {
  border-radius: var(--radius-2xl);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  margin-left: 1rem;
}
.mockup-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mockup-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.mockup-dot-r { background: rgba(248,113,113,0.7); }
.mockup-dot-y { background: rgba(250,204,21,0.7); }
.mockup-dot-g { background: rgba(74,222,128,0.7); }
.mockup-url { flex: 1; height: 1.25rem; border-radius: var(--radius-md); background: rgba(255,255,255,0.07); margin-left: 0.75rem; }
.mockup-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.mockup-card {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.07);
  padding: 0.75rem;
}
.mockup-card-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.mockup-card-value { font-size: 1.5rem; font-weight: 700; color: #fff; }
.mockup-card-trend { font-size: 0.75rem; color: #4ade80; margin-top: 0.25rem; }
.mockup-chart { border-radius: var(--radius-xl); background: rgba(255,255,255,0.07); padding: 1rem; margin-bottom: 1rem; }
.mockup-chart-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
.mockup-bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 5rem; }
.mockup-bar { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,0.14); }
.mockup-bar.highlight { background: var(--gold-dark); }
.mockup-notifications { display: flex; flex-direction: column; gap: 0.5rem; }
.mockup-notif {
  display: flex; align-items: center; gap: 0.625rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  padding: 0.625rem 0.75rem;
}
.mockup-notif-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold-dark); flex-shrink: 0; }
.mockup-notif-text { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.mockup-float {
  position: absolute;
  bottom: -1.5rem; left: -2.5rem;
  border-radius: var(--radius-2xl);
  background: var(--gold-dark);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  width: 12rem;
}
.mockup-float-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.mockup-float-icon {
  width: 2rem; height: 2rem; border-radius: var(--radius-lg);
  background: var(--prune-night);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem; font-weight: 900; color: var(--gold-dark);
  flex-shrink: 0;
}
.mockup-float-title { font-size: 0.75rem; font-weight: 700; color: var(--prune-night); }
.mockup-float-sub { font-size: 0.625rem; color: rgba(45,31,71,0.6); }
.mockup-float-body {
  border-radius: var(--radius-lg);
  background: rgba(45,31,71,0.15);
  padding: 0.625rem;
  font-size: 0.75rem; font-weight: 500; color: var(--prune-night);
}

/* ============================================================
   TRUST / LOGOS SECTION
   ============================================================ */

.trust-section { padding-block: 3rem; background: #fff; border-bottom: 1px solid var(--gray-100); }
.trust-title { text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.trust-logo {
  font-size: 1rem; font-weight: 700; color: var(--gray-400);
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: color 0.2s, border-color 0.2s;
}
.trust-logo:hover { color: var(--prune-night); border-color: var(--prune-lavender); }

/* ============================================================
   PAIN SECTION
   ============================================================ */

.pain-section { background: var(--gray-100); padding-block: 4rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--prune-dark);
  background: var(--prune-light);
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--prune-night); line-height: 1.2; margin-bottom: 2rem; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: #fff; border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem; font-weight: 500; color: var(--gray-800);
}
.pain-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */

.solutions-section { background: #fff; padding-block: 5rem; }
.solutions-section .section-title { text-align: center; }
.solutions-white-label { text-align: center; color: var(--gray-400); font-size: 0.875rem; margin-bottom: 3rem; margin-top: 0.5rem; max-width: 32rem; margin-inline: auto; }
.solutions-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }

.solution-card {
  border-radius: var(--radius-2xl);
  border: 2px solid;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.solution-card.prune { border-color: rgba(184,165,212,0.5); background: var(--prune-light); }
.solution-card.prune:hover { border-color: rgba(45,31,71,0.4); }
.solution-card.gold  { border-color: rgba(221,185,106,0.5); background: var(--gold-cream); }
.solution-card.gold:hover  { border-color: rgba(196,154,60,0.6); }

.solution-card-header { display: flex; align-items: flex-start; gap: 1rem; }
.solution-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.375rem;
}
.solution-card.prune .solution-icon { background: rgba(45,31,71,0.1); }
.solution-card.gold  .solution-icon { background: rgba(196,154,60,0.2); }
.solution-card-title { font-size: 1.125rem; font-weight: 700; color: var(--prune-night); }
.solution-card-desc  { font-size: 0.875rem; color: var(--prune-medium); margin-top: 0.125rem; }
.solution-features { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.solution-feature {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.875rem; color: var(--gray-800);
}
.solution-feature::before {
  content: '';
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem;
}
.solution-card.prune .solution-feature::before { background: var(--prune-night); }
.solution-card.gold  .solution-feature::before { background: var(--gold-dark); }
.solution-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 600;
  transition: color 0.2s;
}
.solution-card.prune .solution-link { color: var(--prune-night); }
.solution-card.prune .solution-link:hover { color: var(--prune-dark); }
.solution-card.gold  .solution-link { color: var(--gold-dark); }
.solution-card.gold  .solution-link:hover { color: var(--prune-night); }

/* ============================================================
   WHY SECTION
   ============================================================ */

.why-section { background: var(--prune-night); padding-block: 5rem; }
.why-section .section-title { color: #fff; text-align: center; margin-bottom: 3rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.why-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(196,154,60,0.3); }
.why-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.why-label { font-size: 0.9375rem; font-weight: 600; color: rgba(255,255,255,0.9); }

/* ============================================================
   RESULTS SECTION
   ============================================================ */

.results-section { background: var(--gold-cream); padding-block: 5rem; }
.results-section .section-title { text-align: center; margin-bottom: 3rem; }
.results-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(3,1fr); } }
.result-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.result-value { font-size: 2.5rem; font-weight: 800; color: var(--prune-night); line-height: 1; margin-bottom: 0.5rem; }
.result-desc { font-size: 0.9375rem; color: var(--gray-600); }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials-section { background: #fff; padding-block: 5rem; }
.testimonials-section .section-title { text-align: center; margin-bottom: 3rem; }
.testimonials-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--prune-light);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-stars { color: var(--gold-dark); font-size: 1rem; letter-spacing: 0.1em; }
.testimonial-text { font-size: 0.9375rem; color: var(--gray-800); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--prune-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; color: var(--prune-night); }
.testimonial-role { font-size: 0.75rem; color: var(--prune-medium); }

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section { background: var(--gray-100); padding-block: 5rem; }
.faq-section .section-title { text-align: center; margin-bottom: 3rem; }
.faq-list { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-trigger {
  width: 100%; text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem; font-weight: 600; color: var(--prune-night);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
  gap: 1rem;
}
.faq-trigger:hover { background: var(--prune-light); }
.faq-trigger svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-body { max-height: 500px; }
.faq-body-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7;
}
.faq-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */

.cta-final-section {
  background: var(--prune-night);
  padding-block: 5rem;
  text-align: center;
}
.cta-final-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta-final-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; max-width: 32rem; margin-inline: auto; }
.cta-final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cta-final-mention { font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin-top: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: #fff; border-top: 1px solid var(--gray-200); }
.footer-body { padding-block: 4rem; display: grid; gap: 3rem; }
@media (min-width: 640px) { .footer-body { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-body { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-name { font-size: 1.25rem; font-weight: 800; color: var(--prune-night); }
.footer-tagline { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.75rem; line-height: 1.6; max-width: 18rem; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer-social {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social:hover { color: var(--prune-night); border-color: var(--prune-lavender); background: var(--prune-light); }
.footer-col-title {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--prune-night);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: var(--gray-600); transition: color 0.2s; }
.footer-links a:hover { color: var(--prune-night); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.625rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1rem;
  font-size: 0.8125rem; color: var(--gray-400);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal a { color: var(--gray-400); transition: color 0.2s; }
.footer-legal a:hover { color: var(--prune-night); }

/* ============================================================
   INNER PAGES
   ============================================================ */

.page-hero {
  background: var(--prune-night);
  padding: 8rem 0 4rem;
}
.page-hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.page-hero-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 40rem; }

.content-section { padding-block: 5rem; }
.content-section h2 { font-size: 1.75rem; font-weight: 700; color: var(--prune-night); margin-bottom: 1rem; margin-top: 2.5rem; }
.content-section p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }

/* ============================================================
   CONTACT / FORMS
   ============================================================ */

.contact-form-wrap { max-width: 42rem; margin-inline: auto; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--black-soft);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--prune-dark);
  box-shadow: 0 0 0 3px rgba(74,53,136,0.1);
}
.form-textarea { resize: vertical; min-height: 8rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   WORDPRESS CONTENT STYLES
   ============================================================ */

.entry-content { max-width: 42rem; }
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: var(--prune-night);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.entry-content p  { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.375rem; color: var(--gray-600); }
.entry-content a  { color: var(--prune-dark); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--gold-dark);
  padding-left: 1.25rem;
  margin-block: 1.5rem;
  font-style: italic; color: var(--gray-600);
}

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */

.elementor-section,
.e-con { max-width: 100% !important; }

.elementor-kit-tag h1 { font-family: var(--font-sans); }
.elementor-widget-heading .elementor-heading-title { line-height: 1.2; }
.elementor-button.btn-primary-el {
  background-color: var(--prune-night) !important;
  border-color: var(--prune-night) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
}
.elementor-button.btn-gold-el {
  background-color: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: var(--prune-night) !important;
  border-radius: var(--radius-lg) !important;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center  { text-align: center; }
.text-white   { color: #fff; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================================
   HEADER — complete redesign matching Next.js app
   ============================================================ */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(45,31,71,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .header-inner { padding-inline: 2rem; } }
@media (min-width: 1024px) { .header-inner { padding-inline: 3rem; } }

/* Logo — dark/light versions */
.site-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-dark  { display: block; }
.logo-light { display: none; }
.site-header.scrolled .logo-dark  { display: none; }
.site-header.scrolled .logo-light { display: block; }

/* Desktop navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link, .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.nav-link:hover, .nav-btn:hover,
.nav-dropdown.open .nav-btn {
  color: var(--prune-night);
  background: var(--prune-light);
}
.site-header.scrolled .nav-link,
.site-header.scrolled .nav-btn { color: rgba(255,255,255,0.8); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-btn:hover,
.site-header.scrolled .nav-dropdown.open .nav-btn {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

/* Dropdown container */
.nav-dropdown { position: relative; }

/* Simple dropdown menu (Secteurs, Pourquoi) */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 14rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.dropdown-item:hover { color: var(--prune-night); background: var(--prune-light); }

/* Mega menu (Solutions) */
.mega-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 820px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown.open .mega-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mega-inner {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mega-col-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.mega-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  transition: background 0.15s;
  text-decoration: none;
}
.mega-item:hover { background: var(--prune-light); }
.mega-item-featured {
  background: var(--prune-light);
  align-items: center;
  margin-top: 0.5rem;
}
.mega-item-featured:hover { background: rgba(184,165,212,0.3); }
.mega-item-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--prune-light);
  color: var(--prune-night);
  transition: background 0.15s;
}
.mega-item:hover .mega-item-icon { background: #fff; }
.mega-item-featured .mega-item-icon { background: #fff; }
.mega-item-title { font-weight: 600; font-size: 0.875rem; color: var(--prune-night); }
.mega-item-desc  { font-size: 0.75rem; color: var(--gray-600); margin-top: 0.125rem; }
.mega-arrow { color: var(--prune-medium); flex-shrink: 0; transition: transform 0.15s; }
.mega-item-featured:hover .mega-arrow { transform: translateX(3px); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--prune-light); }
.site-header.scrolled .hamburger:hover { background: rgba(255,255,255,0.12); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: background 0.2s;
}
.site-header.scrolled .hamburger span { background: #fff; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ============================================================
   MOBILE PANEL
   ============================================================ */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,22,38,0.4);
  z-index: 98;
}
.mobile-overlay.active { display: block; }

.mobile-panel {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: 100%;
  max-width: 24rem;
  background: #fff;
  z-index: 99;
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-xl);
}
.mobile-panel.open {
  display: flex;
  transform: translateX(0);
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-close {
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gray-500);
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}
.mobile-close:hover { color: var(--prune-night); background: var(--gray-100); }

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.mob-link {
  display: block;
  padding: 0.875rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mob-link:hover { color: var(--prune-night); background: var(--prune-light); }

.mob-accordion { }
.mob-acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mob-acc-btn:hover { color: var(--prune-night); background: var(--prune-light); }
.mob-chevron { transition: transform 0.2s; flex-shrink: 0; color: var(--gray-400); }
.mob-accordion.open .mob-chevron { transform: rotate(180deg); }

.mob-acc-body {
  display: none;
  margin-left: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--prune-light);
  margin-bottom: 0.25rem;
}
.mob-accordion.open .mob-acc-body { display: flex; flex-direction: column; gap: 0.125rem; }
.mob-sub-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mob-sub-link:hover { color: var(--prune-night); background: var(--prune-light); }

.mobile-panel-foot {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================================
   FOOTER — complete redesign matching Next.js app
   ============================================================ */

.site-footer { background: #fff; border-top: 1px solid var(--gray-200); }

.footer-main { padding-block: 4rem; }

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 3rem; }
}

.footer-brand-col { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-tagline { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; max-width: 18rem; margin-top: 0.25rem; }

.footer-socials { display: flex; gap: 0.5rem; }
.footer-social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social-btn:hover { color: var(--prune-night); border-color: var(--prune-lavender); background: var(--prune-light); }

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--prune-night);
  margin-bottom: 1rem;
}

.footer-links-list { display: flex; flex-direction: column; gap: 0.625rem; list-style: none; }
.footer-links-list a {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--prune-night); }

.footer-contact-col { display: flex; flex-direction: column; gap: 2rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.footer-contact-list a { color: var(--gray-600); text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--prune-night); }

/* Newsletter form */
.newsletter-form { }
.newsletter-row {
  display: flex;
  gap: 0.5rem;
}
.newsletter-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--black-soft);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.newsletter-input:focus { border-color: var(--prune-dark); }
.newsletter-msg { font-size: 0.8125rem; margin-top: 0.5rem; }

/* Footer bottom bar */
.footer-bottom-bar {
  border-top: 1px solid var(--gray-100);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copyright { font-size: 0.8125rem; color: var(--gray-400); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--prune-night); }

/* ============================================================
   CONTACT FORM — exact replica
   ============================================================ */

.contact-page-wrap {
  padding-top: 4.5rem;
  background: #fff;
}
.contact-hero {
  background: var(--prune-night);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -8rem; right: -8rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: rgba(74,53,136,0.4);
  filter: blur(80px);
}
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(196,154,60,0.4);
  background: rgba(196,154,60,0.1);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}
.contact-hero-badge span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); }

.contact-layout {
  padding-block: 5rem;
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 360px; }
}

.contact-form-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}
.contact-form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--prune-night);
  margin-bottom: 2rem;
}

/* Form field */
.field-group { margin-bottom: 1.25rem; }
.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--prune-night);
  margin-bottom: 0.375rem;
}
.field-required { color: #ef4444; }
.field-input, .field-select, .field-textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--prune-night);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--prune-night);
  box-shadow: 0 0 0 3px rgba(45,31,71,0.1);
}
.field-input.error, .field-select.error, .field-textarea.error {
  border-color: #f87171;
}
.field-input.error:focus, .field-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}
.field-textarea { resize: vertical; min-height: 7rem; }
.field-error { font-size: 0.75rem; color: #ef4444; margin-top: 0.375rem; display: none; }
.field-error.visible { display: block; }

.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 3px;
  accent-color: var(--prune-night);
  flex-shrink: 0;
  cursor: pointer;
}
.form-checkbox-label a { color: var(--prune-dark); text-decoration: underline; }

/* Form status messages */
.form-alert {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.form-alert.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-alert.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: var(--prune-night);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
}
.contact-info-card h3 { color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 1.25rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { color: var(--gold-dark); flex-shrink: 0; margin-top: 0.125rem; }
.contact-info-main { font-size: 0.875rem; font-weight: 600; color: #fff; }
.contact-info-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.125rem; }

.contact-guarantee {
  background: var(--prune-light);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   DEMO FORM — full multi-step style
   ============================================================ */

.demo-page-wrap { padding-top: 4.5rem; }
.demo-hero { background: var(--prune-night); padding: 4rem 0 3.5rem; text-align: center; }
.demo-guarantees { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.demo-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}
.demo-guarantee-pill svg { color: var(--gold-dark); }

.demo-layout { background: var(--prune-light); padding-block: 3.5rem; }
.demo-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 380px; } }

.demo-form-card { background: #fff; border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-sm); }
.demo-form-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--prune-night); margin-bottom: 0.375rem; }
.demo-form-card p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 2rem; }

.form-section { margin-bottom: 2rem; }
.form-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--prune-medium);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1.25rem;
}

/* Solutions checkboxes */
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.solution-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.solution-checkbox-label:has(input:checked) {
  border-color: var(--prune-night);
  background: var(--prune-light);
  color: var(--prune-night);
}
.solution-checkbox-label input[type="checkbox"] { display: none; }

/* Demo sidebar */
.demo-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.demo-sidebar-card { background: #fff; border-radius: var(--radius-2xl); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.demo-sidebar-card h3 { font-weight: 700; color: var(--prune-night); margin-bottom: 1rem; }
.demo-step { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.demo-step:last-child { margin-bottom: 0; }
.demo-step-num {
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: var(--prune-night);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.demo-step-title { font-size: 0.875rem; font-weight: 600; color: var(--prune-night); }
.demo-step-desc  { font-size: 0.8125rem; color: var(--gray-500); margin-top: 0.125rem; }


/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0,0,0,0.05);
  border-radius: 9999px;
  padding: 0.25rem;
}
.site-header.scrolled .lang-switcher {
  background: rgba(255,255,255,0.1);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-600);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover { background: rgba(45,31,71,0.08); color: var(--prune-night); }
.lang-btn.active {
  background: var(--prune-night);
  color: #fff;
}
.site-header.scrolled .lang-btn { color: rgba(255,255,255,0.7); }
.site-header.scrolled .lang-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.site-header.scrolled .lang-btn.active { background: var(--gold-dark); color: var(--prune-night); }

.lang-switcher-mobile {
  background: var(--gray-100);
  border-radius: 9999px;
  padding: 0.25rem;
}
.lang-switcher-mobile .lang-btn { color: var(--gray-700); }
.lang-switcher-mobile .lang-btn.active { background: var(--prune-night); color: #fff; }

/* RTL overrides */
.rtl .hero-ctas { flex-direction: row-reverse; }
.rtl .mega-inner { direction: rtl; }
.rtl .solution-link svg { transform: rotate(180deg); }
.rtl .footer-grid { direction: rtl; }
.rtl .mobile-panel { left: 0; right: auto; transform: translateX(-100%); }
.rtl .mobile-panel.open { transform: translateX(0); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: var(--gray-100);
  border-radius: 9999px;
  padding: 0.25rem;
}
.site-header.scrolled .lang-switcher {
  background: rgba(255,255,255,0.12);
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover { color: var(--prune-night); background: #fff; }
.lang-btn.lang-active {
  background: var(--prune-night);
  color: #fff;
}
.site-header.scrolled .lang-btn { color: rgba(255,255,255,0.6); }
.site-header.scrolled .lang-btn:hover { color: #fff; background: rgba(255,255,255,0.2); }
.site-header.scrolled .lang-btn.lang-active { background: var(--gold-dark); color: var(--prune-night); }

/* Mobile lang switcher */
.mobile-lang { display: flex; justify-content: center; }

/* RTL support */
body.rtl {
  font-family: var(--font-arabic);
  direction: rtl;
}
body.rtl .hero-inner { direction: rtl; }
body.rtl .mega-menu  { left: auto; right: 50%; transform: translateX(50%); }
body.rtl .mega-menu.nav-dropdown.open { transform: translateX(50%) translateY(0); }
body.rtl .dropdown-menu { left: auto; right: 50%; transform: translateX(50%); }
body.rtl .footer-grid { direction: rtl; }
body.rtl .mobile-panel { right: auto; left: 0; transform: translateX(-100%); }
body.rtl .mobile-panel.open { transform: translateX(0); }

/* ============================================================
   HERO LAYOUT FIX — mockup always right, text always left
   ============================================================ */

.hero-inner {
  direction: ltr !important; /* prevent RTL from swapping hero columns */
}

body.rtl .hero-inner > div:first-child {
  text-align: right;
}

body.rtl .hero-badge,
body.rtl .hero-ctas,
body.rtl .hero-stats {
  direction: rtl;
}

/* RTL — only apply to text content, not structural layout */
body.rtl .container,
body.rtl .solutions-grid,
body.rtl .why-grid,
body.rtl .results-grid,
body.rtl .testimonials-grid,
body.rtl .faq-list,
body.rtl .footer-grid,
body.rtl .pain-grid {
  direction: rtl;
}

body.rtl p,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl span,
body.rtl a,
body.rtl li,
body.rtl label {
  text-align: right;
}

/* Keep mega menu positioned correctly in RTL */
body.rtl .mega-menu {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-8px);
}
body.rtl .nav-dropdown.open .mega-menu {
  transform: translateX(-50%) translateY(0);
}

