/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    color: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    box-shadow: 0 26px 70px rgba(37, 99, 235, 0.55);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--color-primary-soft);
    color: var(--color-primary-soft);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--color-primary-soft);
}

.btn-ghost {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--color-primary-soft);
    background: rgba(15, 23, 42, 0.9);
}

.btn-ghost:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--color-primary-soft);
}

.btn-sm {
    padding: 0.38rem 0.9rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.badge {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    border-radius: var(--radius-pill);
    padding: 0.28rem 0.85rem;
    font-size: 0.75rem;
    color: var(--color-text-soft);
}

/* CARTES */
.card {
    background-color: var(--color-panel-soft);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.5rem 1.4rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
    border: 1px solid var(--color-border);
}

.card-subtitle {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    margin-bottom: 0.9rem;
}

/* LISTES */
.list-check {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.list-check li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--color-text-soft);
}

.list-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
    color: var(--color-accent);
}

.step {
    background-color: var(--color-panel-soft);
    border-radius: var(--radius-xl);
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #f9fafb;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.packs-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.packs-note {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.pack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.1rem;
}

.pack-card {
    position: relative;
}

.pack-visual {
    position: relative;
    height: 120px;
    border-radius: 1rem;
    margin-bottom: 0.9rem;
    padding: 0 1.1rem;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.5), transparent 55%),
        linear-gradient(135deg, #0f172a, #020617);
    color: #e5e7eb;
}

.pack-visual-alt {
    background:
        radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.55), transparent 55%),
        linear-gradient(135deg, #111827, #022c22);
}

.pack-m365 {
    background:
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.65), transparent 55%),
        linear-gradient(135deg, #1e293b, #020617);
}

.pack-intune {
    background:
        radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.6), transparent 55%),
        linear-gradient(135deg, #020617, #0b1120);
}

.pack-infra {
    background:
        radial-gradient(circle at 75% 0%, rgba(250, 204, 21, 0.22), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.18), transparent 55%),
        linear-gradient(135deg, #0b1120, #020617);
}

.pack-label {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.7);
    font-size: 0.8rem;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.45);
}

.pack-card h4 {
    margin-bottom: 0.4rem;
}

.pack-price {
    margin-top: 0.7rem;
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
}

.contact-list li + li {
    margin-top: 0.3rem;
}

.contact-list a {
    color: #93c5fd;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
    gap: 2.25rem;
    align-items: flex-start;
}

.contact-text p {
    color: var(--color-text-soft);
}

/* FORMULAIRE CONTACT */
.contact-form {
    background: radial-gradient(circle at top, #111827 0%, #020617 70%);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid #1f2937;
    background-color: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    font-size: 0.9rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--color-primary-soft);
    outline-offset: 1px;
    border-color: transparent;
}

.form-group-checkbox {
    margin-top: 0.7rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.4rem;
    margin-bottom: 0.75rem;
}

.form-feedback {
    font-size: 0.85rem;
    margin-top: 0.7rem;
}

/* FOOTER */
.footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid #111827;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.cyber-services-grid .card {
    height: 100%;
}

.pack-formation {
    background:
        radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.22), transparent 58%),
        linear-gradient(135deg, #020617, #111827);
}

/* CONTACT FLOTTANT (MODAL GLOBAL) */
#contact-modal-overlay{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:1.5rem;
    background:rgba(2,6,23,0.78);
    backdrop-filter: blur(10px);
    opacity:0;
    pointer-events:none;
    transition: opacity 0.2s ease;
    z-index:9998;
}
#contact-modal-overlay.open{
    opacity:1;
    pointer-events:auto;
}
#contact-modal-overlay .contact-modal{
    width:min(720px, 92vw);
    max-height: min(88vh, 860px);
    overflow:auto;
    background: radial-gradient(circle at top, #111827 0%, #020617 70%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148,163,184,0.85);
    box-shadow: 0 26px 80px rgba(15,23,42,0.9);
    padding: 1.6rem 1.5rem 1.4rem;
}
#contact-modal-overlay .contact-modal h2{
    font-size:1.35rem;
    margin-bottom:0.35rem;
    letter-spacing:0.01em;
}
#contact-modal-overlay .contact-modal p{
    color: var(--color-text-soft);
    font-size:0.95rem;
    margin-bottom:1.1rem;
}
.contact-modal-actions{
    display:flex;
    gap:0.6rem;
    flex-wrap:wrap;
    margin-top:0.9rem;
    justify-content:flex-end;
}

.pack-card {
  cursor: pointer;
}

.pack-header {
  cursor: pointer;
}

.pack-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.pack-card.is-open .pack-content {
  max-height: 2400px; /* fallback si JS bloqué */
  opacity: 1;
  margin-top: 0.75rem;
}

.pack-card.is-collapsed .pack-content {
  pointer-events: none;
}

.pack-price {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* 🔵 Bleu GSSIEP – confiance / dépannage */
.pack-blue {
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.55), transparent 60%),
    linear-gradient(135deg, #0f172a, #020617);
}

/* 🟢 Vert sécurité – nettoyage / protection */
.pack-green {
  background:
    radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.55), transparent 60%),
    linear-gradient(135deg, #022c22, #020617);
}

/* 🔷 Cyan – pédagogie / formation */
.pack-cyan {
  background:
    radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.55), transparent 60%),
    linear-gradient(135deg, #020617, #0b1120);
}

/* 🟣 Bleu nuit profond – premium / remise à neuf */
.pack-deepblue {
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.45), transparent 60%),
    linear-gradient(135deg, #020617, #020617);
}

.particulier-packs .pack-card:nth-child(2) .pack-visual {
    background:
        radial-gradient(circle at 80% 0%, rgba(16,185,129,0.55), transparent 55%),
        linear-gradient(135deg, #022c22, #020617);
}

.particulier-packs .pack-card:nth-child(3) .pack-visual {
    background:
        radial-gradient(circle at 85% 0%, rgba(56,189,248,0.55), transparent 55%),
        linear-gradient(135deg, #0b2540, #020617);
}

.particulier-packs .pack-card:nth-child(4) .pack-visual {
    background:
        radial-gradient(circle at 20% 0%, rgba(59,130,246,0.55), transparent 55%),
        linear-gradient(135deg, #0b1e3a, #020617);
}

.packs-title {
  margin-top: 4rem;        /* crée la vraie séparation avec les blocs au-dessus */
  margin-bottom: 0.6rem;
  text-align: center;
  font-size: 1.6rem;
}

.packs-note {
  max-width: 720px;
  margin: 0 auto 2.2rem;   /* centrage + respiration avant les packs */
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== BOUTON CONTACT GOLD ===== */
/* ==========================================================
   Bouton contour OR — Demande de contact (OFFICIEL GSSIEP)
   ----------------------------------------------------------
   Rôle UX :
   - CTA premium
   - Action humaine (prise de contact)
   - DOIT rester distinct des boutons bleus (navigation)
   ========================================================== */
/* ==========================================================
   Bouton OR premium — Demande de contact (VERSION ORIGINALE)
   Effets :
   - contour OR
   - glow léger
   - reflet animé droite → gauche
   ========================================================== */
.btn-outline-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.1rem;
  border-radius: 999px;

  background: transparent;
  border: 2px solid #d6b25e; /* OR premium */
  color: #f3e6b3;

  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  overflow: hidden; /* IMPORTANT pour le reflet */
  transition: all 0.25s ease;
}

/* ===== REFLET ANIMÉ ===== */
.btn-outline-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );

  transform: skewX(-20deg);
}

/* Hover : lancement du reflet */
.btn-outline-gold:hover::before {
  animation: goldShine 0.9s ease;
}

/* Hover global */
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: rgba(214, 178, 94, 0.12);
  box-shadow: 0 0 0 3px rgba(214, 178, 94, 0.25);
  color: #ffffff;
}

/* Pulsation (inchangée) */
.btn-outline-gold.cta-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

/* Animation reflet */
@keyframes goldShine {
  from {
    left: -120%;
  }
  to {
    left: 120%;
  }
}

/* Animation pulsation */
@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 6px rgba(214, 178, 94, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0);
  }
}


/* ==========================================================
   Micro-animation subtile CTA (optionnelle)
   - À activer avec la classe .cta-pulse
   ========================================================== */
.btn-outline-gold.cta-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

/* Animation pulsation légère */
@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0.0);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 6px rgba(214, 178, 94, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0.0);
  }
}


/* CONTACT FLOTTANT (V7) */
.contact-floating{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(2,6,23,.75);backdrop-filter:blur(10px);z-index:9999;padding:1.25rem}
.contact-floating.open{display:flex}
.contact-floating-panel{width:min(680px,92vw);background:radial-gradient(circle at top,#111827 0%,#020617 70%);border:1px solid rgba(148,163,184,.8);border-radius:22px;box-shadow:0 22px 55px rgba(15,23,42,.85);padding:1.6rem 1.5rem 1.4rem;position:relative}
.contact-close{position:absolute;top:10px;right:12px;border:1px solid rgba(148,163,184,.55);background:rgba(15,23,42,.75);color:#e5e7eb;border-radius:999px;width:38px;height:38px;cursor:pointer;font-size:1.1rem;line-height:1}

.step-toggle:hover {
  text-decoration: underline;
}

.step-details {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d6d6d6;
}

.step {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step-details {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d6d6d6;
  pointer-events: none;
}

.step.is-open .step-details {
  display: block;
  pointer-events: auto;
}

/* Mise en valeur de la carte ouverte */
.step.is-open {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

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

.testimonial {
  background: rgba(0, 0, 0, 0.35);
  padding: 1.5rem;
  border-radius: 12px;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Bouton contour OR – Demande de contact */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  }

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: rgba(214, 178, 94, 0.12);
  box-shadow: 0 0 0 3px rgba(214, 178, 94, 0.25);
  color: #ffffff;
}

/* Respect utilisateur : arrêt au hover/focus */
.cta-btn:hover,
.cta-btn:focus {
  animation: none;
}
/* Micro-interaction premium bouton OR (hero) */
.btn-outline-gold {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-outline-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(214, 178, 94, 0.35),
    transparent
  );
  transition: left 0.6s ease;
}

/* Hover / focus */
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 178, 94, 0.35);
}

.btn-outline-gold:hover::after,
.btn-outline-gold:focus::after {
  left: 120%;
}
/* ===== TICKER DÉFILANT ===== */
.ticker {
  overflow: hidden;
  background: rgba(2, 6, 23, 0.95);
  color: #e5e7eb;
  font-size: 0.85rem;
  border-top: 1px solid rgba(250, 204, 21, 0.75);
  border-bottom: 1px solid rgba(250, 204, 21, 0.75);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
  padding-right: 3rem;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ===== LOGO FLASH OVERLAY ===== */
/* ======================================================
   Overlay logo plein écran (clic sur logo)
   ====================================================== */
#logo-flash-overlay {
  position: fixed;
  inset: 0;

  display: flex; /* JAMAIS none */
  align-items: center;
  justify-content: center;

  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(10px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
  z-index: 9999;
}



/* ======================================================
   BANDEAU DATE / HEURE — TICKER DÉFILANT (VERSION ORIGINE)
   ====================================================== */
.ticker {
  background: rgba(2, 6, 23, 0.95);
  color: var(--color-text-soft);
  border-top: 1px solid rgba(250, 204, 21, 0.75);
  border-bottom: 1px solid rgba(250, 204, 21, 0.75);
  overflow: hidden;
  font-size: 0.85rem;
}

/* Piste de défilement */
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-move 25s linear infinite;
}

/* Texte + duplication (cache la coupure) */
.ticker-track span {
  white-space: nowrap;
  padding-right: 100vw; /* cache totalement la duplication */
}

/* Défilement continu fluide */
@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================
   NAV — Dropdown (v5)
   ============================ */

.nav .has-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  /* Empêche le menu de se fermer quand on passe la souris
     du lien vers le sous-menu (pas de "trou" de hover) */
  padding-bottom: .55rem;
}

.nav .dropdown-toggle{
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: .35rem .55rem;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: .6rem;
  color: inherit;
  opacity: .95;
}

.nav .dropdown-toggle:hover{
  opacity: 1;
}

.nav .dropdown-toggle:focus{
  outline: 2px solid rgba(250, 204, 21, .55);
  outline-offset: 2px;
}

.nav .chev{
  font-size: .85rem;
}

.nav .dropdown-menu{
  display: none;
  position: absolute;
  /* Le menu touche le lien (pas de zone vide),
     et on crée l'espace visuel via le padding interne */
  top: 100%;
  left: 0;
  min-width: 240px;
  z-index: 5000;
  padding: .9rem .5rem .5rem;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
}

.nav .dropdown-menu li{
  list-style: none;
}

.nav .dropdown-menu li a{
  display: block;
  padding: .6rem .75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #111827;
}

.nav .dropdown-menu li a:hover{
  background: rgba(250, 204, 21, .14);
}

/* Desktop : hover/focus */
@media (min-width: 981px){
  .nav .has-dropdown:hover .dropdown-menu,
  .nav .has-dropdown:focus-within .dropdown-menu{
    display: block;
  }
}

/* Mobile/tactile : ouvert via classe */
.nav .has-dropdown.is-open .dropdown-menu{
  display: block;
}

/* Mobile : menu vertical => sous-menu en bloc */
@media (max-width: 980px){
  .nav .has-dropdown{
    width: 100%;
    justify-content: space-between;
  }
  .nav .dropdown-menu{
    position: static;
    box-shadow: none;
    margin-top: .5rem;
    width: 100%;
    border: 1px solid rgba(0,0,0,.10);
  }
}


/* ======================================================
   MOBILE — Ticker padding safe
   Objectif : éviter un scrollWidth énorme (padding-right: 100vw)
   ====================================================== */
@media (max-width: 980px){
  .ticker-track span{
    padding-right: 3rem; /* au lieu de 100vw sur mobile */
  }
}

/* ── Pack-visual Particuliers V9 ──────────────────────── */

/* 🔵 Dépannage — bleu confiance lumineux */
.pack-depaparticulier {
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.75), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(37,99,235,.4), transparent 50%),
    linear-gradient(135deg, #0f2a5c, #020617);
  box-shadow: 0 0 30px rgba(59,130,246,.2);
}
.pack-depaparticulier::after {
  content: '🖥️';
  position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem; opacity: .35;
  pointer-events: none;
}

/* 🟢 Maison connectée — vert sécurité brillant */
.pack-maisonparticulier {
  background:
    radial-gradient(circle at 20% 20%, rgba(16,185,129,.75), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(5,150,105,.4), transparent 50%),
    linear-gradient(135deg, #022c1e, #020617);
  box-shadow: 0 0 30px rgba(16,185,129,.2);
}
.pack-maisonparticulier::after {
  content: '🏠';
  position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem; opacity: .35;
  pointer-events: none;
}

/* 🔴 Sécurité — rouge/orange alerte */
.pack-securiteparticulier {
  background:
    radial-gradient(circle at 15% 20%, rgba(239,68,68,.65), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(249,115,22,.4), transparent 50%),
    linear-gradient(135deg, #3b0a0a, #1c0a00);
  box-shadow: 0 0 30px rgba(239,68,68,.2);
}
.pack-securiteparticulier::after {
  content: '🛡️';
  position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem; opacity: .35;
  pointer-events: none;
}

/* 🟡 Autonomie — jaune/doré pédagogie */
.pack-autonomieparticulier {
  background:
    radial-gradient(circle at 15% 20%, rgba(250,204,21,.65), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(245,158,11,.35), transparent 50%),
    linear-gradient(135deg, #2a1f00, #1a1000);
  box-shadow: 0 0 30px rgba(250,204,21,.18);
}
.pack-autonomieparticulier::after {
  content: '💡';
  position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem; opacity: .35;
  pointer-events: none;
}

/* S'assurer que pack-visual est en position relative pour le ::after */
.pack-visual { position: relative; overflow: hidden; }

/* ── Vignette flottante Tester MDP ─────────────────── */
#mdp-floater {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, opacity .25s ease;
}

#mdp-floater:hover {
  transform: translateY(-50%) translateX(-4px);
}

.mdp-floater-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #1d4ed8 0%, #0f172a 100%);
  border: 1px solid rgba(59,130,246,.45);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: .75rem .6rem;
  gap: .35rem;
  box-shadow: -4px 0 18px rgba(29,78,216,.35);
  min-width: 52px;
}

.mdp-floater-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.mdp-floater-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: .72rem;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.mdp-floater-badge {
  font-size: .65rem;
  font-weight: 800;
  background: #22c55e;
  color: #fff;
  border-radius: 999px;
  padding: .1rem .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .1rem;
}

#mdp-floater.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  #mdp-floater {
    top: auto;
    bottom: 5rem;
    transform: none;
  }
  #mdp-floater:hover {
    transform: translateX(-4px);
  }
  .mdp-floater-text { display: none; }
  .mdp-floater-inner { padding: .55rem .5rem; }
}
