:root {
  --blue: #2490eb;
  --blue-dark: #14457b;
  --navy: #163e73;
  --ink: #1c140f;
  --muted: #5c6570;
  --bg: #f6f8fb;
  --line: #e4edf5;
  --white: #fff;
  --shadow: 0 16px 40px rgba(20, 69, 123, 0.08);
  --max: 1240px;
  --edge: max(78px, calc((100vw - var(--max)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Quicksand, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/quicksand-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/quicksand-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue-dark);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.topbar .wrap,
.header .wrap,
.footer .wrap,
.section,
.page-hero .wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  width: 100%;
  margin: 0;
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.topbar { position: relative; z-index: 40; }
.advice { position: relative; flex: 0 0 auto; padding-right: 22px; }
.advice-btn {
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
  white-space: nowrap;
}
.advice-btn:hover { text-decoration: underline; }
.advice-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(20, 69, 123, 0.18);
  padding: 8px;
}
.topbar .advice-menu a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.topbar .advice-menu a:hover { background: #f4f8fc; color: var(--blue); text-decoration: none; }
.topbar .advice-menu a.is-all { color: var(--blue); border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0; }
.top-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding-left: 22px;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.top-title .top-home + span {
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  margin-left: 16px;
  padding-left: 16px;
}
.topbar a.top-home,
.topbar a.top-home:hover {
  color: #fff;
  text-decoration: none;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .advice-menu > a {
  display: block;
  color: #1c140f;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.topbar .advice-menu > a:hover {
  background: #f4f8fc;
  color: var(--blue);
  text-decoration: none;
}
.advice-credit {
  margin: 8px 4px 2px;
  padding: 10px 8px 4px;
  border-top: 1px solid var(--line);
  color: #5c6570;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.topbar .advice-menu .advice-credit a {
  display: inline;
  padding: 0;
  color: var(--blue);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.fiche-credit {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.post-body .fiche-end {
  margin: 0;
  text-align: center;
}
.post-body .fiche-credit + .fiche-end { margin-top: 14px; }
.fiche-avail {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #d7e4f2;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #f4f8fc;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.fiche-avail a { color: var(--blue); text-decoration: underline; }
.fiche-codes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 8px 0 22px;
}
.fiche-codes a { display: block; line-height: 0; }
.fiche-codes img { display: block; width: 200px; height: auto; }
.top-links { display: flex; gap: 16px; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.6vw, 28px);
  min-height: 86px;
  width: 100%;
  margin: 0;
  padding-left: var(--edge);
  padding-right: 32px;
  container-type: inline-size;
}
.logo { flex: 0 0 auto; }
.logo img { width: 168px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.9cqi, 16px);
  margin-left: 0;
  min-width: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(10.5px, 0.95cqi, 14px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--blue); }
.nav .btn {
  padding: 12px 14px;
  font-size: clamp(11px, 1.05cqi, 13px);
  margin-left: 4px;
}
.nav-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-left: 4px;
}
.nav .nav-book .btn { margin-left: 0; }
.btn.btn-locate {
  font-family: inherit;
  background: transparent;
  color: var(--blue) !important;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  flex: none;
}
.btn.btn-locate svg { flex: none; width: 34px; height: 34px; }
.btn.btn-locate:hover { background: transparent; color: var(--blue-dark) !important; }
.btn.btn-locate:disabled { opacity: .7; cursor: wait; }
.locate-status {
  margin: 0;
  padding: 12px var(--edge);
  background: #fff4f4;
  color: #9d0e0e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}
.locate-status[hidden] { display: none !important; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  padding: 13px 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); }
.btn.btn-book,
.btn.btn-consult { background: #c41212; }
.btn em { font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; }
.btn.btn-book:hover,
.btn.btn-consult:hover { background: #9d0e0e; }
.btn.btn-visit { background: #e86b12; }
.btn.btn-visit:hover { background: #c85a0c; }
.btn.btn-pharma { background: #00843d; }
.btn.btn-pharma:hover { background: #006b31; }
.pharma-action { text-align: center; }
.quick-actions .btn svg { flex: none; }
.btn.ghost {
  background: #fff;
  color: var(--blue-dark) !important;
  border: 1px solid var(--line);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 54px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.hero { position: relative; width: 100%; background: #eef5fb; overflow: hidden; }
.hero-slide { display: none; position: relative; width: 100%; }
.hero-slide.is-active { display: block; }
.hero-slide img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hero-layer {
  from { opacity: 0; transform: translateX(48px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-slide.is-active img {
  animation: hero-fade 0.9s ease both;
}
.hero-slide.is-active .hero-copy > * {
  animation: hero-layer 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero-slide.is-active .hero-copy > :nth-child(1) { animation-delay: 0.45s; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: 0.7s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: 0.95s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: 1.15s; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active img,
  .hero-slide.is-active .hero-copy > * { animation: none; }
}
.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--edge);
  transform: translateY(-48%);
  width: min(700px, 50vw);
  margin: 0;
  padding: 0;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 72px;
  border: 0;
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow-prev { left: 0; }
.hero-arrow-next { right: 0; }
.kicker {
  display: inline-block;
  background: #d3e9fb;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 3px;
}
.hero h1, .hero h2 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}
.hero p { max-width: 620px; color: var(--muted); font-weight: 600; margin: 0 0 22px; }
.hero-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #e5e5e5;
  background: var(--blue-dark);
  padding: 0;
  cursor: pointer;
}
.hero-nav button[aria-current="true"] { background: var(--blue); }

.quick-actions {
  display: none;
  background: var(--bg);
  padding: 16px;
  gap: 10px;
}
.quick-actions .btn { width: 100%; }

.dept {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  aspect-ratio: 880 / 920;
}
.dept-svg { display: block; width: 100%; height: 100%; }
.dept-shape {
  fill: #f3f8fd;
  stroke: #c5daf0;
  stroke-width: 1.8;
  stroke-linejoin: round;
  filter: drop-shadow(0 16px 28px rgba(20, 69, 123, .08));
}
.dept-pin {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-6px, -50%);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.dept-pin.name-left {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 6px), -50%);
}
.dept-pin.nudge-up .dept-name { transform: translateY(-18px); }
.dept-pin.nudge-down .dept-name { transform: translateY(18px); }
.dept-dot {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px #fff;
}
.dept-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: pin-pulse 2.4s ease-out infinite;
}
.dept-pin:nth-of-type(2) .dept-dot::after { animation-delay: .4s; }
.dept-pin:nth-of-type(3) .dept-dot::after { animation-delay: .8s; }
.dept-pin:nth-of-type(4) .dept-dot::after { animation-delay: 1.2s; }
.dept-pin:nth-of-type(5) .dept-dot::after { animation-delay: 1.6s; }
.dept-pin:nth-of-type(6) .dept-dot::after { animation-delay: 2s; }
.dept-name {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(20, 69, 123, .08);
}
.dept-card {
  position: absolute;
  z-index: 4;
  top: calc(100% + 10px);
  left: 0;
  width: 240px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 69, 123, .16);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.dept-pin.card-up .dept-card {
  top: auto;
  bottom: calc(100% + 10px);
}
.dept-pin.card-left .dept-card {
  left: auto;
  right: 0;
}
.dept-result {
  max-width: 720px;
  margin: -8px auto 22px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 600;
}
.dept-result[hidden] { display: none; }
.dept-result a { color: var(--blue); }
.dept-result .dept-rdv { color: #c41212; }
.dept-you {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.dept-you span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.dept-pin.is-nearest .dept-dot {
  background: #c41212;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #c41212;
}
.dept-pin.is-nearest .dept-name { color: #c41212; }
.dept-pin:hover .dept-card,
.dept-pin:focus-visible .dept-card,
.dept-pin.is-open .dept-card {
  opacity: 1;
  visibility: visible;
}
.dept-card strong {
  display: block;
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 600;
}
.dept-addr { display: block; color: var(--muted); }
.dept-when {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dept-hours { display: block; margin-top: 6px; }
.dept-pin:hover,
.dept-pin:focus-visible,
.dept-pin.is-open { z-index: 6; color: #c41212; }
.dept-pin:hover .dept-dot,
.dept-pin:focus-visible .dept-dot,
.dept-pin.is-open .dept-dot { background: #c41212; }
.dept-pin:hover .dept-dot::after,
.dept-pin:focus-visible .dept-dot::after,
.dept-pin.is-open .dept-dot::after { border-color: #c41212; }
.dept-pin:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 4px; border-radius: 999px; }
@keyframes pin-pulse {
  0% { transform: scale(.45); opacity: .8; }
  75% { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dept-dot::after { animation: none; opacity: .4; transform: none; }
}
@media (max-width: 800px) {
  .dept-pin { font-size: 13px; gap: 6px; }
  .dept-name { padding: 2px 6px; }
}

.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
}
.section-head p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 28px; align-items: start; }
.grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-inline: auto;
}
.grid.four { grid-template-columns: repeat(4, 1fr); }
.place { position: relative; }
.place-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.place-photo img { width: 100%; height: auto; display: block; }
.place-tools {
  position: absolute;
  z-index: 2;
  top: -140px;
  right: 16px;
  width: 56px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  background: var(--blue);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  transition: top .45s ease, opacity .45s ease;
}
.place:hover .place-tools,
.place:focus-within .place-tools {
  top: 0;
  opacity: 1;
}
.place-tools a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
}
.place-tools a:hover { background: var(--blue-dark); }
.place-tools a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.place-info {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  background: #fff;
  margin: -14px 8% 0;
  padding: 16px 12px 14px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 20, 9, .1);
  transition: transform .45s ease;
}
.place:hover .place-info,
.place:focus-within .place-info { transform: translateY(-28px); }
.place-info h3 { margin: 0 0 4px; font-size: clamp(12px, 7.5cqi, 22px); font-weight: 600; line-height: 1.2; }
.place-info h3 a { display: block; white-space: nowrap; color: var(--ink); text-decoration: none; }
.place-info h3 a:hover { color: var(--blue); }
.place-info p {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split img { width: 100%; border-radius: 4px; }
.split h2 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.15;
  font-weight: 600;
  max-width: 11em;
}
.checks { list-style: none; padding: 0; margin: 18px 0 24px; }
.checks li { padding: 7px 0 7px 28px; position: relative; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.page-hero {
  background: linear-gradient(90deg, #eef6fd, #f8fbfe);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.page-hero h1 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.crumbs { color: var(--muted); font-size: 14px; font-weight: 600; }
.crumbs a { text-decoration: none; }

.notice {
  background: #fff4f4;
  color: #b42318;
  border: 1px solid #ffd2d2;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.cabinet {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 102px;
}
.side-menu {
  list-style: none;
  margin: 0 0 22px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
}
.side-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0;
  padding: 12px 14px;
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}
.side-menu a::after {
  content: "›";
  flex: 0 0 auto;
  color: #8b95a1;
  font-size: 20px;
  line-height: 1;
}
.side-menu a:hover {
  background: #f4f8fc;
  color: var(--blue);
}
.side-menu a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}
.side-menu a[aria-current="page"]::after { color: #fff; }
.side-menu a[href$="/remplacements/"] {
  color: #c41212;
}
.side-menu a[href$="/remplacements/"]::after { color: #c41212; }
.side-menu a[href$="/remplacements/"]:hover {
  background: #fff1f1;
  color: #9d0e0e;
}
.side-menu a[href$="/remplacements/"]:hover::after { color: #9d0e0e; }
.side-menu a[href$="/remplacements/"][aria-current="page"] {
  background: #c41212;
  color: #fff;
}
.side-menu a[href$="/remplacements/"][aria-current="page"]::after { color: #fff; }
.sidebar img { width: 100%; height: auto; border-radius: 4px; }
.phone-card { position: relative; }
.side-reach { margin-top: 18px; display: grid; gap: 10px; }
.side-reach p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.side-reach .btn { width: 100%; }
.phone-hit {
  position: absolute;
  left: 5%;
  width: 90%;
  height: 8%;
  border-radius: 6px;
}
.phone-hit-consult { top: 41%; }
.phone-hit-visit { top: 69.6%; }
.phone-hit:hover,
.phone-hit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.cabinet-main h2 { margin: 22px 0 12px; font-size: 26px; font-weight: 600; }
.cabinet-main > img { width: 100%; border-radius: 4px; margin: 8px 0 4px; }
.hours-card { position: relative; margin: 8px 0 4px; }
.hours-card img { width: 100%; height: auto; display: block; border-radius: 4px; }
.hours-today {
  position: absolute;
  left: 4.1%;
  width: 49.4%;
  height: 8.6%;
  border-radius: 8px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #2490eb;
  pointer-events: none;
}
.hours-today[data-day="0"] { top: 27.6%; }
.hours-today[data-day="1"] { top: 36.8%; }
.hours-today[data-day="2"] { top: 46.0%; }
.hours-today[data-day="3"] { top: 55.3%; }
.hours-today[data-day="4"] { top: 64.4%; }
.hours-today[data-day="5"] { top: 73.7%; }
.hours-today[data-day="6"] { top: 82.9%; }
.phone-banner { display: block; width: min(320px, 100%); margin: 0 auto 16px; }
.phone-banner img { width: 100%; height: auto; }
.cabinet-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.id-note {
  margin: 16px 0 20px;
  padding: 16px 18px;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  color: var(--blue-dark);
  background: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.checks-two { columns: 2; column-gap: 28px; }
.prose h2 { margin-top: 0; font-size: 28px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 8px; }
.gallery img { width: 100%; border-radius: 8px; object-fit: cover; aspect-ratio: 4 / 3; }
.map { width: 100%; min-height: 360px; border: 0; border-radius: 8px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.footer { background: var(--navy); color: #d7e4f2; padding-top: 56px; }
.footer a, .footer button { color: #fff; text-decoration: none; }
.footer a:hover, .footer button:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 36px; padding-bottom: 36px; }
.footer h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  display: inline-block;
  border-bottom: 2px solid #fff;
  padding-bottom: 8px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 10px 0; }
.footer li button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.footer li a::before, .footer li button::before { content: "›"; margin-right: 10px; }
.footer .logo-white { width: 170px; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 360px; }
.copy {
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.cookies {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(420px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(16, 40, 70, .18);
  padding: 16px;
  z-index: 40;
}
.cookies p { margin: 8px 0; color: var(--muted); font-size: 14px; }
.cookies .row { display: flex; gap: 8px; }
.cookies .row .btn { flex: 1; }
.cookies[hidden] { display: none; }

@media (max-width: 1200px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 28px 28px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 0;
    max-height: calc(100vh - 90px);
    overflow: auto;
  }
  .header.is-open .nav a {
    font-size: clamp(16px, 4.6vw, 20px);
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .header.is-open .nav .btn {
    width: auto;
    max-width: 100%;
    align-self: center;
    margin: 18px auto 0;
    border-bottom: 0;
    padding: 14px 22px;
    font-size: clamp(13px, 3.4vw, 15px);
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .header.is-open .nav .nav-book {
    align-self: center;
    margin: 18px auto 0;
  }
  .header.is-open .nav .nav-book .btn { margin: 0; }
  .header.is-open .nav .btn.btn-locate {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
  }
  .menu-toggle { display: inline-flex; }
  .sidebar { display: none; }
  .cabinet { grid-template-columns: minmax(0, 1fr); }
  .header .wrap { position: relative; }
  .hero-copy {
    width: min(520px, calc(100% - 80px));
    top: 50%;
    transform: translateY(-50%);
  }
}
@media (max-width: 800px) {
  .section { padding: 48px 0; }
  .footer-grid, .split, .gallery, .cabinet { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .checks-two { columns: 1; }
  .hero-slide.is-active { min-height: 520px; }
  .hero-slide.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 46%, rgba(255,255,255,0) 78%);
  }
  .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  .header .wrap, .topbar .wrap { padding-left: 20px; padding-right: 16px; }
  .advice { padding-right: 0; }
  .top-title .top-home + span { display: none; }
  .hero-copy {
    left: 20px;
    right: auto;
    width: min(340px, 62%);
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
  }
  .hero-arrow { display: none; }
  .quick-actions { display: grid; }
}
@media (max-width: 640px) {
  .grid.two, .grid.four { grid-template-columns: 1fr; }
  .topbar .wrap { align-items: center; padding: 0; }
  .hero-slide.is-active { min-height: 460px; }
  .hero-copy { left: 16px; }
  .hero h1, .hero h2 { font-size: 30px; }
  .hero p { display: none; }
  .footer .wrap, .section, .page-hero .wrap {
    width: min(var(--max), calc(100% - 24px));
  }
  .header .wrap, .topbar .wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .logo img { width: 132px; }
  .post-card, .pro-form { grid-template-columns: 1fr; }
  .post-card img { width: 100%; height: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

.post-body h2 { margin: 28px 0 10px; font-size: 26px; font-weight: 600; }
.post-body h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 700; }
.post-body p { margin: 0 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 16px; padding-left: 22px; }
.post-body li { margin: 6px 0; }
.post-body img { width: 100%; border-radius: 8px; margin: 8px 0 16px; }
.post-body a[target="_blank"]:not(:has(img)) { text-decoration: underline; }
.post-body a.btn[target="_blank"]:not(:has(img)) { text-decoration: none; }
.manoeuvre {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: center;
  margin: 4px 0 18px;
}
.post-body .manoeuvre img { width: 100%; height: auto; border-radius: 0; margin: 0; }
@media (max-width: 800px) {
  .manoeuvre { grid-template-columns: 1fr 1fr; }
  .manoeuvre .dessin { grid-column: 1 / -1; order: -1; }
}
.post-body .fiche-codes img { border-radius: 0; margin: 0; }
.post-body .fiche-codes img { width: 220px; height: auto; }
.byline { color: var(--muted); font-size: 14px; font-weight: 700; margin: 0 0 18px; }
.post-list { display: grid; gap: 14px; }
.post-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.post-card:hover { border-color: var(--blue); }
.post-card img { width: 168px; height: 96px; object-fit: cover; border-radius: 8px; margin: 0; }
.post-card h2 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--blue-dark); }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.stat { background: #f4f8fc; border-radius: 12px; padding: 16px 10px; text-align: center; }
.stat b { display: block; color: var(--blue); font-size: 28px; line-height: 1.1; }
.stat span { font-size: 13px; font-weight: 700; color: var(--muted); }
.pro-note { background: #f4f8fc; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.pro-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pro-form .full { grid-column: 1 / -1; }
.pro-form .btn { width: 100%; }
.pro-form input, .pro-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-row img { width: 168px; height: 56px; border: 1px solid var(--line); border-radius: 8px; background: #f4f8fc; }
.captcha-row input { flex: 1; min-width: 180px; }
.captcha-refresh {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin: 8px 0 0; font-weight: 700; }
.form-status.ok { color: #166534; }
.form-status.err { color: #b42318; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; line-height: 1.45; }
.legal-table th, .legal-table td { border: 1px solid #d5e3f0; padding: 12px 14px; vertical-align: top; text-align: left; }
.legal-table th { background: var(--blue); color: #fff; font-weight: 700; text-align: center; }
.legal-table strong { font-weight: 700; }
