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

:root {
  --bg:        #07070f;
  --bg-panel:  #0c0b1a;
  --bg-card:   #100f22;
  --bg-card2:  #15132d;
  --violet:    #7b2fff;
  --blue:      #3b82f6;
  --pink:      #d946ef;
  --accent:    #a855f7;
  --grad:      linear-gradient(135deg, #d946ef 0%, #7b2fff 50%, #3b82f6 100%);
  --grad-h:    linear-gradient(90deg,  #d946ef 0%, #7b2fff 50%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, rgba(217,70,239,.18) 0%, rgba(123,47,255,.18) 50%, rgba(59,130,246,.18) 100%);
  --text:      #eeeef8;
  --muted:     #8888aa;
  --dim:       #44445a;
  --border:    #1e1c3a;
  --border2:   #2a2850;
  --glow-v:    rgba(123,47,255,.25);
  --glow-b:    rgba(59,130,246,.15);
  --glow-p:    rgba(217,70,239,.2);
  --nav-h:     72px;
  --font-disp: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --r:         10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(123,47,255,.35); color: #fff; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 2px; }

/* Noise overlay */
body::after {
  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='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
  z-index: 9999;
}

/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(123,47,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* ===== CURSOR ===== */
.cursor {
  position: fixed; width: 18px; height: 18px;
  border: 1.5px solid rgba(168,85,247,.6);
  border-radius: 50%; pointer-events: none;
  transition: transform .15s ease, opacity .3s, border-color .3s;
  z-index: 99999; transform: translate(-50%,-50%);
}
.cursor-dot {
  position: fixed; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform .05s;
}
body:hover .cursor { opacity: 1; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(7,7,15,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  transition: background .3s;
}
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--blue), transparent);
  opacity: .5;
}

.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-disp);
  font-size: 1.1rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: .5px;
}

.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: .5rem 1rem;
  color: var(--muted); text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .5px;
  transition: color .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); }
.nav-links > li > a.active::after {
  content: ''; display: block; height: 2px;
  background: var(--grad); border-radius: 1px; margin-top: 2px;
}

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 210px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--violet);
  list-style: none; padding: .5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s ease; z-index: 100;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1.1rem;
  color: var(--muted); text-decoration: none;
  font-size: .83rem; transition: all .15s;
}
.dropdown li a .d-icon { font-size: .9rem; opacity: .7; }
.dropdown li a:hover { color: var(--accent); background: rgba(168,85,247,.06); padding-left: 1.4rem; }

.nav-cta {
  margin-left: 1rem;
  padding: .45rem 1.2rem !important;
  background: rgba(123,47,255,.15) !important;
  border: 1px solid rgba(123,47,255,.4) !important;
  border-radius: 6px !important;
  color: var(--accent) !important;
  transition: all .2s !important;
}
.nav-cta:hover { background: rgba(123,47,255,.25) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--accent); transition: all .3s; }

.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(7,7,15,.98); z-index: 999;
  overflow-y: auto; padding: 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li a {
  display: block; padding: .85rem 0;
  color: var(--text); text-decoration: none;
  font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav ul li a:hover { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 2rem; font-family: var(--font-body);
  font-size: .88rem; font-weight: 600; letter-spacing: .3px;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .25s; position: relative; overflow: hidden;
  border-radius: 6px;
}
.btn-primary {
  background: var(--grad); color: #fff;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0; transition: opacity .2s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 35px var(--glow-v); }

.btn-outline {
  background: transparent; color: var(--accent);
  border: 1px solid rgba(168,85,247,.4);
}
.btn-outline:hover {
  background: rgba(168,85,247,.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-card); color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 5rem;
  position: relative; text-align: center; overflow: hidden;
}

.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px; top: 0; left: -15%;
  background: radial-gradient(circle, rgba(217,70,239,.16) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 700px; height: 700px; bottom: -15%; right: -20%;
  background: radial-gradient(circle, rgba(59,130,246,.13) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 400px; height: 400px; top: 45%; left: 42%;
  background: radial-gradient(circle, rgba(123,47,255,.18) 0%, transparent 70%);
  animation-delay: -2s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.04); }
}

.hero-inner { position: relative; z-index: 2; max-width: 900px; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(168,85,247,.3);
  padding: .45rem 1.2rem; border-radius: 100px;
  background: rgba(168,85,247,.06);
  margin-bottom: 2rem;
  animation: fade-up .7s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 1080; line-height: .95;
  letter-spacing: -2px; margin-bottom: 1.5rem;
  animation: fade-up .8s .12s ease both;
}
.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title .line2 { display: block; }

.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 580px;
  margin: 0 auto 2.5rem;
  animation: fade-up .8s .22s ease both;
  line-height: 1.75;
}

.hero-services {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-bottom: 2.5rem;
  animation: fade-up .8s .3s ease both;
}
.hero-service-pill {
  display: flex; align-items: center; gap: .6rem;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: .6rem 1.2rem; border-radius: 8px;
  font-size: .85rem; color: var(--muted);
  transition: all .25s; cursor: default;
}
.hero-service-pill:hover { border-color: var(--violet); color: var(--text); transform: translateY(-2px); }
.hero-service-pill .icon { font-size: 1rem; }

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

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--dim); font-size: .68rem; letter-spacing: 3px; text-transform: uppercase;
  animation: fade-up 1s .8s ease both;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line { 0%,100%{transform:scaleY(1);opacity:.6} 50%{transform:scaleY(.4);opacity:.2} }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ===== TICKER ===== */
.ticker-bar {
  background: rgba(123,47,255,.04);
  border-top: 1px solid rgba(123,47,255,.12);
  border-bottom: 1px solid rgba(123,47,255,.12);
  padding: .7rem 0; overflow: hidden;
}
.ticker-inner {
  display: flex; gap: 3rem;
  animation: ticker 30s linear infinite; white-space: nowrap;
}
.ticker-item {
  font-size: .68rem; letter-spacing: 3.5px; color: var(--dim);
  text-transform: uppercase; flex-shrink: 0;
}
.ticker-item .hl { color: var(--accent); }
.ticker-item .sep { color: var(--dim); margin: 0 .5rem; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; }

.section-tag {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .68rem; font-weight: 600; letter-spacing: 4px;
  color: var(--accent); text-transform: uppercase; margin-bottom: .75rem;
}
.section-tag::before { content:''; width:24px; height:1px; background:var(--grad); display:block; }

.section-title {
  font-family: var(--font-disp);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800; letter-spacing: -.5px; line-height: 1.05;
  margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 7rem 2rem;
  max-width: 1200px; margin: 0 auto;
}
.services-header { text-align: center; margin-bottom: 4.5rem; }
.services-header .section-tag { justify-content: center; }
.services-header p { color: var(--muted); max-width: 500px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem;
  position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s, box-shadow .35s;
}
.svc-card:hover {
  border-color: rgba(168,85,247,.4);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 60px rgba(123,47,255,.06);
}
.svc-card::before {
  content:''; position:absolute; inset:0;
  background: var(--grad-soft); opacity:0; transition:opacity .35s;
  border-radius: inherit;
}
.svc-card:hover::before { opacity:1; }
.svc-card::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--grad); transform: scaleX(0); transition: transform .4s;
  transform-origin: left;
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-card-glow {
  position: absolute; top: -80px; right: -80px;
  width: 250px; height: 250px; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.svc-card.web .svc-card-glow { background: rgba(217,70,239,.18); }
.svc-card.booth .svc-card-glow { background: rgba(59,130,246,.18); }

.svc-icon { font-size: 2.8rem; margin-bottom: 1.5rem; display: inline-block; }
.svc-label {
  font-size: .65rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.svc-title {
  font-family: var(--font-disp); font-size: 1.7rem;
  font-weight: 800; margin-bottom: 1rem; letter-spacing: -.3px;
}
.svc-desc { color: var(--muted); font-size: .93rem; line-height: 1.85; margin-bottom: 2rem; }

.svc-features { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 2rem; }
.svc-features li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--muted);
}
.svc-features li::before { content:'✦'; color: var(--accent); font-size: .6rem; flex-shrink:0; }

.svc-links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ===== POURQUOI NOUS ===== */
.why-section {
  padding: 7rem 2rem;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-header { margin-bottom: 3.5rem; }
.why-header p { color: var(--muted); max-width: 480px; margin-top: .5rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.why-card:hover { border-color: rgba(168,85,247,.35); transform: translateY(-3px); }
.why-card::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--grad); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.why-card:hover::after { transform: scaleX(1); }

.why-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.why-num {
  font-family: var(--font-mono); font-size: .65rem;
  color: var(--dim); letter-spacing: 2px; margin-bottom: .75rem;
}
.why-title {
  font-family: var(--font-disp); font-size: 1.15rem;
  font-weight: 700; margin-bottom: .75rem;
}
.why-text { 
  color: var(--muted); 
  font-size: .88rem; 
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 6rem 2rem;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.stats-header { margin-bottom: 3.5rem; }
.stats-header .section-tag { justify-content: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 2.5rem 1rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.stat-box::before {
  content:''; position:absolute; bottom:-20px; left:50%; transform:translateX(-50%);
  width:100px; height:100px; border-radius:50%;
  background: radial-gradient(circle, var(--glow-v), transparent 70%);
}
.stat-num {
  font-family: var(--font-disp); font-size: 3rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: .5rem;
}
.stat-label { font-size: .78rem; color: var(--muted); letter-spacing: 1px; }

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 7rem 2rem;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-header { text-align: center; margin-bottom: 4rem; }
.process-header p { color: var(--muted); max-width: 460px; margin: .5rem auto 0; }

.process-tabs {
  display: flex; gap: .75rem; justify-content: center; margin-bottom: 3rem;
  flex-wrap: wrap;
}
.ptab {
  padding: .6rem 1.4rem; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: all .2s;
}
.ptab.active, .ptab:hover {
  background: rgba(168,85,247,.12); border-color: var(--violet); color: var(--accent);
}

.process-steps { display: none; }
.process-steps.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.step {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem; position: relative;
  transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.3); }
.step-num {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700;
  color: rgba(168,85,247,.15); line-height:1; margin-bottom: .75rem;
}
.step-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.step-title {
  font-family: var(--font-disp); font-size: .95rem;
  font-weight: 700; margin-bottom: .5rem; letter-spacing: .3px;
}
.step-desc { font-size: .83rem; color: var(--muted); line-height: 1.7; }

.process-steps .step:not(:last-child)::after {
  content: '→';
  position: absolute; top: 50%; right: -18px;
  transform: translateY(-50%);
  color: var(--dim); font-size: .85rem; z-index: 1;
}

/* ===== TECH STACK ===== */
.tech-section {
  padding: 5rem 2rem;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.tech-header { margin-bottom: 3rem; }
.tech-header .section-tag { justify-content: center; }

.tech-grid {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}
.tech-pill {
  display: flex; align-items: center; gap: .6rem;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: .65rem 1.2rem; border-radius: 8px;
  font-size: .83rem; color: var(--muted);
  transition: all .25s; cursor: default;
}
.tech-pill:hover { border-color: rgba(168,85,247,.4); color: var(--text); transform: translateY(-2px); }
.tech-pill .t-icon { font-size: 1.1rem; }
.tech-pill .t-cat { font-size: .65rem; color: var(--dim); letter-spacing: 1px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 7rem 2rem;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 3.5rem; }
.testimonials-header .section-tag { justify-content: center; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testi-card {
  background: var(--bg-card2);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; position: relative;
  transition: transform .3s, border-color .3s;
}
.testi-card:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.3); }
.testi-stars { color: var(--pink); font-size: .9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text {
  color: var(--muted); font-size: .9rem; line-height: 1.8;
  margin-bottom: 1.5rem; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--dim); }

/* ===== FAQ ===== */
.faq-section { padding: 7rem 2rem; max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3.5rem; }
.faq-header p { color: var(--muted); max-width: 420px; margin: .5rem auto 0; }

.faq-item {
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 1rem; overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-item.open { border-color: rgba(168,85,247,.3); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--text); text-align: left;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  transition: background .2s;
}
.faq-q:hover { background: rgba(168,85,247,.04); }
.faq-q .faq-icon {
  font-size: 1.2rem; color: var(--accent);
  transition: transform .3s; flex-shrink: 0;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  color: var(--muted); font-size: .9rem; line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ===== CTA BAND ===== */
.cta-section {
  padding: 7rem 2rem;
  text-align: center;
}
.cta-inner {
  max-width: 760px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 5rem 3.5rem; position: relative; overflow: hidden;
}
.cta-inner::before {
  content:''; position:absolute; inset:0;
  background: var(--grad-soft); border-radius: inherit; pointer-events:none;
}
.cta-inner::after {
  content:''; position:absolute;
  top:-1px; left:-1px; right:-1px; bottom:-1px;
  background: var(--grad); border-radius: 21px;
  z-index:-1;
}
.cta-orb {
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,.15), transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-disp); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; margin-bottom: 1rem; line-height: 1.1;
  position: relative;
}
.cta-sub { color: var(--muted); margin-bottom: 2.5rem; font-size: .97rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-brand .brand-name {
  font-family: var(--font-disp); font-size: 1.1rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .75rem; display: block;
}
.footer-brand img { height: 44px; margin-bottom: .75rem; display: block; }
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .6rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 1rem;
  transition: all .2s;
}
.footer-social:hover { border-color: var(--violet); color: var(--accent); background: rgba(123,47,255,.1); }

.footer-col h4 {
  font-size: .68rem; letter-spacing: 3px; color: var(--dim);
  text-transform: uppercase; margin-bottom: 1.25rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s;
  display: flex; align-items: center; gap: .4rem;
}
.footer-col ul li a::before { content: '→'; font-size: .7rem; color: var(--dim); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li a:hover::before { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: var(--dim); }
.footer-legal { display: flex; gap: .25rem; }
.footer-legal a {
  color: var(--dim); text-decoration: none; font-size: .78rem;
  padding: .2rem .75rem; transition: color .2s;
}
.footer-legal a:hover { color: var(--accent); }

/* ===== REVEAL ===== */
.reveal { opacity:0; transform:translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.revealed { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-30px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.revealed { opacity:1; transform:none; }
.reveal-right { opacity:0; transform:translateX(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.revealed { opacity:1; transform:none; }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  min-height: 48vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(123,47,255,.14) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1100px; width: 100%; margin: 0 auto; }

.page-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 6rem; }

.content-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.5rem; margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
}
.content-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.content-card h3 { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.content-card p { color: var(--muted); line-height: 1.85; margin-bottom: .75rem; font-size: .93rem; }

.coming {
  border: 1px dashed var(--border); border-radius: 12px;
  padding: 5rem 2rem; text-align: center;
  color: var(--dim); font-size: .85rem; letter-spacing: 1px;
}

/* ===== MODELS PAGE ===== */
.models-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2rem;
}
.model-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
}
.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.model-preview {
  height: 220px; position: relative; overflow: hidden;
}
.model-preview iframe {
  width: 200%; height: 200%; transform: scale(.5); transform-origin: top left;
  border: none; pointer-events: none;
}
.model-preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}
.model-info { padding: 1.5rem; }
.model-tag {
  font-size: .65rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.model-name {
  font-family: var(--font-disp); font-size: 1.1rem;
  font-weight: 700; margin-bottom: .5rem;
}
.model-desc { color: var(--muted); font-size: .83rem; line-height: 1.7; margin-bottom: 1.2rem; }
.model-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.model-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .7rem; border-radius: 100px;
  font-size: .65rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
}
.model-badge.new { background: rgba(217,70,239,.15); color: var(--pink); border: 1px solid rgba(217,70,239,.3); }
.model-badge.pop { background: rgba(123,47,255,.15); color: var(--accent); border: 1px solid rgba(123,47,255,.3); }

/* ===== CONTACT FORM ===== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start; max-width: 1100px; margin: 0 auto; padding: 0 2rem 6rem;
}
.contact-info { position: sticky; top: calc(var(--nav-h) + 2rem); }
.contact-info-title {
  font-family: var(--font-disp); font-size: 1.5rem;
  font-weight: 800; margin-bottom: 1rem;
}
.contact-info p { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: .75rem;
}
.contact-item-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item-label { font-size: .7rem; color: var(--dim); letter-spacing: 2px; text-transform: uppercase; }
.contact-item-val { font-size: .9rem; color: var(--text); margin-top: .2rem; }

.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem; position: relative; overflow: hidden; }
.contact-form::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--grad); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: 1px; color: var(--muted); margin-bottom: .5rem; text-transform: uppercase; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .85rem 1rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: var(--font-body); font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(123,47,255,.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238888aa' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select option { background: var(--bg-card); }

/* ===== TARIFS ===== */
.tarifs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem;
}
.tarif-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.tarif-card:hover { transform: translateY(-4px); }
.tarif-card.popular {
  border-color: rgba(123,47,255,.5);
}
.tarif-card.popular::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); border-radius: inherit; pointer-events: none;
}
.tarif-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.tarif-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .65rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  background: var(--grad); padding: .25rem .8rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.tarif-name {
  font-family: var(--font-disp); font-size: 1.3rem;
  font-weight: 800; margin-bottom: .5rem;
}
.tarif-price {
  font-family: var(--font-disp); font-size: 3rem; font-weight: 900;
  line-height: 1; margin-bottom: .25rem;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.tarif-price span { font-size: 1.1rem; font-weight: 400; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.tarif-sub { color: var(--muted); font-size: .82rem; margin-bottom: 2rem; }
.tarif-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.tarif-features li { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--muted); }
.tarif-features li.yes::before { content: '✓'; color: #4ade80; font-weight: 700; flex-shrink:0; }
.tarif-features li.no::before { content: '—'; color: var(--dim); flex-shrink:0; }
.tarif-features li.no { opacity: .5; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; margin-bottom: 5rem;
}
.about-visual {
  position: relative; height: 400px;
}
.about-blob {
  position: absolute; inset: 0;
  background: var(--grad-soft); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob-float 10s ease-in-out infinite;
}
@keyframes blob-float {
  0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  33% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  66% { border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%; }
}
.about-blob-inner {
  position: absolute; inset: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: inherit; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: .5rem;
}
.about-blob-icon { font-size: 4rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.about-value {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem;
}
.about-value-icon { font-size: 1.4rem; margin-bottom: .5rem; }
.about-value-title { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.about-value-text { color: var(--muted); font-size: .82rem; line-height: 1.6; }

/* ===== PORTFOLIO ===== */
.portfolio-filters {
  display: flex; gap: .75rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.pf-filter {
  padding: .5rem 1.2rem; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: all .2s;
}
.pf-filter.active, .pf-filter:hover {
  background: rgba(168,85,247,.12); border-color: var(--violet); color: var(--accent);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.portfolio-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform .3s, border-color .3s;
  position: relative;
}
.portfolio-item:hover { transform: translateY(-4px); border-color: rgba(168,85,247,.4); }
.portfolio-item-img {
  height: 200px; background: var(--grad-soft);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-item-icon { font-size: 3rem; opacity: .4; }
.portfolio-item-overlay {
  position: absolute; inset: 0;
  background: rgba(7,7,15,.8);
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  opacity: 0; transition: opacity .25s;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-info { padding: 1.5rem; }
.portfolio-item-cat { font-size: .65rem; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: .4rem; }
.portfolio-item-title { font-family: var(--font-disp); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.portfolio-item-desc { color: var(--muted); font-size: .83rem; }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .about-grid { grid-template-columns: 1fr; }
}
@media(max-width:900px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .services-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps.active { grid-template-columns: 1fr 1fr; }
  .step::after { display:none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 480px; }
  .models-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 3rem 1.5rem; }
  .process-steps.active { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Page specific extras */
    .hero-logo-area {
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 2rem;
      animation: fade-up .6s ease both;
    }
    .hero-logo-area img {
      height: 200px; width: auto;
      filter: drop-shadow(0 0 30px rgba(168,85,247,.5));
      animation: logo-float 5s ease-in-out infinite;
    }
    @keyframes logo-float {
      0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)}
    }

    /* Photobooth visual mockup */
    .booth-visual {
      display: flex; flex-direction: column; align-items: center;
      gap: .5rem; position: absolute; right: -20px; top: 50%;
      transform: translateY(-50%) rotate(2deg);
      opacity: .85;
    }
    .photo-strip {
      display: flex; flex-direction: column; gap: .3rem;
      background: #fff; padding: .5rem; border-radius: 4px;
      box-shadow: 0 20px 60px rgba(0,0,0,.5);
      width: 90px;
    }
    .photo-frame {
      width: 80px; height: 60px; border-radius: 2px;
      background: linear-gradient(135deg, var(--glow-p), var(--glow-b));
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem;
    }
    .photo-strip-label {
      text-align: center; font-size: .45rem; color: #555;
      font-family: var(--font-mono); letter-spacing: 1px;
      padding-top: .2rem;
    }

    /* Web mockup */
    .web-visual {
      position: relative;
      background: var(--bg-card2); border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,.4);
    }
    .web-browser-bar {
      background: var(--bg-card); padding: .5rem .75rem;
      display: flex; align-items: center; gap: .4rem;
      border-bottom: 1px solid var(--border);
    }
    .dot { width:8px; height:8px; border-radius:50%; }
    .dot.r{background:#ff5f57} .dot.y{background:#ffbd2e} .dot.g{background:#28c840}
    .web-url {
      flex:1; background: var(--bg-card2);
      border-radius: 4px; padding: .2rem .6rem;
      font-family: var(--font-mono); font-size: .55rem; color: var(--dim);
      text-align: center; margin: 0 .5rem;
    }
    .web-content {
      padding: 1rem;
      display: flex; flex-direction: column; gap: .5rem;
    }
    .web-hero-mock {
      background: var(--grad-soft); border-radius: 6px;
      height: 70px; display: flex; align-items: center;
      justify-content: center; gap: .5rem;
    }
    .web-hero-mock .line {
      height: 8px; border-radius: 4px;
      background: linear-gradient(90deg, var(--violet), var(--pink));
    }
    .web-blocks { display:flex; gap:.4rem; }
    .web-block {
      flex:1; height:35px; border-radius:4px;
      background: var(--bg-card); border:1px solid var(--border);
    }

    /* Gradient text helper */
    .grad-text {
      background: var(--grad);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Section divider */
    .divider { width:100%; height:1px; background:linear-gradient(90deg,transparent,var(--border),transparent); }

    /* Contact form in CTA */
    .contact-form {
      display: flex; gap: .75rem; justify-content: center;
      flex-wrap: wrap; margin-top: 1.5rem;
    }
    .contact-input {
      background: var(--bg-panel); border: 1px solid var(--border);
      border-radius: 6px; padding: .75rem 1.25rem;
      color: var(--text); font-family: var(--font-body); font-size: .9rem;
      width: 260px; transition: border-color .2s; outline: none;
    }
    .contact-input:focus { border-color: var(--violet); }
    .contact-input::placeholder { color: var(--dim); }

    /* Testimonials */
    .testimonials { padding: 6rem 2rem; }
    .testimonials-inner { max-width: 1100px; margin: 0 auto; }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
    .testi-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 10px; padding: 2rem;
      transition: transform .3s, border-color .3s;
    }
    .testi-card:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.3); }
    .testi-stars { color: var(--accent); margin-bottom: 1rem; font-size: .9rem; }
    .testi-text { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
    .testi-author { font-weight: 600; font-size: .88rem; }
    .testi-role { font-size: .78rem; color: var(--dim); }

    @media(max-width:900px) {
      .testimonials-grid { grid-template-columns: 1fr; }
      .booth-visual { display: none; }
    }
    @media(max-width:600px) {
      .hero-logo-area img { height: 68px; }
    }

.page-hero{min-height:45vh;display:flex;align-items:center;padding:calc(var(--nav-h) + 3rem) 2rem 3rem;position:relative;overflow:hidden;}
    .page-hero::before{content:'';position:absolute;top:-100px;left:50%;transform:translateX(-50%);width:700px;height:500px;background:radial-gradient(ellipse,rgba(123,47,255,.15) 0%,transparent 65%);pointer-events:none;}
    .page-inner{max-width:1100px;margin:0 auto;padding:3rem 2rem 6rem;}
    .content-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:2.5rem;margin-bottom:1.5rem;position:relative;overflow:hidden;}
    .content-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--grad);}
    .content-card h3{font-family:var(--font-disp);font-size:1.2rem;font-weight:700;margin-bottom:.75rem;}
    .content-card p{color:var(--muted);line-height:1.8;margin-bottom:.75rem;font-size:.93rem;}
    .coming{border:1px dashed var(--border);border-radius:10px;padding:4rem 2rem;text-align:center;color:var(--dim);font-size:.85rem;letter-spacing:1px;}

:root {
  /* 🌙 MODE SOMBRE */
  --bg: #0a0d14;
  --bg-card: #121a2a;
  --bg-soft: #0f1524;

  --text: #f5f7ff;
  --muted: #b3bdd6;

  --border: rgba(255,255,255,0.10);

  --primary: #7b2fff;
  --secondary: #00d4ff;

  --grad: linear-gradient(135deg, #7b2fff, #00d4ff);
}

/* ☀️ MODE CLAIR (CORRIGÉ CONTRASTE) */
body.light {
  --bg: #f7f9fc;
  --bg-card: #ffffff;
  --bg-soft: #eef2f8;

  --text: #0b0f1a;
  --muted: #3b455a;

  --border: rgba(0,0,0,0.12);

  --primary: #5b2cff;
  --secondary: #0066ff;

  --grad: linear-gradient(135deg, #5b2cff, #0066ff);
}

/* =========================
   BASE GLOBAL
========================= */

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

/* empêche les noirs cassés */
section,
div,
header,
footer {
  transition: all 0.3s ease;
}

/* =========================
   TEXTES
========================= */

h1, h2, h3, h4 {
  color: var(--text);
}

p, span, li {
  color: var(--muted);
}

/* =========================
   LIENS
========================= */

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: var(--secondary);
}

/* =========================
   BACKGROUNDS GLOBAL
========================= */

.page-inner,
.content-card,
.navbar,
.footer {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

/* sections secondaires */
.page-hero {
  background: var(--bg-soft);
}

/* =========================
   CARDS
========================= */

.content-card {
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

body.light .content-card {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* =========================
   NAVBAR (CLAIR + SOMBRE + SCROLL)
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

/* 🌙 DARK */
body:not(.light) .navbar {
  background: rgba(10, 13, 20, 0.7);
  backdrop-filter: blur(12px);
}

/* ☀️ LIGHT (début) */
body.light .navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

/* ☀️ LIGHT (scroll) */
body.light .navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* =========================
   FOOTER
========================= */

.footer {
  background: var(--bg-soft);
}

/* =========================
   BOUTON THEME
========================= */

.theme-toggle {
  margin-left: 1rem;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  transition: 0.2s;
}

.theme-toggle:hover {
  transform: scale(1.05);
}

/* =========================
   ANIMATIONS GLOBALES
========================= */

* {
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* =========================
   CORRECTION "NOIR CASSÉ"
========================= */

[style*="background: #000"],
[style*="background:#000"],
.black,
.bg-black {
  background: var(--bg-card) !important;
}

/* =========================
   BOUTONS (option propre)
========================= */

button, .btn {
  border-radius: 10px;
  transition: 0.2s;
}

/* ===== FIX MOBILE GLOBAL ===== */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  .navbar {
    padding: 0 1rem;
  }

  .hero {
    padding: calc(var(--nav-h) + 2rem) 1rem 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .services-grid,
  .why-grid,
  .stats-grid,
  .models-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .svc-card,
  .content-card,
  .tarif-card {
    padding: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

}

:root {
  --bg: #0b0b14;
  --bg-card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.65);

  --primary: #7b2fff;
  --secondary: #4f46e5;

  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);

  --font-disp: 'Syne', sans-serif;
  --font-main: 'DM Sans', sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

h1,h2,h3 {
  font-family: var(--font-disp);
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(123,47,255,.15);
  color: #c7a6ff;
  font-size: .8rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: .4s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow);
  border-color: rgba(123,47,255,.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== NETTOYAGE RADICAL DE LA NAVBAR SUR MOBILE ===== */
@media (max-width: 768px) {
  
  /* On force le conteneur global à ne pas éparpiller les éléments */
  .navbar {
    display: flex !important;
    justify-content: space-between !important; /* Pousse le groupe à gauche, le hamburger à droite */
    align-items: center !important;
    position: fixed !important;
    height: 60px !important;
    padding: 0 15px !important;
  }

  /* Force le groupe (Logo + Bouton) à être compact et collé à gauche */
  .nav-left-group {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Aligne tout au début (à gauche) */
    width: auto !important; /* Empêche le groupe de prendre tout l'écran */
    max-width: 70% !important;
    gap: 8px !important; /* Espace fixe et petit (8px) entre le texte et le bouton */
    margin: 0 !important; /* Annule toute marge automatique parasite */
  }

  /* On s'assure que le lien du logo ne repousse pas le bouton */
  .nav-logo {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* CORRECTION DU BOUTON : On supprime tout ce qui le pousserait au milieu */
  .theme-toggle {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important; /* ANNULE le margin-left: auto ou margin: auto qui le bloquait au milieu */
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 1.2rem !important;
    background: transparent !important;
    border: none !important;
    display: inline-block !important; /* Change le comportement flexbox qui l'étirait */
    flex: none !important; /* Empêche le bouton de grandir ou de prendre de la place pour rien */
  }
}

/* ==========================================================================
   FIX DÉFINITIF ALIGNEMENT BOUTON THEME (ORDINATEUR & MOBILE)
   ========================================================================== */

/* --- 1. REGLE COMMUNE POUR ORDINATEUR ET MOBILE --- */
.nav-left-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important; /* Empêche le groupe de s'étendre au milieu */
  gap: 15px !important; /* Espace fixe et propre de 15px après le texte */
  margin: 0 !important;
  padding: 0 !important;
}

.theme-toggle {
  position: relative !important;
  margin: 0 !important; /* Écrase le margin-left: 1rem parasite qui décalait tout */
  flex: none !important; /* Empêche le bouton de prendre de la place invisible */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --- 2. SPECIFIQUE POUR ORDINATEUR --- */
@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    justify-content: space-between !important; /* Logo/Bouton à gauche <---> Liens à droite */
    align-items: center !important;
    padding: 0 2.5rem !important;
  }
}

/* --- 3. SPECIFIQUE POUR TÉLÉPHONE (Vérification Hamburger) --- */
@media (max-width: 768px) {
  .navbar {
    display: flex !important;
    justify-content: space-between !important; /* Logo/Bouton à gauche <---> Hamburger à droite */
    align-items: center !important;
    padding: 0 15px !important;
    height: 60px !important;
  }
  
  .nav-left-group {
    gap: 10px !important; /* Un peu plus serré sur téléphone */
  }
}

/* ==========================================================================
   FORCE L'ALIGNEMENT COLLÉ AU TEXTE (ORDINATEUR & MOBILE)
   ========================================================================== */

/* Regroupement forcé en ligne compacte */
.nav-left-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 50% !important; /* Limite la zone pour ne pas envahir le milieu */
  margin: 0 !important;
  padding: 0 !important;
}

/* On force le lien du logo à ne pas prendre toute la place */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 auto !important; /* Ne s'étire pas */
  margin-right: 0 !important;
}

/* LE BOUTON THEME : Nettoyé et rapproché de force */
.theme-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  
  /* Supprime TOUTES les marges automatiques qui le poussaient au milieu */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  
  /* Ajustement X5 à X6 vers la gauche (Marge négative pour le coller de force) */
  margin-left: -955px !important; 
  
  flex: none !important; /* Empêche le bouton de flotter ou s'étirer */
  width: auto !important;
  height: auto !important;
}

/* Ajustement pour les grands écrans d'ordinateur */
@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    justify-content: space-between !important; /* Groupe Gauche <---------> Liens Droite */
    align-items: center !important;
  }
}

/* ===== LIBÉRATION DU HAMBURGER SUR MOBILE ===== */
@media (max-width: 768px) {
  .nav-left-group {
    max-width: 70% !important; /* Force le groupe à s'arrêter bien avant le hamburger */
    width: auto !important;
  }
  
  .hamburger {
    position: relative !important;
    z-index: 10005 !important; /* Passe le hamburger au-dessus de tout le monde */
    pointer-events: auto !important; /* Force le bouton à intercepter le clic */
  }
}