@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/nunito-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/nunito-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/nunito-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:800;src:url(/assets/fonts/nunito-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:900;src:url(/assets/fonts/nunito-latin-900-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/nunito-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/nunito-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/nunito-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/nunito-sans-latin-700-normal.woff2) format('woff2')}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Agent brand colors */
  --pythagore: #1447C0;
  --clio:      #7B1230;
  --greta:     #14532D;
  --arthur:    #4C1D95;
  --atlas:     #0891B2;
  --darwin:    #7C3F0E;
  --minerve:   #9B2F1B;
  --cyber:     #0F2255;
  --henri:     #1E40AF;

  /* UI palette */
  --bg:        #F8F7FF;
  --surface:   #FFFFFF;
  --border:    #E5E2F5;
  --text:      #1A1A2E;
  --muted:     #6B7280;
  --success:   #059669;
  --warning:   #D97706;
  --danger:    #DC2626;

  /* Header backgrounds — one indigo anchor, three moods */
  --hdr-pub: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);   /* Public : marque */
  --hdr-enf: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);   /* Enfant : ludique */
  --hdr-par: linear-gradient(135deg, #1E1B4B 0%, #3730A3 100%);   /* Parent : sobre */
  --hdr-text: #FFFFFF;
  --hdr-muted: rgba(255,255,255,0.78);

  /* Canvas */
  --canvas-bg: #ECEAF5;
}

/* ============================================================
   CANVAS LAYOUT
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--canvas-bg);
  color: var(--text);
  min-height: 100vh;
}

.canvas-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1A1A2E;
  color: white;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

.canvas-header .logo {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.canvas-header nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all .15s;
}
.canvas-header nav a:hover,
.canvas-header nav a.active {
  background: rgba(255,255,255,0.12);
  color: white;
}

.canvas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, max-content));
  gap: 48px;
  padding: 48px;
  justify-content: start;
}

/* Row labels */
.canvas-row {
  display: contents;
}

.screen-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
}

/* ============================================================
   ARTBOARD BASE
   ============================================================ */
.artboard {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
}

.artboard-mobile {
  width: 390px;
  height: 844px;
  overflow: hidden;
}

.artboard-desktop {
  width: 1200px;
  height: 900px;
  overflow: hidden;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Agent avatar circle */
.agent-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
}
.agent-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
}
.badge-success { background:#D1FAE5; color:#065F46; }
.badge-warning { background:#FEF3C7; color:#92400E; }
.badge-info    { background:#DBEAFE; color:#1E40AF; }
.badge-muted   { background:#F3F4F6; color:#6B7280; }

/* Bottom nav (mobile) */
.bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  padding-bottom: 8px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.bottom-nav-item.active { color: #6366F1; }
.bnav-icon { font-size: 20px; line-height: 1; }

/* Chat bubble */
.bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble-agent {
  background: #F0EFFF;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble-user {
  background: #6366F1;
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* ============================================================
   SCREEN 1 — SYSTÈME GRAPHIQUE
   ============================================================ */
#sys {
  background: #FAFAFA;
}
.sys-header {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2B55 100%);
  padding: 32px 40px 28px;
  color: white;
}
.sys-logo {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #818CF8, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.sys-tagline {
  font-size: 14px;
  opacity: 0.7;
  font-family: var(--font-body);
}
.sys-body {
  padding: 32px 40px;
  overflow-y: auto;
  height: calc(900px - 108px);
}
.sys-section { margin-bottom: 32px; }
.sys-section h3 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

/* Agent cards grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.agent-card-sys {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.agent-card-sys .badge-color {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  font-weight: 900;
  font-family: var(--font-head);
  overflow: hidden;
}
.agent-card-sys img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.agent-card-sys .agent-name {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  text-align: center;
  color: var(--text);
}
.agent-card-sys .agent-subj {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

/* Color palette */
.palette-row { display: flex; gap: 8px; flex-wrap: wrap; }
.color-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px;
}
.color-swatch {
  width: 20px; height: 20px;
  border-radius: 4px;
}

/* Typography row */
.typo-row { display: flex; gap: 32px; }
.typo-sample { flex: 1; }
.typo-heading {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}
.typo-body-sample {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Components row */
.comp-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.comp-block { display: flex; flex-direction: column; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: #6366F1; color: white; }
.btn-secondary { background: #F0EFFF; color: #6366F1; border: 1.5px solid #C7D2FE; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }

/* ============================================================
   SCREEN 2 — ENF-03 ACCUEIL ENFANT
   ============================================================ */
.enf03-header {
  padding: 52px 20px 20px;
  background: linear-gradient(180deg, #F0EFFF 0%, transparent 100%);
}
.enf03-greeting {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}
.enf03-date {
  font-size: 13px;
  color: var(--muted);
}
.enf03-input-section {
  padding: 0 20px;
  margin-top: 20px;
}
.enf03-input-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.enf03-input-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.input-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.input-card:hover { border-color: #818CF8; }
.input-card-icon { font-size: 28px; }
.input-card-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}
.input-card-sub {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.enf03-suggestion {
  margin: 16px 20px 0;
  background: linear-gradient(135deg, #EFF6FF, #F0EFFF);
  border: 1.5px solid #C7D2FE;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.enf03-suggestion-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}
.enf03-suggestion-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.enf03-exam-alert {
  margin: 12px 20px 0;
  background: #FFF8F0;
  border: 1.5px solid #FED7AA;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.enf03-exam-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}
.enf03-exam-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--darwin);
  display: block;
  margin-bottom: 2px;
}

.enf03-recent {
  padding: 16px 20px 0;
}
.enf03-recent-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.enf03-agents-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.enf03-agent-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.enf03-agent-chip .name {
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================
   SCREEN 3 — ENF-04 AGENT PICKER
   ============================================================ */
.enf04-header {
  padding: 52px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.enf04-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
}
.enf04-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.enf04-search {
  margin: 12px 20px 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero cards */
.enf04-hero {
  padding: 16px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-card {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.hero-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  overflow: hidden;
}
.hero-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-card-info {
  padding: 10px 12px;
}
.hero-card-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  color: white;
}
.hero-card-subj {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 1px;
}

/* Agent list rows */
.enf04-list {
  padding: 12px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-row {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.agent-row:hover { border-color: #818CF8; }
.agent-row-info { flex: 1; }
.agent-row-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}
.agent-row-subj {
  font-size: 12px;
  color: var(--muted);
}
.agent-row-arrow { color: var(--muted); font-size: 18px; }

/* ============================================================
   SCREEN 4 — ENF-05 CONVERSATION
   ============================================================ */
.enf05-header {
  padding: 44px 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.enf05-header .back { font-size: 22px; cursor: pointer; opacity: 0.8; }
.enf05-header-info { flex: 1; }
.enf05-header-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
}
.enf05-header-subj {
  font-size: 12px;
  opacity: 0.8;
}
.enf05-header-menu { font-size: 22px; opacity: 0.8; }

.enf05-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  height: calc(844px - 56px - 130px - 72px);
  overflow-y: auto;
}

.hint-bar {
  background: #FFFBEB;
  border-top: 1px solid #FDE68A;
  padding: 8px 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #92400E;
}
.hint-toggle {
  background: #F59E0B;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.enf05-input-bar {
  position: absolute;
  bottom: 72px; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.enf05-text-input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-body);
}
.enf05-btn-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.enf05-btn-send {
  background: #6366F1;
  color: white;
}
.enf05-btn-voice {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--muted);
}
.enf05-btn-photo {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--muted);
}

.thinking-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #818CF8;
  animation: bounce 1.2s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* ============================================================
   SCREEN 5 — PUB-01 LANDING PAGE
   ============================================================ */
.pub01 {
  font-family: var(--font-body);
  overflow-y: auto;
  height: 900px;
}

.pub-nav {
  background: white;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.pub-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pub-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.pub-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.pub-nav-cta {
  display: flex;
  gap: 12px;
}
.pub-cta-secondary {
  padding: 8px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.pub-cta-primary {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  background: #6366F1;
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.pub-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2B55 60%, #1A1A2E 100%);
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  min-height: 340px;
}
.pub-hero-text { flex: 1; color: white; }
.pub-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #818CF8;
  margin-bottom: 12px;
}
.pub-hero-h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.pub-hero-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}
.pub-hero-btns { display: flex; gap: 12px; }
.pub-hero-btn-main {
  padding: 12px 24px;
  background: #6366F1;
  color: white;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.pub-hero-btn-sec {
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* Chat preview cards */
.pub-hero-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
}
.chat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px;
}
.chat-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.chat-card-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: 900;
  font-family: var(--font-head);
  overflow: hidden;
}
.chat-card-avatar img { width:100%; height:100%; object-fit:cover; }
.chat-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: white;
}
.chat-card-bubble {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.chat-card-reply {
  background: rgba(99,102,241,0.4);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-top: 6px;
  text-align: right;
}

/* Agents carousel section */
.pub-agents-section {
  padding: 32px 48px;
  background: var(--surface);
}
.pub-section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}
.pub-section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.pub-carousel-container {
  position: relative;
}
.pub-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.pub-carousel::-webkit-scrollbar { display: none; }

.pub-agent-card {
  flex: 0 0 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pub-agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.pub-agent-card-top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pub-agent-card-top img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.pub-agent-card-top .initials {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  color: white;
}
.pub-agent-card-bottom {
  padding: 8px;
  text-align: center;
}
.pub-agent-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
}
.pub-agent-card-subj {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.carousel-prev { left: -16px; }
.carousel-next { right: -16px; }

/* How it works */
.pub-how {
  padding: 32px 48px;
  background: var(--bg);
}
.pub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.pub-step {
  background: white;
  border-radius: 14px;
  padding: 20px;
  border: 1.5px solid var(--border);
}
.pub-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #F0EFFF;
  color: #6366F1;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pub-step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.pub-step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Pricing */
.pub-pricing {
  padding: 32px 48px;
}
.pub-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  max-width: 640px;
}
.pub-plan {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.pub-plan.featured {
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}
.pub-plan-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 4px;
}
.pub-plan-price {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: #6366F1;
  margin-bottom: 2px;
}
.pub-plan-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.pub-plan-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.pub-plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 6px;
}
.pub-plan-feature .check { color: var(--success); font-size: 14px; }
.pub-plan-cta {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  margin-top: 16px;
  cursor: pointer;
  border: none;
}
.pub-plan.featured .pub-plan-cta { background: #6366F1; color: white; }
.pub-plan:not(.featured) .pub-plan-cta { background: var(--bg); border: 1.5px solid var(--border); color: var(--text); }

/* ============================================================
   SCREEN 6 — PAR-04 DASHBOARD PARENT
   ============================================================ */
.par04 {
  background: var(--bg);
  overflow-y: auto;
  height: 844px;
}
.par04-header {
  background: white;
  padding: 48px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.par04-greeting {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
}
.par04-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* KPI strip */
.par04-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
}
.kpi-cell {
  text-align: center;
  padding: 8px 0;
}
.kpi-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #6366F1;
}
.kpi-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Child tabs */
.par04-tabs {
  display: flex;
  padding: 12px 20px 0;
  gap: 8px;
}
.child-tab {
  padding: 8px 20px;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-bottom: none;
  background: var(--surface);
  color: var(--muted);
}
.child-tab.active {
  background: white;
  color: var(--text);
  border-color: var(--border);
}

/* Child card */
.par04-child-card {
  margin: 0 20px;
  background: white;
  border-radius: 0 16px 16px 16px;
  border: 1.5px solid var(--border);
  padding: 16px;
}
.par04-child-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.par04-child-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #E0E7FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.par04-child-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
}
.par04-child-meta {
  font-size: 12px;
  color: var(--muted);
}
.par04-child-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.child-stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.child-stat-val {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
}
.child-stat-lbl {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Agents used */
.par04-agents-used {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.agent-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  font-family: var(--font-head);
}
.agent-chip img {
  width: 16px; height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* Exam alert */
.par04-exam-banner {
  background: #FFF8F0;
  border: 1.5px solid #FED7AA;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.par04-exam-banner strong {
  font-family: var(--font-head);
  font-weight: 700;
}

/* Notions */
.par04-notions {
  padding: 16px 20px 0;
}
.par04-notions-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.notion-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.notion-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.notion-text { flex: 1; font-size: 13px; }
.notion-agent { font-size: 11px; color: var(--muted); }

/* Quick actions */
.par04-actions {
  padding: 16px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.action-btn {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 700;
}

/* ============================================================
   SCREEN 7 — PAR-06 HISTORIQUE
   ============================================================ */
.par06 {
  background: var(--bg);
  overflow-y: auto;
  height: 844px;
}
.par06-header {
  background: white;
  padding: 48px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.par06-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
}
.par06-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Agent filter pills */
.par06-filters {
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: white;
  border-bottom: 1px solid var(--border);
}
.par06-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
}
.filter-pill.active {
  background: #6366F1;
  color: white;
  border-color: #6366F1;
}

/* Conversation rows */
.par06-list {
  padding: 16px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.convo-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.convo-row-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.convo-agent-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  font-weight: 900;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.convo-agent-avatar img { width:100%; height:100%; object-fit:cover; }
.convo-info { flex: 1; }
.convo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
}
.convo-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.convo-chevron { color: var(--muted); font-size: 16px; }

/* Expanded row */
.convo-expanded {
  border-top: 1px solid var(--border);
  padding: 12px 14px;
  background: #FAFAFA;
}
.convo-notions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.notion-pill {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  border: 1.5px solid;
}
.convo-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 10px;
  border-left: 3px solid var(--border);
  padding-left: 10px;
}
.convo-actions {
  display: flex;
  gap: 8px;
}
.convo-action-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
}

/* Transparency notice */
.par06-notice {
  margin: 0 20px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11px;
  color: #1E40AF;
  line-height: 1.5;
  display: flex;
  gap: 6px;
}

/* ============================================================
   PUB-01 CAROUSEL — portrait vignette, 7 columns (see track rules)
   ============================================================ */
.pub-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}
.pub-carousel::-webkit-scrollbar { display: none; }

/* Portrait vignette card — 8 visible columns */
.pub-vignette {
  flex: 0 0 calc((100% - 7*12px) / 8);
  min-width: 100px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}
.pub-vignette:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}
.pub-vignette-top {
  padding: 16px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pub-vignette-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pub-vignette-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.pub-vignette-avatar .initials {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  color: white;
}
.pub-vignette-bottom {
  padding: 0 8px 12px;
}
.pub-vignette-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--text);
}
.pub-vignette-subj {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}
.pub-vignette-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  color: white;
  opacity: 0.9;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.cdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cdot.active {
  background: #6366F1;
  transform: scale(1.3);
}

/* ============================================================
   PUB-02 — Agent switcher bar
   ============================================================ */
.pub02-switcher {
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.pub02-switcher::-webkit-scrollbar { display: none; }
.pub02-switcher-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pub02-sw-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 6px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .15s, background .15s, color .15s;
  text-decoration: none;
}
.pub02-sw-btn:hover { border-color: #a5b4fc; background: #F5F3FF; }
.pub02-sw-btn.active {
  border-color: var(--agent-color, #6366F1);
  background: var(--agent-color, #6366F1);
  color: white;
}
.pub02-sw-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: white;
}
.pub02-sw-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* PUB-01 vignette click feedback */
.pub-vignette { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pub-vignette:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.pub-vignette.active { border-color: var(--agent-border, #6366F1); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }

/* ============================================================
   PUB-02 — Agent detail page
   ============================================================ */
.pub02 {
  overflow-y: auto;
  height: 900px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

/* Agent hero section */
.pub02-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 420px;
  overflow: hidden;
}
.pub02-hero-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}
.pub02-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.pub02-hero-name {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.pub02-hero-subj {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 24px;
}
.pub02-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 32px;
}
.pub02-hero-cta {
  display: flex;
  gap: 12px;
}
.pub02-cta-main {
  padding: 14px 28px;
  background: white;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.pub02-cta-sec {
  padding: 14px 28px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: white;
  cursor: pointer;
}
.pub02-hero-img {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.pub02-hero-img img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

/* Subjects/skills strip */
.pub02-skills {
  background: white;
  padding: 24px 48px;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.pub02-skill-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
}
.pub02-skill-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: white;
}

/* Main content */
.pub02-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: calc(900px - 420px - 64px - 60px);
}
.pub02-main {
  padding: 32px 48px;
  border-right: 1px solid var(--border);
}
.pub02-sidebar {
  padding: 32px 32px;
  background: var(--bg);
}

.pub02-section-h {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}

/* Demo chat */
.pub02-demo-chat {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.pub02-chat-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pub02-chat-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: white;
}
.pub02-chat-status {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}
.pub02-chat-msgs {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

/* What it covers */
.pub02-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}
.pub02-topic {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pub02-topic-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stats sidebar */
.pub02-feat { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.pub02-feat-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.pub02-feat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 14.5px; color: var(--text); margin: 1px 0 3px; }
.pub02-feat > div > span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pub02-feat b span { margin-left: 4px; }
.pub02-stat-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.pub02-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}
.pub02-stat-lbl {
  font-size: 13px;
  color: var(--muted);
}

/* Other agents row */
.pub02-other-agents {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pub02-other-chip {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  border: 1.5px solid var(--border);
  cursor: pointer;
}
.pub02-other-chip img {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
}


/* ============================================================
   PRICING SECTION (PUB-01 teaser + PUB-03 full)
   ============================================================ */

/* Toggle mensuel/annuel */
.price-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.price-toggle-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-toggle-label.active { color: var(--text); }
.price-toggle {
  position: relative;
  width: 48px; height: 26px;
  background: #6366F1;
  border-radius: 13px;
  cursor: pointer;
  border: none;
  transition: background .2s;
  flex-shrink: 0;
}
.price-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform .2s;
}
.price-toggle.annual::after { transform: translateX(22px); }
.price-save-badge {
  display: inline-flex;
  align-items: center;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Pricing cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pricing-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.price-card.featured {
  border-color: #6366F1;
  background: linear-gradient(135deg, #F5F3FF 0%, #EEF2FF 100%);
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .3px;
}

.price-tier {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}
.price-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
}
.price-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price-currency { font-size: 16px; font-weight: 700; color: var(--muted); }
.price-value {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}
.price-period { font-size: 13px; color: var(--muted); }
.price-annual-note {
  font-size: 11px;
  color: #15803D;
  font-weight: 600;
  margin-bottom: 4px;
  min-height: 16px;
}
.price-saving {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 18px;
  min-height: 20px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.price-features li::before {
  content: '✓';
  color: #059669;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li.extra::before { content: '★'; color: #6366F1; }

.price-cta {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
}
.price-cta:hover { opacity: 0.88; transform: scale(0.98); }
.price-cta.primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
}
.price-cta.secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

/* PUB-01 pricing teaser section */
.pub-pricing-section {
  padding: 48px 48px 56px;
  background: var(--bg);
}
.pub-pricing-section .pub-section-title { text-align: center; }
.pub-pricing-section .pub-section-sub { text-align: center; margin-bottom: 28px; }

/* PUB-03 full pricing page */
.pub03 {
  overflow-y: auto;
  height: 900px;
  background: var(--bg);
  border-radius: 28px;
}
.pub03-header {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2B55 100%);
  padding: 48px 56px 56px;
  text-align: center;
  color: white;
}
.pub03-header h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.pub03-header p {
  font-size: 16px;
  opacity: 0.75;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.pub03-body {
  padding: 0 48px 56px;
  margin-top: -28px;
}
.pub03-school-banner {
  background: linear-gradient(135deg, #1447C0, #4C1D95);
  border-radius: 20px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0;
  color: white;
}
.pub03-school-text h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}
.pub03-school-text p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}
.pub03-school-btn {
  background: white;
  color: #1447C0;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* FAQ */
.pub03-faq { margin-top: 36px; }
.pub03-faq h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
}
.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 10px;
}
.faq-q {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.faq-a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}


/* ============================================================
   RESPONSIVE — toutes les artboards fluides
   ============================================================ */

/* Canvas : grille fluide au lieu de fixed */
.canvas {
  grid-template-columns: 1fr;
  padding: 16px;
  gap: 32px;
}
@media (min-width: 900px) {
  .canvas {
    grid-template-columns: repeat(auto-fit, minmax(360px, max-content));
    padding: 48px;
    gap: 48px;
  }
}

/* Artboards : sortir des boîtes fixes */
.artboard-desktop {
  width: 100%;
  max-width: 1200px;
  height: auto;
  min-height: 0;
  overflow: visible;
}
.artboard-mobile {
  width: 100%;
  max-width: 430px;
  height: auto;
  min-height: 0;
  overflow: visible;
  margin: 0 auto;
}

/* ── PUB-01 nav ── */
.pub-nav {
  height: auto;
  padding: 0 16px;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 56px;
}
.pub-nav-links { display: none; }
@container (min-width: 768px) {
  .pub-nav { padding: 0 48px; height: 64px; flex-wrap: nowrap; }
  .pub-nav-links { display: flex; }
}

/* ── PUB-01 hero ── */
.pub-hero {
  flex-direction: column;
  padding: 32px 16px 24px;
  gap: 24px;
  text-align: center;
}
.pub-hero-text { max-width: 100%; }
.pub-hero h1 { font-size: clamp(28px, 6cqw, 64px); }
.pub-hero-preview { width: 100%; }
@container (min-width: 768px) {
  .pub-hero {
    flex-direction: row;
    padding: 60px 64px;
    text-align: left;
  }
  .pub-hero h1 { font-size: clamp(40px, 4cqw, 64px); }
  .pub-hero-preview { width: 320px; flex-shrink: 0; }
}

/* ── PUB-01 sections ── */
.pub01 { height: auto; overflow: visible; }
.pub-section { padding: 32px 16px; }
@container (min-width: 768px) { .pub-section { padding: 60px 64px; } }

/* Carousel vignettes */
.pub-vignette { min-width: 90px; }

/* Steps grid */
.pub-steps { flex-direction: column; gap: 16px; }
@container (min-width: 600px) { .pub-steps { flex-direction: row; } }

/* Plans grid */
.pub-plans { grid-template-columns: 1fr; }
@container (min-width: 600px) { .pub-plans { grid-template-columns: 1fr 1fr; } }

/* ── PUB-02 hero ── */
.pub02 { height: auto; overflow: visible; }
.pub02-hero {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-bottom: 0;
}
.pub02-hero-text {
  padding: 28px 16px 20px;
  order: 2;
}
.pub02-hero-name { font-size: clamp(32px, 7cqw, 52px); }
.pub02-hero-img {
  order: 1;
  max-height: 280px;
  overflow: hidden;
  justify-content: center;
}
@container (min-width: 768px) {
  .pub02-hero {
    grid-template-columns: 1fr 380px;
    min-height: 420px;
  }
  .pub02-hero-text { padding: 48px; order: 1; }
  .pub02-hero-img { order: 2; max-height: none; }
  .pub02-hero-name { font-size: 52px; }
}

/* ── PUB-02 body ── */
.pub02-body {
  grid-template-columns: 1fr;
}
.pub02-sidebar {
  border-left: none;
  border-top: 1.5px solid var(--border);
}
@container (min-width: 900px) {
  .pub02-body { grid-template-columns: 1fr 340px; }
  .pub02-sidebar { border-left: 1.5px solid var(--border); border-top: none; }
}

.pub02-main { padding: 24px 16px; }
@container (min-width: 768px) { .pub02-main { padding: 32px 40px; } }

.pub02-sidebar { padding: 24px 16px; }
@container (min-width: 768px) { .pub02-sidebar { padding: 24px; } }

/* PUB-02 skills + topics */
.pub02-skills { flex-wrap: wrap; }
#pub02-topics { grid-template-columns: repeat(2, 1fr); }
@container (min-width: 600px) { #pub02-topics { grid-template-columns: repeat(3, 1fr); } }

/* ── PUB-02 SEO content ── */
.pub02-seo {
  padding: 56px 24px 64px;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1.5px solid var(--border);
}
@container (min-width: 768px) { .pub02-seo { padding: 72px 40px 80px; } }

.pub02-seo h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 12px;
  line-height: 1.25;
}
.pub02-seo h2:first-child { margin-top: 0; }
@container (min-width: 768px) { .pub02-seo h2 { font-size: 26px; } }

.pub02-seo h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 10px;
  letter-spacing: -.01em;
}
.pub02-seo p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 12px;
}
.pub02-seo strong { color: var(--text); font-weight: 700; }

/* Canton grid */
.pub02-seo-cantons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@container (min-width: 600px) { .pub02-seo-cantons { grid-template-columns: repeat(3, 1fr); } }

.pub02-seo-canton {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.pub02-seo-canton:hover { border-color: #A5B4FC; box-shadow: 0 2px 12px rgba(99,102,241,.1); }
.pub02-seo-canton-flag {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.pub02-seo-canton-info { min-width: 0; }
.pub02-seo-canton-name { font-size: 13px; font-weight: 700; color: var(--text); }
.pub02-seo-canton-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ── PUB-03 tarifs ── */
.pricing-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
@container (min-width: 600px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@container (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.pub03 { height: auto; overflow: visible; }
.pub03-body { padding: 24px 16px; }
@container (min-width: 768px) { .pub03-body { padding: 40px 64px; } }

/* ── MOBILE screens (ENF + PAR) : fluides sur desktop ── */
.par04, .par06 {
  height: auto;
  overflow: visible;
  min-height: 0;
}

/* ENF inner screens */
.enf03-header, .enf04-header, .enf05-header, .par04-header, .par06-header {
  flex-shrink: 0;
}
/* Conversation messages: expand instead of fixed height */
.enf05-messages {
  max-height: 60vh;
  overflow-y: auto;
}

/* Mobile bottom nav: sticky at bottom of its container */
.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* ENF04 list: no fixed height clipping */
.enf04-list { max-height: none; overflow: visible; }

/* PAR04 sections: wrap on mobile */
.par04-child-stats { flex-wrap: wrap; gap: 8px; }
.par04-kpi-strip { flex-wrap: wrap; }
.par04-tabs { overflow-x: auto; }

/* PAR06 filters */
.par06-filters { flex-wrap: wrap; gap: 8px; }

/* ── Screen wrappers : full width on small screens ── */
.screen-wrapper { width: 100%; }
@media (min-width: 900px) { .screen-wrapper { width: auto; } }

/* pub01/02/03 spans full on small screens */
#pub01, #pub02, #pub03 { grid-column: span 1 !important; }
@media (min-width: 1200px) {
  #pub01 { grid-column: span 3 !important; }
  #pub02 { grid-column: span 4 !important; }
  #pub03 { grid-column: span 3 !important; }
}

/* Canvas header responsive */
.canvas-header { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
.canvas-header .canvas-nav { flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .canvas-header { flex-wrap: nowrap; padding: 10px 24px; } }

/* Artboard label */
.screen-label { font-size: 11px; }

/* Pub-hero responsive text sizes */
.pub-hero-eyebrow { font-size: clamp(10px, 2cqw, 13px); }
.pub-hero-sub { font-size: clamp(14px, 2.5cqw, 18px); }

/* pub02-switcher compact on mobile */
.pub02-switcher { padding: 8px 12px; gap: 4px; }
@container (min-width: 768px) { .pub02-switcher { padding: 10px 32px; gap: 6px; } }
.pub02-switcher-label { display: none; }
@container (min-width: 480px) { .pub02-switcher-label { display: block; } }
/* sélecteur défilant (mobile / tablette) : fondu sur les bords pour montrer qu’il y a d’autres tuteurs */
@container (max-width: 1100px) { .pub02-switcher { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%); padding-right: 36px; } }

/* PUB-01 FAQ */
.pub-faq-section { padding: 32px 16px; background: var(--bg); }
@container (min-width: 768px) { .pub-faq-section { padding: 60px 64px; } }
.pub-faq-section .pub-section-title, .pub-faq-section .pub-section-sub { text-align: center; }
.pub-faq-list { max-width: 760px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 10px; }
.pub-faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 0 20px; transition: border-color .15s; }
.pub-faq-item[open] { border-color: #A5B4FC; }
.pub-faq-item summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; font-family: var(--font-head); font-weight: 800; font-size: 15px; position: relative; }
.pub-faq-item summary::-webkit-details-marker { display: none; }
.pub-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 20px; color: #6366F1; font-weight: 700; transition: transform .2s; }
.pub-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pub-faq-item p { font-size: 14px; color: var(--muted); line-height: 1.6; padding-bottom: 16px; }
.pub-faq-more { color: #6366F1; font-weight: 700; font-size: 14px; text-decoration: none; }
.pub-faq-more:hover { text-decoration: underline; }

/* ── PUB footer ── */
.pub-footer {
  background: #0F0A1E;
  color: #CBD5E1;
  padding: 56px 32px 28px;
  margin-top: 0;
}
.pub-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px 28px;
}
@container (max-width: 1023px) {
  .pub-footer-inner { grid-template-columns: repeat(4, 1fr); }
  .pub-footer-brand { grid-column: 1 / -1; }
}
@container (max-width: 767px) {
  .pub-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .pub-footer-brand { grid-column: 1 / -1; }
}
@container (max-width: 479px) {
  .pub-footer-inner { grid-template-columns: 1fr; }
}
.pub-footer-brand-logo { height: 28px; width: auto; display: block; margin-bottom: 12px; filter: brightness(0) invert(1); }
.pub-footer-tagline { font-size: 13px; color: #94A3B8; line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
.pub-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-footer-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 600; color: #CBD5E1; letter-spacing: .02em;
}
.pub-footer-badge svg { flex-shrink: 0; }
.pub-footer-col-title {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #E2E8F0; margin-bottom: 14px;
}
.pub-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pub-footer-links a { font-size: 13.5px; color: #94A3B8; text-decoration: none; transition: color .15s; }
.pub-footer-links a:hover { color: #E2E8F0; }
.pub-footer-bottom {
  max-width: 1080px; margin: 40px auto 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.pub-footer-copy { font-size: 12px; color: #64748B; }
.pub-footer-legal-links { display: flex; gap: 16px; }
.pub-footer-legal-links a { font-size: 12px; color: #64748B; text-decoration: none; }
.pub-footer-legal-links a:hover { color: #94A3B8; }

/* PUB-01 carousel — 7 columns, infinite loop track */
.pub-carousel { overflow: hidden; scroll-behavior: auto; padding: 8px 4px 12px; }
.pub-carousel-track { display: flex; gap: 12px; width: 100%; will-change: transform; }
.pub-carousel-track .pub-vignette { flex: 0 0 calc((100% - 6 * 12px) / 7); min-width: 0; }
@container (max-width: 900px) { .pub-carousel-track .pub-vignette { flex-basis: calc((100% - 4 * 12px) / 5); } }
@container (max-width: 600px) { .pub-carousel-track .pub-vignette { flex-basis: calc((100% - 2 * 12px) / 3); } }
.pub-carousel-track .pub-vignette-avatar { width: 72px; height: 72px; }
@container (max-width: 600px) { .pub-carousel-track .pub-vignette-avatar { width: 56px; height: 56px; } }

/* ENF-04 — recommended tutor + full list */
.enf04-reco { margin: 16px 20px 0; border-radius: 20px; display: flex; align-items: stretch; overflow: hidden; color: #fff; min-height: 168px; position: relative; }
.enf04-reco-text { flex: 1; padding: 16px 0 16px 18px; display: flex; flex-direction: column; align-items: flex-start; z-index: 1; }
.enf04-reco-label { font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 999px; }
.enf04-reco-name { font-family: var(--font-head); font-size: 26px; font-weight: 900; margin-top: 8px; line-height: 1; }
.enf04-reco-subj { font-size: 13px; opacity: .85; margin-top: 2px; }
.enf04-reco-why { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: 10px; opacity: .95; }
.enf04-reco-cta { margin-top: auto; padding: 8px 14px; border: 0; border-radius: 10px; background: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; }
.enf04-reco-img { width: 140px; flex-shrink: 0; display: flex; align-items: flex-end; justify-content: center; }
.enf04-reco-img img { width: 150px; height: auto; display: block; margin-bottom: -4px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.enf04-list-title { padding: 18px 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.enf04-list { padding: 10px 20px 96px; }
.agent-row-arrow { display: flex; align-items: center; }
.agent-row.is-selected { border-color: var(--row-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--row-color) 18%, transparent); background: color-mix(in srgb, var(--row-color) 6%, #fff); }
.agent-row.is-selected .agent-row-arrow { color: var(--row-color); }
.agent-row-tag { margin-left: 8px; font-size: 10px; font-weight: 800; color: #fff; background: var(--row-color); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.enf04-search svg { flex-shrink: 0; }

/* Mobile bottom nav — line icons */
.bnav-icon { width: 44px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 0; transition: background .15s; }
.bottom-nav-item { font-size: 11px; gap: 2px; }
.bottom-nav-item.active { color: #4F46E5; font-weight: 800; }
.bottom-nav-item.active .bnav-icon { background: #EEF2FF; }

/* ENF-04 dynamic card */
.enf04-reco { transition: background-color .25s; }
.enf04-reco-img img { transition: opacity .2s; }
.enf04-reco-why svg { flex-shrink: 0; }
.enf04-reco-cta { white-space: nowrap; font-size: 12px; padding: 8px 12px; }
.agent-row { transition: border-color .15s, box-shadow .15s, background .15s; }
.agent-row.is-active { border-color: var(--row-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--row-color) 18%, transparent); background: color-mix(in srgb, var(--row-color) 6%, #fff); }
.agent-row.is-active .agent-row-arrow { color: var(--row-color); }
.scenario-toggle { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6B7280; font-weight: 600; }
.scenario-toggle button { border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-weight: 700; color: #6B7280; cursor: pointer; }
.scenario-toggle button.active { background: #1A1A2E; border-color: #1A1A2E; color: #fff; }

/* ── Header backgrounds (PUB / ENF / PAR) ── */
.hdr-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
@container (max-width: 900px) { .hdr-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.hdr-demo { color: #fff; padding: 8px 14px 16px; border-radius: 14px; min-height: 104px; }
.hdr-demo-round { border-radius: 14px 14px 24px 24px; }
.hdr-demo-status { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; opacity: .85; margin-bottom: 12px; }
.hdr-demo-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.hdr-demo-logo { font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.hdr-demo-btn { background: #fff; color: #4F46E5; font-family: var(--font-head); font-weight: 800; font-size: 10px; padding: 5px 8px; border-radius: 8px; white-space: nowrap; }
.hdr-demo-row { gap: 8px; }
.hdr-demo-logo { font-size: 16px; }
.hdr-demo-title { font-family: var(--font-head); font-weight: 900; font-size: 16px; }
.hdr-demo-sub { font-size: 11px; color: var(--hdr-muted); margin-top: 2px; }
.hdr-spec-name { font-family: var(--font-head); font-weight: 800; font-size: 13px; margin-top: 10px; }
.hdr-spec-code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--muted); margin-top: 2px; }
.hdr-spec-use { font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.hdr-rule { margin-top: 14px; font-size: 12px; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: 10px; padding: 10px 12px; }

/* ENF headers */
.enf03-header, .enf04-header { background: var(--hdr-enf); color: var(--hdr-text); border-radius: 0 0 24px 24px; border-bottom: 0; }
.enf03-date, .enf04-sub { color: var(--hdr-muted); }
.enf04-header { padding-bottom: 44px; }
.enf04-search { position: relative; margin-top: -24px; background: #fff; box-shadow: 0 6px 18px rgba(30,27,75,.12); border-color: transparent; }
.enf03-input-section { margin-top: 20px; }

/* PAR headers */
.par04-header, .par06-header { background: var(--hdr-par); color: var(--hdr-text); border-bottom: 0; }
.par04-sub, .par06-sub { color: var(--hdr-muted); }

/* PUB nav on mobile */
@container (max-width: 767px) {
  .pub-nav { background: var(--hdr-pub); border-bottom: 0; }
  .pub-nav .pub-logo { background: none; -webkit-text-fill-color: #fff; color: #fff; }
  .pub-nav .pub-cta-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
  .pub-nav .pub-cta-primary { background: #fff; color: #4F46E5; }
}

/* ============================================================
   ENF — shared header, nav & new screens (ENF-03/06/07/08/09/10/13/14)
   ============================================================ */
.screen-note { font-size: 11px; color: #6B7280; margin-top: -6px; }
.enfx { background: #F8F7FF; display: flex; flex-direction: column; }
.enfx-hdr { background: var(--hdr-enf); color: #fff; padding: 46px 18px 18px; border-radius: 0 0 24px 24px; flex-shrink: 0; }
.enfx-hdr-row { display: flex; align-items: center; gap: 12px; }
.enfx-hdr-text { flex: 1; min-width: 0; }
.enfx-hdr-title { font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.15; }
.enfx-hdr-sub { font-size: 12.5px; color: var(--hdr-muted); margin-top: 3px; }
.enfx-actions { display: flex; gap: 6px; }
.enfx-icon-btn { position: relative; width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.enfx-icon-btn:hover { background: rgba(255,255,255,.28); }
.enfx-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; font-family: var(--font-head); }
.enfx-me { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: #EC4899; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 18px; cursor: pointer; flex-shrink: 0; }
.enfx-body { padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.enfx-h2 { font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.enfx-h3 { font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.enfx-label { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--text); margin-top: 4px; }
.enfx-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.enfx-card-flat { padding: 4px 14px; gap: 0; }
.enfx-card-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.enfx-card-head span { display: flex; align-items: center; gap: 8px; }
.enfx-link { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #DB2777; cursor: pointer; }
.enfx-btn { border: 0; border-radius: 12px; padding: 12px 16px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px; cursor: pointer; width: 100%; }
.enfx-btn-sm { border: 0; border-radius: 10px; padding: 7px 12px; background: #4F46E5; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; align-self: flex-start; }
.enfx-btn-white { border: 0; border-radius: 10px; padding: 8px 16px; background: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; margin-top: 10px; }
.enfx-btn-ghost { border: 1.5px solid var(--border); background: #fff; border-radius: 12px; padding: 12px 14px; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }

/* ENF-03 */
.enfx-inputs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.enfx-input { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer; }
.enfx-input.is-on { border-color: #F9A8D4; box-shadow: 0 0 0 3px #FCE7F3; }
.enfx-input-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.enfx-input b { font-family: var(--font-head); font-size: 13px; }
.enfx-input span { font-size: 10.5px; color: var(--muted); }
.enfx-exam { display: flex; gap: 12px; align-items: flex-start; }
.enfx-exam-sm { padding-top: 12px; border-top: 1px dashed var(--border); align-items: center; }
.enfx-exam-info { flex: 1; min-width: 0; }
.enfx-exam-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14px; }
.enfx-exam-subj { font-size: 12px; color: var(--muted); margin-top: 2px; }
.enfx-exam-plan { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.enfx-chip-hot { background: #FFEDD5; color: #C2410C; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; font-family: var(--font-head); }
.enfx-chip { background: #F3F4F6; color: #6B7280; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; font-family: var(--font-head); }
.enfx-progress { height: 7px; border-radius: 999px; background: #F1F0F7; margin-top: 8px; overflow: hidden; }
.enfx-progress i { display: block; height: 100%; border-radius: 999px; }
.enfx-tip { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg,#EEF2FF,#FDF2F8); border: 1.5px solid #E0E7FF; border-radius: 16px; padding: 12px 14px; }
.enfx-tip > div:nth-child(2) { flex: 1; font-size: 12.5px; line-height: 1.4; }
.enfx-tip b { display: block; font-family: var(--font-head); font-size: 13.5px; }
.enfx-tip .enfx-btn-sm { align-self: center; }
.enfx-recent { display: flex; gap: 14px; overflow-x: auto; }
.enfx-recent > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; }

/* ENF-08 */
.enfx-picks { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.enfx-pick { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 8px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.enfx-pick.on { border-color: var(--darwin); box-shadow: 0 0 0 3px rgba(124,63,14,.15); background: #FFF7ED; }
.enfx-seg { display: flex; background: #EEEDF7; border-radius: 12px; padding: 4px; gap: 4px; }
.enfx-seg span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.enfx-seg span.on { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.enfx-field { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.enfx-cal { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 12px; }
.enfx-cal-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.enfx-cal-head b { color: var(--text); }
.enfx-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; text-align: center; font-size: 12.5px; font-weight: 700; }
.enfx-cal-grid span { height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.enfx-cal-grid .enfx-cal-dow { height: 20px; font-size: 10.5px; color: var(--muted); }
.enfx-cal-grid .past { color: #C4C2D4; }
.enfx-cal-grid .plan { background: #FCE7F3; color: #BE185D; }
.enfx-cal-grid .today { box-shadow: inset 0 0 0 2px #6366F1; }
.enfx-cal-grid .sel { background: var(--darwin); color: #fff; }
.enfx-legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-top: -4px; }
.enfx-legend span { display: flex; align-items: center; gap: 5px; }
.enfx-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-today { box-shadow: inset 0 0 0 2px #6366F1; } .lg-plan { background: #FCE7F3; } .lg-sel { background: var(--darwin); }
.enfx-toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F1F0F7; font-size: 13.5px; }
.enfx-toggle-row:last-child { border-bottom: 0; }
.enfx-toggle-row span:not(.enfx-toggle) { display: block; font-size: 11.5px; color: var(--muted); }
.enfx-toggle { width: 40px; height: 24px; border-radius: 999px; background: #D9D7E6; position: relative; flex-shrink: 0; display: inline-block; }
.enfx-toggle i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.enfx-toggle.on { background: #22C55E; } .enfx-toggle.on i { left: 19px; }
.enfx-plan { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 4px 14px; }
.enfx-plan div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1F0F7; font-size: 13px; }
.enfx-plan div:last-child { border-bottom: 0; }
.enfx-plan .d { width: 52px; font-size: 11.5px; font-weight: 800; color: #BE185D; }
.enfx-plan b { flex: 1; font-weight: 700; }
.enfx-plan em { font-style: normal; font-size: 11.5px; color: var(--muted); }

/* ENF-14 notifications */
.enfx-notif { display: flex; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 12px; position: relative; }
.enfx-notif.unread { border-color: #E0E7FF; background: #FAFAFF; }
.enfx-notif.unread::after { content: ''; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: #EC4899; }
.enfx-notif-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.enfx-notif-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); padding-right: 12px; }
.enfx-notif-txt b { color: var(--text); font-family: var(--font-head); font-size: 14px; }
.enfx-notif-txt em { font-style: normal; font-size: 11px; color: #9CA3AF; }
.enfx-notif-txt .enfx-btn-sm { margin-top: 4px; }

/* ENF-13 LearniGame */
.enfx-gstats { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px; margin-top: 14px; }
.enfx-gstats > div { background: rgba(255,255,255,.16); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; }
.enfx-gstats b { font-family: var(--font-head); font-size: 15px; }
.enfx-gstats em { font-style: normal; font-size: 10.5px; color: var(--hdr-muted); }
.enfx-gbar { display: block; height: 5px; border-radius: 999px; background: rgba(255,255,255,.25); margin-top: 5px; overflow: hidden; }
.enfx-gbar i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.enfx-daily { border-radius: 20px; color: #fff; display: flex; overflow: hidden; min-height: 150px; }
.enfx-daily > div:first-child { flex: 1; padding: 14px 0 14px 16px; display: flex; flex-direction: column; align-items: flex-start; }
.enfx-daily b { font-family: var(--font-head); font-size: 17px; line-height: 1.2; margin-top: 8px; }
.enfx-daily em { font-style: normal; font-size: 12px; opacity: .85; margin-top: 4px; }
.enfx-pill { font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 999px; }
.enfx-daily-img { width: 120px; display: flex; align-items: flex-end; flex-shrink: 0; }
.enfx-daily-img img, .enfx-tile-img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 12px rgba(0,0,0,.2)); }
.enfx-types { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.enfx-types span { flex-shrink: 0; display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; }
.enfx-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.enfx-tile { border-radius: 16px; color: #fff; padding: 8px 8px 10px; display: flex; flex-direction: column; align-items: center; overflow: hidden; cursor: pointer; }
.enfx-tile-img { width: 72px; height: 72px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.enfx-tile b { font-family: var(--font-head); font-size: 12.5px; margin-top: 6px; }
.enfx-tile span { font-size: 10.5px; opacity: .85; }
.enfx-rewards { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.enfx-rewards div { border-radius: 14px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; }
.enfx-rewards .locked { background: #F3F4F6; color: #9CA3AF; border: 1.5px dashed #D1D5DB; }
.enfx-foot { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.45; }

/* ENF-07 quiz */
.enfx-qhdr { color: #fff; padding: 46px 18px 16px; border-radius: 0 0 24px 24px; }
.enfx-timer { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.18); padding: 7px 10px; border-radius: 10px; font-family: var(--font-head); font-weight: 800; font-size: 13px; }
.enfx-qprog { margin-top: 14px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.enfx-qprog > i { flex: 1; height: 7px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; display: block; }
.enfx-qprog > i > i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.enfx-q { font-family: var(--font-head); font-weight: 900; font-size: 19px; line-height: 1.3; margin-top: 4px; }
.enfx-opts { display: flex; flex-direction: column; gap: 8px; }
.enfx-opt { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; font-size: 13.5px; font-weight: 600; }
.enfx-opt b { width: 28px; height: 28px; border-radius: 9px; background: #F1F0F7; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); flex-shrink: 0; }
.enfx-opt.ok { border-color: #22C55E; background: #F0FDF4; color: #166534; }
.enfx-opt.ok b { background: #22C55E; color: #fff; }
.enfx-opt.ok svg { margin-left: auto; color: #22C55E; flex-shrink: 0; }
.enfx-feedback { display: flex; gap: 10px; align-items: flex-start; }
.enfx-feedback .bubble { font-size: 13px; }
.enfx-qactions { display: flex; gap: 8px; margin-top: auto; }

/* ENF-06 fiches */
.enfx-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px; color: var(--muted); font-size: 13.5px; }
.enfx-filters { display: flex; gap: 6px; overflow-x: auto; }
.enfx-filters span { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--border); font-size: 12px; font-weight: 700; color: var(--muted); }
.enfx-filters span.on { background: #1A1A2E; border-color: #1A1A2E; color: #fff; }
.enfx-fiche { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--border); border-left: 4px solid var(--c); border-radius: 14px; padding: 10px 10px 10px 12px; }
.enfx-fiche-txt { flex: 1; min-width: 0; }
.enfx-fiche-txt b { display: block; font-family: var(--font-head); font-size: 14px; }
.enfx-fiche-txt > span { font-size: 11.5px; color: var(--muted); }
.enfx-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.enfx-tags em { font-style: normal; font-size: 10.5px; font-weight: 700; background: #F3F4F6; color: #4B5563; padding: 2px 7px; border-radius: 6px; }
.enfx-fiche-act { display: flex; flex-direction: column; gap: 4px; }
.enfx-fiche-act button { width: 32px; height: 32px; border-radius: 9px; border: 0; background: #F3F4F6; color: #4B5563; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ENF-09 progression */
.enfx-streak { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; background: linear-gradient(135deg,#FFF7ED,#FDF2F8); border: 1.5px solid #FED7AA; border-radius: 18px; padding: 14px; }
.enfx-streak-ic { width: 48px; height: 48px; border-radius: 14px; background: #FB923C; color: #fff; display: flex; align-items: center; justify-content: center; grid-row: span 1; }
.enfx-streak b { display: block; font-family: var(--font-head); font-size: 17px; }
.enfx-streak span { font-size: 12px; color: var(--muted); }
.enfx-week { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-top: 8px; }
.enfx-week span { height: 30px; border-radius: 9px; background: #fff; border: 1.5px solid #FED7AA; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; color: #C2410C; }
.enfx-week span.on { background: #FB923C; border-color: #FB923C; color: #fff; }
.enfx-week span.today { border-style: dashed; }
.enfx-subj { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #F1F0F7; }
.enfx-subj-main { flex: 1; }
.enfx-subj-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.enfx-subj-top b { font-family: var(--font-head); }
.enfx-subj-top span { font-size: 11.5px; color: var(--muted); }
.enfx-stack { display: flex; height: 9px; border-radius: 999px; overflow: hidden; gap: 2px; }
.enfx-stack i, .enfx-stack-legend i { display: block; height: 100%; }
.enfx-stack .a, .enfx-stack-legend .a { background: #22C55E; }
.enfx-stack .e, .enfx-stack-legend .e { background: #F59E0B; }
.enfx-stack .c, .enfx-stack-legend .c { background: #F472B6; }
.enfx-stack .n, .enfx-stack-legend .n { background: #E5E7EB; }
.enfx-stack-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 0; font-size: 11px; color: var(--muted); }
.enfx-stack-legend span { display: flex; align-items: center; gap: 5px; }
.enfx-stack-legend i { width: 10px; height: 10px; border-radius: 3px; }
.enfx-confirm { display: flex; gap: 12px; align-items: center; background: #F0FDF4; border: 1.5px solid #BBF7D0; border-radius: 14px; padding: 12px; color: #15803D; font-size: 12px; }
.enfx-confirm b { display: block; font-family: var(--font-head); font-size: 14px; color: var(--text); }
.enfx-confirm span { color: var(--muted); }

/* ENF-10 profil */
.enfx-me-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 4px; }
.enfx-me-big { width: 84px; height: 84px; border-radius: 50%; background: #EC4899; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 36px; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 8px; box-shadow: 0 6px 16px rgba(236,72,153,.3); }
.enfx-me-big span { position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #4F46E5; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.enfx-me-card b { font-family: var(--font-head); font-size: 20px; }
.enfx-me-card > span { font-size: 12.5px; color: var(--muted); }
.enfx-avs { display: flex; gap: 10px; }
.enfx-avs span { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 20px; cursor: pointer; }
.enfx-avs span:first-child { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #EC4899; }
.enfx-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F1F0F7; color: var(--muted); }
.enfx-row:last-child { border-bottom: 0; }
.enfx-row > div { flex: 1; }
.enfx-row b { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.enfx-row span:not(.enfx-toggle):not(.enfx-count) { font-size: 11.5px; }
.enfx-count { background: #EC4899; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.enfx-transp { display: flex; gap: 12px; align-items: flex-start; background: #EEF2FF; border: 1.5px solid #C7D2FE; border-radius: 16px; padding: 14px; color: #4338CA; font-size: 12.5px; line-height: 1.45; }
.enfx-transp b { display: block; font-family: var(--font-head); font-size: 14px; color: #1E1B4B; margin-bottom: 2px; }
.enfx-transp span { color: #4B5563; }

/* ENF-04 / ENF-05 header actions */
.enf04-header { position: relative; }
.enf04-header .enfx-actions { position: absolute; top: 46px; right: 18px; }
.enf05-header .enfx-icon-btn { width: 34px; height: 34px; }
.enf-nav .bottom-nav-item { font-size: 10.5px; }
.enf-nav .bnav-icon { width: 40px; }

.canvas-header nav { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }

/* ── ENF interactive prototype (ENF-03 sheets, ENF-08 form) ── */
#enf03 .artboard { overflow: hidden; min-height: 844px; }
.enfx [data-open] { cursor: pointer; }
.enfx-sheet { position: absolute; inset: 0; z-index: 40; background: #F8F7FF; overflow-y: auto; transform: translateY(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); visibility: hidden; scrollbar-width: none; }
.enfx-sheet::-webkit-scrollbar { display: none; }
.enfx-sheet.right { transform: translateX(100%); }
.enfx-sheet.open { transform: none; visibility: visible; }
.enfx-scrim { position: absolute; inset: 0; z-index: 35; background: rgba(26,26,46,.35); opacity: 0; pointer-events: none; transition: opacity .3s; }
.enfx-scrim.on { opacity: 1; pointer-events: auto; }
.enfx-toast { position: absolute; left: 50%; bottom: 96px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .3s; background: #1A1A2E; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 12px; white-space: nowrap; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.enfx-toast.on { opacity: 1; transform: translate(-50%, 0); }
.enfx-toast svg { color: #4ADE80; }
.enfx-icon-btn.read .enfx-badge { display: none; }
.enfx-exam-sm.is-new { animation: enfxIn .5s ease; background: #FDF2F8; margin: 0 -14px; padding: 12px 14px 0; border-radius: 0; }
@keyframes enfxIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* form interactivity */
.enfx-pick { transition: border-color .15s, box-shadow .15s, background .15s; }
.enfx-pick.on { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); background: color-mix(in srgb, var(--c) 7%, #fff); }
.enfx-cal-grid span[data-day] { cursor: pointer; transition: background .15s; }
.enfx-cal-grid span[data-day]:hover:not(.off):not(.sel) { background: #EEF2FF; }
.enfx-cal-grid span.off { color: #C9C7D8; cursor: default; }
.enfx-cal-grid span.plan { background: #FCE7F3; color: #BE185D; }
.enfx-cal-grid span.today { box-shadow: inset 0 0 0 2px #6366F1; }
.enfx-cal-grid span.sel { background: var(--sel, var(--darwin)); color: #fff; }
.lg-sel { background: var(--sel, var(--darwin)) !important; }
.enfx-seg span { transition: background .15s; }
.enfx-toggle { cursor: pointer; transition: background .2s; }
.enfx-toggle i { transition: left .2s; }
input.enfx-field { width: 100%; font: inherit; font-size: 14px; color: var(--text); outline: none; }
input.enfx-field:focus { border-color: #A5B4FC; box-shadow: 0 0 0 3px #E0E7FF; }
.enfx-opt-lbl { font-style: normal; font-weight: 600; font-size: 11px; color: var(--muted); margin-left: 4px; }
.enfx-plan-empty { padding: 12px 0; font-size: 12.5px; color: var(--muted); }

/* ── ENF-03 flows : capture → orientation → conversation ── */
.enfx-input[data-flow] { cursor: pointer; transition: transform .12s; }
.enfx-input[data-flow]:active { transform: scale(.97); }
/* camera */
.enfx-cam { background: #0B0B14; color: #fff; display: flex; flex-direction: column; }
.enfx-cam-top { display: flex; align-items: center; justify-content: space-between; padding: 46px 16px 12px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
.enfx-cam-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.enfx-cam-view { position: relative; flex: 1; margin: 8px 20px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #3a3a4a, #15151f); display: flex; align-items: center; justify-content: center; min-height: 460px; overflow: hidden; }
.enfx-paper { width: 78%; background: #FFFDF5; color: #1F2937; border-radius: 6px; padding: 18px 16px; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0,0,0,.5); background-image: repeating-linear-gradient(#FFFDF5 0 27px, #DBEAFE 27px 28px); font-family: 'Comic Sans MS', 'Chalkboard SE', cursive; }
.enfx-paper-h { font-weight: 700; font-size: 15px; color: #B91C1C; margin-bottom: 8px; }
.enfx-paper-l { font-size: 13px; margin-bottom: 6px; }
.enfx-paper-q { font-size: 16px; line-height: 28px; }
.enfx-corner { position: absolute; width: 28px; height: 28px; border: 3px solid #fff; }
.enfx-corner.tl { top: 40px; left: 24px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.enfx-corner.tr { top: 40px; right: 24px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.enfx-corner.bl { bottom: 40px; left: 24px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.enfx-corner.br { bottom: 40px; right: 24px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.enfx-cam-bar { display: flex; align-items: center; justify-content: space-around; padding: 18px 20px 34px; }
.enfx-cam-side { background: none; border: 0; color: rgba(255,255,255,.85); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; cursor: pointer; }
.enfx-shutter { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 4px; cursor: pointer; }
.enfx-shutter i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .1s; }
.enfx-shutter:active i { transform: scale(.88); }
.enfx-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 60; }
.enfx-flash.on { animation: enfxFlash .35s ease; }
@keyframes enfxFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
/* write */
.enfx-compose { display: flex; gap: 8px; align-items: flex-end; background: #fff; border: 1.5px solid #C7D2FE; border-radius: 18px; padding: 10px; box-shadow: 0 0 0 4px #EEF2FF; }
.enfx-textarea { flex: 1; border: 0; outline: none; resize: none; font: inherit; font-size: 15px; min-height: 96px; color: var(--text); }
.enfx-send { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--hdr-enf); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.enfx-examples { display: flex; flex-direction: column; gap: 8px; }
.enfx-examples button { text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; }
.enfx-examples button.on { border-color: #F9A8D4; background: #FDF2F8; }
.enfx-examples b { display: block; font-family: var(--font-head); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #DB2777; }
.enfx-examples span { font-size: 13px; color: var(--text); }
/* voice */
.enfx-voice { align-items: center; text-align: center; padding-top: 40px; gap: 22px; }
.enfx-transcript { min-height: 70px; font-family: var(--font-head); font-size: 19px; font-weight: 800; color: #C4C2D4; padding: 0 10px; }
.enfx-transcript.on { color: var(--text); }
.enfx-wave { display: flex; gap: 5px; align-items: center; height: 50px; }
.enfx-wave i { width: 6px; height: 10px; border-radius: 3px; background: #F9A8D4; }
.enfx-voice.listening .enfx-wave i { animation: enfxWave .7s ease-in-out infinite; background: #EC4899; }
.enfx-wave i:nth-child(2){animation-delay:.1s}.enfx-wave i:nth-child(3){animation-delay:.2s}.enfx-wave i:nth-child(4){animation-delay:.3s}.enfx-wave i:nth-child(5){animation-delay:.2s}.enfx-wave i:nth-child(6){animation-delay:.1s}
@keyframes enfxWave { 0%,100% { height: 10px; } 50% { height: 44px; } }
.enfx-mic { width: 110px; height: 110px; border-radius: 50%; border: 0; background: var(--hdr-enf); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px rgba(236,72,153,.35); }
.enfx-voice.listening .enfx-mic { animation: enfxPulse 1s ease-in-out infinite; }
@keyframes enfxPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(236,72,153,.45); } 50% { box-shadow: 0 0 0 22px rgba(236,72,153,0); } }
.enfx-mic-hint { font-size: 13px; color: var(--muted); font-weight: 700; }
/* orientation */
.enfx-route { display: flex; flex-direction: column; }
.enfx-thinking { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); font-weight: 700; font-size: 15px; min-height: 700px; }
.enfx-spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid #FCE7F3; border-top-color: #EC4899; animation: enfxSpin .8s linear infinite; }
@keyframes enfxSpin { to { transform: rotate(360deg); } }
.enfx-route-hero { color: #fff; padding: 46px 20px 0; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.enfx-route-hero .enfx-cam-x { position: absolute; top: 46px; left: 16px; }
.enfx-route-kicker { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; margin-top: 4px; }
.enfx-route-title { font-family: var(--font-head); font-weight: 900; font-size: 26px; line-height: 1.15; margin-top: 12px; }
.enfx-route-sub { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; }
.enfx-route-img { width: 200px; height: 210px; display: flex; align-items: flex-end; justify-content: center; margin-top: 8px; }
.enfx-route-img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.enfx-route-gen { width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 54px; margin: 24px 0 36px; }
.enfx-route-body { padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.enfx-recap { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.enfx-recap-thumb { width: 44px; height: 54px; border-radius: 6px; background: #FFFDF5; background-image: repeating-linear-gradient(#FFFDF5 0 7px, #DBEAFE 7px 8px); border: 1px solid #E5E7EB; transform: rotate(-3deg); flex-shrink: 0; }
.enfx-recap-ic { width: 38px; height: 38px; border-radius: 12px; background: #FDF2F8; color: #DB2777; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.enfx-recap em { display: block; font-style: normal; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.enfx-auto { height: 5px; border-radius: 999px; background: #EEEDF7; overflow: hidden; }
.enfx-auto i { display: block; height: 100%; width: 0; border-radius: 999px; }
.enfx-auto.run i { width: 100%; transition: width 3s linear; }
.enfx-auto-lbl { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: -6px; }
.enfx-route-btns { display: flex; flex-direction: column; gap: 8px; }
.enfx-route-btns .enfx-btn-ghost { width: 100%; }
.enfx-alts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.enfx-alt { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.enfx-alt:hover { border-color: var(--c); }
.enfx-choice { display: flex; gap: 10px; }
.enfx-choice .enfx-alt { flex: 1; padding: 14px 8px; font-size: 13px; }
.enfx-choice .enfx-alt span { font-size: 11px; color: var(--muted); font-weight: 600; }
.enfx-note { font-size: 11px; color: var(--muted); text-align: center; }
/* chat */
.enfx-chat { display: flex; flex-direction: column; }
.enfx-chat-hdr { color: #fff; padding: 46px 16px 14px; display: flex; align-items: center; gap: 12px; }
.enfx-chat-hdr .enfx-icon-btn { width: 36px; height: 36px; }
.enfx-chat-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.6); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; }
.enfx-chat-av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.enfx-chat-msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 560px; }
.enfx-chat-msgs .bubble { font-size: 14px; }
.enfx-chat-photo { align-self: flex-end; width: 130px; height: 150px; border-radius: 14px; background: #FFFDF5; background-image: repeating-linear-gradient(#FFFDF5 0 13px, #DBEAFE 13px 14px); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); transform: rotate(2deg); padding: 10px; font-family: 'Comic Sans MS', cursive; font-size: 10px; color: #374151; }
.enfx-chat-photo b { color: #B91C1C; display: block; margin-bottom: 4px; }
.enfx-chat-sys { align-self: center; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.enfx-chat-input { display: flex; gap: 8px; align-items: center; padding: 10px 14px 24px; border-top: 1px solid var(--border); background: #fff; }
.enfx-chat-input div { flex: 1; background: #F3F4F6; border-radius: 999px; padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
.enfx-chat-input button { width: 40px; height: 40px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.enfx-route-duo { display: flex; justify-content: center; margin-top: 8px; height: 200px; align-items: flex-end; }
.enfx-route-duo img { width: 150px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.enfx-route-duo img + img { margin-left: -36px; }

/* ── ENF-10 action screens ── */
#enf10 .artboard { overflow: hidden; min-height: 844px; }
#enf10 .enfx-row, #enf10 .enfx-transp, #enf10 .enfx-avs span, #enf10 .enfx-me-big { cursor: pointer; }
#enf10 .enfx-row:hover b { color: #4F46E5; }
#enf10 .enfx-avs span { transition: box-shadow .15s; box-shadow: none; }
#enf10 .enfx-avs span.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #EC4899; }
#enf10.dys .artboard, #enf10.dys .artboard * { font-family: 'Comic Sans MS', 'Lexend', 'OpenDyslexic', sans-serif !important; letter-spacing: .03em; }
.enfx-av-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; justify-items: center; }
.enfx-av-grid span { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 26px; cursor: pointer; transition: transform .12s, box-shadow .15s; }
.enfx-av-grid span:hover { transform: scale(1.06); }
.enfx-av-grid span.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #4F46E5; }
.enfx-steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; }
.enfx-steps span { width: 28px; height: 28px; border-radius: 50%; background: #EEEDF7; color: var(--muted); font-family: var(--font-head); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.enfx-steps span.on { background: var(--hdr-enf); color: #fff; }
.enfx-steps i { width: 28px; height: 2px; background: #E5E7EB; }
.enfx-pin { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.enfx-pin-title { font-family: var(--font-head); font-weight: 900; font-size: 19px; margin-top: 10px; text-align: center; }
.enfx-pin-dots { display: flex; gap: 16px; }
.enfx-pin-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #C7D2FE; transition: all .12s; }
.enfx-pin-dots i.on { background: #6366F1; border-color: #6366F1; transform: scale(1.1); }
.enfx-pin-dots.shake { animation: enfxShake .35s; }
@keyframes enfxShake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.enfx-keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px 22px; }
.enfx-keypad button { width: 72px; height: 72px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 6px rgba(30,27,75,.08); font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.enfx-keypad button:active { background: #EEF2FF; }
.enfx-pin-done { display: none; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 30px; }
.enfx-pin-done b { font-family: var(--font-head); font-size: 20px; }
.enfx-pin-done span { font-size: 13.5px; color: var(--muted); line-height: 1.5; padding: 0 10px; }
.enfx-pin-done .enfx-btn { margin-top: 16px; }
.enfx-done-ic { width: 84px; height: 84px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: flex; align-items: center; justify-content: center; }
.is-done .enfx-pin { display: none; } .is-done .enfx-pin-done { display: flex; }
.enfx-pend { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.enfx-pend.done { gap: 8px; }
.enfx-pend-top { display: flex; gap: 10px; align-items: center; }
.enfx-pend-top b { display: block; font-size: 13.5px; font-family: var(--font-head); }
.enfx-pend-top span { font-size: 11.5px; color: var(--muted); }
.enfx-pend-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 10px; }
.enfx-pend-status.wait { background: #FEF3C7; color: #B45309; }
.enfx-pend-status.ok { background: #DCFCE7; color: #15803D; }
.enfx-pend-status.fix { background: #FCE7F3; color: #BE185D; }
.enfx-pend-ans { background: #F5F3FF; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.enfx-pend-ans em { display: block; font-style: normal; font-size: 11px; font-weight: 800; color: #6D28D9; margin-bottom: 2px; }
.enfx-pend-eta { font-size: 11.5px; color: var(--muted); }
.enfx-transp-hero { width: 84px; height: 84px; border-radius: 50%; background: #EEF2FF; color: #4F46E5; display: flex; align-items: center; justify-content: center; align-self: center; margin-top: 6px; }
.enfx-li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #F1F0F7; font-size: 13.5px; line-height: 1.4; }
.enfx-li:last-child { border-bottom: 0; }
.enfx-li svg { flex-shrink: 0; color: #22C55E; margin-top: 1px; }
.enfx-li.info svg { color: #6366F1; }
.enfx-faq { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 0 14px; }
.enfx-faq summary { font-family: var(--font-head); font-weight: 800; font-size: 14px; padding: 13px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.enfx-faq summary::after { content: '+'; color: #DB2777; font-size: 18px; line-height: 1; }
.enfx-faq[open] summary::after { content: '–'; }
.enfx-faq p { font-size: 13px; color: #4B5563; line-height: 1.5; padding-bottom: 13px; }
.enfx-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enfx-prof { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.enfx-prof.on { border-color: #F9A8D4; background: #FDF2F8; cursor: default; }
.enfx-prof.sel { border-color: #67E8F9; box-shadow: 0 0 0 3px #CFFAFE; }
.enfx-prof span { width: 60px; height: 60px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 26px; margin-bottom: 4px; }
.enfx-prof b { font-family: var(--font-head); font-size: 15px; }
.enfx-prof em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.enfx-pin-switch { display: none; }
.enfx-pin-switch.on { display: flex; }

/* ── Mes questions (vérifications Lernix) ── */
.qa { gap: 10px; }
.qa-kicker { display: block; font-family: var(--font-head); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c, #DB2777); }
.qa-corr { background: #fff; border: 2px solid var(--c); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 18%, transparent); }
.qa-corr-top { display: flex; gap: 10px; align-items: center; }
.qa-corr-top > div:not(.agent-avatar) { flex: 1; }
.qa-corr-top b { font-family: var(--font-head); font-size: 14.5px; }
.qa-dot { width: 10px; height: 10px; border-radius: 50%; background: #EC4899; flex-shrink: 0; }
.qa-fix { background: color-mix(in srgb, var(--c) 7%, #fff); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
.qa-fix em { display: block; font-style: normal; font-size: 11px; font-weight: 800; color: var(--c); margin-bottom: 2px; }
.qa-follow { display: none; flex-direction: column; gap: 8px; }
.qa-follow-note { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #BE185D; background: #FDF2F8; border-radius: 10px; padding: 7px 10px; }
.qa-follow-lbl { font-size: 12px; color: var(--muted); font-weight: 700; }
.qa-follow-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa-follow-btns button { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--c); background: #fff; color: var(--c); border-radius: 12px; padding: 10px 6px; font-family: var(--font-head); font-weight: 800; font-size: 12.5px; cursor: pointer; }
.qa-corr.read { border-width: 1.5px; box-shadow: none; }
.qa-corr.read .qa-ok, .qa-corr.read .qa-dot { display: none; }
.qa-corr.read .qa-follow { display: flex; }
.qa-head { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--muted); }
.qa-pend { gap: 0; padding: 12px 14px 6px; }
.qa-pend .qa-head { margin-bottom: 4px; }
.qa-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #F1F0F7; }
.qa-head + .qa-row { border-top: 0; }
.qa-row > div:not(.agent-avatar) { flex: 1; min-width: 0; }
.qa-row b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-row span { font-size: 11.5px; color: var(--muted); }
.qa-row span.late { color: #B45309; font-weight: 700; }
.qa-row > svg { color: #22C55E; flex-shrink: 0; }
.qa-extra { display: none; }
.qa-pend.all .qa-extra { display: flex; }
.qa-pend.all .qa-more { display: none; }
.qa-more { border: 0; background: none; color: #4F46E5; font-family: var(--font-head); font-weight: 800; font-size: 12.5px; padding: 8px 0 6px; text-align: left; cursor: pointer; border-top: 1px solid #F1F0F7; }
.qa-conf { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 0 14px; }
.qa-conf summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #15803D; cursor: pointer; }
.qa-conf summary::after { content: '›'; margin-left: auto; color: var(--muted); font-size: 18px; transition: transform .2s; }
.qa-conf[open] summary::after { transform: rotate(90deg); }
.qa-conf.seen summary { color: var(--muted); }
.qa-note { font-size: 11px; color: var(--muted); padding: 6px 0 12px; }
.qa-empty { display: none; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 50px 16px 20px; }
.qa-empty-ic { width: 76px; height: 76px; border-radius: 50%; background: #EEF2FF; color: #4F46E5; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.qa-empty b { font-family: var(--font-head); font-size: 18px; }
.qa-empty span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.qa-foot { font-size: 11px; color: var(--muted); text-align: center; margin-top: 2px; }
.qa[data-scn="young"] .qa-pend { display: none; }
.qa[data-scn="empty"] > *:not(.qa-empty) { display: none; }
.qa[data-scn="empty"] .qa-empty { display: flex; }
/* home card */
.qa-home { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--c); border-radius: 16px; padding: 12px 14px; cursor: pointer; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 14%, transparent); transition: opacity .3s, transform .3s; }
.qa-home > div:not(.agent-avatar) { flex: 1; }
.qa-home b { font-family: var(--font-head); font-size: 13.5px; line-height: 1.3; display: block; margin-top: 1px; }
.qa-home.gone { display: none; }
.scenario-toggle + .scenario-toggle { margin-top: -4px; }
.qa .agent-avatar, .qa-home .agent-avatar { flex-shrink: 0; }

/* Profile access: avatar in every main-tab header */
.enf04-header { padding-left: 74px; }
.enf04-me { position: absolute; top: 48px; left: 18px; }
.enfx-me { transition: transform .15s, box-shadow .15s; }
.enfx-me:hover { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
#enf10.pulse .artboard { animation: enfxPulseBoard 1.2s ease; }
@keyframes enfxPulseBoard { 0%,100% { box-shadow: 0 2px 8px rgba(0,0,0,.08); } 40% { box-shadow: 0 0 0 6px #EC4899; } }

/* ── ENF-06 Mes discussions et fiches ── */
.fi-seg span { cursor: pointer; }
.fi-view { display: flex; flex-direction: column; gap: 12px; }
.fi-view[hidden] { display: none; }
.fi-hint { display: flex; gap: 10px; align-items: flex-start; background: #EEF2FF; border-radius: 14px; padding: 10px 12px; font-size: 12.5px; color: #3730A3; line-height: 1.45; }
.fi-hint svg { flex-shrink: 0; margin-top: 2px; }
.fi-filters span { cursor: pointer; }
.fi-subj { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 12px 14px 4px; }
.fi-subj-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 15px; padding-bottom: 6px; }
.fi-subj-h b { color: var(--c); }
.fi-sec { padding: 4px 0 6px; }
.fi-sec-h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 6px 0 2px; }
.fi-sec-h.exam { color: #C2410C; } .fi-sec-h.period { color: var(--muted); }
.fi-item { display: flex; align-items: center; gap: 10px; padding: 9px 0 9px 10px; border-left: 3px solid var(--c); margin: 6px 0; cursor: pointer; border-radius: 0 10px 10px 0; }
.fi-item:hover { background: #FAFAFF; }
.fi-main { flex: 1; min-width: 0; }
.fi-main b { display: block; font-size: 14px; font-family: var(--font-head); }
.fi-main span { font-size: 11.5px; color: var(--muted); }
.fi-st { border: 0; border-radius: 999px; padding: 5px 10px; font-family: var(--font-head); font-weight: 800; font-size: 11px; cursor: pointer; flex-shrink: 0; transition: background .2s, color .2s; }
.fi-st.acq { background: #DCFCE7; color: #15803D; }
.fi-st.rev { background: #FEF3C7; color: #B45309; }
.fi-foot { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.45; }
.fi-subj.hide { display: none; }
.se-list { display: flex; flex-direction: column; gap: 8px; }
.se-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; transition: opacity .3s, transform .3s; }
.se-item.out { opacity: 0; transform: translateX(40px); }
.se-main { flex: 1; min-width: 0; }
.se-main b { display: block; font-size: 14px; font-family: var(--font-head); }
.se-main span { font-size: 11.5px; color: var(--muted); }
.se-arch { width: 34px; height: 34px; border-radius: 10px; border: 0; background: #F3F4F6; color: #4B5563; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.se-restore { border: 1.5px solid #C7D2FE; background: #EEF2FF; color: #4338CA; border-radius: 10px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
.se-archives-link { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px dashed #C7C5D9; border-radius: 14px; padding: 12px 14px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; color: var(--text); cursor: pointer; }
.se-archives-link svg:last-child { margin-left: auto; color: var(--muted); }
.se-count { font-style: normal; background: #EEEDF7; color: var(--muted); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
/* disc buttons */
.se-disc-btns { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; align-items: flex-end; }
.se-cont { border: 1.5px solid #C7D2FE; background: #EEF2FF; color: #4338CA; border-radius: 10px; padding: 5px 10px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.se-compris { border: 0; background: var(--pythagore); color: #fff; border-radius: 10px; padding: 5px 10px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
/* transfer animation */
@keyframes se-fly { 0% { opacity:1; transform: translateX(0) scale(1); } 60% { opacity:.5; transform: translateX(60px) scale(.85); } 100% { opacity:0; transform: translateX(0) scale(.7); } }
.se-item.flying { animation: se-fly .45s ease forwards; pointer-events: none; }
@keyframes fi-arrive { 0% { opacity:0; transform: translateX(-40px) scale(.9); } 100% { opacity:1; transform: translateX(0) scale(1); } }
.fi-item.arriving { animation: fi-arrive .35s ease forwards; }
.fi-note { display: flex; gap: 10px; align-items: flex-start; background: #EEF2FF; border-radius: 14px; padding: 12px; font-size: 12.5px; color: #3730A3; line-height: 1.45; }
.fi-note svg { flex-shrink: 0; }
.fd-status { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13px; color: var(--muted); }
.fd-toggle { display: flex; background: #EEEDF7; border-radius: 999px; padding: 3px; }
.fd-toggle button { border: 0; background: none; border-radius: 999px; padding: 6px 12px; font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--muted); cursor: pointer; }
.fd-toggle button.on[data-s="acq"] { background: #22C55E; color: #fff; }
.fd-toggle button.on[data-s="rev"] { background: #F59E0B; color: #fff; }
.fd-entry { background: #fff; border: 1.5px solid var(--border); border-left: 4px solid var(--pythagore); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.fd-entry em { display: block; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fd-entry b { display: block; font-family: var(--font-head); font-size: 14px; margin: 2px 0; }
.fd-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.fd-actions .enfx-btn-ghost { display: flex; align-items: center; gap: 6px; }
#enf06 .artboard { overflow: hidden; min-height: 844px; }
/* ── ENF-05 : ajouter à une fiche / Tu as compris ? ── */
#enf05 .artboard { overflow: hidden; min-height: 844px; }
/* ENF-05 : colonne fixe — fil, barre de saisie, puis menu (le menu reste toujours sous la barre) */
#enf05 .artboard.enfx-chatscreen { display: flex; flex-direction: column; height: 844px; }
#enf05 .enfx-chatscreen > .enf05-header, #enf05 .enfx-chatscreen > .tp-bar { flex-shrink: 0; }
#enf05 .enfx-chatscreen > .enf05-messages { flex: 1 1 auto; height: auto; min-height: 0; max-height: none; }
#enf05 .enfx-chatscreen > .enf05-input-bar { position: relative; bottom: auto; left: auto; right: auto; flex-shrink: 0; }
#enf05 .enfx-chatscreen > .bottom-nav { flex-shrink: 0; }
.msg-add { align-self: flex-start; display: flex; align-items: center; gap: 5px; border: 1.5px solid #C7D2FE; background: #fff; color: #4338CA; border-radius: 999px; padding: 5px 11px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; cursor: pointer; margin-top: -4px; }
.msg-add:hover { background: #EEF2FF; }
.msg-quick { display: flex; gap: 6px; }
.msg-quick button { border: 1.5px solid var(--pythagore); background: #fff; color: var(--pythagore); border-radius: 999px; padding: 7px 16px; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; }
.msg-quick button.on { background: var(--pythagore); color: #fff; }
.af-list { display: flex; flex-direction: column; gap: 8px; }
.af-opt { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; cursor: pointer; }
.af-opt i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C7C5D9; flex-shrink: 0; }
.af-opt.on { border-color: var(--pythagore); background: #EFF6FF; }
.af-opt.on i { border: 6px solid var(--pythagore); }
.af-opt b { display: block; font-family: var(--font-head); font-size: 14px; }
.af-opt span { font-size: 11.5px; color: var(--muted); }
.af-newform { display: none; flex-direction: column; gap: 8px; }
.af.newmode .af-newform { display: flex; }
@media (min-width: 900px) { .artboard-mobile.enfx { width: 390px; } }

/* ── ENF-05 : sujets, carte de fin de sujet, récapitulatif ── */
.tp-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 6px; background: var(--pythagore); padding: 0 12px 12px; margin-top: -2px; flex-wrap: nowrap; }
.tp-count, .tp-end { border: 0; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.tp-count { background: rgba(255,255,255,.18); color: #fff; padding: 6px 10px; flex-shrink: 0; }
.tp-end { background: #fff; color: var(--pythagore); padding: 6px 12px; flex-shrink: 0; }
.tp-menu { display: none; position: absolute; top: 40px; left: 16px; z-index: 20; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.2); padding: 6px; min-width: 250px; }
.tp-menu.on { display: block; }
.tp-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: none; padding: 10px; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; }
.tp-menu button:hover { background: #F5F3FF; }
.tp-div { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tp-div::before, .tp-div::after { content: ''; flex: 1; height: 1px; background: #DDDBEA; }
.tp-div span { white-space: nowrap; max-width: 80%; overflow: hidden; text-overflow: ellipsis; }
.tp-div.flash span { color: var(--pythagore); }
.tp-mini { position: relative; padding-right: 64px; }
.tp-plus { position: absolute; right: 8px; bottom: 7px; display: flex; align-items: center; gap: 2px; border: 1px solid #C7D2FE; background: #fff; color: #4338CA; border-radius: 999px; padding: 2px 7px; font-size: 10.5px; font-weight: 800; cursor: pointer; opacity: .75; }
.tp-plus:hover { opacity: 1; }
.tp-card { align-self: stretch; background: #fff; border: 1.5px solid #C7D2FE; border-radius: 16px; padding: 12px; box-shadow: 0 6px 16px rgba(20,71,192,.08); }
.tp-step, .tp-done, .tp-fold { display: none; }
.tp-card:not(.folded):not(.s-re):not(.s2):not(.done) .tp-s1 { display: block; }
.tp-card.s-re .tp-sre, .tp-card.s2 .tp-s2 { display: block; }
.tp-card.done .tp-done { display: flex; }
.tp-card.folded { padding: 8px 12px; box-shadow: none; border-style: dashed; border-color: #D4D2E3; background: #FAFAFD; }
.tp-card.folded .tp-fold { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.tp-card.folded > .tp-step, .tp-card.folded > .tp-done { display: none !important; }
.tp-dot { width: 8px; height: 8px; border-radius: 50%; background: #C7C5D9; }
.tp-fold b { font-family: var(--font-head); }
.tp-fold em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.tp-unfold { margin-left: auto; border: 0; background: none; color: #4338CA; font-weight: 800; font-size: 12px; cursor: pointer; }
.tp-kicker { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tp-q { font-family: var(--font-head); font-weight: 900; font-size: 15.5px; margin: 4px 0 10px; }
.tp-ans { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.tp-ans button { border: 1.5px solid #C7D2FE; background: #fff; border-radius: 12px; padding: 9px 4px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--pythagore); cursor: pointer; }
.tp-ans button:hover { background: #EFF6FF; }
.tp-ans .f { display: none; font-size: 28px; line-height: 1; }
.young .tp-ans .w { display: none; } .young .tp-ans .f { display: inline; }
.young .tp-ans button { padding: 8px 4px; }
.tp-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-btn { border: 0; background: var(--pythagore); color: #fff; border-radius: 10px; padding: 8px 14px; font-family: var(--font-head); font-weight: 800; font-size: 12.5px; cursor: pointer; }
.tp-ghost { border: 1.5px solid var(--border); background: #fff; color: var(--text); border-radius: 10px; padding: 7px 11px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
.tp-fiche { display: flex; align-items: center; gap: 8px; background: #EFF6FF; border: 1.5px solid var(--pythagore); border-radius: 12px; padding: 9px 10px; font-size: 13px; color: var(--text); margin-bottom: 10px; }
.tp-fiche svg { color: var(--pythagore); flex-shrink: 0; }
.tp-fiche em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--muted); }
.tp-stat, .tp-pill { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 10.5px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.st-acq { background: #DCFCE7; color: #15803D; } .st-rev { background: #FEF3C7; color: #B45309; } .st-nc { background: #F3F4F6; color: #6B7280; }
.tp-done { align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text); }
.tp-done svg { color: #22C55E; flex-shrink: 0; }
.tp-recap { display: flex; flex-direction: column; gap: 8px; }
.tp-rc { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; }
.tp-rc > div { flex: 1; min-width: 0; }
.tp-rc b { display: block; font-family: var(--font-head); font-size: 14px; margin-bottom: 3px; }
.tp-rc .tp-ghost { flex-shrink: 0; }
.tp-rc em { font-style: normal; font-size: 11px; color: var(--muted); }
.tp-voice { font-size: 11px; color: var(--muted); }
/* Bouton "Tu as compris ?" dans tp-bar */
.tp-compris { border: 0; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; cursor: pointer; background: rgba(255,255,255,.92); color: var(--pythagore); padding: 5px 12px; white-space: nowrap; transition: background .15s; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tp-compris:hover { background: #fff; }
/* ENF-05 · CDC 15.10 : un fil = un sujet */
.tp-compris { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 6px 14px; }
.tp-compris.is-done { background: #DCFCE7; color: #15803D; }
.tp-compris.is-done svg { width: 13px; height: 13px; }
.tp-bal { padding: 7px 10px; gap: 6px; margin-right: 0; }
.vgauge { display: inline-block; width: 46px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; vertical-align: middle; }
.vgauge i { display: block; height: 100%; background: #fff; border-radius: inherit; }
.vm-bal .vgauge { width: 60px; }
.enf05-header-info { min-width: 0; }
#enf05 .enf05-header { gap: 10px; }
.enf05-header-name { font-size: 16.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-title { cursor: pointer; text-decoration: underline dashed rgba(255,255,255,.6); text-decoration-thickness: 1.5px; text-underline-offset: 4px; outline: none; }
.tp-title:focus-visible { background: rgba(255,255,255,.15); border-radius: 4px; }
.tp-title svg { display: inline; vertical-align: -1px; margin-left: 4px; opacity: .8; }
.tp-title[hidden] { display: none; }
.tp-title-input { font: inherit; font-size: 15px; color: var(--text); background: #fff; border: 0; border-radius: 8px; padding: 3px 8px; width: 170px; max-width: 100%; min-width: 0; outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.enf05-header, .tp-bar { transition: background .45s; }
.enfx-chatscreen.tp-leaving .enf05-messages, .enfx-chatscreen.tp-leaving .enf05-header-info { animation: tpOut .38s ease forwards; }
.enfx-chatscreen.tp-entering .enf05-messages, .enfx-chatscreen.tp-entering .enf05-header-info { animation: tpIn .42s ease; }
@keyframes tpOut { to { opacity: 0; transform: translateX(-36px); } }
@keyframes tpIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
.tp-handoff { align-self: center; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tp-switch-t { display: block; font-size: 13px; color: #374151; }
.tp-switch-q { display: block; margin: 4px 0 2px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; color: var(--text); }
.tp-switch .relay-btns { flex-wrap: wrap; }
.tp-rc > .agent-avatar { flex: 0 0 32px; font-size: 13px; }
#enf05.tiny .enf05-count { right: auto; left: 50%; transform: translateX(-50%); top: -30px; }
.tp-rc b { margin-bottom: 4px; }
/* 3H-4H : voix par défaut, lecture auto, micro mis en avant, champ texte réduit */
#enf05.tiny .enf05-input-bar { justify-content: center; gap: 10px; }
#enf05.tiny .enf05-text-input { flex: 0 1 92px; padding: 8px 12px; font-size: 12.5px; }
#enf05.tiny .enf05-btn-voice { width: 64px; height: 64px; background: var(--pythagore); border-color: var(--pythagore); color: #fff; box-shadow: 0 8px 20px rgba(20,71,192,.35); margin-top: -18px; }
#enf05.tiny .enf05-btn-voice svg { width: 30px; height: 30px; }
#enf05.tiny .enf05-btn-send, #enf05.tiny .enf05-btn-photo { width: 36px; height: 36px; }
#enf05.tiny .bubble-agent { position: relative; padding-right: 34px; }
#enf05.tiny .bubble-agent::after { content: '🔊'; position: absolute; top: 7px; right: 8px; font-size: 13px; opacity: .45; }
#enf05.tiny .bubble-agent.reading::after { opacity: 1; animation: raPulse .7s ease-in-out infinite; }
@keyframes raPulse { 50% { transform: scale(1.25); } }
.tp-autoread { display: none; align-items: center; gap: 4px; background: rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; }
#enf05.tiny .tp-autoread { display: inline-flex; }
/* Bulle hors-sujet avec proposition de changement */
.tp-offtopic-bubble { background: #FFFBEB !important; border: 1.5px solid #FDE68A !important; color: var(--text); }
#enf05 .enf05-header { padding-bottom: 8px; }
.enfx-toast { white-space: normal; max-width: calc(100% - 32px); width: max-content; text-align: left; }
.enfx-toast svg { flex-shrink: 0; }

/* ENF-05 — couleurs des sujets + barre de saisie cliquable */
.tp-card.folded { background: #ffebebfa; border: 1.5px solid #F8C9C9; }
.tp-card.folded .tp-dot { background: #EF4444; }
.tp-card.folded .tp-fold em { color: #B91C1C; }
.tp-card.done { background: #ebfff2fa; border-color: #BBF7D0; box-shadow: none; }
.enf05-header { position: relative; }
.enf05-header .back, .enf05-header-menu { cursor: pointer; }
.enf05-header-menu { width: 28px; text-align: center; border-radius: 8px; }
.enf05-header-menu:hover { background: rgba(255,255,255,.15); }
.enf05-hmenu, .enf05-attach { display: none; position: absolute; z-index: 30; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.22); padding: 6px; min-width: 210px; }
.enf05-hmenu { top: 84px; right: 12px; }
.enf05-attach { bottom: 64px; left: 10px; }
.enf05-hmenu.on, .enf05-attach.on { display: block; }
.enf05-hmenu button, .enf05-attach button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; }
.enf05-hmenu button:hover, .enf05-attach button:hover { background: #F5F3FF; }
.enf05-attach svg { color: var(--pythagore); }
input.enf05-text-input { outline: none; color: var(--text); min-width: 0; }
input.enf05-text-input:focus { border-color: #93C5FD; box-shadow: 0 0 0 3px #DBEAFE; }
.enf05-btn-icon { flex-shrink: 0; transition: background .15s, transform .1s; }
.enf05-btn-icon:active { transform: scale(.92); }
.enf05-btn-photo:hover, .enf05-btn-voice:hover { background: #EEF2FF; color: var(--pythagore); }
.enf05-btn-send { background: var(--pythagore); }
.enf05-btn-voice.rec { background: #EF4444; border-color: #EF4444; color: #fff; animation: enfxPulseRed 1s infinite; }
@keyframes enfxPulseRed { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); } 50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); } }
.enf05-input-bar { z-index: 12; }
.enf05-file { align-self: flex-end; display: flex; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 700; }
.enf05-file svg { color: #DC2626; }
.enf05-file em { display: block; font-style: normal; font-weight: 600; font-size: 11px; color: var(--muted); }
.enf05-voice { display: flex; align-items: center; gap: 6px; }
.enf05-voice svg { flex-shrink: 0; opacity: .85; }
.enf05-messages .enfx-chat-photo { align-self: flex-end; }
.tp-rc { transition: background .25s, border-color .25s; }
.tp-rc.is-nc { background: #ffebebfa; border-color: #F8C9C9; }
.tp-rc.is-nc .tp-pill { background: #FECACA; color: #B91C1C; }
.tp-rc.is-ok { background: #ebfff2fa; border-color: #BBF7D0; }

/* ── ENF-05 phase 1-3 ── */
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; line-height: 1.05; font-size: .86em; margin: 0 2px; font-variant-numeric: tabular-nums; }
.frac i { font-style: normal; padding: 0 2px; }
.frac i:first-child { border-bottom: 1.5px solid currentColor; }
.math { display: block; margin: 6px 0 4px; padding: 6px 10px; background: #fff; border-radius: 10px; font-family: 'Cambria Math', 'STIX Two Math', Georgia, serif; font-size: 15px; width: fit-content; }
.mk { position: relative; display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-head); font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 8px; cursor: help; outline: none; vertical-align: middle; }
.mk-ok { background: #DCFCE7; color: #15803D; margin-left: 2px; }
.mk-src { background: #E0E7FF; color: #3730A3; margin: 0 0 6px; display: flex; width: fit-content; }
.mk-wait { background: #FEF3C7; color: #B45309; display: flex; width: fit-content; margin-top: 6px; }
.mk-teach { background: #FCE7F3; color: #BE185D; }
.mk::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 25; width: 210px; background: #1A1A2E; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 11.5px; line-height: 1.4; padding: 8px 10px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .15s; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.mk:hover::after, .mk:focus::after { opacity: 1; }
.hint { margin-top: 8px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 6px 10px; font-size: 13px; color: #78350F; }
.hint summary { cursor: pointer; font-weight: 800; color: #B45309; list-style: none; display: flex; align-items: center; gap: 6px; }
.hint summary::before { content: '💡'; }
.hint[open] summary { margin-bottom: 4px; }
.msg-actions { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-top: -4px; }
.msg-actions button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #DDDBEA; background: #fff; color: #4B5563; border-radius: 999px; padding: 4px 9px; font-family: var(--font-head); font-weight: 800; font-size: 11px; cursor: pointer; }
.msg-actions button:hover { border-color: #93C5FD; color: var(--pythagore); }
.msg-actions .thumb { padding: 4px 7px; }
.msg-actions .thumb.down svg { transform: rotate(180deg); }
.msg-actions .thumb.on { background: var(--pythagore); border-color: var(--pythagore); color: #fff; }
.enf05-attach button em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.enf05-attach .demo { border-top: 1px dashed #E5E7EB; color: var(--muted); font-size: 12.5px; border-radius: 0 0 10px 10px; }
.enf05-attach .demo svg { color: #9CA3AF; }
/* system / special blocks */
.sys-neutral { align-self: stretch; display: flex; gap: 10px; align-items: flex-start; background: #F3F4F6; border: 1px solid #E5E7EB; border-radius: 14px; padding: 12px; font-size: 13px; color: #374151; line-height: 1.45; }
.sys-neutral svg { flex-shrink: 0; color: #6B7280; margin-top: 1px; }
.sys-neutral b { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: #6B7280; margin-bottom: 2px; }
.sys-neutral a { color: #1D4ED8; font-weight: 800; }
.sys-msg { align-self: center; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: #DCFCE7; color: #15803D; border-radius: 999px; padding: 5px 12px; }
.relay { align-self: stretch; display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--arthur); border-radius: 16px; padding: 12px; }
.relay > div:not(.agent-avatar) { flex: 1; }
.relay b { display: block; font-family: var(--font-head); font-size: 14px; }
.relay span { font-size: 12px; color: var(--muted); }
.relay-btns { display: flex; gap: 6px; margin-top: 8px; }
.relay-btns button, .pick-btns button, .pause-btns button { border: 0; border-radius: 10px; padding: 7px 12px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
.btn-fill { background: var(--c, var(--arthur)); color: #fff; }
.btn-line { background: #fff; border: 1.5px solid var(--border) !important; color: var(--text); }
.pick { align-self: stretch; background: #fff; border: 1.5px solid #C7D2FE; border-radius: 16px; padding: 12px; }
.pick-q { font-family: var(--font-head); font-weight: 900; font-size: 14.5px; margin-bottom: 8px; }
.pick-btns { display: flex; flex-direction: column; gap: 6px; }
.pick-btns button { display: flex; align-items: center; gap: 10px; background: #F8F7FF; border: 1.5px solid var(--border) !important; text-align: left; font-size: 13px; padding: 8px 10px; }
.pick-btns button:hover { border-color: var(--c) !important; }
.pick-btns button em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.pick-btns button.waiting { opacity: .6; }
.pause { align-self: stretch; background: linear-gradient(135deg, #EEF2FF, #FDF2F8); border: 1.5px solid #E0E7FF; border-radius: 16px; padding: 14px; }
.pause b { font-family: var(--font-head); font-size: 15px; display: block; }
.pause ul { margin: 8px 0 10px 18px; font-size: 12.5px; color: #374151; }
.pause-btns { display: flex; gap: 6px; }
.copie { align-self: flex-end; position: relative; width: 170px; height: 200px; background: #FFFDF5; background-image: repeating-linear-gradient(#FFFDF5 0 15px, #DBEAFE 15px 16px); border: 3px solid #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.12); padding: 10px; font-family: 'Comic Sans MS', cursive; font-size: 10.5px; line-height: 16px; color: #374151; }
.copie b { color: #B91C1C; }
.copie .zone { position: absolute; left: 6px; right: 6px; height: 20px; border: 2px solid transparent; border-radius: 6px; transition: all .2s; }
.copie .zone em { position: absolute; right: -10px; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: #DC2626; color: #fff; font-style: normal; font-family: var(--font-head); font-weight: 900; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.copie .zone.on { border-color: #DC2626; background: rgba(220,38,38,.08); }
.err-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.err-list button { display: flex; gap: 8px; align-items: flex-start; text-align: left; border: 1.5px solid #FECACA; background: #fff; border-radius: 10px; padding: 7px 9px; font: inherit; font-size: 12.5px; cursor: pointer; }
.err-list button em { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: #DC2626; color: #fff; font-style: normal; font-weight: 900; font-size: 10px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.err-list button.on { border-color: #DC2626; background: #FEF2F2; }
.u-photos { align-self: flex-end; display: flex; gap: 6px; }
.u-photos span { width: 62px; height: 76px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); background: #FFFDF5; background-image: repeating-linear-gradient(#FFFDF5 0 9px, #DBEAFE 9px 10px); font-size: 9px; font-weight: 800; color: #B91C1C; padding: 4px; }
.u-paste { align-self: flex-end; display: flex; gap: 8px; align-items: center; background: #6366F1; color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 12px; font-size: 13px; max-width: 75%; }
.u-paste em { display: block; font-style: normal; font-size: 11px; opacity: .8; }
/* header balance + demo bar */
.tp-bal { border: 0; background: rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; display: flex; align-items: center; gap: 4px; cursor: pointer; margin-left: auto; margin-right: 6px; }
.demo-bar { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 11px; color: #6B7280; font-weight: 600; max-width: 390px; }
.demo-bar button { border: 1.5px dashed #C7C5D9; background: #fff; border-radius: 999px; padding: 3px 9px; font: inherit; font-weight: 700; color: #4B5563; cursor: pointer; }
.demo-bar button:hover { border-color: #6366F1; color: #4338CA; }
/* recording strip, paste card, counter */
.enf05-rec, .enf05-paste { display: none; position: absolute; left: 10px; right: 10px; bottom: 136px; z-index: 13; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.15); padding: 10px 12px; align-items: center; gap: 10px; }
.enf05-rec.on, .enf05-paste.on { display: flex; }
.enf05-rec .dot { width: 10px; height: 10px; border-radius: 50%; background: #EF4444; animation: enfxBlink 1s infinite; }
@keyframes enfxBlink { 50% { opacity: .3; } }
.enf05-rec .t { font-family: var(--font-head); font-size: 13px; width: 70px; }
.enf05-rec .bar { flex: 1; height: 6px; background: #FEE2E2; border-radius: 999px; overflow: hidden; }
.enf05-rec .bar i { display: block; height: 100%; width: 0; background: #EF4444; }
.enf05-rec em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.enf05-paste .pc-ic { width: 36px; height: 36px; border-radius: 10px; background: #EEF2FF; color: #4338CA; display: flex; align-items: center; justify-content: center; }
.enf05-paste > div:nth-child(2) { flex: 1; }
.enf05-paste b { display: block; font-family: var(--font-head); font-size: 13px; }
.enf05-paste span { font-size: 11.5px; color: var(--muted); }
.pc-x { border: 0; background: #F3F4F6; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #4B5563; }
.enf05-count { position: absolute; right: 150px; top: -20px; font-size: 10.5px; font-weight: 800; color: var(--muted); background: #fff; border-radius: 999px; padding: 1px 7px; box-shadow: 0 1px 4px rgba(0,0,0,.1); display: none; }
.enf05-count.on { display: block; } .enf05-count.max { color: #DC2626; }
.enf05-btn-voice { touch-action: none; user-select: none; }
/* gallery */
.gp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gp-th { position: relative; aspect-ratio: 3/4; border: 2px solid transparent; border-radius: 12px; background: #FFFDF5; background-image: repeating-linear-gradient(#FFFDF5 0 11px, #DBEAFE 11px 12px); cursor: pointer; padding: 6px; text-align: left; font-family: 'Comic Sans MS', cursive; font-size: 11px; color: #B91C1C; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gp-th em { position: absolute; bottom: 6px; left: 6px; font-style: normal; font-family: var(--font-head); font-size: 10px; background: #FEE2E2; color: #B91C1C; border-radius: 6px; padding: 1px 5px; }
.gp-th i { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; color: transparent; }
.gp-th.on { border-color: var(--pythagore); }
.gp-th.on i { background: var(--pythagore); color: #fff; }
.gp-th.shake { animation: enfxShake .35s; }
.gp-note { font-size: 11.5px; color: var(--muted); text-align: center; }
/* voice mode */
.vm { background: radial-gradient(circle at 50% 35%, #2554D6, #0F2E86); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 46px 20px 30px; gap: 14px; }
.vm-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; }
.vm-bal { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.15); padding: 6px 10px; border-radius: 999px; }
.vm-stage { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.vm-av { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.12); position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; }
.vm-av img { width: 100%; height: auto; }
.vm-rings i { position: absolute; inset: 25px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); opacity: 0; }
.vm.speaking .vm-rings i { animation: vmRing 1.8s ease-out infinite; }
.vm.speaking .vm-rings i:nth-child(2) { animation-delay: .6s; } .vm.speaking .vm-rings i:nth-child(3) { animation-delay: 1.2s; }
@keyframes vmRing { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.vm.listening .vm-av { box-shadow: 0 0 0 6px #F472B6; }
.vm-who { font-family: var(--font-head); font-weight: 800; font-size: 14px; opacity: .85; }
.vm-text { min-height: 110px; text-align: center; font-size: 17px; line-height: 1.45; font-weight: 600; padding: 0 6px; }
.vm-ans { display: none; gap: 8px; }
.vm.ask .vm-ans { display: flex; }
.vm-ans button { border: 0; background: #fff; color: var(--pythagore); border-radius: 12px; padding: 10px 14px; font-family: var(--font-head); font-weight: 800; font-size: 14px; cursor: pointer; }
.vm-ans .f { display: none; font-size: 26px; }
.young .vm-ans .w { display: none; } .young .vm-ans .f { display: inline; }
.vm-ctrl { margin-top: auto; }
.vm-stop { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: #EF4444; color: #fff; width: 76px; height: 76px; border-radius: 50%; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 11px; cursor: pointer; box-shadow: 0 8px 20px rgba(239,68,68,.4); }
.vm-close { background: rgba(255,255,255,.15) !important; }
/* PAR-06 recap */
.par-recap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.par-recap span { border-radius: 999px; padding: 3px 9px; font-weight: 800; font-size: 11px; }
.par-recap .acq { background: #DCFCE7; color: #15803D; } .par-recap .rev { background: #FEF3C7; color: #B45309; } .par-recap .nc { background: #FEE2E2; color: #B91C1C; }

/* ENF-08 v2 : vertical subject cards, exam + revision dates */
.enfx-form .enfx-picks { grid-template-columns: repeat(3, minmax(0,1fr)); }
.enfx-form .enfx-pick { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 4px 9px; min-width: 0; }
.enfx-form .enfx-pick span { font-size: 11.5px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.enfx-form .enfx-pick.on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.enfx-form .enfx-pick.on .agent-avatar { box-shadow: 0 0 0 2px #fff; }
.dt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dt-tab { border: 1.5px solid var(--border); background: #fff; border-radius: 14px; padding: 9px 10px; text-align: left; cursor: pointer; font: inherit; }
.dt-tab em { display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dt-tab b { display: block; font-family: var(--font-head); font-size: 13.5px; margin-top: 2px; }
.dt-tab.on { border-color: #6366F1; box-shadow: 0 0 0 3px #E0E7FF; }
.dt-tab[data-mode="exam"].on em { color: var(--sel, var(--darwin)); }
.dt-tab[data-mode="rev"].on em { color: #BE185D; }
.rev-chips { display: none; gap: 6px; flex-wrap: wrap; }
.rev-chips.show { display: flex; }
.rev-chips button { border: 1.5px solid #F9A8D4; background: #fff; color: #BE185D; border-radius: 999px; padding: 6px 11px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
.rev-chips button.on { background: #EC4899; border-color: #EC4899; color: #fff; }
.dt-help { font-size: 11.5px; color: var(--muted); margin-top: -4px; }
.enfx-form.mode-rev .enfx-cal-grid span.plan { box-shadow: inset 0 0 0 2px #EC4899; }
.enfx-plan .ex { background: color-mix(in srgb, var(--sel, var(--darwin)) 8%, #fff); margin: 0 -14px; padding: 10px 14px !important; border-radius: 0 0 14px 14px; }
.enfx-plan .ex .d, .enfx-plan .ex em { color: var(--sel, var(--darwin)); font-weight: 800; }

.enfx-cal-grid span.has-ex { position: relative; }
.enfx-cal-grid span.has-ex::after { content: ''; position: absolute; bottom: 3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--exc); box-shadow: 0 0 0 1.5px #fff; }
.dt-same { display: none; font-size: 12px; line-height: 1.45; border-radius: 12px; padding: 9px 11px; }
.dt-same.ok { display: block; background: #EEF2FF; color: #3730A3; }
.dt-same.warn { display: block; background: #FEF2F2; color: #B91C1C; }

/* ============================================================
   PAR — espace parent (PAR-01 → PAR-12)
   ============================================================ */
.parx { background: #F6F7FB; }
#par01 .artboard, #par02 .artboard, #par03 .artboard, #par06 .artboard, #par07 .artboard, #par08 .artboard, #par10 .artboard { overflow: hidden; min-height: 844px; }
.px-hdr { background: var(--hdr-par); color: #fff; padding: 46px 18px 18px; border-radius: 0 0 20px 20px; flex-shrink: 0; }
.px-kid { border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; flex-shrink: 0; }
.px-nav .bottom-nav-item { font-size: 10px; }
.px-nav .bottom-nav-item.active { color: #312E81; }
.px-nav .bottom-nav-item.active .bnav-icon { background: #E0E7FF; }
.px-nav .bnav-icon .px-kid { box-shadow: 0 0 0 2px #fff; }
.px-ktabs span { cursor: pointer; }
.px-note { font-size: 11.5px; color: var(--muted); line-height: 1.45; display: flex; gap: 6px; align-items: flex-start; }
.px-note svg { flex-shrink: 0; margin-top: 1px; }
.px-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; padding: 6px 0; }
.px-check svg { color: #16A34A; flex-shrink: 0; margin-top: 2px; }
.px-info, .px-warn { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px; font-size: 12.5px; line-height: 1.5; }
.px-info { background: #EEF2FF; color: #3730A3; } .px-warn { background: #FEF2F2; color: #991B1B; }
.px-info b, .px-warn b { display: block; font-family: var(--font-head); font-size: 13.5px; }
.px-info svg, .px-warn svg { flex-shrink: 0; }
.px-danger { border: 1.5px solid #FECACA; background: #fff; color: #DC2626; border-radius: 12px; padding: 12px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.px-reset { border: 1.5px solid #C7D2FE; background: #fff; color: #3730A3; border-radius: 10px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; flex-shrink: 0; }
.px-reset.hot { background: #312E81; border-color: #312E81; color: #fff; }
.px-reset.done { background: #DCFCE7; border-color: #BBF7D0; color: #15803D; }
.px-link { color: #4338CA; font-weight: 800; font-size: 13px; cursor: pointer; }
.px-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* PAR-01 */
.px-onb { gap: 14px; }
.px-steps-bar { height: 6px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.px-steps-bar i { display: block; height: 100%; background: var(--hdr-par); border-radius: 999px; transition: width .3s; }
.px-steps-lbl { display: flex; justify-content: space-between; margin-top: 6px; }
.px-steps-lbl span { font-size: 9.5px; font-weight: 800; color: #9CA3AF; text-transform: uppercase; letter-spacing: .03em; }
.px-steps-lbl span.on { color: #312E81; }
.px-step { display: none; flex-direction: column; gap: 10px; min-height: 380px; }
.px-step.on { display: flex; }
.px-step h3 { font-family: var(--font-head); font-size: 21px; font-weight: 900; }
.px-step p { font-size: 14px; color: #4B5563; line-height: 1.5; }
.px-hero-ic { width: 76px; height: 76px; border-radius: 22px; background: #EEF2FF; color: #4338CA; display: flex; align-items: center; justify-content: center; margin: 10px 0 4px; }
.px-hero-ic.ok { background: #DCFCE7; color: #16A34A; border-radius: 50%; }
.px-qr-mini { width: 150px; height: 150px; border-radius: 16px; background: #fff; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: #312E81; align-self: center; }
.px-code-mini { align-self: center; font-family: var(--font-head); font-weight: 900; font-size: 26px; letter-spacing: .12em; color: #312E81; }
.px-onb-nav { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.px-onb-nav .enfx-btn { margin: 0; }
.px-onb[data-step="0"] .px-prev { visibility: hidden; }
.px-later { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; }
/* PAR-02 */
.px-form select.enfx-field, .px-form input.enfx-field, .parx textarea.enfx-field, .parx select.enfx-field { width: 100%; font: inherit; font-size: 14px; color: var(--text); appearance: auto; }
.px-quota { display: flex; align-items: center; gap: 8px; background: #EEF2FF; color: #3730A3; border-radius: 12px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; }
.px-locked { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.px-avs span:first-child { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #312E81; }
.px-subjs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.px-subj { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 4px 8px; cursor: pointer; font-size: 11.5px; font-weight: 700; text-align: center; }
.px-subj span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.px-subj i { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #D1D5DB; display: flex; align-items: center; justify-content: center; color: transparent; }
.px-subj.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.px-subj.on i { background: var(--c); border-color: var(--c); color: #fff; }
.px-subj.off { opacity: .4; pointer-events: none; }
.px-latin-note { font-size: 11.5px; color: var(--muted); margin-top: -4px; }
.px-goals { display: flex; flex-direction: column; gap: 8px; }
.px-goal { background: #fff; border: 1.5px solid var(--border); border-left: 4px solid var(--c); border-radius: 12px; padding: 10px 12px; }
.px-goal b { font-family: var(--font-head); font-size: 13.5px; }
.px-goal .gchips { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.px-goal .gchips span { border: 1.5px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 11.5px; font-weight: 800; cursor: pointer; color: #4B5563; }
.px-goal .gchips span.on { background: #312E81; border-color: #312E81; color: #fff; }
.px-goal input { margin-top: 7px; width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; display: none; }
.px-goal.exam input { display: block; }
.px-mini-seg { width: 150px; padding: 3px; }
.px-mini-seg span { padding: 5px 4px; font-size: 12px; }
.px-range { width: 140px; accent-color: #312E81; }
.px-dep { font-size: 11.5px; color: var(--muted); background: #F3F4F6; border-radius: 10px; padding: 8px 10px; }
/* PAR-03 */
.px-who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.px-who button { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 8px 10px; font-family: var(--font-head); font-weight: 800; font-size: 14px; cursor: pointer; }
.px-who button.on { border-color: #312E81; box-shadow: 0 0 0 3px #E0E7FF; }
.px-devtype span { cursor: pointer; }
.px-devhelp { font-size: 12px; color: var(--muted); margin-top: -4px; }
.px-codecard { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.px-qr { width: 170px; height: 170px; border-radius: 8px; }
.px-codecard.expired .px-qr { opacity: .15; }
.px-code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 30px; letter-spacing: .14em; color: #312E81; }
.px-timer { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.px-timer b { color: #312E81; font-family: ui-monospace, monospace; }
.px-codecard.expired .px-timer b { color: #DC2626; }
.px-regen { display: flex; align-items: center; gap: 6px; }
.px-codehelp { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.45; }
.px-devlist { display: flex; flex-direction: column; gap: 6px; }
.px-devkid { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.px-dev { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px; color: #4B5563; transition: opacity .3s; }
.px-dev > div { flex: 1; min-width: 0; }
.px-dev b { display: block; font-size: 13.5px; color: var(--text); }
.px-dev span { font-size: 11px; color: var(--muted); }
.px-disc { border: 0; background: #FEF2F2; color: #DC2626; border-radius: 9px; padding: 6px 9px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; cursor: pointer; flex-shrink: 0; }
.px-dev.gone { opacity: .45; } .px-dev.gone .px-disc { background: #F3F4F6; color: var(--muted); }
.px-pinreq { display: flex; align-items: center; gap: 10px; background: #FFF7ED; border: 1.5px solid #FED7AA; border-radius: 14px; padding: 10px 12px; }
.px-pinreq > div { flex: 1; } .px-pinreq b { display: block; font-family: var(--font-head); font-size: 13.5px; } .px-pinreq span { font-size: 11.5px; color: var(--muted); }
/* PAR-04 */
.px-trial { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg,#312E81,#6366F1); color: #fff; border-radius: 16px; padding: 12px 14px; }
.px-trial > div { flex: 1; } .px-trial b { display: block; font-family: var(--font-head); font-size: 14px; } .px-trial span { font-size: 11.5px; opacity: .85; }
.px-trial button { border: 0; background: #fff; color: #312E81; border-radius: 10px; padding: 8px 12px; font-family: var(--font-head); font-weight: 800; font-size: 12.5px; cursor: pointer; }
.px-kidcard { background: #fff; border: 1.5px solid var(--border); border-top: 4px solid var(--k); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.px-kc-top { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.px-kc-top > div { flex: 1; } .px-kc-top b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--text); } .px-kc-top span { font-size: 12px; }
.px-kc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.px-kc-grid > div { background: #F8F7FF; border-radius: 12px; padding: 8px 10px; }
.px-kc-grid em { display: block; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.px-kc-grid b { font-family: var(--font-head); font-size: 17px; } .px-kc-grid b.ok { color: #16A34A; } .px-kc-grid b.warn { color: #D97706; }
.px-avrow { display: flex; gap: 2px; margin-top: 3px; }
.px-kc-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #374151; }
.px-kc-row svg { color: var(--muted); flex-shrink: 0; }
.px-vbar { flex: 1; height: 6px; border-radius: 999px; background: #EEEDF7; overflow: hidden; display: block; margin-left: 4px; }
.px-vbar i { display: block; height: 100%; background: #6366F1; }
.px-addkid { display: flex; align-items: center; justify-content: center; gap: 8px; }
/* PAR-05 */
.px-src { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 11px; }
.px-subjs-card { padding-top: 6px; }
.px-subjrow { border-bottom: 1px solid #F1F0F7; }
.px-sr-head { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; border: 0; background: none; padding: 10px 0; cursor: pointer; text-align: left; font: inherit; }
.px-sr-head > div:nth-child(2) b { display: block; font-family: var(--font-head); font-size: 14px; }
.px-sr-head > div:nth-child(2) span { font-size: 11px; color: var(--muted); }
.px-sr-head .enfx-stack { grid-column: 1 / -1; }
.px-notions { display: none; padding: 0 0 10px; }
.px-subjrow.open .px-notions { display: block; }
.px-notion { display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 8px; border-left: 3px solid var(--c); margin: 4px 0; font-size: 13px; }
.px-notion b { flex: 1; font-weight: 700; } .px-notion em { font-style: normal; font-size: 11px; color: var(--muted); }
.px-notion .st { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.px-notion .st.a { background: #22C55E; } .px-notion .st.e { background: #F59E0B; } .px-notion .st.c { background: #F472B6; } .px-notion .st.n { background: #E5E7EB; }
.px-assid { display: flex; align-items: center; gap: 6px; font-size: 13px; } .px-assid b { color: #312E81; }
.px-weeks { display: grid; grid-template-columns: repeat(8,1fr); gap: 6px; height: 120px; align-items: end; }
.px-wk { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.px-wk i { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#6366F1,#312E81); display: block; }
.px-wk span { font-size: 10px; color: var(--muted); font-weight: 700; }
.px-journal { display: flex; flex-direction: column; gap: 6px; }
.px-journal > div { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 9px 11px; }
.px-journal b { display: block; font-size: 13.5px; margin-top: 3px; } .px-journal em { font-style: normal; font-size: 11px; color: var(--muted); }
.tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 2px 6px; }
.tag.need { background: #FEF3C7; color: #B45309; } .tag.fix { background: #E0E7FF; color: #3730A3; } .tag.ok { background: #DCFCE7; color: #15803D; } .tag.conf { background: #CCFBF1; color: #0F766E; }
.px-report { display: flex; align-items: center; justify-content: center; gap: 8px; }
/* PAR-06 */
.px-agf span { cursor: pointer; }
.px-sesslist { display: flex; flex-direction: column; gap: 8px; }
.px-sess { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--muted); }
.px-sess > div:nth-child(2) { flex: 1; min-width: 0; }
.px-sess b { display: block; font-family: var(--font-head); font-size: 14px; color: var(--text); }
.px-sess > div > span { font-size: 11.5px; }
.px-sess .par-recap { margin: 6px 0 0; }
.px-sess.hide { display: none; }
.px-read .bubble { font-size: 13.5px; }
/* PAR-07 */
.px-split { display: flex; border-radius: 10px; overflow: hidden; font-size: 12px; font-weight: 800; color: #fff; }
.px-split div { padding: 8px 10px; transition: flex .2s; white-space: nowrap; }
.px-split .lea { background: #EC4899; } .px-split .tom { background: #0891B2; text-align: right; }
.px-vsplit { width: 100%; }
.px-prio { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.px-prio span { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--c); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 12.5px; font-weight: 700; }
.px-prio button { border: 0; background: none; color: #4338CA; font-weight: 800; font-size: 12.5px; cursor: pointer; }
/* PAR-08 */
.px-plan { background: #fff; border: 2px solid #312E81; border-radius: 18px; padding: 14px; }
.px-plan-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.px-badge { align-self: flex-start; background: #312E81; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 6px; padding: 2px 7px; }
.px-plan-top > b { font-family: var(--font-head); font-size: 20px; }
.px-price { font-size: 13px; color: var(--muted); } .px-price b { font-family: var(--font-head); font-size: 20px; color: #312E81; }
.px-period span { cursor: pointer; } .px-period em { font-style: normal; color: #16A34A; font-size: 11px; }
.px-pay { display: flex; flex-direction: column; gap: 8px; }
.px-pay label { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; cursor: pointer; }
.px-pay label > div { flex: 1; } .px-pay b { display: block; font-size: 13.5px; } .px-pay span:not(.px-twint) { font-size: 11.5px; color: var(--muted); }
.px-pay label > i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C7C5D9; }
.px-pay label.on { border-color: #312E81; } .px-pay label.on > i { border: 6px solid #312E81; }
.px-twint { background: #000; color: #fff; font-weight: 900; font-size: 9px; border-radius: 6px; padding: 5px 4px; letter-spacing: .02em; }
.px-invrow { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid #F1F0F7; align-items: center; }
.px-invrow:last-child { border-bottom: 0; }
.px-invrow b { font-size: 13.5px; } .px-invrow span { grid-column: 1; font-size: 11.5px; color: var(--muted); }
.px-invrow button { grid-row: 1 / span 2; grid-column: 2; border: 0; background: #F3F4F6; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; color: #4B5563; display: flex; align-items: center; justify-content: center; }
/* PAR-09 */
.px-lang { display: flex; gap: 6px; }
.px-lang span { flex: 1; text-align: center; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 9px 4px; font-size: 13px; font-weight: 800; }
.px-lang span.on { border-color: #312E81; background: #EEF2FF; color: #312E81; }
.px-lang .soon { color: #9CA3AF; } .px-lang em { display: block; font-style: normal; font-size: 10px; font-weight: 700; }
.px-nthead, .px-ntrow { display: grid; grid-template-columns: 1fr 56px 56px; align-items: center; gap: 4px; }
.px-nthead { padding: 10px 0 6px; font-size: 11px; font-weight: 800; color: var(--muted); }
.px-nthead span { display: flex; align-items: center; gap: 3px; justify-content: center; }
.px-ntrow { padding: 10px 0; border-top: 1px solid #F1F0F7; }
.px-ntrow b { display: block; font-size: 13.5px; } .px-ntrow > div > span { font-size: 11px; color: var(--muted); }
.px-ntrow .enfx-toggle { justify-self: center; }
.enfx-toggle.locked { opacity: .55; cursor: not-allowed; }
/* PAR-10 */
.px-exp { display: flex; gap: 6px; }
.px-exp button { border: 1.5px solid #C7D2FE; background: #fff; color: #3730A3; border-radius: 9px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
/* PAR-11 */
.px-contact { gap: 8px; }
.px-mail { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #312E81; font-weight: 800; justify-content: center; }
.px-req { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #F1F0F7; }
.px-req:last-child { border-bottom: 0; }
.px-req b { display: block; font-size: 13.5px; } .px-req span { font-size: 11.5px; color: var(--muted); }
.px-st { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.px-st.done { background: #DCFCE7; color: #15803D; } .px-st.wip { background: #FEF3C7; color: #B45309; } .px-st.new { background: #E0E7FF; color: #3730A3; }
/* PAR-12 */
.px-share { display: flex; flex-direction: column; gap: 8px; }
.px-share label { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.px-share label b { flex: 1; font-size: 14px; }
.px-co { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1F0F7; }
.px-co:last-child { border-bottom: 0; }
.px-co > div { flex: 1; } .px-co b { display: block; font-size: 13.5px; } .px-co span:not(.px-kid) { font-size: 11.5px; color: var(--muted); }
.px-remove { border: 0; background: #FEF2F2; color: #DC2626; border-radius: 9px; padding: 6px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; cursor: pointer; }
.px-co.pending .px-remove { background: #F3F4F6; color: var(--muted); }

.px-steps-lbl span { display: none; }
.px-steps-lbl span.cur { display: block; color: #312E81; font-size: 11px; }
.enfx-toggle-row .px-kid, .px-who .px-kid, .px-devkid .px-kid { display: inline-flex !important; color: #fff !important; }
.px-note { display: block; } .px-note svg { vertical-align: -2px; margin-right: 4px; }
.px-info b, .px-warn b { display: inline; font-size: inherit; }
.px-info > div > b:first-child, .px-warn > div > b:first-child { display: block; font-size: 13.5px; }
.px-steps-lbl span.cur::before { content: attr(data-n); }

/* ── PAR-01 tunnel d'inscription & onboarding ── */
#par01 .artboard { overflow: hidden; min-height: 844px; }
.tun { gap: 12px; }
.t-bar { height: 7px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.t-bar i { display: block; height: 100%; width: 11%; background: var(--hdr-par); border-radius: 999px; transition: width .3s; }
.t-lbl { font-size: 11.5px; color: var(--muted); margin-top: 6px; } .t-lbl b { color: #312E81; }
.t-step { display: none; flex-direction: column; gap: 10px; min-height: 470px; }
.t-step.on { display: flex; }
.t-step h3 { font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.t-step p { font-size: 13.5px; color: #4B5563; line-height: 1.5; }
.tun input.enfx-field, .tun select.enfx-field { width: 100%; font: inherit; font-size: 14px; color: var(--text); }
.tun .enfx-seg span { cursor: pointer; }
.t-magic { display: none; font-size: 12.5px; color: #3730A3; background: #EEF2FF; border-radius: 10px; padding: 9px 11px; }
.tun.magic .t-pwd { display: none; } .tun.magic .t-magic { display: block; }
.t-country { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-country button { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.t-country button em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.t-country button.on { border-color: #312E81; box-shadow: 0 0 0 3px #E0E7FF; }
.t-hint { font-size: 11.5px; color: var(--muted); line-height: 1.45; } .t-hint a { color: #4338CA; font-weight: 800; }
.t-chk { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; cursor: pointer; font-size: 13px; line-height: 1.45; }
.t-chk > i { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #C7C5D9; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: transparent; }
.t-chk.on { border-color: #312E81; } .t-chk.on > i { background: #312E81; border-color: #312E81; color: #fff; }
.t-chk b { font-weight: 700; } .t-chk a { color: #4338CA; font-weight: 800; font-size: 12px; }
.t-ts { display: block; font-style: normal; font-size: 10.5px; color: #16A34A; font-weight: 700; margin-top: 2px; }
.t-phone { display: flex; gap: 8px; } .t-prefix { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; font-weight: 800; }
.t-smsbox { display: none; flex-direction: column; gap: 8px; } .tun.sms-sent .t-smsbox { display: flex; }
.t-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.t-otp input { text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 20px; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 0; width: 100%; outline: none; }
.t-otp input:focus { border-color: #6366F1; box-shadow: 0 0 0 3px #E0E7FF; }
.t-otpok { display: none; align-items: center; gap: 6px; color: #16A34A; font-weight: 800; font-size: 13px; } .tun.sms-ok .t-otpok { display: flex; }
.t-mailbar { display: none; align-items: center; gap: 8px; background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 12px; padding: 8px 10px; font-size: 11.5px; line-height: 1.35; }
.t-mailbar svg { flex-shrink: 0; } .t-mailbar button { border: 0; background: none; color: #B45309; font-weight: 800; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.tun.mail-pending .t-mailbar { display: flex; }
.t-demo { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; border: 1.5px dashed #D4D2E3; border-radius: 10px; padding: 6px 9px; }
.t-plans { display: flex; flex-direction: column; gap: 8px; }
.t-plan { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; cursor: pointer; }
.t-plan > i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C7C5D9; flex-shrink: 0; margin-top: 2px; }
.t-plan.on { border-color: #312E81; } .t-plan.on > i { border: 6px solid #312E81; }
.t-plan b { display: block; font-family: var(--font-head); font-size: 14.5px; } .t-plan span { font-size: 12px; color: var(--muted); }
.t-plan.hide { display: none; }
.t-direct { display: none; flex-direction: column; gap: 8px; } .tun.plan-direct .t-direct { display: flex; }
.t-price { text-align: center; font-size: 12.5px; color: var(--muted); } .t-price b { font-family: var(--font-head); font-size: 24px; color: #312E81; }
.t-paynote { border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; background: #ECFDF5; color: #065F46; }
.t-paynote.debit { background: #EEF2FF; color: #3730A3; }
.t-stripe { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.t-st-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.t-st-head b { color: #635BFF; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.t-pm span { display: flex; align-items: center; justify-content: center; gap: 5px; }
.t-card { display: flex; flex-direction: column; gap: 8px; } .t-twint { display: none; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 6px 0; }
.t-stripe.twint .t-card { display: none; } .t-stripe.twint .t-twint { display: flex; }
.t-twint .px-twint { font-size: 14px; padding: 8px 10px; }
.t-twint p { font-size: 12.5px; color: #4B5563; }
.t-fill { border: 0; background: none; color: #4338CA; font-weight: 800; font-size: 12px; cursor: pointer; align-self: flex-start; }
.t-3ds { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: var(--muted); line-height: 1.4; } .t-3ds svg { flex-shrink: 0; }
.t-kids { display: flex; flex-direction: column; gap: 10px; }
.t-kid { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.t-kidquota { font-weight: 700; }
.t-addkid { display: flex; align-items: center; justify-content: center; gap: 8px; }
.t-addkid[disabled] { opacity: .45; cursor: not-allowed; }
.t-qr { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 20px; }
.t-qr .px-qr { width: 150px; height: 150px; }
.t-sum { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 4px 14px; }
.t-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F1F0F7; font-size: 13px; }
.t-sum div:last-child { border-bottom: 0; } .t-sum span { color: var(--muted); } .t-sum b { text-align: right; }
.t-nav { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.t-nav .enfx-btn { margin: 0; } .t-nav .enfx-btn[disabled] { opacity: .4; cursor: not-allowed; }
.tun[data-step="0"] .t-prev, .tun[data-step="8"] .t-prev { visibility: hidden; }
.t-skip { display: none; border: 0; background: none; color: #4338CA; font-weight: 800; font-size: 13px; cursor: pointer; }
.tun.optional .t-skip { display: block; }
.tun[data-step="0"] .t-later, .tun[data-step="8"] .t-later { display: none; }

.t-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-tiercard { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.t-tiercard.on { border-color: #312E81; box-shadow: 0 0 0 3px #E0E7FF; }
.t-tc-top b { display: block; font-family: var(--font-head); font-size: 15px; }
.t-tc-price { font-size: 11px; color: var(--muted); } .t-tc-price b { display: inline; font-size: 15px; color: #312E81; }
.t-tiercard ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.t-tiercard li { display: flex; gap: 5px; align-items: flex-start; font-size: 11.5px; line-height: 1.3; color: #374151; }
.t-tiercard li svg { flex-shrink: 0; color: #16A34A; margin-top: 1px; }
.t-tiercard li.star svg { color: #F59E0B; } .t-tiercard li.star { font-weight: 700; }
.t-tiercard li.all { font-weight: 800; color: #312E81; }
.t-level { font-size: 12px; color: #374151; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cy { font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.cy.c1 { background: #FCE7F3; color: #BE185D; } .cy.c2 { background: #E0F2FE; color: #0369A1; } .cy.c3 { background: #EDE9FE; color: #6D28D9; }
.t-levels { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 12px; }
.t-levels summary { font-weight: 800; font-size: 12.5px; color: #4338CA; padding: 10px 0; cursor: pointer; }
.t-levels table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 8px; }
.t-levels td { padding: 5px 0; border-top: 1px solid #F1F0F7; }

/* ── Grille tarifaire 10.1 (PUB-01, PUB-03) ── */
.pz-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
@container (max-width: 1000px) { .pz-grid { grid-template-columns: 1fr 1fr; } }
@container (max-width: 560px) { .pz-grid { grid-template-columns: 1fr; } }
.pz-card { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.pz-card.prem { border-color: #C7D2FE; box-shadow: 0 10px 24px rgba(79,70,229,.10); }
.pz-head b { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 900; line-height: 1.1; }
.pz-tier { font-family: var(--font-head); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prem .pz-tier { color: #4F46E5; }
.pz-kids { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #374151; margin-top: 4px; }
.pz-inc { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pz-inc li { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: #374151; line-height: 1.35; }
.pz-inc svg { color: #16A34A; flex-shrink: 0; margin-top: 1px; }
.pz-inc .pz-plus { font-weight: 800; color: #312E81; } .pz-inc .pz-plus svg { color: #F59E0B; }
.pz-voc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: #F3F4F6; border-radius: 10px; padding: 7px 10px; }
.pz-voc.on { background: #EEF2FF; color: #3730A3; } .pz-voc b { font-weight: 800; }
.pz-prices { display: flex; flex-direction: column; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: auto; }
.pz-p { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 12px; border-top: 1px solid #F1F0F7; }
.pz-p:first-child { border-top: 0; }
.pz-p span { font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.25; }
.pz-p em { font-style: normal; color: #16A34A; font-weight: 800; white-space: nowrap; }
.pz-p b { font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--text); white-space: nowrap; }
.pz-p small { font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.pz-band { background: linear-gradient(135deg, #4F46E5, #7C3AED); border-top: 0; position: relative; }
.pz-band::before { content: 'Recommandé'; position: absolute; top: -1px; right: 10px; transform: translateY(-50%); background: #F59E0B; color: #fff; font-family: var(--font-head); font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 999px; display: none; }
.pz-band span, .pz-band b, .pz-band small { color: #fff; } .pz-band em { color: #FDE68A; }
.pz-cta { border: 0; border-radius: 12px; padding: 11px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; cursor: pointer; background: #EEF2FF; color: #4338CA; }
.prem .pz-cta { background: var(--hdr-pub); color: #fff; }
.pz-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
@container (max-width: 760px) { .pz-extras { grid-template-columns: 1fr; } }
.pz-x { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 16px; }
.pz-x svg { flex-shrink: 0; color: #4F46E5; } .pz-x.exam svg { color: #C2410C; }
.pz-x b { display: block; font-family: var(--font-head); font-size: 15px; margin-bottom: 3px; }
.pz-x span { font-size: 12.5px; color: #4B5563; line-height: 1.45; }
.pz-tbd { display: inline !important; background: #FEF3C7; color: #B45309 !important; font-size: 12px !important; font-weight: 800; border-radius: 6px; padding: 1px 6px; }
.pz-table { margin-top: 22px; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; overflow: hidden; }
.pz-table-h { padding: 14px 18px; font-family: var(--font-head); font-weight: 900; font-size: 16px; border-bottom: 1.5px solid var(--border); display: flex; justify-content: space-between; }
.pz-table-h span { font-size: 12px; color: var(--muted); font-weight: 700; }
.pz-table table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.pz-table th { padding: 10px 12px; font-size: 12px; font-weight: 800; text-align: center; background: var(--bg); }
.pz-table td { padding: 9px 12px; text-align: center; border-top: 1px solid var(--border); }
.pz-table td:first-child { text-align: left; font-weight: 600; }
.pz-table em { font-style: normal; color: #16A34A; font-weight: 800; font-size: 11px; }
.pz-tr-price td { font-family: var(--font-head); font-weight: 800; }
.pz-tr-band td { background: #EEF2FF; } .pz-tr-band td:first-child { color: #4338CA; }
.pub-pricing-section .pz-card { padding: 16px 14px 14px; }

.pz-hdr-note { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 6px; }
.t-disc { font-style: normal; color: #16A34A; font-weight: 800; }
.pz-voc { display: block; line-height: 1.4; } .pz-voc svg { vertical-align: -2px; margin-right: 4px; }

#par03 .artboard { overflow: hidden; min-height: 844px; }
.parx input.enfx-field, .parx select.enfx-field { width: 100%; font: inherit; font-size: 14px; color: var(--text); }
.px-quotabar { display: flex; justify-content: space-between; align-items: center; }
.px-quotac { font-size: 12px; color: var(--muted); font-weight: 700; } .px-quotac b { font-family: var(--font-head); font-size: 15px; color: #312E81; background: #E0E7FF; border-radius: 999px; padding: 2px 9px; margin-right: 4px; }
.px-kidlist { display: flex; flex-direction: column; gap: 6px; }
.px-kidrow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 9px 10px; cursor: pointer; text-align: left; font: inherit; }
.px-kidrow > div { flex: 1; min-width: 0; } .px-kidrow b { display: block; font-family: var(--font-head); font-size: 14.5px; } .px-kidrow > div > span { font-size: 11.5px; color: var(--muted); }
.px-kidrow.on { border-color: #312E81; box-shadow: 0 0 0 3px #E0E7FF; }
.px-cstate { font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.px-cstate.ok { background: #DCFCE7; color: #15803D; } .px-cstate.wait { background: #FEF3C7; color: #B45309; }
.px-addbtn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed #A5B4FC; background: #F5F7FF; color: #3730A3; border-radius: 14px; padding: 11px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; cursor: pointer; }
.px-addnote { font-size: 11.5px; color: var(--muted); margin-top: -4px; }

.px-kidsw { display: flex; align-items: center; margin-left: auto; padding-left: 8px; }
.px-kidsw button { border: 0; background: none; padding: 0; margin-left: -6px; border-radius: 50%; cursor: pointer; transition: transform .15s; }
.px-kidsw button .px-kid { box-shadow: 0 0 0 2px #312E81; opacity: .8; }
.px-kidsw button.on { z-index: 1; transform: scale(1.12); }
.px-kidsw button.on .px-kid { box-shadow: 0 0 0 2.5px #fff; opacity: 1; }
.px-kidsw button:hover .px-kid { opacity: 1; }
.px-nav .bottom-nav-item { font-size: 10.5px; }

/* ============================================================
   FULL RESPONSIVE — chaque écran = conteneur (container queries)
   Mobile < 700 · Tablette 700–999 · Desktop ≥ 1000 (largeur de l'écran, pas de la fenêtre)
   ============================================================ */
.screen-wrapper > .artboard, .screen-wrapper > .pub03 { container-type: inline-size; max-width: 100%; }
.screen-wrapper > .artboard-mobile { max-width: none; }
@media (max-width: 899px) {
  .canvas { display: flex; flex-direction: column; align-items: stretch; }
  .screen-wrapper { width: 100% !important; min-width: 0; }
  .screen-wrapper > .artboard, .screen-wrapper > .pub03 { width: 100% !important; }
}
@media (min-width: 900px) {
  .screen-wrapper > .artboard-desktop, .screen-wrapper > .pub03 { width: min(1200px, calc(100vw - 96px)); max-width: none; }
  #sys > .artboard { width: 680px; }
  .screen-wrapper > .artboard-mobile { width: 390px; }
}



/* Logo Lernix (PUB) */
.pub-logo-img { height: 30px; width: auto; display: block; flex-shrink: 0; }
.pub03-logo { height: 34px; margin: 0 auto 22px; filter: brightness(0) invert(1); }
@container (max-width: 767px) { .pub-nav .pub-logo-img { height: 26px; filter: brightness(0) invert(1); } }

/* PUB : correctifs container */
.pub-steps { grid-template-columns: 1fr; }
@container (min-width: 600px) { .pub-steps { grid-template-columns: 1fr 1fr; } }
@container (min-width: 900px) { .pub-steps { grid-template-columns: repeat(4, 1fr); } }
@container (max-width: 640px) { .pub03-school-banner { flex-direction: column; align-items: stretch; padding: 22px 20px; text-align: left; } .pub03-school-btn { white-space: normal; } }
.canvas-header nav { max-width: 100%; }

/* Barre d'aperçu */
.canvas-header nav { flex: 1; min-width: 0; }
.pv-bar { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.pv-bar span { font-size: 11px; font-weight: 700; color: inherit; opacity: .7; padding: 0 6px 0 8px; }
.pv-bar button { border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pv-bar button.on { background: #fff; color: #4F46E5; }
.pv-bar button svg { flex-shrink: 0; }
@media (max-width: 600px) { .pv-bar { order: 3; width: 100%; justify-content: center; } }
@media (max-width: 420px) { .pv-bar button em { display: none; } .pv-bar span { display: none; } }

@media (min-width: 900px) { .canvas { display: flex; flex-wrap: wrap; align-items: flex-start; } }
body[data-preview] .canvas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; overflow-x: auto; }
body[data-preview] .screen-wrapper { width: auto; flex: 0 0 auto; max-width: none; }
body[data-preview="mobile"]  .screen-wrapper > .artboard, body[data-preview="mobile"]  .screen-wrapper > .pub03 { width: 390px !important; max-width: none !important; }
body[data-preview="tablet"]  .screen-wrapper > .artboard, body[data-preview="tablet"]  .screen-wrapper > .pub03 { width: 768px !important; max-width: none !important; }
body[data-preview="desktop"] .screen-wrapper > .artboard, body[data-preview="desktop"] .screen-wrapper > .pub03 { width: 1280px !important; max-width: none !important; }
body[data-preview] .screen-label::after { content: attr(data-pv); margin-left: 8px; font-weight: 700; color: #6366F1; }

/* ── ENF / PAR : tablette ── */
@container (min-width: 700px) {
  .artboard-mobile .enfx-hdr, .artboard-mobile .px-hdr, .artboard-mobile .enfx-qhdr { padding-top: 28px; padding-left: max(28px, calc((100% - 760px) / 2)); padding-right: max(28px, calc((100% - 760px) / 2)); border-radius: 0 0 28px 28px; }
  .artboard-mobile .enfx-body { padding-left: max(28px, calc((100% - 760px) / 2)); padding-right: max(28px, calc((100% - 760px) / 2)); padding-top: 24px; gap: 14px; }
  .artboard-mobile .bottom-nav { justify-content: center; gap: clamp(24px, 6cqw, 64px); }
  .artboard-mobile .bottom-nav-item { font-size: 12px; }
  .artboard-mobile .enfx-sheet { left: auto; width: min(480px, 100%); box-shadow: -18px 0 40px rgba(26,26,46,.18); border-radius: 24px 0 0 24px; }
  .artboard-mobile .enfx-sheet:not(.open) { transform: translateX(100%); }
  .artboard-mobile .enfx-toast { bottom: 110px; }
  /* ENF-04 liste des tuteurs en 2 colonnes */
  .artboard-mobile .enf04-reco { margin-left: max(28px, calc((100% - 760px) / 2)); margin-right: max(28px, calc((100% - 760px) / 2)); }
  .artboard-mobile .enf04-list-title { padding-left: max(28px, calc((100% - 760px) / 2)); padding-right: max(28px, calc((100% - 760px) / 2)); }
  .artboard-mobile .enf04-list { padding-left: max(28px, calc((100% - 760px) / 2)); padding-right: max(28px, calc((100% - 760px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .artboard-mobile .enf04-list > * { margin: 0 !important; }
  .artboard-mobile .enf04-search { margin-left: max(20px, calc((100% - 760px) / 2)); margin-right: max(20px, calc((100% - 760px) / 2)); }
  .artboard-mobile .enf05-messages { padding-left: max(24px, calc((100% - 820px) / 2)); padding-right: max(24px, calc((100% - 820px) / 2)); }
  .artboard-mobile .enf05-input-bar { padding-left: max(16px, calc((100% - 820px) / 2)); padding-right: max(16px, calc((100% - 820px) / 2)); }
}

/* ── ENF / PAR : desktop — barre latérale à la place de la nav du bas ── */
@container (min-width: 1000px) {
  .artboard-mobile:has(> .bottom-nav) > :not(.bottom-nav):not(.enfx-sheet):not(.enfx-scrim):not(.enfx-toast) { margin-left: 232px; }
  .artboard-mobile:has(> .bottom-nav) > :is(.enfx-hdr, .px-hdr, .enfx-qhdr) { border-radius: 0 0 0 28px; }
  .artboard-mobile:has(> .bottom-nav) > :is(.enfx-hdr, .px-hdr, .enfx-qhdr, .enfx-body) { padding-left: max(32px, calc((100% - 232px - 880px) / 2)); padding-right: max(32px, calc((100% - 232px - 880px) / 2)); }
  .artboard-mobile:has(> .bottom-nav) > .enfx-body { padding-bottom: 40px; }
  .artboard-mobile > .bottom-nav { position: absolute; top: 0; bottom: 0; left: 0; width: 232px; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; padding: 26px 14px; border-top: 0; border-right: 1px solid var(--border); z-index: 30; }
  .artboard-mobile > .bottom-nav::before { content: 'Lernix'; font-family: var(--font-head); font-weight: 900; font-size: 24px; padding: 0 12px 22px; background: var(--hdr-enf); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .artboard-mobile > .bottom-nav.px-nav::before { content: 'Lernix · Parent'; background: var(--hdr-par); -webkit-background-clip: text; background-clip: text; font-size: 20px; }
  .artboard-mobile > .bottom-nav .bottom-nav-item { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 8px 10px; border-radius: 14px; font-size: 14px; flex: 0 0 auto; }
  .artboard-mobile > .bottom-nav .bottom-nav-item.active { background: #EEF2FF; }
  .artboard-mobile > .bottom-nav .bottom-nav-item.active .bnav-icon { background: transparent; }
  .artboard-mobile > .bottom-nav .bnav-icon { width: 30px; }
  .artboard-mobile:has(> .bottom-nav) > .enfx-toast { bottom: 32px; left: calc(50% + 116px); }
  .artboard-mobile .enf04-list { grid-template-columns: repeat(3, 1fr); }
  .artboard-mobile:has(> .bottom-nav) > :is(.enf04-list, .enf04-list-title) { padding-left: 32px; padding-right: 32px; }
  .artboard-mobile:has(> .bottom-nav) > .enf04-reco { margin-left: 264px !important; margin-right: 32px !important; }
  .artboard-mobile:has(> .bottom-nav) > .enf04-search { margin-left: 264px !important; margin-right: 32px !important; }
}


/* ── Menu « Les tuteurs » (PUB-01 / PUB-02) ── */
a.pub-vignette { display: block; color: inherit; text-decoration: none; }
.pub-nav-links { align-items: center; }
.pub-dd { position: relative; display: flex; align-items: center; gap: 2px; }
.pub-dd::after { content: ''; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }
.pub-nav-links .pub-dd-trigger.is-current { color: #4F46E5; }
.pub-dd-caret { border: 0; background: none; color: inherit; padding: 4px; margin: 0; cursor: pointer; display: flex; color: var(--muted); border-radius: 6px; transition: transform .15s; }
.pub-dd:hover .pub-dd-caret, .pub-dd.open .pub-dd-caret { transform: rotate(180deg); }
.pub-dd-menu { display: none; position: absolute; top: calc(100% + 14px); left: -24px; width: 540px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 50px rgba(26,26,46,.18); padding: 14px; z-index: 60; text-align: left; }
.pub-dd:hover .pub-dd-menu, .pub-dd:focus-within .pub-dd-menu, .pub-dd.open .pub-dd-menu { display: block; }
.pub-dd-head { font-family: var(--font-head); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 2px 8px 10px; }
.pub-dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pub-nav .pub-dd-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--text) !important; }
.pub-nav .pub-dd-item:hover, .pub-nav .pub-dd-item:focus-visible, .pub-nav .pub-dd-item.on { background: #F5F3FF; outline: none; }
.pub-dd-item .agent-avatar { flex-shrink: 0; }
.pub-dd-item b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; line-height: 1.2; color: var(--text); }
.pub-dd-item em { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.pub-nav .pub-dd-all { display: block; margin-top: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--border); font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #4F46E5 !important; text-decoration: none; }
/* tablette : en-tête compact sur une ligne */
.pub-nav-links a, .pub-nav-cta button { white-space: nowrap; }
@container (min-width: 768px) and (max-width: 1023px) {
  .pub-nav { padding: 0 24px; gap: 16px; }
  .pub-nav-links { gap: 16px; }
  .pub-nav-links a { font-size: 13.5px; }
  .pub-nav-links .pub-nav-school { display: none; }
  .pub-nav-cta { gap: 8px; }
  .pub-nav-cta button { padding: 8px 12px; font-size: 13px; }
  .pub-dd-menu { left: -60px; }
}
/* burger + panneau mobile */
.pub-burger, .pub-mnav { display: none; }
@container (max-width: 767px) {
  .pub-nav { position: sticky; }
  .pub-burger { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; margin-left: auto; order: 2; }
  .pub-nav .pub-nav-cta { order: 3; width: 100%; padding-bottom: 10px; }
  .pub-nav .pub-nav-cta button { flex: 1; }
  .pub-mnav { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; box-shadow: 0 18px 40px rgba(26,26,46,.25); padding: 14px 16px 18px; border-radius: 0 0 20px 20px; }
  .pub-nav.menu-open .pub-mnav { display: block; }
  .pub-mnav-h { font-family: var(--font-head); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 2px 0 8px; }
  .pub-mnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 8px; }
  .pub-mnav-link { display: block; padding: 11px 4px; border-top: 1px solid var(--border); font-family: var(--font-head); font-weight: 800; font-size: 14.5px; color: var(--text) !important; text-decoration: none; }
}
/* PUB-02 : fil d’Ariane */
.pub02-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 32px 0; font-size: 12.5px; color: var(--muted); background: #fff; }
.pub02-crumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.pub02-crumb a:hover { color: #4F46E5; }
.pub02-crumb b { color: var(--text); font-weight: 700; }
.pub02-crumb code { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; background: #F5F3FF; color: #4338CA; padding: 2px 8px; border-radius: 6px; }
@container (max-width: 767px) { .pub02-crumb { padding: 10px 16px 0; } .pub02-crumb code { margin-left: 0; flex-basis: 100%; width: fit-content; } }

/* ── Liste d’attente (pré-lancement) ── */
.pub-beta { margin-left: 8px; align-self: center; font-family: var(--font-head); font-weight: 800; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #4F46E5; background: #EEF2FF; border: 1px solid #C7D2FE; padding: 2px 8px; border-radius: 999px; }
.pub-nav > .pub-nav-links { margin: 0 auto; }
@container (max-width: 767px) { .pub-beta { margin-right: auto; color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); } }
@media (min-width: 900px) { #pub05 { grid-column: span 3 !important; } }
.wl-form { font-family: var(--font-body); color: var(--text); }
.wl-badge { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #4F46E5; background: #EEF2FF; padding: 4px 10px; border-radius: 999px; }
.wl-title { font-family: var(--font-head); font-weight: 900; font-size: 24px; line-height: 1.2; margin: 12px 0 6px; color: var(--text); }
.wl-sub { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.wl-fields { display: flex; flex-direction: column; gap: 18px; margin: 22px 0 18px; }
.wl-field { margin: 0; border: 0; padding: 0; min-width: 0; }
.wl-label { display: block; font-family: var(--font-head); font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; color: var(--text); }
.wl-req { color: #DC2626; }
.wl-opt { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 2px; }
.wl-input { width: 100%; box-sizing: border-box; font: 500 15px var(--font-body); color: var(--text); background: #fff; border: 1.5px solid #D9D6EC; border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.wl-input::placeholder { color: #9CA3AF; }
.wl-input:hover { border-color: #A5B4FC; }
.wl-input:focus { border-color: #6366F1; box-shadow: 0 0 0 3px #E0E7FF; }
.wl-input[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 3px #FEE2E2; }
.wl-err { display: none; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #B91C1C; }
.wl-err.on { display: block; }
.wl-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wl-seg-opt { position: relative; cursor: pointer; }
.wl-seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-seg-opt span { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; border: 1.5px solid #D9D6EC; background: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #374151; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.wl-seg-opt:hover span { border-color: #A5B4FC; }
.wl-seg-opt input:checked + span { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.wl-seg-opt input:focus-visible + span { box-shadow: 0 0 0 3px #C7D2FE; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chip { position: relative; cursor: pointer; }
.wl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #D9D6EC; background: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #374151; transition: background .15s, border-color .15s, color .15s; }
.wl-chip:hover span { border-color: #A5B4FC; }
.wl-chip input:checked + span { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.wl-chip input:checked + span::before { content: '✓'; font-size: 12px; }
.wl-chip input:focus-visible + span { box-shadow: 0 0 0 3px #C7D2FE; }
.wl-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: #374151; }
.wl-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-box { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border: 2px solid #A5A3BD; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.wl-check input:checked + .wl-box { background: #4F46E5; border-color: #4F46E5; }
.wl-check input:checked + .wl-box::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.wl-check input:focus-visible + .wl-box { box-shadow: 0 0 0 3px #C7D2FE; }
.wl-check input[aria-invalid="true"] + .wl-box { border-color: #DC2626; }
.wl-privacy { color: #4F46E5; font-weight: 700; }
.wl-btn { position: relative; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 15px 18px; font-family: var(--font-head); font-weight: 900; font-size: 16px; color: #fff; background: linear-gradient(135deg, #4F46E5, #7C3AED); cursor: pointer; box-shadow: 0 8px 20px rgba(79,70,229,.28); transition: filter .15s, box-shadow .15s, transform .1s; outline: none; }
.wl-btn:hover, .wl-btn.is-hover { filter: brightness(1.08); box-shadow: 0 10px 26px rgba(79,70,229,.38); }
.wl-btn:active { transform: translateY(1px); }
.wl-btn:focus-visible, .wl-btn.is-focus { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #6366F1; }
.wl-btn:disabled { background: #E5E3F1; color: #9C99B5; box-shadow: none; cursor: not-allowed; filter: none; transform: none; }
.wl-btn.is-loading { cursor: progress; filter: none; background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.wl-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; animation: wlSpin .7s linear infinite; }
.wl-btn.is-loading .wl-spin { display: inline-block; }
@keyframes wlSpin { to { transform: rotate(360deg); } }
.wl-hint { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.wl-form.ready .wl-hint { visibility: hidden; }
.wl-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.wl-form.sent > :not(.wl-success) { display: none; }
.wl-success { text-align: center; padding: 10px 0; }
.wl-success-ic { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: flex; align-items: center; justify-content: center; animation: wlPop .35s ease; }
@keyframes wlPop { from { transform: scale(.6); opacity: 0; } }
.wl-success .wl-btn { margin-top: 20px; }
.wl-again { margin-top: 10px; border: 0; background: none; color: #4F46E5; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; }
/* fenêtre */
.wl-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wl-modal[hidden] { display: none; }
.wl-scrim { position: absolute; inset: 0; background: rgba(17,15,40,.55); backdrop-filter: blur(2px); animation: wlFade .2s ease; }
@keyframes wlFade { from { opacity: 0; } }
.wl-dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 28px 26px 22px; box-shadow: 0 30px 80px rgba(17,15,40,.35); animation: wlUp .25s ease; box-sizing: border-box; }
@keyframes wlUp { from { transform: translateY(16px); opacity: 0; } }
.wl-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #F3F4F6; color: #4B5563; font-size: 22px; line-height: 1; cursor: pointer; }
.wl-x:focus-visible { outline: 2px solid #6366F1; outline-offset: 2px; }
@media (max-width: 560px) {
  .wl-modal { align-items: flex-end; padding: 0; }
  .wl-dialog { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding: 24px 18px 20px; }
  .wl-title { font-size: 21px; }
}
/* écran PUB-05 */
.pub05 .wl-hero { padding: 36px 24px 90px; }
.wl-body { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 360px); gap: 28px; justify-content: center; align-items: start; margin-top: -70px; }
.wl-card { background: #fff; border-radius: 24px; padding: 28px 26px 22px; box-shadow: 0 18px 50px rgba(26,26,46,.14); }
.wl-spec { background: #fff; border: 1.5px dashed #C7C5D9; border-radius: 20px; padding: 18px 18px 8px; }
.wl-spec h3 { font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.wl-spec h3:not(:first-child) { margin-top: 20px; }
.wl-states { display: flex; flex-direction: column; gap: 10px; }
.wl-state { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; }
.wl-state .wl-btn { font-size: 14px; padding: 11px 12px; pointer-events: none; }
.wl-state > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.wl-rules { margin: 0 0 12px; padding-left: 18px; font-size: 13px; color: #374151; line-height: 1.5; }
.wl-rules li { margin: 4px 0; }
@container (max-width: 860px) { .wl-body { grid-template-columns: minmax(0, 1fr); margin-top: -60px; } }
@container (max-width: 640px) { .wl-card { padding: 22px 18px 18px; } .wl-title { font-size: 21px; } }

/* ── PUB-01 hero : fil de conversations animé ── */
@container (min-width: 768px) { .pub-hero-preview { width: 360px; } }
.hc { position: relative; height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 30px), transparent 100%); text-align: left; }
.hc-track { display: flex; flex-direction: column; gap: 14px; padding: 18px 4px 24px; will-change: transform; }
.hc-card { --c: #6366F1; position: relative; background: #fff; border-radius: 20px; padding: 14px 14px 14px 16px; box-shadow: 0 18px 40px rgba(10,8,40,.35), 0 2px 6px rgba(10,8,40,.18); color: var(--text); overflow: hidden; opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.hc-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.hc-card.in { opacity: 1; transform: none; }
.hc-card.out { opacity: 0; transform: translateY(-10px) scale(.97); }
.hc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hc-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.hc-av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hc-name { font-family: var(--font-head); font-weight: 900; font-size: 14px; line-height: 1.1; color: var(--text); }
.hc-subj { display: inline-block; margin-top: 3px; font-family: var(--font-head); font-weight: 800; font-size: 10.5px; letter-spacing: .02em; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); padding: 1px 8px; border-radius: 999px; }
.hc-live { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: #6B7280; }
.hc-live i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px #DCFCE7; }
.hc-q, .hc-a { font-size: 13px; line-height: 1.45; border-radius: 14px; padding: 9px 12px; max-width: 88%; }
.hc-q { margin-left: auto; width: fit-content; background: #EEF2FF; color: #312E81; border-bottom-right-radius: 4px; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.hc-q.show { opacity: 1; transform: none; }
.hc-a { margin-top: 8px; background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); color: var(--text); border-bottom-left-radius: 4px; min-height: 18px; opacity: 0; transition: opacity .3s ease; }
.hc-a.show { opacity: 1; }
.hc-dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.hc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); opacity: .35; animation: hcDot 1s infinite ease-in-out; }
.hc-dots i:nth-child(2) { animation-delay: .15s; } .hc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hcDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hc-caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--c); animation: hcBlink .8s steps(1) infinite; }
@keyframes hcBlink { 50% { opacity: 0; } }
@container (max-width: 767px) { .hc { height: 340px; max-width: 420px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .hc-card, .hc-q, .hc-a { transition: none; } .hc-dots i, .hc-caret { animation: none; } }
.pub-nav-links a.is-current { color: #4F46E5; }
.pub03 > .pub-nav { border-radius: 28px 28px 0 0; }

/* ── PUB-06 page cantonale ── */
.cx-head { margin: 8px 0 0; padding: 8px 10px; background: #1E1B4B; color: #E0E7FF; border-radius: 8px; font-size: 11px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }

@media (min-width: 900px) { #pub06 { grid-column: span 3 !important; } }
.cx-seo { display: grid; gap: 6px; padding: 12px 32px; background: #FFFBEB; border-bottom: 1px dashed #FCD34D; font-size: 12px; color: #78350F; }
.cx-seo > div { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.cx-seo span { flex: 0 0 112px; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 10.5px; color: #B45309; }
.cx-seo code { font-family: ui-monospace, Menlo, monospace; color: #4338CA; }
.cx-seo b { color: #1A1A2E; } .cx-seo em { font-style: normal; color: #374151; }
.cx-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(236,72,153,.25), transparent 60%), linear-gradient(135deg, #1A1A2E, #312E81); color: #fff; padding: 28px 48px 52px; }
.cx-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.cx-crumb a { color: rgba(255,255,255,.85); text-decoration: none; } .cx-crumb b { color: #fff; }
.cx-hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(28px, 4.4cqw, 46px); line-height: 1.12; margin: 0 0 14px; max-width: 760px; }
.cx-lead { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 680px; margin: 0 0 24px; }
.cx-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cx-hero .cx-cta { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.cx-cta-sec { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14.5px; text-decoration: none; padding: 12px 18px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; }
.cx-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; font-size: 13px; color: rgba(255,255,255,.85); }
.cx-trust li { display: flex; align-items: center; gap: 6px; } .cx-trust svg { color: #86EFAC; }
.cx-body { max-width: 980px; margin: 0 auto; padding: 8px 32px 48px; box-sizing: border-box; }
.cx-sec { margin-top: 44px; }
.cx-sec h2 { font-family: var(--font-head); font-weight: 900; font-size: 24px; margin: 0 0 6px; color: var(--text); }
.cx-intro { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.cx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cx-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px; }
.cx-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; margin: 12px 0 6px; }
.cx-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #4B5563; }
.cx-ic { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #EEF2FF; color: #4F46E5; flex-shrink: 0; }
.cx-tbc { display: inline-block; vertical-align: 2px; margin-left: 6px; font-family: var(--font-head); font-weight: 800; font-size: 10px; color: #B45309; background: #FEF3C7; border: 1px solid #FDE68A; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.cx-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: st; }
.cx-steps li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 16px; }
.cx-steps b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 15px; margin: 2px 0 4px; }
.cx-steps p { margin: 0; font-size: 13.5px; color: #4B5563; line-height: 1.5; }
.cx-tutors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cx-tutor { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.cx-tutor:hover { border-color: var(--c); transform: translateY(-2px); }
.cx-tutor b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.cx-tutor em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.cx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cx-compare > div { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.cx-compare .cx-lernix { border-color: #A5B4FC; background: linear-gradient(180deg, #F5F3FF, #fff); }
.cx-compare h3 { font-family: var(--font-head); font-weight: 900; font-size: 16px; margin: 0 0 8px; }
.cx-compare ul { margin: 0; padding-left: 18px; font-size: 14px; color: #374151; line-height: 1.7; }
.cx-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.pub06 .pf-q summary { font-size: 15px; }
.cx-cantons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cx-canton { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--text); text-decoration: none; background: #fff; border: 1.5px solid var(--border); padding: 9px 16px; border-radius: 999px; }
.cx-canton:hover { border-color: #6366F1; color: #4F46E5; }
.cx-canton.on { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.cx-todo-box { background: #FFFBEB; border: 1.5px dashed #FCD34D; color: #78350F; border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.55; margin-top: 12px; }
.cx-final { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(135deg, #4F46E5, #7C3AED); color: #fff; }
.cx-final h2 { font-family: var(--font-head); font-weight: 900; font-size: 21px; margin: 0 0 4px; color: #fff; }
.cx-final p { margin: 0; font-size: 14px; opacity: .9; max-width: 520px; }
.cx-final .cx-cta { background: #fff !important; color: #4F46E5 !important; padding: 12px 20px; border-radius: 12px; }
@container (max-width: 860px) { .cx-cards, .cx-steps { grid-template-columns: 1fr; } .cx-tutors { grid-template-columns: 1fr 1fr; } }
@container (max-width: 640px) {
  .cx-seo { padding: 10px 16px; } .cx-seo > div { flex-direction: column; gap: 2px; } .cx-seo span { flex: none; }
  .cx-hero { padding: 22px 18px 40px; } .cx-lead { font-size: 15px; }
  .cx-body { padding: 0 16px 36px; } .cx-sec { margin-top: 34px; } .cx-sec h2 { font-size: 21px; }
  .cx-tutors, .cx-compare { grid-template-columns: 1fr; }
  .cx-final { padding: 22px 20px; } .cx-final .cx-cta { width: 100%; }
}
/* option 4e-6e enfant (cartes Famille) */
.pz-opt { display: inline-block; margin: 6px 0 2px; font-size: 11.5px; font-weight: 700; color: #4338CA; background: #EEF2FF; border-radius: 8px; padding: 3px 8px; }
/* ── PUB-04 FAQ parents ── */
#pub01, #pub02, #pub03, #pub04, #pub05, #pub06 { grid-column: span 1 !important; }
@media (min-width: 1200px) { #pub04 { grid-column: span 3 !important; } }
.pub04 .pf-hdr { padding-bottom: 64px; }
.pub04 .pf-hdr h1 { font-size: clamp(28px, 5cqw, 38px); margin: 12px 0 10px; }
.pub04 .pf-hdr p { max-width: 600px; }
.pf-eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #C7D2FE; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; }
.pf-search { position: relative; max-width: 620px; margin: 0 auto; }
.pf-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6B7280; pointer-events: none; }
.pf-input { width: 100%; box-sizing: border-box; padding: 15px 44px 15px 48px; font: 500 15px var(--font-body); color: var(--text); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); outline: none; }
.pf-input:focus { box-shadow: 0 0 0 3px #A5B4FC, 0 10px 30px rgba(0,0,0,.25); }
.pf-input::-webkit-search-cancel-button { display: none; }
.pf-clear { display: none; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: #F3F4F6; color: #4B5563; font-size: 18px; line-height: 1; cursor: pointer; }
.pf-search.has-q .pf-clear { display: block; }
.pf-body { max-width: 900px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.pf-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 8px; position: relative; z-index: 1; }
.pf-cats a { font-family: var(--font-head); font-weight: 800; font-size: 13px; text-decoration: none; color: var(--text); background: #fff; border: 1.5px solid var(--border); padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(26,26,46,.06); transition: border-color .15s, color .15s; }
.pf-cats a:hover, .pf-cats a.on { border-color: #6366F1; color: #4F46E5; }
.pf-count { text-align: center; font-size: 12.5px; color: var(--muted); margin: 6px 0 0; min-height: 18px; }
.pf-empty { display: none; text-align: center; color: var(--muted); padding: 28px 0; }
.pf-empty a, .pf-a a, .pf-contact a { color: #4F46E5; font-weight: 700; }
.pf-cat { margin: 36px 0 0; scroll-margin-top: 80px; }
.pf-cat h2 { font-family: var(--font-head); font-weight: 900; font-size: 21px; margin: 0 0 4px; }
.pf-intro { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.pf-q { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; margin: 10px 0; transition: border-color .15s, box-shadow .15s; }
.pf-q[open] { border-color: #A5B4FC; box-shadow: 0 6px 18px rgba(79,70,229,.08); }
.pf-q summary { cursor: pointer; list-style: none; position: relative; padding: 16px 52px 16px 18px; font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1.35; }
.pf-q summary::-webkit-details-marker { display: none; }
.pf-q summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: #EEF2FF; color: #4F46E5; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.pf-q[open] summary::after { content: '−'; }
.pf-q summary:focus-visible { outline: 2px solid #6366F1; outline-offset: -2px; border-radius: 14px; }
.pf-badge { display: inline-block; vertical-align: 2px; margin-left: 8px; font-family: var(--font-head); font-weight: 800; font-size: 10.5px; color: #B45309; background: #FEF3C7; border: 1px solid #FDE68A; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.pf-cellval { border-bottom: 2px dotted #F59E0B; }
.pf-a { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.6; color: #374151; }
.pf-a p { margin: 0 0 10px; }
.pf-a ul, .pf-a ol { margin: 0 0 10px; padding-left: 22px; }
.pf-a li { margin: 4px 0; }
.pf-a strong { color: var(--text); }
.pf-key { background: #EEF2FF; border-radius: 10px; padding: 10px 12px; color: #312E81; }
.pf-table { overflow-x: auto; margin: 0 0 10px; border: 1px solid var(--border); border-radius: 12px; }
.pf-table table { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 520px; }
.pf-table th, .pf-table td { border-bottom: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: middle; }
.pf-table tr:last-child td { border-bottom: 0; }
.pf-table th { font-family: var(--font-head); font-weight: 800; color: var(--muted); font-size: 12px; background: #FAFAFF; }
.pf-tut { display: inline-flex; align-items: center; gap: 8px; }
.pf-tut .agent-avatar { flex-shrink: 0; }
.pf-tut b { line-height: 28px; }
.pf-table td.pf-nw { white-space: nowrap; }
.pf-q mark { background: #FDE68A; color: inherit; border-radius: 3px; padding: 0 1px; }
.pf-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 44px 0 8px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(135deg, #4F46E5, #7C3AED); color: #fff; }
.pf-contact h2 { font-family: var(--font-head); font-weight: 900; font-size: 19px; margin: 0 0 4px; }
.pf-contact p { margin: 0; font-size: 14px; opacity: .9; max-width: 460px; }
.pf-contact p a { color: #fff; }
.pf-contact-btn { flex-shrink: 0; background: #fff; color: #4F46E5 !important; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 14px; padding: 11px 18px; border-radius: 12px; }
@container (max-width: 640px) {
  .pub04 .pf-hdr { padding: 36px 18px 48px; }
  .pf-cats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 8px; padding: 2px 16px 6px; scrollbar-width: none; }
  .pf-cats::-webkit-scrollbar { display: none; }
  .pf-cats a { flex-shrink: 0; }
  .pf-q summary { font-size: 14.5px; padding: 14px 48px 14px 14px; }
  .pf-a { padding: 0 14px 14px; font-size: 14px; }
  .pf-badge { display: table; margin: 6px 0 0; }
  .pf-contact { padding: 20px; }
  .pf-contact-btn { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ── PUB-07 — guide des prix ── */
.sp-p { font-size: 16px; line-height: 1.7; color: #374151; margin: 0 0 18px; max-width: 760px; }
.sp-h3 { font-family: var(--font-head); font-weight: 900; font-size: 18px; margin: 26px 0 14px; color: var(--text); }
.sp-toc { margin-top: 32px; background: #F7F6FC; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px 22px; }
.sp-toc b { font-family: var(--font-head); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #4F46E5; }
.sp-toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.sp-toc a { color: var(--text); font-weight: 700; text-decoration: none; } .sp-toc a:hover { color: #4F46E5; text-decoration: underline; }
.sp-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.sp-price { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 20px; }
.sp-price h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; line-height: 1.3; margin: 0 0 12px; min-height: 42px; }
.sp-amount { display: flex; align-items: baseline; gap: 6px; padding: 10px 14px; background: #EEF2FF; border-radius: 12px; margin-bottom: 14px; }
.sp-amount b { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: #4F46E5; }
.sp-amount span { font-size: 13px; font-weight: 700; color: #4F46E5; }
.sp-price p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: #4B5563; }
.sp-price .sp-ideal { margin: 0; padding-top: 10px; border-top: 1px dashed var(--border); color: #374151; }
.sp-key { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 20px 22px; border-radius: 18px; background: #FFFBEB; border: 1.5px solid #FDE68A; }
.sp-key .cx-ic { background: #FEF3C7; color: #B45309; }
.sp-key h3 { font-family: var(--font-head); font-weight: 900; font-size: 17px; margin: 2px 0 6px; }
.sp-key p { margin: 0; font-size: 15px; line-height: 1.65; color: #4B5563; } .sp-key p b { color: #1A1A2E; }
.sp-reasons { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sp-reasons li { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px; }
.sp-num { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: 13px; color: #fff; background: linear-gradient(135deg, #4F46E5, #7C3AED); border-radius: 99px; padding: 4px 10px; margin-bottom: 10px; }
.sp-reasons b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.sp-reasons p { margin: 0; font-size: 14px; line-height: 1.55; color: #4B5563; }
.sp-bridge { padding: 16px 20px; border-left: 4px solid #7C3AED; background: #F5F3FF; border-radius: 0 14px 14px 0; max-width: none; }
.sp-feats { grid-template-columns: 1fr 1fr; }
@container (max-width: 860px) { .sp-prices, .sp-reasons { grid-template-columns: 1fr; } .sp-price h3 { min-height: 0; } }
@container (max-width: 600px) { .sp-feats { grid-template-columns: 1fr; } .sp-key { flex-direction: column; } .sp-p { font-size: 15px; } }

/* ── Site public : la page occupe tout l'écran (la maquette affichait des « écrans ») ── */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{margin:0;padding:0;background:#fff}
body{min-height:0}
.site-page{display:block;width:100%;margin:0;padding:0}
.site-page>.artboard,.site-page>.pub03{width:100%!important;max-width:none!important;border-radius:0!important;box-shadow:none!important;height:auto!important;min-height:0!important;overflow:visible!important;container-type:inline-size;margin:0!important}
.site-page .pub-nav{border-radius:0!important;top:0;z-index:50}
.site-page .pub-footer{border-radius:0!important}
[id]{scroll-margin-top:84px}
img{max-width:100%}
a.pub02-cta-sec,a.pub-hero-btn-sec,a.pub03-school-btn,a.btn,a.pub-cta-primary,a.pub-cta-secondary{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;text-align:center}
@container (min-width: 700px) and (max-width: 999px){.site-page .pub-nav-cta .pub-cta-secondary{display:none}}
.wl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.wl-send-err{margin:8px 0 0;color:#B42318;font-size:14px;font-weight:600}
.wl-send-err:empty{display:none}
.site-stub{max-width:760px;margin:0 auto;padding:56px 24px 72px;font-family:var(--font-body);color:var(--text)}
.site-stub h1{font-family:var(--font-head);font-weight:900;font-size:clamp(30px,5vw,42px);line-height:1.15;margin:0 0 16px;color:#1A1A2E}
.site-stub p{font-size:17px;line-height:1.65;color:#3d3d55;margin:0 0 14px}
.site-stub a{color:#4F46E5;font-weight:700}
.site-stub .stub-tag{display:inline-block;background:#EEF2FF;color:#4F46E5;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:6px 12px;border-radius:99px;margin-bottom:18px}
.site-stub .stub-cta{display:inline-flex;margin-top:12px;background:linear-gradient(135deg,#4F46E5,#7C3AED);color:#fff!important;text-decoration:none;padding:13px 22px;border-radius:14px;border:0;font:800 16px var(--font-head);cursor:pointer}
.site-stub .stub-box{background:#F7F6FC;border:1px solid #E7E5F2;border-radius:18px;padding:20px 22px;margin:22px 0}
