:root {
  --navy: #17418a;
  --navy-dark: #102c5e;
  --red: #db3832;
  --sky: #0095c9;
  --gold: #fff24b;
  --paper: #f4f7fb;
  --ink: #1c2430;
}

body {
  font-family: "Open Sans", "Roboto", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--navy); }
.site-nav { background: #17418a; }
.site-nav .navbar { background: #17418a; }
.site-nav .navbar-brand img { width: 190px; height: auto; }
.site-nav .navbar-collapse { text-transform: uppercase; }
.site-nav .nav-link { color: #fff !important; }
.site-nav .nav-item { position: relative; margin: 0 5px; }
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active { color: #fff !important; font-weight: 700; }
.site-nav .dropdown-toggle::after {
  border: 0;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: .35rem;
}
.site-nav .dropdown-menu {
  border-radius: 0 0 8px 8px;
  border-top: 3px solid #db3832;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}
.site-nav .dropdown-item { transition: all .3s; }
.site-nav .dropdown-item:hover {
  background: #f8f9fa;
  color: #17418a !important;
  transform: translateX(5px);
}
.site-nav .dropdown-item.active { background: #17418a !important; color: #fff !important; }
@media (min-width: 1200px) {
  .site-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
@media (max-width: 991.98px) {
  .site-nav .dropdown-menu { width: 100% !important; max-width: 100% !important; position: static; }
  .site-nav .nav-item.nav-link { margin: 15px 0; }
}

.hero {
  background: linear-gradient(120deg, var(--navy) 0%, #0e6b8a 100%);
  color: #fff;
}
.hero .carousel-item { min-height: 420px; background: #0e2a58 center/cover no-repeat; }
.hero .carousel-caption { background: rgba(16, 32, 70, .62); border-radius: 12px; padding: 1.5rem; }
.etat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 800px;
  margin: 0 auto -4px;
  height: 8px;
}
.etat-bar span:nth-child(1) { background: #0095c9; }
.etat-bar span:nth-child(2) { background: #fff24b; }
.etat-bar span:nth-child(3) { background: #db3832; }

.page-hero { background: var(--navy); color: #fff; padding: 3rem 0 2.2rem; }

.contact-page { background: #f8f9fa; }
.contact-kicker {
  color: #db3832;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: .4rem;
}
.contact-lead {
  color: #1b2744;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.contact-line h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.contact-line a { color: inherit; text-decoration: none; display: block; }
.contact-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background: #db3832;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.contact-send {
  width: 100%;
  border: 0;
  border-radius: .375rem;
  background: #db3832;
  color: #fff;
  padding: .9rem 1rem;
  font-weight: 500;
}
.contact-send:hover { background: #c42f2a; color: #fff; }
.contact-page .errorlist { color: #db3832; margin: .35rem 0 0; padding-left: 1rem; font-size: .9rem; }
.card-link { text-decoration: none; color: inherit; }
.card-link .card { height: 100%; border: 0; box-shadow: 0 8px 24px rgba(23, 65, 138, .08); transition: transform .2s ease; }
.card-link:hover .card { transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-red { background: var(--red); color: #fff; border: 0; }
.btn-red:hover { background: #b92e29; color: #fff; }

.paaj-about {
  background:
    radial-gradient(circle at top left, rgba(255, 242, 75, .35), transparent 40%),
    linear-gradient(160deg, #12351f, #1f6b45);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
}
.paaj-about a { color: var(--gold); }

.footer { background: #17418a; color: #fff; }
.footer h4 { color: #fff; }
.footer .footer-item a,
.footer .footer-item-post p { line-height: 35px; color: #fff; text-decoration: none; transition: .5s; }
.footer .footer-item a:hover { letter-spacing: 1px; color: #fff; }
.footer img { max-width: 100%; height: auto; }
.footer .btn-primary {
  background: #db3832;
  border: 0;
  color: #fff;
}
.footer .btn-primary:hover { background: #c42f2a; color: #fff; }
.footer .btn-md-square {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.copyright { background: #17418a; color: #fff; }
.copyright a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: #db3832;
  color: #fff;
  text-decoration: none;
  transition: .5s;
}
.back-to-top.is-visible { display: flex; }
.back-to-top:hover { background: #c42f2a; color: #fff; }
.hp { position: absolute; left: -9999px; }

.portrait { width: min(280px, 100%); border-radius: 12px; object-fit: cover; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.media-grid img, .media-grid iframe { width: 100%; border-radius: 10px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; }
.rich-text a { text-decoration: underline; }
