/* Actualités page: hero, news cards and final CTA. */

:root {
  --blue: #0089D1;
  --blue-dark: #006BA3;
  --blue-deeper: #004F7A;
  --blue-light: rgba(0, 137, 209, 0.08);
  --blue-mid: rgba(0, 137, 209, 0.12);
  --blue-glow: rgba(0, 137, 209, 0.15);
  --navy: #091B2A;
  --navy-light: #0F2940;
  --navy-mid: #153754;
  --slate: #1C3549;
  --silver: #E8ECF0;
  --silver-dark: #C8CED6;
  --warm-white: #F8F9FB;
  --gray-50: #F4F5F7;
  --gray-100: #ECEEF1;
  --gray-200: #DDE1E6;
  --gray-300: #C1C7CF;
  --gray-400: #858D98;
  --gray-600: #4A5264;
  --gray-800: #1D2433;
  --accent: #E8963A;
  --accent-light: rgba(232, 150, 58, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --brand-accent: var(--blue);
  --btn-cta-color: #fff;
  --btn-cta-shadow: 0 4px 24px rgba(0, 137, 209, .35);
  --breadcrumb-bg: var(--warm-white);
  --breadcrumb-link-hover: var(--blue-dark);
  --navbar-bg: transparent;
  --navbar-blur: none;
  --navbar-shadow: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 5rem;
  background: var(--navy);
  overflow: hidden;
}

/* ─── Image de fond + fondu bleu/navy — hero page Actualités ─── */

.hero-actualites,
.page-hero-actualites {
  position: relative;
  overflow: hidden;
}

.hero-actualites .hero-image,
.page-hero-actualites .page-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-actualites .hero-overlay,
.page-hero-actualites .page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 27, 42, .92) 0%, rgba(9, 27, 42, .85) 30%, rgba(9, 27, 42, .5) 60%, rgba(9, 27, 42, .1) 100%);
}

.hero-actualites .hero-grid,
.page-hero-actualites .page-hero-grid {
  z-index: 3;
}

.hero-actualites .hero-content,
.page-hero-actualites .page-hero-content {
  position: relative;
  z-index: 4;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 137, 209, .06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232, 150, 58, .03) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 137, 209, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 137, 209, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero .section-label {
  color: var(--blue);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeSlideUp .8s ease .2s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 2.5rem;
  max-width: 640px;
  animation: fadeSlideUp .8s ease .4s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── ACTUALITES ─── */

.actualites {
  padding: 6rem 0;
  background: var(--gray-50);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: .75rem;
  line-height: 1.2;
}

.section-header h2 em {
  font-style: italic;
  color: var(--blue-dark);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 3rem;
}

.view-all {
  font-size: .82rem;
  color: var(--blue-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: gap .3s;
}

.view-all:hover {
  gap: .7rem;
}

.view-all svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue-dark);
  fill: none;
  stroke-width: 2;
}

.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.actu-card {
  background: var(--warm-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.actu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}

.actu-img {
  height: 180px;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.actu-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 27, 42, .6) 100%);
}

.actu-img-placeholder {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
  z-index: 1;
}

.actu-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .25rem .75rem;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.actu-body {
  padding: 1.5rem;
}

.actu-date {
  font-size: .72rem;
  color: var(--gray-400);
  margin-bottom: .5rem;
}

.actu-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.actu-body p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: .65rem;
}

/* ─── CTA FINAL ─── */

.cta-final {
  padding: 5rem 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 137, 209, .06) 0%, transparent 60%);
}

.cta-final h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.cta-final h2 em {
  font-style: italic;
  color: var(--accent);
}

.cta-final-sub {
  font-size: .95rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .actu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cta-final-actions {
    flex-direction: column;
    align-items: center;
  }
}
