:root {
  --bg: #06070b;
  --bg-card: #0d0f17;
  --bg-card-hover: #121520;
  --purple: #6c5ce7;
  --purple-light: #a29bfe;
  --purple-glow: rgba(108, 92, 231, .25);
  --green: #00b894;
  --green-glow: rgba(0, 184, 148, .2);
  --yellow: #fdcb6e;
  --text: #e8e8f0;
  --text-dim: #6b7094;
  --text-muted: #3d4163;
  --border: #1a1e30;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ─── Grain overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; position: relative; }

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  background: rgba(6, 7, 11, .7);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all .3s;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cabinet Grotesk'; font-weight: 900; font-size: .95rem; color: #fff;
}
.nav-logo span { font-family: 'Cabinet Grotesk'; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--purple); color: #fff !important; padding: .55rem 1.3rem;
  border-radius: 50px; font-weight: 600; font-size: .85rem;
  transition: all .2s;
}
.nav-cta:hover { background: #7d6ff0; transform: translateY(-1px); box-shadow: 0 8px 30px var(--purple-glow); }

.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ─── Hero ─── */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(108, 92, 231, .1);
  border: 1px solid rgba(108, 92, 231, .25);
  border-radius: 50px;
  padding: .4rem 1rem .4rem .6rem;
  font-size: .82rem; color: var(--purple-light);
  margin-bottom: 2rem;
  animation: fadeInUp .8s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s ease .1s both;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--purple-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp .8s ease .2s both;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp .8s ease .3s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--purple);
  color: #fff; padding: .85rem 2rem;
  border-radius: 50px; border: none;
  font-family: 'Instrument Sans'; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
}
.btn-primary:hover { background: #7d6ff0; transform: translateY(-2px); box-shadow: 0 12px 40px var(--purple-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--text); padding: .85rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: 'Instrument Sans'; font-size: 1rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
}
.btn-secondary:hover { border-color: var(--purple); color: var(--purple-light); transform: translateY(-2px); }

.hero-proof {
  margin-top: 3rem;
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
  animation: fadeInUp .8s ease .45s both;
}
.hero-proof .stat { text-align: center; }
.hero-proof .stat-num { font-family: 'Cabinet Grotesk'; font-weight: 900; font-size: 1.6rem; color: var(--green); }
.hero-proof .stat-label { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
.hero-proof .divider { width: 1px; height: 40px; background: var(--border); }

/* ─── Mockup ─── */
.hero-visual {
  margin-top: 4rem;
  position: relative;
  animation: fadeInUp .8s ease .5s both;
}
.mockup-wrapper {
  max-width: 900px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 120px var(--purple-glow);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: .75rem 1.2rem;
  background: #0a0c14;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  margin-left: 1rem;
  background: rgba(255,255,255,.05);
  padding: .3rem 1rem;
  border-radius: 6px;
  font-size: .75rem;
  color: var(--text-muted);
  flex: 1;
}
.mockup-body {
  min-height: 400px;
  display: flex;
  background: linear-gradient(135deg, #0a0b10, #0f1118);
}
.mockup-sidebar {
  width: 220px;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.mockup-sidebar .mock-logo {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 2rem;
}
.mockup-sidebar .mock-logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 6px;
}
.mockup-sidebar .mock-logo span { font-size: .8rem; font-weight: 700; color: var(--text); }
.mock-nav-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: .25rem;
}
.mock-nav-item.active { background: rgba(108,92,231,.12); color: var(--purple-light); }
.mock-nav-item .mock-icon {
  width: 18px; height: 18px; border-radius: 4px;
  background: rgba(255,255,255,.06);
}
.mock-nav-item.active .mock-icon { background: rgba(108,92,231,.3); }

.mockup-main { flex: 1; padding: 2rem; }
.mock-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mock-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 1.2rem;
}
.mock-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  margin-bottom: .75rem;
}
.mock-card:nth-child(1) .mock-card-icon { background: linear-gradient(135deg, #e17055, #fdcb6e); }
.mock-card:nth-child(2) .mock-card-icon { background: linear-gradient(135deg, #00b894, #55efc4); }
.mock-card:nth-child(3) .mock-card-icon { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.mock-card-title { font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.mock-card-val { font-family: 'Cabinet Grotesk'; font-size: 1.5rem; font-weight: 800; }
.mock-card:nth-child(1) .mock-card-val { color: #fdcb6e; }
.mock-card:nth-child(2) .mock-card-val { color: #00b894; }
.mock-card:nth-child(3) .mock-card-val { color: #a29bfe; }
.mock-card-sub { font-size: .7rem; color: var(--text-muted); margin-top: .2rem; }

.mock-gauge-section { margin-top: 1.5rem; }
.mock-gauge-label { font-size: .78rem; color: var(--text-dim); margin-bottom: .6rem; }
.mock-gauge-bg {
  height: 14px; border-radius: 10px; background: rgba(255,255,255,.06);
  overflow: hidden;
}
.mock-gauge-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--green), var(--yellow), #e17055);
  width: 0%;
  animation: gaugeGrow 2s ease 1.5s forwards;
}

@keyframes gaugeGrow { to { width: 73%; } }

/* ─── Features ─── */
.features { position: relative; }
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  border-color: rgba(108, 92, 231, .3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}
.feature-icon.purple { background: rgba(108,92,231,.12); color: var(--purple-light); }
.feature-icon.green { background: rgba(0,184,148,.12); color: var(--green); }
.feature-icon.yellow { background: rgba(253,203,110,.12); color: var(--yellow); }

.feature-card h3 { font-size: 1.1rem; margin-bottom: .6rem; font-weight: 700; }
.feature-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.65; }

/* ─── How it works ─── */
.how { text-align: center; }

.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 42px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.how-step { position: relative; z-index: 1; }
.how-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Cabinet Grotesk'; font-weight: 900; font-size: 1.6rem;
  color: var(--purple-light);
  transition: all .3s;
}
.how-step:hover .how-num {
  border-color: var(--purple);
  box-shadow: 0 0 30px var(--purple-glow);
  transform: scale(1.1);
}
.how-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.how-step p { font-size: .9rem; color: var(--text-dim); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* ─── Pricing ─── */
.pricing { text-align: center; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
  transition: all .3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.price-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 60px var(--purple-glow);
}
.price-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-card-name {
  font-family: 'Cabinet Grotesk'; font-weight: 700;
  font-size: 1.2rem; margin-bottom: .3rem;
}
.price-card-desc { font-size: .85rem; color: var(--text-dim); margin-bottom: 1.5rem; }

.price-amount {
  display: flex; align-items: baseline; gap: .3rem;
  margin-bottom: .3rem;
}
.price-amount .currency { font-size: 1.2rem; color: var(--text-dim); font-weight: 600; }
.price-amount .value {
  font-family: 'Cabinet Grotesk'; font-weight: 900;
  font-size: 3rem; line-height: 1;
}
.price-amount .unit { font-size: .85rem; color: var(--text-muted); }
.price-once { font-size: .78rem; color: var(--green); margin-bottom: 2rem; font-weight: 500; }

.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .5rem 0;
  font-size: .88rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,.04);
}
.price-features li:first-child { border-top: none; }
.price-features .check {
  color: var(--green); font-weight: 700; font-size: 1rem;
  flex-shrink: 0; margin-top: .1rem;
}

.price-btn {
  display: block; width: 100%; text-align: center;
  padding: .8rem;
  border-radius: 50px;
  font-family: 'Instrument Sans'; font-size: .92rem; font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
}
.price-btn-primary {
  background: var(--purple); color: #fff; border: none;
}
.price-btn-primary:hover { background: #7d6ff0; box-shadow: 0 8px 30px var(--purple-glow); }
.price-btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.price-btn-outline:hover { border-color: var(--purple); color: var(--purple-light); }

/* ─── USB visual ─── */
.usb-visual {
  text-align: center;
  position: relative;
}
.usb-visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 65%);
  pointer-events: none;
}

.usb-card {
  max-width: 700px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
}
.usb-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px var(--purple-glow));
}
.usb-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2rem;
}
.usb-spec { text-align: center; }
.usb-spec-val {
  font-family: 'Cabinet Grotesk'; font-weight: 800;
  font-size: 1.4rem; color: var(--purple-light);
}
.usb-spec-label { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* ─── Trust ─── */
.trust {
  text-align: center;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.trust-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.trust-item .trust-icon { font-size: 2rem; margin-bottom: .75rem; }
.trust-item h4 { font-size: .95rem; margin-bottom: .4rem; }
.trust-item p { font-size: .8rem; color: var(--text-dim); line-height: 1.5; }

/* ─── CTA final ─── */
.cta-section {
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(108,92,231,.05), transparent);
  pointer-events: none;
}
.cta-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green), var(--purple));
}
.cta-box h2 { font-size: 2rem; margin-bottom: .75rem; }
.cta-box p { color: var(--text-dim); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.6; }
.cta-box .btn-primary { font-size: 1.05rem; padding: 1rem 2.5rem; }

/* ─── Footer ─── */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
footer .foot-left { display: flex; align-items: center; gap: .75rem; }
footer .foot-logo {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cabinet Grotesk'; font-weight: 900; font-size: .7rem; color: #fff;
}
footer .foot-copy { font-size: .82rem; color: var(--text-muted); }
footer .foot-links { display: flex; gap: 1.5rem; }
footer .foot-links a { font-size: .82rem; color: var(--text-dim); text-decoration: none; transition: color .2s; }
footer .foot-links a:hover { color: var(--text); }
.foot-brand { font-size: .82rem; color: var(--text-muted); }
.foot-brand a { color: var(--purple-light); text-decoration: none; }

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .features-grid, .pricing-grid, .how-steps { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
  .how-steps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-sidebar { display: none; }
  .mock-cards { grid-template-columns: 1fr; }
  .usb-specs { grid-template-columns: 1fr; }
  .hero-proof .divider { display: none; }
  .hero-proof { gap: 1.5rem; }
}

@media (max-width: 700px) {
  section { padding: 4rem 0; }
  .hero { padding: 8rem 0 4rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,7,11,.95); backdrop-filter: blur(20px); flex-direction: column; padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .price-card.featured { margin-top: 1rem; }
}

.modal-overlay { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(3,4,8,.72); backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; }
.modal-card { position: relative; width: 100%; max-width: 460px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: .6rem; right: 1rem; background: none; border: none; color: var(--text-dim); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s; }
.modal-close:hover { color: var(--text); }
.modal-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.modal-sub { color: var(--text-dim); font-size: .92rem; margin-bottom: 1.25rem; line-height: 1.5; }
#contactForm { display: flex; flex-direction: column; gap: .9rem; }
#contactForm label { display: flex; flex-direction: column; gap: .35rem; font-size: .82rem; color: var(--text-dim); font-weight: 500; }
#contactForm input, #contactForm select, #contactForm textarea { font-family: 'Instrument Sans'; font-size: .95rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem .85rem; transition: border-color .2s; }
#contactForm input:focus, #contactForm select:focus, #contactForm textarea:focus { outline: none; border-color: var(--purple); }
#contactForm textarea { resize: vertical; }
.modal-submit { justify-content: center; margin-top: .35rem; }
.modal-note { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* ─── Pages légales ─── */
.legal { max-width: 820px; margin: 0 auto; padding: 8rem 1.5rem 4rem; }
.legal h1 { font-size: 2rem; margin-bottom: .4rem; color: var(--text); }
.legal .updated { color: var(--text-muted); font-size: .85rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2.2rem 0 .7rem; font-family: 'Cabinet Grotesk', sans-serif; }
.legal p { margin-bottom: .9rem; color: #c3c7d6; line-height: 1.75; }
.legal ul { margin: 0 0 .9rem 1.2rem; color: #c3c7d6; line-height: 1.75; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--purple-light); }
.legal strong { color: var(--text); font-weight: 600; }
.legal .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: .9rem; }
.legal .todo { color: var(--purple-light); font-style: italic; }
.legal .lhl { background: rgba(0,184,148,.08); border: 1px solid rgba(0,184,148,.25); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1.2rem 0; }
.legal .lhl strong { color: var(--green); }
.btn-inline { background: none; border: none; padding: 0; font: inherit; color: var(--purple-light); cursor: pointer; text-decoration: none; }
.btn-inline:hover { text-decoration: underline; }

/* ─── Guide en ligne (/guide) ─── */
.guide { max-width: 640px; margin: 0 auto; padding: 7rem 1.25rem 4rem; }
.guide .glead { color: var(--text-dim); font-size: 1.02rem; line-height: 1.6; margin-bottom: 2rem; }
.guide h1 { font-size: 2rem; margin-bottom: .5rem; color: var(--text); }
.guide .sect { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text); margin: 2.5rem 0 1rem; }
.guide .gstep { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 1rem; }
.guide .gnum { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--purple); color: #fff; font-family: 'Cabinet Grotesk'; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.guide .gstep h3 { font-family: 'Cabinet Grotesk'; font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: .3rem; }
.guide .gstep p { color: #c3c7d6; font-size: .95rem; line-height: 1.55; }
.guide .os-row { display: flex; gap: .6rem; margin: .7rem 0; flex-wrap: wrap; }
.guide .osb { flex: 1; min-width: 150px; border: 1px solid var(--border); border-radius: 10px; padding: .7rem .85rem; }
.guide .osb .n { color: var(--purple-light); font-weight: 600; font-size: .85rem; margin-bottom: .2rem; }
.guide .osb .t { color: #c3c7d6; font-size: .9rem; line-height: 1.45; }
.guide code { font-family: monospace; background: #0a0c14; border: 1px solid var(--border); border-radius: 6px; padding: .1rem .4rem; font-size: .88rem; color: var(--yellow); }
.guide .trouble { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
.guide .trouble h3 { font-family: 'Cabinet Grotesk'; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: .3rem; }
.guide .trouble p { color: #c3c7d6; font-size: .92rem; line-height: 1.55; }
.guide .ginfo { background: rgba(0,184,148,.08); border: 1px solid rgba(0,184,148,.28); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; color: #c3c7d6; font-size: .95rem; line-height: 1.6; }
.guide .ginfo strong { color: var(--green); }
.guide .ghelp { text-align: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.guide .ghelp p { color: var(--text-dim); margin: .6rem 0 1rem; }
