/* ============================================
   DGPC RDC - Direction G�n�rale de la Protection Civile
   ============================================ */

:root {
  --bleu-fonce: #0d2b5e;
  --bleu-moyen: #1a4a8a;
  --bleu-clair: #2d6cb5;
  --orange: #e8912d;
  --orange-fonce: #c9741a;
  --or: #c9a227;
  --blanc: #ffffff;
  --gris-clair: #f4f6f9;
  --gris-moyen: #e2e8f0;
  --gris-texte: #4a5568;
  --noir: #1a202c;
  --ombre: 0 4px 20px rgba(13, 43, 94, 0.12);
  --ombre-hover: 0 8px 30px rgba(13, 43, 94, 0.2);
  --transition: all 0.3s ease;
  --radius: 8px;
  --header-height: 90px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--noir);
  line-height: 1.6;
  background: var(--blanc);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--bleu-fonce);
  color: var(--blanc);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
}

.top-bar .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar .ornament {
  mix-blend-mode: screen;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
}

.top-bar a:hover {
  color: var(--orange);
}

.top-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.top-social a:hover {
  background: var(--orange);
  color: var(--blanc);
}

/* ---- HEADER ---- */
.site-header {
  background: var(--blanc);
  box-shadow: var(--ombre);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  max-width: min(380px, 48vw);
  line-height: 0;
}

.logo-link img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bleu-fonce);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--orange);
  background: rgba(232, 145, 45, 0.08);
}

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--blanc);
  box-shadow: var(--ombre-hover);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.main-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--gris-texte);
  font-weight: 500;
  text-transform: none;
}

.dropdown a:hover {
  background: var(--gris-clair);
  color: var(--orange);
  padding-left: 24px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--blanc) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--orange-fonce);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 145, 45, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blanc);
  color: var(--blanc) !important;
}

.btn-outline:hover {
  background: var(--blanc);
  color: var(--bleu-fonce) !important;
}

.btn-secondary {
  background: var(--bleu-fonce);
  color: var(--blanc) !important;
}

.btn-secondary:hover {
  background: var(--bleu-moyen);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--bleu-fonce);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,43,94,0.88) 0%, rgba(13,43,94,0.6) 50%, rgba(232,145,45,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  padding: 80px 24px;
  margin: 0 auto 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  color: var(--blanc);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--blanc);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ---- AUTHORITIES ---- */
.authorities {
  background: var(--blanc);
}

.authorities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.authorities-grid--compact {
  margin-bottom: 8px;
}

.authority-card {
  background: var(--blanc);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ombre);
  border: 1px solid rgba(13, 43, 94, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.authority-photo {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--bleu-fonce);
}

.authority-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.authority-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 43, 94, 0) 45%,
    rgba(13, 43, 94, 0.45) 72%,
    rgba(232, 145, 45, 0.55) 100%
  );
  pointer-events: none;
}

.authority-caption {
  padding: 18px 20px 22px;
  text-align: center;
}

.authority-caption h3 {
  margin: 0 0 6px;
  color: var(--bleu-fonce);
  font-size: 1.05rem;
  line-height: 1.3;
}

.authority-caption p {
  margin: 0;
  color: var(--orange-fonce);
  font-weight: 700;
  font-size: 0.88rem;
}

.action-card-img,
.news-card-img,
.about-img {
  position: relative;
}

.action-card-img::after,
.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 43, 94, 0.18) 0%, rgba(232, 145, 45, 0.22) 100%);
  pointer-events: none;
}

.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(13, 43, 94, 0.12) 0%, rgba(232, 145, 45, 0.18) 100%);
  pointer-events: none;
}

/* ---- SECTIONS ---- */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bleu-fonce);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--gris-texte);
  font-size: 1.05rem;
}

.bg-gris {
  background: var(--gris-clair);
}

.bg-bleu {
  background-color: var(--bleu-fonce);
  background-image:
    radial-gradient(circle at 92% 18%, rgba(232, 145, 45, 0.14) 0%, transparent 22%),
    radial-gradient(circle at 8% 82%, rgba(232, 145, 45, 0.1) 0%, transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(232, 145, 45, 0.07) 0%, transparent 14%),
    radial-gradient(circle at 18% 28%, rgba(232, 145, 45, 0.06) 0%, transparent 12%);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}

.bg-bleu::before,
.bg-bleu::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.bg-bleu::before {
  width: 140px;
  height: 140px;
  top: -40px;
  right: 6%;
  border: 1px solid rgba(232, 145, 45, 0.2);
  animation: zone-deco-drift 14s ease-in-out infinite;
}

.bg-bleu::after {
  width: 90px;
  height: 90px;
  bottom: 12%;
  left: 5%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.12) 0%, transparent 70%);
  animation: zone-deco-pulse 9s ease-in-out infinite;
}

.bg-bleu > .container {
  position: relative;
  z-index: 2;
}

/* Ornements zones bleues */
.has-ornaments {
  position: relative;
  overflow: hidden;
}

.zone-ornaments {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero .zone-ornaments {
  z-index: 3;
}

.ornament {
  position: absolute;
  line-height: 1;
  color: var(--orange);
  opacity: var(--orn-opacity, 0.22);
  mix-blend-mode: soft-light;
  user-select: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 6px rgba(232, 145, 45, 0.25));
}

.ornament svg {
  width: var(--orn-size, 0.85rem);
  height: var(--orn-size, 0.85rem);
  display: block;
}

.ornament.ornament-float {
  animation: ornament-float 9s ease-in-out infinite;
}

.ornament.ornament-drift {
  animation: ornament-drift 11s ease-in-out infinite;
}

.ornament.ornament-pulse {
  animation: ornament-pulse 8s ease-in-out infinite;
}

.page-banner .ornament,
.bg-bleu .ornament,
.hero .ornament {
  mix-blend-mode: screen;
}

.site-footer .ornament {
  mix-blend-mode: soft-light;
  opacity: calc(var(--orn-opacity, 0.22) * 0.85);
}

@keyframes ornament-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(4px, -10px) rotate(3deg); }
  66% { transform: translate(-3px, -5px) rotate(-2deg); }
}

@keyframes ornament-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: var(--orn-opacity, 0.22); }
  50% { transform: translate(12px, -8px) scale(1.08); opacity: calc(var(--orn-opacity, 0.22) * 1.6); }
}

@keyframes ornament-pulse {
  0%, 100% { transform: scale(1); opacity: var(--orn-opacity, 0.22); }
  50% { transform: scale(1.15); opacity: calc(var(--orn-opacity, 0.22) * 1.8); }
}

@media (prefers-reduced-motion: reduce) {
  .ornament,
  .bg-bleu::before,
  .bg-bleu::after,
  .page-banner::before {
    animation: none !important;
  }
}

.bg-bleu .section-header h2 {
  color: var(--blanc);
}

.bg-bleu .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ---- ACTION CARDS ---- */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.action-card {
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: var(--transition);
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-hover);
}

.action-card-img {
  height: 220px;
  overflow: hidden;
}

.action-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.action-card:hover .action-card-img img {
  transform: scale(1.08);
}

.action-card-body {
  padding: 28px;
}

.action-card-body h3 {
  font-size: 1.3rem;
  color: var(--bleu-fonce);
  margin-bottom: 12px;
  font-weight: 700;
}

.action-card-body p {
  color: var(--gris-texte);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.action-card-body a {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-card-body a:hover {
  gap: 10px;
}

/* ---- STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.bg-gris .stat-number {
  color: var(--bleu-fonce);
}

.bg-gris .stat-label {
  color: var(--gris-texte);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ombre-hover);
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--bleu-fonce);
  margin-bottom: 20px;
  font-weight: 800;
}

.about-content p {
  color: var(--gris-texte);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-list {
  margin: 24px 0;
  padding: 0;
}

.about-list li {
  padding: 12px 0 12px 2rem;
  position: relative;
  color: var(--gris-texte);
  line-height: 1.65;
  border-bottom: 1px solid var(--gris-moyen);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(232, 145, 45, 0.15);
}

/* ---- NEWS ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: var(--transition);
}

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

.news-card-img {
  height: 200px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card-body h3 {
  font-size: 1.05rem;
  color: var(--bleu-fonce);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--gris-texte);
  margin-bottom: 16px;
}

.read-more {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ---- ORGANISATION ---- */
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.org-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--ombre);
  border-left: 4px solid var(--orange);
}

.org-card h3 {
  color: var(--bleu-fonce);
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.org-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.org-card ul li {
  padding: 11px 0 11px 1.75rem;
  position: relative;
  color: var(--gris-texte);
  font-size: 0.95rem;
  line-height: 1.65;
  border-bottom: 1px solid var(--gris-moyen);
}

.org-card ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.org-card ul li:first-child {
  padding-top: 0;
}

.org-card ul li:only-child {
  padding-top: 0;
}

.org-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--blanc);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bleu-fonce);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--orange);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gris-texte);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 145, 45, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--bleu-fonce);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--gris-texte);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--blanc);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--ombre);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bleu-fonce);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gris-moyen);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gris-clair);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--blanc);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- PAGE BANNER ---- */
.page-banner {
  background-color: var(--bleu-fonce);
  background-image:
    radial-gradient(circle at 88% 30%, rgba(232, 145, 45, 0.12) 0%, transparent 25%),
    radial-gradient(circle at 12% 70%, rgba(232, 145, 45, 0.08) 0%, transparent 20%),
    linear-gradient(135deg, var(--bleu-fonce), var(--bleu-moyen));
  color: var(--blanc);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  top: 20%;
  right: 8%;
  border-radius: 50%;
  border: 1px solid rgba(232, 145, 45, 0.18);
  pointer-events: none;
  animation: zone-deco-drift 12s ease-in-out infinite;
}

.page-banner > .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  color: var(--orange);
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--bleu-fonce);
  background-image:
    radial-gradient(circle at 95% 20%, rgba(232, 145, 45, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 5% 80%, rgba(232, 145, 45, 0.06) 0%, transparent 16%);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  bottom: 25%;
  right: 6%;
  border-radius: 50%;
  border: 1px solid rgba(232, 145, 45, 0.12);
  pointer-events: none;
}

.site-footer > *:not(.zone-ornaments) {
  position: relative;
  z-index: 2;
}

@keyframes zone-deco-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(-6px, 8px); opacity: 1; }
}

@keyframes zone-deco-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 0.9; }
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-col ul a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .actions-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blanc);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > li > a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gris-moyen);
  }

  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .main-nav li.dropdown-open .dropdown {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .actions-grid,
  .news-grid,
  .authorities-grid {
    grid-template-columns: 1fr;
  }

  .authority-photo {
    height: 280px;
  }
  .about-grid,
  .org-grid,
  .contact-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-links {
    justify-content: center;
  }
}
