/* ════════════════════════════════════════════════════════════
   NOVIA DIGITAL — Mobile-First CSS
   Design: Dark premium avec accent violet électrique
   Skills: mobilefirst, uiuxpromax, responsive-design, seo, copywriting,
           marketing, javascript, design, securite, canvas-design
════════════════════════════════════════════════════════════ */

/* ─────────────────── 1. VARIABLES & RESET ─────────────────── */
:root {
  /* Brand Colors */
  --purple:       #6C47FF;
  --purple-light: #9B7BFF;
  --purple-dark:  #4A2DE0;
  --purple-glow:  rgba(108, 71, 255, 0.18);
  --cyan:         #00D4FF;
  --gold:         #F5A623;
  --green-wa:     #25D366;

  /* Backgrounds */
  --bg:           #07070F;
  --bg-2:         #0D0C1C;
  --surface:      #111028;
  --card:         #16142E;
  --card-hover:   #1C1A38;

  /* Text */
  --text:         #FFFFFF;
  --text-2:       #C8CEDF;
  --text-muted:   #7B83A0;

  /* Borders */
  --border:       rgba(108, 71, 255, 0.1);
  --border-hover: rgba(108, 71, 255, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Fluid Type Scale */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.85rem, 0.8rem  + 0.25vw, 0.95rem);
  --text-base: clamp(1rem,    0.95rem + 0.25vw, 1.1rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.3rem);
  --text-xl:   clamp(1.3rem,  1.1rem  + 1vw,    1.75rem);
  --text-2xl:  clamp(1.6rem,  1.3rem  + 1.5vw,  2.25rem);
  --text-3xl:  clamp(2rem,    1.5rem  + 2.5vw,  3.2rem);
  --text-4xl:  clamp(2.5rem,  1.8rem  + 3.5vw,  4.5rem);

  /* Spacing */
  --space-xs:  clamp(0.5rem,  0.4rem  + 0.5vw,  0.75rem);
  --space-sm:  clamp(0.75rem, 0.65rem + 0.5vw,  1rem);
  --space-md:  clamp(1.25rem, 1rem    + 1.25vw, 2rem);
  --space-lg:  clamp(2rem,    1.5rem  + 2.5vw,  3.5rem);
  --space-xl:  clamp(3rem,    2rem    + 5vw,     6rem);

  /* Shapes */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6);
  --shadow-purple: 0 0 60px rgba(108,71,255,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* Visually hidden (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Focus styles (accessibility) */
:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ─────────────────── 2. LAYOUT UTILITIES ─────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.accent { color: var(--purple-light); }

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--purple-glow);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ─────────────────── 3. BUTTONS ─────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,71,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108,71,255,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--purple-glow);
}

.btn-white {
  background: #fff;
  color: var(--purple-dark);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: #fff;
}
.btn-whatsapp:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple-glow);
  border-color: var(--purple-light);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--text-xs);
  min-height: 38px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.btn-full { width: 100%; }


/* ─────────────────── 4. NAVBAR ─────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease);
}

.navbar.scrolled {
  background: rgba(7, 7, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-accent {
  color: var(--purple-light);
}

.footer-logo .logo-text {
  font-size: 1.4rem;
}

/* Nav links */
.nav-links {
  display: none;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 200ms var(--ease), background 200ms var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light)) !important;
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(108,71,255,0.3);
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(108,71,255,0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: transparent;
  transition: background 200ms var(--ease);
}

.hamburger:hover { background: rgba(255,255,255,0.06); }

.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}

.hamburger.active .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav menu */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 5rem 1.5rem 2rem;
  z-index: 99;
  gap: 0.5rem;
  animation: slideDown 300ms var(--ease);
}

.nav-links.open .nav-link {
  font-size: 1.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  color: var(--text-2);
  min-height: 60px;
}

.nav-links.open .nav-cta {
  margin-top: 1rem;
  border-radius: var(--radius-full);
  border: none;
  justify-content: center;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────── 5. HERO ─────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 15vw, 10rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

/* Background decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-glow--1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(108,71,255,0.3), transparent 70%);
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0,212,255,0.15), transparent 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--purple-glow);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(0,230,118,0.4);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,118,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

/* Hero title */
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
  opacity: 0.6;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.h-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.h-stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.h-stat-num span {
  font-size: 0.75em;
  color: var(--purple-light);
}

.h-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.h-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero visual: right side */
.hero-right { display: none; }

.hero-visual-wrap {
  position: relative;
  width: 100%;
}

/* Browser mockup */
.hero-browser {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-purple);
}

.hbrowser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.hdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hdot--r { background: #FF5F57; }
.hdot--y { background: #FEBC2E; }
.hdot--g { background: #28C840; }

.hurl-bar {
  flex: 1;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.hbrowser-body { padding: 16px; }

.hmock-hero {
  height: 80px;
  background: linear-gradient(135deg, rgba(108,71,255,0.3), rgba(108,71,255,0.08));
  border-radius: 6px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.hmock-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 55%;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.hmock-nav {
  height: 18px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-bottom: 14px;
}

.hmock-text { margin-bottom: 12px; }

.hmock-line {
  height: 9px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  margin-bottom: 7px;
}
.hmock-line--lg { width: 100%; }
.hmock-line--md { width: 72%; }
.hmock-line--sm { width: 45%; }

.hmock-cta {
  height: 28px;
  width: 110px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: var(--radius-full);
  margin-top: 10px;
}

.hmock-cards {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.hmock-card {
  flex: 1;
  height: 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

/* Float chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-chip--top {
  top: -16px;
  right: -16px;
  animation-delay: 0s;
}

.float-chip--bottom {
  bottom: -16px;
  left: -16px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}


/* ─────────────────── 6. MARQUEE ─────────────────── */
.marquee-wrap {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-2);
  overflow: hidden;
}

.marquee-label-text {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mdot {
  color: var(--purple) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track:hover .marquee-inner {
  animation-play-state: paused;
}


/* ─────────────────── 7. SERVICES ─────────────────── */
.services {
  padding: var(--space-xl) 0;
}

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

.svc-card {
  position: relative;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 250ms var(--ease);
  cursor: default;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,71,255,0.06), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  border-radius: inherit;
}

.svc-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}

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

.svc-card--featured {
  border-color: rgba(108,71,255,0.3);
  background: linear-gradient(135deg, #1A1535, var(--card));
}

.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.svc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-glow);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--purple-light);
}

.svc-num {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(108,71,255,0.35);
  letter-spacing: 0.05em;
}

.svc-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.svc-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.svc-arrow {
  color: var(--purple);
  font-size: 1.1rem;
  transition: transform 200ms var(--ease);
}

.svc-card:hover .svc-arrow {
  transform: translateX(5px);
}


/* ─────────────────── 8. PORTFOLIO ─────────────────── */
.portfolio {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, transparent, var(--bg-2) 50%, transparent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.port-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 300ms var(--ease);
}

.port-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(108,71,255,0.25);
}

/* Browser chrome */
.port-browser {
  background: var(--surface);
}

.port-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-subtle);
}

.port-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.port-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.port-dots span:nth-child(1) { background: rgba(255,95,87,0.7); }
.port-dots span:nth-child(2) { background: rgba(254,188,46,0.7); }
.port-dots span:nth-child(3) { background: rgba(40,200,64,0.7); }

.port-url {
  flex: 1;
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.port-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.port-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms var(--ease);
}

.port-card:hover .port-img {
  transform: translateY(-6%);
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,15,0.95) 0%, rgba(7,7,15,0.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.port-card:hover .port-overlay { opacity: 1; }

.port-overlay-btn {
  padding: 0.5rem 1.2rem;
  background: var(--purple);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 300ms var(--ease);
  text-decoration: none;
}

.port-card:hover .port-overlay-btn {
  transform: translateY(0);
}

.port-info {
  padding: 1.1rem 1.25rem;
}

.port-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--purple-glow);
  color: var(--purple-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.port-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.port-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* CTA card */
.port-card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-style: dashed;
  border-color: rgba(108,71,255,0.25);
  background: transparent;
}

.port-cta-inner {
  text-align: center;
  padding: 1.5rem;
}

.port-cta-icon {
  color: var(--purple);
  opacity: 0.6;
  margin: 0 auto 1rem;
}

.port-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.port-cta-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.portfolio-cta {
  text-align: center;
  margin-top: var(--space-md);
}


/* ─────────────────── 9. PROCESS ─────────────────── */
.process {
  padding: var(--space-xl) 0;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 3.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  opacity: 0.4;
}

.pstep-num {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 0.08em;
  width: 3rem;
  flex-shrink: 0;
  padding-top: 1.2rem;
}

.pstep-body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 250ms var(--ease);
}

.pstep-body:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.pstep-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-glow);
  border-radius: var(--radius);
  color: var(--purple-light);
  margin-bottom: 0.75rem;
}

.pstep-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pstep-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ─────────────────── 10. STATS ─────────────────── */
.stats-section {
  padding: var(--space-lg) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.stat-sep {
  display: none;
}

.stat-block {
  text-align: center;
  padding: var(--space-sm) 0;
}

.stat-number-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

.stat-big {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat-sup {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--purple-light);
  padding-top: 0.4rem;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}


/* ─────────────────── 11. TESTIMONIALS ─────────────────── */
.testimonials {
  padding: var(--space-xl) 0;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-2);
}

.grating-stars { display: flex; gap: 2px; }

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

.review-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 250ms var(--ease);
}

.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  flex-shrink: 0;
}

.review-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
}

.review-biz {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}


/* ─────────────────── 12. CTA BANNER ─────────────────── */
.cta-banner {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, #8B5CF6 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
}


/* ─────────────────── 13. CONTACT ─────────────────── */
.contact {
  padding: var(--space-xl) 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-intro {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin: 1rem 0 1.75rem;
  line-height: 1.7;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-2);
}

.perk-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 230, 118, 0.12);
  color: #00E676;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
}

.form-label span { color: var(--purple-light); }

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  min-height: 48px;
}

.form-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108,71,255,0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%237B83A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--surface);
  color: var(--text);
}

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

.form-error {
  font-size: var(--text-xs);
  color: #FF6B6B;
  display: none;
}

.form-error.visible { display: block; }

.form-note {
  margin-top: 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  margin-top: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius);
  color: #00E676;
  font-size: var(--text-sm);
  text-align: center;
}

/* Loading state */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}


/* ─────────────────── 14. FOOTER ─────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0.75rem 0 1.25rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all 200ms var(--ease);
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--border-hover);
  color: var(--purple-light);
  background: var(--purple-glow);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color 200ms var(--ease);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

.footer-link:hover { color: var(--purple-light); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wa {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

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

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-link-sm {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color 200ms var(--ease);
  text-decoration: none;
}

.footer-link-sm:hover { color: var(--purple-light); }


/* ─────────────────── 15. WHATSAPP FLOAT ─────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 90;
  transition: all 250ms var(--ease);
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

.wa-tooltip {
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  background: rgba(7,7,15,0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.wa-float:hover .wa-tooltip { opacity: 1; }


/* ─────────────────── 16. SCROLL REVEAL ANIMATIONS ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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


/* ════════════════════════════════════════════════
   RESPONSIVE — TABLET (481px+)
════════════════════════════════════════════════ */
@media (min-width: 481px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }

  .form-row {
    flex-direction: row;
  }

  .cta-right {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (769px+)
════════════════════════════════════════════════ */
@media (min-width: 769px) {

  .hamburger { display: none; }

  .nav-links {
    display: flex;
    align-items: center;
    position: static;
    background: none;
    padding: 0;
    animation: none;
    flex-direction: row;
  }

  .nav-links .nav-link {
    font-size: var(--text-sm);
    color: var(--text-muted);
    min-height: auto;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
    font-size: 0.9rem;
  }

  .hero-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 4rem;
  }

  .hero-left {
    flex: 1;
  }

  .hero-right {
    display: block;
    flex: 1;
  }

  .hero-badge { margin-bottom: 1rem; }
  .hero-title { text-align: left; }
  .hero-desc { margin: 0 0 2rem; text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-sep {
    display: block;
    width: 1px;
    height: 80px;
    background: var(--border);
    align-self: center;
  }

  .stat-block { padding: 0 var(--space-md); }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-lg);
    align-items: start;
  }

  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cta-right {
    flex-direction: row;
    max-width: none;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — LARGE (1025px+)
════════════════════════════════════════════════ */
@media (min-width: 1025px) {

  .container { padding: 0 2rem; }

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

  .process-step {
    flex-direction: column;
    padding-bottom: 0;
    gap: 0.75rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step::before {
    content: '';
    position: absolute;
    top: 1.4rem;
    left: calc(3rem + 1.5rem);
    right: calc(-1.5rem);
    height: 1px;
    background: linear-gradient(to right, var(--purple), transparent);
    opacity: 0.3;
  }

  .process-step:last-child::before { display: none; }

  .pstep-num {
    padding-top: 0;
    width: auto;
  }
}
