@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Skip navigation - accessibilité clavier */
.skip-nav {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden; z-index: 9999;
}
.skip-nav:focus {
  position: fixed; left: 1rem; top: 0; width: auto; height: auto;
  overflow: visible; background: #3b82f6; color: #fff; padding: 0.65rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem; font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
}

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

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOND
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body {
  min-height: 100vh;
  background: #07111f;
  color: #f8fafc;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  filter: blur(65px);
  top: -200px; left: -200px;
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.11) 0%, transparent 70%);
  filter: blur(75px);
  bottom: -180px; right: -180px;
  animation: drift 14s ease-in-out infinite alternate-reverse;
  pointer-events: none; z-index: 0;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(55px,40px) scale(1.1); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOPNAV
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 3.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,17,31,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(96,165,250,0.35);
  background: rgba(59,130,246,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
  transition: color 0.2s, border-color 0.2s, background 0.2s,
              transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
}
.back-btn:hover {
  color: #bfdbfe;
  border-color: rgba(96,165,250,0.6);
  background: rgba(59,130,246,0.16);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateX(-4px);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  position: absolute;
  left: 50%; transform: translateX(-50%);
}
.nav-logo {
  width: 26px; height: 26px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(59,130,246,0.5));
}

/* .topnav-brand/-logo/-links/-download/-hamburger : voir css/topnav.css (partagé) */
.topnav-cta {
  background: linear-gradient(135deg,#3b82f6,#6366f1) !important;
  color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(59,130,246,0.3) !important;
  border: none !important;
}
.topnav-cta:hover { filter: brightness(1.08) !important; transform: translateY(-1px); }

/* Chips de navigation FAQ */
.faq-chips {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
  margin: 0 0 2.5rem;
}
.faq-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none; font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: #f1f5f9;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
  white-space: nowrap;
}
.faq-chip:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #e2e8f0;
  transform: translateY(-1px);
}
.faq-chip-cta {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.25);
  color: #93c5fd;
}
.faq-chip-cta:hover {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.4);
  color: #bfdbfe;
}

/* Media query mobile .topnav-hamburger/.topnav-links : voir css/topnav.css (partagé) */

/* â”€â”€ PREFERS-REDUCED-MOTION â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” MOBILE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 520px) {
  h1 { font-size: 1.85rem; }
  .page { padding: 2rem 1rem 4rem; }
  .faq-question { padding: 1rem 1.1rem; font-size: 0.85rem; }
  .faq-answer { padding: 0 1.1rem; font-size: 0.85rem; }
  .faq-item.open .faq-answer { padding: 0 1.1rem 1rem; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
  .suggestion-box { padding: 1.5rem 1rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page {
  max-width: 108rem;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO LOGO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-logo {
  text-align: center;
  margin: 0 0 1.5rem;
}
.hero-logo img {
  width: 90px; height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.55)) brightness(1.15);
  animation: float 5s ease-in-out infinite;
  border-radius: 50%;
  overflow: hidden;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

h1 {
  font-size: 3.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #f8fafc;
  animation: fadeUp 0.6s cubic-bezier(.22,1,.36,1) both;
}
.hero-title-grad {
  background: linear-gradient(270deg, #93c5fd 0%, #a78bfa 25%, #f472b6 50%, #a78bfa 75%, #93c5fd 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradShift 5s ease infinite;
  display: inline-block;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroGradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.subtitle {
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-align: center;
  animation: fadeUp 0.6s 0.08s cubic-bezier(.22,1,.36,1) both;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BARRE DE RECHERCHE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.search-bar {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.6s 0.1s cubic-bezier(.22,1,.36,1) both;
}

/* Dimming du contenu FAQ quand la dropdown est ouverte */
#faq-content {
  transition: opacity 0.2s;
}
#faq-content.search-dimmed {
  opacity: 0.08;
  pointer-events: none;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 0.85rem 3rem 0.85rem 2.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.85rem;
  color: #f8fafc;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, border-radius 0.15s;
}
.search-bar input::placeholder { color: #64748b; }
.search-bar input:focus {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.05);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12), 0 4px 20px rgba(59,130,246,0.1);
}
/* Quand la dropdown est ouverte : input connecté visuellement */
.search-bar.sug-open input {
  border-color: rgba(59,130,246,0.45);
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION LABEL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3b82f6;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.12s cubic-bezier(.22,1,.36,1) both;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GROUPES FAQ
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeUp 0.6s 0.14s cubic-bezier(.22,1,.36,1) both;
}
.faq-group {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.group-title {
  padding: 1rem 1.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ITEM FAQ
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.faq-question:hover {
  color: #fff;
  background: rgba(255,255,255,0.03);
}
.faq-chevron {
  font-size: 1.3rem;
  font-weight: 300;
  color: #f1f5f9;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-chevron {
  transform: rotate(90deg);
  color: #3b82f6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.22,1,.36,1), padding 0.3s;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer a { color: #60a5fa; text-decoration: none; }
.faq-answer a:hover { color: #93c5fd; }
.faq-answer strong { color: #e2e8f0; }
.faq-answer code {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  padding: 0.1em 0.45em;
  border-radius: 0.3rem;
  font-size: 0.82rem;
  font-family: 'Consolas', monospace;
}
.faq-answer ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AUCUN RÃ‰SULTAT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.no-results {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 1rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  text-align: center;
}
.no-results-icon { font-size: 2rem; }
.no-results p { line-height: 1.65; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SUGGESTIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.suggestion-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.6s 0.2s cubic-bezier(.22,1,.36,1) both;
}
.suggestion-intro {
  font-size: 0.9rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  text-align: center;
}

.suggestion-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.03em;
}
.optional { color: #64748b; font-weight: 400; }
.required { color: #f87171; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 0.75rem;
  color: #f8fafc;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #64748b; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.05);
}
.form-group select option {
  background: #0f1f35;
  color: #f8fafc;
}

.btn-submit {
  align-self: flex-end;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.45);
  filter: brightness(1.08);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Confirmation */
.suggestion-success {
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.5rem 1rem;
  text-align: center;
  animation: fadeUp 0.5s cubic-bezier(.22,1,.36,1) both;
}
.success-icon { font-size: 2.5rem; }
.suggestion-success strong { font-size: 1.05rem; color: #e2e8f0; }
.suggestion-success p { font-size: 0.875rem; color: #f1f5f9; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CTA SUPPORT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.support-cta {
  margin-top: 2.5rem;
  text-align: center;
  animation: fadeUp 0.6s 0.28s cubic-bezier(.22,1,.36,1) both;
}
.support-cta p {
  font-size: 0.875rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}
.btn-chat {
  padding: 0.75rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-chat:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}


/* ── AMÉLIORATIONS VISUELLES ── */

/* Dot grid background */
body::before {
  background-image: radial-gradient(rgba(59,130,246,0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 65%);
  background-size: 36px 36px, 650px 650px;
  background-position: 0 0, -180px -180px;
}


/* Barre de recherche focus améliorée */
.search-bar input:focus {
  border-color: rgba(59,130,246,0.55);
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12), 0 4px 20px rgba(59,130,246,0.1);
}

/* Group title gradient */
.group-title {
  background: linear-gradient(90deg, #60a5fa, #818cf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  border-bottom: 1px solid rgba(59,130,246,0.12) !important;
}

/* FAQ group cards améliorées */
.faq-group {
  background: rgba(13,24,41,0.8) !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 1.25rem !important;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-group:hover {
  border-color: rgba(59,130,246,0.3) !important;
  box-shadow: 0 8px 28px rgba(59,130,246,0.08);
}

/* FAQ item ouvert */
.faq-item.open {
  background: rgba(59,130,246,0.04);
}
.faq-item.open .faq-question {
  color: #93c5fd;
}
.faq-question:hover {
  background: rgba(59,130,246,0.05) !important;
  color: #e2e8f0 !important;
}

/* Suggestion box */
.suggestion-box {
  background: rgba(13,24,41,0.9) !important;
  border: 1px solid rgba(59,130,246,0.2) !important;
  border-radius: 1.25rem !important;
  position: relative; overflow: hidden;
}
.suggestion-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6 40%, #6366f1, transparent);
}

/* ── FIX body::before (grille dans cercle flou = bug) ── */
body::before {
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  background-size: auto;
  background-position: 0 0;
}
/* Grille directement sur body */
body {
  background-color: #07111f;
  background-image: radial-gradient(rgba(59,130,246,0.065) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* ── VISUELS SUPPLÉMENTAIRES ── */

/* Logo hero : pulsation glow bleu/violet */
@keyframes logoPulse {
  from { filter: drop-shadow(0 0 14px rgba(59,130,246,0.45)); }
  to   { filter: drop-shadow(0 0 30px rgba(99,102,241,0.75)) brightness(1.15); }
}
.hero-logo img {
  animation: float 5s ease-in-out infinite, logoPulse 3s ease-in-out infinite alternate;
}

/* Chips : hover bleu avec lift */
.faq-chip:hover {
  background: rgba(59,130,246,0.12) !important;
  border-color: rgba(59,130,246,0.35) !important;
  color: #93c5fd !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.15);
  transition: all 0.18s;
}

/* Section label : pastille bleue + glow */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,0.7);
  flex-shrink: 0;
}

/* FAQ group : barre top animée au hover */
.faq-group {
  position: relative;
}
.faq-group::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6, #3b82f6);
  background-size: 300% auto;
  border-radius: 1.25rem 1.25rem 0 0;
  opacity: 0;
  transition: opacity 0.3s;
  animation: stripeSheen 3.5s linear infinite;
}
.faq-group:hover::after {
  opacity: 1;
}
@keyframes stripeSheen {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* FAQ question : filet bleu à gauche au hover */
.faq-question {
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  padding-left: calc(1.5rem - 3px);
}
.faq-question:hover {
  border-left-color: rgba(59,130,246,0.35) !important;
}
.faq-item.open .faq-question {
  border-left-color: #3b82f6 !important;
}

/* FAQ réponse : texte légèrement plus lisible */
.faq-answer {
  color: #f1f5f9;
  border-left: 3px solid transparent;
}
.faq-item.open .faq-answer {
  border-left: 3px solid rgba(59,130,246,0.15);
  padding-left: calc(1.5rem - 3px);
}

/* (transition déjà définie dans .search-bar input) */

/* Suggestion box inputs focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(59,130,246,0.5) !important;
  background: rgba(59,130,246,0.05) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
  outline: none;
}

/* Submit button : shimmer sweep */
@keyframes shimmerSweep {
  from { left: -80%; }
  to   { left: 160%; }
}
.btn-submit {
  overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shimmerSweep 2.4s linear infinite;
  pointer-events: none;
}

/* Support CTA : bouton pulsé */
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); border-color: rgba(255,255,255,0.12); }
  50%       { box-shadow: 0 0 0 5px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }
}
.btn-chat {
  animation: chatPulse 2.8s ease-in-out infinite;
}
.btn-chat:hover {
  animation: none;
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.4);
  color: #93c5fd;
}

/* ── SUGGESTION DROPDOWN ── */
#faqSuggestBox {
  display: none;
  position: fixed;
  background: #0d1829;
  border: 1px solid rgba(59,130,246,0.45);
  border-top: none;
  border-radius: 0 0 0.85rem 0.85rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  list-style: none;
  padding: 0.4rem;
  z-index: 9999;
  overflow: hidden;
}
#faqSuggestBox li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.875rem;
  color: #f1f5f9;
}
#faqSuggestBox li:hover,
#faqSuggestBox li.sug-active {
  background: rgba(59,130,246,0.12);
}
.sug-icon {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}
.sug-text { flex: 1; line-height: 1.4; }
.sug-sub {
  display: block;
  font-size: 0.75rem;
  color: #f1f5f9;
  margin-top: 0.2rem;
  line-height: 1.4;
}
#faqSuggestBox mark {
  background: none;
  color: #60a5fa;
  font-weight: 700;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 3.75rem;
  left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.04);
  z-index: 99;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ── ANIMATIONS ÉCHELONNÉES PAR GROUPE ── */
.faq-group:nth-child(1) { animation: fadeUp 0.55s 0.10s cubic-bezier(.22,1,.36,1) both; }
.faq-group:nth-child(2) { animation: fadeUp 0.55s 0.17s cubic-bezier(.22,1,.36,1) both; }
.faq-group:nth-child(3) { animation: fadeUp 0.55s 0.24s cubic-bezier(.22,1,.36,1) both; }
.faq-group:nth-child(4) { animation: fadeUp 0.55s 0.31s cubic-bezier(.22,1,.36,1) both; }

/* ── BOUTON RETOUR EN HAUT ── */
.back-top {
  position: fixed;
  bottom: 2rem; left: 1.5rem;
  width: 2.6rem; height: 2.6rem;
  background: rgba(10,20,38,0.92);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa;
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s,
              background 0.2s, box-shadow 0.2s;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.back-top:hover {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.55);
  box-shadow: 0 4px 18px rgba(59,130,246,0.28);
  transform: translateY(-2px) scale(1.07);
}

/* ── SEARCH BAR — RACCOURCI CLAVIER ── */
.search-bar::after {
  content: '/';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 700;
  color: #64748b;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 0.08rem 0.42rem;
  border-radius: 0.3rem;
  pointer-events: none;
  transition: opacity 0.2s;
}
.search-bar:focus-within::after { opacity: 0; }

/* ── CHIPS — ÉTAT ACTIF (section en vue) ── */
.faq-chip.chip-active {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.42);
  color: #93c5fd;
  box-shadow: 0 3px 14px rgba(59,130,246,0.18);
}

/* ── ANSWER LINKS — SOUS-LIGNE ANIMÉE ── */
.faq-answer a {
  position: relative;
  display: inline;
  text-underline-offset: 2px;
}
.faq-answer a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 100%;
  height: 1px;
  background: #60a5fa;
  transition: right 0.22s ease;
}
.faq-answer a:hover { color: #93c5fd; }
.faq-answer a:hover::after { right: 0; }

/* ── ANSWER UL — PUCES BLEUES ── */
.faq-answer ul {
  padding-left: 0;
  display: flex; flex-direction: column; gap: 0.35rem;
  list-style: none;
}
.faq-answer ul li { display: flex; gap: 0.5rem; align-items: baseline; }
.faq-answer ul li::before {
  content: '›';
  color: #3b82f6;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FOOTER ── */
/* Le footer du site est désormais géré par css/site-footer.css (classe .footer, partagée). */
