/* ═══════════════════════════════════════════════════
   NETOSIA — FULL SITE CSS
   Sombre · Violet · Méduses
═══════════════════════════════════════════════════ */

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

/* ─── FONT ───────────────────────────────────────── */
@font-face {
  font-family: 'Sora';
  src: url('font/sora.otf') format('opentype'); 
  font-weight: 400;
  font-style: normal;
}

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
  /* Colors */
  --bg:        #04000d;
  --bg2:       #080015;
  --surface:   #0e0022;
  --surface2:  #160030;
  --border:    rgba(139, 92, 246, 0.18);
  --border-h:  rgba(139, 92, 246, 0.45);

  --purple-1:  #7c3aed;
  --purple-2:  #a855f7;
  --purple-3:  #c084fc;
  --purple-4:  #e879f9;
  --purple-glow: rgba(124, 58, 237, 0.35);

  --text:      rgba(255,255,255,0.88);
  --text-muted: rgba(255,255,255,0.45);
  --text-dim:  rgba(255,255,255,0.25);

  /* Type */
  --ff-sora: 'Sora', sans-serif;

  /* Spacing */
  --section-py: 120px;
  --inner-max:  1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light mode */
[data-theme="light"] {
  --bg:       #f0eeff;
  --bg2:      #e8e0ff;
  --surface:  #fff;
  --surface2: #f5f0ff;
  --border:   rgba(124,58,237,0.15);
  --border-h: rgba(124,58,237,0.4);
  --text:     rgba(15,5,30,0.9);
  --text-muted: rgba(15,5,30,0.5);
  --text-dim:  rgba(15,5,30,0.3);
  --purple-glow: rgba(124,58,237,0.15);
}

/* ─── BASE ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sora);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--ff-sora); border: none; background: none; }

/* ─── SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-1); border-radius: 2px; }

/* ═══════════════════════════════════════════════════
   GLOBAL SECTIONS
═══════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: var(--section-py) 0;
}

.section-inner {
  width: 100%;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background .4s var(--ease), backdrop-filter .4s;
}

.navbar.scrolled {
  background: rgba(4, 0, 13, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(240, 238, 255, 0.82);
}

.nav-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: var(--text);
  opacity: .8;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: 1; }
.nav-logo-img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0 auto;
}

.nav-links a {
  font-size: .70rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--purple-2);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle, .theme-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  transition: border-color .2s, color .2s, background .2s;
  background: transparent;
}
.lang-toggle:hover, .theme-toggle:hover {
  border-color: var(--purple-2);
  color: var(--text);
  background: rgba(124,58,237,.1);
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 25px;
  background: var(--purple-1);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: var(--purple-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px var(--purple-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-muted);
  transition: transform .3s, opacity .3s;
}

.mobile-menu {
  display: none;
  padding: 20px 40px 30px;
  border-top: 1px solid var(--border);
  background: rgba(4,0,13,.95);
  backdrop-filter: blur(20px);
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--purple-3); }

.navbar.open .mobile-menu { display: block; }
.navbar.open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar.open .burger span:nth-child(2) { opacity: 0; }
.navbar.open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO — NOUVELLE VERSION
═══════════════════════════════════════════════════ */

/* Configuration de base de la section */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Sora', sans-serif; /* À adapter selon ta police exacte */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85); /* Assombrit très légèrement pour faire ressortir le texte blanc */
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%; 
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* --- HEADER --- */
.header {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Sora', serif; /* Remplace par la police de ta maquette (ex: Playfair Display) */
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.7;
}

.btn-header {
  background-color: #8A56E6; /* Le violet de ta maquette */
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px; /* Forme de pilule */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.btn-header:hover {
  background-color: #7442c9;
}

/* --- TEXTE CENTRAL --- */
.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
  padding: 0 20px;
  margin-top: 60px; /* Compense la hauteur du header */
}

.hero-title {
  font-family: 'Sora', serif; /* Remplace par ta police (ex: Playfair Display) */
  font-size: clamp(40px, 6vw, 85px);
  color: #f0f0f5;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: normal;
  max-width: 1100px;
}

.hero-description {
  font-size: clamp(14px, 1.2vw, 18px);
  color: #e0e0e0;
  max-width: 750px;
  line-height: 1.6;
  margin-bottom: 45px;
  font-weight: 300;
}

/* --- BOUTONS CENTRAUX --- */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
  background-color: #ffffff;
  color: #2b2b2b;
}

.btn-secondary {
  background-color: #8A56E6;
  color: #ffffff;
}

/* --- RESPONSIVE BASIQUE --- */
@media (max-width: 1024px) {
  .main-nav { display: none; } /* Cache le menu sur mobile/tablette (à remplacer par un menu burger) */
  .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-buttons a { text-align: center; }
}
/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */

.about-section{
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}

.about-bg{
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(168,85,247,.14),
      transparent 35%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(139,92,246,.12),
      transparent 35%
    );

  pointer-events: none;
}

.about-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;

  margin-bottom: 100px;
}

.about-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(255,255,255,.05);

  border: 1px solid rgba(255,255,255,.08);

  color: #c084fc;
  font-size: .9rem;
  font-weight: 600;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-title{
  margin-top: 30px;

  font-size: clamp(3rem,7vw,6rem);
  line-height: .95;
  letter-spacing: -3px;

  font-weight: 800;
}

.about-title span{
  background: linear-gradient(
    135deg,
    #a855f7,
    #e879f9
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description{
  margin-top: 28px;

  line-height: 1.9;
  font-size: 1.05rem;

  opacity: .75;

  max-width: 620px;
}

.about-buttons{
  margin-top: 40px;

  display: flex;
  align-items: center;
  gap: 24px;

  flex-wrap: wrap;
}

.about-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 28px;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #9333ea,
    #7c3aed
  );

  color: white;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform .4s var(--ease-spring),
    box-shadow .4s ease,
    opacity .3s ease;
}

.about-btn:hover{
  transform: translateY(-5px);

  box-shadow:
    0 15px 40px rgba(168,85,247,.35);
}

.about-live{
  display: flex;
  align-items: center;
  gap: 12px;

  opacity: .7;

  font-size: .95rem;
}

.live-circle{
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #a855f7;

  animation: pulse 2s infinite;
}

/* ═══════════════════════════════════════
   VISUAL
═══════════════════════════════════════ */

.about-visual{
  display: flex;
  justify-content: center;
  align-items: center;
}

.jelly-wrapper{
  position: relative;

  width: 520px;
  height: 520px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.jelly-logo{
  width: 360px;

  position: relative;
  z-index: 5;

  animation:
    floatJelly 6s ease-in-out infinite,
    rotateJelly 10s ease-in-out infinite;

  filter:
    drop-shadow(0 0 40px rgba(168,85,247,.45))
    drop-shadow(0 0 90px rgba(168,85,247,.2));
}

.jelly-glow{
  position: absolute;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(168,85,247,.35),
      transparent 70%
    );

  filter: blur(40px);

  animation: glow 5s infinite;
}

.ring{
  position: absolute;

  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.12);
}

.ring-1{
  width: 400px;
  height: 400px;

  animation: rotate 20s linear infinite;
}

.ring-2{
  width: 520px;
  height: 520px;

  animation: rotateReverse 30s linear infinite;
}

.particle{
  position: absolute;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #c084fc;
}

.p1{
  top: 80px;
  left: 100px;
}

.p2{
  top: 120px;
  right: 90px;
}

.p3{
  bottom: 100px;
  left: 140px;
}

/* ═══════════════════════════════════════
   ABOUT CARDS
═══════════════════════════════════════ */

.about-cards{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.about-card{
  position: relative;
  overflow: hidden;

  padding: 42px;

  border-radius: 30px;

  background: rgba(255,255,255,.03);

  border: 1px solid rgba(255,255,255,.06);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition:
    transform .4s var(--ease-spring),
    border-color .4s ease,
    box-shadow .4s ease;
}

.about-card::before{
  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(168,85,247,.12),
      transparent 60%
    );

  opacity: 0;

  transition: opacity .4s ease;
}

.about-card:hover{
  transform: translateY(-10px);

  border-color: rgba(168,85,247,.3);

  box-shadow:
    0 20px 50px rgba(168,85,247,.12);
}

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

.card-icon{
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(168,85,247,.18),
      rgba(124,58,237,.08)
    );

  font-size: 1.8rem;

  margin-bottom: 28px;
}

.about-card h3{
  margin-bottom: 16px;

  font-size: 1.4rem;
  font-weight: 700;
}

.about-card p{
  line-height: 1.9;
  opacity: .8;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */

.services-section{
  position: relative;
  padding: var(--section-py) 0;
}

.services-header{
  text-align: center;
  margin-bottom: 70px;
}

.services-title{
  margin-top: 24px;

  font-size: clamp(2.8rem,6vw,5rem);
  line-height: 1;

  font-weight: 800;
}

.services-title span{
  color: #a855f7;
}

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

.service-box{
  position: relative;
  overflow: hidden;

  padding: 42px;

  border-radius: 30px;

  background: rgba(255,255,255,.03);

  border: 1px solid rgba(255,255,255,.06);

  transition:
    transform .4s var(--ease-spring),
    border-color .4s ease,
    box-shadow .4s ease;
}

.service-box::before{
  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(168,85,247,.12),
      transparent 60%
    );

  opacity: 0;

  transition: opacity .4s ease;
}

.service-box:hover{
  transform: translateY(-10px);

  border-color: rgba(168,85,247,.3);

  box-shadow:
    0 20px 50px rgba(168,85,247,.12);
}

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

.service-icon{
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-box h3{
  margin-bottom: 16px;

  font-size: 1.3rem;
  font-weight: 700;
}

.service-box p{
  line-height: 1.8;
  opacity: .8;
}

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

@keyframes floatJelly{

  0%{
    transform: translateY(0px);
  }

  50%{
    transform: translateY(-25px);
  }

  100%{
    transform: translateY(0px);
  }

}

@keyframes rotateJelly{

  0%{
    transform: rotate(-5deg);
  }

  50%{
    transform: rotate(5deg);
  }

  100%{
    transform: rotate(-5deg);
  }

}

@keyframes glow{

  0%{
    transform: scale(1);
  }

  50%{
    transform: scale(1.1);
  }

  100%{
    transform: scale(1);
  }

}

@keyframes rotate{

  from{
    transform: rotate(0deg);
  }

  to{
    transform: rotate(360deg);
  }

}

@keyframes rotateReverse{

  from{
    transform: rotate(360deg);
  }

  to{
    transform: rotate(0deg);
  }

}

@keyframes pulse{

  0%{
    transform: scale(1);
    opacity: 1;
  }

  50%{
    transform: scale(1.6);
    opacity: .5;
  }

  100%{
    transform: scale(1);
    opacity: 1;
  }

}

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

@media(max-width:1100px){

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

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

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

  .services-header{
    text-align: left;
  }

}

@media(max-width:768px){

  .about-layout{
    gap: 50px;
  }

  .about-title{
    letter-spacing: -2px;
  }

  .jelly-wrapper{
    width: 100%;
    height: 380px;
  }

  .jelly-logo{
    width: 240px;
  }

  .ring-1{
    width: 280px;
    height: 280px;
  }

  .ring-2{
    width: 340px;
    height: 340px;
  }

  .about-card,
  .service-box{
    padding: 32px;
  }

}



/* ═══════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════ */
.portfolio-section { background: var(--bg); }

.portfolio-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  transition: all .25s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--purple-1);
  border-color: var(--purple-1);
  color: #fff;
}

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

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease-spring), box-shadow .4s, opacity .4s, transition-delay var(--delay, 0s);
  transition-delay: var(--delay, 0s);
}
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(124,58,237,.25);
}
.portfolio-item.hidden { opacity: 0; pointer-events: none; display: none; }

.portfolio-img {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease);
}
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }

.portfolio-medusa {
  font-size: 4rem;
  filter: drop-shadow(0 0 30px rgba(168,85,247,.5));
  animation: floatMedusa 3s ease-in-out infinite;
}

.portfolio-info {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
}
.portfolio-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.portfolio-info p { font-size: .82rem; color: var(--text-muted); }
.portfolio-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-3);
  margin-bottom: 8px;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,0,50,.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .1em;
  color: #fff;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* ═══════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════ */
.team-section { background: var(--bg2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color .3s, transform .4s var(--ease-spring), box-shadow .4s;
  transition-delay: var(--delay, 0s);
}
.team-card:hover {
  border-color: var(--border-h);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124,58,237,.2);
}

.team-avatar { margin-bottom: 20px; }
.avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  border: 2px solid var(--border-h);
  transition: transform .3s var(--ease-spring);
}
.team-card:hover .avatar-placeholder { transform: scale(1.08); }

.team-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.team-role {
  display: block;
  font-size: .72rem;
  color: var(--purple-3);
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.team-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.team-socials { display: flex; justify-content: center; gap: 12px; }
.team-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.team-socials a:hover { border-color: var(--purple-2); color: var(--purple-3); background: rgba(124,58,237,.1); }

/* ═══════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════ */
.reviews-section { background: var(--bg); }

.reviews-carousel { position: relative; overflow: hidden; }

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform .5s var(--ease);
}

.review-card {
  max-width: 1040px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  flex-shrink: 0;
}

.review-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.review-card blockquote {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 18px;
}
.review-card blockquote::before {
  content: '"';
  position: absolute;
  left: 0; top: -4px;
  font-size: 2rem;
  color: var(--purple-2);
  line-height: 1;
  font-style: normal;
}

.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
}
.review-author strong { display: block; font-size: .9rem; color: var(--text); }
.review-author span { font-size: .75rem; color: var(--text-dim); }

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.reviews-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all .25s;
}
.reviews-btn:hover { border-color: var(--purple-2); color: var(--purple-3); background: rgba(124,58,237,.1); }

.reviews-dots { display: flex; gap: 8px; }
.reviews-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s, transform .3s;
}
.reviews-dot.active { background: var(--purple-2); transform: scale(1.4); }

/* ═══════════════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════════════ */
.partners-section { background: var(--bg2); padding: 80px 0; }

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

.partner-logo {
  padding: 18px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-dim);
  transition: border-color .3s, color .3s, transform .3s var(--ease-spring);
}
.partner-logo:hover {
  border-color: var(--border-h);
  color: var(--text-muted);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════ */
.pricing-section { background: var(--bg); }

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-size: .82rem;
  color: var(--text-muted);
  letter-spacing: .08em;
}

.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface2);
  border-radius: 30px;
  border: 1px solid var(--border);
  transition: .3s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple-2);
  left: 3px; top: 50%; transform: translateY(-50%);
  transition: .3s;
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateY(-50%) translateX(20px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: border-color .3s, transform .4s var(--ease-spring), box-shadow .4s;
  transition-delay: var(--delay, 0s);
}
.pricing-card:hover {
  border-color: var(--border-h);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(124,58,237,.15);
}
.pricing-card.popular {
  border-color: var(--purple-1);
  background: linear-gradient(160deg, rgba(124,58,237,.12), var(--surface));
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }

.pricing-popular-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-1), var(--purple-4));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple-3);
  margin-bottom: 12px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
}
.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-amount-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.price-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li {
  font-size: .84rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}
.pricing-features li span:first-child { color: var(--purple-3); }

.pricing-cta {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.pricing-cta:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124,58,237,.35);
}
.pricing-cta-outline {
  background: transparent;
  border: 1px solid var(--border-h);
  color: var(--text-muted);
}
.pricing-cta-outline:hover {
  background: rgba(124,58,237,.1);
  color: var(--text);
  box-shadow: none;
}

/* Comparison table */
.pricing-compare h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.compare-table th {
  font-weight: 700;
  color: var(--text);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare-table td:first-child { text-align: left; }
.compare-table .highlight { color: var(--purple-3); background: rgba(124,58,237,.05); }
.compare-table tr:hover td { background: rgba(124,58,237,.04); }

/* ═══════════════════════════════════════════════════
   PAYMENT MODAL
═══════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.payment-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.95);
  z-index: 1001;
  width: min(520px, 90vw);
  background: var(--surface2);
  border: 1px solid var(--border-h);
  border-radius: 24px;
  padding: 48px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-spring);
}
.payment-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .9rem;
  background: var(--surface);
  transition: all .2s;
}
.modal-close:hover { border-color: var(--border-h); color: var(--text); }

.payment-modal h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.modal-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 28px; }

.payment-methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

.pay-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  transition: all .25s;
}
.pay-btn:hover { border-color: var(--border-h); background: var(--surface2); transform: translateX(4px); }
.pay-btn.stripe:hover { border-color: #635bff; }
.pay-btn.paypal:hover { border-color: #003087; }

.payment-info-form { display: flex; flex-direction: column; gap: 12px; }
.payment-info-form input {
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ff-sora);
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
}
.payment-info-form input:focus { border-color: var(--purple-2); }

.payment-secure {
  font-size: .74rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-section { background: var(--bg2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; line-height: 1; }
.contact-item strong { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-3); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .88rem; color: var(--text-muted); transition: color .2s; }
.contact-item a:hover { color: var(--purple-3); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--text-muted); }

.form-field input, .form-field select, .form-field textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ff-sora);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--purple-2);
  box-shadow: 0 0 0 3px rgba(168,85,247,.1);
}
.form-field select { appearance: none; cursor: pointer; }

.form-submit {
  padding: 16px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124,58,237,.35);
}

.form-success {
  display: none;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
  font-size: .85rem;
  font-weight: 600;
}
.form-success.show { display: flex; align-items: center; gap: 10px; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: #020008;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--text-muted);
  transition: all .2s;
}
.footer-socials a:hover { border-color: var(--purple-2); color: var(--purple-3); background: rgba(124,58,237,.1); }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: .85rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-col a:hover { color: var(--purple-3); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .78rem;
  color: var(--text-dim);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-dim); transition: color .2s; }
.footer-legal a:hover { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 80px; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }
  .nav-links, .nav-cta, .lang-toggle { display: none; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats { gap: 24px; flex-wrap: wrap; }
  .nav-inner { padding: 16px 24px; }
  .section-inner { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }
  .footer-inner { padding: 0 24px; }
  .review-card { min-width: 280px; }
}

/* ─── NOISE GRAIN 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ─── PURPLE GLOW BLOBS (déco) ───────────────────── */
.section::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.06) 0%, transparent 70%);
  pointer-events: none;
  right: -200px; top: -100px;
  animation: blobPulse 8s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal, .reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal        { transform: translateY(20px); }
.reveal-up     { transform: translateY(40px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }
.reveal.in, .reveal-up.in, .reveal-left.in, .reveal-right.in {
  opacity: 1;
  transform: translate(0);
}

/* ═══════════════════════════════════════════════════
   SECTION LABELS & TITLES
═══════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple-3);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 56px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-2), var(--purple-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════
   ABOUT — PILLARS
═══════════════════════════════════════════════════ */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-pillar {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.about-pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(168,85,247,.28);
  box-shadow: 0 20px 50px rgba(168,85,247,.1);
}

.pillar-num {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--purple-3);
  margin-bottom: 18px;
  opacity: .7;
}

.about-pillar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.about-pillar p {
  font-size: .88rem;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   ABOUT — APPROACH BANNER
═══════════════════════════════════════════════════ */
.about-approach {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(168,85,247,.05));
  border: 1px solid rgba(168,85,247,.18);
  flex-wrap: wrap;
}

.approach-text { flex: 1; min-width: 240px; }
.approach-text .about-badge { margin-bottom: 16px; }
.approach-text h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.approach-text p {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 500px;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.approach-tag {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,.25);
  background: rgba(168,85,247,.08);
  color: var(--purple-3);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  transition: background .2s, border-color .2s, transform .2s;
}
.approach-tag:hover {
  background: rgba(168,85,247,.18);
  border-color: rgba(168,85,247,.5);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   SERVICES — ENRICHED
═══════════════════════════════════════════════════ */
.services-intro {
  margin-top: 20px;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.service-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--purple-3);
  opacity: .55;
}

.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.service-stack span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-dim);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: color .2s, border-color .2s;
}
.service-box:hover .service-stack span {
  color: var(--purple-3);
  border-color: rgba(168,85,247,.2);
}

/* ═══════════════════════════════════════════════════
   MISSING KEYFRAMES
═══════════════════════════════════════════════════ */
@keyframes floatMedusa {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1) translate(0,0); opacity: .6; }
  50%       { transform: scale(1.15) translate(20px,-20px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — NEW BLOCKS
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-pillars { grid-template-columns: 1fr; }
  .about-approach { flex-direction: column; gap: 28px; padding: 36px; }
}
@media (max-width: 768px) {
  .about-approach { padding: 28px 24px; }
  .approach-text h3 { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════
   SVG ICONS
═══════════════════════════════════════════════════ */
.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--purple-3);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple-3);
}

.portfolio-medusa svg {
  width: 64px;
  height: 64px;
  stroke: rgba(168,85,247,.7);
  filter: drop-shadow(0 0 20px rgba(168,85,247,.4));
}

.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(168,85,247,.15);
  border: 1px solid rgba(168,85,247,.3);
  font-size: .75rem;
  font-weight: 700;
  color: var(--purple-3);
}

/* Lang toggle without flag */
#langFlag { display: none; }

/* ═══════════════════════════════════════════════════
   CORRECTIONS LIGHT MODE
═══════════════════════════════════════════════════ */
[data-theme="light"] {
  --text-primary: #000000;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --card-bg: rgba(0, 0, 0, 0.03);
  --card-border: rgba(0, 0, 0, 0.1);
  background: #f5f5f7;
}

[data-theme="light"] .logo span {
  color: #000000 !important;
}

[data-theme="light"] .nav-links a {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .nav-links a.active,
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a:active {
  color: #000000 !important;
}

/* Partenaires : on n'inverse QUE les images, pas le fond de la carte */
[data-theme="light"] .partner-logo {
  opacity: 0.8;
}

[data-theme="light"] .partner-logo img {
  filter: invert(1);
}

/* Footer visible */
[data-theme="light"] .footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(0,0,0,0.1);
}
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-bottom p {
  color: rgba(0, 0, 0, 0.6) !important;
}
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-legal a {
  color: #000000 !important;
}


/* ═══════════════════════════════════════════════════
   NETOSIA — responsive.css
   Mobile-first responsive overrides
   Ajouter après style.css : <link rel="stylesheet" href="responsive.css">
═══════════════════════════════════════════════════ */

/* ─── GLOBAL SECTION INNER ───────────────────────── */
@media (max-width: 1024px) {
  .section-inner {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .section-inner {
    padding: 0 20px;
  }
  :root {
    --section-py: 70px;
  }
}

@media (max-width: 480px) {
  .section-inner {
    padding: 0 16px;
  }
  :root {
    --section-py: 56px;
  }
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 16px 32px;
    gap: 20px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: .66rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
  }
  .nav-actions .lang-toggle {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding: 14px 20px;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: .72rem;
  }
}

@media (max-width: 400px) {
  .nav-actions .nav-cta {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(28px, 7vw, 52px);
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 32px;
    padding: 0 8px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }
  .hero-buttons a {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: .82rem;
  }
  .hero-text-container {
    padding: 0 16px;
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(24px, 8vw, 40px);
  }
  .hero-description {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
  }
  .about-pillars {
    grid-template-columns: 1fr 1fr;
  }
  .about-visual {
    order: -1;
  }
  .jelly-wrapper {
    width: 100%;
    max-width: 420px;
    height: 420px;
    margin: 0 auto;
  }
  .jelly-logo {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .about-layout {
    gap: 36px;
  }
  .about-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    letter-spacing: -1.5px;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .about-pillar {
    padding: 28px 24px;
  }
  .about-approach {
    padding: 28px 24px;
    flex-direction: column;
    gap: 24px;
  }
  .about-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .about-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .jelly-wrapper {
    height: 320px;
  }
  .jelly-logo {
    width: 200px;
  }
  .ring-1 {
    width: 260px;
    height: 260px;
  }
  .ring-2 {
    width: 310px;
    height: 310px;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    letter-spacing: -1px;
  }
  .about-description {
    font-size: .95rem;
  }
  .about-approach {
    padding: 22px 18px;
  }
}

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-header {
    text-align: left;
  }
  .services-intro {
    margin-left: 0;
    margin-right: 0;
    font-size: .88rem;
  }
  .services-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .service-box {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .service-box {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .services-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
}

/* ═══════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-img {
    height: 220px;
  }
}

/* ═══════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .review-card {
    min-width: calc(100vw - 40px);
    padding: 24px;
  }
  .review-card blockquote {
    font-size: .85rem;
  }
}

/* ═══════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.popular {
    transform: none;
    order: -1;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    max-width: 100%;
  }
  .pricing-card {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .price-amount {
    font-size: 2.6rem;
  }
  .pricing-toggle {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: .78rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px 10px;
    font-size: .75rem;
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .contact-item {
    flex: 1;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 12px 14px;
    font-size: .82rem;
  }
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-legal {
    gap: 16px;
  }
  .footer-inner {
    padding: 0 20px;
  }
  .footer {
    padding: 56px 0 32px;
  }
}

@media (max-width: 400px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.9rem, 7vw, 3rem);
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    margin-bottom: 28px;
  }
}

/* ═══════════════════════════════════════════════════
   PAYMENT MODAL
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .payment-modal {
    padding: 32px 24px;
    border-radius: 20px;
    width: calc(100vw - 32px);
  }
  .payment-methods {
    gap: 10px;
  }
  .pay-btn {
    padding: 14px 16px;
    font-size: .84rem;
  }
}

/* ═══════════════════════════════════════════════════
   CASE STUDY PAGES (apex.html, hamdaoui.html)
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .case-hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: 2rem;
  }
  .case-title-wrap {
    max-width: 100%;
  }
  .case-title-wrap h1 {
    font-size: clamp(32px, 7vw, 56px);
  }
  .hero-image-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .case-hero {
    padding: 120px 20px 40px;
  }
  .case-meta {
    gap: 16px;
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
  }
  .meta-item {
    flex: 1 1 140px;
  }
  .case-story {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  .case-story h2 {
    font-size: 1.8rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 2.5rem 0;
  }
  .stat-card {
    padding: 2rem 1.5rem;
  }
  .stat-card h3 {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .case-hero {
    padding: 110px 16px 32px;
  }
  .case-title-wrap h1 {
    font-size: clamp(26px, 9vw, 40px);
  }
  .case-meta {
    flex-direction: column;
    gap: 12px;
  }
  .meta-item {
    flex: 1 1 100%;
  }
}

/* ═══════════════════════════════════════════════════
   FONT PREVIEW PAGE (font-preview.html)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .font-badge {
    bottom: 16px;
    right: 16px;
    padding: 6px 10px;
  }
  .font-number {
    bottom: 16px;
    left: 16px;
    font-size: 9px;
  }
  .hero-tag {
    font-size: 9px;
    padding: 4px 10px 4px 8px;
    margin-bottom: 18px;
  }
  .hero-sub {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .hero-cta {
    padding: 11px 24px;
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════
   MISC FIXES
═══════════════════════════════════════════════════ */

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
}

/* Ensure images never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .nav-cta,
  .about-btn,
  .btn-primary,
  .btn-secondary,
  .pricing-cta,
  .form-submit,
  .hero-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .reviews-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .theme-toggle,
  .burger {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Stat numbers in case pages — don't overflow on small screens */
@media (max-width: 480px) {
  .stat-card h3 {
    font-size: 2.4rem;
  }
  .stat-card p {
    font-size: .82rem;
  }
}

/* Partners grid on mobile */
@media (max-width: 600px) {
  .partners-grid {
    gap: 12px;
  }
  .partner-logo {
    padding: 14px 24px;
    font-size: .78rem;
  }
}

/* Fix about pillars on medium tablets */
@media (min-width: 601px) and (max-width: 900px) {
  .about-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

/* Approach tags wrap cleanly on mobile */
@media (max-width: 600px) {
  .approach-tags {
    width: 100%;
  }
  .approach-tag {
    font-size: .75rem;
    padding: 6px 14px;
  }
}