/* ==========================================
   OFFRES.CSS - BubbleWeb
   Page bundles / offres clé en main
   ========================================== */

/* ===== BUNDLES GRID ===== */
.bundles-section {
  padding: var(--space-lg) 0;
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== BUNDLE CARD ===== */
.bundle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Recommended card */
.bundle-recommended {
  border-color: var(--color-accent, #6366f1);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
  transform: scale(1.03);
}

.bundle-recommended:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
}

.bundle-badge-rec {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1.25rem;
  background: var(--color-accent, #6366f1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  white-space: nowrap;
}

/* Header */
.bundle-header {
  margin-bottom: 1.5rem;
}

.bundle-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.bundle-tagline {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin: 0;
}

/* Price */
.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text);
}

.price-unit {
  font-size: 1rem;
  color: var(--color-text-light);
}

.price-ttc {
  width: 100%;
  font-size: 0.8rem;
  color: var(--color-text-light);
  opacity: 0.7;
}

.bundle-value {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.bundle-value s {
  opacity: 0.6;
}

/* Features list */
.bundle-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.bundle-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bundle-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: #22d3ee;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.bundle-features strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.bundle-features span {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* Delivery */
.bundle-delivery {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA button */
.bundle-card .btn-large {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
}


/* ===== COMPARE TABLE ===== */
.compare-section {
  padding: var(--space-lg) 0;
}

.compare-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.compare-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  color: var(--color-text);
}

.compare-table th {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.95rem;
  padding-bottom: 1rem;
}

.col-recommended {
  background: rgba(99, 102, 241, 0.06);
}

.check {
  color: #22d3ee;
  font-weight: 700;
  font-size: 1.1rem;
}

.dash {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

.row-price td {
  padding-top: 1.25rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.row-saving td {
  color: #22d3ee;
  font-weight: 600;
}


/* ===== ADD-ONS ===== */
.addons-section {
  padding: var(--space-lg) 0;
}

.addons-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.addon-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.addon-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.addon-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.addon-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #22d3ee;
}


/* ===== FAQ ===== */
.faq-section {
  padding: var(--space-lg) 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-text-light);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bundles-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .bundle-recommended {
    transform: none;
    order: -1;
  }

  .bundle-recommended:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 600px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.65rem 0.5rem;
  }
}
