/* ——— Hero / Cards ——— */
.hero {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,.06);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feat {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  height: 100%;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.tier {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px;
}

.price { font-size: 32px; font-weight: 700; }
.muted { color: #6c757d; }
.paypal-area { min-height: 48px; }

/* ——— Screenshots Thumbs ——— */
.shot-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

/* ——— Lightbox ——— */
.pv-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1050;
  background: rgba(0,0,0,.8);
}
.pv-lightbox.show { display: grid; place-items: center; }

.pv-lightbox__inner {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}

.pv-lightbox__img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  background: #fff;
}

.pv-lightbox__close,
.pv-lightbox__nav {
  position: absolute;
  top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.pv-lightbox__close { right: 8px; }
.pv-lightbox__nav { top: 50%; transform: translateY(-50%); }
.pv-lightbox__prev { left: -52px; }
.pv-lightbox__next { right: -52px; }

@media (max-width: 576px){
  .pv-lightbox__prev { left: 8px; }
  .pv-lightbox__next { right: 8px; }
}

/* ——— Screen-reader only ——— */
.pv-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ===== Comparison table - VERSION COMPACTE ===== */
.comparison-table {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #e9ecef;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-weight: 600;
}

.comparison-cell {
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
}

.comparison-feature {
  justify-content: flex-start;
  text-align: left;
  padding-left: 1.5rem;
  background: #fafbfc;
  font-size: 0.875rem;
}

.comparison-premium {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(25, 135, 84, 0.02) 100%);
  border-left: 3px solid #198754;
  font-weight: 500;
}

.comparison-header .comparison-premium {
  background: linear-gradient(135deg, #198754 0%, #157347 100%);
  color: white;
}

.plan-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.plan-name {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.comparison-check {
  color: #198754;
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 0.35rem;
}

.comparison-cross {
  color: #dc3545;
  font-size: 1.25rem;
  font-weight: bold;
}

.comparison-limited {
  color: #6c757d;
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== Brand logos - VERSION COMPACTE ===== */
.brand-logo-container {
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(97, 95, 95, 0.1);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(109, 106, 106, 0.15);
  background: rgb(58, 56, 56);
}

.brand-logo {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1.1);
}

.brand-logo-container:hover .brand-logo {
  filter: saturate(1.3);
}

/* ===== Plan selection cards - VERSION COMPACTE ===== */
.plan-choice-card {
  display: block;
  padding: 1rem;
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: white;
  height: 100%;
}

.plan-choice-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 0.125rem 0.5rem rgba(13, 110, 253, 0.15);
  transform: translateY(-2px);
}

.plan-choice-input {
  position: absolute;
  opacity: 0;
}

.plan-choice-input:checked + .plan-choice-badge,
.plan-choice-input:checked ~ .plan-choice-content {
  border-color: #0d6efd;
}

.plan-choice-input:checked ~ .plan-choice-content::before {
  content: '✓';
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.plan-choice-recommended {
  border-color: #198754;
  background: linear-gradient(to bottom, rgba(25, 135, 84, 0.05), white);
}

.plan-choice-recommended:hover {
  border-color: #198754;
  box-shadow: 0 0.25rem 0.75rem rgba(25, 135, 84, 0.2);
}

.plan-choice-recommended .plan-choice-input:checked ~ .plan-choice-content::before {
  background: #198754;
}

.plan-choice-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: #198754;
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-choice-content {
  position: relative;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-cell {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
  }
  
  .comparison-row:not(.comparison-header) .comparison-feature {
    font-weight: 600;
    background: #f8f9fa;
  }
  
  .comparison-row:not(.comparison-header) .comparison-cell:last-child {
    border-bottom: 2px solid #198754;
    margin-bottom: 0.75rem;
  }
  
  .comparison-feature {
    padding-left: 1rem;
  }
  
  .comparison-header .comparison-feature {
    display: none;
  }
  
  .brand-logo-container {
    height: 75px;
  }
  
  .brand-logo {
    max-height: 50px;
  }
}

/* ——— Screenshots Thumbs avec effet hover ——— */
.shot-thumb {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.shot-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.shot-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.shot-thumb::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shot-thumb:hover::after {
  opacity: 1;
}