.os-page { min-height: 100vh; }

body:has(.os-page) { background: #EDF5F5; }

body:has(.os-gris) { background: #ECEFF1; }

.elementor :is(h1, h2, h3, h4) em {
  font-style: normal;
}

.elementor .os-cursive em {
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.16em;
  line-height: .9;
  letter-spacing: -.015em;
}

.elementor .os-pastille {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.elementor .os-pastille::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #008490;
  flex: 0 1 auto;
}

@keyframes os-derive {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.2%, -1.4%, 0) scale(1.045); }
}

.elementor .os-valeur h3 span {
  position: relative;
  display: inline-block;
}

.elementor .os-valeur h3 span::after {
  content: "";
  position: absolute;
  left: var(--g, -3px);
  bottom: var(--b, -1px);
  width: var(--w, calc(100% + 6px));
  height: 8px;
  opacity: .8;
  transform: rotate(var(--r, 0deg));
  transform-origin: 0 50%;
  background: no-repeat center / 100% 100% var(--trace, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 50 5, 110 9, 170 6 S 260 4, 297 5' fill='none' stroke='%23D18D20' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"));
  pointer-events: none;
}

.elementor .os-valeur:nth-child(1 of .os-valeur) h3 span:nth-of-type(1) {
  --g: 4px;
  --w: 82%;
  --r: -1.2deg;
}

.elementor .os-valeur:nth-child(2 of .os-valeur) h3 span:nth-of-type(1) {
  --g: -6px;
  --w: 100%;
  --r: .8deg;
  --trace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 6 C 60 8, 120 4, 190 7 S 270 9, 297 6' fill='none' stroke='%23D18D20' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

.elementor .os-valeur:nth-child(2 of .os-valeur) h3 span:nth-of-type(2) {
  --g: 10px;
  --w: 78%;
  --r: -.6deg;
  --b: -2px;
  --trace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7 C 70 4, 140 9, 200 6 S 270 5, 297 7' fill='none' stroke='%23D18D20' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

.elementor .os-valeur:nth-child(3 of .os-valeur) h3 span:nth-of-type(1) {
  --g: -9px;
  --w: 100%;
  --r: 1.4deg;
  --trace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M4 7 C 50 3, 100 9, 160 5 S 250 8, 296 5' fill='none' stroke='%23D18D20' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

.elementor .os-rang {
  --col: 38px;
  --ecart: 52px;
}

.elementor .os-rep {
  border-right: 1px solid rgba(0, 61, 75, .16);
  opacity: calc(1 - var(--p, 0) * 2.5);
  align-self: stretch;
}

.elementor .os-rep::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 9px;
  background: #008490;
}

.elementor .os-rep .os-rep-nom {
  position: sticky;
  top: 112px;
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-left: auto;
  padding-left: 22px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(0, 61, 75, .62);
  white-space: nowrap;
}

.elementor .os-moyens {
  grid-template-areas: "a1 a2" "a1 a3" "a4 a3";
}

.elementor .os-frise {
  margin-left: -6%;
}

.elementor .os-tuile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 61, 75, 0) 30%, rgba(0, 61, 75, .92) 100%);
}

.elementor .os-tuile > * {
  position: relative;
}

.elementor .os-ha-info b {
  font-weight: 600;
}

.elementor .osiris-bouton.os-lien {
  gap: 8px;
  transition: none;
}

.elementor .osiris-bouton.os-lien span,
.elementor .osiris-bouton.os-lien:hover span {
  transition: none;
  transform: none;
}

.elementor .osiris-bouton.os-lien-pied {
  transition: none;
}

.elementor .osiris-bouton:is(.os-lien, .os-lien-pied):focus-visible {
  border-radius: 4px;
}

body:has(.os-page) .elementor .osiris-bouton:not(.os-lien):not(.os-lien-pied) {
  transition: background .24s cubic-bezier(.22, .75, .25, 1);
}

.elementor :is(.os-entete, .os-pied) a.e-con {
  transition: none;
}

:where(body:has(.os-page), .os-entete, .os-pied) :focus-visible {
  border-radius: 4px;
}

:where(body:has(.os-page), .os-entete, .os-pied) :focus-visible:not(input) {
  outline: 2px solid #9F005D !important;
  outline-offset: 3px !important;
}

html :where(body:has(.os-page), .os-entete, .os-pied) :is(a, button, select, textarea, summary):focus-visible {
  box-shadow: none;
}

.elementor .os-libelle-chiffre span {
  font-size: 13.5px;
  line-height: 1.6;
}

.elementor .os-menu {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.elementor .os-menu::before,
.elementor .os-menu::after {
  content: "";
  display: block;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.elementor .os-menu::before {
  box-shadow: 0 -4.5px 0 currentColor, 0 4.5px 0 currentColor;
}

.elementor .os-menu::after {
  position: absolute;
  left: 16px;
  top: 50%;
  margin-top: -.75px;
  opacity: 0;
}

.elementor .os-ouvert .os-menu::before {
  box-shadow: none;
  transform: rotate(45deg);
}

.elementor .os-ouvert .os-menu::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.elementor .os-champ .os-loupe {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.elementor .os-champ:focus-within {
  outline: 2px solid #9F005D;
  outline-offset: 2px;
}

.elementor .os-champ .os-recherche {
  border: 0;
  outline: none;
  box-shadow: none;
  min-width: 0;
  appearance: none;
}

.elementor .os-champ .os-recherche::placeholder {
  color: rgba(0, 61, 75, .5);
  opacity: 1;
}

.elementor .os-titre-villes span {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  opacity: .8;
  margin-left: 6px;
}

.elementor .os-filtrer {
  border-radius: 0;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.elementor .os-filtrer span {
  font-weight: 400;
  font-size: 14px;
  color: rgba(0, 61, 75, .6);
}

.elementor .os-puce {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #003D4B;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.elementor .os-puce i {
  font-style: normal;
  font-size: 12px;
  opacity: .55;
  margin-left: 4px;
}

.elementor .os-puce[aria-pressed="true"] {
  background: #003D4B;
  color: #fff;
}

.elementor .os-puce.os-vide {
  opacity: .45;
}

.elementor .os-menu,
.elementor .os-filtrer,
.elementor .os-puce {
  transition: none;
}

.elementor .os-menu:is(:hover, :focus) {
  background-color: #E1EFEF;
  color: #003D4B;
}

.elementor .os-filtrer:focus-visible {
  border-radius: 4px;
}

.elementor .os-filtrer:is(:hover, :focus) {
  background-color: transparent;
  color: #003D4B;
}

.elementor .os-puce:is(:hover, :focus) {
  background-color: #fff;
  color: #003D4B;
}

.elementor .os-puce[aria-pressed="true"]:is(:hover, :focus) {
  background-color: #003D4B;
  color: #fff;
}

.elementor .os-plus button:focus:not(:hover) {
  background-color: #E1EFEF;
  color: #003D4B;
}

.elementor .os-select {
  margin-top: 10px;
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 38px 8px 14px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: #003D4B;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003D4B' stroke-width='1.8'%3E%3Cpath d='M7 10l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px;
}

.elementor .os-select.os-actif {
  background-color: #003D4B;
  color: #fff;
}

.elementor .os-compte b {
  font-weight: 500;
  color: #003D4B;
}

.elementor .os-fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 32px;
  padding: 28px 28px 22px;
  box-shadow: 0 18px 44px -22px rgba(0, 61, 75, .26);
  color: #003D4B;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.elementor .os-fiche .os-mac {
  align-self: flex-start;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: #D2E7E7;
  color: #003D4B;
}

.elementor .os-fiche .os-mac::before,
.elementor .os-secours {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.elementor .os-fiche .os-mac::before {
  content: "✓ ";
  color: #006B75;
  font-weight: 600;
}

.elementor .os-fiche h3 {
  font-family: "Bantayog", system-ui, sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: #003D4B;
  margin: 0;
}

.elementor .os-fiche .os-lieu {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: rgba(0, 61, 75, .72);
}

.elementor .os-fiche .os-cat {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(0, 61, 75, .62);
}

.elementor .os-fiche .os-cat::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #003D4B;
}

.elementor .os-fiche .os-c-hyg::before { background: #D18D20; }
.elementor .os-fiche .os-c-asso::before { background: #9F005D; }
.elementor .os-fiche .os-c-form::before { background: #815D9B; }
.elementor .os-fiche .os-c-labo::before { background: #68AEB0; }

.elementor .os-fiche .os-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 18px;
}

.elementor .os-fiche .os-contacts a {
  font-size: 14px;
  color: #003D4B;
  text-decoration: underline;
  text-decoration-color: rgba(0, 61, 75, .35);
  text-underline-offset: 3px;
}

.elementor .os-fiche .os-contacts a.os-tel {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: #E1EFEF;
}

.elementor .os-fiche .os-src {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 13px;
  color: rgba(0, 61, 75, .72);
}

.elementor .os-fiche .os-src summary {
  cursor: pointer;
  list-style: none;
}

.elementor .os-fiche .os-src summary::-webkit-details-marker {
  display: none;
}

.elementor .os-fiche .os-src ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.elementor .os-fiche .os-src a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.elementor .os-plus {
  display: flex;
  justify-content: center;
}

.elementor .os-plus button {
  margin-top: 28px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  padding: 14px 26px;
  border-radius: 999px;
  background: #E1EFEF;
  color: #003D4B;
  transition: background .24s cubic-bezier(.22, .75, .25, 1);
}

.elementor .os-plus button:hover { background: #D2E7E7; }

.elementor .os-aucune {
  grid-column: 1 / -1;
  font-size: 16px;
  color: rgba(0, 61, 75, .7);
  margin: 0;
}

.elementor .os-ha-langue span { margin-left: 6px; }

.elementor .os-ha-bouton span { margin-left: 8px; }

.elementor .os-ha-secu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.elementor .os-ha-secu::before {
  content: "";
  width: 13px;
  height: 14.6px;
  flex: 0 0 auto;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M8 0 16 3v6c0 4.6-3.4 8-8 9-4.6-1-8-4.4-8-9V3z' fill='%23003D4B'/%3E%3C/svg%3E");
}

.elementor .os-chiffres-tab { font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .elementor .os-moyens { grid-template-areas: "a1 a2" "a4 a3"; }
  .elementor .os-filtres .os-groupe { display: none; }
  .elementor .os-filtres.os-ouvert .os-groupe { display: flex; }  .elementor .os-ouvert .os-barre { flex-wrap: wrap; border-radius: 28px; }
  .elementor .os-ouvert .os-nav { display: flex; order: 3; width: 100%; margin: 4px 0 6px; }
  .elementor .os-ouvert .os-nav > .elementor-element,
  .elementor .os-ouvert .os-nav .elementor-nav-menu--main { width: 100%; }
  .elementor .os-ouvert .os-nav .elementor-nav-menu--main .elementor-nav-menu { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .elementor .os-ouvert .os-nav .elementor-nav-menu--main .elementor-nav-menu::after { display: none; }
  .elementor .os-ouvert .os-nav .elementor-nav-menu--main .elementor-nav-menu > li { margin: 0 !important; width: 100%; }
  .elementor .os-ouvert .os-nav .elementor-nav-menu--main .elementor-item { display: block; margin: 0 !important; padding: 12px 14px !important; font-size: 16px !important; line-height: 1.6 !important; }
}

@media (max-width: 620px) {
  .elementor .os-rang { --col: 20px; --ecart: 10px; }
  .elementor .os-rep .os-rep-nom { padding-left: 4px; top: 96px; }
  .elementor .os-moyens { grid-template-areas: "a1" "a2" "a3" "a4"; }
  .elementor .os-frise { width: calc(100% + 68px); margin-left: -34px; }
  .elementor .os-fiche { padding: 24px 22px 20px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .elementor .os-page * { animation: none !important; }
}
