/* GATARD 1.12.52 — local font, scoped to the six module content roots.
 * Separate family name: loading it cannot change the theme/header/footer font.
 * Title hierarchy, icon drawings, media dimensions and card grids stay intact.
 */
@font-face { font-family: "GatardPagesPoppins"; src: url("../fonts/contact/poppins-latin-400-normal.woff2?v=1.12.52") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "GatardPagesPoppins"; src: url("../fonts/contact/poppins-latin-500-normal.woff2?v=1.12.52") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "GatardPagesPoppins"; src: url("../fonts/contact/poppins-latin-600-normal.woff2?v=1.12.52") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "GatardPagesPoppins"; src: url("../fonts/contact/poppins-latin-700-normal.woff2?v=1.12.52") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "GatardPagesPoppins"; src: url("../fonts/contact/poppins-latin-800-normal.woff2?v=1.12.52") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }

:is(
  #gatard-home#gatard-home#gatard-home#gatard-home,
  #gatard-carte#gatard-carte#gatard-carte#gatard-carte,
  #gatard-locations#gatard-locations#gatard-locations#gatard-locations,
  #gatard-events#gatard-events#gatard-events#gatard-events,
  #gatard-gallery#gatard-gallery#gatard-gallery#gatard-gallery,
  #gatard-contact-page#gatard-contact-page#gatard-contact-page#gatard-contact-page
),
:is(
  #gatard-home#gatard-home#gatard-home#gatard-home,
  #gatard-carte#gatard-carte#gatard-carte#gatard-carte,
  #gatard-locations#gatard-locations#gatard-locations#gatard-locations,
  #gatard-events#gatard-events#gatard-events#gatard-events,
  #gatard-gallery#gatard-gallery#gatard-gallery#gatard-gallery,
  #gatard-contact-page#gatard-contact-page#gatard-contact-page#gatard-contact-page
) :where(h1,h2,h3,h4,h5,h6,p,div,span,a,button,input,select,textarea,label,small,strong,b,em,figcaption,blockquote,li,dt,dd):not([class*="icon"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.material-symbols-outlined):not(svg *) {
  font-family: "GatardPagesPoppins", Arial, Helvetica, sans-serif !important;
}

/* Fix the half-gutter of the Contact hero (7.5px instead of 15px). */
#gatard-contact-page#gatard-contact-page .gatard-contact-hero-v3__inner {
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  max-width: 1800px !important;
  margin-inline: auto !important;
}

/* The current hero markup was missing from the old text-size selectors. */
#gatard-events#gatard-events#gatard-events .gatard-events__hero-inner > p,
#gatard-contact-page#gatard-contact-page#gatard-contact-page .gatard-contact-hero-v3__text {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

#gatard-contact-page#gatard-contact-page#gatard-contact-page .gatard-contact-hero-v3__btn {
  font-size: 14px !important;
}

/* Keep every functional pictogram intact when its text wraps beside it. */
#gatard-home .gatard-home__button-icon,
#gatard-home .gatard-home__icon-frame,
#gatard-carte .gatard-carte__note-icon,
#gatard-carte .gatard-carte__phone-icon,
#gatard-locations .gatard-icon,
#gatard-events .gatard-icon,
#gatard-events .gatard-project-v3__step-icon,
#gatard-gallery .gatard-gallery__tab-ico,
#gatard-contact-page .gatard-contact-hero-v3__btn-icon,
#gatard-contact-page .gatard-contact-tab__icon,
#gatard-contact-page .gatard-contact-sidebar__icon {
  flex-shrink: 0 !important;
}

/* Narrow layouts must accommodate the real local font, including long labels. */
@media (max-width: 767.999px) {
  html body #gatard-home#gatard-home#gatard-home .gatard-home__hero-title,
  html body #gatard-carte#gatard-carte#gatard-carte #gatard-carte-title,
  html body #gatard-locations#gatard-locations#gatard-locations .gatard-locations__hero h1,
  html body #gatard-events#gatard-events#gatard-events .gatard-events__hero h1,
  html body #gatard-gallery#gatard-gallery#gatard-gallery .gatard-gallery__hero h1,
  html body #gatard-contact-page#gatard-contact-page#gatard-contact-page #gatard-contact-title {
    font-size: 34px !important;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100%;
  }
  #gatard-contact-page#gatard-contact-page .gatard-contact-hero-v3__actions,
  #gatard-events#gatard-events .gatard-events__hero-actions {
    flex-wrap: wrap !important;
  }
}

/* Include fractional CSS pixels at the tablet/desktop boundary (browser zoom). */
@media (min-width: 768px) and (max-width: 1199.999px) {
  html body #gatard-home#gatard-home#gatard-home .gatard-home__hero-title,
  html body #gatard-carte#gatard-carte#gatard-carte #gatard-carte-title,
  html body #gatard-locations#gatard-locations#gatard-locations .gatard-locations__hero h1,
  html body #gatard-events#gatard-events#gatard-events .gatard-events__hero h1,
  html body #gatard-gallery#gatard-gallery#gatard-gallery .gatard-gallery__hero h1,
  html body #gatard-contact-page#gatard-contact-page#gatard-contact-page #gatard-contact-title {
    font-size: 44px !important;
  }
}
