/* =====================================================
   VARIABLES GLOBALES
===================================================== */

:root {
  --bg-main: #0f1025;
  --accent: #3021f5;
  --accent-soft: #b8b5ff;
  --text-main: #f5f6ff;
  --text-muted: #b0b3d6;

  --accent-rgb: 48, 33, 245;
  --nav-accent-rgb: 48, 33, 245;

  --halo-size: 220px;
  --halo-blur: 32px;
  --halo-opacity: 0.85;
}

/* =====================================================
   RESET & BASE
===================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================================================
   TYPOGRAPHIE TITRES — BENZIN
===================================================== */

@font-face {
  font-family: "Benzin";
  src: url("../fonts/benzin-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/benzin-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* =====================================================
   GRADIENT GLOBAL RÉACTIF À LA SOURIS
===================================================== */

.mouse-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: radial-gradient(
    var(--halo-size) circle
    at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--accent-rgb), 0.28),
    rgba(var(--accent-rgb), 0.12),
    transparent 70%
  );

  filter: blur(var(--halo-blur));
  opacity: var(--halo-opacity);
  transition: 0.25s ease;
}

body.cta-hover {
  --halo-size: 160px;
  --halo-blur: 22px;
  --halo-opacity: 1;
}

body > *:not(.mouse-gradient) {
  position: relative;
  z-index: 1;
}

/* =====================================================
   STICKY CTA MOBILE — SCROLL DIRECTION AWARE
===================================================== */

.sticky-cta-mobile {
  position: fixed !important;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 2rem);
  max-width: 420px;

  min-height: 64px;

  opacity: 0;
  pointer-events: none;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;

  z-index: 1100 !important;
}

/* Visible */
.sticky-cta-mobile.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Bouton */
.sticky-cta-btn {
  width: 100%;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  background: var(--accent);
  color: #fff;

  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 999px;

  box-shadow:
    0 12px 30px rgba(48,33,245,0.35),
    0 0 0 1px rgba(255,255,255,0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover / tap */
.sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(48,33,245,0.45),
    0 0 0 1px rgba(255,255,255,0.12);
}

/* Icône */
.sticky-cta-btn i {
  font-size: 1.1rem;
}

/* Desktop : pas de sticky */
@media (min-width: 1024px) {
  .sticky-cta-mobile {
    display: none;
  }
}

/* Low-end mobile : version simple */
body.low-end .sticky-cta-btn {
  box-shadow: none;
}

/* =====================================================
   STICKY CTA — BADGE DYNAMIQUE
===================================================== */

.sticky-cta-badge {
  position: absolute;
  top: -8px;
  right: -6px;

  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  padding: 3px 7px;
  border-radius: 999px;

  background: #22c55e; /* vert premium */
  color: #052e16;

  box-shadow:
    0 0 0 2px var(--bg-main),
    0 6px 16px rgba(34, 197, 94, 0.35);

  animation: badgePulse 2.4s ease-in-out infinite;
}

/* Variante "réponse rapide" */
.sticky-cta-badge.fast {
  background: #6366f1;
  color: #eef2ff;
  box-shadow:
    0 0 0 2px var(--bg-main),
    0 6px 16px rgba(99, 102, 241, 0.4);
}

/* Pulse subtil */
@keyframes badgePulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* Low-end mobile */
body.low-end .sticky-cta-badge {
  animation: none;
}


/* =====================================================
   NAVIGATION STICKY
===================================================== */

/* =====================
   HEADER
===================== */

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200 !important;

  background: rgba(15, 16, 37, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(184, 181, 255, 0.12);
}

/* Halo subtil premium derrière la nav */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at 50% 0%,
    rgba(var(--nav-accent-rgb), 0.25),
    transparent 65%
  );
  opacity: 0.6;
  pointer-events: none;
  transition: background 0.3s ease;
}

/* =====================
   NAV CONTAINER
===================== */

.site-nav {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;

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

/* =====================
   LOGO
===================== */

.nav-logo {
  font-family: "Benzin", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1;
}

/* =====================
   LINKS
===================== */

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

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Hover */
.nav-link:hover {
  color: var(--text-main);
}

/* =====================
   LIEN ACTIF
===================== */

.nav-link.active {
  color: rgb(var(--nav-accent-rgb));
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: rgb(var(--nav-accent-rgb));
  border-radius: 2px;
}

/* =====================
   CTA NAV
===================== */

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;

  background: rgb(var(--nav-accent-rgb));
  color: #fff !important;

  font-weight: 500;
  line-height: 1;

  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

/* Hover CTA */
.nav-cta:hover {
  transform: translateY(-1px);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .site-nav {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .nav-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* =====================
   LOW-END / ACCESSIBILITÉ
===================== */

body.low-end .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(15, 16, 37, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .nav-cta {
    transition: none;
  }
}

/* =====================================================
   NAVIGATION — MENU MOBILE OFF-CANVAS
===================================================== */

/* Bouton burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Mobile uniquement */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* =====================================================
   MOBILE NAV — OFF CANVAS PREMIUM
===================================================== */

.mobile-nav {
  position: fixed !important;
  inset: 0;
  z-index: 9998 !important;
  background: radial-gradient(
    circle at top left,
    rgba(48,33,245,0.12),
    rgba(15,16,37,0.96) 45%
  );
  backdrop-filter: blur(14px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 2.5rem 1.8rem 2rem;

  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1),
              opacity 0.35s ease;
}

.mobile-nav.is-open {
  transform: translateX(0);
  opacity: 1;
}

/* =====================================================
   CLOSE BUTTON
===================================================== */

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.18);
  transform: rotate(90deg);
}

/* =====================================================
   LINKS LIST
===================================================== */

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-nav-links li a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

/* Hover / focus */
.mobile-nav-links li a:hover,
.mobile-nav-links li a:focus {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

/* Active section */
.mobile-nav-links li a.active {
  color: #fff;
  background: rgba(48,33,245,0.25);
  box-shadow: inset 0 0 0 1px rgba(48,33,245,0.4);
}

/* =====================================================
   CTA — DISCUTONS DE VOTRE PROJET
===================================================== */

.mobile-nav-cta {
  margin-top: 2rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    rgba(48,33,245,0.95),
    rgba(93,78,255,0.95)
  );

  box-shadow:
    0 12px 30px rgba(48,33,245,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.2);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover CTA */
.mobile-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(48,33,245,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.25);
}

/* =====================================================
   SAFE AREA (iOS)
===================================================== */

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-nav {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

/* =====================================================
   STAGGER LINKS ANIMATION
===================================================== */

.mobile-nav-links li {
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

/* Quand le menu est ouvert */
.mobile-nav.is-open .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

/* Décalage progressif (stagger) */
.mobile-nav.is-open .mobile-nav-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(6) { transition-delay: 0.38s; }

/* =====================================================
   CTA BADGE
===================================================== */

.mobile-nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* Badge */
.mobile-nav-cta .cta-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background: #22c55e;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(34,197,94,0.45);
  animation: pulseBadge 1.8s infinite;
}

/* Pulse discret */
@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(34,197,94,0);
  }
  100% {
    transform: scale(1);
  }
}


/* =====================
   UX SCROLL — NAV COMPACT
===================== */

.site-header.is-scrolled {
  background: rgba(15, 16, 37, 0.9);
  border-bottom-color: rgba(184, 181, 255, 0.2);
}

.site-header.is-scrolled .site-nav {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: none;
  }
}


/* =====================================================
   SECTIONS GÉNÉRIQUES
===================================================== */

section {
  padding: 6rem 1.5rem;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.6rem;
}

.section-title {
  text-align: center;
  font-family: "Benzin", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.section-title span { color: var(--accent-soft); }

.section-description {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--text-muted);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 6.5rem; /* espace nav */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* =====================
   BACKGROUND
===================== */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Grain subtil */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* =====================
   CONTENU
===================== */

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 930px;
  padding: 0 1.5rem;
}

/* =====================
   AVATAR
===================== */

.hero-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-avatar img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  animation: servicePulse 2.8s ease-in-out infinite;
}

/* =====================
   NOM & EYEBROW
===================== */

.hero-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

/* =====================
   SOCIALS
===================== */

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.2rem 0 2rem;
}

.hero-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(184, 181, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.hero-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.6);
  color: rgb(var(--accent-rgb));
}

/* =====================
   TITRE + HALO
===================== */

.hero-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  will-change: transform;
}

.hero-title-wrapper::before {
  content: "";
  position: absolute;
  top: 70%;
  left: 50%;
  width: 520px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(var(--accent-rgb), 0.35),
    rgba(var(--accent-rgb), 0.15),
    transparent 70%
  );
  filter: blur(45px);
  z-index: -1;
}

.hero-title {
  font-family: "Benzin", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-main);
}

.hero-title span {
  color: var(--accent-soft);
}

/* =====================
   DESCRIPTION
===================== */

.hero-description {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-description strong {
  color: var(--text-main);
}

/* =====================
   CTA
===================== */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  padding: 0.85rem 1.8rem;
}

/* =====================
   TRUST BAR
===================== */

.hero-trust {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  padding: 1.8rem 2.2rem;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(184, 181, 255, 0.16);
  backdrop-filter: blur(12px);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 130px;
}

.trust-item i {
  font-size: 1.15rem;
  color: var(--accent-soft);
}

.trust-item strong {
  font-family: "Benzin", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.trust-item span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.85;
}

.trust-divider {
  width: 1px;
  height: 46px;
  background: rgba(184, 181, 255, 0.25);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .hero-avatar img {
    width: 150px;
    height: 150px;
  }

  .hero-title-wrapper::before {
    width: 360px;
    height: 220px;
  }

  .trust-divider {
    display: none;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .hero-title-wrapper,
  .hero-bg {
    transform: none !important;
  }
}

/* =====================================================
   BOUTONS GLOBAUX
===================================================== */

.btn-primary,
.btn-secondary {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(184,181,255,0.3);
  color: var(--text-main);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

/* =====================================================
   TRUST BAR — INDICATEURS DE CONFIANCE
===================================================== */

.hero-trust {
  position: relative;
  z-index: 2;

  margin-top: 3.5rem;
  padding: 1.8rem 2.2rem;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(184, 181, 255, 0.16);
  backdrop-filter: blur(12px);
}

/* Halo subtil premium */
.hero-trust::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at 50% 0%,
    rgba(var(--accent-rgb), 0.35),
    transparent 65%
  );
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

/* =====================
   ITEM
===================== */

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 130px;
  text-align: center;
}

.trust-item i {
  font-size: 1.15rem;
  color: var(--accent-soft);
  margin-bottom: 0.2rem;
}

/* Chiffre */
.trust-item strong {
  font-family: "Benzin", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text-main);
}

/* Libellé */
.trust-item span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.85;
}

/* =====================
   SÉPARATEUR
===================== */

.trust-divider {
  width: 1px;
  height: 46px;
  background: rgba(184, 181, 255, 0.25);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .hero-trust {
    gap: 1.6rem;
    padding: 1.4rem 1.2rem;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    min-width: 110px;
  }

  .trust-item strong {
    font-size: 1.5rem;
  }
}

/* =====================
   LOW-END / ACCESSIBILITÉ
===================== */

body.low-end .hero-trust::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-trust {
    backdrop-filter: none;
  }
}


/* =====================================================
   SERVICES
===================================================== */

.services {
  position: relative;
  padding: 6rem 1.5rem;
}

/* Halo de fond subtil */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 50% 30%,
    rgba(var(--accent-rgb), 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.services-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* =====================
   GRID
===================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* =====================
   CARD
===================== */

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 2.2rem 1.1rem;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(184, 181, 255, 0.15);
  backdrop-filter: blur(12px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  isolation: isolate;
}

/* Halo au hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at 50% 0%,
    rgba(var(--accent-rgb), 0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

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

/* =====================
   ICON
===================== */

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;

  background: rgba(var(--accent-rgb), 0.18);
  color: rgb(var(--accent-rgb));

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

  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

/* =====================
   TEXT
===================== */

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

/* =====================================================
   CTA WHATSAPP — PREMIUM B2B
===================================================== */

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  padding: 0.75rem 1.2rem;
  margin-top: auto;

  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 12px;
  border: none;
  cursor: pointer;

  background: rgb(var(--accent-rgb));
  color: #fff;

  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;

  white-space: nowrap;
}

/* Effet pulsation maîtrisé */
.service-btn {
  animation: servicePulse 2.8s ease-in-out infinite;
}

@keyframes servicePulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* Hover desktop */
.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(var(--accent-rgb), 0.55);
}

/* Icône */
.service-btn i {
  font-size: 1rem;
}

/* Note sous CTA */
.service-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .service-btn {
    width: 100%;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   SKILLS / EXPERTISE
===================================================== */

.skills {
  padding: 6rem 1.5rem;
  max-width: 1500px;
  margin: 0 auto;
}

.skills::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( 700px circle at 50% 40%, rgba(var(--accent-rgb), 0.45), transparent 65% );
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
}

.skills-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.skills-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 60, 60, 0.15);
  color: #ff3c3c;
  margin-bottom: 1rem;
}

.skills-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.skills-subtitle {
  font-size: 0.95rem;
  color: #a8adc7;
  line-height: 1.6;
}

/* =====================
   GRID
===================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
/* =====================
   CARD
===================== */

.skills-card {
  background: linear-gradient(
    180deg,
    rgba(30, 30, 60, 0.9),
    rgba(15, 16, 37, 0.95)
  );
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.skills-card:hover {
  transform: translateY(-6px);
  box-shadow:
  0 30px 80px rgba(0, 0, 0, 0.55),
  inset 0 0 0 1px rgba(48,33,245,0.25);
}

.skills-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =====================
   CARD TITLES
===================== */

.skills-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;

}

.title-indicator {
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb, 48,33,245));
}

/* =====================
   SKILLS LIST
===================== */

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
  list-style: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7ff;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.skills-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skills-list li:hover {
  background: rgba(48,33,245,0.18);
  transform: translateX(4px);
}

/* =====================
   ICONS
===================== */

.skills-list i {
  font-size: 1.25rem;
  min-width: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(48,33,245,0.35));
  margin-right: 0.5rem;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 520px) {
  .skills-list {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   PROCESS
===================================================== */

.process {
  position: relative;
  padding: 6rem 1.5rem;
}

/* Halo de fond subtil */
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 50% 30%,
    rgba(var(--accent-rgb), 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.process-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* =====================
   GRID
===================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

/* =====================
   STEP CARD
===================== */

.process-step {
  position: relative;
  padding: 2.4rem 2.2rem;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(184, 181, 255, 0.14);
  backdrop-filter: blur(12px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  isolation: isolate;
}

/* Halo au hover */
.process-step::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at 50% 0%,
    rgba(var(--accent-rgb), 0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 20px 42px rgba(0,0,0,0.28);
}

.process-step:hover::after {
  opacity: 1;
}

/* =====================
   STEP INDEX
===================== */

.step-index {
  position: absolute;
  top: 18px;
  right: 22px;

  font-size: 0.85rem;
  font-weight: 600;

  color: var(--accent-soft);
  opacity: 0.65;
}

/* =====================
   ICON
===================== */

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;

  background: rgba(var(--accent-rgb), 0.18);
  color: rgb(var(--accent-rgb));

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

  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

/* =====================
   TEXT
===================== */

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.process-step p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================
   MOBILE OPTIMIZATION
===================== */

@media (max-width: 768px) {
  .process-steps {
    gap: 2rem;
  }

  .process-step {
    padding: 2rem 1.8rem;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .process-step {
    animation: none !important;
    transition: none !important;
  }
}


/* =====================================================
   PROJECTS
===================================================== */

.projects {
  position: relative;
  padding: 6rem 1.5rem;
}

/* Halo de fond subtil */
.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 50% 30%,
    rgba(var(--accent-rgb), 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.projects-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */

.projects-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* =====================================================
   CAROUSEL WRAPPER
===================================================== */

.projects-carousel-wrapper {
  position: relative;
}

/* =====================================================
   GRID → CAROUSEL
===================================================== */

.projects-grid,
.projects-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(315px, 360px);
  gap: 2rem;

  overflow-x: auto;
  padding: 1rem 0;

  scroll-snap-type: x proximity; /* au lieu de mandatory */
  scroll-behavior: smooth;
  /* scrollbar-width: none; */

  cursor: grab;
  overscroll-behavior-x: contain;
}

/* .projects-grid > * {
  flex-shrink: 0;
} */

.projects-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Masquer scrollbar */
.projects-grid::-webkit-scrollbar,
.projects-carousel::-webkit-scrollbar {
  display: none;
}

/* Snap */
.project-card {
  scroll-snap-align: start;
}

.projects-grid.is-auto-scrolling {
  scroll-snap-type: none;
}



/* =====================================================
   CARD
===================================================== */

.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(184, 181, 255, 0.14);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 22px 44px rgba(0,0,0,0.28);
}

/* =====================================================
   IMAGE
===================================================== */

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

/* Overlay dégradé */
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,16,37,0.85),
    transparent 60%
  );
}

/* =====================================================
   CONTENT
===================================================== */

.project-content {
  padding: 1.8rem 1.8rem 2rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.6rem;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* =====================================================
   BADGES TECHNO
===================================================== */

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;

  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 999px;

  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-soft);

  border: 1px solid rgba(var(--accent-rgb), 0.35);
  white-space: nowrap;
}

/* Hover subtil */
.project-card:hover .project-badge {
  background: rgba(var(--accent-rgb), 0.18);
}

/* Variantes */
.project-badge.photoshop {
  background: rgba(49,168,255,0.15);
  border-color: rgba(49,168,255,0.45);
  color: #31a8ff;
}

.project-badge.illustrator {
  background: rgba(255,154,0,0.15);
  border-color: rgba(255,154,0,0.45);
  color: #ff9a00;
}

.project-badge.html {
  background: rgba(227,79,38,0.15);
  border-color: rgba(227,79,38,0.45);
  color: #e34f26;
}

.project-badge.css {
  background: rgba(38,77,228,0.15);
  border-color: rgba(38,77,228,0.45);
  color: #264de4;
}

.project-badge.mysql {
  background: rgba(0,117,143,0.15);
  border-color: rgba(0,117,143,0.45);
  color: #00758f;
}

.project-badge.wordpress {
  background: rgba(33,117,155,0.15);
  border-color: rgba(33,117,155,0.45);
  color: #21759b;
}

.project-badge.prestashop {
  background: rgba(223,62,115,0.15);
  border-color: rgba(223,62,115,0.45);
  color: #df3e73;
}

.project-badge.laravel {
  background: rgba(255,45,32,0.15);
  border-color: rgba(255,45,32,0.45);
  color: #ff2d20;
}

.project-badge.flutter {
  background: rgba(2,136,209,0.15);
  border-color: rgba(2,136,209,0.45);
  color: #0288d1;
}

/* =====================================================
   LINK
===================================================== */

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: rgb(var(--accent-rgb));
  text-decoration: none;
  font-weight: 500;

  transition: gap 0.25s ease, color 0.25s ease;
}

.project-link i {
  font-size: 0.8rem;
}

.project-link:hover {
  gap: 0.6rem;
  color: var(--accent-soft);
}

/* =====================================================
   NAV BUTTONS (OPTIONNEL)
===================================================== */

.projects-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: rgba(15,16,37,0.85);
  border: 1px solid rgba(184,181,255,0.25);
  color: var(--accent-soft);

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

  cursor: pointer;
  z-index: 2;

  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.projects-nav.prev { left: -14px; }
.projects-nav.next { right: -14px; }

.projects-nav:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-50%) scale(1.05);
}

/* Mobile : masquer */
@media (max-width: 768px) {
  .projects-nav {
    display: none;
  }
}

/* =====================================================
   LOW-END FALLBACK
===================================================== */

body.low-end .projects-grid,
body.low-end .projects-carousel {
  scroll-snap-type: x mandatory;
  cursor: auto;
}

body.low-end .projects-nav {
  display: none !important;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials {
  position: relative;
  padding: 6rem 1.5rem;
}

/* Halo de fond subtil */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 50% 30%,
    rgba(var(--accent-rgb), 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.testimonials-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* =====================
   GRID
===================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* =====================
   CARD
===================== */

.testimonial-card {
  position: relative;
  padding: 2.4rem 2.2rem;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(184, 181, 255, 0.14);
  backdrop-filter: blur(12px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  isolation: isolate;
}

/* Halo au hover */
.testimonial-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at 50% 0%,
    rgba(var(--accent-rgb), 0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 20px 42px rgba(0,0,0,0.28);
}

.testimonial-card:hover::after {
  opacity: 1;
}

/* =====================
   TEXT
===================== */

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  position: relative;
}

/* Guillemets décoratifs */
.testimonial-text::before {
  content: "“";
  position: absolute;
  top: -0.4rem;
  left: -0.2rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.35);
  font-family: serif;
}

/* =====================
   AUTHOR
===================== */

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(184, 181, 255, 0.3);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .testimonials-grid {
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2rem 1.8rem;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    animation: none !important;
    transition: none !important;
  }
}


/* =====================================================
   CTA FINAL
===================================================== */

.final-cta {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
}

/* Halo principal */
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at 50% 40%,
    rgba(var(--accent-rgb), 0.45),
    transparent 65%
  );
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
}

/* Grain subtil */
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* =====================
   CONTENT
===================== */

.final-cta-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

/* =====================
   TITLE
===================== */

.final-cta-title {
  font-family: "Benzin", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.final-cta-title span {
  color: var(--accent-soft);
}

/* =====================
   TEXT
===================== */

.final-cta-text {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================
   ACTIONS
===================== */

.final-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-actions .btn-primary,
.final-cta-actions .btn-secondary {
  padding: 0.95rem 2.2rem;
  font-size: 0.9rem;
}

/* =====================
   NOTE
===================== */

.final-cta-note {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .final-cta {
    padding: 6rem 1.5rem;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .final-cta {
    animation: none !important;
    transition: none !important;
  }
}






/* =====================================================
   FAQ SECTION — PREMIUM
===================================================== */

.faq {
  position: relative;
  padding: clamp(4rem, 6vw, 6.5rem) 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( 600px circle at 50% 30%, rgba(var(--accent-rgb), 0.22), transparent 65% );
  pointer-events: none;
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.faq-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text-main, #0f172a);
}

.faq-header p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
}

/* =====================================================
   FAQ LIST
===================================================== */

.faq-list {
  display: grid;
  gap: 1rem;
}

/* =====================================================
   FAQ ITEM
===================================================== */

.faq-item {
  background: linear-gradient( 135deg, rgba(48,33,245,0.08), rgba(48,33,245,0.04) );
  box-shadow: inset 0 0 0 1px rgba(48,33,245,0.12);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* =====================================================
   FAQ QUESTION
===================================================== */

.faq-question {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
}

.faq-question span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main, #0f172a);
  line-height: 1.4;
}

/* =====================================================
   SVG ICON (ANIMATED)
===================================================== */

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  stroke: rgb(var(--accent-rgb, 48,33,245));
  stroke-width: 2.5;
  transition: transform 0.35s ease;
  margin-right: 2rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* =====================================================
   FAQ ANSWER
===================================================== */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer p {
  padding: 0 1.4rem 1.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted, #475569);
}

/* =====================================================
   OPEN STATE
===================================================== */

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

/* =====================================================
   SVG PULSE ANIMATION
===================================================== */

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =====================================================
   DARK MODE
===================================================== */

body.dark .faq-item {
  background: linear-gradient(
    180deg,
    rgba(15,16,37,0.95),
    rgba(15,16,37,0.85)
  );
  border-color: rgba(255,255,255,0.08);
}

body.dark .faq-question span,
body.dark .faq-cta h3 {
  color: #f5f6ff;
}

body.dark .faq-answer p,
body.dark .faq-header p,
body.dark .faq-cta p {
  color: #b0b3d6;
}

body.dark .faq-cta {
  background: linear-gradient(
    135deg,
    rgba(48,33,245,0.15),
    rgba(48,33,245,0.06)
  );
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem 1.1rem;
  }

  .faq-answer p {
    padding: 0 1.1rem 1.2rem;
  }
}





















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

.site-footer {
  position: relative;
  padding: 4.5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(184, 181, 255, 0.12);
  overflow: hidden;
}

/* Halo très subtil de fin de page */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 50% 0%,
    rgba(var(--accent-rgb), 0.18),
    transparent 65%
  );
  pointer-events: none;
}

/* Grain léger */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* =====================
   CONTAINER
===================== */

.footer-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

/* =====================
   BRAND
===================== */

.footer-brand {
  margin-bottom: 2.2rem;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.footer-role {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =====================
   NAVIGATION
===================== */

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgb(var(--accent-rgb));
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent-soft);
}

.footer-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =====================
   SOCIALS
===================== */

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  border: 1px solid rgba(184, 181, 255, 0.22);
  color: var(--accent-soft);

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

  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* Hover premium */
.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: rgb(var(--accent-rgb));
}

/* =====================
   BOTTOM
===================== */

.footer-bottom {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.footer-credit {
  margin-top: 0.4rem;
  opacity: 0.8;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .site-footer {
    padding: 4rem 1.5rem 2.2rem;
  }

  .footer-nav {
    gap: 1.2rem;
  }
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .footer-socials a {
    transition: none !important;
  }
}

/* =====================================================
   WHATSAPP FLOAT — CTA PERSISTANT
===================================================== */

.whatsapp-float {
  position: fixed !important;
  bottom: 24px;
  right: 24px;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: rgb(var(--accent-rgb));
  color: #ffffff;

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

  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(var(--accent-rgb), 0.35),
    0 0 0 0 rgba(var(--accent-rgb), 0.45);

  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;

  /* contain: layout paint; */

  z-index: 1000 !important;
}

/* Visible */
.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Icône */
.whatsapp-float i {
  font-size: 1.5rem;
}

/* Halo externe */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.55),
    transparent 70%
  );

  filter: blur(18px);
  opacity: 0.9;
  z-index: -1;
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 38px rgba(var(--accent-rgb), 0.55),
    0 0 0 14px rgba(var(--accent-rgb), 0);
}

/* =====================
   BADGE "EN LIGNE"
===================== */

.online-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  background: #22c55e;
  color: #0f172a;

  font-size: 0.6rem;
  font-weight: 600;

  padding: 2px 6px;
  border-radius: 999px;

  /* box-shadow: 0 0 0 2px var(--bg-main); 
  animation: onlinePulse 2.8s ease-in-out infinite;*/
  box-shadow: 0 6px 18px rgba(34,197,94,0.45);
  animation: pulseBadge 1.8s infinite;
}

/* Pulsation maîtrisée */
/* @keyframes onlinePulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1);   opacity: 1; }
} */

/* Pulse discret */
@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(34,197,94,0);
  }
  100% {
    transform: scale(1);
  }
}

/* =====================
   MOBILE OPTIMIZATION
===================== */

@media (max-width: 768px) {
  .whatsapp-float {
    display: none;
  }

  /* .whatsapp-float i {
    font-size: 1.35rem;
  } */
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .online-badge {
    animation: none !important;
    transition: none !important;
  }
}


/* =====================================================
   SCROLL TO TOP — BOUTON RETOUR EN HAUT
===================================================== */

.scroll-top {
  position: fixed !important;
  bottom: 96px; /* au-dessus du WhatsApp */
  right: 24px;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: rgba(15, 16, 37, 0.85);
  border: 1px solid rgba(184, 181, 255, 0.25);
  color: var(--accent-soft);

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

  cursor: pointer;
  text-decoration: none;

  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.25s ease,
    color 0.25s ease;

  z-index: 1000 !important;
}

/* Visible */
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Icône */
.scroll-top i {
  font-size: 0.95rem;
}

/* Halo subtil */
.scroll-top::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.45),
    transparent 70%
  );
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

/* Hover desktop */
.scroll-top:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  color: rgb(var(--accent-rgb));
}

.scroll-top:hover::after {
  opacity: 1;
}

/* =====================
   MOBILE / LOW-END
===================== */

@media (max-width: 768px) {
  .scroll-top {
    bottom: 84px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .scroll-top i {
    font-size: 0.85rem;
  }
}

body.low-end .scroll-top {
  background: rgb(var(--accent-rgb));
  color: #fff;
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none !important;
  }
}


/* =====================================================
   ANIMATIONS D’ENTRÉE — SECTIONS
===================================================== */

/* =====================
   ÉTAT INITIAL (CACHÉ)
===================== */

.section-animate {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* =====================
   ÉTAT VISIBLE
===================== */

.section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   VARIANTE HERO
===================== */

.hero.section-animate {
  transform: translateY(20px);
}

.hero.section-animate.is-visible {
  transform: translateY(0);
}

/* =====================
   VARIANTES FINES (OPTIONNEL)
===================== */

/* Apparition douce depuis le bas */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Apparition légère zoom */
.fade-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Apparition latérale */
.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.is-visible,
.fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =====================
   DÉLAIS ÉCHELONNÉS
===================== */

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

/* =====================
   LOW-END / MOBILE
===================== */

body.low-end .section-animate {
  opacity: 1;
  transform: none;
  transition: none;
}

/* =====================
   ACCESSIBILITÉ
===================== */

@media (prefers-reduced-motion: reduce) {
  .section-animate,
  .fade-up,
  .fade-scale,
  .fade-left,
  .fade-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}







/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( 700px circle at 50% 40%, rgba(var(--accent-rgb), 0.45), transparent 65% );
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
}

.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

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

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* LEFT PANEL */
.contact-info {
  background: linear-gradient(
    160deg,
    rgba(48,33,245,0.9),
    rgba(20,22,60,0.95)
  );
  color: #fff;
  padding: 2.5rem;
  border-radius: 18px;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  opacity: 0.95;
}

.contact-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7cf5ff;
}

.contact-direct span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-direct a {
  display: block;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

/* FORM PANEL */
.contact-form-wrapper {
  background: rgba(20,22,40,0.9);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-form .form-group {
  margin-bottom: 1.4rem;
}

.contact-form label {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(48,33,245,0.8);
}

.form-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.form-options label {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* CTA BUTTON */
.btn-contact {
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgb(48,33,245),
    rgb(90,70,255)
  );
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(48,33,245,0.4);
}


/* ================================
   RADIO CARDS — PREMIUM UI
================================ */

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}

/* Mobile */
@media (max-width: 640px) {
  .radio-group {
    grid-template-columns: 1fr;
  }
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: 
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

.radio-card:hover {
  border-color: rgba(120,100,255,0.45);
  background: rgba(120,100,255,0.06);
  transform: translateY(-1px);
}

/* Hide native radio */
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Custom radio circle */
.radio-ui {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.radio-ui::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgb(120,100,255),
    rgb(72,51,245)
  );
  transform: scale(0);
  transition: transform 0.2s ease;
}

/* Label text */
.radio-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Checked state */
.radio-card input:checked + .radio-ui {
  border-color: rgb(120,100,255);
  background: rgba(120,100,255,0.15);
}

.radio-card input:checked + .radio-ui::after {
  transform: scale(1);
}

.radio-card input:checked ~ .radio-label {
  color: #ffffff;
}

/* Focus (accessibilité clavier) */
.radio-card input:focus-visible + .radio-ui {
  outline: 2px solid rgba(120,100,255,0.6);
  outline-offset: 2px;
}

/* Error state (si validation échoue) */
.radio-group.is-invalid .radio-card {
  border-color: rgba(255,80,80,0.45);
}

/* Hint text */
.form-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* =====================================================
   POLITIQUE DE CONFIDENTIALITÉ
===================================================== */

.form-legal {
  margin-top: 1.2rem;
}

.legal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

/* Masquer checkbox native */
.legal-checkbox input {
  position: absolute;
  opacity: 0;
}

/* Checkbox custom */
.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  margin-top: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

/* Check */
.legal-checkbox input:checked + .checkmark {
  background: rgb(var(--accent-rgb, 48,33,245));
  border-color: rgb(var(--accent-rgb, 48,33,245));
}

.legal-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Texte */
.legal-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted, #b0b3d6);
}

.legal-text strong {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--text-main, #f5f6ff);
}

.legal-text a {
  color: rgb(var(--accent-rgb, 48,33,245));
  text-decoration: underline;
  font-weight: 500;
}

.legal-text a:hover {
  text-decoration: none;
}

.legal-more {
  display: inline-block;
  margin-left: 4px;
  white-space: nowrap;
}

.required {
  color: #ff4d4f;
}


/* =====================================================
   TOAST NOTIFICATION — AGENCY PREMIUM
===================================================== */

.form-toast {
  position: fixed !important;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  min-width: 280px;
  max-width: 90vw;

  padding: 14px 20px;
  border-radius: 14px;

  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;

  color: #fff;
  text-align: center;

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

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.12);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(.2,.8,.2,1);

  z-index: 99999 !important;
}

/* =====================
   VISIBLE STATE
===================== */

.form-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================
   SUCCESS
===================== */

.form-toast.success {
  background: linear-gradient(
    135deg,
    rgba(34,197,94,0.95),
    rgba(22,163,74,0.95)
  );
}

/* =====================
   ERROR
===================== */

.form-toast.error {
  background: linear-gradient(
    135deg,
    rgba(239,68,68,0.95),
    rgba(185,28,28,0.95)
  );
}

/* =====================
   SHAKE (ERROR MICRO-UX)
===================== */

.form-toast.error.is-visible {
  animation: toast-shake 0.45s ease;
}

@keyframes toast-shake {
  0%,100% { transform: translateX(-50%) translateY(0); }
  20% { transform: translateX(calc(-50% - 6px)) translateY(0); }
  40% { transform: translateX(calc(-50% + 6px)) translateY(0); }
  60% { transform: translateX(calc(-50% - 4px)) translateY(0); }
  80% { transform: translateX(calc(-50% + 4px)) translateY(0); }
}

/* =====================
   MOBILE OPTIMIZATION
===================== */

@media (max-width: 480px) {
  .form-toast {
    font-size: 0.85rem;
    padding: 12px 16px;
    bottom: 24px;
  }
}


/* =====================
   CSS minimal du loading modal
===================== */
.form-loading {
  position: fixed !important;
  inset: 0;
  background: rgba(10, 12, 25, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999 !important;
}

.form-loading.is-visible {
  opacity: 1;
  pointer-events: all;
}

.form-loading-box {
  background: #11132b;
  padding: 32px 36px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.form-loading .loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #6c63ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: block;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* =====================
   SMART SITE LOADER
===================== */
#site-loader {
  position: fixed !important;
  inset: 0;
  background: #0f1025;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  opacity: 1;
  transition: opacity .6s ease;
}

#site-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  color: #fff;
}

.loader-ring circle {
  fill: none;
  stroke: rgb(var(--accent-rgb, 99,102,241));
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 282;
  stroke-dashoffset: 282;
  animation: ring-spin 1.6s ease-in-out infinite;
}

@keyframes ring-spin {
  0% { stroke-dashoffset: 282; }
  50% { stroke-dashoffset: 70; }
  100% { stroke-dashoffset: 282; }
}

.loader-text {
  margin: 18px 0 14px;
  font-size: .9rem;
  opacity: .85;
}

.loader-progress {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  overflow: hidden;
}

#loader-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgb(var(--accent-rgb,99,102,241)),
    #ffffff
  );
  transition: width .4s ease;
}
