:root {
  --ink: #142c3c;
  --navy: #0b344e;
  --teal: #006f7b;
  --deep: #092b43;
  --line: #d5e6ea;
  --paper: #fff;
  --soft: #edf6f7;
  --radius: 1.3rem;
  --inset: clamp(.9rem, 3vw, 2.5rem);
  --shadow: 0 .6rem 1.75rem rgb(11 52 78 / 8%);
  --type: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: #f2f8f9;
  -webkit-text-size-adjust: 100%;
}

body {
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: clamp(.6rem, 2.1vw, 1.75rem);
  background: transparent;
  overflow-wrap: anywhere;
}

body, td, th {
  color: var(--ink);
  font: 400 1rem / 1.6 var(--type);
}

body > blockquote { margin: 0; }
blockquote { margin: 0; }
p { margin: 0 0 .8em; }
td > :last-child { margin-bottom: 0; }
td, th { height: auto; vertical-align: top; }

img, iframe, video, embed, object {
  max-width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

iframe[src*="youtube.com/embed/"] {
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: .85rem;
}

[data-locbateau="spacer"] { display: none; }

a {
  color: var(--teal);
  text-underline-offset: .2em;
}

a:focus-visible {
  outline: 3px solid #0093a1;
  outline-offset: 4px;
  border-radius: .3rem;
}

a.cta-resa {
  padding: .86rem 1.5rem;
  background: var(--teal);
  color: #fff;
  border-radius: .7rem;
  box-shadow: 0 .2rem .5rem rgb(0 63 75 / 14%);
}

a.cta-resa:hover { background: var(--navy); }

[data-locbateau="booking-image"],
a:has(> img[src*="server en ligne"]) {
  display: inline-block;
  max-width: 100%;
  border-radius: .72rem;
}

[data-locbateau="booking-image"] img {
  border-radius: .72rem;
  box-shadow: var(--shadow);
}

[data-locbateau="booking-image"] { width: min(100%, 14rem); }

a[href="Recrutement.php"] {
  display: inline-block;
  border: 1px solid var(--line);
  padding: .4rem .8rem;
  border-radius: 2rem;
  background: var(--paper);
  color: var(--teal);
  font: 650 .94rem / 1.45 var(--type);
}

[data-locbateau="brand"] {
  max-width: 25rem;
  overflow: hidden;
  margin: 0 auto .75rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

[data-locbateau="brand"] img {
  width: 100%;
  height: auto;
  display: block;
}

table[data-locbateau] {
  width: 100%;
  height: auto;
  margin-inline: auto;
  border: 0;
  border-spacing: 0;
  table-layout: fixed;
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) {
  display: block;
  padding: .55rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) > tbody { display: block; }

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) > tbody > tr {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(.22rem, 1vw, .65rem);
}

[data-locbateau="nav"] > tbody > tr {
  grid-template-columns: repeat(2, minmax(0, .42fr)) repeat(5, minmax(0, 1fr));
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) td {
  display: block;
  padding: 0;
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) a {
  display: grid;
  min-height: 44px;
  place-items: center;
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) img {
  display: block;
  width: 100%;
  border-radius: .5rem;
}

:is([data-locbateau="nav"], [data-locbateau="nav-simple"]) a:hover img {
  box-shadow: 0 0 0 2px #54a5af;
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="recruitment"],
    [data-locbateau="legal"], [data-locbateau="sales"], [data-locbateau="side-layout"],
    [data-locbateau="panorama"]) {
  border-radius: var(--radius);
  margin-block: clamp(1.1rem, 3vw, 2.5rem);
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="recruitment"],
    [data-locbateau="legal"], [data-locbateau="sales"], [data-locbateau="side-layout"],
    [data-locbateau="panorama"]) img {
  border-radius: .85rem;
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="recruitment"],
    [data-locbateau="legal"], [data-locbateau="sales"], [data-locbateau="side-layout"]) [align="justify"] {
  text-align: start;
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="legal"]) [bgcolor="#003558"] {
  background-color: var(--deep);
  color: #f3fbff;
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="recruitment"],
    [data-locbateau="legal"], [data-locbateau="sales"], [data-locbateau="side-layout"],
    [data-locbateau="panorama"]) :is(p,div,span)[class] {
  font-family: var(--type);
}

:is([data-locbateau="home"], [data-locbateau="calanques"], [data-locbateau="legal"],
    [data-locbateau="recruitment"], [data-locbateau="sales"]) [bgcolor="#003558"] a,
[data-locbateau="sales"] a {
  color: #a0e6ed;
}

[data-locbateau="home"],
[data-locbateau="home"] > tbody,
[data-locbateau="home"] > tbody > tr,
[data-locbateau="home"] > tbody > tr > td {
  display: block;
  width: 100%;
}

[data-locbateau="home"] > tbody > tr:first-child > td {
  overflow: hidden;
  padding: 0 0 var(--inset);
  border-radius: var(--radius);
  background: linear-gradient(142deg, var(--navy), var(--deep));
  box-shadow: var(--shadow);
}

[data-locbateau="home"] > tbody > tr:first-child > td > p:first-child { margin: 0; }

[data-locbateau="home"] > tbody > tr:first-child > td > p:first-child img {
  display: block;
  width: 100%;
  max-height: 40rem;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 0;
}

[data-locbateau="home"] .Style62 {
  margin: 0 auto;
  padding-inline: var(--inset);
  color: #fff;
  font: 500 clamp(1.48rem, 4.1vw, 3.45rem) / 1.08 var(--display) !important;
  letter-spacing: -.025em;
  text-wrap: balance;
}

[data-locbateau="home"] p.Style62:nth-of-type(3) {
  margin-top: clamp(1.1rem, 3vw, 2.3rem);
}

[data-locbateau="home"] > tbody > tr:first-child > td > :is(div, blockquote) {
  width: min(100%, 66rem);
  margin-inline: auto;
  padding-inline: var(--inset);
}

[data-locbateau="home"] > tbody > tr:first-child > td > div { margin-top: 1rem; }

[data-locbateau="home"] > tbody > tr:first-child > td :is(.Style69, .Style70) {
  color: #f0f7fa;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

[data-locbateau="home"] > tbody > tr:nth-child(2) > td:nth-child(2) { display: none; }

[data-locbateau="feature"] {
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-top: clamp(.9rem, 2.2vw, 1.65rem);
}

:is([data-locbateau="feature"], [data-locbateau="gallery"], [data-locbateau="payment"]) {
  display: block;
  padding: var(--inset);
}

:is([data-locbateau="feature"], [data-locbateau="gallery"], [data-locbateau="payment"]) > tbody { display: block; }

:is([data-locbateau="feature"], [data-locbateau="gallery"], [data-locbateau="payment"]) > tbody > tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--inset);
}

:is([data-locbateau="feature"], [data-locbateau="gallery"], [data-locbateau="payment"]) td {
  display: block;
  width: auto;
  min-width: 0;
  padding: 0;
}

[data-locbateau="feature"] p:first-child a {
  font: 500 clamp(1.42rem, 2.65vw, 2.4rem) / 1.18 var(--display);
  color: var(--navy);
}

[data-locbateau="feature"] p { line-height: 1.6; }
[data-locbateau="feature"] img { width: 100%; }
[data-locbateau="gallery"] { padding-inline: 0; }

[data-locbateau="gallery"] > tbody > tr {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.42rem, 1.7vw, 1.15rem);
}

[data-locbateau="gallery"] img { width: 100%; }
[data-locbateau="payment"] { max-width: 30rem; }
[data-locbateau="payment"] img { max-width: min(100%, 8rem); }

:is([data-locbateau="calanques"], [data-locbateau="recruitment"], [data-locbateau="legal"]) {
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--shadow);
}

:is([data-locbateau="calanques"], [data-locbateau="recruitment"]) td {
  padding: clamp(.45rem, 1.55vw, 1.35rem);
}

:is([data-locbateau="calanques"], [data-locbateau="recruitment"]) tr:first-child td {
  padding: var(--inset);
}

[data-locbateau="calanques"] :is(.Style67, .Style68) {
  color: white;
  font: 500 clamp(1.32rem, 3.3vw, 2.6rem) / 1.12 var(--display) !important;
  text-wrap: balance;
}

:is([data-locbateau="calanques"], [data-locbateau="recruitment"]) [background] {
  height: clamp(13rem, 43vw, 35rem);
  background-size: cover;
  background-position: center;
}

[data-locbateau="legal"] td {
  padding: var(--inset);
}

[data-locbateau="legal"] td > :is(p,div,blockquote) {
  max-width: 65rem;
  margin-inline: auto;
}

[data-locbateau="legal"] .Style78 { font-size: 1rem; }

[data-locbateau="legal"] tr + tr td { border-top: 1px solid #3b6075; }

[data-locbateau="sales"] {
  background: transparent;
  border-radius: 0;
}

[data-locbateau="sales"],
[data-locbateau="sales"] > tbody {
  display: block;
}

[data-locbateau="sales"] > tbody > tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--inset);
  margin-bottom: var(--inset);
}

[data-locbateau="sales"] td {
  background: var(--deep);
  color: white;
  padding: var(--inset);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

[data-locbateau="sales"] td img { width: 100%; }

[data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(3),
[data-locbateau="side-layout"] > tbody > tr:not(:first-child) > td {
  padding: var(--inset);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 1rem;
}

[data-locbateau="side-layout"] > tbody > tr:first-child > td:is(:first-child, :last-child) {
  width: 18%;
}

[data-locbateau="side-layout"] > tbody > tr:first-child > td:is(:nth-child(2), :nth-child(4)) {
  width: 2%;
}

[data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(3) {
  width: 60%;
}

[data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(3) > p:is(.Style58, .Style61, .Style65):first-of-type {
  text-wrap: balance;
}

[data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(3) :is(p, div)[align="justify"]:not([data-locbateau~="rates"] *) {
  font-size: 1rem;
}

table[data-locbateau~="rates"] {
  max-width: 25rem;
  margin-block: 1rem;
  border-radius: .8rem;
  overflow: hidden;
  background: var(--soft);
}

table[data-locbateau~="rates-wide"] { max-width: 39rem; }

[data-locbateau~="rates"] td {
  width: auto;
  padding: clamp(.25rem, .85vw, .6rem);
  border: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
  font-size: .875rem;
  line-height: 1.32;
}

[data-locbateau~="rates"] td > div,
[data-locbateau~="rates"] td span,
[data-locbateau~="rates"] td p {
  font-size: inherit;
  line-height: inherit;
}

[data-locbateau~="rates"] td img { border-radius: .38rem; }

@media (max-width: 59rem) {
  [data-locbateau="side-layout"],
  [data-locbateau="side-layout"] > tbody {
    display: block;
  }

  [data-locbateau="side-layout"] > tbody > tr:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--inset);
  }

  [data-locbateau="side-layout"] > tbody > tr:not(:first-child) {
    display: block;
    margin-top: var(--inset);
  }

  [data-locbateau="side-layout"] > tbody > tr > td,
  [data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(n) {
    display: block;
    width: auto;
    min-width: 0;
  }

  [data-locbateau="side-layout"] > tbody > tr:first-child > td:nth-child(3) {
    grid-area: 1 / 1 / 2 / -1;
  }

  [data-locbateau="side-layout"] > tbody > tr:first-child > td:is(:nth-child(2), :nth-child(4)) {
    display: none;
  }

  [data-locbateau="side-layout"] > tbody > tr:first-child > td:is(:first-child, :last-child) {
    text-align: center;
  }

  [data-locbateau="side-layout"] > tbody > tr:first-child > td:is(:first-child, :last-child) img[src*="Bandeau vertical"] {
    width: min(100%, 7rem);
  }
}

@media (max-width: 47rem) {
  [data-locbateau="nav"] > tbody > tr {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  [data-locbateau="nav"] td:nth-child(-n+2) img { width: min(100%, 3.8rem); }
  [data-locbateau="nav"] td:nth-child(n+3) { grid-column: span 2; }
  [data-locbateau="nav-simple"] > tbody > tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  [data-locbateau="feature"] > tbody > tr,
  [data-locbateau="sales"] > tbody > tr {
    grid-template-columns: minmax(0, 1fr);
  }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]),
  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) > tbody,
  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) > tbody > tr,
  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) > tbody > tr > td {
    display: block;
    width: 100%;
  }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) td {
    padding-inline: var(--inset);
  }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) :is(div,p)[align="right"] {
    text-align: center;
  }
}

/* Ignore duplicate, empty links in the original English navigation. */
[data-locbateau="nav"] a[data-locbateau="nav-gap"] { display: none; }

[data-locbateau="booking-image"] > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

@media (min-width: 47.01rem) and (hover: hover) {
  [data-locbateau="brand"] { max-width: 33rem; }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) td {
    padding-block: clamp(.4rem, 1vw, .8rem);
    line-height: 1.45;
  }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) tr:first-child td {
    padding-block: clamp(.9rem, 1.75vw, 1.5rem);
  }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) p { margin-bottom: .45em; }
  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) td > p:last-child { margin-bottom: 0; }
  [data-locbateau="section-gap"] { display: none; }

  :is([data-locbateau="calanques"], [data-locbateau="recruitment"]) [background] {
    height: clamp(13rem, 27vw, 26rem);
  }
}

@media (max-width: 47rem), (hover: none) and (max-width: 64rem) {
  img[src*="/Bandeau vertical" i],
  [data-locbateau="side-layout"] > tbody > tr:first-child >
    td:is(:first-child, :last-child):has(img[src*="/Bandeau vertical" i]) {
      display: none;
  }
}

.locbateau-photo-trigger {
  display: inline-block;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: .4rem;
  background: transparent;
  cursor: zoom-in;
}

.locbateau-photo-trigger:disabled { cursor: inherit; }

.locbateau-photo-trigger:focus-visible,
.locbateau-photo-close:focus-visible {
  outline: 3px solid #0093a1;
  outline-offset: 3px;
}

.locbateau-photo-hover {
  position: fixed;
  z-index: 10;
  width: min(440px, 48vw);
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--paper);
  box-shadow: 0 .75rem 2.4rem rgb(9 43 67 / 32%);
  pointer-events: none;
}

.locbateau-photo-hover img {
  display: block;
  width: 100%;
  max-height: 54vh;
  object-fit: contain;
  border-radius: .5rem;
}

.locbateau-photo-dialog {
  width: min(55rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 1rem 3rem rgb(9 43 67 / 40%);
}

.locbateau-photo-dialog::backdrop { background: rgb(4 22 35 / 78%); }

.locbateau-photo-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 4.5rem);
  object-fit: contain;
  border-radius: .65rem;
}

.locbateau-photo-close {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 0 .35rem auto;
  place-items: center;
  border: 0;
  border-radius: .6rem;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font: 1.5rem / 1 var(--type);
}
