:root {
  --navy: #193177;
  --cyan: #70d9e7;
  --white: #fff;
  --footer: #0f0f0f;
  --muted: #666;
  --faded: #737373;
  --line: #ddd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  font: 16px/1.15 Roboto, Arial, sans-serif;
  background: var(--white);
}
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: "Open Sans", Arial, sans-serif; }
button { font: inherit; }

.color-1 { color: var(--cyan); }
.color-3 { color: var(--white); }
.color-4 { color: var(--navy); }
.color-4-faded { color: var(--faded); }
.background-color-1 { background: var(--cyan); }
.background-color-3 { background: var(--white); }
.background-color-4 { background: var(--navy); }
.box-shadow-4 {
  box-shadow: 0 1px 3px rgba(25, 49, 119, 0.12), 0 1px 2px rgba(25, 49, 119, 0.24);
}

.NavBar--padding { height: 72px; }
.NavBar { position: fixed; top: 0; width: 100%; z-index: 100; }
.NavBar--list {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  height: 72px;
  padding: 0 40px;
  background: var(--white);
  box-shadow: -2px 7px 38px 0 rgba(0, 0, 0, 0.21);
}
.NavBar--item {
  display: flex;
  align-items: center;
  margin: 0 16px;
}
.NavBar--item.is-brand {
  min-width: 50px;
  margin-right: auto;
  flex-grow: 1;
  position: relative;
}
.NavBar--item.is-brand a {
  display: block;
  height: 56px;
  width: 56px;
}
.NavBar--item.is-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.NavBar--item.is-main { display: none; }
.NavBar--item.is-active { border-bottom: 3px solid var(--cyan); }
.NavBar--item.is-social-media { margin: 0 8px; }
.NavBar--toggle-container { display: flex; }
.NavBar--toggle {
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 30px;
  cursor: pointer;
  padding: 0;
}
.SocialMediaLinks { display: flex; align-items: center; }
.SocialMediaLinks--link {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.CustomButtons--button {
  display: inline-block;
  padding: 8px 24px;
  margin: 2px 5px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--white);
  font-weight: 400;
}
.CustomButtons--button:hover { filter: brightness(0.95); }

.Banner {
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #9ec6d6 center/cover no-repeat;
}
.Banner.is-small { height: 350px; }
.Banner--title {
  margin: 0;
  padding-bottom: 20px;
  font-size: 5em;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cyan);
}
.Banner--tagline {
  display: block;
  margin-top: 20px;
  font-size: 40px;
  font-weight: 900;
  line-height: 46px;
  color: var(--white);
}

.MainInfoBar {
  width: 90%;
  height: 76px;
  margin: -40px auto 0;
  padding: 8px;
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.MainInfoBar--box {
  width: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--navy);
}
.MainInfoBar--box.has-border { border-right: 1px solid var(--line); }
.MainInfoBar--box.is-cta {
  background: var(--cyan);
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
}
.MainInfoBar--picto { margin-right: 16px; font-size: 24px; width: 24px; text-align: center; }
.MainInfoBar--chevron { font-size: 22px; margin-left: 15px; }

.CustomMarkdown { padding: 40px 32px; max-width: 1100px; margin: 0 auto; }
.CustomMarkdown p { line-height: 1.45; }
.CustomMarkdown--Cols {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.CustomMarkdown ul.CustomMarkdown--Cols {
  list-style: none;
}
.CustomMarkdown--Col { padding: 8px; width: 100%; }
.CustomMarkdown--Cols.col-2 .CustomMarkdown--Col { width: 50%; }
.CustomMarkdown--Cols.partners { justify-content: center; text-align: center; }
.CustomMarkdown--Cols.partners img { max-height: 90px; width: auto; }
.CustomMarkdown h2 { font-size: 2em; font-weight: 700; text-align: center; margin: 0 0 16px; }
.CustomMarkdown h3 { font-size: 1.5em; margin: 16px 0 8px; }
.CustomMarkdown h4 { margin: 16px 0 8px; }
.CustomMarkdown ul { list-style: disc; padding-left: 1.2em; margin: 8px 0; }
.logo-col { display: flex; justify-content: center; align-items: flex-start; }
.logo-col img { max-width: 230px; }

.LinkPanel {
  height: 350px;
  background: var(--cyan) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.LinkPanel--title {
  margin: 0 0 48px;
  font-size: 3em;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.LinkPanel--button {
  padding: 16px 32px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
}

.Section { padding: 16px; }
.Section--title { font-size: 2em; text-align: center; margin: 32px 0; }
.Section--title.left { text-align: left; }

.News--container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 1200px;
  padding: 0 16px;
}
.News--card {
  width: 350px;
  height: 400px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 3px rgba(25, 49, 119, 0.12), 0 1px 2px rgba(25, 49, 119, 0.24);
  overflow: hidden;
  background: var(--white);
}
.News--card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.News--link { display: flex; flex-direction: column; height: 100%; padding: 16px; color: var(--navy); }
.News--picture {
  width: 100%;
  height: 150px;
  background: #d9eef3 center/cover no-repeat;
  border-radius: 4px;
}
.News--date { display: block; margin: 16px 0; }
.News--message { margin: 0; line-height: 20px; font-weight: 500; }

.Services--container { padding: 16px; }
.Services--services-container { max-width: 750px; margin: 0 auto; }
.Services--category-title { margin-top: 24px; font-size: 1.5em; margin-bottom: 8px; }
.Services--item { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.Services--price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.Services--label--container { display: flex; align-items: center; }
.Services--icon {
  width: 30px;
  height: 30px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
}
.Services--prices { padding-left: 64px; width: 100%; }
.Services--value { color: var(--navy); font-weight: 500; white-space: nowrap; padding-left: 18px; }
.Services--description, .Services--price dt { color: var(--faded); font-size: 14px; }

.Hours, .PhoneBlock { max-width: 750px; margin: 32px auto; padding: 0 16px; }
.Hours h3, .PhoneBlock h3 { font-size: 1.5em; color: var(--cyan); }
.Hours li, .PhoneBlock p { padding: 6px 0; }

.HeroMap { height: 420px; }
.HeroMap iframe { width: 100%; height: 100%; border: 0; }

.ContactForm--container { width: 80%; max-width: 700px; margin: auto; padding: 32px; }
.ContactForm--title { font-size: 3em; text-align: center; margin: 32px 0; width: 100%; }
.ContactForm--row { display: flex; gap: 16px; }
.ContactForm--input-group, .ContactForm--textarea-group { width: 100%; padding-top: 24px; }
.ContactForm--row .ContactForm--input-group { width: 50%; }
.ContactForm--input, .ContactForm--textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: 4px;
  margin: 8px 0;
  padding: 8px;
  font: inherit;
  color: var(--navy);
}
.ContactForm--textarea { min-height: 150px; resize: vertical; }
.ContactForm--submit {
  margin: 16px auto;
  display: block;
  padding: 8px 16px;
  background: var(--cyan);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.PhotoGallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 24px 32px;
  overflow: hidden;
}
.PhotoGallery--photo {
  display: flex;
  margin: 16px;
  max-height: 500px;
  max-width: 90vw;
}
.PhotoGallery--photo img {
  display: block;
  max-height: 500px;
  max-width: 90vw;
  height: auto;
  width: auto;
}

.LegalPage { max-width: 860px; margin: 0 auto; padding: 40px 24px 80px; line-height: 1.5; }
.LegalPage h2 { font-size: 2em; }
.LegalPage h3 { margin-top: 28px; }
.LegalPage h4 { margin-top: 20px; }
.LegalPage p, .LegalPage li { margin: 8px 0; }
.LegalPage ul { list-style: disc; padding-left: 1.3em; }

.Footer { padding: 32px 40px; background: var(--footer); color: #ceced2; }
.Footer--content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.Footer--group--title { color: #ceced2; margin-bottom: 16px; }
.Footer--group--title h2 { margin: 0; font-size: 1.1em; }
.Footer--contact--item {
  display: flex;
  align-items: center;
  padding: 8px;
  color: var(--muted);
}
.Footer--contact--item:hover { color: #ceced2; }
.Footer--contact--item--icon { margin-right: 8px; font-size: 20px; width: 24px; }
.Footer address { font-style: normal; }
.Footer--social--link {
  background: #666;
  color: #0f0f0f;
  width: 28px;
  height: 28px;
}
.Footer--social--link:hover { background: #ceced2; }
.Footer--copyright {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ceced2;
  font-size: 14px;
}
.Footer--legal-button, .Footer--cgu-button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-transform: uppercase;
}
.Footer a { color: inherit; }

.Modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.Modal.is-open { display: flex; }
.Modal--box {
  background: var(--white);
  color: var(--navy);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  padding: 32px;
  border-radius: 4px;
}
.Modal--close {
  float: right;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--navy);
}

@media (min-width: 900px) {
  .NavBar--item.is-main { display: flex; }
  .NavBar--toggle-container { display: none; }
}
@media (max-width: 899px) {
  .NavBar--list { padding: 0 16px; }
  .NavBar.is-open .NavBar--list {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 16px 0 24px;
  }
  .NavBar.is-open .NavBar--item.is-main { display: flex; margin: 12px 0; }
  .Banner, .Banner.is-small { height: 280px; }
  .Banner--tagline { font-size: 22px; line-height: 28px; }
  .MainInfoBar { height: auto; flex-wrap: wrap; }
  .MainInfoBar--box { width: 100%; height: 56px; border: 0; border-bottom: 1px solid #eee; }
  .CustomMarkdown--Cols.col-2 .CustomMarkdown--Col { width: 100%; }
  .LinkPanel--title { font-size: 1.6em; margin-bottom: 24px; padding: 0 12px; }
  .Footer--content, .Footer--copyright, .ContactForm--row { flex-direction: column; }
  .ContactForm--row .ContactForm--input-group { width: 100%; }
}
