:root {
  --navy: #163a4c;
  --navy-deep: #0f2a38;
  --blue: #3aa9d9;
  --blue-soft: #e7f5fb;
  --text: #173140;
  --muted: #5b7382;
  --bg: #f3f8fb;
  --card: #ffffff;
  --line: #d5e4ec;
  --danger: #b42318;
  --ok: #1b7a4a;
  --warn: #9a6700;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 58, 76, 0.08);
  --thm-font: "Barlow Condensed", "Segoe UI", sans-serif;
  --heading-font: Ubuntu, "Segoe UI", sans-serif;
  --thm-base: #3b91e1;
  --thm-primary: #ffd701;
  --thm-black: #051b35;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.topbar-one {
  background: var(--thm-base);
  color: #fff;
  font-family: var(--thm-font);
}
.topbar-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  flex-wrap: wrap;
}
.topbar-one__left, .topbar-one__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 25px;
}
.topbar-one a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.topbar-one a:hover { color: var(--thm-black); text-decoration: none; }
.topbar-one__social .fa-facebook-square { font-size: 16px; }

.main-nav-one {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  font-family: var(--thm-font);
  position: relative;
  z-index: 20;
}
.nav-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}
.main-nav-one__infos-phone,
.main-nav-one__infos-email {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #838a93;
  font-size: 18px;
  text-decoration: none;
  z-index: 2;
}
.main-nav-one__infos-phone { left: 0; transform: translateY(-50%); }
.main-nav-one__infos-email { right: 0; transform: translateY(-50%); flex-direction: row-reverse; }
.main-nav-one__infos-phone:hover,
.main-nav-one__infos-email:hover { color: var(--thm-black); text-decoration: none; }
.main-nav-one__infos-phone i,
.main-nav-one__infos-email i {
  width: 36px;
  height: 36px;
  background: var(--thm-primary);
  color: var(--thm-black);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  min-height: 92px;
}
.logo-box {
  width: 220px;
  background: #fff;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.03);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -18%);
  text-align: center;
  padding: 18px 12px 14px;
  border-bottom: 10px solid var(--thm-primary);
  z-index: 11;
}
.logo-box img { width: 143px; height: auto; display: inline-block; }
.logo-box a:hover { text-decoration: none; }
.side-menu__toggler {
  display: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--thm-black);
  margin-top: 8px;
}
.main-nav__navigation-box {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav__navigation-box > li {
  padding: 34px 0;
  position: relative;
}
.main-nav__navigation-box > li + li { margin-left: 36px; }
.main-nav__navigation-box > li:nth-child(3) { margin-right: auto; padding-right: 130px; }
.main-nav__navigation-box > li:nth-child(4) { margin-left: auto; padding-left: 130px; }
.main-nav__navigation-box > li > a {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  color: #838a93;
  display: block;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.main-nav__navigation-box > li:hover > a,
.main-nav__navigation-box > li.current > a {
  color: var(--thm-base);
  text-decoration: none;
}
.main-nav__navigation-box > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 210px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-top: 2px solid var(--thm-primary);
  box-shadow: 2px 2px 5px rgba(0,0,0,.05);
  visibility: hidden;
  opacity: 0;
  z-index: 30;
}
.main-nav__navigation-box > li:hover > ul,
.main-nav__navigation-box > li:focus-within > ul {
  visibility: visible;
  opacity: 1;
}
.main-nav__navigation-box > li > ul > li + li {
  border-top: 1px solid rgba(59, 145, 225, 0.3);
}
.main-nav__navigation-box > li > ul > li > a {
  display: block;
  color: var(--thm-black);
  font-size: 16px;
  padding: 10px 20px;
  text-decoration: none;
}
.main-nav__navigation-box > li > ul > li > a:hover {
  color: #fff;
  background: var(--thm-base);
  text-decoration: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff;
  color: var(--navy); border-radius: 999px; padding: 8px 14px; font-size: 14px;
}
.btn.primary {
  background: var(--navy); color: #fff; border-color: transparent; font-weight: 700;
}
.btn.primary:hover { text-decoration: none; filter: brightness(1.08); }
.btn:hover { text-decoration: none; }
.btn.full { width: 100%; }
.btn.danger { color: var(--danger); border-color: #f0c7c3; }

@media (max-width: 1100px) {
  .main-nav-one__infos-phone,
  .main-nav-one__infos-email { display: none; }
}
@media (max-width: 900px) {
  .logo-box {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 6px solid var(--thm-primary);
  }
  .side-menu__toggler { display: inline-flex; }
  .inner-container { min-height: 0; }
  .main-nav__navigation-box {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .nav-toggle:checked ~ .inner-container .main-nav__navigation-box { display: flex; }
  .main-nav__navigation-box > li,
  .main-nav__navigation-box > li + li,
  .main-nav__navigation-box > li:nth-child(3),
  .main-nav__navigation-box > li:nth-child(4) {
    margin: 0;
    padding: 0;
  }
  .main-nav__navigation-box > li > a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav__navigation-box > li > ul {
    position: static;
    width: 100%;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    border-top: none;
  }
}

main.wrap { padding: 48px 0 56px; }

.hero { margin: 8px 0 24px; max-width: 40rem; }
.hero.compact { margin-bottom: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--blue); font-weight: 700; margin: 0 0 8px; }
h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); margin: 0 0 8px; }
h2 { font-size: 1.15rem; color: var(--navy); margin: 0 0 12px; }
p { color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 16px;
}

.activity-list {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .activity-list { grid-template-columns: 1fr 1fr; }
}

.activity-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  color: var(--navy); font-weight: 700; font-size: 14px;
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0; }
.tags li, .badge {
  display: inline-flex; align-items: center;
  background: var(--blue-soft); color: var(--navy);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.badge.warn { background: #fff4d6; color: var(--warn); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); }
.place { margin: 0 0 8px; color: var(--navy); font-weight: 600; }
.notes-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.notes-toolbar .btn { padding: 6px 10px; font-size: 13px; }
.notes-preview { margin: 12px 0 16px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--blue-soft); }
.notes-html { color: var(--text); margin: 0 0 16px; }
.notes-html p { color: var(--text); margin: 0 0 8px; }
.notes-html ul, .notes-html ol { margin: 0 0 8px; padding-left: 1.3rem; color: var(--text); }
.notes-html a { font-weight: 600; }

.flash {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 14px;
}
.flash.ok { background: #e8f7ee; color: var(--ok); }
.flash.error { background: #fdecea; color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 4px 0 0; }

label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 16px;
}
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; padding: 12px 14px; }
legend { font-size: 13px; color: var(--muted); padding: 0 6px; }
.check { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: var(--text); }
.check input { width: auto; }
.row { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .row.two { grid-template-columns: 1fr 1fr; }
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions form { margin: 0; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.auth-box { width: min(440px, 100%); margin: 4vh auto; }

.site-footer-one {
  background: #063a7a;
  color: #c1cfe1;
  font-family: var(--thm-font);
  margin-top: 24px;
}
.site-footer-one a { text-decoration: none; }
.site-footer-one__upper { padding: 72px 0 48px; }
.footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.footer-widget-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  gap: 24px 32px;
}
.footer-widget__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #fff;
  text-transform: uppercase;
}
.footer-widget p {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #c1cfe1;
}
.footer-widget__about img { width: 143px; height: auto; }
.footer-widget__links-list { list-style: none; margin: 0; padding: 0; }
.footer-widget__links-list li + li { margin-top: 16px; }
.footer-widget__links-list a {
  color: #c1cfe1;
  font-size: 18px;
}
.footer-widget__links-list a:hover { color: #fff; text-decoration: none; }
.footer-widget__social a {
  width: 41px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--thm-black);
  background: var(--thm-primary);
}
.footer-widget__social a:hover {
  color: #fff;
  background: var(--thm-black);
  text-decoration: none;
}
.site-footer__bottom { background: #023069; }
.footer-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.site-footer__bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  padding: 28px 12px;
}
.site-footer__bottom a:hover {
  background: var(--thm-primary);
  color: var(--thm-black);
  text-decoration: none;
}
.site-footer__bottom a i {
  width: 36px;
  height: 36px;
  background: var(--thm-primary);
  color: var(--thm-black);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer__bottom a:hover i {
  color: #fff;
  background: var(--thm-black);
}

@media (max-width: 900px) {
  .footer-widget-row,
  .footer-bottom-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
}
