/* ── RESET & BASE ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --card: #111111;
  --card-border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: #9ca3af;
  --grad-primary: linear-gradient(135deg, #a855f7, #ec4899);
  --grad-orange: linear-gradient(135deg, #f97316, #ef4444);
  --grad-hero-title: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  height: 72px;
}

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

.logo-icon {
  width: 48px; height: 48px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon svg { width: 36px; height: 36px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

.logo-text .tagline {
  font-size: 8px;
  color: #666;
  letter-spacing: 0.06em;
}

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 100px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(120,40,180,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(180,40,100,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(80,20,150,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-badge svg {
  width: 18px; height: 18px;
  color: #c084fc;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero h1 .plain { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: #9ca3af;
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 32px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #1a0030;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 40px rgba(168,85,247,0.3);
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-dark   { background: #1f1f1f; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.btn-grad   { background: linear-gradient(90deg, #9333ea, #ec4899); color: #fff; }
.btn-orange { background: linear-gradient(90deg, #f97316, #ef4444); color: #fff; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: #fff;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #7c3aed;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.92; }

/* ── SECTION BASE ────────────────────────── */
section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(30px, 7vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── SERVICE CARDS ───────────────────────── */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--card-border);
  transform: none;
}

.service-card {
  pointer-events: auto;
}

.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg { width: 32px; height: 32px; color: #fff; }

.ig-icon { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fb-icon { background: linear-gradient(135deg, #1877f2, #0d6efd); }
.li-icon { background: #0077b5; }
.cv-icon { background: linear-gradient(135deg, #10b981, #059669); }
.af-icon { background: linear-gradient(135deg, #f97316, #ef4444); }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
/* ── PRICING ─────────────────────────────── */
.pricing { background: var(--bg); }

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-wrapper { position: relative; }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}

.badge-popular { background: linear-gradient(90deg, #9333ea, #ec4899); color: #fff; }
.badge-premium { background: linear-gradient(90deg, #f97316, #ef4444); color: #fff; }

.pricing-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
}

.pricing-card.card-starter { border: 1px solid rgba(99,179,237,0.3); }
.pricing-card.card-pro     { border: 1px solid rgba(168,85,247,0.5); }
.pricing-card.card-premium { border: 1px solid rgba(249,115,22,0.4); }

.pack-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pack-icon svg { width: 28px; height: 28px; color: #fff; }
.icon-starter { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.icon-pro     { background: linear-gradient(135deg, #a855f7, #ec4899); }
.icon-premium { background: linear-gradient(135deg, #f97316, #f59e0b); }

.pack-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.pack-price {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.pack-price sup {
  font-size: 26px;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 4px;
}

.pack-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.pack-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #e5e7eb;
}

.check {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check svg { width: 14px; height: 14px; color: #fff; }
.check-blue   { background: #3b82f6; }
.check-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.check-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }

.pack-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}

.pack-btn:hover { opacity: 0.88; transform: translateY(-1px); }
/* ── ORDER FORM ──────────────────────────── */
.order-section { padding: 80px 24px; background: var(--bg); }

.order-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.step-number {
  width: 34px; height: 34px;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.form-field { margin-bottom: 20px; }
.form-field:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.required { color: #ec4899; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 16px 18px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-size: 15px;
  color: #9ca3af;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(168,85,247,0.5);
  color: #fff;
}

.form-input::placeholder { color: #4b5563; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-textarea { min-height: 110px; resize: vertical; }

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}

.submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── MOBILE MENU ─────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: #a855f7; }

.menu-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: #4b5563;
  font-size: 13px;
}

footer .footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  z-index: 9999;
  transition: all 0.3s ease;
}

.popup.success {
  background: linear-gradient(90deg, #10b981, #059669);
}

.popup.error {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}
/* ── WIDGET BULLE FLOTTANT ──────────────── */
.floating-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 50%;
  z-index: 300;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124,58,237,0.5), 0 0 0 2px rgba(255,255,255,0.1);
  transition: box-shadow 0.3s, transform 0.1s;
  user-select: none;
  touch-action: none;
}

.floating-bubble:active {
  cursor: grabbing;
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(124,58,237,0.7), 0 0 0 3px rgba(255,255,255,0.2);
}

.floating-bubble:hover {
  box-shadow: 0 10px 36px rgba(124,58,237,0.6), 0 0 0 3px rgba(255,255,255,0.15);
}

.bubble-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.bubble-inner span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Animation de la bulle */
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-bubble.idle {
  animation: floatBubble 3s ease-in-out infinite;
}

.floating-bubble.dragging {
  animation: none;
}

/* ── MENU OVERLAY ────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(20px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 340px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-overlay.open .menu-card {
  transform: scale(1) translateY(0);
}

.menu-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.menu-card a:hover {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
}

.menu-card a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #a855f7;
}

.menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.menu-close:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.footer-links a {
  color: #a855f7; /* violet principal */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #c084fc;
}