/* Pédiatrie des Châteaux — feuille de style unique du site (css/site.css).
   Ordre : normalize.css, base, carrousel, styles du site, menu mobile, fiches de l’équipe, carte. */

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css (champ search : appearance none ; input[type="submit"] stylé par .button) */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}
input[type='search'] {
  -webkit-appearance: none;
}
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}

/* ── Base ─────────────────────────────────────────────────────────────────
   Règles de départ dont la mise en page dépend (reprises de l’export d’origine
   le 10.11.2026 : seules celles réellement utilisées par les pages). */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

ul, ol {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-left: 40px;
}

.inline-block {
  max-width: 100%;
  display: inline-block;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

/* Bouton : réglages de base, complétés par .button plus bas. */
.button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898EC;
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

/* Blocs d’icône et de texte riche : contiennent leurs éléments flottants. */
.embed:before, .embed:after,
.richtext:before, .richtext:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.embed:after,
.richtext:after {
  clear: both;
}

.richtext ol, .richtext ul {
  overflow: hidden;
}

/* ── Carrousel (photos du cabinet) — comportement dans js/site.js ─────────── */
.carrousel {
  position: relative;
  height: 300px;
  text-align: center;
  background: #dddddd;
  clear: both;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.carrousel-masque {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
  left: 0;
  right: 0;
  height: 100%;
  white-space: nowrap;
}

.carrousel-diapo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  white-space: normal;
  text-align: left;
  transform: translateX(100%);
}

.carrousel-diapo:first-child {
  transform: none;
}

.carrousel.anime .carrousel-diapo {
  transition: transform 500ms ease;
}

.carrousel-points {
  position: absolute;
  z-index: 2;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 10px;
  height: 40px;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Zone cliquable de 24 px (cible tactile, WCAG 2.5.8) ; le point visible (::before) garde 1em. */
.carrousel-point {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin: -5px 0 calc(0.5em - 5px);
}

.carrousel-point::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1em;
  height: 1em;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 100ms, color 100ms;
}

.carrousel-point.actif::before {
  background-color: #fff;
}

.carrousel-fleche {
  position: absolute;
  width: 80px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  cursor: pointer;
  overflow: hidden;
  color: white;
  font-size: 40px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
}

.carrousel-fleche-gauche {
  z-index: 3;
  right: auto;
}

.carrousel-fleche-droite {
  z-index: 4;
  left: auto;
}

/* ── Styles du site ──────────────────────────────────────────────────────── */
@font-face {
  font-family: "F 37 Gruffysoft";
  src: url('../fonts/F37GruffySoft-Medium.woff2') format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F 37 Gruffysoft";
  src: url('../fonts/F37GruffySoft-Regular.woff2') format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cobalt: #14183e;
  --light-blue: #dbeceb;
  --36px: 36px;
  --rose: #f6799f;
  --blue: #97cdc9;
  --white: #fff;
}

.flex-h {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

.flex-v {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 19px;
  padding-right: 0;
}

li {
  padding-left: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
}

.navbar-button {
  color: #fff;
  flex-flow: column;
  justify-content: center;
  align-self: center;
  height: 100%;
  min-height: 100%;
  padding: 0;
  font-size: 24px;
  text-decoration: none;
  display: flex;
}

.navbar-button:hover {
  color: #7e7e7e;
}

.navbar-button.first {
  mix-blend-mode: normal;
  border-left-style: none;
  border-left-width: 0;
  width: auto;
  position: relative;
}

.hamburger {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.nav-link {
  color: #000;
  letter-spacing: .25px;
  text-transform: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  display: block;
}

.nav-link:hover {
  border-bottom: 1px solid #000;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-decoration: none;
}

.nav-link:focus-visible {
  outline-offset: 0px;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  outline: 2px solid #ffffff1a;
}

.nav-link:lang(fr-ch) {
  border-bottom: 1px #000;
}

.menu-button {
  z-index: 1;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  cursor: pointer;
  flex-flow: row;
  flex: 0 auto;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: auto;
  height: 32px;
  padding: 0;
  display: flex;
  position: relative;
  inset: 0% 0% auto auto;
}

.nav-menu-new {
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  mix-blend-mode: normal;
  border-top-style: none;
  border-bottom-style: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  display: flex;
}

.nav-menu-new.footer {
  justify-content: space-between;
  align-items: center;
}

.full-screen-menu {
  z-index: -1;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-direction: column;
  flex: 1;
  order: 0;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  align-self: auto;
  align-items: flex-start;
  max-width: 1920px;
  height: 100vh;
  padding: 72px 16px;
  display: none;
  position: absolute;
  inset: 0%;
}

.white-blocker {
  z-index: -2;
  pointer-events: none;
  background-color: #fff;
  flex: 1;
  align-self: center;
  width: 100%;
  height: 100vh;
  display: flex;
  position: fixed;
  inset: 0%;
  overflow: visible;
}

.topmenu {
  z-index: 20;
  mix-blend-mode: normal;
  border-radius: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  display: flex;
  position: relative;
  overflow: visible;
}

.nav-list-item {
  color: #000;
  border-top-style: none;
  border-top-width: 0;
  border-bottom-style: none;
  border-bottom-width: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-v4 {
  z-index: 20;
  -webkit-text-fill-color: inherit;
  mix-blend-mode: normal;
  background-color: #fff0;
  background-clip: border-box;
  flex-flow: column;
  order: 0;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  padding: 25px 25px 16px;
  display: flex;
  position: fixed;
  inset: 0% auto auto;
}

.logotype {
  width: 315px;
}

.logotype.big {
  width: 160px;
}

.nav-list-item-mobile {
  color: #000;
  border-top-style: none;
  border-top-width: 0;
  border-bottom-style: none;
  border-bottom-width: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-menu-new-open {
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  mix-blend-mode: normal;
  border-top-style: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  display: flex;
}

.burger-block {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  justify-content: flex-end;
  align-items: center;
  display: none;
}

.navbar {
  z-index: 30;
  background-color: var(--light-blue);
  mix-blend-mode: normal;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  width: 100%;
  height: auto;
  padding: 15px 25px;
}

.body {
  background-color: var(--light-blue);
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.header {
  width: 100%;
  max-width: 1440px;
  height: 100vh;
  padding-right: var(--36px);
  padding-bottom: 60px;
  padding-left: var(--36px);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  display: flex;
}

.column {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  display: flex;
  position: static;
}

.column.aligntop {
  justify-content: flex-start;
  align-items: flex-start;
}

.h1 {
  z-index: 10;
  aspect-ratio: auto;
  color: var(--cobalt);
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 110%;
  position: relative;
}

.lead {
  color: var(--cobalt);
  margin-bottom: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
}

.lead.hide {
  display: block;
}

.image {
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 40px;
  width: 100%;
  height: 100%;
}

.button {
  color: var(--cobalt);
  letter-spacing: .5px;
  text-transform: uppercase;
  background-color: #fff;
  border-radius: 10px;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-weight: 500;
}

.button.pink {
  background-color: var(--rose);
}

.chatals {
  z-index: 1;
  aspect-ratio: auto;
  object-fit: fill;
  width: 55vw;
  max-width: none;
  position: absolute;
  inset: 28px 40px auto auto;
}

.content {
  width: 100%;
  height: auto;
  padding: 200px var(--36px);
  grid-column-gap: 144px;
  grid-row-gap: 144px;
  color: var(--cobalt);
  background-color: #fff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.section {
  grid-column-gap: var(--36px);
  grid-row-gap: var(--36px);
  width: 100%;
  max-width: 1440px;
  display: flex;
}

.section.box-bluw {
  background-color: var(--light-blue);
  border-radius: 40px;
  flex-flow: column;
  padding: 20px;
}

.h2 {
  color: var(--cobalt);
  margin-top: 0;
  margin-bottom: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-size: 70px;
  font-weight: 500;
  line-height: 110%;
}

.row {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
  position: relative;
}

.row.aligntop {
  justify-content: flex-start;
  align-items: flex-start;
}

.row._50 {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  width: 50%;
}

.h3 {
  color: var(--cobalt);
  margin-top: 0;
  margin-bottom: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 110%;
}

.card-item {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  background-color: var(--blue);
  border-radius: 20px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
  position: static;
  overflow: hidden;
}

.card-item.aligntop {
  justify-content: flex-start;
  align-items: flex-start;
}

.card-item._50 {
  width: 50%;
}

.card-item.pink {
  background-color: var(--rose);
}

.card-item.white {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: var(--white);
}

.team-item-wrapper {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  min-height: 370px;
  padding: 15px;
}

.card-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 20px;
  width: 50%;
}

.card-image._3-2 {
  aspect-ratio: 3 / 2;
}

.flex-block {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  width: 100%;
  position: static;
}

.card-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: row;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.team-item {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  aspect-ratio: auto;
  background-color: #fff;
  border-radius: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
  position: static;
  overflow: hidden;
}

.team-item.aligntop {
  justify-content: flex-start;
  align-items: flex-start;
}

.team-item._50 {
  width: 50%;
}

.card-wrapper-3col {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.image-2 {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 50%;
  max-width: none;
  height: 100%;
}

.code-embed {
  border-radius: 20px;
  height: 600px;
  margin-bottom: 0;
  overflow: hidden;
}

.footer {
  background-color: #fff;
  width: 100%;
}

.div-block {
  padding-top: 40px;
  padding-right: var(--36px);
  padding-left: var(--36px);
  grid-column-gap: 100px;
  grid-row-gap: 100px;
  background-color: var(--blue);
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  display: flex;
}

.footer-info {
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1440px;
  padding-top: 0;
  padding-bottom: 60px;
  position: relative;
}

.image-3 {
  aspect-ratio: auto;
  position: absolute;
  inset: auto 0% 0% auto;
}

.link {
  color: var(--cobalt);
  text-decoration: none;
}

.flex-block-2 {
  height: 75vh;
  position: relative;
}

.paragraph {
  margin-bottom: 0;
  font-family: "F 37 Gruffysoft", Arial, sans-serif;
  line-height: 120%;
}

.list {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  flex-flow: column;
  height: auto;
  margin-top: 30px;
  margin-bottom: 0;
  padding-left: 12px;
  display: flex;
  overflow: hidden;
}

.cross {
  align-self: flex-end;
  width: 25px;
  position: absolute;
  inset: 0 0 auto auto;
}

.rich-text-block {
  margin-top: 0;
  padding-top: 0;
  display: flex;
  overflow: visible;
}

.image-4 {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 8px;
  width: 100%;
}

.team-name {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  aspect-ratio: auto;
  flex-flow: column;
  width: 100%;
  margin-top: 12px;
  display: flex;
  position: relative;
}

.service-item-wrapper {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 20px;
}

.slider {
  aspect-ratio: 1;
  border-radius: 40px;
  width: 100%;
  height: 100%;
}

.slide {
  aspect-ratio: 1;
}

.left-arrow, .right-arrow {
  opacity: 0;
  display: block;
}

@media screen and (min-width: 1280px) {
  .chatals {
    width: 55vw;
    right: 0;
  }

  .flex-block-2 {
    height: 75vh;
  }
}

@media screen and (min-width: 1440px) {
  .chatals {
    width: 55vw;
    right: 0;
  }

  .team-item-wrapper {
    min-height: 420px;
  }

  .flex-block-2 {
    height: 75vh;
  }
}

@media screen and (min-width: 1920px) {
  .navbar {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    max-width: none;
    padding-top: 10px;
    padding-bottom: 11px;
  }

  .h1 {
    font-size: 80px;
  }

  .chatals {
    width: 45vw;
    right: 0;
  }

  .row {
    max-width: 1440px;
  }

  .team-item-wrapper {
    min-height: 440px;
  }

  .footer {
    background-color: var(--white);
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
    display: flex;
  }

  .div-block {
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    background-color: var(--blue);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 50px 50px 0;
    display: flex;
  }

  .footer-info {
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1440px;
    padding-top: 80px;
    padding-bottom: 50px;
    position: relative;
  }

  .image-3 {
    position: absolute;
    inset: auto 0% 0% auto;
  }

  .flex-block-2 {
    height: 82vh;
  }

  .service-item-wrapper {
    min-height: auto;
  }
}

@media screen and (max-width: 991px) {
  .hamburger {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    justify-content: center;
    align-items: center;
    width: 40px;
  }

  .nav-link {
    color: #000;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px;
  }

  .nav-link:hover {
    padding-left: 5px;
    padding-right: 5px;
  }

  .link-mobile {
    color: var(--cobalt);
    text-transform: none;
    font-family: "F 37 Gruffysoft", Arial, sans-serif;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-menu-new {
    grid-column-gap: 27px;
    grid-row-gap: 27px;
    border-top-style: none;
    border-top-width: 0;
    border-radius: 0;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    padding: 0;
    display: none;
  }

  .nav-menu-new.footer-block {
    justify-content: flex-end;
    align-items: center;
    width: auto;
    display: flex;
  }

  .full-screen-menu {
    max-width: 1372px;
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 25px;
    display: none;
    left: 0;
    overflow: visible;
  }

  .white-blocker {
    background-color: var(--light-blue);
    display: block;
    overflow: visible;
  }

  .menu-bot {
    background-color: #fff;
    width: 100%;
    height: 2px;
    padding-bottom: 0;
    padding-right: 0;
  }

  .menu-bot.black {
    background-color: #1a2b3c;
  }

  .topmenu {
    z-index: 9999;
  }

  .navbar-v4 {
    mix-blend-mode: normal;
    background-image: none;
  }

  .menu-top {
    background-color: #fff;
    width: 100%;
    height: 2px;
    padding-bottom: 0;
    padding-right: 0;
  }

  .menu-top.black {
    color: #000;
    background-color: #1a2b3c;
  }

  .nav-list-item-mobile {
    color: #1a2b3c;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 50px;
    text-decoration: none;
  }

  .menu-mid {
    background-color: #fff;
    width: 100%;
    height: 2px;
    padding-bottom: 0;
    padding-right: 0;
  }

  .menu-mid.black {
    background-color: #1a2b3c;
  }

  .nav-menu-new-open {
    grid-column-gap: 65px;
    grid-row-gap: 65px;
    border-top-style: none;
    border-top-width: 0;
    border-bottom-style: none;
    border-radius: 0;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    padding: 0;
    display: flex;
  }

  .burger-block {
    mix-blend-mode: normal;
    display: block;
  }

  .navbar {
    z-index: 30;
  }

  .header {
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 118px 20px 20px;
  }

  .column {
    order: 9999;
  }

  .column.aligntop {
    order: -9999;
  }

  .h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 80px;
    line-height: 80px;
  }

  .lead {
    font-size: 20px;
  }

  .image {
    aspect-ratio: 16 / 9;
    order: 0;
  }

  .chatals {
    width: 90vw;
    inset: -60px 0% auto auto;
  }

  .content {
    padding-top: 101px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    flex-flow: column;
  }

  .h2 {
    font-size: 60px;
    line-height: 100%;
  }

  .row._50 {
    width: 100%;
  }

  .card-item {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-flow: column;
  }

  .card-item.white.poussette {
    flex-flow: row;
  }

  .card-image {
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .card-image._3-2 {
    width: 50%;
  }

  .wrapper {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .card-wrapper-3col {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: column;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .image-2 {
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .image-3 {
    width: 180px;
  }

  .flex-block-2 {
    height: auto;
  }

  .slider {
    aspect-ratio: 3 / 2;
  }
}

@media screen and (max-width: 767px) {
  .navbar-button {
    font-size: 24px;
  }

  .nav-link {
    color: #000;
    padding: 0;
    font-size: 20px;
    display: inline-block;
  }

  .nav-link:hover {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-menu-new {
    border-radius: 0;
    flex-direction: column;
    padding-bottom: 30px;
  }

  .nav-menu-new.footer-block {
    flex-flow: row;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 0;
  }

  .full-screen-menu {
    flex: 1;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
    display: none;
    position: fixed;
    inset: 0% auto auto 0%;
  }

  .white-blocker {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .topmenu {
    grid-column-gap: 33px;
    grid-row-gap: 33px;
    flex-flow: wrap;
  }

  .navbar-v4 {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    width: 100%;
    padding: 12px;
  }

  .logotype {
    width: 200px;
  }

  .logotype.big {
    width: 150px;
  }

  .nav-menu-new-open {
    border-bottom-style: none;
    border-radius: 0;
    flex-direction: column;
    padding-bottom: 30px;
  }

  .image {
    aspect-ratio: 3 / 2;
  }

  .h2 {
    font-size: 50px;
  }

  .card-item.white.poussette {
    flex-flow: row;
  }

  .team-item-wrapper {
    grid-column-gap: 18px;
    grid-row-gap: 18px;
    padding: 10px;
  }

  .card-image._3-2 {
    aspect-ratio: auto;
    height: 100%;
  }

  .card-wrapper {
    grid-template-columns: 1fr;
  }

  .wrapper {
    grid-column-gap: 7px;
    grid-row-gap: 7px;
    flex-flow: column;
    grid-template-columns: 1fr 1fr;
  }

  .card-wrapper-3col {
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    grid-template-columns: 1fr;
  }

  .image-2 {
    width: 50%;
  }

  .code-embed {
    height: 400px;
    margin-bottom: 0;
  }

  .image-3 {
    width: 150px;
  }

  .service-item-wrapper {
    grid-column-gap: 18px;
    grid-row-gap: 18px;
  }
}

@media screen and (max-width: 479px) {
  .navbar-button {
    justify-content: flex-start;
    align-self: auto;
    align-items: flex-start;
    font-size: 16px;
    line-height: 12px;
    display: block;
  }

  .nav-link {
    padding: 0;
    font-size: 20px;
  }

  .nav-menu-new {
    z-index: -10;
    mix-blend-mode: normal;
    background-color: #ffffffb3;
    border-radius: 0;
    flex-direction: column;
    padding-bottom: 150px;
    position: static;
    inset: 0%;
  }

  .nav-menu-new.footer-block {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    background-color: #fff0;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .full-screen-menu {
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 16px 144px;
    display: none;
    overflow: visible;
  }

  .topmenu {
    padding: 0;
  }

  .nav-list-item {
    color: #000;
  }

  .navbar-v4 {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logotype.big {
    width: 150px;
  }

  .nav-list-item-mobile {
    color: #000;
  }

  .nav-menu-new-open {
    z-index: 0;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    mix-blend-mode: normal;
    background-color: #fff0;
    border-radius: 0;
    flex-direction: column;
    padding-bottom: 0;
    position: relative;
    inset: 0%;
  }

  .header {
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    height: 120vh;
    padding-top: 96px;
    overflow: hidden;
  }

  .column {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
  }

  .h1 {
    font-size: 40px;
    line-height: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .image {
    aspect-ratio: auto;
    height: 100%;
  }

  .button.pink {
    font-size: 13px;
  }

  .chatals {
    z-index: 1;
    width: 100vw;
    inset: -50px 0 auto -25px;
  }

  .content {
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .section.box-bluw {
    border-radius: 30px;
    padding: 40px 10px 10px;
  }

  .h2 {
    font-size: 40px;
  }

  .h3 {
    font-size: 20px;
  }

  .card-item.white.poussette {
    flex-flow: column;
  }

  .team-item-wrapper {
    min-height: auto;
    padding: 15px;
  }

  .card-image._3-2 {
    aspect-ratio: 3 / 2;
    width: 100%;
  }

  .wrapper {
    flex-flow: column;
    grid-template-columns: 1fr;
  }

  .code-embed {
    height: 400px;
  }

  .div-block {
    padding-left: 20px;
    padding-right: 20px;
  }

  .flex-block-2 {
    height: 100%;
  }

  .service-item-wrapper {
    min-height: auto;
    padding: 15px;
  }
}

.contact-poussette {
  grid-area: span 1 / span 2 / span 1 / span 2;
}

.contact-carte {
  grid-area: span 1 / span 3 / span 1 / span 3;
}

@media screen and (max-width: 991px) {
  .contact-poussette, .contact-carte {
    grid-column: span 2 / span 2;
  }
}

@media screen and (max-width: 767px) {
  .contact-carte {
    grid-column: span 2 / span 2;
  }
}

/* ── Menu mobile — comportement dans js/site.js ──────────────────────────── */
.navbar-v4 {
  transition: mix-blend-mode 0.3s ease 0.05s;
}

.navbar-v4.no-blend {
  mix-blend-mode: normal !important;
}

.logo {
  transition:
    color 0.3s ease,
    fill 0.3s ease,
    filter 0.3s ease;
}

.menu-top,
.menu-bot {
  transition:
    color 0.3s ease,
    fill 0.3s ease,
    filter 0.3s ease,
    transform 0.5s ease-in-out;
}

.menu-mid {
  transition: opacity 0.5s ease-in-out;
}

/* Bloquer le défilement de la page quand le menu est ouvert */
body.menu-open {
  overflow: hidden;
}

.full-screen-menu {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.full-screen-menu .white-blocker {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.navbar-v4.menu-affiche .full-screen-menu {
  display: flex;
}

.navbar-v4.menu-affiche .full-screen-menu .white-blocker {
  display: block;
}

.navbar-v4.menu-visible .full-screen-menu {
  opacity: 1;
  transition-duration: 0.5s;
}

.navbar-v4.menu-visible .full-screen-menu .white-blocker {
  opacity: 1;
}

.navbar-v4.menu-visible .menu-top {
  transform: translateY(10px) rotate(25deg);
}

.navbar-v4.menu-visible .menu-bot {
  transform: translateY(-10px) rotate(-25deg);
}

.navbar-v4.menu-visible .menu-mid {
  opacity: 0;
}

.menu-button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

/* ── Fiches de l’équipe : parcours dépliable — comportement dans js/site.js ─ */
.a-parcours > .team-item-wrapper {
  cursor: pointer;
}

.a-parcours .cross:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.cross {
  transition: transform 0.5s ease-in-out;
}

.team-item.is-open .cross {
  transform: rotate(45deg);
}

.a-parcours .rich-text-block {
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0.5s;
}

.team-item.is-open .rich-text-block {
  opacity: 1;
  visibility: visible;
  transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s;
}

/* ── Carte d’accès (MapLibre, fond swisstopo) — comportement dans js/site.js ─ */
/* La carte remplit son cadre (.code-embed : 600 px, 400 px sur mobile) : repères au centre,
   crédits swisstopo visibles en bas à droite. */
#map {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: #eef1ef;
}

.marker,
.marker-p {
  width: 40px;
  height: 63px;
}

.marker svg,
.marker-p svg {
  display: block;
}

#map .maplibregl-ctrl-attrib {
  font-family: Arial, sans-serif;
}

/* ── Mouvements réduits ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .carrousel.anime .carrousel-diapo,
  .full-screen-menu,
  .full-screen-menu .white-blocker,
  .menu-top, .menu-bot, .menu-mid, .cross,
  .a-parcours .rich-text-block {
    transition: none;
  }
}
