/* ==========================================================================
   FORMAT ULTRA-COURT "2 COUPS DE POUCE" (<= 240vh SUR MOBILE)
   Obsidian Navy (#0B0F19), Amber Gold (#F59E0B), Emerald Green (#10B981)
   Zéro long scroll : Le bas de page est atteint en 2 swipes max !
   ========================================================================== */

:root {
  --bg-obsidian: #0B0F19;
  --bg-card-dark: #111827;
  --bg-card-elevated: #1F2937;
  --bg-light-section: #F8FAFC;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  --accent-gold: #F59E0B;
  --accent-gold-light: #FCD34D;
  --brand-green: #10B981;
  --brand-green-hover: #059669;
  --brand-red: #EF4444;
  --border-glass: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(17, 24, 39, 0.9);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
}

body.ultra-compact-body {
  line-height: 1.45;
  overflow-x: hidden;
  padding-bottom: 65px; /* Dégagement pour le sticky bar */
}

.container-compact {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 14px;
}

.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==========================================================================
   BLOC 1 (ÉCRAN 1 : ~85vh) : BANDEAU + HERO CÔTE À CÔTE + CTA IMMÉDIAT
   ========================================================================== */
.top-banner-mini {
  background: linear-gradient(90deg, #7F1D1D, #991B1B, #7F1D1D);
  color: #FFFFFF;
  padding: 6px 12px;
  font-size: 0.78rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-banner-mini .strikethrough {
  text-decoration: line-through;
  opacity: 0.8;
}

.hero-compact {
  padding: 16px 0 14px;
  background: radial-gradient(circle at 50% 10%, #1E293B 0%, var(--bg-obsidian) 75%);
}

.hero-title-compact {
  font-size: 1.25rem;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-align: center;
}

.hero-sub-compact {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 12px;
  text-align: center;
}

/* DISPOSITION HORIZONTALE COMPACTE HERO CÔTE À CÔTE */
.hero-split-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 12px;
}

.hero-book-mini-wrap {
  text-align: center;
}

.hero-book-thumb {
  max-height: 140px;
  width: auto;
  border-radius: 10px;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
  display: block;
  margin: 0 auto;
}

.hero-bullets-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.bullet-item strong {
  color: #FFFFFF;
}

.bullet-item span {
  color: var(--text-muted);
}

.svg-check {
  margin-top: 2px;
  flex-shrink: 0;
}

/* BOUTON CTA DIRECT DANS LE HERO */
.cta-direct-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  text-align: center;
  animation: pulseGlow 2.5s infinite;
}

.cta-direct-btn small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   BLOC 2 (ÉCRAN 2 : ~85vh) : GRILLE 2 COLONNES [VIDÉO + AVANT/APRÈS] + AVIS
   ========================================================================== */
.proof-compact-section {
  padding: 14px 0 10px;
}

.media-grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

/* COLONNE GAUCHE : LECTEUR VIDÉO 9:16 */
.video-col-card {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 250px;
  background: #000000;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #334155;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.compact-video-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-tap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.play-icon-badge {
  width: 36px;
  height: 36px;
  background: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
  margin-bottom: 6px;
}

.video-overlay-txt {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
}

/* COLONNE DROITE : PHOTO AVANT / APRÈS COMPACTE */
.photo-col-card {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 250px;
  background: #000000;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #334155;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.before-after-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-mini-legend {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  padding: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  color: var(--accent-gold-light);
}

/* CARROUSEL D'AVIS COMPACT (1 SEULE LIGNE HAUTEUR 125PX) */
.reviews-compact-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 10px;
}

.reviews-compact-slider::-webkit-scrollbar {
  display: none;
}

.review-mini-pill {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 115px;
}

.review-stars-mini {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.review-mini-pill p {
  color: #E2E8F0;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-mini-pill strong {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ACCORDÉON FERMÉ PAR DÉFAUT (1 SEULE LIGNE DE 44PX HAUTEUR) */
.accordion-compact-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-toggle-btn {
  width: 100%;
  height: 44px;
  background: none;
  border: none;
  color: var(--accent-gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.chevron-svg {
  transition: transform 0.2s;
  color: var(--accent-gold);
}

.accordion-compact-box.open .chevron-svg {
  transform: rotate(180deg);
}

.accordion-content-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 14px;
}

.accordion-compact-box.open .accordion-content-panel {
  max-height: 400px;
  padding-bottom: 12px;
}

.accordion-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.accordion-text-summary {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.accordion-text-summary p {
  margin-bottom: 4px;
}

/* ==========================================================================
   BLOC 3 (BAS DE PAGE DIRECT : ~70vh) : MINI TABLEAU DE VALEUR + FORMULAIRE
   ========================================================================== */
.checkout-compact-section {
  padding: 12px 0 20px;
  background: radial-gradient(circle at 50% 50%, #172554 0%, var(--bg-obsidian) 75%);
}

.mini-value-strip {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.value-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.strike-val {
  text-decoration: line-through;
  color: var(--brand-red);
}

.value-highlight-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: #FFFFFF;
}

.green-price {
  color: var(--brand-green);
  font-size: 1.15rem;
}

/* FORMULAIRE COMPACT EN 3 CHAMPS DIRECTS */
.compact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.form-row {
  margin-bottom: 10px;
}

.form-row label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 4px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.form-row input:focus {
  border-color: var(--brand-green);
}

.phone-compact-wrap {
  display: flex;
  gap: 6px;
}

.country-code-mini {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #FFFFFF;
  padding: 0 8px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  min-width: 90px;
}

.country-code-mini option {
  background: #0F172A;
  color: #FFFFFF;
}

.submit-compact-btn {
  width: 100%;
  padding: 14px 12px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  margin-top: 6px;
  animation: pulseGlow 2.5s infinite;
}

.submit-compact-btn .btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.operators-mini-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.footer-compact {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   BARRE COLLANTE FIXE EN BAS D'ÉCRAN (60PX)
   ========================================================================== */
.sticky-compact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  padding: 0 14px;
  z-index: 50;
  display: flex;
  align-items: center;
}

.sticky-compact-inner {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-left-price .now-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-green);
}

.sticky-left-price .was-price {
  font-size: 0.8rem;
  color: var(--brand-red);
  text-decoration: line-through;
  margin-left: 6px;
}

.sticky-act-btn {
  background: var(--brand-green);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* BOUTON WHATSAPP FLOTTANT (AU-DESSUS DU STICKY BAR) */
.wa-float-compact {
  position: fixed;
  bottom: 68px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 49;
}
