/* =========================================================
 STYLE_V4.CSS - VANGUARD & DA USA
 ========================================================= */
/* 1. CSS EXACT VANGUARD (NE PAS MODIFIER) */
.module-block-recapitulative h4 {
  display: none;
  font-weight: 700 !important;
  text-align: center; }

.recap .module-block-recapitulative h4 {
  display: block;
  margin-bottom: 30px; }

.module-block-recapitulative {
  background-color: #ffffff !important;
  box-shadow: 0px 3px 6px #00000029; }

.vanguard-custom-choice.selected.active, .vanguard-custom-choice:hover {
  filter: grayscale(0); }

.vanguard-custom-choice.selected.active .cta_choice p:after {
  content: "\f00c";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  bottom: 1.5rem;
  font-size: 2rem;
  margin-left: 15px; }

.modal {
  backdrop-filter: blur(13px); }

.modal_content {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  align-items: center; }

.modal_content > div {
  border-width: 3px;
  border-style: solid;
  background-color: #ffffff;
  max-width: 900px;
  margin: auto;
  padding: 15px;
  max-height: 100%;
  overflow: scroll; }

.modal_content h4 {
  text-align: center;
  margin: 30px auto; }

.modal_content .payment_form {
  margin: 30px auto;
  text-align: center; }

.form_info .newsletterAuto {
  font-style: italic;
  font-size: 0.8rem;
  margin-top: 10px; }

.form_info p {
  text-align: center; }

.form_info .politique a {
  text-decoration: underline; }

.vanguard-contact-information .vanguard-contact-form-label {
  position: absolute;
  margin-top: -10px !important;
  margin-left: 15px !important;
  background-color: white !important;
  width: fit-content !important;
  font-weight: 400 !important;
  font-size: 0.8rem !important;
  color: #979797; }

.form-fields .form-group {
  margin-bottom: 28px; }

.form-fields .col-sm-12 {
  display: block;
  margin-left: -15px;
  margin-right: -15px;
  padding: 0; }

.form-fields .col-sm-12:before, .form-fields .col-sm-12:after {
  display: table;
  content: "";
  clear: both; }

.form-fields .form-group {
  width: 50%;
  float: left;
  padding: 0 15px;
  margin-right: 0 !important;
  margin-left: 0 !important; }

.form-check {
  width: 100% !important; }

.vanguard-form-error {
  margin-left: 15px !important;
  font-size: 80% !important; }

/* 2. DESIGN & DA "USA" CAMPAGNE / VARIABLES */
:root {
  --jm-red: #d32f2f;
  --jm-red-hover: #b71c1c;
  --jm-dark: #121212;
  --jm-darker: #050505;
  --jm-light: #f8f9fa;
  --jm-success: #10b981; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--jm-light);
  margin: 0;
  padding: 0; }

.bg-darker {
  background-color: var(--jm-darker); }

.text-red {
  color: var(--jm-red) !important; }

.bg-red {
  background-color: var(--jm-red) !important; }

.font-impact {
  font-family: 'Impact', 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px; }

/* 3. COMPOSANTS UI DE BASE */
.bg-usa-header {
  background-image: linear-gradient(rgba(10, 10, 10, 0.75), rgba(5, 5, 5, 0.95)), url('https://cdn.juste-milieu.fr/uploads/USA/BG-usa.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--jm-red); }

.btn-buy {
  background-color: var(--jm-red);
  border: none;
  color: white;
  font-size: 1.15rem;
  padding: 16px 28px;
  border-radius: 8px;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 800;
  cursor: pointer; }

.btn-buy:hover {
  background-color: var(--jm-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.6);
  color: white; }

.pricing-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 30px;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative; }

.pricing-card.premium {
  border-color: var(--jm-red);
  box-shadow: 0 20px 40px -10px rgba(211, 47, 47, 0.2); }

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }

.ribbon-best {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--jm-red);
  color: white;
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  white-space: nowrap;
  z-index: 2; }

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

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #f3f4f6;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start; }

.feature-list i.text-success {
  color: var(--jm-success);
  margin-right: 12px;
  margin-top: 4px; }

.checkout-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05); }

.pointer-events-none {
  pointer-events: none; }

.accent {
  border-color: var(--jm-red) !important;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15) !important; }

/* 4. ANIMATIONS & MICRO-INTERACTIONS */
/* Fade up scroll */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

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

.delay-100 {
  transition-delay: 150ms; }

.delay-200 {
  transition-delay: 300ms; }

/* Image Zoom on hover */
.img-zoom-hover {
  transition: transform 0.5s ease; }

.img-zoom-hover:hover {
  transform: scale(1.05); }

/* Pulse animation for CTA */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5); }
  70% {
    box-shadow: 0 0 0 15px rgba(211, 47, 47, 0); }
  100% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); } }

.pulse-btn:hover {
  animation: pulseGlow 1.5s infinite; }

/* 5. NOUVELLES FONCTIONNALITÉS E-COMMERCE (V4) */
/* Sticky Countdown Horizontal */
.sticky-countdown {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--jm-red);
  color: white;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Impact', 'Arial Black', sans-serif;
  letter-spacing: 1px; }

.countdown-blocks {
  display: flex;
  gap: 15px;
  margin-left: 20px; }

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 12px;
  min-width: 60px; }

.countdown-num {
  font-size: 1.5rem;
  line-height: 1; }

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-family: sans-serif;
  font-weight: bold; }

@media (max-width: 768px) {
  .sticky-countdown {
    flex-direction: column;
    padding: 8px 0; }
  .countdown-blocks {
    margin-left: 0;
    margin-top: 5px;
    gap: 10px; }
  .countdown-col {
    padding: 4px 8px;
    min-width: 50px; }
  .countdown-num {
    font-size: 1.1rem; } }

/* Bandeau Marquee (Défilant CSS Pur) */
.marquee-container {
  background-color: var(--jm-red);
  color: white;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 12px 0;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px; }

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite; }

.marquee-content span {
  padding: 0 30px; }

@keyframes marquee {
  0% {
    transform: translateX(0); }
  100% {
    transform: translateX(-100%); } }
/* Compteur Dynamique Header */
.dynamic-buyer-counter {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 15px; }

.pulse-dot {
  height: 10px;
  width: 10px;
  background-color: var(--jm-red);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  animation: pulseDotAnim 2s infinite; }

@keyframes pulseDotAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(211, 47, 47, 0); }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); } }
/* Modern Quantity Grid (SaaS Style) */
.quantity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px; }

@media (max-width: 576px) {
  .quantity-grid {
    grid-template-columns: repeat(2, 1fr); } }

.quantity-btn {
  background-color: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none; }

.quantity-btn:hover {
  border-color: #d1d5db;
  background-color: #f3f4f6; }

.quantity-btn.nav-active, .quantity-btn.active {
  border-color: var(--jm-red) !important;
  background-color: #fffaf9 !important;
  color: var(--jm-red); }

.qty-title {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 2px; }

.qty-price {
  font-size: 0.8rem;
  color: #6b7280; }

.quantity-btn.nav-active .qty-price {
  color: var(--jm-red);
  font-weight: bold; }

/* Exit Intent Popup */
.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease; }

.exit-popup-overlay.show {
  display: flex;
  opacity: 1; }

.exit-popup-content {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  max-width: 650px;
  width: 90%;
  transform: translateY(-50px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 4px solid var(--jm-red); }

.exit-popup-overlay.show .exit-popup-content {
  transform: translateY(0); }

.exit-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10; }

.exit-close:hover {
  color: var(--jm-dark); }

.exit-body {
  padding: 40px 30px;
  text-align: center; }

.exit-title {
  font-family: 'Impact', sans-serif;
  color: var(--jm-red);
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase; }

.exit-text {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 25px; }

/* Lightbox Image Zoom */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px); }

.lightbox-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center; }

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  animation: zoomIn 0.3s;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  border-radius: 4px; }

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0; }
  to {
    transform: scale(1);
    opacity: 1; } }

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s; }

.lightbox-close:hover {
  color: var(--jm-red); }

/* Book Pages Hover effect */
.zoom-container {
  overflow: hidden;
  border-radius: 6px; }

.book-page-hover {
  transition: transform 0.3s ease; }

.zoom-container:hover .book-page-hover {
  transform: scale(1.02); }

.zoom-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; }

.zoom-container:hover .zoom-icon-overlay {
  opacity: 1; }

/* 6. OPTIMISATIONS M-COMMERCE (Mobile) */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

.mobile-sticky-cta.show {
  transform: translateY(0); }

@media (max-width: 768px) {
  /* Optimisation des marges et padding pour maximiser l'espace de lecture vertical */
    .py-5 {
      padding-top: 2rem !important;
      padding-bottom: 2rem !important; }
    .p-4, .p-md-5 {
      padding: 1.5rem !important;
      /* Réduction globale de la taille des titres pour écran étroit */ }
    h1.font-impact {
      font-size: 2.2rem !important; }
    h2.font-impact {
      font-size: 1.3rem !important;
      /* Optimisation Formulaire Vanguard (Empêcher un trop grand espace entre Livraison et Paiement) */ }
    .checkout-header h2 {
      font-size: 1.5rem !important; }
    #checkout-section .col-lg-6 {
      border-right: none; } }
