/* =============================================
   NOSPITO — Site officiel
   Design system & components
   ============================================= */

:root {
  /* Brand */
  --primary: #9b1b30;
  --primary-light: #c03450;
  --primary-dark: #6e1020;
  --primary-50: #fbeef1;
  --primary-100: #f4d5da;
  --accent: #d43b5a;
  --accent-blue: #1f5baf;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --bg-soft: #eef3f9;
  --bg-dark: #0e1d33;
  --bg-darker: #081325;

  --text: #15233d;
  --text-muted: #5a6b85;
  --text-soft: #8a98b1;
  --text-on-dark: #d8e1ef;
  --text-on-dark-muted: #8b9bb6;

  --border: #e3e9f1;
  --border-soft: #eef2f7;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(15, 30, 60, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 30, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 30, 60, 0.12);
  --shadow-xl: 0 30px 80px rgba(15, 30, 60, 0.15);
  --shadow-blue: 0 18px 40px rgba(155, 27, 48, 0.25);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 960px;
  --header-h: 78px;
}

/* =============================================
   RESET & BASE
   ============================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--text-muted); line-height: 1.65; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}
.section-sm { padding: clamp(50px, 6vw, 80px) 0; }

/* Collapse top padding when two sections follow each other —
   the bottom padding of the previous section provides the breathing room.
   Exceptions: when the next section has its own colored background, keep
   the top padding so the band looks balanced internally. */
.section + .section { padding-top: 0; }
.section + .section.bg-alt,
.section + .section.bg-soft,
.section + .section.bg-dark { padding-top: clamp(70px, 9vw, 120px); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

.bg-alt { background: var(--bg-alt); }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: var(--text-on-dark-muted); }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(155, 27, 48, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }

.btn-whatsapp {
  background: #fff;
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-light:hover { background: #fff; color: var(--primary-dark); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(15, 30, 60, 0.18);
}

/* — Adaptations couleurs sur header bleu — */
.site-header .brand { color: #fff; }
.site-header .brand:hover { color: #fff; }
.site-header .brand-mark {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}
.site-header .nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.site-header .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.site-header .lang-switch {
  background: rgba(255, 255, 255, 0.12);
}
.site-header .lang-switch a {
  color: rgba(255, 255, 255, 0.7);
}
.site-header .lang-switch a:hover { color: #fff; }
.site-header .lang-switch a.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.site-header .btn-ghost {
  color: #fff;
}
.site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-header .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.site-header .btn-primary:hover {
  background: #f4f8fc;
  color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.site-header .mobile-toggle { color: #fff; }
.site-header .mobile-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 44px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px rgba(155, 27, 48, 0.35);
}
.brand-mark svg { width: 18px; height: 18px; }

/* Accent bleu sur le N de NOSPITO (clin d'œil au bi-chromie de Nelsat).
   Inhibé dans le header/footer où la marque est déjà en blanc sur fond sombre. */
.brand-n { color: var(--accent-blue); }
.site-header .brand-n,
.site-footer .brand-n { color: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: .94rem;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--primary-50); color: var(--primary-dark); }
.nav-links a.active { color: var(--primary); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--text-muted);
}
.lang-switch a.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.mobile-toggle:hover { background: var(--bg-alt); }
.mobile-toggle svg { width: 24px; height: 24px; }

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

/* Announcement bar — sits under the header, no gap */
.announce-bar {
  background: var(--primary-50);
  border-bottom: 1px solid var(--primary-100);
  padding: 10px 0;
  text-align: center;
  font-size: .9rem;
  color: var(--primary-dark);
  font-weight: 500;
}
.announce-bar .inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.announce-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 50px) 0 clamp(80px, 11vw, 130px);
  background: #ffffff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: .9rem;
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: 2.5px solid #fff;
  box-shadow: var(--shadow-xs);
  margin-left: -10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  font-family: var(--font-heading);
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* =============================================
   MOCKUP — fake dashboard
   ============================================= */

.mockup {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 600ms ease;
}
.mockup:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--border-soft);
}
.mockup-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8dde6;
}
.mockup-bar .dot.r { background: #ff5f57; }
.mockup-bar .dot.y { background: #ffbd2e; }
.mockup-bar .dot.g { background: #28c840; }
.mockup-bar .url {
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: .76rem;
  color: var(--text-muted);
}

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

.hero-visual {
  position: relative;
}
.hero-photo {
  width: 120%;
  max-width: none;
  height: auto;
  display: block;
  margin-left: -10%;
}

.mockup-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 380px;
}
.mockup-side {
  background: var(--bg-darker);
  padding: 18px 12px;
}
.mockup-side .ms-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 18px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.mockup-side .ms-brand span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}
.mockup-side .ms-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text-on-dark-muted);
  font-size: .78rem;
  margin-bottom: 2px;
}
.mockup-side .ms-item .ms-ic {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
}
.mockup-side .ms-item.active {
  background: rgba(91, 141, 184, 0.25);
  color: #fff;
}
.mockup-side .ms-item.active .ms-ic { background: var(--accent); }

.mockup-main {
  padding: 22px;
  background: var(--bg-alt);
}
.mockup-main .mm-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 14px;
}
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ms-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
}
.ms-card .lbl { font-size: .65rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.ms-card .val { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--primary); }
.ms-card .sub { font-size: .68rem; color: var(--text-muted); margin-top: 2px; }

.mockup-table {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
}
.mockup-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr .8fr;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: .72rem;
  align-items: center;
}
.mockup-row.head { background: var(--bg-soft); color: var(--text-soft); font-weight: 600; text-transform: uppercase; font-size: .63rem; letter-spacing: .05em; }
.mockup-row:last-child { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .65rem; font-weight: 600; }
.pill.b { background: var(--primary-50); color: var(--primary); }
.pill.g { background: #e8f5ee; color: #2c8654; }
.pill.s { background: var(--bg-soft); color: var(--text-muted); }

.mockup-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
}
.mockup-float-1 {
  top: -16px;
  left: -28px;
  color: var(--primary);
}
.mockup-float-1 .ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
}
.mockup-float-2 {
  bottom: -22px;
  right: -28px;
  color: var(--text);
}
.mockup-float-2 .ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.mockup-float .ic svg { width: 18px; height: 18px; }
.mockup-float small { display: block; font-weight: 400; font-size: .72rem; color: var(--text-muted); margin-top: 2px; }

/* =============================================
   STATS BAR
   ============================================= */

.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  display: block;
}
.stat .lbl {
  color: var(--text-muted);
  font-size: .92rem;
}

/* =============================================
   CARDS
   ============================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--primary-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.card:hover .icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.06);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .96rem; margin: 0; }

/* =============================================
   MODULES GRID
   ============================================= */

.modules-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.modules-tabs button {
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modules-tabs button:hover { color: var(--primary); border-color: var(--primary-100); }
.modules-tabs button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.module-card.hidden { display: none; }
.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.module-card > * { position: relative; z-index: 1; }
.module-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.module-card:hover::before { opacity: 1; }
.module-card:hover .mc-icon, .module-card:hover h4, .module-card:hover p { color: #fff; }
.module-card:hover .mc-icon { background: rgba(255,255,255,0.2); }
.mc-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  transition: all var(--transition);
}
.mc-icon svg { width: 20px; height: 20px; }
.module-card h4 {
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
  transition: color var(--transition);
}
.module-card p {
  font-size: .78rem;
  color: var(--text-soft);
  margin: 0;
  transition: color var(--transition);
}

.modules-pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.modules-pagination .mod-prev,
.modules-pagination .mod-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.modules-pagination .mod-prev:hover:not(:disabled),
.modules-pagination .mod-next:hover:not(:disabled) {
  border-color: var(--primary-100);
  color: var(--primary);
}
.modules-pagination .mod-prev:disabled,
.modules-pagination .mod-next:disabled { opacity: .3; cursor: default; }
.mod-pages { display: flex; gap: 6px; margin: 0 8px; }
.mod-page-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.mod-page-btn:hover { border-color: var(--primary-100); color: var(--primary); }
.mod-page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}

/* =============================================
   FEATURE SPLIT
   ============================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-content h2 { margin-bottom: 18px; }
.split-content .lead { margin-bottom: 28px; }
.split-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.split-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  align-items: flex-start;
}
.split-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.split-list .check svg { width: 14px; height: 14px; }
.split-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}
.split-list span { color: var(--text-muted); font-size: .94rem; }

.split-visual {
  position: relative;
  padding: 30px;
}

/* =============================================
   TESTIMONIAL
   ============================================= */

.testimonial {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 30px;
  font-family: Georgia, serif;
  font-size: 280px;
  line-height: 1;
  color: rgba(255,255,255,0.1);
  font-weight: bold;
}
.testimonial blockquote {
  position: relative;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 30px;
  color: #fff;
}
.testimonial cite {
  display: flex;
  align-items: center;
  gap: 16px;
  font-style: normal;
}
.testimonial .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
}
.testimonial .who strong { display: block; font-weight: 700; font-size: 1rem; color: #fff; }
.testimonial .who span { font-size: .88rem; color: rgba(255,255,255,0.7); }

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

.cta {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 40px;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 59, 90, 0.18), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(155, 27, 48, 0.18), transparent 50%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .hero-cta { justify-content: center; margin-bottom: 0; }

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

.site-footer {
  background: var(--bg-darker);
  color: var(--text-on-dark);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 50px;
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p {
  color: var(--text-on-dark-muted);
  font-size: .94rem;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  color: var(--text-on-dark-muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h5 {
  color: #fff;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: .94rem;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-on-dark-muted);
  font-size: .88rem;
}
.footer-bottom .legal a { color: var(--text-on-dark-muted); margin-left: 18px; }
.footer-bottom .legal a:hover { color: #fff; }

/* Lien Nelsat dans le footer (paragraphe + copyright) — discret, suit la couleur du texte parent */
.nelsat-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.nelsat-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .testimonial { padding: 40px 30px; }
  .mockup { transform: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .lang-switch { display: none; }
  .mobile-toggle { display: inline-flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary-dark);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(15, 30, 60, 0.25);
    align-items: stretch;
    gap: 4px;
  }
  .nav-links.open a { padding: 12px 14px; color: rgba(255, 255, 255, 0.85); }
  .nav-links.open a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .mockup-app { grid-template-columns: 1fr; min-height: auto; }
  .mockup-side { display: none; }
  .mockup-float-1, .mockup-float-2 { display: none; }
  .testimonial { padding: 32px 24px; }
  .testimonial::before { font-size: 180px; top: -20px; left: 10px; }
  .cta { padding: 50px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .modules-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .module-card { padding: 16px 14px; }
}

/* =============================================
   PAGE HERO (smaller than home hero)
   ============================================= */

.page-hero {
  padding: clamp(36px, 5vw, 60px) 0 clamp(50px, 6vw, 80px);
  background:
    radial-gradient(ellipse at 70% -20%, rgba(212, 59, 90, 0.12), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(155, 27, 48, 0.08), transparent 60%),
    var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero .breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.page-hero h1 {
  margin: 0 auto 18px;
  max-width: 880px;
}
.page-hero .lead {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}

/* =============================================
   PRICING
   ============================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: scale(1.03);
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.price-card .tier {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.price-card .price-desc {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 20px;
  min-height: 44px;
}
.price-card .price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .price small { font-size: .86rem; color: var(--text-muted); font-weight: 500; display: block; margin-top: 6px; }
.price-card .btn { width: 100%; margin: 24px 0; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .92rem;
  color: var(--text);
}
.price-card li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.price-card li.muted { color: var(--text-soft); }
.price-card li.muted svg { color: var(--text-soft); opacity: .5; }

.compare-table {
  margin-top: 80px;
  overflow-x: auto;
}
.compare-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: .94rem;
}
.compare-table th {
  background: var(--bg-alt);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.compare-table th:first-child { text-align: left; }
.compare-table td { text-align: center; color: var(--text); }
.compare-table td:first-child { text-align: left; color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .check { color: var(--primary); }
.compare-table .dash { color: var(--text-soft); }

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

.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-100); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a > div {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.7;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-top: 30px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.form-card > p { color: var(--text-muted); margin-bottom: 26px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 27, 48, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--primary-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact-card .ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 1rem; margin: 0 0 4px; color: var(--text); }
.contact-card p { margin: 0; font-size: .92rem; color: var(--text-muted); }
.contact-card a { color: var(--primary); font-weight: 500; }

/* =============================================
   INDUSTRY / SECTOR CARDS
   ============================================= */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.sector-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.sector-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.sector-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.sector-card:hover::after { transform: scaleY(1); }
.sector-card .sec-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-blue);
}
.sector-card .sec-icon svg { width: 28px; height: 28px; }
.sector-card h3 { margin-bottom: 12px; }
.sector-card .sec-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sector-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.sector-card li {
  font-size: .9rem;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  gap: 10px;
}
.sector-card li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
}

/* =============================================
   FEATURE BLOCKS (features page)
   ============================================= */

.feature-block {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-soft);
}
.feature-block:last-child { border-bottom: 0; }
.feature-block .fb-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.feature-block .fb-head h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.feature-block .fb-head .fb-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-block .fb-head .fb-icon svg { width: 28px; height: 28px; }
.feature-block .fb-head p { font-size: .94rem; }
.feature-block .fb-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.fb-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
}
.fb-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.fb-item p { margin: 0; font-size: .88rem; color: var(--text-muted); line-height: 1.55; }

/* =============================================
   TIMELINE
   ============================================= */

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--border-soft));
}
.tl-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 36px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.tl-item .tl-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  color: var(--primary);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.tl-item h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  margin: 0 0 6px;
  color: var(--text);
}
.tl-item p { margin: 0; font-size: .94rem; color: var(--text-muted); }

/* =============================================
   VALUES / FEATURES INLINE
   ============================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.value-item {
  text-align: center;
  padding: 24px;
}
.value-item .v-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  margin: 0 0 8px;
}
.value-item p {
  margin: 0;
  font-size: .94rem;
  color: var(--text-muted);
}

/* =============================================
   LOGIN OPTIONS
   ============================================= */

.login-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.login-opt {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  transition: all var(--transition);
}
.login-opt:hover {
  border-color: var(--primary-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.login-opt .lo-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.login-opt h3 { font-size: 1.15rem; margin-bottom: 10px; }
.login-opt p { font-size: .92rem; color: var(--text-muted); margin-bottom: 22px; }

.url-input-group {
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 30px auto 0;
}
.url-input-group input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .96rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.url-input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 27, 48, 0.12);
}
.url-input-group .btn { white-space: nowrap; }

/* =============================================
   404
   ============================================= */

.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 27, 48, 0.08), transparent 55%),
    var(--bg);
}
.error-page .err-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}
.error-page h1 { margin-bottom: 14px; }
.error-page p { max-width: 480px; margin: 0 auto 28px; font-size: 1.05rem; }

/* =============================================
   RESPONSIVE additions
   ============================================= */

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 60px auto 0; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .sector-grid { grid-template-columns: 1fr; }
  .feature-block .fb-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-block .fb-body { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .login-options { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .url-input-group { flex-direction: column; }
  .timeline::before { left: 14px; }
  .tl-item { padding-left: 50px; }
  .tl-item::before { left: 5px; }
}

/* =============================================
   FLOATING WHATSAPP BUTTON (global)
   ============================================= */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.2);
}
.wa-float svg { width: 30px; height: 30px; }

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}
