/* ========================================
   THÈME WEBDEM - CSS COMPLET
   Fichier externalisé pour performance
   ======================================== */

/* ===== VARIABLES CSS ===== */
:root {
  --cyber-purple: #6b46c1;
  --cyber-purple-dark: #4c1d95;
  --cyber-purple-light: #8b5cf6;
  --cyber-cyan: #00f5ff;
  --cyber-cyan-dark: #00d4ed;
  --cyber-cyan-light: #7dd3fc;
  --cyber-black: #0f0f0f;
  --cyber-gray: #1a1a1a;
  --cyber-white: #e5e5e5;
}

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

body {
  font-family: "Rajdhani", sans-serif;
  /* Dégradé global : noir pur → léger violet sombre → noir — uniforme sur toute la page */
  background: linear-gradient(180deg,
    #0a0a12 0%,
    #0d0b18 30%,
    #0b0b15 55%,
    #0a0a12 80%,
    #0f0f0f 100%
  ) fixed;
  color: var(--cyber-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optimisations tactiles pour mobile */
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: rgba(0, 245, 255, 0.2);
  touch-action: manipulation;
}

button,
.btn {
  min-height: 44px; /* Taille minimum pour le touch iOS */
  min-width: 44px;
}

/* Images responsives */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scroll fluide sur mobile */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* PAS de overflow-x: hidden sur <html> : casse position:fixed sur iOS Safari */
}

/* ===== MASQUER ÉLÉMENTS WORDPRESS ===== */
#wpadminbar,
.admin-bar,
.wp-admin-bar,
body.logged-in #wpadminbar {
  display: none !important;
  position: absolute !important;
  top: -99999px !important;
  left: -99999px !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Masquer tous les menus WordPress générés automatiquement sauf notre nav custom */
.menu:not(.nav-menu),
.menu-item,
ul.menu,
nav.wp-nav-menu,
div.menu {
  display: none !important;
}

/* Ajuster le body pour supprimer le padding-top de l'admin bar */
body.admin-bar,
body.logged-in {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

html {
  margin-top: 0 !important;
}

/* Compensation nav fixe (64px) */
#main {
  padding-top: 64px;
}

/* ===== MATRIX BACKGROUND ===== */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(107, 70, 193, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 245, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, var(--cyber-black) 0%, var(--cyber-gray) 100%);
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  overflow: visible;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.site-nav.is-scrolled {
  background: rgba(10, 10, 18, 0.98);
  border-bottom-color: rgba(107, 70, 193, 0.18);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.site-nav .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 64px;
}

.logo {
  font-family: "Orbitron", monospace;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--cyber-cyan);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
  transition: text-shadow 0.3s;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0.02em;
}
.logo:hover {
  text-shadow:
    0 0 28px var(--cyber-cyan),
    0 0 48px rgba(0, 240, 255, 0.3);
}
.logo span {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

/* ── Menu ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li > a,
.nav-menu > li > .sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > .sub-toggle:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
}
.nav-menu > li > a[aria-current="page"],
.has-sub.is-active > .sub-toggle {
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.08);
}
/* Indicateur sous l'item actif */
.nav-menu > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--cyber-cyan);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

/* ── Bouton Contact (CTA nav) ── */
.nav-btn {
  background: var(--cyber-purple) !important;
  border: 1px solid rgba(167, 139, 250, 0.5) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.5rem 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  transition: all 0.25s ease !important;
}
.nav-btn:hover {
  background: rgba(107, 70, 193, 0.85) !important;
  border-color: var(--cyber-purple-light) !important;
  box-shadow:
    0 0 22px rgba(107, 70, 193, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Dropdown ── */
.has-sub {
  position: relative;
}

.sub-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
  stroke: currentColor;
  opacity: 0.6;
}
.has-sub:hover > .sub-toggle .sub-chevron,
.has-sub.is-open > .sub-toggle .sub-chevron,
.has-sub.is-active > .sub-toggle .sub-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Zone de pont invisible entre bouton et dropdown (empêche la fermeture au hover) */
.has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  z-index: 99;
}

.sub-menu {
  position: fixed;
  top: 64px;
  left: var(--sub-left, 50vw);
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(15, 15, 28, 0.99);
  border: 1px solid rgba(107, 70, 193, 0.22);
  border-radius: 12px;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  z-index: 9999;
}
body.admin-bar .sub-menu {
  top: 96px;
}
.sub-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(15, 15, 28, 0.99);
  border-left: 1px solid rgba(107, 70, 193, 0.22);
  border-top: 1px solid rgba(107, 70, 193, 0.22);
  border-radius: 2px 0 0 0;
}
.has-sub:hover > .sub-menu,
.has-sub.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li + li {
  margin-top: 2px;
}
.sub-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-radius: 8px;
  transition:
    color 0.15s,
    background 0.15s,
    padding-left 0.15s;
}
.sub-menu a:hover {
  color: #fff;
  background: rgba(107, 70, 193, 0.15);
  padding-left: 1.15rem;
}
.sub-menu a[aria-current="page"] {
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.07);
}

/* ── Burger (caché sur desktop) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--cyber-purple);
  border: 2px solid var(--cyber-cyan);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1001;
  box-shadow:
    0 0 12px rgba(0, 240, 255, 0.35),
    inset 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover,
.nav-burger:focus-visible {
  background: rgba(107, 70, 193, 0.8);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.55);
  outline: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
}
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* (Old hero block removed — see COMPOSANTS MODERNES section below) */

/* (Old cyber-btn & glitch-btn removed — replaced by .btn system) */

/* ===== SECTIONS ===== */
.section {
  padding: 3.5rem 0;
  position: relative;
}
/* Séparateur décoratif sur TOUTES les sections */
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 85%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(107, 70, 193, 0.22) 20%,
    rgba(0, 245, 255, 0.16) 50%,
    rgba(107, 70, 193, 0.22) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

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

.section-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--cyber-purple), var(--cyber-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-purple), var(--cyber-cyan));
}

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

.service-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--cyber-purple);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-card.featured {
  border: 2px solid var(--cyber-cyan);
  background: rgba(0, 245, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.service-card:hover {
  border-color: var(--cyber-cyan);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 245, 255, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--cyber-cyan);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--cyber-cyan);
}

.service-card h3 {
  font-family: "Orbitron", monospace;
  color: var(--cyber-cyan);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* (Old .service-card .price and .service-features removed) */

/* (Old .team-grid/.team-card/.team-avatar removed — see .team modern block) */

/* (Old FAQ system removed — see .faq and .faq-list modern blocks) */

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

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--cyber-purple);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  border-color: var(--cyber-cyan);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

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

.portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  text-align: center;
  padding: 2rem;
}

.portfolio-info h3 {
  font-family: "Orbitron", monospace;
  color: var(--cyber-cyan);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--cyber-purple);
  color: #fff;
  border: 2px solid var(--cyber-cyan);
  border-radius: 8px;
  font-family: "Orbitron", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.portfolio-btn:hover {
  background: var(--cyber-cyan);
  color: var(--cyber-black);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.5);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}
.portfolio-tags .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(107, 70, 193, 0.25);
  border: 1px solid var(--cyber-purple);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--cyber-cyan);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* (Old CTA box removed — see .service-cta-box) */

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-container {
  background: rgba(26, 26, 26, 0.9);
  border: 2px solid var(--cyber-purple);
  border-radius: 15px;
  padding: 3rem;
}

.form-title {
  font-family: "Orbitron", monospace;
  color: var(--cyber-cyan);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  text-align: center;
  color: var(--cyber-white);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  color: var(--cyber-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 15, 15, 0.8);
  border: 2px solid var(--cyber-purple);
  border-radius: 8px;
  color: var(--cyber-white);
  font-size: 1rem;
  font-family: "Rajdhani", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== BANNIERE COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(calc(100% + 40px));
  z-index: 10000;
  width: min(700px, calc(100vw - 32px));
  background: linear-gradient(135deg, #150d26 0%, #0d0d1a 60%, #0f0f0f 100%);
  border: 1px solid rgba(107, 70, 193, 0.55);
  border-radius: 16px;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow:
    0 0 0 1px rgba(0, 245, 255, 0.07),
    0 8px 48px rgba(107, 70, 193, 0.45),
    0 2px 12px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(139, 92, 246, 0.18);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
  opacity: 0;
  font-family: "Rajdhani", sans-serif;
  overflow: hidden;
}
.cookie-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cyber-purple) 30%,
    var(--cyber-cyan) 50%,
    var(--cyber-purple) 70%,
    transparent 100%
  );
}
.cookie-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.04) 0%,
    transparent 40%
  );
  pointer-events: none;
  border-radius: 16px;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.25),
    rgba(0, 245, 255, 0.06)
  );
  border: 1px solid rgba(107, 70, 193, 0.45);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-cyan);
}
.cookie-banner-body {
  flex: 1;
  min-width: 0;
}
.cookie-banner-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber-cyan);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-banner-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyber-cyan);
  flex-shrink: 0;
}
.cookie-banner-text {
  color: #a78bfa;
  font-size: 0.87rem;
  line-height: 1.5;
}
.cookie-banner-text a {
  color: var(--cyber-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 255, 0.3);
  transition: border-color 0.2s;
}
.cookie-banner-text a:hover {
  border-color: var(--cyber-cyan);
}
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--cyber-purple), #4c1d95);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    0 0 18px rgba(107, 70, 193, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cookie-btn-accept::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyber-cyan), #0099cc);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cookie-btn-accept:hover::after {
  opacity: 1;
}
.cookie-btn-accept:hover {
  color: var(--cyber-black);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.45);
}
.cookie-btn-accept span {
  position: relative;
  z-index: 1;
}
.cookie-btn-refuse {
  background: transparent;
  color: #6b7280;
  border-color: rgba(55, 65, 81, 0.65);
}
.cookie-btn-refuse:hover {
  color: #9ca3af;
  border-color: rgba(107, 114, 128, 0.75);
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    padding: 1.1rem 1.2rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .cookie-banner-icon {
    display: none;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top,
.btt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--cyber-purple);
  color: var(--cyber-white);
  border: 2px solid var(--cyber-cyan);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible,
.btt.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.btt:hover {
  background: var(--cyber-cyan);
  color: var(--cyber-black);
  transform: translateY(-5px);
}

/* ===== BOUTON FLOTTANT D'APPEL ===== */
.call-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, var(--cyber-purple), #4c1d95);
  color: var(--cyber-white);
  border: 2px solid var(--cyber-cyan);
  border-radius: 50px;
  padding: 0.75rem;
  text-decoration: none;
  font-family: "Orbitron", monospace;
  font-size: 0;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 998;
  box-shadow:
    0 0 20px rgba(107, 70, 193, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  white-space: nowrap;
  max-width: 52px;
}

.call-btn:hover {
  max-width: 280px;
  padding: 0.75rem 1.25rem;
  gap: 0.75rem;
  font-size: 1rem;
  background: linear-gradient(
    135deg,
    var(--cyber-cyan-dark),
    var(--cyber-cyan)
  );
  color: var(--cyber-black);
  border-color: var(--cyber-cyan);
  box-shadow:
    0 0 30px rgba(0, 245, 255, 0.6),
    0 6px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.call-btn-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.call-btn:hover .call-btn-icon {
  transform: rotate(-15deg) scale(1.1);
}

.call-btn-label {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition:
    max-width 0.35s ease,
    opacity 0.25s ease;
  pointer-events: none;
  font-size: 1rem;
}

.call-btn:hover .call-btn-label {
  max-width: 200px;
  opacity: 1;
}

/* Anneaux d'animation (pulse) */
.call-btn-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--cyber-cyan);
  opacity: 0;
  animation: callPulse 2.5s ease-out infinite;
}

.call-btn-ring--delay {
  animation-delay: 1.25s;
}

@keyframes callPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.call-btn:hover .call-btn-ring {
  animation: none;
  opacity: 0;
}

/* Sur mobile : toujours visible avec le numéro */
@media (max-width: 768px) {
  .call-btn {
    bottom: 88px;
    right: 16px;
    max-width: 52px;
  }
}

@media (max-width: 480px) {
  .back-to-top,
  .btt {
    bottom: 24px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .call-btn {
    bottom: 80px;
    right: 16px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: rgba(15, 15, 15, 0.95);
  border-top: 2px solid var(--cyber-cyan);
  padding: 3rem 2rem;
  text-align: center;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 1 !important;
}

footer p {
  margin-bottom: 0.5rem;
  color: var(--cyber-white);
}

footer a {
  color: var(--cyber-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  text-shadow: 0 0 10px var(--cyber-cyan);
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--cyber-white);
}

.footer-brand span {
  color: var(--cyber-cyan);
}

.footer-copy {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--cyber-white);
}

.footer-address {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
  border: none !important;
  flex-direction: row !important;
}

footer .footer-links {
  position: static !important;
  display: flex !important;
}

.footer-links a {
  color: var(--cyber-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  text-shadow: 0 0 10px var(--cyber-cyan);
  transform: translateY(-2px);
}

.footer-siret {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

/* (Old page-hero block removed — see COMPOSANTS MODERNES section) */

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.9);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid var(--cyber-purple);
}

.legal-content h2 {
  font-family: "Orbitron", monospace;
  color: var(--cyber-cyan);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--cyber-cyan);
  padding-left: 1rem;
}

.legal-content h3 {
  color: var(--cyber-purple-light);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: var(--cyber-white);
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--cyber-white);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--cyber-cyan);
}

.legal-highlight {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.legal-table th {
  background: var(--cyber-purple);
  color: var(--cyber-white);
  padding: 1rem;
  text-align: left;
}

.legal-table td {
  padding: 1rem;
  border: 1px solid var(--cyber-purple);
  color: var(--cyber-white);
}

.legal-table tr:nth-child(even) {
  background: rgba(107, 70, 193, 0.1);
}

/* (Unused comparison/stats/feature-box/blog styles removed) */

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

/* Tablettes et petits écrans (1024px et moins) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  nav .container {
    padding: 0 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* Mobile et tablettes (768px et moins) */
@media (max-width: 768px) {
  /* ── Nav Mobile ── */
  .nav-burger {
    display: flex;
  }

  .site-nav .container {
    padding: 0 1rem;
  }

  .nav-inner {
    gap: 0;
  }

  /* Overlay avec flou derrière le panneau */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-overlay.is-visible {
    display: block;
    animation: fadeInOverlay 0.25s ease forwards;
  }
  @keyframes fadeInOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Panneau fermé */
  .nav-menu {
    display: none !important;
  }

  /* Panneau ouvert — design amélioré */
  .nav-menu.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    right: 0;
    max-height: calc(100dvh - 64px);
    width: min(320px, 88vw);
    background: linear-gradient(
      180deg,
      rgba(18, 10, 35, 0.99) 0%,
      rgba(8, 8, 18, 0.99) 100%
    );
    gap: 0;
    padding: 0 0 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 1px solid rgba(107, 70, 193, 0.5);
    border-bottom: 1px solid rgba(107, 70, 193, 0.3);
    box-shadow:
      -20px 0 60px rgba(0, 0, 0, 0.85),
      -4px 0 30px rgba(107, 70, 193, 0.18);
    z-index: 1002;
    list-style: none;
    margin: 0;
    animation: slideInRight 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 70, 193, 0.4) transparent;
  }
  .nav-menu.is-open::-webkit-scrollbar {
    width: 3px;
  }
  .nav-menu.is-open::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav-menu.is-open::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.4);
    border-radius: 2px;
  }

  /* En-tête décoratif du panneau */
  .nav-menu.is-open::before {
    content: "NAVIGATION";
    display: block;
    flex-shrink: 0;
    padding: 1.1rem 1.5rem 0.8rem;
    font-family: "Orbitron", monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(107, 70, 193, 0.55);
    border-bottom: 1px solid rgba(107, 70, 193, 0.12);
    margin-bottom: 0.4rem;
  }

  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* Items de menu */
  .nav-menu > li > a,
  .nav-menu > li > .sub-toggle {
    display: flex;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.975rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 0;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.68);
    border-left: 3px solid transparent;
    transition:
      background 0.18s ease,
      color 0.18s ease,
      border-color 0.18s ease;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > .sub-toggle:hover {
    background: rgba(107, 70, 193, 0.1);
    color: #fff;
    border-left-color: var(--cyber-cyan);
  }

  /* Page active */
  .nav-menu > li > a[aria-current="page"] {
    color: var(--cyber-cyan);
    border-left-color: var(--cyber-cyan);
    background: rgba(0, 245, 255, 0.05);
  }
  .nav-menu > li > a[aria-current="page"]::after {
    display: none;
  }

  /* Sous-menus */
  .has-sub {
    position: static;
  }
  .has-sub::after {
    display: none;
  }
  .sub-toggle {
    justify-content: space-between !important;
  }
  .sub-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.55;
  }
  .has-sub.is-open .sub-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }

  .sub-menu {
    position: static;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(107, 70, 193, 0.2);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0.2rem 0;
    margin: 0 0 0.25rem 2.5rem;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .sub-menu::before {
    display: none;
  }
  .has-sub.is-open > .sub-menu {
    max-height: 300px;
  }
  .sub-menu li + li {
    margin-top: 0;
  }
  .sub-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.55);
    border-left: 2px solid transparent;
    transition:
      color 0.18s,
      border-color 0.18s;
  }
  .sub-menu a:hover {
    color: var(--cyber-cyan);
    border-left-color: rgba(0, 245, 255, 0.5);
    padding-left: 1rem;
  }

  /* Séparateur avant Contact */
  .nav-menu > li:last-child {
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem 0;
    border-top: 1px solid rgba(107, 70, 193, 0.12);
  }

  /* Bouton Contact — CTA violet */
  .nav-btn {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
    background: linear-gradient(
      135deg,
      rgba(107, 70, 193, 0.9),
      rgba(76, 29, 149, 0.95)
    ) !important;
    border: 1px solid rgba(107, 70, 193, 0.55) !important;
    border-left: 1px solid rgba(107, 70, 193, 0.55) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.25) !important;
    transition: all 0.2s ease !important;
  }
  .nav-btn:hover {
    background: linear-gradient(
      135deg,
      rgba(139, 92, 246, 0.95),
      rgba(107, 70, 193, 0.95)
    ) !important;
    box-shadow: 0 6px 28px rgba(107, 70, 193, 0.45) !important;
    border-color: rgba(139, 92, 246, 0.7) !important;
    border-left-color: rgba(139, 92, 246, 0.7) !important;
    color: #fff !important;
  }
  .hero {
    min-height: min(80vh, 600px);
    padding: 80px 1.5rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content .subtitle,
  .hero-content .hero-sub {
    font-size: 1.05rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  /* Cards & Grids */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card.featured {
    border-width: 2px;
  }

  .service-icon {
    font-size: 2rem;
  }

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

  .portfolio-image img {
    height: 200px;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* Évite le zoom sur iOS */
  }

  /* Footer */
  footer .container {
    padding: 2rem 1rem;
  }

  .footer-links {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center;
  }

  .footer-links a {
    padding: 0.5rem;
    display: block;
  }

  .footer-brand {
    font-size: 1.5rem;
  }

  .footer-copy,
  .footer-address {
    font-size: 0.9rem;
  }

  /* Legal Pages */
  .legal-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }

  .legal-content h3 {
    font-size: 1.1rem;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Page Header */
  .page-hero {
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  /* Logo */
  .logo {
    font-size: 1.6rem;
  }

  .logo span {
    font-size: 0.9em;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes border-pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.scroll-animate.animate-left {
  transform: translateX(-50px);
}
.scroll-animate.animate-right {
  transform: translateX(50px);
}
.scroll-animate.animate-scale {
  transform: scale(0.9);
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered animations for cards */
.service-card.scroll-animate {
  transition-delay: calc(var(--card-index, 0) * 0.15s);
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--cyber-cyan);
  color: var(--cyber-black);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ===== FOCUS VISIBLE (Accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--cyber-cyan);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyber-cyan);
  outline-offset: 2px;
}

/* ===== HERO UTILITY CLASSES ===== */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== SECTION UTILITY CLASSES ===== */
/* section-alt : fond transparent, séparateur hérité de .section::before */
.section-alt {
  background: transparent;
  position: relative;
}

/* (Old button size variants & CTA final removed) */

/* ===== NOSCRIPT FALLBACK ===== */
noscript + .scroll-animate,
.no-js .scroll-animate {
  opacity: 1;
  transform: none;
}

/* Petits mobiles (640px et moins) */
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-sub {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .footer-brand {
    font-size: 1.3rem;
  }

  .legal-content {
    padding: 1.5rem 1rem;
  }

  .legal-content h2 {
    font-size: 1.1rem;
  }
}

/* Très petits mobiles (480px et moins) */
@media (max-width: 480px) {
  .hero {
    padding: 80px 1rem 2rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .hero-content .hero-sub {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-menu > li > a {
    font-size: 1.1rem;
  }

  .footer-brand {
    font-size: 1.2rem;
  }

  .footer-copy,
  .footer-address {
    font-size: 0.85rem;
  }

  .footer-siret {
    font-size: 0.7rem;
  }

  .legal-content {
    padding: 1.2rem 0.8rem;
    border-radius: 10px;
  }

  .legal-content h2 {
    font-size: 1rem;
    padding-left: 0.8rem;
  }

  .legal-content h3 {
    font-size: 1rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 0.95rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .page-hero {
    padding: 1.25rem 1rem 1rem;
  }

  .page-hero h1 {
    font-size: 1.35rem;
  }

  input,
  textarea,
  select {
    padding: 0.8rem;
    font-size: 16px;
  }

  .contact-form-container {
    padding: 1.2rem;
  }
}

/* Optimisations pour iPhone SE et petits écrans (375px et moins) */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .service-card {
    padding: 1rem;
  }

  .footer-brand {
    font-size: 1.1rem;
  }

  nav .container {
    padding: 0 1rem;
  }
}

/* Optimisations pour paysage (landscape) sur mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 2rem 3rem;
  }

  .nav-menu {
    max-height: calc(100vh - 60px);
    padding: 1rem;
    gap: 0.8rem;
  }

  .nav-menu > li > a {
    padding: 0.5rem;
  }
}

/* Desktop large (1280px et plus) */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

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

/* Très grand écran (1536px et plus) */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }

  .hero-content h1 {
    font-size: 5rem;
  }
}

/* ===== BREADCRUMB LÉGAL ===== */
.legal-breadcrumb {
  margin-top: 64px;
  padding: 0.5rem 2rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-breadcrumb a {
  color: rgba(0, 240, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-breadcrumb a:hover {
  color: #fff;
}

.legal-breadcrumb-sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.25);
}

.legal-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.45);
}

/* ===== PAGE-HERO LEGAL ===== */
.page-hero--legal {
  padding-top: 2rem !important;
  padding-bottom: 1.75rem !important;
}

/* ===== DATE MISE À JOUR ===== */
.legal-updated {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--cyber-white);
  opacity: 0.45;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(107, 70, 193, 0.15);
}

/* ===== LIENS BAS DE PAGE LÉGALE ===== */
.legal-footer-links {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.6;
}

.legal-footer-links a {
  color: rgba(0, 240, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer-links a:hover {
  color: var(--cyber-cyan);
  text-decoration: underline;
}

.legal-footer-links a:last-child {
  color: rgba(167, 139, 250, 0.65);
}

.legal-footer-links a:last-child:hover {
  color: var(--cyber-purple-light);
}

/* ==========================================================================
   PAGES SERVICES & RÉALISATIONS
   ========================================================================== */

/* --- Grille features (3 colonnes) --- */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-feat {
  background: rgba(107, 70, 193, 0.05);
  border: 1px solid rgba(107, 70, 193, 0.12);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.service-feat:hover {
  background: rgba(107, 70, 193, 0.09);
  border-color: rgba(107, 70, 193, 0.3);
}

.service-feat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.07);
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--cyber-cyan);
}

.service-feat h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyber-white);
  margin: 0 0 0.5rem;
}

.service-feat p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 0;
}

/* --- Formule highlight --- */
.service-plan-highlight {
  max-width: 520px;
  margin: 3rem auto 0;
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.1),
    rgba(0, 240, 255, 0.05)
  );
  border: 1px solid rgba(107, 70, 193, 0.3);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.service-plan-badge {
  display: inline-block;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 1.25rem;
}

.service-plan-name {
  font-family: "Orbitron", monospace;
  font-size: 1.3rem;
  color: var(--cyber-white);
  margin-bottom: 0.75rem;
}

.service-plan-price {
  font-family: "Orbitron", monospace;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  line-height: 1.1;
}

.service-plan-price span {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
}

.service-plan-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.5rem 0 1.75rem;
}

.service-plan-list {
  text-align: left;
  margin-bottom: 2rem;
}

/* --- CTA box --- */
.service-cta-box {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.1),
    rgba(0, 240, 255, 0.05)
  );
  border: 1px solid rgba(107, 70, 193, 0.2);
  border-radius: 14px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.service-cta-box h2 {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  color: var(--cyber-white);
  margin-bottom: 1rem;
}

.service-cta-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Réalisations --- */
.portfolio-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  color: rgba(0, 240, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.portfolio-link:hover {
  color: var(--cyber-cyan);
  text-decoration: underline;
}

.portfolio-cta-card {
  background: transparent;
  border: 2px dashed rgba(107, 70, 193, 0.25);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.portfolio-cta-card:hover {
  border-color: rgba(107, 70, 193, 0.5);
}

.portfolio-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 3rem 2rem;
}

.portfolio-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(107, 70, 193, 0.1);
  border: 1px solid rgba(107, 70, 193, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(167, 139, 250, 0.7);
  margin-bottom: 1.5rem;
}

.portfolio-cta-inner h2,
.portfolio-cta-inner h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.portfolio-cta-inner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 280px;
}
.portfolio-cta-inner .btn {
  margin-top: 1.5rem;
}

/* --- Portfolio services nav --- */
.portfolio-services-nav {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.portfolio-services-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.portfolio-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(107, 70, 193, 0.25);
  border-radius: 6px;
  color: rgba(167, 139, 250, 0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.portfolio-service-link:hover {
  border-color: var(--cyber-purple-light);
  color: var(--cyber-purple-light);
  background: rgba(107, 70, 193, 0.08);
}

/* --- Responsive service grid --- */
@media (max-width: 992px) {
  .service-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-plan-highlight {
    padding: 2rem 1.25rem;
  }

  .service-cta-box {
    padding: 2.5rem 1.25rem;
  }
}

/* ==========================================================================
   COMPOSANTS MODERNES 2026
   Classes utilisées dans les nouveaux templates (front-page, formules,
   processus, equipe, faq, contact, services).
   ========================================================================== */

/* --- Variable accent manquante --- */
:root {
  --accent: var(--cyber-cyan);
}

/* ─── BOUTONS MODERNES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyber-purple), #4c1d95);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 18px rgba(107, 70, 193, 0.3);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--cyber-cyan), #0099bb);
  color: var(--cyber-black);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--cyber-cyan);
  border-color: rgba(0, 240, 255, 0.4);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(0, 240, 255, 0.07);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.2);
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ─── ANIMATIONS FADE-IN ───────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger via nth-child */
.fade-in:nth-child(2) {
  transition-delay: 0.08s;
}
.fade-in:nth-child(3) {
  transition-delay: 0.16s;
}
.fade-in:nth-child(4) {
  transition-delay: 0.24s;
}
/* Pas d'animation pour accessibilité */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── SOUS-TITRE DE SECTION ────────────────────────────────────────────── */
.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 1rem;
  margin-bottom: 3rem;
  line-height: 1.65;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── HERO HOMEPAGE ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding: 6rem 0 3.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 60% at 65% 40%,
      rgba(107, 70, 193, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 15% 70%,
      rgba(0, 245, 255, 0.07) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.hero .container.hero-content,
.hero.hero-content .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-content h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 25%, var(--cyber-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
}
.hero-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}
.hero-stats .stat strong {
  color: var(--cyber-cyan);
}
.hero-stats .stat svg {
  color: var(--cyber-cyan);
  flex-shrink: 0;
}

/* ─── PAGE HERO SOUS-PAGES ─────────────────────────────────────────────── */
.page-hero {
  min-height: auto !important;
  padding: 2rem 0 1.75rem;
  position: relative;
}
.page-hero .hero-content,
.page-hero .container.hero-content {
  text-align: center;
}
.page-hero h1,
.page-hero .hero-content h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #fff 20%, var(--cyber-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .hero-sub {
  max-width: 600px;
  margin: 0 auto 1.25rem;
  font-size: 1rem;
}
.page-hero .hero-btns {
  justify-content: center;
  margin-bottom: 0;
}

/* ─── FORMULES / PLAN CARDS ────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}
.plan-card {
  position: relative;
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid rgba(107, 70, 193, 0.2);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.plan-card:hover {
  border-color: rgba(107, 70, 193, 0.45);
  box-shadow: 0 8px 40px rgba(107, 70, 193, 0.18);
  transform: translateY(-4px);
}
.plan-card.featured {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.03);
  box-shadow:
    0 0 40px rgba(0, 245, 255, 0.1),
    inset 0 1px 0 rgba(0, 245, 255, 0.08);
}
.plan-card.featured:hover {
  border-color: var(--cyber-cyan);
  box-shadow: 0 12px 48px rgba(0, 245, 255, 0.2);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: 18px;
  right: -30px;
  width: 130px;
  padding: 0.3rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--cyber-purple), var(--cyber-cyan));
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(45deg);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(107, 70, 193, 0.4);
}
.plan-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.07);
  border-radius: 14px;
  color: var(--cyber-cyan);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.plan-card h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.15rem;
  color: var(--cyber-white);
  margin-bottom: 0.5rem;
  -webkit-text-fill-color: var(--cyber-white);
  background: none;
}
.plan-price {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--cyber-cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.plan-price span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.38);
}
.plan-monthly {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.5rem;
}
.plan-type {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}
.plan-features li svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ─── PROCESSUS / ÉTAPES ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(107, 70, 193, 0.4),
    rgba(0, 245, 255, 0.4),
    rgba(107, 70, 193, 0.4),
    transparent
  );
  pointer-events: none;
}
.step {
  text-align: center;
  background: rgba(107, 70, 193, 0.04);
  border: 1px solid rgba(107, 70, 193, 0.12);
  border-radius: 14px;
  padding: 2.25rem 1.25rem 1.75rem;
  position: relative;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}
.step:hover {
  background: rgba(107, 70, 193, 0.08);
  border-color: rgba(107, 70, 193, 0.3);
  transform: translateY(-3px);
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--cyber-purple), var(--cyber-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 12px rgba(107, 70, 193, 0.4);
}
.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 240, 255, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-cyan);
  margin: 0 auto 1.25rem;
}
.step h3 {
  font-family: "Orbitron", monospace;
  font-size: 0.92rem;
  color: var(--cyber-white);
  margin-bottom: 0.65rem;
  -webkit-text-fill-color: var(--cyber-white);
  background: none;
}
.step p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* ─── ÉQUIPE MODERNISÉE ────────────────────────────────────────────────── */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.team .team-card {
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid rgba(107, 70, 193, 0.18);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.team .team-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
}
.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 240, 255, 0.25);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team .team-card h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.1rem;
  color: var(--cyber-white);
  margin-bottom: 0.5rem;
  -webkit-text-fill-color: var(--cyber-white);
  background: none;
}
.team-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.87rem;
  color: var(--cyber-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}
.team-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 380px;
}
.team-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
}
.team-skills span {
  display: inline-block;
  padding: 0.22rem 0.8rem;
  background: rgba(107, 70, 193, 0.14);
  border: 1px solid rgba(107, 70, 193, 0.24);
  border-radius: 20px;
  font-size: 0.76rem;
  color: rgba(167, 139, 250, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ─── FAQ ACCORDÉON NOUVEAU (page-formules.php) ───────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.faq .faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  margin-bottom: 0;
}
.faq .faq-item:hover {
  border-color: rgba(0, 240, 255, 0.2) !important;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyber-white);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover {
  color: #fff;
}
.faq-q .faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--cyber-cyan);
}
.faq .faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq .faq-item.is-open .faq-a {
  max-height: 500px;
}
.faq-a p {
  padding: 0 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 0;
}

/* ─── FAQ DÉTAILS/SUMMARY (page-faq.php) ─────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.faq-list .faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  transition: border-color 0.25s;
}
.faq-list .faq-item:hover {
  border-color: rgba(0, 240, 255, 0.2);
}
.faq-list summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--cyber-white);
  font-family: "Rajdhani", sans-serif;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: #fff;
}
.faq-list details[open] summary .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-list .faq-item p,
.faq-list details > p {
  padding: 0 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 0;
}

/* ─── PAGE CONTACT ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  color: var(--cyber-white);
  margin-bottom: 1.25rem;
  -webkit-text-fill-color: var(--cyber-white);
  background: none;
}
.contact-info > p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.contact-list-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--cyber-cyan);
}
.contact-list-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.12rem;
  display: block;
}
.contact-list-value {
  display: block;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-list-value:hover {
  color: var(--cyber-cyan);
}
.contact-note {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.contact-note p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ─── RESPONSIVE COMPOSANTS MODERNES ──────────────────────────────────── */
@media (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
  }
  .plan-card:last-child {
    grid-column: span 2;
    max-width: 390px;
    justify-self: center;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-card:last-child {
    grid-column: span 1;
    max-width: 100%;
    justify-self: stretch;
  }
  .team {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
  .page-hero .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .btn {
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
  }
  .section-sub {
    font-size: 0.95rem;
  }
  .hero-stats {
    gap: 1rem 1.5rem;
    padding: 1.25rem;
  }
  .faq-q,
  .faq-list summary {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  .faq-a p,
  .faq-list .faq-item p {
    padding: 0 1.25rem 1rem;
  }
  .contact-grid {
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .plan-card {
    padding: 2rem 1.5rem;
  }
  .team .team-card {
    padding: 2rem 1.5rem;
  }
  .step {
    padding: 2rem 1rem 1.5rem;
  }
  /* Hero buttons empilés pleine largeur */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns .btn {
    justify-content: center;
    width: 100%;
  }
  /* Hero stats sur 2 colonnes */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 1rem 1.25rem;
  }
  .hero-stats .stat {
    font-size: 0.82rem;
  }
  /* Services 4 colonnes → 1 colonne */
  .services-grid--4col {
    grid-template-columns: 1fr;
  }
  /* Section-sub plus petit */
  .section-sub {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
}
/* ─── UTILITAIRES SUPPLÉMENTAIRES ─────────────────────────────────────── */
.container--narrow {
  max-width: 820px;
}
.text-center {
  text-align: center;
}

/* Grille 4 colonnes pour pages contact / faq */
.services-grid--4col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Carte centrée (service-card--center) */
.service-card--center {
  text-align: center;
}
.service-card-emoji {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--cyber-cyan);
  height: 44px;
}
.service-card--center h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.icon-arrow {
  vertical-align: middle;
  margin-left: 5px;
  flex-shrink: 0;
}
.icon-arrow-left {
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
}
.service-card--center p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Icône check dans les titres de service-card */
.service-card-check {
  vertical-align: middle;
  margin-right: 0.4rem;
  flex-shrink: 0;
}

/* Intro paragraphe page contact */
.contact-intro {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Corps FAQ details (liste + paragraphes) */
.faq-body {
  padding: 0.25rem 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.faq-body p {
  margin: 0 0 0.75rem;
}
.faq-body p:last-child {
  margin-bottom: 0;
}
.faq-body ul {
  margin: 0;
  padding-left: 1.25rem;
}
.faq-body ul li + li {
  margin-top: 0.35rem;
}

/* hero-btns centré (CTA pages) */
.hero-btns--center {
  justify-content: center;
  margin-top: 2rem;
}

/* ─── Lien "Voir le détail →" centré sous une section ─── */
.section-link {
  text-align: center;
  margin-top: 2rem;
}
.section-link a {
  color: var(--cyber-cyan);
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.section-link a:hover {
  opacity: 0.8;
}

/* ─── Container CTA narrow centré ─── */
.container--cta {
  text-align: center;
  max-width: 680px;
}

/* ─── Icône service centrée dans service-card--center ─── */
.service-card--center .service-icon {
  margin: 0 auto 1rem;
}

/* ─── Carte compacte (petit h3/p pour grilles denses) ─── */
.service-card--compact h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.service-card--compact p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ─── Carte highlight (délais processus) ─── */
.service-card--highlight h3 {
  color: var(--cyber-cyan);
  font-size: 1.4rem;
  font-family: "Orbitron", monospace;
}
.service-card--highlight p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
}

/* ─── Icône alerte (refonte signaux) ─── */
.service-feat-icon--alert {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

/* ─── Paragraphe contact sous CTA ─── */
.cta-contact-info {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}
.cta-contact-info a {
  color: var(--cyber-cyan);
  text-decoration: none;
}
.cta-contact-info a:hover {
  opacity: 0.8;
}

/* ─── Note info sous les plans ─── */
.plans-note {
  margin-top: 2rem;
  font-size: 0.9rem;
}
.plans-note svg {
  vertical-align: middle;
  margin-right: 0.3rem;
}

/* ─── Tableau comparatif formules ─── */
.table-scroll {
  overflow-x: auto;
  margin-top: 2rem;
}
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table thead tr {
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}
.compare-table th,
.compare-table td {
  padding: 0.65rem 1rem;
}
.compare-table th {
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.compare-table th:first-child {
  text-align: left;
  color: var(--cyber-cyan);
}
.compare-table .col-pro {
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.04);
}
.compare-table th.col-pro {
  border-radius: 4px 4px 0 0;
}
.compare-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.compare-table tbody td {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.compare-table tbody td:first-child {
  text-align: left;
}
.compare-table tbody tr.compare-total {
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  border-bottom: none;
}
.compare-table tbody tr.compare-total td {
  padding: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.compare-table .no-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
}
@media (max-width: 640px) {
  .compare-table {
    font-size: 0.82rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 0.5rem 0.6rem;
  }
}
