/**
 * Styles pour listing des communiqués (4 variations)
 */

:root {
  --ada-blue: #3B46FF;
  --ada-green: #27ae60;
  --ada-dark: #0f172a;
  --bg-light: #f8fafc;
  --pdf-color: #ef4444;
}

/* ============================================================
   STYLE 1 : BENTO VISUEL (Avec Icônes)
   ============================================================ */
.bento-visual-card {
  background: white;
  border-radius: 30px;
  padding: 35px;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.bento-visual-card:hover {
  background: var(--ada-dark);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

.bento-visual-card .icon {
  font-size: 32px;
  color: var(--ada-green);
  margin-bottom: 20px;
  transition: 0.3s;
}

.bento-visual-card .date {
  font-size: 11px;
  font-weight: 800;
  color: var(--ada-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}

.bento-visual-card .title {
  font-size: 17px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.5;
  transition: 0.3s;
  color: var(--ada-dark);
}

.bento-visual-card:hover .title,
.bento-visual-card:hover .date {
  color: white;
}

.bento-visual-card:hover .icon {
  color: white;
}

.btn-bento-outline {
  border: 2px solid var(--ada-blue);
  color: var(--ada-blue);
  font-weight: 800;
  font-size: 11px;
  border-radius: 50px;
  padding: 8px 20px;
  transition: 0.3s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.bento-visual-card:hover .btn-bento-outline {
  background: var(--ada-blue);
  color: white;
  border-color: transparent;
}

/* ============================================================
   STYLE 2 : DIGITAL NEWSROOM (Bento Publication)
   ============================================================ */
.newsroom-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.4s;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
}

.newsroom-header {
  padding: 20px 25px;
  background: var(--ada-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsroom-body {
  padding: 30px;
}

.newsroom-card:hover {
  border-color: var(--ada-blue);
  box-shadow: 0 20px 40px rgba(59, 70, 255, 0.1);
  transform: scale(1.02);
}

.newsroom-card .newsroom-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--ada-dark);
}

.newsroom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.newsroom-meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.newsroom-link {
  color: var(--ada-blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}

.newsroom-link:hover {
  color: var(--ada-green);
}

/* ============================================================
   STYLE 3 : LISTE ÉLITE (Lignes Signature)
   ============================================================ */
.pdf-row-elite {
  background: white;
  border-radius: 20px;
  padding: 20px 40px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.03);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.pdf-row-elite:hover {
  border-left-color: var(--ada-green);
  border-left-width: 10px;
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(59, 70, 255, 0.06);
}

.row-icon {
  width: 45px;
  height: 45px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pdf-color);
  font-size: 18px;
  margin-right: 25px;
  flex-shrink: 0;
}

.row-content {
  flex-grow: 1;
}

.row-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--ada-dark);
}

.row-date {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.row-action {
  color: var(--ada-blue);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   STYLE 4 : MINI GRID (Compact Visuel)
   ============================================================ */
.doc-mini-card {
  background: white;
  border-radius: 25px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #edf2f7;
  height: 100%;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  text-decoration: none;
  color: inherit;
  display: block;
}

.doc-mini-card:hover {
  border-color: var(--ada-green);
  background: #fcfdfe;
  transform: scale(1.05);
}

.doc-mini-icon {
  color: var(--pdf-color);
  font-size: 48px;
  margin-bottom: 15px;
}

.doc-mini-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ada-dark);
}

.doc-mini-date {
  color: #64748b;
  font-size: 12px;
}

.btn-mini-down {
  width: 40px;
  height: 40px;
  background: var(--ada-blue);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  transition: 0.4s ease;
}

.doc-mini-card:hover .btn-mini-down {
  background: var(--ada-green);
  transform: rotate(360deg);
}

/* Responsive */
@media (max-width: 768px) {
  .bento-visual-card {
    padding: 25px;
  }
  
  .pdf-row-elite {
    padding: 15px 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .row-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .row-action {
    margin-top: 10px;
  }
}