/* Dimanche — hero aligned with /urgence-veterinaire + site burger header. */

@font-face {
  font-family: 'Spartan';
  src: url('https://static.tildacdn.one/tild3734-3135-4437-b864-346438336533/Spartan-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spartan';
  src: url('https://static.tildacdn.one/tild3037-3663-4234-b639-633431333865/Spartan-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spartan';
  src: url('https://static.tildacdn.one/tild6333-6335-4231-b035-306432663535/Spartan-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.mvet-dimanche {
  margin: 0;
  color: #0f2a3a;
  background: #fff;
  font-family: 'Spartan', Arial, sans-serif;
  line-height: 1.5;
}
.mvet-dimanche-skip {
  position: absolute;
  left: -9999px;
}
.mvet-dimanche-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: #fff;
  padding: 8px 12px;
}

/* Site burger is position:fixed — clear it (same 100px as other pages). */
body.mvet-dimanche #allrecords {
  padding-top: var(--mvet-header-offset, 100px);
  box-sizing: border-box;
}

/*
 * Dimanche has no Tilda responsive CSS, so the injected desktop bar
 * (t-screenmin-980px) would otherwise paint over the hero. Force the
 * same burger-only chrome as the rest of the site.
 */
body.mvet-dimanche #rec722610950,
body.mvet-dimanche #rec912009766,
body.mvet-dimanche #rec1169727786,
body.mvet-dimanche #rec1286147091 {
  display: none !important;
}
body.mvet-dimanche #rec1119081471,
body.mvet-dimanche #rec1140630036 {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.mvet-dimanche #rec1119081471 .t396__artboard,
body.mvet-dimanche #rec1140630036 .t396__artboard,
body.mvet-dimanche #rec1119081471 .t396__filter,
body.mvet-dimanche #rec1140630036 .t396__filter,
body.mvet-dimanche #rec1119081471 .t396__carrier,
body.mvet-dimanche #rec1140630036 .t396__carrier {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100px !important;
  min-height: 100px !important;
  z-index: 1005 !important;
  overflow: hidden !important;
  background: #fff !important;
}
body.mvet-dimanche #rec1119081471 .t396__filter,
body.mvet-dimanche #rec1140630036 .t396__filter,
body.mvet-dimanche #rec1119081471 .t396__carrier,
body.mvet-dimanche #rec1140630036 .t396__carrier {
  z-index: 0 !important;
  background: transparent !important;
}
/* Tilda zero-block elems need absolute positioning (no tilda-blocks CSS here). */
body.mvet-dimanche #rec1119081471 .tn-elem,
body.mvet-dimanche #rec1119081471 .t396__elem,
body.mvet-dimanche #rec1140630036 .tn-elem,
body.mvet-dimanche #rec1140630036 .t396__elem {
  position: absolute !important;
  box-sizing: border-box;
}
body.mvet-dimanche #rec1119081471 .tn-atom img,
body.mvet-dimanche #rec1140630036 .tn-atom img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Compact burger chrome — same as /urgence-veterinaire (mobile + desktop). */
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750680131697"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750680131697"] {
  display: none !important;
}
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750576925274"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750576925274"] {
  top: 10px !important;
}
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664405852"],
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664426162"],
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664437516"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664405852"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664426162"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664437516"] {
  top: 14px !important;
  z-index: 28 !important;
}
body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664437516"],
body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664437516"] {
  z-index: 30 !important;
}

/*
 * Turquoise tel: pill — identical to urgence header.
 * Dimanche has no Tilda button CSS, so we style the atom ourselves.
 */
html body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"],
html body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] {
  top: 50px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(300px, calc(100vw - 32px)) !important;
  height: 40px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}
html body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"] .tn-atom,
html body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"] a.tn-atom,
html body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] .tn-atom,
html body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] a.tn-atom {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  background: #00aeb5 !important;
  color: #fff !important;
  font: 700 16px/1.2 'Spartan', Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
html body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"] .tn-atom__button-text,
html body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] .tn-atom__button-text {
  color: #fff !important;
  font: inherit !important;
}

/* Desktop paid-landing: phone on the logo row (no empty white under logo). */
@media (min-width: 981px) {
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750576925274"],
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750576925274"] {
    top: 20px !important;
  }
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664405852"],
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664426162"],
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1750664437516"],
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664405852"],
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664426162"],
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1750664437516"] {
    top: 26px !important;
  }
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"],
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] {
    top: 20px !important;
    height: 60px !important;
  }
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"] .tn-atom,
  html.mvet-paid-landing body.mvet-dimanche #rec1119081471 .tn-elem[data-elem-id="1678362089816"] a.tn-atom,
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] .tn-atom,
  html.mvet-paid-landing body.mvet-dimanche #rec1140630036 .tn-elem[data-elem-id="1678362089816"] a.tn-atom {
    min-height: 60px !important;
    border-radius: 30px !important;
    font-size: 20px !important;
  }
}

/* ----- Page body ----- */
.mvet-dimanche-main {
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
}

/* ----- Hero (urgence visual reference) ----- */
.mvet-dimanche-hero {
  display: flex;
  flex-direction: column;
  background: #00aeb5;
  color: #fff;
  padding: 20px 0 0;
  margin: 0 0 28px;
  overflow: hidden;
}
.mvet-dimanche-hero__copy {
  padding: 0 47px 20px;
  box-sizing: border-box;
}
.mvet-dimanche-hero h1 {
  font-family: 'Spartan', Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 33px;
  letter-spacing: -0.33px;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #fff;
  max-width: 300px;
}
.mvet-dimanche-lead {
  font-family: 'Spartan', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  margin: 0 0 28px;
  color: #fff;
  max-width: 289px;
}
.mvet-dimanche-lead a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mvet-dimanche-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 295px;
}
.mvet-dimanche-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 100px;
  font: 700 14px/21px 'Spartan', Arial, sans-serif;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  text-transform: uppercase;
}
.mvet-dimanche-btn--call {
  background: #fff;
  color: #101623;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.mvet-dimanche-btn--book {
  flex-direction: column;
  gap: 6px;
  min-height: 52px;
  padding: 10px 18px 12px;
  background: linear-gradient(90deg, rgb(155, 159, 254) 0%, rgb(96, 103, 219) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.mvet-dimanche-btn__label {
  display: block;
  line-height: 1.2;
}
.mvet-dimanche-btn--book .mvet-cta-subtitle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 2px 9px 2px 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff6a1f 0%, #ff4d1f 100%) !important;
  color: #fff !important;
  font-family: 'Spartan', Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(255, 77, 31, 0.28) !important;
}
.mvet-dimanche-btn--book .mvet-cta-subtitle__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}
.mvet-dimanche-btn--book .mvet-cta-subtitle__prefix {
  font-weight: 600;
  text-transform: lowercase;
}
.mvet-dimanche-btn--book .mvet-cta-subtitle__amount {
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Hero photo — mobile: under CTAs, top corners 40px (urgence). */
.mvet-dimanche-hero__media {
  width: 100%;
  margin: 0;
  line-height: 0;
}
.mvet-dimanche-hero__media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  /* Keep vet face + dog head in frame (4:3 source, short mobile crop). */
  object-position: 58% 42%;
  border-radius: 40px 40px 0 0;
}

/* ----- Content below hero ----- */
.mvet-dimanche-section {
  margin: 0 16px 32px;
  max-width: 800px;
}
.mvet-dimanche-section h2 {
  font-family: 'Spartan', Arial, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: #0f2a3a;
}
.mvet-dimanche-section p {
  margin: 0 0 10px;
  font-size: 0.98rem;
}
.mvet-dimanche-section a {
  color: #0a6e74;
}
.mvet-dimanche-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 14px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #d7e3e6;
  border-radius: 14px;
  overflow: hidden;
  min-height: 100px;
}
.mvet-dimanche-card__media {
  width: 120px;
  min-height: 100px;
  overflow: hidden;
  background: #e8f2f3;
}
.mvet-dimanche-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mvet-dimanche-card__text {
  padding: 12px 14px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mvet-dimanche-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.mvet-dimanche-card p { margin: 0 0 4px; font-size: 0.95rem; }

.mvet-dimanche-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 800px;
}
.mvet-dimanche-hours li {
  background: #f7fbfb;
  border: 1px solid #d7e3e6;
  border-radius: 12px;
  padding: 14px 16px;
}

.mvet-dimanche-footer {
  border-top: 1px solid #e6eef0;
  padding: 20px 16px 40px;
  text-align: center;
  color: #3d5560;
  font-size: 14px;
}
.mvet-dimanche-footer a { color: #0f766e; }

@media (max-width: 560px) {
  .mvet-dimanche-hero__copy {
    padding: 0 24px 16px;
  }
  .mvet-dimanche-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .mvet-dimanche-card__media {
    width: 108px;
  }
}

/* Desktop — text left, photo right (urgence: radius 60px 0 0 60px). */
@media (min-width: 981px) {
  .mvet-dimanche-hero {
    flex-direction: row;
    align-items: stretch;
    min-height: 692px;
    padding: 0;
    margin-bottom: 40px;
  }
  .mvet-dimanche-hero__copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px 48px 48px;
    max-width: none;
  }
  .mvet-dimanche-hero h1 {
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: -0.96px;
    max-width: 542px;
    margin-bottom: 24px;
  }
  .mvet-dimanche-lead {
    font-size: 20px;
    line-height: 30px;
    max-width: 664px;
    margin-bottom: 32px;
  }
  .mvet-dimanche-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 640px;
    gap: 14px;
  }
  .mvet-dimanche-btn {
    font-size: 16px;
    min-height: 56px;
    width: auto;
    flex: 1 1 220px;
    padding: 10px 24px;
  }
  .mvet-dimanche-btn--book {
    min-height: 56px;
  }
  .mvet-dimanche-hero__media {
    flex: 0 0 40%;
    max-width: 512px;
    width: 40%;
    align-self: stretch;
  }
  .mvet-dimanche-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 692px;
    object-position: 62% 40%;
    border-radius: 60px 0 0 60px;
  }
  .mvet-dimanche-section,
  .mvet-dimanche-hours {
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
}
