/* ========================================
   REVUE-STYLES.CSS
   Styles spécifiques pour la page Revue Division Zeitung
   Dépendance : styles.css (chargé en premier)
   ======================================== */

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.95), rgba(218, 165, 32, 0.95)), 
              url('images/panzer-fond.jpg') center/cover;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.hero-banner h2 {
  font-size: 32px;
  margin: 0 0 16px 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner p {
  font-size: 18px;
  margin: 0;
  opacity: 0.95;
}

/* ==========================================
   CARTES DE PRICING
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0 50px 0;
}

.pricing-card {
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  border: 3px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.25);
  border-color: var(--accent);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fff9e6, #ffffff);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.15);
}

.pricing-card.featured::before {
  height: 8px;
}

.badge {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.pricing-card h3 {
  font-size: 22px;
  color: var(--warm);
  margin: 0 0 16px 0;
}

.price-tag {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  margin: 20px 0;
  line-height: 1;
}

.price-tag .currency {
  font-size: 24px;
  vertical-align: super;
}

.price-details {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-card .cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card.featured .cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

/* Liste dans les pricing cards */
.pricing-card ul {
  text-align: left;
  margin: 20px 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.pricing-card ul li {
  margin: 8px 0;
  line-height: 1.6;
}

/* ==========================================
   CARTES DE REVUES
   ========================================== */
.revue-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
  border: 2px solid #f0f0f0;
  display: flex;
  gap: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.revue-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.revue-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.2);
  border-color: var(--accent);
}

.revue-cover {
  width: 160px;
  height: 220px;
  border-radius: 12px;
  background: #f5f5f5;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
}

.revue-card:hover .revue-cover {
  transform: scale(1.05);
}

.revue-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.revue-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.revue-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.revue-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--warm);
  margin: 0;
}

.revue-price {
  background: linear-gradient(135deg, #fbfdf9, #f5f3ef);
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px solid var(--sand);
}

.revue-price-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.revue-description {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin: 16px 0;
  flex: 1;
  border-left: 4px solid var(--accent-light);
}

.revue-description strong {
  color: var(--warm);
  font-size: 15px;
  display: block;
  margin-bottom: 12px;
}

.revue-description ul {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
  list-style: disc;
}

.revue-description li {
  margin: 8px 0;
}

.revue-description p {
  margin: 8px 0;
  line-height: 1.6;
}

.revue-features {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.feature-tag {
  background: white;
  border: 2px solid var(--sand);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--warm);
}

.revue-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.revue-formats {
  font-size: 13px;
  color: var(--muted);
}

.revue-formats strong {
  color: var(--warm);
}

/* ==========================================
   SECTION TITLE
   ========================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 50px 0 30px 0;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
}

.section-title h3 {
  font-size: 26px;
  color: var(--warm);
  margin: 0;
  font-weight: 700;
}

.section-title::before {
  content: '📚';
  font-size: 32px;
}

/* ==========================================
   INFO BOX
   ========================================== */
.info-box {
  background: linear-gradient(135deg, #fff9e6, #fffaf0);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  text-align: center;
}

.info-box h4 {
  color: var(--warm);
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
}

.info-box p {
  color: #2c3e50;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

.info-box p strong {
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================
   CTA FINAL
   ========================================== */
.cta-final {
  margin-top: 50px;
  background: linear-gradient(135deg, #fff9e6, #fffbf0);
  border: 2px solid var(--accent);
  text-align: center;
  padding: 40px 30px;
}

.cta-final h3 {
  color: var(--warm);
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 700;
}

.cta-final p {
  font-size: 16px;
  color: #2c3e50;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.cta-final .cta {
  font-size: 18px;
  padding: 16px 32px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablettes */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .revue-card {
    flex-direction: column;
    padding: 20px;
  }

  .revue-cover {
    width: 140px;
    height: 196px;
    margin: 0 auto;
  }

  .revue-header {
    flex-direction: column;
    gap: 16px;
  }

  .revue-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .hero-banner h2 {
    font-size: 24px;
  }

  .hero-banner p {
    font-size: 16px;
  }

  .section-title h3 {
    font-size: 22px;
  }

  .section-title::before {
    font-size: 28px;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .hero-banner {
    padding: 30px 20px;
  }

  .hero-banner h2 {
    font-size: 22px;
  }

  .hero-banner p {
    font-size: 15px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .price-tag {
    font-size: 36px;
  }

  .price-tag .currency {
    font-size: 20px;
  }

  .pricing-card h3 {
    font-size: 20px;
  }

  .revue-card {
    padding: 16px;
  }

  .revue-title {
    font-size: 20px;
  }

  .revue-cover {
    width: 120px;
    height: 168px;
  }

  .revue-price-value {
    font-size: 24px;
  }

  .revue-description {
    padding: 16px;
  }

  .feature-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .section-title h3 {
    font-size: 20px;
  }

  .section-title::before {
    font-size: 24px;
  }

  .info-box {
    padding: 20px 16px;
  }

  .info-box h4 {
    font-size: 18px;
  }

  .info-box p {
    font-size: 13px;
  }

  .cta-final h3 {
    font-size: 20px;
  }

  .cta-final p {
    font-size: 14px;
  }

  .cta-final .cta {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .pricing-card ul {
    font-size: 13px;
  }

  .revue-features {
    gap: 8px;
  }

  .feature-tag {
    font-size: 11px;
  }

  .revue-footer .cta {
    width: 100%;
  }
}

/* ==========================================
   ANIMATIONS ET EFFETS
   ========================================== */

/* Animation de chargement */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.revue-card {
  animation: fadeInUp 0.5s ease-out;
}

.revue-card:nth-child(1) { animation-delay: 0.1s; }
.revue-card:nth-child(2) { animation-delay: 0.2s; }
.revue-card:nth-child(3) { animation-delay: 0.3s; }
.revue-card:nth-child(4) { animation-delay: 0.4s; }

/* Effet de pulse sur les badges */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.badge {
  animation: pulse 2s infinite;
}

/* Transition douce sur les CTA */
.pricing-card .cta,
.revue-footer .cta {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card .cta:hover,
.revue-footer .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

/* Effet sur les feature tags */
.feature-tag {
  transition: all 0.2s ease;
}

.feature-tag:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

/* ==========================================
   ÉTATS DÉSACTIVÉS
   ========================================== */
.cta[style*="cursor: not-allowed"] {
  opacity: 0.6;
  pointer-events: none;
}

.cta[style*="cursor: not-allowed"]:hover {
  transform: none;
  box-shadow: none;
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .hero-banner,
  .pricing-grid,
  .info-box,
  .revue-footer .cta {
    display: none;
  }

  .revue-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
  }

  .revue-card::before {
    display: none;
  }
}
/* ==========================================
   GALERIE D'APERÇU SOUS LA COUVERTURE
   ========================================== */

.revue-preview-gallery {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.preview-item {
  width: 100px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--sand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.preview-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.3);
  border-color: var(--accent);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 11px;
  padding: 4px;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-item:hover .preview-label {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .revue-preview-gallery {
    gap: 8px;
  }
  
  .preview-item {
    width: 80px;
    height: 112px;
  }
}

@media (max-width: 600px) {
  .preview-item {
    width: 70px;
    height: 98px;
  }
  
  .preview-label {
    font-size: 10px;
  }
}

/* ==========================================
   FIN DU FICHIER
   ========================================== */

