@font-face {
  font-family: "Mallet Source Sans";
  src: url("/media/templates/site/cassiopeia_extended/fonts/SourceSansPro-Regular-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mallet Source Sans";
  src: url("/media/templates/site/cassiopeia_extended/fonts/SourceSansPro-Light-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

body.site {
  --cassiopeia-font-family-body: "Mallet Source Sans", Arial, sans-serif;
  --cassiopeia-font-family-headings: Arial, Helvetica, sans-serif;
  background: #f8fcfd url("/media/templates/site/cassiopeia_extended/images/mallet-bg-top.jpg") center top / auto 220px repeat-x;
  color: #526170;
  font-family: var(--cassiopeia-font-family-body);
}

body.site a { color: #117ab5; }
body.site a:hover, body.site a:focus-visible { color: #0b547c; }

.container-header {
  max-width: 1120px;
  min-height: 249px;
  margin: 10px auto 0;
  padding: 0;
  background: transparent;
  color: #185b84;
  box-shadow: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}

.container-header .grid-child { width: auto; max-width: none; padding: 0; margin: 0; }
.container-header .navbar-brand { margin: 0 0 22px; padding: 0; }
.container-header .brand-logo img { width: 157px; height: 143px; object-fit: contain; }
.container-header .container-topbar { position: absolute; top: 23px; right: 0; margin: 0; }
.container-header .container-topbar .connexion {
  background: #145788;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font: 14px Arial, sans-serif;
  padding: 7px 14px;
}

.container-header .container-nav { margin: 0 0 32px; }
.container-header .mod-menu { display: flex; flex-wrap: nowrap; gap: 22px; align-items: center; }
.container-header .mod-menu > li { white-space: nowrap; }
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button { color: #155980; font: 19px Arial, sans-serif; text-decoration: none; }
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus-visible { color: #0a90cf; }

.site-grid, .container-footer .grid-child { max-width: 1120px; margin-inline: auto; }
.site-grid { gap: 18px; }
.site-grid .container-component { min-width: 0; }
.site-grid .container-top-a,
.site-grid .container-bottom-a { width: 100%; max-width: 1120px; }

.itemid-131 .container-top-a {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(0, 360px);
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.itemid-131 .container-top-a > .card { border: 0; border-radius: 0; background: transparent; box-shadow: none; margin: 0; min-width: 0; }
.itemid-131 .container-top-a > .card .card-body { padding: 0; }
.itemid-131 .container-top-a #mod-custom159 { background: #fff; padding: 30px; min-height: 374px; }
.itemid-131 #mod-custom159 p { margin: 0 0 20px; }
.itemid-131 #mod-custom159 a img { display: block; max-width: 100%; height: auto; }
.itemid-131 #mod-custom159 a:hover img { opacity: .85; }
.itemid-131 #mod-custom159 hr { border-color: #d5e1e5; margin: 14px 0 20px; }
.itemid-131 #mod-custom159 .mallet-phone { display: block; width: 297px; max-width: 100%; margin: auto; }
.itemid-131 .container-component,
.itemid-131 .container-sidebar-right { display: none; }

.mallet-hero { position: relative; width: 100%; aspect-ratio: 740 / 374; overflow: hidden; border-radius: 0 92px 0 92px; }
.mallet-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: mallet-slide 30s infinite; }
.mallet-hero img:nth-child(1) { animation-delay: 0s; }
.mallet-hero img:nth-child(2) { animation-delay: 5s; }
.mallet-hero img:nth-child(3) { animation-delay: 10s; }
.mallet-hero img:nth-child(4) { animation-delay: 15s; }
.mallet-hero img:nth-child(5) { animation-delay: 20s; }
.mallet-hero img:nth-child(6) { animation-delay: 25s; }
@keyframes mallet-slide { 0%, 15% { opacity: 1; } 18%, 97% { opacity: 0; } 100% { opacity: 1; } }

.itemid-131 .container-bottom-a { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.itemid-131 .container-bottom-a > .card {
  min-height: 525px;
  border: 1px solid #d9e1e5;
  border-radius: 25px 25px 0 25px;
  background: #fff;
  box-shadow: 0 1px 3px #b5c5ca66;
  overflow: hidden;
  margin: 0;
}
.itemid-131 .container-bottom-a .card-header { background: transparent; border: 0; color: #686c72; font: 700 22px Arial, sans-serif; padding: 30px 30px 15px; }
.itemid-131 .container-bottom-a .card-body { padding: 0 30px 30px; color: #1388c6; font-size: 16px; }
.itemid-131 .container-bottom-a #mod-custom115 .btn { display: block; max-width: 250px; margin: 30px auto 0; padding: 0; background: #1775a9; border-radius: 22px; }
.itemid-131 .container-bottom-a #mod-custom115 .btn a { display: block; padding: 5px 15px; color: #fff; font: 22px Arial, sans-serif; text-decoration: none; }
.itemid-131 .container-bottom-a #mod-custom124 p:first-child { margin-top: 0; }
.itemid-131 .container-bottom-a #mod-custom124 strong { color: #686c72; font: 400 22px Arial, sans-serif; }

.container-footer {
  background: linear-gradient(#d5f5fa, #b7f1f3);
  color: #8296a5;
  margin-top: 50px;
  padding: 25px 0 10px;
  font-size: 14px;
  text-align: right;
}
.container-footer a { color: #146c9c; }
.container-footer p { margin: 0; }

@media (max-width: 1199px) {
  .container-header, .site-grid, .container-footer .grid-child { margin-inline: 20px; }
  .container-header { min-height: 394px; display: block; }
  .container-header .navbar-brand { position: absolute; top: 87px; left: 0; }
  .container-header .container-nav { position: absolute; right: 0; bottom: 0; left: 0; margin-bottom: 10px; }
  .container-header .mod-menu { justify-content: space-between; gap: 10px; }
  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button { font-size: 16px; }
  .itemid-131 .container-top-a { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .itemid-131 .container-top-a #mod-custom159 { padding: 20px; min-height: 0; }
}

@media (max-width: 767px) {
  body.site { background-size: auto 140px; }
  .container-header { min-height: 189px; margin-top: 10px; }
  .container-header .navbar-brand { top: 0; }
  .container-header .brand-logo img { width: 157px; height: 143px; }
  .container-header .container-topbar { top: 15px; right: 0; }
  .container-header .container-topbar .connexion { font-size: 12px; }
  .container-header .container-nav { bottom: 0; margin: 0; }
  .container-header .mod-menu { flex-wrap: wrap; }
  .itemid-131 .container-top-a { display: block; margin-top: 20px; }
  .itemid-131 .container-top-a > .card + .card { margin-top: 20px; }
  .mallet-hero { border-radius: 0 50px 0 50px; }
  .itemid-131 .container-top-a #mod-custom159 { padding: 30px; }
  .itemid-131 .container-bottom-a { grid-template-columns: 1fr; gap: 18px; }
  .itemid-131 .container-bottom-a > .card { min-height: 450px; }
  .container-footer { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mallet-hero img { animation: none; }
  .mallet-hero img:first-child { opacity: 1; }
}
