/* =========================================================
   ChouettIA — Design System
   Style : Pro & rassurant (bleu nuit + blanc + vert)
   ========================================================= */

:root {
  /* Couleurs */
  --c-ink: #0F1B3D;          /* Bleu nuit principal */
  --c-ink-2: #1B2A57;        /* Bleu nuit secondaire */
  --c-ink-3: #3B4A75;        /* Bleu nuit tertiaire / texte secondaire */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F7FB;      /* Fond sections alternées */
  --c-bg-tint: #EEF2FB;      /* Fond cards */
  --c-line: #E2E8F0;
  --c-accent: #F97316;       /* Orange action */
  --c-accent-dark: #C2410C;
  --c-accent-soft: #FFEDD5;
  --c-warn: #F59E0B;
  --c-text: #0F1B3D;
  --c-text-muted: #5A6A8A;
  --c-text-on-dark: #E6ECF8;

  /* Typographie */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", sans-serif;

  /* Espacement */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 27, 61, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 27, 61, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 27, 61, 0.12);
  --shadow-glow: 0 8px 28px rgba(249, 115, 22, 0.28);

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

/* Helpers utilis\u00e9s par le HTML pour \u00e9viter le style inline */
.text-muted { color: var(--c-text-muted); }
.text-accent { color: var(--c-accent-dark); }
.text-alert { color: #991B1B; }
.brand__name strong { color: var(--c-accent-dark); font-weight: 700; }
.eyebrow--on-dark { color: var(--c-accent); }
.w-64 { width: 64%; }

/* Variantes de section-head pour sous-titres dans une m\u00eame section */
.section-head--sub h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.section-head--spaced { margin-top: var(--space-9); }
.section-head--cta { margin-top: var(--space-8); margin-bottom: 0; }

/* Process \u00e0 5 colonnes (page sites) */
.process--5cols { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .process--5cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .process--5cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process--5cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Page Formations
   ========================================================= */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 5vw, 4rem);
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(249, 115, 22, 0.10), transparent 60%),
    var(--c-bg);
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}

.page-hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__lead {
  max-width: 640px;
  margin: 0 auto var(--space-6);
  font-size: 1.0625rem;
  color: var(--c-text-muted);
}

.page-hero__breadcrumb {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-bottom: var(--space-5);
}

.page-hero__breadcrumb a:hover { color: var(--c-ink); }

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
  justify-content: center;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-line);
}

.page-hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.page-hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

.page-hero__stat-label {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Filtres niveau */
.filters {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.filter {
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink-3);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.filter:hover { border-color: var(--c-ink-3); color: var(--c-ink); }

.filter.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

/* Grille modules */
.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}

.module {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.module:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.module--featured {
  border-color: var(--c-accent);
  background: linear-gradient(180deg, #fff 0%, #FFF8F2 100%);
}

.module__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-pill);
}

.module__level {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-3);
}

.module__level::before {
  content: "● ";
  color: var(--c-accent);
}

.module h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-3);
  padding-right: var(--space-7);
}

.module__desc {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.module__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--c-ink-3);
  margin-bottom: var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.module__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.module__meta svg { color: var(--c-accent); flex-shrink: 0; }

.module__objectives {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}

.module__objectives li {
  display: flex;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--c-ink-3);
  padding: 0.25rem 0;
}

.module__objectives li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.module__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: var(--space-3);
}

.module__price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.module__price small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}

/* Process — 4 steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

.step {
  text-align: center;
  position: relative;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  border: 2px solid var(--c-accent);
  color: var(--c-accent-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin: 0 auto var(--space-4);
  font-size: 1.125rem;
}

.step h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Tableau comparatif financement */
.funding {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
@media (max-width: 800px) { .funding { grid-template-columns: 1fr; } }

.funding__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--space-5);
}

.funding__card h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
  color: var(--c-ink);
}

.funding__card p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin: 0;
}

/* =========================================================
   Page Apps — catalogue d'applications
   ========================================================= */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-5);
}

.app-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.app-card__visual {
  height: 180px;
  background: linear-gradient(135deg, #1B2A57 0%, #0F1B3D 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.app-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 150px at 80% 20%, rgba(249, 115, 22, 0.18), transparent 60%),
    radial-gradient(220px 140px at 20% 80%, rgba(255, 255, 255, 0.04), transparent 60%);
}

.app-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.app-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.app-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

.app-card__url {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  font-family: ui-monospace, monospace;
}

.app-card__desc {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin: 0 0 var(--space-5);
  flex: 1;
}

.app-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--c-bg-tint);
  color: var(--c-ink-3);
}

.app-tag--direction { background: #DBEAFE; color: #1E40AF; }
.app-tag--enseignant { background: #FEF3C7; color: #92400E; }
.app-tag--eleve { background: #DCFCE7; color: #166534; }
.app-tag--tous { background: #F3E8FF; color: #6B21A8; }

.app-card__footer {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

.app-card__footer .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

/* ----- Mini mockups (un design distinct par app) ----- */
.mock {
  width: 100%;
  max-width: 240px;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  color: var(--c-ink);
  position: relative;
  z-index: 1;
}

.mock__bar {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.mock__bar i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-line);
}

.mock__title {
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 8px;
  color: var(--c-ink);
}

.mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid #F1F5F9;
}
.mock__row:first-of-type { border-top: 0; }

.mock__row span:first-child { color: var(--c-ink-3); }

.mock__pill {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}
.mock__pill--ok { background: #DCFCE7; color: #166534; }
.mock__pill--warn { background: #FEF3C7; color: #92400E; }
.mock__pill--alert { background: #FEE2E2; color: #991B1B; }
.mock__pill--info { background: #DBEAFE; color: #1E40AF; }

.mock__bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  padding: 8px 0;
}
.mock__bar-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-dark));
  border-radius: 2px 2px 0 0;
}
.mock__bar-chart i:nth-child(1) { height: 30%; }
.mock__bar-chart i:nth-child(2) { height: 65%; }
.mock__bar-chart i:nth-child(3) { height: 45%; }
.mock__bar-chart i:nth-child(4) { height: 80%; }
.mock__bar-chart i:nth-child(5) { height: 55%; }

.mock__progress {
  height: 6px;
  background: var(--c-bg-soft);
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0;
}
.mock__progress span {
  display: block;
  height: 100%;
  background: var(--c-accent);
  border-radius: 3px;
}

.mock__stat {
  text-align: center;
  padding: 8px 0;
}
.mock__stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
}
.mock__stat-value--accent { color: var(--c-accent-dark); }
.mock__stat-label {
  font-size: 9px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.mock__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 4px 0;
}
.mock__grid i {
  aspect-ratio: 1;
  background: var(--c-bg-soft);
  border-radius: 2px;
}
.mock__grid i.is-on { background: var(--c-accent); }
.mock__grid i.is-warn { background: var(--c-warn); }

.mock__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--c-bg-soft);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}
.mock__search::before {
  content: "🔍";
  font-size: 9px;
}

.mock__doc {
  display: flex;
  gap: 6px;
  padding: 5px 0;
  border-top: 1px solid #F1F5F9;
  font-size: 9px;
}
.mock__doc:first-of-type { border-top: 0; }
.mock__doc::before {
  content: "📄";
  flex-shrink: 0;
}

.mock__exercise {
  background: var(--c-bg-soft);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 10px;
  margin-bottom: 4px;
}
.mock__exercise strong { color: var(--c-accent-dark); }
.mock__exercise-blank {
  display: inline-block;
  border-bottom: 1px solid var(--c-accent);
  padding: 0 12px;
  color: transparent;
}

/* =========================================================
   Section "Super-pouvoirs IA" — Office made simple
   ========================================================= */
.superpowers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 800px) {
  .superpowers { grid-template-columns: 1fr; }
}

.power {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.power:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

@media (max-width: 600px) {
  .power { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-5); }
}

.power__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
}

.power h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  color: var(--c-ink);
}

.power__desc {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin: 0 0 var(--space-3);
}

.power__transform {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.8125rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--c-line);
}
.power__transform-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.power__transform-row .label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 60px;
}
.power__transform-row.before .label { color: #991B1B; }
.power__transform-row.after .label { color: var(--c-accent-dark); }
.power__transform-row .value { color: var(--c-ink-3); }

/* Visuel droit : mini-mockup contextuel */
.power__visual {
  background: linear-gradient(135deg, #1B2A57 0%, #0F1B3D 100%);
  border-radius: var(--r-md);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  place-items: center;
}

.power__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 140px at 70% 20%, rgba(249, 115, 22, 0.18), transparent 60%);
}

/* Mockup Excel (chat avec un fichier) */
.mock-excel {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  font-size: 9px;
}
.mock-excel__head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-bg-soft);
  font-weight: 700;
  color: var(--c-ink-3);
  font-size: 8px;
}
.mock-excel__head span,
.mock-excel__row span {
  padding: 4px 6px;
  background: #fff;
}
.mock-excel__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
}
.mock-excel__bubble {
  margin-top: 8px;
  background: var(--c-accent-soft);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 9px;
  color: var(--c-ink);
}
.mock-excel__bubble::before {
  content: "🦉 ";
}

/* Mockup PowerPoint (slides) */
.mock-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.mock-slide {
  background: #fff;
  border-radius: 4px;
  aspect-ratio: 4/3;
  padding: 6px;
  font-size: 7px;
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.mock-slide__title {
  height: 8px;
  background: var(--c-ink);
  border-radius: 2px;
  width: 70%;
}
.mock-slide__line {
  height: 3px;
  background: var(--c-bg-tint);
  border-radius: 2px;
}
.mock-slide__line:nth-child(3) { width: 90%; }
.mock-slide__line:nth-child(4) { width: 70%; }
.mock-slide__chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.mock-slide__chart i {
  flex: 1;
  background: var(--c-accent);
  border-radius: 1px 1px 0 0;
}
.mock-slide__chart i:nth-child(1) { height: 60%; }
.mock-slide__chart i:nth-child(2) { height: 90%; }
.mock-slide__chart i:nth-child(3) { height: 40%; }

/* Mockup Chat-PDF (lecture de données) */
.mock-pdf {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.mock-pdf__file {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 6px;
  color: var(--c-ink);
}
.mock-pdf__file::before {
  content: "📄";
}
.mock-pdf__bubble {
  background: var(--c-bg-soft);
  border-radius: 8px 8px 8px 0;
  padding: 5px 8px;
  font-size: 9px;
  margin-bottom: 4px;
  color: var(--c-ink-3);
}
.mock-pdf__bubble--user {
  background: var(--c-accent-soft);
  color: var(--c-ink);
  border-radius: 8px 8px 0 8px;
  margin-left: 18px;
}
.mock-pdf__source {
  font-size: 8px;
  color: var(--c-text-muted);
  font-style: italic;
  margin-top: 2px;
}

/* Mockup création de documents (typing animation feel) */
.mock-doc-gen {
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  font-size: 9px;
  color: var(--c-ink);
}
.mock-doc-gen__prompt {
  background: var(--c-bg-soft);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 9px;
  color: var(--c-ink-3);
  margin-bottom: 8px;
  font-style: italic;
}
.mock-doc-gen__prompt::before {
  content: "💬 ";
  font-style: normal;
}
.mock-doc-gen__line {
  height: 4px;
  background: var(--c-bg-tint);
  border-radius: 2px;
  margin-bottom: 4px;
}
.mock-doc-gen__line:nth-child(2) { width: 95%; }
.mock-doc-gen__line:nth-child(3) { width: 80%; }
.mock-doc-gen__line:nth-child(4) { width: 90%; }
.mock-doc-gen__line:nth-child(5) {
  width: 40%;
  background: var(--c-accent);
  position: relative;
}
.mock-doc-gen__line:nth-child(5)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -2px;
  width: 2px;
  height: 8px;
  background: var(--c-ink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* =========================================================
   Section "Site Internet" — création de sites pour écoles
   ========================================================= */
.web-offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
@media (max-width: 900px) {
  .web-offers { grid-template-columns: 1fr; }
}

.web-offer {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.web-offer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.web-offer__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  font-size: 1.375rem;
}

.web-offer h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-3);
  color: var(--c-ink);
}

.web-offer__lead {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

.web-offer__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  flex: 1;
}

.web-offer__features li {
  display: flex;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--c-ink-3);
  padding: 4px 0;
}

.web-offer__features li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.web-offer__price {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-line);
  margin-bottom: 0;
}
.web-offer__price strong {
  color: var(--c-ink);
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
}

/* Portfolio sites */
.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 800px) {
  .portfolio { grid-template-columns: 1fr; }
}

.portfolio__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio__visual {
  height: 220px;
  background: linear-gradient(135deg, #1B2A57 0%, #0F1B3D 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.portfolio__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 180px at 70% 30%, rgba(249, 115, 22, 0.15), transparent 60%);
}

.portfolio__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio__url {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: var(--space-2);
}

.portfolio__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 var(--space-3);
}

.portfolio__desc {
  color: var(--c-ink-3);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
  flex: 1;
}

.portfolio__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.portfolio__chip {
  background: var(--c-bg-tint);
  color: var(--c-ink-3);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio__link {
  font-weight: 600;
  color: var(--c-accent-dark);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
}
.portfolio__link:hover { color: var(--c-accent); }

/* Mockup site web (browser) */
.mock-site {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.mock-site__chrome {
  background: #F1F5F9;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-site__dots {
  display: flex;
  gap: 4px;
}
.mock-site__dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #CBD5E1;
}
.mock-site__url {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
  color: var(--c-ink-3);
  font-family: ui-monospace, monospace;
}
.mock-site__body {
  padding: 10px;
  font-size: 9px;
  color: var(--c-ink);
  background: #fff;
}
.mock-site__nav {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 8px;
}
.mock-site__nav span {
  color: var(--c-ink-3);
  font-size: 8px;
}
.mock-site__nav span:first-child { color: var(--c-accent-dark); font-weight: 700; }
.mock-site__hero {
  background: var(--c-bg-soft);
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.mock-site__title {
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--c-ink);
}
.mock-site__sub {
  font-size: 8px;
  color: var(--c-text-muted);
}
.mock-site__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mock-site__card {
  background: var(--c-bg-soft);
  border-radius: 4px;
  height: 36px;
  position: relative;
  overflow: hidden;
}
.mock-site__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-accent-soft), transparent);
}

/* Mockup espace parents */
.mock-parents {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  color: var(--c-ink);
}
.mock-parents__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.mock-parents__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-ink), var(--c-accent));
  color: #fff;
  display: grid; place-items: center;
  font-size: 9px;
  font-weight: 700;
}
.mock-parents__greet { font-weight: 600; font-size: 10px; }
.mock-parents__greet small { color: var(--c-text-muted); display: block; font-size: 8px; font-weight: 400; }

.mock-parents__lock {
  margin-left: auto;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}
.mock-parents__lock::before { content: "🔒 "; }

.mock-parents__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid #F1F5F9;
}
.mock-parents__item:first-of-type { border-top: 0; }
.mock-parents__item span:first-child { color: var(--c-ink-3); font-size: 10px; }
.mock-parents__badge {
  background: var(--c-accent);
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 8px;
  font-weight: 700;
}

/* =========================================================
   Reset & base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 var(--space-4); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-9) 0;
}

.section--soft { background: var(--c-bg-soft); }
.section--ink {
  background: var(--c-ink);
  color: var(--c-text-on-dark);
}
.section--ink h2,
.section--ink h3 { color: #FFFFFF; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  margin-bottom: var(--space-3);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}

.section-head p {
  color: var(--c-text-muted);
  font-size: 1.0625rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--c-accent-dark); }

.btn--ink {
  background: var(--c-ink);
  color: #fff;
}
.btn--ink:hover { background: var(--c-ink-2); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover { background: var(--c-bg-soft); border-color: var(--c-ink-3); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); }

.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--c-ink);
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.125rem;
  box-shadow: var(--shadow-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink-3);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--c-ink); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--c-ink);
}

@media (max-width: 900px) {
  .nav__links,
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}

/* =========================================================
   Barre secondaire (accès rapide — présente sur toutes les pages)
   ========================================================= */
.subnav {
  border-top: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.72);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: 0.6rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink-3);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.subnav a::before {
  content: "▸";
  color: var(--c-accent);
  font-size: 0.7em;
}
.subnav a:hover,
.subnav a[aria-current="page"] { color: var(--c-ink); }
.subnav a[aria-current="page"]::before { color: var(--c-ink); }

/* Variante sur les pages à hero sombre uniquement.
   Doit rester scopée à .home-dark : 33 pages utilisent .pill-header sur un
   fond clair (page-hero). Sans .home-dark, leur subnav passait en texte clair
   sur fond clair — illisible, et carrément invisible pour la page courante
   (aria-current en #fff). Elles retombent maintenant sur le .subnav de base. */
.pill-header.home-dark .subnav {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.14);
}
.pill-header.home-dark .subnav a { color: rgba(230, 236, 248, 0.72); }
.pill-header.home-dark .subnav a:hover,
.pill-header.home-dark .subnav a[aria-current="page"] { color: #fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(1200px 500px at 80% -100px, rgba(249, 115, 22, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(15, 27, 61, 0.06), transparent 60%),
    var(--c-bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  padding: 0.4rem 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.hero h1 strong { color: var(--c-accent); font-weight: 700; }

.hero__lead {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, #1B2A57 0%, #0F1B3D 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 80% 20%, rgba(249, 115, 22, 0.4), transparent 60%),
    radial-gradient(300px 200px at 20% 80%, rgba(255, 255, 255, 0.06), transparent 60%);
}

.hero__mock {
  position: relative;
  width: 78%;
  background: #fff;
  color: var(--c-text);
  border-radius: var(--r-md);
  padding: var(--space-5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero__mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-4);
}
.hero__mock-bar i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--c-line);
}

.hero__mock h4 {
  margin: 0 0 var(--space-3);
  font-size: 0.9375rem;
}

.hero__mock-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--c-line);
  font-size: 0.875rem;
  color: var(--c-ink-3);
}
.hero__mock-row .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
  display: grid; place-items: center; font-size: 0.75rem;
}

.hero__mock-stat {
  margin-top: var(--space-4);
  background: var(--c-bg-soft);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-sm);
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.hero__mock-stat strong { color: var(--c-accent-dark); font-size: 1rem; }

/* =========================================================
   Trust band (logos écoles)
   ========================================================= */
.trust {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.trust__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-5);
}

.trust__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-5);
  align-items: center;
  justify-items: center;
  opacity: 0.7;
}

.trust__logo {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-ink-3);
  letter-spacing: -0.01em;
  text-align: center;
}

/* =========================================================
   Pour qui — 2 cards
   ========================================================= */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 800px) {
  .audience { grid-template-columns: 1fr; }
}

.audience__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.audience__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.audience__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.audience__card h3 { margin-bottom: var(--space-3); }

.audience__list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 var(--space-6);
}
.audience__list li {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  color: var(--c-ink-3);
}
.audience__list li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   Services — 3 piliers
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
}

.service {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
  font-size: 1.25rem;
}

.service h3 { margin-bottom: var(--space-3); font-size: 1.25rem; }
.service p { color: var(--c-text-muted); margin-bottom: var(--space-5); }

.service__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--c-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.service__link:hover { color: var(--c-accent); }

/* =========================================================
   Cas concrets
   ========================================================= */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
}

.case {
  background: var(--c-bg-tint);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  border-left: 4px solid var(--c-accent);
}

.case__metric {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.case__metric span { color: var(--c-accent); }

.case__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-4);
}

.case h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}

.case p {
  color: var(--c-ink-3);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* =========================================================
   Témoignages
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; }
}

.testimonial {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-size: 1rem;
  color: var(--c-ink);
  margin-bottom: var(--space-5);
  font-style: italic;
  line-height: 1.65;
  flex: 1;
}

.testimonial__quote::before {
  content: "“";
  display: block;
  font-size: 2.5rem;
  color: var(--c-accent);
  line-height: 0.8;
  margin-bottom: var(--space-3);
  font-style: normal;
  font-weight: 700;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-accent) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial__name {
  font-weight: 600;
  color: var(--c-ink);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

/* =========================================================
   Lead magnet
   ========================================================= */
.lead-magnet {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  color: var(--c-text-on-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

@media (max-width: 800px) {
  .lead-magnet { grid-template-columns: 1fr; padding: var(--space-6); }
}

.lead-magnet h2 { color: #fff; margin-bottom: var(--space-3); }
.lead-magnet p { color: rgba(230, 236, 248, 0.85); }

.lead-magnet__list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-2);
}
.lead-magnet__list li {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: 0.9375rem;
  color: var(--c-text-on-dark);
}
.lead-magnet__list li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
}

.lead-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: var(--space-5);
  position: relative;
  z-index: 1;
}

.lead-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--c-text-on-dark);
}

.lead-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
  color: var(--c-ink);
  margin-bottom: var(--space-3);
  font-family: inherit;
}
.lead-form input:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.lead-form .btn { width: 100%; }

.lead-form__check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(230, 236, 248, 0.85);
  cursor: pointer;
  line-height: 1.5;
}

.lead-form__check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.lead-form__note {
  font-size: 0.75rem;
  color: rgba(230, 236, 248, 0.6);
  margin: var(--space-3) 0 0;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: var(--space-5) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: inherit;
}

.faq__question:hover { color: var(--c-accent-dark); }

.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 1rem;
  color: var(--c-ink);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--c-accent);
  color: #fff;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--c-text-muted);
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 0 var(--space-5);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* =========================================================
   CTA final
   ========================================================= */
.cta-final {
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(249, 115, 22, 0.08), transparent 70%),
    var(--c-ink);
}

.cta-final h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-final p {
  color: rgba(230, 236, 248, 0.8);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto var(--space-6);
}

.cta-final__buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final__meta {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(230, 236, 248, 0.65);
}

.cta-final__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #0A1330;
  color: rgba(230, 236, 248, 0.75);
  padding: var(--space-8) 0 var(--space-5);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand .brand { color: #fff; margin-bottom: var(--space-4); }
.footer-brand p {
  color: rgba(230, 236, 248, 0.6);
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--c-accent); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: rgba(230, 236, 248, 0.5);
}

.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Mobile menu
   ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: #fff;
  z-index: 100;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  color: var(--c-ink);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-ink);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--c-line);
}

.mobile-menu .btn { margin-top: auto; }

/* =========================================================
   Utilities
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Scroll reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(0.96); }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger : décale les enfants directs d'un même conteneur */
.reveal-stagger > .reveal { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 450ms; }

/* Compteurs animés (cas concrets) */
.case__metric {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.case.is-visible .case__metric {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Hero : entrée légèrement décalée */
.hero__badge,
.hero h1,
.hero__lead,
.hero__ctas,
.hero__meta {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero h1 { animation-delay: 0.1s; }
.hero__lead { animation-delay: 0.2s; }
.hero__ctas { animation-delay: 0.3s; }
.hero__meta { animation-delay: 0.4s; }

.hero__visual {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* Header micro-animation au hover des liens */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--c-accent);
  transition: right 0.25s ease;
}
.nav__links a:hover::after { right: 0; }

/* CTA buttons : effet de brillance au hover */
.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn--primary:hover::after { transform: translateX(100%); }

/* Mock card : pulse subtile sur le compteur */
.hero__mock-stat strong {
  display: inline-block;
  animation: pulseStat 2.4s ease-in-out infinite;
}
@keyframes pulseStat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); color: #F97316; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__badge, .hero h1, .hero__lead, .hero__ctas, .hero__meta, .hero__visual,
  .case__metric {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Accueil — header pilule & hero sombre « Intelligent Shape »
   Scopé via body.home-dark (index.html uniquement)
   ========================================================= */

/* --- Header : pilule flottante en verre --- */
.pill-header .site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
  padding-top: 1.25rem;
}

.pill-header .site-header .nav {
  padding: 0.6rem 0.75rem 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(12, 18, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.pill-header .site-header.is-scrolled {
  border-bottom: 0;
  box-shadow: none;
}
.pill-header .site-header.is-scrolled .nav {
  background: rgba(12, 18, 42, 0.92);
  box-shadow: 0 8px 32px rgba(3, 5, 9, 0.35);
}

.pill-header .site-header .brand { color: #fff; }
.pill-header .site-header .brand__name strong { color: var(--c-accent); }
.pill-header .site-header .nav__links a { color: rgba(230, 236, 248, 0.72); }
.pill-header .site-header .nav__links a:hover { color: #fff; }
.pill-header .site-header .btn--ghost {
  color: rgba(230, 236, 248, 0.85);
  border-color: transparent;
  background: transparent;
}
.pill-header .site-header .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}
.pill-header .site-header .nav__toggle { color: #fff; }

/* --- Hero sombre --- */
.home-dark .hero {
  position: relative;
  margin-top: calc(-1 * (76px + 1.25rem)); /* passe sous le header sticky */
  padding: calc(76px + 1.25rem + clamp(3rem, 7vw, 5rem)) 0 clamp(5rem, 9vw, 7rem);
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #030509;
  overflow: hidden;
}

/* Grain subtil anti-banding */
.home-dark .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.home-dark .hero .container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.home-dark .hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-dark .hero__badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(230, 236, 248, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.home-dark .hero__badge svg { color: #4ADE80; }

.home-dark .hero h1 {
  color: #fff;
  letter-spacing: -0.03em;
}
.home-dark .hero h1 strong {
  background: linear-gradient(100deg, #FFD9A8 0%, var(--c-accent) 55%, #FF9A4D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-dark .hero__lead {
  color: rgba(230, 236, 248, 0.65);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.home-dark .hero__ctas { justify-content: center; }

.home-dark .hero .btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.home-dark .hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.home-dark .hero .btn--primary {
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
}
.home-dark .hero .btn--primary:hover {
  box-shadow: 0 6px 32px rgba(249, 115, 22, 0.5);
}

.home-dark .hero__meta {
  justify-content: center;
  color: rgba(230, 236, 248, 0.55);
}
.home-dark .hero__meta svg { color: var(--c-accent); }

/* --- Orbe lumineux (CSS pur) --- */
.home-dark .hero__orb {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 1;
}

.home-dark .hero__orb::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08), transparent 60%);
}

.home-dark .hero__orb-sphere {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(120, 150, 255, 0.55), transparent 55%),
    radial-gradient(circle at 60% 65%, rgba(40, 70, 180, 0.5), transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(25, 40, 110, 0.85), rgba(8, 12, 35, 0.4) 70%);
  filter: blur(28px);
  animation: orb-breathe 9s ease-in-out infinite;
}

.home-dark .hero__orb-ribbon {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(249, 115, 22, 0) 60deg,
    rgba(255, 170, 80, 0.65) 100deg,
    rgba(255, 214, 160, 0.85) 118deg,
    rgba(249, 115, 22, 0.4) 145deg,
    transparent 185deg
  );
  -webkit-mask: radial-gradient(circle, transparent 30%, black 46%, black 58%, transparent 72%);
          mask: radial-gradient(circle, transparent 30%, black 46%, black 58%, transparent 72%);
  filter: blur(18px);
  animation: orb-swirl 14s linear infinite;
}

.home-dark .hero__orb-ribbon--2 {
  inset: 12%;
  opacity: 0.6;
  filter: blur(26px);
  animation: orb-swirl 21s linear infinite reverse;
}

@keyframes orb-swirl { to { transform: rotate(360deg); } }
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

/* Fondu vers le blanc — transition vers les sections claires */
.home-dark .hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .home-dark .hero__orb-sphere,
  .home-dark .hero__orb-ribbon,
  .home-dark .hero__orb-ribbon--2 { animation: none; }
}

@media (max-width: 700px) {
  .home-dark .hero__orb { width: 340px; height: 340px; top: 36%; }
  .home-dark .hero { min-height: auto; }
}

@media (max-width: 480px) {
  .pill-header .site-header { padding-top: 0.75rem; }
  .pill-header .site-header .nav {
    padding: 0.4rem 0.5rem 0.4rem 0.85rem;
    gap: 0.5rem;
  }
  .pill-header .site-header .brand { font-size: 0.95rem; gap: 0.4rem; }
  .pill-header .site-header .brand__logo { width: 28px; height: 28px; font-size: 0.9rem; }
  .pill-header .site-header .nav__actions { gap: 0.25rem; }
  .pill-header .site-header .nav__actions .btn--primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
  }
}

/* Pages claires : pilule plus opaque (le 0.72 est calibré pour le hero sombre) */
.pill-header:not(.home-dark) .site-header .nav {
  background: rgba(12, 18, 42, 0.92);
  box-shadow: 0 8px 32px rgba(15, 27, 61, 0.18);
}

/* =========================================================
   Ressources — guides multiples & zone de téléchargement
   ========================================================= */
.lead-magnet__guide { margin-top: var(--space-5); }
.lead-magnet__guide h3 {
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: var(--space-3);
}

.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
@media (max-width: 800px) {
  .downloads { grid-template-columns: 1fr; }
}

.download-card {
  background: var(--c-bg-tint);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
.download-card__icon { font-size: 2rem; }
.download-card h3 { margin: 0; }
.download-card .btn { margin-top: auto; }

.donation {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  color: var(--c-text-on-dark);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-7);
  align-items: center;
}
.donation h2 { color: #fff; }
@media (max-width: 800px) {
  .donation { grid-template-columns: 1fr; padding: var(--space-6); }
}
.donation__action { text-align: center; }
.donation__action .lead-form__note { margin-top: var(--space-3); }

/* =========================================================
   Section vedette Circulaires FWB (apps.html #circulaires)
   ========================================================= */
.featured-app { display:grid; grid-template-columns: 1fr 340px; gap: var(--space-6); align-items:start; }
.featured-app__points { display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.featured-app__pricing { background: var(--c-ink); color: var(--c-text-on-dark); border-radius: var(--r-lg); padding: var(--space-6); box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
.featured-app__pricing h3 { color:#fff; margin: 0 0 var(--space-4); font-size: 1.25rem; }
.featured-app__free { background: rgba(249,115,22,.15); border: 1px solid var(--c-accent); border-radius: var(--r-sm); padding: 10px 14px; font-size: .95rem; }
.featured-app__free strong { color: var(--c-accent); }
.featured-app__prices { list-style:none; margin: var(--space-4) 0; padding:0; }
.featured-app__prices li { display:flex; justify-content:space-between; align-items:baseline; padding: 10px 0; border-bottom: 1px solid rgba(230,236,248,.15); }
.featured-app__prices strong { font-size: 1.3rem; color:#fff; }
.featured-app__prices small { font-size:.7rem; color: var(--c-text-on-dark); font-weight:400; }
.featured-app__note { font-size:.85rem; line-height:1.5; color: var(--c-text-on-dark); }
.featured-app__pricing .btn { width:100%; text-align:center; margin-top: var(--space-3); }
.featured-app__url { display:block; text-align:center; margin-top: var(--space-3); font-size:.85rem; color: var(--c-accent); }
@media (max-width: 980px) {
  .featured-app { grid-template-columns: 1fr; }
  .featured-app__pricing { position: static; }
}
@media (max-width: 640px) {
  .featured-app__points { grid-template-columns: 1fr; }
}

/* Démo animée Circulaires (iframe 16:9) */
.featured-app__demo { margin-bottom: var(--space-6); }
.featured-app__demo iframe { display:block; width:100%; aspect-ratio:16/9; border:0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background:#0F1B3D; }

/* Carte de contact vCard (telechargements.html) */
.contact-vcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-7); }
.contact-vcard__qr { border-radius: var(--r-lg); background: #fff; padding: 10px; box-shadow: var(--shadow-lg); }
.contact-vcard__info { max-width: 380px; }
.contact-vcard__info h3 { margin: 0 0 4px; }
.contact-vcard__info p { margin: 0 0 var(--space-4); }

/* =========================================================
   Portail d'orientation (index.html)
   ========================================================= */
.portal-hero {
  min-height: auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.portal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  width: 100%;
  max-width: 880px;
  margin: var(--space-7) auto 0;
  position: relative;
  z-index: 5;
  text-align: left;
}
@media (max-width: 760px) {
  .portal-cards { grid-template-columns: 1fr; }
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--c-text-on-dark);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.portal-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 12px 40px rgba(3, 5, 9, 0.45);
}

.portal-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(249, 115, 22, 0.14);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.portal-card h2 {
  color: #fff;
  font-size: 1.375rem;
  margin: 0;
}

.portal-card p {
  color: rgba(230, 236, 248, 0.65);
  font-size: 0.9375rem;
  margin: 0;
}

.portal-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: rgba(230, 236, 248, 0.75);
}
.portal-card ul li { padding-left: 1.4em; position: relative; }
.portal-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.portal-card__cta {
  margin-top: auto;
  padding-top: var(--space-4);
  font-weight: 600;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.portal-card:hover .portal-card__cta { color: #FFB27A; }

/* =========================================================
   Page Business (business.html)
   ========================================================= */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 960px) { .automation-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .automation-grid { grid-template-columns: 1fr; } }

.automation-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.automation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}
.automation-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
}
.automation-card h3 { font-size: 1.0625rem; margin-bottom: var(--space-2); }
.automation-card p { color: var(--c-text-muted); font-size: 0.9375rem; margin: 0 0 var(--space-3); }
.automation-card__gain {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-accent-dark);
  background: var(--c-accent-soft);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.75rem;
}

/* Galerie des sites de démonstration */
.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 960px) { .demo-gallery { grid-template-columns: 1fr; } }

.demo-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}

.demo-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-6);
  gap: var(--space-2);
  overflow: hidden;
}
/* Vignettes photo — scrim bas pour lisibilité du nom + photo en couverture */
.demo-card__thumb--resto,
.demo-card__thumb--repos,
.demo-card__thumb--corpo {
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.demo-card__thumb--resto { background-image: linear-gradient(to top, rgba(15, 8, 4, 0.72) 0%, rgba(15, 8, 4, 0.15) 45%, rgba(15, 8, 4, 0) 70%), url(../img/demo-restaurant.jpg); }
.demo-card__thumb--repos { background-image: linear-gradient(to top, rgba(20, 28, 24, 0.70) 0%, rgba(20, 28, 24, 0.12) 45%, rgba(20, 28, 24, 0) 70%), url(../img/demo-maison-repos.jpg); }
.demo-card__thumb--corpo { background-image: linear-gradient(to top, rgba(5, 12, 26, 0.74) 0%, rgba(5, 12, 26, 0.15) 45%, rgba(5, 12, 26, 0) 70%), url(../img/demo-entreprise.jpg); }
.demo-card__thumb--ecole { background: linear-gradient(135deg, #0F1B3D 0%, #1E2C5A 55%, #3A55B0 100%); }
.demo-card__thumb--rag { background: linear-gradient(135deg, #10233A 0%, #164A63 60%, #1E8AA8 100%); }
.demo-card__thumb--auto { justify-content: flex-end; background-size: cover; background-position: center; background-repeat: no-repeat; background-image: linear-gradient(to top, rgba(10, 12, 16, 0.72) 0%, rgba(10, 12, 16, 0.15) 45%, rgba(10, 12, 16, 0) 70%), url(../img/demo-auto.jpg); }
.demo-card__thumb--auto .demo-card__thumb-brand { color: #fff; position: relative; z-index: 2; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55); }

.demo-card__thumb-brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.demo-card__thumb--resto .demo-card__thumb-brand,
.demo-card__thumb--repos .demo-card__thumb-brand,
.demo-card__thumb--corpo .demo-card__thumb-brand { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55); }
.demo-card__thumb--resto .demo-card__thumb-brand { font-family: Georgia, "Times New Roman", serif; }
.demo-card__thumb--ecole .demo-card__thumb-brand { color: #fff; }
.demo-card__thumb--rag .demo-card__thumb-brand { color: #fff; }

.demo-card__thumb-line {
  height: 8px;
  border-radius: var(--r-pill);
  opacity: 0.55;
}
/* Skeleton lines masqués sur les vignettes photo */
.demo-card__thumb--resto .demo-card__thumb-line,
.demo-card__thumb--repos .demo-card__thumb-line,
.demo-card__thumb--corpo .demo-card__thumb-line { display: none; }
.demo-card__thumb--ecole .demo-card__thumb-line { background: #7C93E8; }
.demo-card__thumb--rag .demo-card__thumb-line { background: #58C8E0; }

.demo-card__thumb-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-ink);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.65rem;
}

.demo-card__body { padding: var(--space-5) var(--space-6) var(--space-6); }
.demo-card__body h3 { font-size: 1.0625rem; margin-bottom: var(--space-2); }
.demo-card__body p { color: var(--c-text-muted); font-size: 0.875rem; margin: 0 0 var(--space-3); }
.demo-card__link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--c-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Helpers business */
.w-62 { width: 62%; }
.w-40 { width: 40%; }
.hero__ctas--center { justify-content: center; margin-top: var(--space-6); }

/* Animation « construction du workflow » (business.html) */
.workflow-anim {
  margin: 0 auto var(--space-8);
  max-width: 1240px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.workflow-anim iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1240 / 452;
  border: 0;
}

/* Sous 760px, le schéma devient illisible s'il est réduit :
   on lui garde une largeur minimale et on autorise le défilement horizontal. */
@media (max-width: 760px) {
  .workflow-anim {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .workflow-anim iframe { min-width: 700px; }
}
