/* ============================================================
   ESSENTIEL PME — Colors & Type
   Source: uploads/Typo & Color Palette.png + Mood Board.png
   ============================================================ */

/* ---- Webfonts (Google Fonts CDN, official Nunito) ---- */
/* Nunito (variable, self-hosted — no third-party request) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ----- Brand colors (named, French) ----- */
  --violet:        #4B2E83;   /* Primary brand — used for headlines, primary CTAs, key accents */
  --lavande:       #AFA4FF;   /* Secondary — soft surfaces, highlights, illustrations */
  --charbon:       #2E2E2E;   /* Body text, near-black */
  --blanc-casse:   #F6F6F8;   /* Off-white app/page background */
  --white:         #FFFFFF;

  /* ----- Tints / shades (derived; use sparingly) ----- */
  --violet-900:    #2E1A56;   /* deeper variant for hover on violet */
  --violet-700:    #3D2569;
  --violet-600:    #4B2E83;   /* = brand violet */
  --violet-500:    #6244A8;
  --violet-100:    #E7E1F4;   /* tint surface */
  --violet-50:     #F1ECFA;

  --lavande-700:   #8C7FE8;
  --lavande-500:   #AFA4FF;   /* = brand lavande */
  --lavande-200:   #D6CFFF;
  --lavande-100:   #EAE5FF;
  --lavande-50:    #F3F0FF;

  --charbon-900:   #1A1A1A;
  --charbon-700:   #2E2E2E;   /* = brand charbon */
  --charbon-500:   #5A5A5A;
  --charbon-300:   #9A9A9A;
  --charbon-200:   #C7C7C7;
  --charbon-100:   #E4E4E6;

  /* ----- Semantic surface ----- */
  --bg:            var(--blanc-casse);
  --bg-elevated:   #FFFFFF;
  --bg-subtle:     #EFEFF2;
  --bg-violet:     var(--violet);          /* dark violet section */
  --bg-lavande:    var(--lavande-50);      /* soft tinted band */

  /* ----- Semantic foreground ----- */
  --fg-1:          var(--charbon-700);     /* primary text */
  --fg-2:          var(--charbon-500);     /* secondary / supporting copy */
  --fg-3:          var(--charbon-300);     /* tertiary / placeholder */
  --fg-on-violet:  #FFFFFF;
  --fg-on-lavande: var(--violet);
  --fg-link:       var(--violet);

  /* ----- Borders & dividers ----- */
  --border:        #E4E4E6;
  --border-strong: #C7C7C7;
  --border-violet: var(--violet);

  /* ----- Status (utility — not part of brand visuals) ----- */
  --success:       #2F8F5C;
  --warning:       #C77A0A;
  --danger:        #C53030;

  /* ----- Inclusion accent (extension to palette) -----
     Teal that complements violet/lavande without going green.
     Use ONLY for "Inclus" / "Included" affordances in plan comparisons. */
  --teal:          #1FA8A8;
  --teal-100:      #DBF1F1;
  --teal-700:      #167E7E;

  /* ----- Type families ----- */
  --font-sans:    'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Nunito', system-ui, sans-serif;   /* same family, just heavier weight */

  /* ----- Type weights ----- */
  --fw-regular:    400;  /* @kind font */
  --fw-medium:     500;  /* @kind font */
  --fw-semibold:   600;  /* @kind font */
  --fw-bold:       700;  /* @kind font */
  --fw-extrabold:  800;  /* @kind font */   /* Nunito Extra Bold — display weight */

  /* ----- Type scale (rem; root = 16px) ----- */
  --fs-display-1: clamp(2.75rem, 6vw, 4.25rem);  /* @kind font */  /* hero */
  --fs-display-2: clamp(2.25rem, 4vw, 3.25rem);  /* @kind font */  /* section title */
  --fs-h1:        2.25rem;   /* @kind font */  /* 36 */
  --fs-h2:        1.75rem;   /* @kind font */  /* 28 */
  --fs-h3:        1.375rem;  /* @kind font */  /* 22 */
  --fs-h4:        1.125rem;  /* @kind font */  /* 18 */
  --fs-body-lg:   1.125rem;  /* @kind font */  /* 18 — lead paragraph */
  --fs-body:      1rem;      /* @kind font */  /* 16 */
  --fs-small:     0.875rem;  /* @kind font */  /* 14 */
  --fs-micro:     0.75rem;   /* @kind font */  /* 12 — labels, badges */

  /* ----- Line-heights ----- */
  --lh-tight:      1.1;   /* @kind font */
  --lh-snug:       1.25;  /* @kind font */
  --lh-normal:     1.5;   /* @kind font */
  --lh-relaxed:    1.65;  /* @kind font */

  /* ----- Letter spacing ----- */
  --tracking-tight: -0.02em;   /* @kind font */
  --tracking-normal: 0;        /* @kind font */
  --tracking-wide: 0.06em;     /* @kind font */  /* used for ALL-CAPS eyebrow labels */

  /* ----- Spacing scale (4px base) ----- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ----- Radii ----- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ----- Shadows ----- */
  --shadow-xs: 0 1px 2px rgba(46,46,46,0.06);
  --shadow-sm: 0 2px 6px rgba(46,46,46,0.06), 0 1px 2px rgba(46,46,46,0.04);
  --shadow-md: 0 8px 24px rgba(75,46,131,0.08), 0 2px 6px rgba(46,46,46,0.05);
  --shadow-lg: 0 20px 48px rgba(75,46,131,0.14), 0 4px 12px rgba(46,46,46,0.06);
  --shadow-violet: 0 12px 32px rgba(75,46,131,0.22);

  /* ----- Layout ----- */
  --container-max: 1200px;
  --container-px:  24px;
}

/* ---- Element base ---- */
html, body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1, .display-1 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  color: var(--violet);
  margin: 0 0 var(--space-4);
}
h1, .h1     { font-size: var(--fs-h1); }
.display-1  { font-size: var(--fs-display-1); }
.display-2  { font-size: var(--fs-display-2); font-family: var(--font-display); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-tight); line-height: var(--lh-tight); color: var(--violet); }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h2);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  color: var(--violet);
  margin: 0 0 var(--space-3);
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--charbon-700);
  margin: 0 0 var(--space-2);
}

h4, .h4 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  color: var(--charbon-700);
  margin: 0 0 var(--space-2);
}

p, .body { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--fg-1); margin: 0 0 var(--space-4); }
.lead    { font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); color: var(--fg-2); }
.small   { font-size: var(--fs-small); }
.micro   { font-size: var(--fs-micro); }

.eyebrow {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--violet);
}

a {
  color: var(--fg-link);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
a:hover { border-bottom-color: currentColor; }

code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

/* Selection */
::selection { background: var(--lavande-200); color: var(--violet-900); }
/* Essentiel PME — modern gradient + illustration variant */
:root {
  --grad-hero: linear-gradient(135deg, #F1ECFA 0%, #EAE5FF 40%, #D6CFFF 100%);  /* @kind color */
  --grad-violet: linear-gradient(135deg, #4B2E83 0%, #6244A8 60%, #8C7FE8 100%);  /* @kind color */
  --grad-lavande-soft: linear-gradient(135deg, #F3F0FF 0%, #FFFFFF 100%);  /* @kind color */
  --grad-card: linear-gradient(160deg, #FFFFFF 0%, #F3F0FF 100%);  /* @kind color */
  --grad-cta: linear-gradient(120deg, #4B2E83 0%, #3D2569 50%, #2E1A56 100%);  /* @kind color */
  --grad-text: linear-gradient(120deg, #4B2E83 0%, #8C7FE8 100%);  /* @kind color */
  --grad-section-features:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(175,164,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(214,207,255,0.45) 0%, transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F4FF 50%, #FFFFFF 100%);  /* @kind color */
  --grad-section-packages:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(140,127,232,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 100% 100%, rgba(75,46,131,0.18) 0%, transparent 55%),
    linear-gradient(170deg, #F1ECFA 0%, #E5DDFA 50%, #F3F0FF 100%);  /* @kind color */
  --grad-section-steps:
    conic-gradient(from 200deg at 70% 30%, #FBF7FF 0%, #F1ECFA 25%, #EAE5FF 50%, #FBF7FF 100%),
    linear-gradient(160deg, #FFFFFF 0%, #FBF7FF 100%);  /* @kind color */
  --grad-section-testimonials:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(255,255,255,0.85) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 50%, rgba(175,164,255,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 50%, rgba(75,46,131,0.15) 0%, transparent 60%),
    linear-gradient(165deg, #F3F0FF 0%, #E5DDFA 50%, #F1ECFA 100%);  /* @kind color */
  --grad-section-faq:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(214,207,255,0.5) 0%, transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F4FF 60%, #F1ECFA 100%);  /* @kind color */
  --grad-section-trusted:
    linear-gradient(90deg, #FFFFFF 0%, #FBF9FF 50%, #FFFFFF 100%);  /* @kind color */
}

/* overflow-x: clip (et non hidden) — hidden créerait un conteneur de défilement
   qui neutralise le position:sticky de l'en-tête */
.we-page { background: var(--blanc-casse); min-height: 100vh; font-family: var(--font-sans); color: var(--charbon); overflow-x: clip; }

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; z-index: 0; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #AFA4FF 0%, transparent 70%); top: -180px; right: -100px; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, #4B2E83 0%, transparent 70%); bottom: -160px; left: -120px; opacity: 0.25; }

/* Header */
.we-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.6); }
.we-header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.we-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--charbon); }
.we-logo img { height: 28px; width: auto; }
.we-nav { display: flex; gap: 28px; }
.we-nav a { color: var(--charbon); font-weight: 600; font-size: 15px; }
.we-nav a:hover { color: var(--violet); border-bottom-color: transparent; }
.we-nav a.active { color: var(--violet); }
.we-header-right { display: flex; align-items: center; gap: 14px; }
.we-lang { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 700; color: var(--fg-2); }
.we-lang button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; padding: 4px 6px; border-radius: 6px; }
.we-lang button.active { color: var(--violet); background: var(--violet-50); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer; transition: all 200ms ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--grad-violet); color: #fff; box-shadow: 0 8px 24px rgba(75,46,131,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(75,46,131,0.45); }
.btn-secondary { background: rgba(255,255,255,0.7); color: var(--violet); border: 1.5px solid var(--violet); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--violet); padding: 12px 6px; }
.btn-ghost:hover { color: var(--violet-700); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-on-violet { background: #fff; color: var(--violet); }
.btn-on-violet:hover { background: var(--lavande-100); transform: translateY(-1px); }

/* Section shell */
.section { padding: 110px 24px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 64px; }
.section-head .eyebrow { color: var(--violet); }
.section-head h2 { margin: 0; max-width: 760px; color: var(--violet); }
.section-head .lead { max-width: 680px; margin: 0; }

/* Hero */
.hero { padding: 80px 24px 110px; position: relative; background: var(--grad-hero); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); border: 1px solid rgba(175,164,255,0.4); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--violet); margin-bottom: 22px; }
.hero-eyebrow .pulse { width: 8px; height: 8px; background: var(--lavande-700); border-radius: 999px; box-shadow: 0 0 0 4px rgba(140,127,232,0.3); }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.75rem, 4.5vw + 0.8rem, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; color: var(--violet-900); }
.hero h1 .grad { color: var(--violet); }
.hero p.lead { margin: 0 0 32px; color: var(--charbon-500); font-size: 19px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; display: flex; gap: 22px; font-size: 13px; color: var(--fg-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--violet); }

/* Hero illustration */
.hero-illu { position: relative; aspect-ratio: 1/1; }
.hero-illu .illu-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(75,46,131,0.18); padding: 16px; }
.hero-illu .illu-main { inset: 8% 4% 12% 8%; padding: 0; overflow: hidden; }
.hero-illu .illu-floating-1 { width: 38%; right: -3%; top: 18%; }
.hero-illu .illu-floating-2 { width: 50%; left: -5%; bottom: 5%; }

/* Floating chart card */
.illu-stat { font-size: 11px; color: var(--fg-2); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.illu-stat-num { font-size: 22px; font-weight: 800; color: var(--violet); letter-spacing: -0.02em; }
.illu-stat-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #1F7A48; margin-top: 2px; }
.illu-bars { display: flex; align-items: flex-end; gap: 6px; height: 36px; margin-top: 8px; }
.illu-bars div { flex: 1; background: var(--violet); border-radius: 3px 3px 0 0; }

/* Trusted-by strip */
.trusted { padding: 32px 24px; background: #fff; border-bottom: 1px solid rgba(175,164,255,0.15); }
.trusted-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trusted-label { font-size: 12px; font-weight: 800; color: var(--fg-2); letter-spacing: 0.08em; text-transform: uppercase; }
.trusted-logo { font-weight: 800; color: var(--charbon-300); font-size: 17px; letter-spacing: -0.01em; transition: color 200ms; }
.trusted-logo:hover { color: var(--violet); }

/* Feature grid */
.features { background: #fff; position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px; border-radius: 20px; background: var(--blanc-casse); border: 1px solid var(--border); transition: all 300ms ease; position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; inset: 0; background: var(--lavande-50); opacity: 0; transition: opacity 300ms; border-radius: 20px; z-index: 0; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(75,46,131,0.18); }
.feature-illu { width: 100%; height: 140px; border-radius: 14px; background: var(--lavande-50); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; overflow: hidden; }
.feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--violet); position: relative; z-index: 1; }
.feature p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; position: relative; z-index: 1; }

/* Packages */
.packages { background: var(--blanc-casse); position: relative; overflow: hidden; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg { background: #fff; border-radius: 24px; padding: 36px 30px; box-shadow: 0 4px 20px rgba(75,46,131,0.06); border: 1px solid rgba(175,164,255,0.2); position: relative; display: flex; flex-direction: column; gap: 14px; transition: transform 200ms; }
.pkg:hover { transform: translateY(-4px); }
.pkg.featured { background: #fff; border: 2px solid var(--violet); box-shadow: 0 24px 48px rgba(75,46,131,0.16); transform: translateY(-12px); position: relative; }
.pkg.featured::before { content: none; }
.pkg.featured:hover { transform: translateY(-16px); }
.pkg-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--violet); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 18px rgba(75,46,131,0.3); }
.pkg-name { font-size: 22px; font-weight: 800; color: var(--violet); }
.pkg-price { font-size: 48px; font-weight: 800; color: var(--violet); letter-spacing: -0.025em; line-height: 1; }
.pkg-price small { font-size: 16px; font-weight: 500; color: var(--fg-2); }
.pkg-tag { font-size: 14px; color: var(--fg-2); flex: 0 0 auto; min-height: 22px; }
.pkg-list { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; border-top: 1px solid rgba(175,164,255,0.25); }
.pkg-list li { display: flex; gap: 10px; font-size: 14px; color: var(--charbon); align-items: flex-start; }
.pkg-list li svg { color: var(--violet); flex-shrink: 0; margin-top: 2px; }
.pkg .btn { width: 100%; justify-content: center; margin-top: auto; }

/* Steps */
.steps { background: #fff; position: relative; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 36px; left: 14%; right: 14%; height: 2px; background: linear-gradient(90deg, var(--lavande-200), var(--violet), var(--lavande-200)); z-index: 0; }
.step-card { padding: 8px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 999px; background: var(--violet); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 18px; box-shadow: 0 12px 24px rgba(75,46,131,0.3); }
.step-card h3 { margin: 0 0 8px; font-size: 22px; color: var(--charbon); }
.step-card p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; }

/* Testimonials */
.testimonials { background: var(--lavande-50); position: relative; overflow: hidden; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 12px 32px rgba(75,46,131,0.08); border: 1px solid rgba(175,164,255,0.2); position: relative; }
.testimonial::before { content: '"'; position: absolute; top: 16px; right: 24px; font-size: 80px; line-height: 1; color: var(--lavande-200); font-family: Georgia, serif; }
.testimonial-stars { color: #F5A623; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--charbon); position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--charbon); }
.testimonial-role { font-size: 13px; color: var(--fg-2); }

/* FAQ */
.faq { background: #fff; position: relative; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; background: var(--blanc-casse); cursor: pointer; transition: all 200ms; }
.faq-item:hover { border-color: var(--violet); }
.faq-item.open { background: #fff; border-color: var(--violet); box-shadow: 0 8px 24px rgba(75,46,131,0.1); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 16px; color: var(--charbon); }
.faq-q svg { color: var(--violet); flex-shrink: 0; transition: transform 200ms; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { margin-top: 12px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }

/* CTA */
.cta-band { background: var(--grad-cta), conic-gradient(from 90deg at 50% 50%, #4B2E83, #6244A8, #4B2E83); color: #fff; padding: 96px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(175,164,255,0.5) 0%, rgba(175,164,255,0.2) 30%, transparent 70%); top: -350px; left: 50%; transform: translateX(-50%); }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 100%, rgba(140,127,232,0.3) 0%, transparent 50%), radial-gradient(ellipse at 80% 100%, rgba(75,46,131,0.4) 0%, transparent 50%); pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3vw + 1rem, 3rem); margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; -webkit-text-fill-color: #fff; background: none; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 0 0 32px; }

/* Footer */
.footer { background: var(--charbon-900); color: rgba(255,255,255,0.75); padding: 64px 24px 32px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(75,46,131,0.5) 0%, transparent 70%); top: -200px; right: -200px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer-brand img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0; color: rgba(255,255,255,0.85); }
.footer h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: rgba(255,255,255,0.75); font-weight: 500; font-size: 14px; }
.footer a:hover { color: var(--lavande); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.55); position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hero-grid, .features-grid, .packages-grid, .steps-grid, .testimonials-grid, .footer-inner { grid-template-columns: 1fr; }
  .pkg.featured { transform: none; }
  .pkg.featured:hover { transform: translateY(-4px); }
  .we-nav { display: none; }
  .section { padding: 72px 20px; }
  .steps-grid::before { display: none; }
}

/* ============================================================
   ESSENTIEL PME — Static build additions
   (head <style> rules + mobile menu + responsive polish)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }

@keyframes epFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Platform tile name-on-hover + desktop dropdowns (from prototype head <style>) */
.plat-tile:hover .plat-name { opacity: 1 !important; }
.we-navdrop:hover .we-dropmenu,
.we-navdrop:focus-within .we-dropmenu { display: block !important; }

/* Language toggle in header */
.we-lang-toggle { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 800; margin-right: 4px; }
.we-lang-toggle a, .we-lang-toggle button { background: none; border: none; border-bottom: none; cursor: pointer; font: inherit; font-weight: 800; padding: 2px 4px; color: var(--charbon-300); }
.we-lang-toggle a.active, .we-lang-toggle button.active { color: var(--violet); }
.we-lang-toggle .sep { color: var(--charbon-300); }

/* Bandeau de consentement aux témoins (Loi 25) */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1 1 320px; font-size: 13.5px; line-height: 1.55; color: var(--charbon-500); }
.consent-banner .consent-actions { display: flex; gap: 10px; flex: none; }
.consent-banner button { cursor: pointer; font: inherit; font-weight: 700; font-size: 13.5px; border-radius: 999px; padding: 9px 18px; }
.consent-banner [data-consent-accept] { background: var(--violet); color: #fff; border: none; }
.consent-banner [data-consent-refuse] { background: none; color: var(--charbon); border: 1px solid var(--border); }

/* Skip link (a11y) */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---- Mobile hamburger button ---- */
.we-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--violet);
}
.we-burger svg { display: block; }

/* ---- Mobile slide-down nav panel ---- */
.we-mobile-nav {
  display: none; position: fixed; inset: 0 0 auto 0; top: 0; z-index: 90;
  background: rgba(46,46,46,0.35); backdrop-filter: blur(2px);
}
.we-mobile-nav.open { display: block; }
.we-mobile-panel {
  background: #fff; max-height: 100vh; overflow-y: auto; padding: 18px 22px 32px;
  box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border);
  animation: epFadeUp 220ms cubic-bezier(0.2,0.7,0.2,1);
}
.we-mobile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.we-mobile-top img { height: 44px; width: auto; }
.we-mobile-close { width: 40px; height: 40px; border: none; background: var(--blanc-casse); border-radius: 10px; cursor: pointer; color: var(--charbon); font-size: 22px; line-height: 1; }
.we-mobile-panel nav { display: flex; flex-direction: column; }
.we-mobile-panel nav a { color: var(--charbon); font-weight: 700; font-size: 16px; padding: 13px 4px; border-bottom: 1px solid var(--border); }
.we-mobile-panel nav a:hover { color: var(--violet); border-bottom-color: var(--border); }
.we-mobile-panel nav a.sub { font-weight: 600; font-size: 14.5px; padding-left: 16px; color: var(--charbon-500); }
.we-mobile-panel nav .grouplabel { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); padding: 16px 4px 6px; }
.we-mobile-cta { margin-top: 20px; }
.we-mobile-cta .btn { width: 100%; justify-content: center; }

/* ---- Responsive: replace DS rule that only hid the nav ---- */
@media (max-width: 900px) {
  .we-nav { display: none; }
  .we-burger { display: inline-flex; }
  .we-header-right .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illu { max-width: 460px; margin: 8px auto 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .hero { padding: 56px 20px 72px; }
  .hero-illu { display: none; }              /* floating illustration gets cramped on phones */
  .section { padding: 56px 20px; }
  .cta-band { padding: 72px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .pkg-price { font-size: 40px; }
  .we-header-inner { padding: 12px 18px; gap: 12px; }
}

/* Keep the plateformes tile grid tidy on small screens */
@media (max-width: 520px) {
  .plat-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* FAQ answer visibility (JS toggles .open) */
.faq-item .faq-a { display: none; }
.faq-item.open .faq-a { display: block; }

/* Anchor offset for sticky header on plateformes sections */
[id^="plat-"] { scroll-margin-top: 84px; }
