/* Actualités — Phase 1 */

:root {
  --actu-green: #0a7d1f;
  --actu-green-light: #12a73a;
  --actu-bg: #f5f9f6;
  --actu-border: #cbeba5;
  --actu-text: #1a2e1f;
  --actu-muted: #5a6b5e;
}

.actu-page {
  background: var(--actu-bg);
  padding-bottom: 3rem;
}

.actu-breadcrumb {
  font-size: 0.95rem;
  color: var(--actu-muted);
  margin-bottom: 1rem;
}

.actu-breadcrumb a {
  color: var(--actu-green);
  text-decoration: none;
}

.actu-breadcrumb a:hover {
  text-decoration: underline;
}

.actu-page__header {
  margin-bottom: 1.5rem;
}

.actu-page__title {
  color: var(--actu-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.actu-page__lead {
  color: var(--actu-muted);
  max-width: 760px;
  margin-bottom: 0;
}

.actu-filters {
  background: #fff;
  border: 1px solid var(--actu-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.actu-results-count {
  color: var(--actu-muted);
  margin-bottom: 1rem;
}

.actu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.actu-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.actu-card {
  background: #fff;
  border: 1px solid var(--actu-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.actu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 125, 31, 0.12);
}

.actu-card__media-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.actu-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.actu-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.actu-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.actu-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(10, 125, 31, 0.12);
  color: var(--actu-green);
}

.actu-card__date {
  font-size: 0.82rem;
  color: var(--actu-muted);
}

.actu-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.actu-card__title a {
  color: var(--actu-text);
  text-decoration: none;
}

.actu-card__title a:hover {
  color: var(--actu-green);
}

.actu-card__resume {
  color: var(--actu-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.actu-card__footer {
  margin-top: auto;
}

.actu-card__cta {
  color: var(--actu-green);
  font-weight: 700;
  text-decoration: none;
}

.actu-card__cta:hover {
  text-decoration: underline;
}

.actu-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #fff;
  border: 1px dashed var(--actu-border);
  border-radius: 12px;
}

.actu-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.actu-pagination__link {
  color: var(--actu-green);
  text-decoration: none;
  font-weight: 600;
}

.actu-detail__article {
  background: #fff;
  border: 1px solid var(--actu-border);
  border-radius: 12px;
  overflow: hidden;
}

.actu-detail__hero {
  aspect-ratio: 21 / 9;
  max-height: 480px;
  overflow: hidden;
}

.actu-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu-detail__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 1.25rem 1.5rem 0;
  color: var(--actu-muted);
  font-size: 0.92rem;
}

.actu-detail__title {
  color: var(--actu-green);
  font-weight: 700;
  padding: 0.75rem 1.5rem 0;
  margin-bottom: 0;
}

.actu-detail__subtitle {
  padding: 0.5rem 1.5rem 0;
  color: var(--actu-muted);
  font-size: 1.1rem;
}

.actu-detail__resume {
  padding: 1rem 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--actu-text);
}

.actu-detail__content {
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
  color: var(--actu-text);
}

.actu-detail__actions {
  padding: 0 1.5rem 1.5rem;
}

.actu-similar {
  margin-top: 2.5rem;
}

.actu-similar h2 {
  color: var(--actu-green);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.actu-teaser {
  background: linear-gradient(180deg, #fff 0%, #eef8ea 100%);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--actu-border);
}

.actu-teaser__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.actu-teaser__title {
  color: var(--actu-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.actu-teaser__lead {
  color: var(--actu-muted);
  margin-bottom: 0;
}

.actu-teaser__cta-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.actu-teaser__cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--actu-green);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}

.actu-teaser__cta:hover {
  background: var(--actu-green-light);
}

@media (max-width: 768px) {
  .actu-detail__head,
  .actu-detail__title,
  .actu-detail__subtitle,
  .actu-detail__resume,
  .actu-detail__content,
  .actu-detail__actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
