/* ========================================
   DOUGTRANSFER — Design dark technique
   Inspiration: terminal, monospace, cyan accent
   ======================================== */

:root {
  --bg: #0a0e1a;
  --bg-elev: #0f1424;
  --bg-elev-2: #141b2f;
  --border: #1f2940;
  --border-strong: #2a3654;
  --text: #e4e7ed;
  --text-dim: #a8b1c3;
  --text-mute: #6b7280;
  --accent: #00d9b8;
  --accent-hover: #00f5cc;
  --accent-dim: #007865;
  --accent-glow: rgba(0, 217, 184, 0.15);
  --danger: #ff4561;
  --warning: #ffb547;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 6px;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ========================================
   BACKGROUND ATMOSPHÈRE
   ======================================== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(31, 41, 64, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 64, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  padding: 24px 0;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 41, 64, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  color: var(--accent);
  font-size: 18px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transform: rotate(-90deg);
  display: inline-block;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 217, 184, 0.08);
  border: 1px solid rgba(0, 217, 184, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--accent); }

/* ========================================
   MAIN GRID
   ======================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 32px 60px;
}

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding-top: 24px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.hero-title {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
  font-family: 'Georgia', serif;
}

.hero-title strong {
  background: linear-gradient(135deg, var(--accent) 0%, #4dffe0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.5;
}

.hero-sub .accent { color: var(--accent); font-weight: 500; }

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-features li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--text-dim);
}

.hero-features span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ========================================
   UPLOAD CARD
   ======================================== */
.upload-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0, 217, 184, 0.02),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 100px rgba(0, 217, 184, 0.04);
  overflow: hidden;
}

.upload-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* STEPS */
.step {
  margin-bottom: 32px;
}

.step:last-child { margin-bottom: 0; }

.step-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.step-counter {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

/* DROPZONE */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(10, 14, 26, 0.5);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--accent);
  background: rgba(0, 217, 184, 0.04);
}

.dropzone.is-dragging {
  border-style: solid;
  transform: scale(1.01);
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 184, 0.08);
  border: 1px solid rgba(0, 217, 184, 0.2);
  border-radius: 12px;
  color: var(--accent);
}

.dropzone-icon svg { width: 24px; height: 24px; }

.dropzone-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.dropzone-text span {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.link-btn:hover { color: var(--accent-hover); }

/* FILE LIST */
.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.file-list::-webkit-scrollbar { width: 6px; }
.file-list::-webkit-scrollbar-track { background: transparent; }
.file-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.file-item {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.file-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 217, 184, 0.08);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.file-item-name {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item-size {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

.file-item-remove {
  background: none;
  border: none;
  color: var(--text-mute);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 16px;
  line-height: 1;
}

.file-item-remove:hover {
  color: var(--danger);
  background: rgba(255, 69, 97, 0.1);
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-full { grid-column: 1 / -1; }

.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 217, 184, 0.03);
}

.form-row textarea { resize: vertical; min-height: 80px; font-family: inherit; }

.form-row small {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 6px;
}

/* CHECKBOX */
.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0 !important;
}

.checkbox input { position: absolute; opacity: 0; pointer-events: none; }

.checkbox-mark {
  width: 20px;
  height: 20px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
  margin-top: 2px;
}

.checkbox input:checked + .checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox input:checked + .checkbox-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.checkbox-label small {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
}

/* STEP ACTION */
.step-action {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 217, 184, 0.3);
}

.btn-primary:hover:not(:disabled)::before { transform: translateX(100%); }

.btn-primary:disabled {
  background: var(--border);
  color: var(--text-mute);
  cursor: not-allowed;
}

.btn-arrow { font-family: var(--font-mono); font-size: 18px; }

.security-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.03em;
}

.security-note svg { color: var(--accent); }

/* PROGRESS OVERLAY */
.progress-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 36, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius-lg);
}

.progress-content {
  width: 100%;
  max-width: 400px;
  padding: 32px;
  text-align: center;
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
}

.progress-bar {
  height: 6px;
  background: var(--bg-elev-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 12px var(--accent-glow);
}

.progress-stats {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.progress-files {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-mute);
  max-height: 80px;
  overflow: hidden;
}

/* SUCCESS STATE */
.success-state {
  text-align: center;
  padding: 24px 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(0, 217, 184, 0.1);
  border: 1px solid rgba(0, 217, 184, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.success-icon svg { width: 32px; height: 32px; }

.success-state h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.success-state p {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.share-link-box {
  display: flex;
  gap: 8px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin-bottom: 16px;
}

.share-link-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 12px;
  min-width: 0;
}

.share-link-box input:focus { outline: none; }

.btn-copy {
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-copy:hover { background: var(--accent-hover); }
.btn-copy.copied { background: #4dffe0; }

.share-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 24px;
  line-height: 1.8;
}

.btn-secondary {
  padding: 12px 24px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(0, 217, 184, 0.08);
}

/* ========================================
   TECH STRIP
   ======================================== */
.tech-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 40px;
  background: rgba(15, 20, 36, 0.5);
}

.tech-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .tech-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}

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

.tech-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.tech-num sup {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 2px;
}

.tech-label {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-brand em {
  font-style: normal;
  color: var(--accent);
}

.footer-col small {
  color: var(--text-mute);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

/* ========================================
   DOWNLOAD PAGE (t/CODE)
   ======================================== */
.download-wrap {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 24px;
}

.download-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.download-meta-item {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.download-meta-item strong {
  color: var(--accent);
  font-weight: 700;
}

.download-files {
  text-align: left;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-message {
  text-align: left;
  background: rgba(10, 14, 26, 0.5);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 24px 0;
  color: var(--text-dim);
  line-height: 1.6;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-download:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 217, 184, 0.3);
}

.password-prompt {
  max-width: 400px;
  margin: 0 auto;
}

.password-prompt input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
  margin: 16px 0;
}

.error-message {
  color: var(--danger);
  font-size: 13px;
  margin-top: 12px;
  font-family: var(--font-mono);
}

/* Force hidden behavior */
[hidden] { display: none !important; }

/* ========================================
   LOGO HEADER
   ======================================== */
.logo {
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 217, 184, 0.2), 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.25s;
  background: var(--bg-elev);
}

.logo:hover .logo-img {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 20px rgba(0, 217, 184, 0.3);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-text em {
  font-style: normal;
  color: var(--accent);
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .logo-tagline { display: none; }
  .logo-img { width: 38px; height: 38px; }
}

/* ========================================
   FLOW VISUEL (remplace la liste 01/02/03/04)
   ======================================== */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 28px 20px;
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(0, 217, 184, 0.03), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--text);
  transition: all 0.3s;
}

.flow-icon-you {
  border-color: rgba(0, 217, 184, 0.4);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 217, 184, 0.1);
}

.flow-icon-server {
  color: var(--text-mute);
}

.flow-icon svg {
  width: 28px;
  height: 28px;
}

.flow-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.flow-sub {
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.4;
  max-width: 140px;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 0 8px;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  z-index: 0;
  margin-top: -1px;
}

.flow-lock {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(0, 217, 184, 0.4);
  animation: lockPulse 2.5s ease-in-out infinite;
}

@keyframes lockPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 217, 184, 0.4); }
  50% { box-shadow: 0 0 32px rgba(0, 217, 184, 0.7); }
}

.flow-lock svg { width: 22px; height: 22px; }

.flow-arrow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  z-index: 1;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
}

.flow-arrow-label em {
  font-style: normal;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.flow-caption {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(0, 217, 184, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.flow-caption strong {
  color: var(--text);
  font-weight: 700;
}

.flow-caption em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.flow-caption code {
  font-family: var(--font-mono);
  background: rgba(0, 217, 184, 0.12);
  color: var(--accent);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 12px;
}

/* Mobile: flow vertical */
@media (max-width: 600px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-line {
    left: 50%;
    right: auto;
    top: -20px;
    bottom: -20px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  }
  .flow-arrow {
    padding: 12px 0;
  }
}

/* ========================================
   BANDEAU RÉASSURANCE — pleine largeur
   ======================================== */
.reassurance {
  padding: 24px 0 48px;
  position: relative;
  z-index: 1;
}

.reassurance-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, rgba(0, 217, 184, 0.04), rgba(15, 20, 36, 0.6));
  border: 1px solid rgba(0, 217, 184, 0.15);
  border-radius: var(--radius);
  padding: 28px 32px;
  backdrop-filter: blur(10px);
}

.reassurance-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.reassurance-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 184, 0.08);
  border: 1px solid rgba(0, 217, 184, 0.2);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.reassurance-icon svg { width: 22px; height: 22px; }

.reassurance-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.reassurance-item span {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.reassurance-item em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

.reassurance-item code {
  font-family: var(--font-mono);
  background: rgba(0, 217, 184, 0.08);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .reassurance-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ========================================
   FIX CHECKBOXES — version carrée propre
   ======================================== */
.checkbox {
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-bottom: 0 !important;
}

.checkbox:hover {
  border-color: var(--accent-dim);
  background: rgba(0, 217, 184, 0.03);
}

.checkbox input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0;
  height: 0;
}

.checkbox-mark {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  background: var(--bg) !important;
  border: 2px solid var(--border-strong) !important;
  border-radius: 5px !important;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
  box-sizing: border-box;
  display: block;
  margin-top: 0;
}

.checkbox:hover .checkbox-mark { border-color: var(--accent); }

.checkbox input:checked + .checkbox-mark {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.checkbox input:checked + .checkbox-mark::after {
  content: '' !important;
  position: absolute !important;
  left: 6px !important;
  top: 2px !important;
  width: 6px !important;
  height: 11px !important;
  border: solid var(--bg) !important;
  border-width: 0 2.5px 2.5px 0 !important;
  transform: rotate(45deg) !important;
}

.checkbox-label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.checkbox-label small {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox:has(input:checked) {
  border-color: rgba(0, 217, 184, 0.3);
  background: rgba(0, 217, 184, 0.04);
}
