/* ═══════════════════════════════════════════
   ViReal Studio — Professional Dark Theme
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c21;
  --surface: #1e1e24;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --red-primary: #e63946;
  --red-light: #ff4d5a;
  --red-dark: #b82d38;
  --red-glow: rgba(230, 57, 70, 0.3);
  --red-subtle: rgba(230, 57, 70, 0.08);

  --text-primary: #f0f0f2;
  --text-secondary: #94949e;
  --text-muted: #5c5c66;

  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 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;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 3px;
}

/* ── Selection ── */
::selection {
  background: var(--red-primary);
  color: white;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span {
  color: var(--red-primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--red-subtle);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--red-primary);
  border-radius: 2px;
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--red-primary) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--red-light) !important;
  box-shadow: 0 4px 20px var(--red-glow) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ═══════════════════════════════════════════
   HERO SECTION (Index)
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--red-subtle);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--red-primary), var(--red-light), #ff8a94);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

/* ── Stats row ── */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-primary);
  font-family: var(--font-mono);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--red-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 30px var(--red-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 16px;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-icon {
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════
   SECTIONS — General
   ═══════════════════════════════════════════ */

section {
  padding: 100px 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--red-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION (Index)
   ═══════════════════════════════════════════ */

.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-subtle);
  border-radius: 8px;
  color: var(--red-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-light), transparent);
}

.about-card .code-block {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
}

.about-card .code-block .keyword { color: var(--red-primary); }
.about-card .code-block .string { color: #7ec8a4; }
.about-card .code-block .comment { color: var(--text-muted); opacity: 0.6; }
.about-card .code-block .function { color: #dcdcaa; }

/* ═══════════════════════════════════════════
   SERVICES SECTION / PAGE
   ═══════════════════════════════════════════ */

.services-preview {
  padding: 100px 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-subtle);
  border-radius: var(--radius-md);
  color: var(--red-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.service-tag {
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Services page hero */
.services-hero {
  padding: 160px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  position: relative;
}

.services-hero-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
  position: relative;
}

.services-hero-platforms {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.services-hero-platforms .dot {
  width: 4px;
  height: 4px;
  background: var(--red-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.services-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Service detail cards */
.service-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  transition: var(--transition);
}

.service-detail:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-detail-number {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  color: var(--red-subtle);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(230, 57, 70, 0.3);
}

.service-detail h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-detail p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-detail-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-detail-feature::before {
  content: '✦';
  color: var(--red-primary);
  font-size: 0.7rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 2rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(230, 57, 70, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */

.contact-section {
  padding: 140px 2rem 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-subtle);
  border-radius: var(--radius-sm);
  color: var(--red-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
}

.contact-method-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-method-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-light), transparent);
}

.contact-form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-subtle);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--red-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--red-light);
  box-shadow: 0 8px 30px var(--red-glow);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   RÉSEAUX / LINKTREE PAGE
   ═══════════════════════════════════════════ */

.linktree-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 1.5rem;
  position: relative;
}

.linktree-page::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.linktree-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.linktree-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--red-primary);
  box-shadow: 0 8px 30px var(--red-glow);
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.linktree-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.linktree-name span {
  color: var(--red-primary);
}

.linktree-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 320px;
  line-height: 1.6;
}

.linktree-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.linktree-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.linktree-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red-primary);
  opacity: 0;
  transition: var(--transition);
}

.linktree-link:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.linktree-link:hover::before {
  opacity: 1;
}

.linktree-link-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Colored icons per platform */
.linktree-link-icon.discord { background: rgba(88, 101, 242, 0.15); color: #5865F2; }
.linktree-link-icon.facebook { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.linktree-link-icon.twitter { background: rgba(29, 161, 242, 0.15); color: #1DA1F2; }
.linktree-link-icon.youtube { background: rgba(255, 0, 0, 0.12); color: #FF0000; }
.linktree-link-icon.tiktok { background: rgba(255, 0, 80, 0.12); color: #ff0050; }
.linktree-link-icon.instagram { background: rgba(225, 48, 108, 0.12); color: #E1306C; }
.linktree-link-icon.github { background: rgba(255, 255, 255, 0.08); color: #f0f0f2; }
.linktree-link-icon.website { background: var(--red-subtle); color: var(--red-primary); }
.linktree-link-icon.store { background: rgba(255, 165, 0, 0.12); color: #FFA500; }
.linktree-link-icon.fiverr { background: rgba(30, 186, 98, 0.12); color: #1DBF73; }
.linktree-link-icon.email { background: rgba(52, 168, 83, 0.12); color: #34A853; }

.linktree-link-text {
  flex-grow: 1;
}

.linktree-link-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.linktree-link-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.linktree-link-arrow {
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1.2rem;
}

.linktree-link:hover .linktree-link-arrow {
  color: var(--red-primary);
  transform: translateX(4px);
}

.linktree-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.linktree-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.linktree-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.linktree-back:hover {
  color: var(--red-primary);
}

/* ═══════════════════════════════════════════
   ERROR PAGES
   ═══════════════════════════════════════════ */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.error-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand span {
  color: var(--red-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red-primary);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 4px;
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 60px 1.5rem;
  }

  .contact-section {
    padding: 120px 1.5rem 60px;
  }

  .services-hero {
    padding: 130px 1.5rem 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Overlay for mobile nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ═══════════════════════════════════════════
   TOOLS PAGE — Tabbed Interface
   ═══════════════════════════════════════════ */

.tools-hero {
  padding: 160px 2rem 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tools-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.tools-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  position: relative;
}

.tools-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Tabs nav */
.tools-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 0;
}

.tools-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tools-tab:hover {
  color: var(--text-secondary);
  background: var(--surface);
}

.tools-tab.active {
  background: var(--red-primary);
  color: white;
  box-shadow: 0 4px 15px var(--red-glow);
}

.tools-tab-icon {
  font-size: 1.1rem;
}

/* Panels */
.tools-panels {
  margin-top: 0;
}

.tools-panel {
  display: none;
}

.tools-panel.active {
  display: block;
}

/* Tool layout: sidebar + viewport */
.tool-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
}

.tool-sidebar {
  padding: 2rem;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  max-height: 650px;
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tool-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tool-field {
  margin-bottom: 1.25rem;
}

.tool-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.tool-range {
  width: 100%;
  accent-color: var(--red-primary);
  cursor: pointer;
}

.tool-input-small {
  width: 100%;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.tool-input-small:focus {
  border-color: var(--red-primary);
}

.tool-resize-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-resize-x {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tool-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.tool-checkbox-label.full {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
}

.tool-checkbox-label input[type="checkbox"] {
  accent-color: var(--red-primary);
  cursor: pointer;
}

/* Viewport */
.tool-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.tool-viewport-empty {
  text-align: center;
  padding: 2rem;
}

.tool-viewport-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.tool-viewport-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tool-viewport-content {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.tool-viewport-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.tool-viewport-content canvas {
  max-width: 100%;
  max-height: 400px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  background: repeating-conic-gradient(var(--surface) 0% 25%, transparent 0% 50%) 50% / 16px 16px;
}

.tool-viewport-info {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-align: center;
}

.tool-viewport-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  align-items: start;
}

.tool-viewport-half {
  display: flex;
  flex-direction: column;
}

.tool-viewport-half canvas {
  max-width: 100%;
  max-height: 350px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  background: repeating-conic-gradient(var(--surface) 0% 25%, transparent 0% 50%) 50% / 16px 16px;
}

/* Dropzone */
.tool-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--surface);
  margin-bottom: 1.25rem;
}

.tool-dropzone:hover,
.tool-dropzone.dragover {
  border-color: var(--red-primary);
  background: var(--red-subtle);
}

.tool-dropzone-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  opacity: 0.6;
}

.tool-dropzone-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tool-dropzone-text strong {
  color: var(--red-primary);
}

.tool-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Options pills */
.tool-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-option {
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
}

.tool-option:hover {
  border-color: var(--border-hover);
}

.tool-option.active {
  background: var(--red-subtle);
  border-color: var(--red-primary);
  color: var(--red-primary);
}

/* Actions & status */
.tool-actions {
  display: flex;
  gap: 8px;
  margin-top: 1.25rem;
}

.tool-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tool-btn-primary {
  background: var(--red-primary);
  color: white;
}

.tool-btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 4px 20px var(--red-glow);
}

.tool-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.tool-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  min-height: 1.2em;
}

.tool-status.success { color: #2ecc71; }
.tool-status.error { color: var(--red-primary); }

/* Tools responsive */
@media (max-width: 1024px) {
  .tool-layout {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 768px) {
  .tools-hero {
    padding: 120px 1.25rem 30px;
  }

  .tools-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
    padding: 4px;
  }

  .tools-tabs::-webkit-scrollbar { display: none; }

  .tools-tab {
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: 0;
  }

  .tools-tab-label {
    display: none;
  }

  .tools-tab-icon {
    font-size: 1.3rem;
  }

  .tool-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tool-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: none;
    padding: 1.5rem;
  }

  .tool-viewport {
    min-height: 300px;
  }

  .tool-viewport-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tool-viewport-content {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════
   LEGAL PAGES (Mentions légales, CGV)
   ═══════════════════════════════════════════ */

.legal-page {
  padding: 140px 2rem 80px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-family: var(--font-mono);
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--red-primary);
  text-decoration: underline;
  text-decoration-color: rgba(230, 57, 70, 0.3);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.legal-section a:hover {
  text-decoration-color: var(--red-primary);
}

/* Legal info card (for company details) */
.legal-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1rem 0;
}

.legal-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.legal-info-row:last-child {
  border-bottom: none;
}

.legal-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.legal-info-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: right;
}

/* Legal list */
.legal-list {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-list-icon {
  color: var(--red-primary);
  font-size: 0.7rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.legal-list-item strong {
  color: var(--text-primary);
}

/* Legal highlight box */
.legal-highlight {
  background: var(--red-subtle);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.legal-highlight p {
  color: var(--text-primary) !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}

/* Legal pages responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 110px 1.25rem 60px;
  }

  .legal-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .legal-info-value {
    text-align: left;
  }

  .legal-info-card {
    padding: 1rem;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }
}