/*
Theme Name: Polyvatech
Theme URI: https://polyvatech.dz
Author: EURL POLYVATECH
Author URI: https://polyvatech.dz
Description: Thème sur-mesure officiel POLYVATECH — Logiciels de gestion (KISTAS Immobilisations, Odoo) et Infrastructures informatiques (Systèmes, Réseaux, Messagerie, Hébergement NVMe).
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary / EURL POLYVATECH
Text Domain: polyvatech
Domain Path: /languages
*/
/* ==========================================================================
   POLYVATECH â€” Feuille de style partagÃ©e (FR / AR)
   --------------------------------------------------------------------------
   Concept graphique : les deux anneaux du logo.
   - Anneau chaud (ambre -> corail)  = Logiciels : KISTAS, Odoo
   - Anneau froid (cyan -> bleu)     = Infrastructures : systÃ¨mes, rÃ©seaux,
                                       hÃ©bergement
   Le site est codÃ© par couleur selon ces deux mÃ©tiers.
   Toutes les marges / positions utilisent des propriÃ©tÃ©s logiques
   (inline-start / inline-end) afin que la version arabe (dir="rtl")
   fonctionne avec la mÃªme feuille de style.
   ========================================================================== */

:root {
  /* Encres & papier */
  --ink: #0b0f14;
  --ink-2: #1c232c;
  --text: #39424d;
  --muted: #69727d;
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --paper-3: #eeece6;
  --rule: #e2dfd7;
  --rule-strong: #c8c4b9;

  /* Couleurs extraites du logo */
  --amber: #fbb936;
  --coral: #f96259;
  --coral-ink: #c2321f;   /* corail lisible sur blanc (AA) */
  --cyan: #00aeff;
  --cyan-ink: #0369a1;    /* cyan lisible sur blanc (AA) */
  --blue: #1f5eff;

  --warm: linear-gradient(135deg, #fbb936 0%, #f96259 100%);
  --cool: linear-gradient(135deg, #00d5ff 0%, #1f5eff 100%);

  /* Typographie : Poppins rappelle le logotype PolyvaTech */
  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;

  --wrap: 1440px;
  --wrap-wide: 1560px;
  --gutter: clamp(20px, 3.5vw, 48px);
}

[dir="rtl"] {
  --f-head: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  --f-body: 'IBM Plex Sans Arabic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}
[dir="rtl"] body { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 2000;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Barre d'information + en-tÃªte
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #b8c0c9;
  font-size: 13px;
}
.topbar .wrap {
  max-width: var(--wrap-wide);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #e6e9ed; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 2px 8px; border-radius: 3px; }
.lang-switch [aria-current="true"] { background: #fff; color: var(--ink); }
.lang-switch .ar { font-family: 'Readex Pro', sans-serif; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.2) blur(6px);
}
/* Signature : bande bicolore des deux anneaux */
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, #1f5eff 0%, #00aeff 50%, #fbb936 50%, #f96259 100%);
}
[dir="rtl"] .site-header::after {
  background: linear-gradient(270deg, #1f5eff 0%, #00aeff 50%, #fbb936 50%, #f96259 100%);
}
.site-header .wrap { max-width: var(--wrap-wide); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 74px;
}
.brand img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-head); font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 8px 12px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav a:hover { background: var(--paper-2); }
.nav .dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--warm { background: var(--warm); }
.dot--cool { background: var(--cool); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-strong);
  border-radius: 4px; padding: 8px 12px; font: inherit; font-weight: 600;
  color: var(--ink); cursor: pointer;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font-family: var(--f-head); font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 4px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-ink { background: var(--ink); color: #fff; overflow: hidden; }
.btn-ink::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: 5px; background: var(--warm);
}
.btn-ink:hover { background: var(--coral-ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--amber); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0d6f3a; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.arrow { display: inline-block; transition: transform .15s; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 80px 0 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(11, 15, 20, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 15, 20, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
[dir="rtl"] .kicker { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.kicker:has(.ring)::before { display: none; }

.hero h1 {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 24px;
}
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.4; }
.hero h1 .warm, .hero h1 .cool {
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.hero h1 .warm { background-image: linear-gradient(90deg, #e9961a, #e5463c); }
.hero h1 .cool { background-image: linear-gradient(90deg, #0090d6, #1f4fe0); }

.hero-lead { font-size: 18px; max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* SchÃ©ma des deux anneaux */
.rings { position: relative; }
.rings svg { width: 100%; height: auto; }
.rings text { font-family: var(--f-head); }
.rings .r-title { font-size: 17px; font-weight: 600; fill: var(--ink); }
.rings .r-sub { font-size: 12.5px; fill: var(--muted); font-family: var(--f-body); }
.rings .r-mid { font-size: 11px; font-weight: 600; fill: var(--ink); letter-spacing: .06em; }

/* Bandeau de faits vÃ©rifiÃ©s */
.facts {
  margin-top: 72px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 24px; border-inline-start: 1px solid var(--rule); }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b {
  display: block; font-family: var(--f-head); font-weight: 600;
  font-size: 22px; color: var(--ink); line-height: 1.2; margin-bottom: 4px;
}
.facts span { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 104px 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #c4cbd3; }

.sec-head {
  display: grid; grid-template-columns: 5fr 6fr; gap: 24px 64px;
  align-items: end; margin-bottom: 56px;
  padding-bottom: 28px; border-bottom: 1px solid var(--rule);
}
.section--ink .sec-head { border-color: #27303a; }
.sec-index {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
[dir="rtl"] .sec-index { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; }
.sec-index .num { color: var(--ink); font-weight: 500; font-family: var(--f-mono); }
.section--ink .sec-index .num { color: #fff; }

/* Petit anneau, rappel du logo */
.ring {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, var(--paper) 0 3.5px, transparent 4px),
    var(--warm);
}
.ring--cool { background: radial-gradient(circle, var(--paper) 0 3.5px, transparent 4px), var(--cool); }
.section--paper .ring { background: radial-gradient(circle, var(--paper-2) 0 3.5px, transparent 4px), var(--warm); }
.section--paper .ring--cool { background: radial-gradient(circle, var(--paper-2) 0 3.5px, transparent 4px), var(--cool); }
.section--ink .ring { background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 4px), var(--warm); }
.section--ink .ring--cool { background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 4px), var(--cool); }

.sec-head h2 {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
}
[dir="rtl"] .sec-head h2 { letter-spacing: 0; line-height: 1.45; }
.section--ink .sec-head h2 { color: #fff; }
.sec-head p { font-size: 17px; }

h3 { font-family: var(--f-head); font-weight: 600; color: var(--ink); line-height: 1.3; }

/* --------------------------------------------------------------------------
   01 â€” KISTAS / Ù‚Ø³Ø·Ø§Ø³
   -------------------------------------------------------------------------- */
.kistas-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  margin-bottom: 72px;
}
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  color: #166534; background: #eaf7ee; border: 1px solid #c4e8cf;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 18px;
}
[dir="rtl"] .status { font-family: var(--f-body); font-size: 13px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

.kistas-intro h3 { font-size: 26px; margin-bottom: 16px; }
.kistas-intro > div > p { margin-bottom: 16px; }

/* Origine du nom */
.etymology {
  margin: 26px 0 30px; padding: 20px 24px;
  border-inline-start: 3px solid var(--amber);
  background: var(--paper-2);
}
.etymology-title {
  font-family: var(--f-head);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.etymology-term {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.etymology .word {
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.2;
}
.etymology .sep { color: var(--rule-strong); font-weight: 300; }
.etymology .translit { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.etymology p { font-size: 14.5px; line-height: 1.6; margin-bottom: 8px; }
.etymology p:last-child { margin-bottom: 0; }
.etymology-tagline {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink);
}

.kistas-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Balance : registre thÃ©orique vs inventaire physique */
.balance {
  border: 1px solid var(--rule-strong); background: var(--paper);
  padding: 28px 28px 24px;
}
.balance-title {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
[dir="rtl"] .balance-title { font-family: var(--f-body); font-size: 13px; letter-spacing: 0; }
.balance svg { margin: 0 auto 18px; }
.balance-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pan { border: 1px solid var(--rule); padding: 14px 16px; background: var(--paper-2); }
.pan small { display: block; font-size: 12.5px; color: var(--muted); }
.pan b { font-family: var(--f-mono); font-size: 24px; font-weight: 500; color: var(--ink); }
.pan-eq {
  align-self: center; font-family: var(--f-mono); font-size: 22px; color: var(--ink);
}
.balance-result {
  margin-top: 14px; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding-top: 14px; border-top: 1px dashed var(--rule-strong);
  font-size: 14px;
}
.balance-result b { font-family: var(--f-mono); font-weight: 500; color: #166534; }
.illustr { font-size: 12px; color: var(--muted); margin-top: 12px; font-style: italic; }

/* CapacitÃ©s */
.caps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  margin-bottom: 72px;
}
.cap { padding: 26px 24px 8px 0; padding-inline: 0 24px; }
.cap + .cap { padding-inline-start: 24px; border-inline-start: 1px solid var(--rule); }
.cap .mono { color: var(--coral-ink); display: block; margin-bottom: 10px; }
.cap h3 { font-size: 17px; margin-bottom: 8px; }
.cap p { font-size: 14.5px; }

/* Registre + Ã©tiquette */
.register-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.register-wrap h3 { font-size: 18px; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule-strong); background: #fff; }
table.register { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.register th {
  text-align: start; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  background: var(--paper-2); padding: 10px 14px; border-bottom: 1px solid var(--rule-strong);
}
[dir="rtl"] .register th { font-family: var(--f-body); font-size: 12.5px; letter-spacing: 0; }
.register td { padding: 11px 14px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.register tr:last-child td { border-bottom: 0; }
.register .code { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.tag-state { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.st-ok { background: #eaf7ee; color: #166534; }
.st-gap { background: #fff1e6; color: #9a3412; }
.st-ref { background: #eef2f7; color: #334155; }

/* Ã‰tiquette d'inventaire (toujours LTR, comme une vraie Ã©tiquette) */
.asset-tag {
  direction: ltr; text-align: left;
  background: #fff; border: 1px solid var(--ink);
  border-radius: 8px; padding: 16px 18px 14px; position: relative;
  box-shadow: 6px 6px 0 var(--paper-3);
  font-family: var(--f-mono); color: var(--ink);
  max-width: 360px;
}
.asset-tag::before {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--rule-strong);
}
.asset-tag .t-head {
  display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em;
  padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 12px;
}
.asset-tag .t-head img { height: 16px; width: auto; }
.asset-tag dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 11.5px; margin-bottom: 12px; }
.asset-tag dt { color: var(--muted); }
.barcode {
  height: 54px;
  background: repeating-linear-gradient(90deg,
    #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px,
    #000 8px 11px, transparent 11px 12px, #000 12px 13px, transparent 13px 15px,
    #000 15px 16px, transparent 16px 19px, #000 19px 21px, transparent 21px 22px);
}
.asset-tag .t-code { text-align: center; font-size: 13px; letter-spacing: .3em; margin-top: 6px; }
.docs-list { margin-top: 26px; }
.docs-list h3 { font-size: 16px; margin-bottom: 10px; }
.docs-list ul { display: flex; flex-wrap: wrap; gap: 6px; }
.docs-list li {
  font-size: 13px; padding: 4px 10px; border: 1px solid var(--rule-strong);
  background: #fff; border-radius: 3px;
}

.dev-note {
  margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 20px 24px; border: 1px dashed var(--rule-strong); font-size: 14.5px;
}
.dev-note .mono { color: var(--muted); padding-top: 3px; }
[dir="rtl"] .dev-note .mono { font-family: var(--f-body); font-size: 13px; }

/* --------------------------------------------------------------------------
   02 â€” Odoo : liste de prestations faÃ§on registre
   -------------------------------------------------------------------------- */
.services-ledger { border-top: 2px solid var(--ink); }
.ledger-row {
  display: grid; grid-template-columns: 72px 1fr 1.4fr; gap: 32px;
  padding: 26px 0; border-bottom: 1px solid var(--rule-strong);
}
.ledger-row .mono { font-size: 13px; color: var(--coral-ink); padding-top: 4px; }
.ledger-row h3 { font-size: 19px; }
.ledger-row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14.5px; }
.ledger-row li { position: relative; padding-inline-start: 16px; }
.ledger-row li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 7px; height: 2px; background: var(--coral);
}

/* Cas rÃ©el : flux Odoo -> contrÃ´le -> PCCompta */
.case {
  margin-top: 72px; background: var(--ink); color: #c4cbd3;
  padding: 44px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px;
}
.case .mono { color: var(--amber); }
[dir="rtl"] .case .mono { font-family: var(--f-body); font-size: 13px; }
.case h3 { color: #fff; font-size: 26px; margin: 10px 0 14px; }
.case p { font-size: 15.5px; }
.flow { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: stretch; }
.flow-node { border: 1px solid #39434e; padding: 16px; background: #121820; }
.flow-node.mid { border-color: var(--amber); }
.flow-node b { display: block; color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.flow-node li { font-size: 13px; margin-bottom: 4px; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--amber); font-family: var(--f-mono); }
[dir="rtl"] .flow-arrow { transform: scaleX(-1); }
.case-results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #27303a; }
.case-results div { padding: 22px 24px 0 0; padding-inline: 0 24px; }
.case-results div + div { padding-inline-start: 24px; border-inline-start: 1px solid #27303a; }
.case-results b { display: block; color: #fff; font-family: var(--f-head); font-weight: 600; margin-bottom: 4px; }
.case-results span { font-size: 14px; }

/* --------------------------------------------------------------------------
   03 â€” Infrastructures
   -------------------------------------------------------------------------- */
.infra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.infra {
  padding: 32px 32px 32px 0; padding-inline: 0 32px; border-bottom: 1px solid var(--rule-strong);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
}
.infra:nth-child(even) { padding-inline: 32px 0; border-inline-start: 1px solid var(--rule-strong); }
.infra-code {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1.5px solid var(--cyan-ink); color: var(--cyan-ink);
  background: rgba(0, 174, 255, 0.04); border-radius: 4px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  flex-shrink: 0;
}
.infra-code--warm {
  border-color: var(--coral-ink); color: var(--coral-ink);
  background: rgba(251, 185, 54, 0.08);
}
.infra h3 { font-size: 19px; margin-bottom: 8px; }
.infra p { font-size: 15px; margin-bottom: 12px; }
.infra ul { font-size: 14px; color: var(--muted); }
.infra li { padding-inline-start: 16px; position: relative; margin-bottom: 3px; }
.infra li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 7px; height: 2px; background: var(--cyan);
}
.infra-grid--warm .infra li::before { background: var(--coral); }

/* --------------------------------------------------------------------------
   04 â€” MÃ©thode
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 15px; inset-inline: 0; height: 2px;
  background: linear-gradient(90deg, #1f5eff, #00aeff, #fbb936, #f96259);
}
[dir="rtl"] .steps::before { background: linear-gradient(270deg, #1f5eff, #00aeff, #fbb936, #f96259); }
.step { padding-inline-end: 22px; position: relative; }
.step .knot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper);
  border: 2px solid var(--ink); display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink);
  margin-bottom: 20px; position: relative;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; }
.terms {
  margin-top: 56px; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 0;
  border: 1px solid var(--rule-strong); background: #fff;
}
.terms > * { padding: 16px 20px; font-size: 14.5px; }
.terms > * + * { border-inline-start: 1px solid var(--rule); }
.terms strong { font-family: var(--f-head); font-weight: 600; color: var(--ink); background: var(--paper-2); }

/* --------------------------------------------------------------------------
   05 â€” HÃ©bergement
   -------------------------------------------------------------------------- */
.hosting {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: center;
  margin-bottom: 48px;
}
.hosting h2 { font-family: var(--f-head); font-weight: 600; font-size: 28px; color: #fff; line-height: 1.25; margin: 10px 0 10px; }
.hosting .sec-index { color: #8b95a1; }
.hosting-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.hosting-specs span {
  font-family: var(--f-mono); font-size: 12.5px; color: #e6e9ed;
  border: 1px solid #39434e; padding: 6px 10px;
}
.hosting-actions { display: flex; flex-direction: column; gap: 10px; }

/* Grille des 4 Packs HÃ©bergement NVMe rÃ©els */
.packs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid #27303a; padding-top: 40px;
}
.pack-card {
  background: #121820; border: 1px solid #27303a; border-radius: 4px;
  padding: 24px 20px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .15s;
}
.pack-card:hover { border-color: var(--cyan); }
.pack-card.featured { border-color: var(--amber); background: #161e28; }
.pack-card .pack-name {
  font-family: var(--f-head); font-weight: 600; font-size: 18px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.pack-card .pack-badge {
  font-family: var(--f-mono); font-size: 11px; padding: 2px 6px; border-radius: 3px;
  background: var(--amber); color: var(--ink);
}
.pack-card .pack-disk {
  font-family: var(--f-mono); font-size: 24px; font-weight: 600; color: var(--cyan);
  margin-bottom: 14px;
}
.pack-card ul {
  font-size: 13px; color: #cbd5e1; border-top: 1px solid #27303a; padding-top: 14px;
  margin-bottom: 18px;
}
.pack-card li { margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.pack-card li::before { content: "âœ“"; color: var(--cyan); font-weight: bold; }

/* Devise & Philosophie officielle */
.motto-bar {
  background: var(--ink); color: #fff; padding: 28px 0;
  border-top: 3px solid var(--amber); border-bottom: 1px solid #27303a;
  text-align: center;
}
.motto-lead {
  font-family: var(--f-head); font-size: 21px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.motto-sub {
  font-size: 14px; color: #94a3b8; max-width: 780px; margin: 0 auto;
}

/* RÃ©fÃ©rences clients rÃ©elles */
.clients-row {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.clients-label {
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
}
.clients-list {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.client-badge {
  font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink);
  letter-spacing: 0.05em; padding: 6px 14px; background: var(--paper-2);
  border: 1px solid var(--rule-strong); border-radius: 3px;
}

/* --------------------------------------------------------------------------
   06 â€” Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.channels { border-top: 2px solid var(--ink); }
.channel { padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.channel small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
[dir="rtl"] .channel small { font-family: var(--f-body); font-size: 13px; letter-spacing: 0; }
.channel a.big { font-family: var(--f-head); font-weight: 600; font-size: 24px; color: var(--ink); text-decoration: none; }
.channel a.big:hover { color: var(--coral-ink); }
.channel p { font-size: 14px; color: var(--muted); }

.form {
  border: 1px solid var(--rule-strong); background: #fff; padding: 36px;
  box-shadow: 8px 8px 0 var(--paper-3);
}
.form h3 { font-size: 22px; margin-bottom: 6px; }
.form > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--f-head); font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--rule-strong); border-radius: 3px; background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 174, 255, .2);
}
.form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-alert { display: none; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; border-inline-start: 3px solid; }
.form-alert.ok { display: block; background: #eaf7ee; color: #14532d; border-color: #16a34a; }
.form-alert.err { display: block; background: #fff1e6; color: #7c2d12; border-color: var(--coral-ink); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #98a2ad; padding: 64px 0 28px; font-size: 14px; }
.footer .wrap { max-width: var(--wrap-wide); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo {
  display: inline-block; background: #fff; padding: 10px 14px; border-radius: 4px; margin-bottom: 16px;
}
.footer-logo img { height: 28px; width: auto; }
.footer h4 { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a { color: #c4cbd3; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid #27303a; font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
/* Captures réelles KISTAS (anonymisées) — Vitrine applicative 2 colonnes */
.screens {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin: 56px auto;
}
.screens-label {
  grid-column: 1 / -1; font-size: 12px; color: var(--muted); letter-spacing: .05em;
  text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.screens-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a;
}
.screen {
  margin: 0; display: flex; flex-direction: column;
  border: 1px solid var(--rule-strong); border-radius: 8px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 32px rgba(11, 15, 20, 0.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.screen:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(11, 15, 20, 0.12);
}
.screen-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; background: var(--ink); color: #cbd5e1;
  border-bottom: 1px solid #27303a;
}
.screen-dots { display: inline-flex; gap: 6px; }
.screen-dots i { width: 8px; height: 8px; border-radius: 50%; background: #39434e; display: block; }
.screen-dots i:first-child { background: var(--coral); }
.screen-dots i:nth-child(2) { background: var(--amber); }
.screen-dots i:nth-child(3) { background: var(--cyan); }
.screen-hint { color: var(--amber); font-size: 11px; }
.screen-zoom { display: block; overflow: hidden; background: var(--paper-2); }
.screen img {
  display: block; width: 100%; height: auto;
  transition: transform .3s ease;
}
.screen:hover img { transform: scale(1.015); }
.screen figcaption {
  padding: 12px 16px; font-size: 13.5px; color: var(--text);
  background: var(--paper-2); border-top: 1px solid var(--rule);
  margin-top: auto;
}

@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; font-size: 13.5px; }
  .hosting { grid-template-columns: 1fr 1fr; }
  .hosting-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .hero-grid, .kistas-intro, .register-wrap, .screens, .contact-grid, .case { grid-template-columns: 1fr; gap: 40px; }
  .rings { max-width: 520px; }
  .sec-head { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li { border-top: 1px solid var(--rule); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .caps { grid-template-columns: 1fr 1fr; }
  .cap:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .packs-grid { grid-template-columns: 1fr 1fr; }
  .ledger-row { grid-template-columns: 56px 1fr; }
  .ledger-row ul { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { top: 0; bottom: 0; inset-inline-start: 15px; inset-inline-end: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, #1f5eff, #00aeff, #fbb936, #f96259); }
  .step { display: grid; grid-template-columns: 32px 1fr; gap: 0 18px; padding: 0; }
  .step .knot { grid-row: span 2; margin: 0; }
  .terms { grid-template-columns: 1fr; }
  .terms > * + * { border-inline-start: 0; border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .facts ul, .caps, .infra-grid, .case-results, .field-row, .footer-grid, .hosting, .packs-grid { grid-template-columns: 1fr; }
  .facts li, .cap, .cap + .cap { border-inline-start: 0; padding-inline: 0; }
  .facts li { border-top: 1px solid var(--rule) !important; }
  .facts li:first-child { border-top: 0 !important; }
  .infra, .infra:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .ledger-row ul { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
  [dir="rtl"] .flow-arrow { transform: rotate(90deg); }
  .case { padding: 28px 22px; }
  .case-results div, .case-results div + div { padding-inline: 0; border-inline-start: 0; border-top: 1px solid #27303a; padding-top: 16px; }
  .topbar-info .hide-sm { display: none; }
  .form { padding: 24px; }
}

/* --------------------------------------------------------------------------
   Pages de service : fil d'Ariane, panneau hero, grille des métiers, FAQ
   -------------------------------------------------------------------------- */
.hero--page {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-strong);
}
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); font-weight: 600; }

/* Panneau de synthèse à droite dans le hero des pages intérieures */
.page-hero-aside {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--cyan);
  border-radius: 6px;
  padding: 24px 26px;
  box-shadow: 8px 8px 0 var(--paper-3);
}
.hero--warm .page-hero-aside {
  border-top-color: var(--amber);
}
.page-hero-aside-head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-aside-head small { display: block; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.page-hero-aside-head strong { font-family: var(--f-head); font-size: 18px; color: var(--ink); }
.page-hero-list { display: grid; gap: 10px; margin-bottom: 18px; }
.page-hero-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center;
  font-size: 14px; color: var(--ink-2);
}
.page-hero-tag {
  display: inline-block; text-align: center; padding: 3px 6px;
  background: var(--paper-2); border: 1px solid var(--rule-strong);
  border-radius: 3px; color: var(--ink); font-weight: 600; font-size: 11px;
}
.page-hero-aside-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px dashed var(--rule-strong);
  font-family: var(--f-mono); font-size: 12px; color: var(--muted);
}

/* Grille des 8 métiers sur l'accueil */
.metiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metier {
  position: relative;
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px;
  border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.metier::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--cool); opacity: 0.85; transition: height .2s ease;
}
.metier--warm::before { background: var(--warm); }
.metier:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 15, 20, 0.08);
}
.metier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metier h3 { font-size: 19px; margin: 0; }
.metier p { font-size: 14.5px; margin: 0; flex: 1; color: var(--text); }
.metier .infra-code { align-self: flex-start; }
.metier-link {
  font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.metier:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .metier:hover .arrow { transform: scaleX(-1) translateX(4px); }
.metier--kistas {
  border-color: var(--amber); border-width: 1.5px;
  background: linear-gradient(180deg, #fffdf8 0%, var(--paper-2) 100%);
  box-shadow: 6px 6px 0 var(--paper-3);
}
.metier--kistas .infra-code { border-color: var(--coral-ink); color: var(--coral-ink); }
.metier--kistas .metier-link { color: var(--coral-ink); }

/* Bandeau Teaser Revendeurs sur l'accueil */
.rev-teaser {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 28px 32px; background: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: 6px;
  box-shadow: 6px 6px 0 var(--paper-3);
}
.rev-teaser-pills {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px;
}
.rev-pill {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-head); font-size: 15px; color: var(--ink);
}
.rev-pill .infra-code { width: 46px; height: 46px; font-size: 11px; }

.faq-title { margin-bottom: 28px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule-strong); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: inline-end; font-family: var(--f-mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; max-width: 820px; }

@media (max-width: 1100px) { .metiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .rev-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .metiers-grid, .rev-teaser-pills { grid-template-columns: 1fr; }
  .rev-teaser { padding: 22px 20px; }
}

/* En-tête : 7 entrées de menu ne tiennent sur une ligne qu'au-delà de ~1180px (préproduction 15/10/2026) */
.header-cta { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule-strong);
    box-shadow: 0 16px 32px rgba(11, 15, 20, 0.12);
    padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Page KISTAS : hero de conversion (démo), avant/après, bandeau d'appel
   -------------------------------------------------------------------------- */
.hero-kistas {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #d8dde3; padding: 72px 0;
}
.hero-kistas-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.hero-kistas .kicker { color: #b7bec7; }
.hero-kistas .kicker::before { background: var(--amber); }
.hero-kistas h1 { color: #fff; }
.hero-kistas .hero-lead { color: #d8dde3; }
.proof-strip { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.proof-strip strong { display: block; font-family: var(--f-head); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.1; color: var(--amber); margin-bottom: 6px; }
.proof-strip span { display: block; font-size: 14px; color: #b7bec7; }
.hero-kistas-card .kistas-demo-form { background: #fff; color: var(--text); border-radius: 8px; padding: 32px; box-shadow: 0 18px 48px rgba(0,0,0,.35); scroll-margin-top: 90px; }
.kistas-demo-form .form-title { font-size: 22px; margin-bottom: 6px; color: var(--ink); }
.kistas-demo-form .form-status { padding: 12px 14px; font-size: 14px; margin-bottom: 18px; border-inline-start: 3px solid; }
.kistas-demo-form .form-status--ok { background: #eaf7ee; color: #14532d; border-color: #16a34a; }
.kistas-demo-form .form-status--error { background: #fff1e6; color: #7c2d12; border-color: var(--coral-ink); }

.kistas-ba { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.kistas-ba-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.kistas-ba-head h2 { margin-bottom: 12px; }
.kistas-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-card { border-radius: 8px; padding: 32px; border: 1px solid var(--rule); }
.ba-card h3 { font-size: 20px; margin-bottom: 20px; color: var(--ink); }
.ba-card ul { list-style: none; display: grid; gap: 16px; }
.ba-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ba-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.ba-card strong { color: var(--ink); }
.ba-before { background: #fdf0ee; border-color: #f6cfca; }
.ba-before .ba-mark { background: var(--coral-ink); }
.ba-after { background: #eaf6fd; border-color: #bfe3f6; }
.ba-after .ba-mark { background: var(--cyan-ink); }

.kistas-cta-card { background: var(--ink); color: #d8dde3; border-radius: 12px; padding: 56px 32px; text-align: center; }
.kistas-cta-card h2 { color: #fff; margin-bottom: 12px; }
.kistas-cta-card p { max-width: 640px; margin: 0 auto 28px; }
.kistas-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-warm { background: var(--amber); color: var(--ink); }
.btn-warm:hover { background: #fff; }

@media (max-width: 960px) {
  .hero-kistas { padding: 48px 0; }
  .hero-kistas-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-strip { grid-template-columns: 1fr; gap: 18px; }
  .hero-kistas-card .kistas-demo-form { padding: 24px; }
  .kistas-ba-grid { grid-template-columns: 1fr; }
  .kistas-cta-card { padding: 40px 20px; }
}
.kistas-demo-form .form-status:empty { display: none; }

/* Titres de sections ajoutées (avant/après, FAQ) : même style que les en-têtes de section */
.kistas-ba-head h2, .faq-title {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
}
[dir="rtl"] .kistas-ba-head h2, [dir="rtl"] .faq-title { letter-spacing: 0; line-height: 1.45; }
.kistas-cta-card h2 {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; color: #fff;
}
[dir="rtl"] .kistas-cta-card h2 { letter-spacing: 0; line-height: 1.45; }

/* ==========================================================================
   Boutons flottants : WhatsApp (toujours visible) et retour en haut
   ========================================================================== */
.fab-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
[dir="rtl"] .fab-stack { right: auto; left: 20px; align-items: flex-start; }
.fab {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 15, 20, .22), 0 2px 6px rgba(11, 15, 20, .12);
  transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease, visibility .25s;
}
.fab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.fab-wa {
  height: 58px; min-width: 58px; padding: 0 15px; gap: 0; border-radius: 29px;
  background: linear-gradient(145deg, #2fe07a 0%, #25d366 45%, #128c7e 100%); color: #fff;
}
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 140, 126, .38); gap: 10px; }
.fab-wa:hover .fab-label { max-width: 120px; opacity: 1; }
.fab-label {
  max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font: 600 15px/1 var(--f-head); transition: max-width .25s ease, opacity .2s ease;
}
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: fab-pulse 2.6s ease-out 1.5s 3;
  pointer-events: none;
}
.fab-wa { position: relative; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.fab-top {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--rule-strong);
  opacity: 0; visibility: hidden; transform: translateY(8px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { background: var(--paper-2); transform: translateY(-2px); }
@media (max-width: 600px) {
  .fab-stack { right: 14px; bottom: 14px; }
  [dir="rtl"] .fab-stack { left: 14px; }
  .fab-wa { height: 54px; min-width: 54px; padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab, .fab-label { transition: none; }
  .fab-wa::before { animation: none; }
}
@media print { .fab-stack { display: none; } }

/* ==========================================================================
   Formulaires : messages d'état et confirmation d'envoi
   ========================================================================== */
.form-status { padding: 12px 14px; font-size: 14px; margin: 0 0 16px; border-inline-start: 3px solid; border-radius: 4px; }
.form-status:empty { display: none; }
.form-status--ok { background: #eaf7ee; color: #14532d; border-color: #16a34a; }
.form-status--error { background: #fff1e6; color: #7c2d12; border-color: var(--coral-ink); }
form.is-sent > :not(.form-sent) { display: none !important; }
.form-sent { display: none; }
form.is-sent .form-sent {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 32px 20px; border-radius: 10px; background: #eaf7ee; color: #14532d;
  border: 1px solid #b7e4c7; animation: form-sent-in .35s ease-out;
}
.form-sent:focus { outline: none; }
.form-sent-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; background: #16a34a; color: #fff;
  box-shadow: 0 8px 22px rgba(22, 163, 74, .35);
}
.form-sent-title { font: 700 20px/1.3 var(--f-head); color: #0f3d22; }
.form-sent-text { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.55; }
.form-sent .form-sent-again { margin-top: 6px; color: #14532d; border-color: #16a34a; }
@keyframes form-sent-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { form.is-sent .form-sent { animation: none; } }
