/* =========================================
   BEAP – Bureau d'Enquête, Accidents et de Prévention
   Stylesheet
   ========================================= */

/* ----- Demo banner ----- */
.demo-banner {
  background: #fbbf24;
  color: #1c1917;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  position: sticky;
  top: 0;
  z-index: 1100;
}
.demo-banner i { margin-right: .35rem; }
.demo-banner a { color: inherit; text-decoration: underline; }

/* ----- Custom Properties ----- */
:root {
  --navy:        #1d3557;
  --navy-dark:   #162844;
  --accent:      #2563eb;
  --accent-hover:#1d4fd8;
  --orange:      #c85a00;
  --orange-hover:#a84b00;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fa;
  --bg-stats:    #1d3557;
  --bg-footer:   #1a2b3c;
  --text:        #1a1a1a;
  --text-light:  #555e6c;
  --border:      #dde3ea;
  --placeholder: #c8d0d8;
  --radius:      4px;
  --radius-lg:   8px;
  --shadow:      0 2px 12px rgba(0,0,0,.08);
  --shadow-hover:0 6px 24px rgba(0,0,0,.14);
  --transition:  0.2s ease;
  --container:   1200px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ----- Utility ----- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.section { padding-block: 4rem; }

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  text-transform: uppercase;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  margin-bottom: 2rem;
}

.section-footer { margin-top: 1.75rem; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover { background: var(--navy-dark); }

.btn--white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.btn--white:hover { background: #f0f4ff; }

.btn--outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--download {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: .8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn--download:hover { background: var(--accent); color: #fff; }


/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 40px;
}

.top-bar__lang {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.top-bar__lang a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.top-bar__lang a:hover,
.top-bar__lang a.active { color: #fff; font-weight: 600; }
.top-bar__lang .separator { color: rgba(255,255,255,.4); }

.top-bar__center {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar__email {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.top-bar__email:hover { color: #fff; }

.top-bar__social {
  display: flex;
  gap: .75rem;
}
.top-bar__social a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  font-size: .9rem;
}
.top-bar__social a:hover { color: #fff; }

.top-bar__search {
  display: flex;
  align-items: center;
  gap: 0;
}
.top-bar__search input {
  padding: .3rem .7rem;
  border: 1px solid rgba(255,255,255,.25);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .8rem;
  width: 160px;
  outline: none;
  transition: border-color var(--transition);
}
.top-bar__search input::placeholder { color: rgba(255,255,255,.5); }
.top-bar__search input:focus { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.18); }
.top-bar__search button {
  padding: .3rem .65rem;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}
.top-bar__search button:hover { background: rgba(255,255,255,.28); color: #fff; }


/* =========================================
   SITE HEADER
   ========================================= */
.site-header {
  background: var(--bg);
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-header__inner { display: flex; align-items: center; }

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}

.logo-box {
  width: 70px;
  height: 70px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.logo-box--small {
  width: 44px;
  height: 44px;
  font-size: .7rem;
}

.site-header__text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.org-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: .02em;
}

.org-tagline {
  font-size: .8rem;
  color: var(--text-light);
  letter-spacing: .04em;
}


/* =========================================
   MAIN NAVIGATION
   ========================================= */
.main-nav {
  background: var(--navy);
  position: sticky;
  top: var(--banner-h, 34px);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.main-nav__inner {
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  color: #fff;
  font-size: 1.3rem;
  padding: 1rem;
}

.main-nav__links {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 1rem .5rem;
  color: rgba(255,255,255,.88);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.nav-link.active { border-bottom: 3px solid rgba(255,255,255,.7); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: .65rem 1rem;
  font-size: .85rem;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--border);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--bg-alt); color: var(--accent); }

/* CTA button in nav */
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: .5rem .6rem;
}

.btn-signaler {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  color: rgba(255,255,255,.9);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-signaler i { color: #f59e0b; }
.btn-signaler:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}


/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.77,0,.175,1);
}

.hero__slide {
  min-width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a72 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  gap: 2rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
  gap: 1.1rem;
}

.hero__label {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .05em;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hero__text {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 42ch;
  line-height: 1.65;
}

.hero__image {
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.hero__image::before,
.hero__image::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.2);
}
.hero__image::before {
  inset: 20px;
}
.hero__image::after {
  inset: 30px;
  background: rgba(255,255,255,.04);
}

/* Diagonal lines placeholder */
.hero__image {
  overflow: hidden;
}
.hero__image::before {
  inset: 0;
  border: none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.06) 0px,
    rgba(255,255,255,.06) 1px,
    transparent 1px,
    transparent 20px
  );
}

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  z-index: 10;
}
.hero__arrow:hover { background: rgba(255,255,255,.3); }
.hero__arrow--prev { left: 1rem; }
.hero__arrow--next { right: 1rem; }

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background var(--transition), transform var(--transition);
}
.hero__dot.active {
  background: #fff;
  transform: scale(1.25);
}


/* =========================================
   ACCÈS RAPIDE
   ========================================= */
.quick-access { background: var(--bg); }

.quick-access__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.qa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text);
  gap: .65rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.qa-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.qa-card__icon {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.qa-card:hover .qa-card__icon { color: var(--accent); }

.qa-card__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
}

.qa-card__desc {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.4;
}


/* =========================================
   NEWS + PUBLICATIONS
   ========================================= */
.news-pubs { background: var(--bg-alt); }

.news-pubs__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* News items */
.news-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.news-item:last-of-type { border-bottom: none; }

.news-item__image {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  background: var(--placeholder);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.news-item__image::before,
.news-item__image::after {
  content: '';
  position: absolute;
  background: rgba(0,0,0,.08);
}
.news-item__image::before {
  top: 0; left: 0;
  width: 100%; height: 1px;
  transform: rotate(40deg) scale(3) translateX(10px);
}

.news-item__body { flex: 1; }

.news-item__title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.35;
}
.news-item__title a:hover { color: var(--accent); }

.news-item__text {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: .6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
}
.news-item__meta time { color: var(--text-light); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.read-more:hover { gap: .5rem; }

/* Publication items */
.pub-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
}

.pub-item__icon {
  font-size: 1.6rem;
  color: var(--navy);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.pub-item__body { flex: 1; min-width: 0; }

.pub-item__title {
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .25rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pub-item__title a:hover { color: var(--accent); }

.pub-item__meta {
  font-size: .75rem;
  color: var(--text-light);
}


/* =========================================
   STATISTIQUES
   ========================================= */
.stats {
  background: var(--bg-stats);
  padding-block: 3rem;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  gap: .45rem;
}

.stat-item__icon {
  font-size: 1.8rem;
  color: rgba(255,255,255,.6);
}

.stat-item__number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.stat-item__label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.35;
}


/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter { background: var(--bg-alt); padding-block: 3rem; }

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  margin-bottom: .3rem;
}

.newsletter__subtitle {
  font-size: .88rem;
  color: var(--text-light);
}

.newsletter__form {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.newsletter__form input {
  flex: 1;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: .875rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter__form input:focus { border-color: var(--accent); }

.newsletter__form .btn--primary {
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
}


/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,.75);
  padding-top: 3.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.3fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-logo .logo-box {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}

.footer-org-name {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
  letter-spacing: .03em;
}

.footer-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: .25rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }

/* Footer columns */
.footer-col__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: .75rem;
}

.accordion-icon {
  font-size: .7rem;
  transition: transform var(--transition);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-col__list li a {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col__list li a:hover { color: #fff; }

.footer-contact li {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  line-height: 1.5;
}
.footer-contact li i {
  color: rgba(255,255,255,.45);
  width: 1rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.link-accent { color: var(--accent) !important; }
.link-accent:hover { text-decoration: underline; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}


/* =========================================
   RESPONSIVE – TABLET (768–1023px)
   ========================================= */
@media (max-width: 1023px) {

  .top-bar__center { display: none; }
  .top-bar__search input { width: 120px; }

  .org-name { font-size: .9rem; }

  .nav-link { padding: .9rem .6rem; font-size: .72rem; }

  .quick-access__grid { grid-template-columns: repeat(3, 1fr); }

  .news-pubs__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}


/* =========================================
   RESPONSIVE – MOBILE (< 768px)
   ========================================= */
@media (max-width: 767px) {

  /* Top bar */
  .top-bar__center { display: none; }
  .top-bar__search input { width: 100px; font-size: .75rem; }

  /* Header */
  .logo-box { width: 50px; height: 50px; }
  .org-name { font-size: .85rem; }

  /* Nav */
  .hamburger { display: flex; }

  .main-nav__inner { flex-direction: column; align-items: stretch; }

  .main-nav__links {
    display: none;
    flex-direction: column;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav__links.open { display: flex; }

  .main-nav__links > li { border-bottom: 1px solid rgba(255,255,255,.07); }

  .nav-link {
    padding: .9rem 1.25rem;
    font-size: .82rem;
    border-bottom: none !important;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    display: none;
    background: rgba(0,0,0,.2);
    border-radius: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.08); padding-left: 2rem; }
  .dropdown li a:hover { background: rgba(255,255,255,.08); color: #fff; }

  .nav-cta {
    margin-left: 0;
    padding: .75rem 1.25rem;
    justify-content: flex-start;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 380px;
  }
  .hero__image { display: none; }
  .hero__content { padding-block: 3rem 4rem; }
  .hero__title { font-size: 1.65rem; }
  .hero__arrow { width: 36px; height: 36px; font-size: .85rem; }

  /* Quick access */
  .quick-access__grid { grid-template-columns: repeat(2, 1fr); }

  /* News image */
  .news-item__image { width: 80px; height: 65px; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item__number { font-size: 2rem; }

  /* Newsletter */
  .newsletter__inner { flex-direction: column; align-items: stretch; }
  .newsletter__form { max-width: 100%; }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }
  .footer-brand {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 0;
    grid-column: 1;
  }

  /* Accordion: hide content by default on mobile */
  .footer-accordion .footer-col__list {
    display: none;
    padding-bottom: 1rem;
  }
  .footer-accordion.open .footer-col__list { display: flex; }
  .footer-accordion.open .accordion-icon { transform: rotate(45deg); }

  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-block: .75rem;
  }
  .footer-col__heading {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-accordion.open .footer-col__heading {
    margin-bottom: .75rem;
  }
}

/* =========================================
   INNER PAGES – Shared
   ========================================= */

/* Page hero banner */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a72 100%);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}

.page-hero__breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb i { font-size: .65rem; }

.page-hero__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.page-hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-top: .5rem;
  max-width: 60ch;
}

.page-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .85rem;
  flex-wrap: wrap;
}
.page-hero__meta span {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* Page body */
.page-body { padding-block: 3rem; }

/* Two-column detail layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Section heading inside inner pages */
.inner-section { margin-bottom: 2.75rem; }

.inner-section__title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: .6rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.inner-section__title i { color: var(--accent); font-size: .85rem; }

/* Detail table */
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid var(--border); }
.detail-table tr:last-child { border-bottom: none; }
.detail-table td {
  padding: .7rem .5rem;
  font-size: .875rem;
  vertical-align: top;
}
.detail-table td:first-child {
  color: var(--text-light);
  font-weight: 600;
  width: 42%;
  padding-right: 1rem;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.badge--open   { background: #dcfce7; color: #16a34a; }
.badge--closed { background: #fee2e2; color: #dc2626; }
.badge--progress { background: #fef9c3; color: #ca8a04; }
.badge--pending { background: #e0f2fe; color: #0369a1; }

/* Document list */
.doc-list { display: flex; flex-direction: column; gap: .6rem; }

.doc-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow var(--transition);
}
.doc-item:hover { box-shadow: var(--shadow); }
.doc-item__icon { font-size: 1.5rem; color: var(--navy); flex-shrink: 0; }
.doc-item__body { flex: 1; min-width: 0; }
.doc-item__title { font-size: .875rem; font-weight: 600; }
.doc-item__meta { font-size: .75rem; color: var(--text-light); margin-top: .15rem; }

/* Sidebar widgets */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.widget {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.widget--accent {
  background: var(--bg-alt);
  border-color: var(--border);
}

.widget__title {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: .9rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--accent);
}

.widget__link-list { display: flex; flex-direction: column; gap: .4rem; }
.widget__link-list a {
  font-size: .83rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .45rem .5rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  line-height: 1.35;
}
.widget__link-list a i { color: var(--accent); font-size: .7rem; margin-top: .25rem; flex-shrink: 0; }
.widget__link-list a:hover { background: var(--bg-alt); color: var(--navy); }

.widget__text {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.filter-group { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 140px; }
.filter-group label { font-size: .75rem; font-weight: 600; color: var(--text-light); letter-spacing: .04em; }

.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="search"] {
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .85rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}
.filter-bar select:focus,
.filter-bar input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* Card grid (news, prevention, etc.) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.card__image {
  height: 170px;
  background: var(--placeholder);
  flex-shrink: 0;
  position: relative;
}
.card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.04) 0, rgba(0,0,0,.04) 1px, transparent 1px, transparent 18px);
}

.card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.card__category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
}
.card__title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.card__title a:hover { color: var(--accent); }
.card__date { font-size: .75rem; color: var(--text-light); }
.card__text { font-size: .83rem; color: var(--text-light); line-height: 1.5; flex: 1; }
.card__footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* List items for pubs/enquêtes */
.content-list { display: flex; flex-direction: column; gap: .75rem; }

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow var(--transition);
}
.list-item:hover { box-shadow: var(--shadow); }

.list-item__icon {
  font-size: 1.5rem;
  color: var(--navy);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  margin-top: .1rem;
}
.list-item__body { flex: 1; min-width: 0; }
.list-item__title { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.list-item__title a:hover { color: var(--accent); }
.list-item__meta { font-size: .78rem; color: var(--text-light); }
.list-item__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* Recommendation rows */
.reco-list { display: flex; flex-direction: column; gap: .6rem; }

.reco-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow var(--transition);
}
.reco-item:hover { box-shadow: var(--shadow); }
.reco-item__num { font-size: .75rem; font-weight: 700; color: var(--text-light); }
.reco-item__body {}
.reco-item__title { font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.reco-item__title a:hover { color: var(--accent); }
.reco-item__sector { font-size: .75rem; color: var(--text-light); }
.reco-item__link { color: var(--accent); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.reco-item__link:hover { text-decoration: underline; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .3rem;
  margin-top: 2.5rem;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: .6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
}
.page-btn:hover { background: var(--bg-alt); border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn--ellipsis { border: none; background: none; color: var(--text-light); cursor: default; }

/* About page */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 3rem;
}
.about-image {
  height: 280px;
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.04) 0, rgba(0,0,0,.04) 1px, transparent 1px, transparent 18px);
}

.about-text h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; }
.about-text p { font-size: .9rem; color: var(--text-light); line-height: 1.7; margin-bottom: .85rem; }

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-block: 3rem;
}
.mission-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--accent);
}
.mission-card__icon { font-size: 2rem; color: var(--accent); margin-bottom: .85rem; }
.mission-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.mission-card__text { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 3rem;
}
.team-card { text-align: center; }
.team-card__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--placeholder);
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
}
.team-card__name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.team-card__role { font-size: .78rem; color: var(--text-light); margin-top: .2rem; }

/* Section dividers */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 0;
}

/* Article/Detail body text */
.article-body {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 72ch;
}
.article-body p { margin-bottom: 1rem; }
.article-body h3 { font-size: 1.05rem; color: var(--navy); margin: 1.5rem 0 .6rem; }
.article-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.article-body ul li { margin-bottom: .4rem; }

/* Gallery */
.gallery-filters {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}
.gallery-tab {
  padding: .65rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}
.gallery-tab:hover,
.gallery-tab.active { color: var(--navy); border-color: var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--placeholder);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.04) 0, rgba(0,0,0,.04) 1px, transparent 1px, transparent 18px);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover::after { background: rgba(0,0,0,.25); }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-item__icon {
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-info-item__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-light);
  margin-bottom: .25rem;
}
.contact-info-item__value {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.5;
}
.contact-info-item__value a { color: var(--accent); }
.contact-info-item__value a:hover { text-decoration: underline; }

.map-placeholder {
  height: 200px;
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .85rem;
  gap: .5rem;
  margin-top: 1.5rem;
}

/* Contact form */
.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form-card h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .875rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: .5rem; }

/* Prevention cards */
.prev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.prev-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.prev-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.prev-card__icon { font-size: 2rem; color: var(--navy); margin-bottom: .75rem; }
.prev-card__category { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: .05em; margin-bottom: .4rem; }
.prev-card__title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.prev-card__text { font-size: .83rem; color: var(--text-light); line-height: 1.55; }
.prev-card__link { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-size: .8rem; font-weight: 600; margin-top: .75rem; }
.prev-card__link:hover { gap: .5rem; }

/* Stat bar inside inner pages */
.stat-row {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-row__item { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.stat-row__number { font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.stat-row__label { font-size: .75rem; color: var(--text-light); text-align: center; }

/* Highlight box */
.highlight-box {
  padding: 1.25rem 1.5rem;
  background: #eff6ff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  color: #1e40af;
  line-height: 1.6;
  margin-block: 1rem;
}

/* Tag list */
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag {
  padding: .25rem .7rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .75rem;
  color: var(--text-light);
}

/* Suivi progress */
.suivi-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}
.suivi-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.suivi-item:last-child::before { display: none; }
.suivi-item:last-child { padding-bottom: 0; }

.suivi-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}
.suivi-dot--done { background: #dcfce7; border-color: #16a34a; color: #16a34a; }
.suivi-dot--active { background: var(--accent); border-color: var(--accent); color: #fff; }

.suivi-body { padding-top: .3rem; }
.suivi-body__date { font-size: .75rem; color: var(--text-light); margin-bottom: .25rem; }
.suivi-body__text { font-size: .875rem; color: var(--text); }

/* Contact page extras */
.contact-form-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
}
.form-group--full { grid-column: 1 / -1; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .83rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; }
.req { color: #dc2626; }
.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn--orange:hover { background: #a34700; border-color: #a34700; }
.highlight-box--orange {
  background: #fff7ed;
  border-left-color: var(--orange);
  color: #92400e;
}
.highlight-box i { margin-right: .4rem; }

/* Inner page responsive */
@media (max-width: 1023px) {
  .detail-layout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-image { height: 220px; }
  .mission-cards { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .prev-grid { grid-template-columns: 1fr 1fr; }
  .reco-item { grid-template-columns: 60px 1fr auto; }
}

@media (max-width: 767px) {
  .page-hero__title { font-size: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .reco-item { grid-template-columns: 1fr auto; }
  .reco-item__num { display: none; }
  .prev-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 1.25rem; }
}

/* =========================================
   RESPONSIVE – COMPREHENSIVE ADDITIONS
   ========================================= */

/* ── Tablet (768–1023) ── */
@media (max-width: 1023px) {
  .section { padding-block: 3rem; }

  /* Hero */
  .hero__content { padding-block: 2.5rem 3rem; }
  .hero__title { font-size: 1.85rem; }

  /* Pub items: allow download btn to wrap */
  .pub-item { flex-wrap: wrap; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
  /* Spacing */
  .section { padding-block: 2.25rem; }
  .container { padding-inline: 1rem; }
  .page-body { padding-block: 2rem; }

  /* Top bar: hide entirely – too cramped after removing email/social */
  .top-bar { display: none; }

  /* Header */
  .site-header { padding-block: .85rem; }
  .org-tagline { display: none; }

  /* Hero */
  .hero__content { padding-block: 2.25rem 3rem; gap: .85rem; }
  .hero__title { font-size: 1.5rem; }
  .hero__text { font-size: .9rem; }
  .hero__content .btn { width: 100%; justify-content: center; }

  /* Quick access */
  .quick-access__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-access__card { padding: 1rem .85rem; }
  .quick-access__icon { font-size: 1.75rem; margin-bottom: .5rem; }
  .quick-access__title { font-size: .85rem; }

  /* News items: stack image above text */
  .news-item { flex-direction: column; gap: .75rem; }
  .news-item__image { width: 100%; height: 160px; }

  /* Pub items: download button goes full-width */
  .pub-item { flex-wrap: wrap; gap: .6rem; }
  .pub-item .btn--download { flex-basis: 100%; justify-content: center; }

  /* Filter bar: stack all controls */
  .filter-bar { flex-direction: column; }
  .filter-group { min-width: 100%; }
  .filter-bar > .btn { width: 100%; justify-content: center; margin-top: .25rem; }

  /* List items: wrap actions below body */
  .list-item { flex-wrap: wrap; }
  .list-item__actions { flex-basis: 100%; flex-wrap: wrap; }

  /* Doc items */
  .doc-item { flex-wrap: wrap; }
  .doc-item .btn--download { flex-basis: 100%; justify-content: center; }

  /* Inner page hero */
  .page-hero { padding: 1.75rem 0 1.5rem; }
  .page-hero__title { font-size: 1.35rem; }
  .page-hero__subtitle { font-size: .88rem; }
  .page-hero__meta { flex-wrap: wrap; gap: .4rem; }

  /* Stat row in inner pages */
  .stat-row { justify-content: center; }
  .stat-row__item { flex: 1 1 calc(50% - 1rem); min-width: 120px; }

  /* Section titles */
  .section-title { font-size: 1rem; }

  /* Article body */
  .article-body h2 { font-size: 1.1rem; }
  .article-body h3 { font-size: 1rem; }

  /* Pagination */
  .pagination { gap: .3rem; }
  .page-btn { min-width: 36px; height: 36px; font-size: .8rem; }
  .page-btn--ellipsis { display: none; }

  /* Sidebar */
  .sidebar { margin-top: 1.5rem; }

  /* Gallery tabs */
  .gallery-filters { gap: .5rem; }
  .gallery-tab { font-size: .82rem; padding: .5rem .85rem; }

  /* Footer: ensure brand block has enough space */
  .footer-brand { padding-bottom: 1.5rem; }
  .footer-desc { font-size: .83rem; }
}

/* ── Small phones (< 480px) ── */
@media (max-width: 479px) {
  /* Quick access: single column on very small screens */
  .quick-access__grid { grid-template-columns: 1fr; }

  /* Cards: single column already at 767, fine */

  /* Team / gallery: single column */
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  /* Stats homepage */
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat-item__number { font-size: 1.75rem; }

  /* Hero */
  .hero__title { font-size: 1.35rem; }
  .hero__text { max-width: 100%; }

  /* Header brand */
  .logo-box { width: 44px; height: 44px; font-size: .65rem; }
  .org-name { font-size: .78rem; }

  /* Buttons: full-width hero CTA already handled */
  .btn { font-size: .82rem; }

  /* Section title */
  .section-title { letter-spacing: .03em; }
}
