
@keyframes gradShiftV {
  0%   { background-position: 50% 0%; }
  50%  { background-position: 50% 100%; }
  100% { background-position: 50% 0%; }
}

/* ── ANIMATED TEXT SHADOWS ── */
@keyframes heroTitleShadow {
  0%,100% {
    text-shadow: 2px 4px 0 rgba(74,0,128,0.10), 0 0 0 transparent;
  }
  30% {
    text-shadow: 3px 7px 0 rgba(100,0,200,0.20),
      0 0 45px rgba(192,68,240,0.22),
      -2px -2px 24px rgba(160,50,230,0.12);
  }
  65% {
    text-shadow: -3px 6px 0 rgba(80,0,180,0.16),
      0 0 28px rgba(192,68,240,0.15),
      4px -3px 30px rgba(192,68,240,0.08);
  }
}
@keyframes meritezFilter {
  0%,100% { filter: drop-shadow(0 0 8px rgba(192,68,240,0.5)); }
  50%      { filter: drop-shadow(0 0 26px rgba(192,68,240,0.95)) drop-shadow(0 0 55px rgba(100,0,200,0.5)); }
}

nav {
  position: fixed; top: 0; width: 100%; z-index: 99999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 4rem; height: 64px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(8,9,15,0.97) 0%, rgba(8,9,15,0) 100%);
  backdrop-filter: blur(6px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; letter-spacing: 0.18em;
  text-decoration: none; font-style: italic;
  background: var(--grad);
  background-size: 300% 300%;
  animation: gradShift 6s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: 0.75;
  transition: opacity 0.3s, color 0.3s, transform 0.3s, letter-spacing 0.3s;
  display: inline-block; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; right: 50%;
  height: 1px; background: linear-gradient(90deg, #c044f0, #4a0080);
  transition: left 0.3s ease, right 0.3s ease, opacity 0.3s; opacity: 0;
}
.nav-links a:hover { opacity: 1; color: var(--blue1); transform: scale(1.12) translateY(-2px); letter-spacing: 0.28em; }
.nav-links a:hover::after { left: 0; right: 0; opacity: 1; }

#hero {
  position: relative; z-index: 9999;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 8rem 2rem 5rem; text-align: center;
}
.hero-tag {
  font-size: 0.75rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--blue1); margin-bottom: 1.8rem;
  border: 1px solid var(--border); padding: 0.35rem 1.1rem;
  display: inline-block; animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900; line-height: 0.95; color: var(--cream);
  animation: fadeUp 0.9s 0.15s ease both, heroTitleShadow 7s 1s ease-in-out infinite;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, #a855f7, #b033ee, #5522ee, #7c3aed, #9b30e0, #c084fc);
  background-size: 300% 300%;
  animation: gradShift 6s ease infinite, meritezFilter 5s -1.5s ease-in-out infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 540px; margin: 2rem auto 0;
  font-size: 0.95rem; line-height: 1.85; opacity: 0.78;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-cta {
  margin-top: 2.8rem;
  display: flex; gap: 1.8rem; align-items: center; justify-content: center;
  animation: fadeUp 0.9s 0.45s ease both;
}
.btn-primary {
  background: var(--grad);
  background-size: 300% 300%; animation: gradShift 5s ease infinite;
  color: #fff; padding: 0.9rem 2.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none; font-weight: 700;
  transition: opacity 0.3s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { opacity: 0.82; transform: translateY(-2px); }
.btn-ghost {
  color: var(--blue1); font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; text-decoration: none; opacity: 0.9;
  transition: opacity 0.3s;
}
.btn-ghost:hover { opacity: 1; }
.hero-wave-wrap {
  width: 100%; display: flex; justify-content: center;
  margin-top: 4.5rem; animation: fadeUp 1s 0.6s ease both;
}
.hero-waveform {
  display: flex; align-items: center; gap: 3px;
  height: 100px; width: clamp(300px, 65vw, 640px);
}
.hero-waveform span {
  flex: 1; border-radius: 4px;
  height: var(--max); transform-origin: center; will-change: transform, opacity;
  background: linear-gradient(180deg, #1a44ff 0%, #7733ff 33%, #cc22ff 66%, #1a44ff 100%);
  background-size: 100% 400%;
  animation: wbar 1.5s ease-in-out infinite alternate, gradShiftV 7s ease infinite;
}
/* animé en transform (compositeur) et non en height (relayout à chaque frame) */
@keyframes wbar { from { transform: scaleY(0.15); opacity: 0.4; } to { transform: scaleY(1); opacity: 1; } }

.tape-divider {
  position: relative; z-index: 1; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue1) 30%, var(--blue2) 70%, transparent);
  opacity: 0.35;
}

section { position: relative; z-index: 9999; }

.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 2rem; }

.section-label {
  font-size: 0.85rem; letter-spacing: 0.42em; text-transform: uppercase;
  background: var(--grad);
  background-size: 300% 300%; animation: gradShift 6s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.6rem; opacity: 0.9;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700; margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border); padding-bottom: 1.4rem;
  text-shadow: 3px 6px 0 rgba(100,0,200,0.16), 0 0 32px rgba(192,68,240,0.14);
}

#services { padding: 7rem 0; background: transparent; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.service-card {
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden; transition: background 0.4s, box-shadow 0.4s;
  background: rgba(12, 14, 30, 0.38);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(160, 50, 230, 0.22);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
}
.service-card:hover { background: rgba(160,50,230,0.08); box-shadow: 0 6px 32px rgba(160,50,230,0.2), inset 0 1px 0 rgba(255,255,255,0.1); }
.service-icon { width: 3.5rem; height: 3.5rem; margin-bottom: 1.4rem; display: block; }
.service-icon svg { width: 100%; height: 100%; animation: iconPulse 4s ease-in-out infinite; }
@keyframes iconPulse {
  0%,100% { filter: drop-shadow(0 0 3px rgba(160,50,230,0.5)) hue-rotate(0deg); }
  50%      { filter: drop-shadow(0 0 8px rgba(255,80,40,0.8)) hue-rotate(15deg); }
}
.service-name {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 700; margin-bottom: 1rem;
  text-shadow: 2px 4px 0 rgba(100,0,200,0.16), 0 0 24px rgba(192,68,240,0.12);
}
.service-desc { font-size: 0.9rem; line-height: 1.8; opacity: 0.78; }
.service-line {
  width: 30px; height: 2px; margin-top: 1.8rem;
  background: var(--grad);
  background-size: 300% 300%; animation: gradShift 6s ease infinite;
  transition: width 0.4s; box-shadow: 0 0 8px rgba(160,50,230,0.5);
}
.service-card:hover .service-line { width: 70px; box-shadow: 0 0 16px rgba(255,80,40,0.8); }
.service-expand-hint { display: none; }
@keyframes hintBlink {
  0%, 100% { opacity: 0.15; transform: rotate(45deg) translateY(0); }
  50%       { opacity: 0.8;  transform: rotate(45deg) translateY(3px); }
}

#about {
  padding: 7rem 0;
  background: transparent;
}
#about .container {
  display: grid; grid-template-columns: 1fr auto; gap: 6rem; align-items: center;
}
.about-text .section-title { border: none; padding: 0; margin-bottom: 1.5rem; }
.about-body { font-size: 0.95rem; line-height: 1.9; opacity: 0.8; }
.about-body p + p { margin-top: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.stat {
  padding: 1.4rem 1.2rem;
  background: rgba(12, 14, 30, 0.38);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 14px;
  border: 1px solid rgba(160, 50, 230, 0.22);
  border-left: 3px solid rgba(160, 50, 230, 0.45);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
}
.stat-num {
  font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; line-height: 1;
  background: var(--grad);
  background-size: 300% 300%; animation: gradShift 6s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.75rem; letter-spacing: 0.14em; opacity: 0.72; margin-top: 0.3rem; text-transform: uppercase; }

.logo-display { display: flex; justify-content: center; align-items: center; position: relative; }
.logo-display img {
  width: 300px; height: 300px;
  transition: transform 0.6s ease, filter 0.5s;
  filter: drop-shadow(0 0 18px rgba(192,68,240,0.35));
}
.logo-display img:hover { transform: scale(1.05); filter: drop-shadow(0 0 36px rgba(192,68,240,0.7)); }
.logo-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at center, rgba(160,50,230,0.2) 0%, transparent 60%);
  pointer-events: none; animation: logoPulse 5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { opacity: 0.4; transform: scale(0.92); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

#process { padding: 7rem 0; background: transparent; }
.process-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.process-item {
  display: flex; align-items: flex-start; gap: 2rem;
  padding: 2rem 2.2rem;
  background: rgba(12, 14, 30, 0.38);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(160, 50, 230, 0.22);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: box-shadow 0.4s;
}
.process-item:hover { box-shadow: 0 6px 32px rgba(160,50,230,0.18), inset 0 1px 0 rgba(255,255,255,0.1); }
.process-num {
  font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 900; line-height: 1;
  background: var(--grad);
  background-size: 300% 300%; animation: gradShift 8s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.5; flex-shrink: 0; padding: 0; width: 4.5rem; text-align: center;
}
.process-title {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.6rem;
  text-shadow: 2px 4px 0 rgba(100,0,200,0.16), 0 0 24px rgba(192,68,240,0.12);
}
.process-item > div:last-child { flex: 1; min-width: 0; }
.process-desc { font-size: 0.9rem; line-height: 1.8; opacity: 0.78; text-align: left; }

#contact { padding: 7rem 0; text-align: center; background: transparent; }
#contact .container { display: flex; flex-direction: column; align-items: center; justify-content: center; }

#contact .section-title { border: none; padding: 0; margin-bottom: 1.5rem; }
#contact .section-label {
  display: inline-block; position: relative;
  font-size: 0.88rem; letter-spacing: 0.28em; margin-bottom: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(160, 50, 230, 0.35);
  background: linear-gradient(120deg, #ffffff, #b033ee, #ffffff, #5522ee, #ffffff);
  background-size: 300% 300%; animation: gradShift 6s ease infinite;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
#contact .section-label::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50px;
  background: rgba(12, 14, 30, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 2px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.07);
  z-index: -1;
}

/* ── CONTACT MODAL ── */
#contact-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(8,9,15,0.84); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1rem;
}
#contact-modal-overlay.open { display: flex; }
.contact-modal {
  position: relative; width: min(480px, 100%);
  background: rgba(12,14,30,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(160,50,230,0.3);
  box-shadow: 0 12px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.07);
  padding: 2.5rem 2.2rem;
  animation: fadeUp 0.28s ease both;
}
.contact-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; margin-bottom: 0.3rem;
  background: var(--grad); background-size: 300% 300%;
  animation: gradShift 5s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-modal-sub {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem; letter-spacing: 0.04em; opacity: 0.72; margin-bottom: 2rem;
}
.modal-close {
  position: absolute; top: 1.1rem; right: 1.2rem;
  background: none; border: none; cursor: pointer;
  color: var(--cream); opacity: 0.7; font-size: 1.5rem; line-height: 1;
  transition: opacity 0.2s; padding: 0.2rem 0.4rem;
}
.modal-close:hover { opacity: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-field label {
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.78;
}
.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(160,50,230,0.22); border-radius: 8px;
  color: var(--cream); font-family: 'Playfair Display', serif;
  font-size: 0.92rem; padding: 0.7rem 0.9rem; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { opacity: 0.5; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(155,48,224,0.65);
  box-shadow: 0 0 0 3px rgba(155,48,224,0.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.btn-wa {
  width: 100%; margin-top: 0.6rem;
  background: var(--grad); background-size: 300% 300%;
  animation: gradShift 5s ease infinite;
  color: #fff; padding: 0.9rem 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  border: none; cursor: pointer; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: opacity 0.3s, transform 0.2s;
}
.btn-wa:hover { opacity: 0.82; transform: translateY(-2px); }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.contact-socials { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.social-link {
  position: relative; overflow: hidden;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: 0.85;
  padding: 0.7rem 0; width: 130px; text-align: center;
  background: rgba(12, 14, 30, 0.38);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 50px;
  border: 1px solid rgba(160, 50, 230, 0.22);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: opacity 0.3s, color 0.3s, box-shadow 0.3s;
}
.social-link:hover { opacity: 1; color: var(--blue1); box-shadow: 0 4px 20px rgba(160,50,230,0.25), inset 0 1px 0 rgba(255,255,255,0.12); }

/* ── ANONYMOUS FORM (toutes tailles : seul canal hors WhatsApp) ── */
.anon-form-wrap {
  display: block; margin-top: 3rem;
  width: min(460px, 100%); text-align: left;
}
.anon-form-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.72; text-align: center; margin-bottom: 1.4rem;
}
.anon-form-wrap .form-field textarea { min-height: 90px; }
.btn-anon {
  width: 100%; margin-top: 0.5rem;
  background: var(--grad); background-size: 300% 300%;
  animation: gradShift 5s ease infinite;
  color: #fff; padding: 0.8rem 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  border: none; cursor: pointer; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: opacity 0.3s, transform 0.2s;
}
.btn-anon:hover { opacity: 0.82; transform: translateY(-2px); }
.btn-anon:disabled { opacity: 0.4; cursor: default; transform: none; }
.anon-status {
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem; text-align: center; margin-top: 0.7rem;
  min-height: 1.2em;
}

/* ── QR CODE MODAL ── */
#qr-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(8,9,15,0.84); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1rem;
}
#qr-modal-overlay.open { display: flex; }
.qr-code-wrap {
  display: flex; justify-content: center; align-items: center;
  margin: 1.6rem auto;
  background: #fff; border-radius: 12px;
  padding: 1rem; width: fit-content;
}
#qr-code-container canvas, #qr-code-container img { display: block; width: 200px; height: 200px; }
.qr-hint {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem; letter-spacing: 0.06em; opacity: 0.65;
  text-align: center; margin-top: -0.5rem;
}
.qr-link {
  display: block; width: fit-content; margin: 1.2rem auto 0;
  color: var(--blue1); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid rgba(155,48,224,0.4); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.qr-link:hover { border-color: var(--blue1); }

.contact-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; height: 100px; margin-top: 2.5rem;
  width: clamp(300px, 65vw, 640px);
}
.contact-wave span {
  flex: 1; border-radius: 4px;
  height: var(--max); transform-origin: center; will-change: transform, opacity;
  background: linear-gradient(180deg, #1a44ff 0%, #7733ff 33%, #cc22ff 66%, #1a44ff 100%);
  background-size: 100% 400%;
  animation: wbar 1.5s ease-in-out infinite alternate, gradShiftV 7s ease infinite;
}


.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 100000;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-left: 1px solid rgba(160, 50, 230, 0.22); }
  nav { padding: 1.2rem 1.5rem; }
  .nav-burger { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 5.5rem 2.5rem 2.5rem;
    position: fixed;
    top: 0; right: 0; left: auto;
    height: 100dvh;
    width: min(190px, 55vw);
    background: rgba(8, 9, 15, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid rgba(160, 50, 230, 0.22);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.32s;
    z-index: 99998;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s; }
  .container, .footer-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  .hero-cta { flex-direction: column; align-items: center; gap: 1.2rem; }
  .btn-primary, .btn-ghost { display: block; width: 100%; max-width: 280px; text-align: center; }
  .btn-primary { clip-path: none; border-radius: 4px; }
  #about .container { grid-template-columns: 1fr; gap: 3rem; }
  .logo-display { display: none; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); cursor: pointer; text-align: center; }
  .service-card:last-child { border-bottom: none; }
  .bar-sep { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-icon { margin-left: auto; margin-right: auto; }
  .service-desc,
  .service-line { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease; }
  .service-desc { text-align: left; }
  .service-line { margin-left: auto; margin-right: auto; }
  .service-card.open .service-desc { max-height: 300px; opacity: 1; margin-top: 0.8rem; }
  .service-card.open .service-line { max-height: 40px; opacity: 1; margin-top: 1.8rem; }
  .service-expand-hint {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    margin-top: 1.4rem; transition: opacity 0.3s ease, max-height 0.3s ease;
  }
  .service-expand-hint span {
    display: block; width: 7px; height: 7px;
    border-right: 2px solid rgba(155,48,224,0.75);
    border-bottom: 2px solid rgba(155,48,224,0.75);
    animation: hintBlink 1.8s ease-in-out infinite;
  }
  .service-expand-hint span:nth-child(2) { animation-delay: 0.28s; }
  .service-expand-hint span:nth-child(3) { animation-delay: 0.56s; }
  .service-card.open .service-expand-hint { opacity: 0; pointer-events: none; }
}

.about-stats .stat:nth-child(1) { grid-column: 1; grid-row: 2; }
.about-stats .stat:nth-child(3) { grid-column: 1; grid-row: 1; }

/* ── ACTIVE NAV ── */
.nav-links a.active { opacity: 1; color: var(--blue1); }
.nav-links a.active::after { left: 0; right: 0; opacity: 1; }

/* ── BACK-TO-TOP ── */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99998;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); background-size: 300% 300%;
  animation: gradShift 6s ease infinite;
  border: none; cursor: pointer; color: #fff; font-size: 1.1rem; line-height: 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
#back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-top:hover { opacity: 0.75; }

/* ── CONTACT FAB ── */
#contact-fab {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 99998;
  padding: 0 1.4rem; height: 42px; border-radius: 21px;
  background: var(--grad); background-size: 300% 300%;
  animation: gradShift 6s ease infinite;
  border: none; cursor: pointer; color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
#contact-fab.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#contact-fab:hover { opacity: 0.75; transform: translateY(-2px); }

.lang-switcher-mobile { display: none; }


@media (max-width: 1024px) {
  #lang-switcher-desktop { display: none; }
  .lang-switcher-mobile {
    display: flex; align-items: center; gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem; list-style: none;
  }
}

/* ── MOBILE & TACTILE : allègement des effets (flou et ombres animées coûteux) ── */
@media (max-width: 1024px) {
  .service-card, .stat, .process-item, .social-link,
  #contact .section-label::before {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(12, 14, 30, 0.86);
  }
  .service-card:hover { background: rgba(12, 14, 30, 0.86); }
  .contact-modal { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 14, 30, 0.97); }
  .hero-title { animation: fadeUp 0.9s 0.15s ease both; text-shadow: 3px 7px 0 rgba(100,0,200,0.18), 0 0 40px rgba(192,68,240,0.2); }
  .hero-title em { animation: gradShift 6s ease infinite; filter: drop-shadow(0 0 14px rgba(192,68,240,0.75)); }
  .service-icon svg { animation: none; filter: drop-shadow(0 0 5px rgba(160,50,230,0.6)); }
}
@media (max-width: 768px) {
  #back-top { display: none; }
  #contact-fab { bottom: 1.2rem; left: 1.2rem; height: 40px; font-size: 0.75rem; padding: 0 1.2rem; }
  #contact .section-label { font-size: 0.75rem; letter-spacing: 0.14em; padding: 0.6rem 1.2rem; }
}

.botcheck { display: none; }
.service-card:focus-visible { outline: 2px solid var(--blue1); outline-offset: 3px; }
