/* ==========================================================================
   GS FAÇADES — Modèle 2
   Charte : simple, efficace, peu animée. Angles droits, pas de border-radius.
   Fonts et couleurs du thème conservées (Limelight / Montserrat, primary/secondary).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  --gs-nav-h: 88px;

  --gs-ink: #24211e;
  --gs-body: #4d4844;
  --gs-muted: #7d7671;
  --gs-line: #e4ded7;
  --gs-line-strong: #cfc6bc;
  --gs-sand: #f6f4f2;
  --gs-dark: #1d1b19;

  --gs-max: 1340px;
  --gs-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --gs-section-y: clamp(3rem, 5vw, 5rem);

  --gs-t: 0.2s ease;

  /* ---- Palette du footer -------------------------------------------------
     Seul endroit à éditer pour recolorer le footer. footer.php consomme ces
     variables ; les réglages de l'admin ne sont plus que des valeurs de repli. */
  --gs-foot-bg: #1d1b19;
  --gs-foot-text: rgba(255, 255, 255, 0.72);
  --gs-foot-border: rgba(255, 255, 255, 0.14);

  --gs-foot-link: #ffffff;
  --gs-foot-link-hover: var(--color-primary);
  --gs-foot-menu-size: 1rem;

  --gs-foot-icon: var(--color-primary);
  --gs-foot-icon-hover: #ffffff;

  --gs-foot-tile: rgba(255, 255, 255, 0.03);
  --gs-foot-tile-hover: rgba(255, 255, 255, 0.07);

  --gs-foot-social-bg: rgba(255, 255, 255, 0.08);
  --gs-foot-social-bg-hover: var(--color-primary);
  --gs-foot-social-icon: #ffffff;
  --gs-foot-social-icon-hover: #ffffff;
}

@media (max-width: 1023px) {
  :root {
    --gs-nav-h: 72px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body {
  color: var(--gs-body);
  background-color: #fff;
}

body .site-main {
  overflow-x: clip;
}

/* Angles droits sur tout le modèle (hors composants FAQ / avis gérés à part) */
.site-main :where(a, img, div, section, span, input, textarea, select, button, figure, article, aside) {
  border-radius: 0;
}

/* FAQ et avis : gérés séparément, on ne touche pas à leur rendu */
.site-main .reviews :where(a, img, div, section, span),
.site-main .faqBloc,
.site-main .faqBloc :where(a, img, div, section, span),
.site-main .triggerFaq,
.site-main #modalFaq :where(a, img, div, section, span) {
  border-radius: revert;
}

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
  color: var(--gs-ink);
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

/* Aucune animation d'arrivée : les attributs data-aos ont été retirés des
   composants du modèle 2. Ce filet neutralise ceux qui subsistent ailleurs
   (avis, FAQ) sans avoir à toucher à ces fichiers. */
[data-aos],
[data-aos][data-aos][data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.site-main a:focus-visible,
.site-main button:focus-visible,
.site-main input:focus-visible,
.site-main select:focus-visible,
.site-main textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Icônes (jeu unique, sprite SVG du footer)
   -------------------------------------------------------------------------- */
.gs-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  color: currentColor;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  font-family: baseTypo, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--gs-t), color var(--gs-t), border-color var(--gs-t);
}

.gs-btn--primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.gs-btn--primary:hover,
.gs-btn--primary:focus {
  background-color: var(--gs-ink);
  border-color: var(--gs-ink);
  color: #fff;
}

.gs-btn--ghost {
  background-color: transparent;
  border-color: var(--gs-line-strong);
  color: var(--gs-ink);
}

.gs-btn--ghost:hover,
.gs-btn--ghost:focus {
  background-color: var(--gs-ink);
  border-color: var(--gs-ink);
  color: #fff;
}

.gs-btn--dark {
  background-color: var(--gs-ink);
  border-color: var(--gs-ink);
  color: #fff;
}

.gs-btn--dark:hover,
.gs-btn--dark:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.gs-btn--block {
  width: 100%;
}

/* Groupes de boutons (remplace .buttons du thème) */
.gs-actions,
.gs-actions.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0;
}

.gs-actions--center {
  justify-content: center;
}

/* Le thème masque les boutons de contact via la classe utilitaire `hidden` */
.gs-actions.hidden {
  display: none;
}

/* Sur petits écrans les deux CTA passent l'un sous l'autre, pleine largeur */
@media (max-width: 520px) {
  .gs-actions .gs-btn {
    width: 100%;
  }
}

/* Boutons issus du WYSIWYG (text-photo / typo) */
.text-photo-2 section a.inline-block,
.typo-2 section a.inline-block {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.6rem;
  background-color: var(--color-primary);
  color: #fff;
  font-family: baseTypo, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--gs-t);
}

.text-photo-2 section a.inline-block:hover,
.typo-2 section a.inline-block:hover {
  background-color: var(--gs-ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Texture « enduit / façade » sur les fonds blancs (hero + page-title)
   -------------------------------------------------------------------------- */
.gs-texture {
  position: relative;
  background-color: #fff;
  isolation: isolate;
}

.gs-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(36, 33, 30, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 33, 30, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(244, 157, 76, 0.22) 1px, transparent 1.6px);
  background-size: 76px 76px, 76px 76px, 22px 22px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 0%, #000 20%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  mask-image: radial-gradient(130% 105% at 50% 0%, #000 20%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
}

/* Filet d'accroche couleur primaire */
.gs-texture::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background-color: var(--color-primary);
  z-index: -1;
}

@media (max-width: 1023px) {
  .gs-texture::after {
    width: 100%;
    height: 3px;
    bottom: auto;
  }
}

/* --------------------------------------------------------------------------
   6. Rythme de section & titres
   -------------------------------------------------------------------------- */
.gs-section,
.typo-2,
.gallery-2,
.partners,
.teams,
.blog,
.map,
.form {
  padding-top: var(--gs-section-y);
  padding-bottom: var(--gs-section-y);
}

.gs-section__inner,
.typo-2 > div,
.gallery-2 > section,
.form > section {
  width: 100%;
  max-width: var(--gs-max);
  margin-inline: auto;
  padding-inline: var(--gs-gutter);
}

/* Ces blocs sont enveloppés par un conteneur du thème : on neutralise
   leurs marges internes pour garder une gouttière unique. */
.typo-2,
.form {
  max-width: none;
  padding-inline: 0;
}

.form {
  padding-block: var(--gs-section-y);
}

.gs-section__head {
  max-width: 46rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
  text-align: center;
}

/* Surtitre */
.gs-eyebrow,
.text-photo-2 .text-primary\/95,
.typo-2 .text-primary\/95,
.gallery-2 .text-primary\/95,
.teams .text-primary\/95,
.partners .subtitle,
.blog .subtitle,
.map .text-primary {
  margin-bottom: 0.75rem !important;
  color: var(--color-primary);
  font-family: titleFont, serif;
  font-size: clamp(0.85rem, 1vw, 1rem) !important;
  line-height: 1.4 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Titre de section */
.gs-title,
.text-photo-2 h1,
.text-photo-2 h2,
.text-photo-2 h3,
.typo-2 h1,
.typo-2 h2,
.typo-2 h3,
.gallery-2 > section > h1,
.gallery-2 > section > h2,
.gallery-2 > section > h3,
.partners h1,
.partners h2,
.partners h3,
.teams > section > h1,
.teams > section > h2,
.teams > section > h3,
.blog > h1,
.blog > h2,
.blog > h3,
.map h1,
.map h2,
.map h3 {
  margin: 0 0 1.25rem;
  color: var(--gs-ink);
  font-family: titleFont, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em;
}

/* Séparateur : petit trait carré */
body .separatorTitle {
  display: block;
  width: 56px;
  max-width: 56px;
  height: 3px;
  margin-top: 0;
  margin-bottom: 0;
}

.gs-section__head .separatorTitle,
.gallery-2 .separatorTitle,
.partners .separatorTitle,
.blog .separatorTitle,
.teams .separatorTitle {
  margin-inline: auto;
}

.gs-rule {
  margin-top: 0.25rem;
}

/* Corps de texte */
.text-photo-2 section,
.typo-2 section,
.map section {
  color: var(--gs-body);
  font-size: 1rem;
  line-height: 1.75;
}

.text-photo-2 section p,
.typo-2 section p {
  margin-bottom: 1rem !important;
}

.text-photo-2 ul,
.text-photo-2 ol,
.typo-2 ul,
.typo-2 ol {
  margin: 1rem 0 1.25rem;
  padding-left: 1.4rem;
}

.text-photo-2 li,
.typo-2 li {
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.gs-header {
  z-index: 300;
}

.gs-nav {
  min-height: var(--gs-nav-h);
  padding: 0 var(--gs-gutter);
  gap: clamp(0.75rem, 2vw, 2.5rem);
  align-items: stretch;
  border-bottom: 1px solid rgba(36, 33, 30, 0.08);
  box-shadow: 0 1px 0 rgba(36, 33, 30, 0.04);
}

.gs-nav__brand {
  flex: 0 0 auto;
  align-self: center;
}

.gs-nav__brand img {
  max-height: calc(var(--gs-nav-h) - 22px);
  width: auto;
}

.gs-nav__brand h3 {
  margin: 0;
  font-family: titleFont, serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

/* `hidden lg:block` reste piloté par le thème : on ne force le flex qu'en desktop */
@media (min-width: 1024px) {
  .gs-nav__menu {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Les liens respirent : flux normal, gouttières régulières */
#masthead ul#menu-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: auto;
  gap: 0 clamp(0.4rem, 1.5vw, 1.75rem);
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  position: static;
  transform: none;
}

#masthead ul#menu-main > li {
  position: relative;
  display: flex;
  align-items: stretch;
  height: auto;
}

#masthead ul#menu-main > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.3rem;
  font-family: baseTypo, sans-serif;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--gs-t);
}

/* Soulignement carré au survol / page active */
#masthead ul#menu-main > li > a::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: calc(50% - 0.95rem);
  height: 2px;
  background-color: currentColor;
  opacity: 0;
  transition: opacity var(--gs-t);
}

@media (min-width: 1500px) {
  #masthead ul#menu-main {
    gap: 0 2rem;
  }

  #masthead ul#menu-main > li > a {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 1200px) {
  #masthead ul#menu-main {
    gap: 0 0.75rem;
  }

  #masthead ul#menu-main > li > a {
    font-size: 0.78rem !important;
    letter-spacing: 0.02em;
  }
}

#masthead ul#menu-main > li:hover > a::after,
#masthead ul#menu-main > li.current-menu-item > a::after,
#masthead ul#menu-main > li.current-menu-ancestor > a::after {
  opacity: 1;
}

/* Sous-menus : carrés, opaques, lisibles */
#masthead ul#menu-main ul.sub-menu {
  top: 100% !important;
  left: 50%;
  min-width: 260px;
  margin: 0;
  padding: 0.5rem 0 !important;
  list-style: none !important;
  background-color: var(--gs-dark) !important;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  transform: translateX(-50%) scaleY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#masthead .menu-item-has-children:hover > ul.sub-menu {
  transform: translateX(-50%) scaleY(1);
}

#masthead ul#menu-main ul.sub-menu li {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

#masthead ul#menu-main ul.sub-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #fff !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em;
  border-left: 3px solid transparent;
  transition: background-color var(--gs-t), border-color var(--gs-t);
}

#masthead ul#menu-main ul.sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-left-color: var(--color-primary);
}

#masthead .caret {
  display: none;
}

/* Actions à droite */
.gs-nav__actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.gs-nav__socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.35rem;
}

.gs-nav__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gs-navbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 46px;
  padding: 0 1rem;
  font-family: baseTypo, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--gs-t), color var(--gs-t);
}

.gs-navbtn--icon {
  width: 46px;
  padding: 0;
  justify-content: center;
}

.gs-navbtn--cta {
  padding: 0 1.35rem;
  font-family: titleFont, serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Réseaux sociaux navbar : carrés */
#masthead .gs-nav__socials a {
  width: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Bouton burger — `lg:hidden` reste piloté par le thème */
@media (max-width: 1023px) {
  .gs-nav__burger {
    display: flex;
    align-items: center;
    align-self: center;
    margin-left: auto;
  }
}

.gs-iconbtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gs-iconbtn .gs-icon {
  width: 26px;
  height: 26px;
}

/* Le n° de téléphone se replie quand la place manque */
@media (max-width: 1365px) {
  .gs-navbtn__label {
    display: none;
  }

  .gs-nav__contact .gs-navbtn {
    width: 46px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .gs-nav__socials {
    display: none;
  }
}

@media (max-width: 1023px) {
  .gs-nav {
    justify-content: space-between;
  }

  .gs-nav__actions {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. Menu mobile (drawer)
   -------------------------------------------------------------------------- */
.gs-drawer {
  inset: 0;
  padding-top: 0;
}

.gs-drawer .navbar-backdrop {
  background-color: rgba(29, 27, 25, 0.6);
  opacity: 1;
}

.gs-drawer__panel {
  max-width: 420px;
  padding: 0;
  border: 0;
  justify-content: flex-start;
}

.gs-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--gs-nav-h);
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(36, 33, 30, 0.12);
}

.gs-drawer__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  text-align: center;
}

.gs-drawer__body ul.mobile {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.gs-drawer__body ul.mobile > li {
  display: block;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(36, 33, 30, 0.1);
}

.gs-drawer .gs-drawer__body ul.mobile > li > a {
  display: block;
  padding: 0.95rem 0.25rem !important;
  margin: 0 !important;
  font-family: titleFont, serif;
  font-size: 1.05rem !important;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

/* Sous-menu centré : le filet d'accroche passe au-dessus plutôt qu'à gauche */
.gs-drawer__body ul.mobile li .sub-menu {
  margin: 0 auto 0.5rem !important;
  padding: 0.5rem 0 0 !important;
  max-width: 16rem;
  border-left: 0;
  border-top: 2px solid var(--color-primary);
}

.gs-drawer__body ul.mobile li .sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
}

.gs-drawer__body ul.mobile li .sub-menu li a {
  display: block;
  padding: 0.6rem 0.25rem;
  margin: 0 !important;
  font-family: baseTypo, sans-serif;
  font-size: 0.9rem !important;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
}

.gs-drawer__body ul.mobile li .sub-menu > li:last-child {
  margin-bottom: 0.5rem;
}

.gs-drawer__foot {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(36, 33, 30, 0.12);
}

/* --------------------------------------------------------------------------
   9. Hero (home-slider-2)
   -------------------------------------------------------------------------- */
.gs-hero {
  --gs-hero-h: 100vh;
  align-items: stretch;
  min-height: var(--gs-hero-h);
}

@supports (height: 100svh) {
  .gs-hero {
    --gs-hero-h: 100svh;
  }
}

.gs-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gs-nav-h) + clamp(2.5rem, 5vw, 4.5rem)) var(--gs-gutter) clamp(2.5rem, 5vw, 4rem);
}

.gs-hero .gs-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 34rem;
  width: 100%;
  margin-inline: auto;
  padding: 0;
  text-align: left;
}

.gs-hero__logo {
  height: 74px;
  margin-bottom: 1.75rem;
  align-self: flex-start;
  object-position: left center;
}

.gs-hero__title {
  margin: 0;
  color: var(--gs-ink);
  font-size: clamp(2.15rem, 4vw, 3.6rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.005em;
  text-align: left !important;
}

.gs-hero .gs-eyebrow,
.gs-pagetitle .gs-eyebrow {
  text-align: left !important;
}

.gs-hero .gs-hero__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  max-width: 34rem;
  width: 100%;
  margin-inline: auto;
  padding: 2.25rem 0 0;
}

.gs-hero__social a,
.gs-pagetitle__panel .social a {
  width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gs-line-strong);
  background: #fff !important;
  box-shadow: none !important;
  color: var(--gs-ink);
  transition: background-color var(--gs-t), color var(--gs-t), border-color var(--gs-t);
}

.gs-hero__social a:hover {
  background-color: var(--gs-ink) !important;
  border-color: var(--gs-ink);
  color: #fff;
}

/* Média du hero — hauteurs explicites, Flickity en a besoin */
.gs-hero .gs-hero__media {
  align-self: stretch;
  height: var(--gs-hero-h);
  background: var(--gs-sand);
}

.gs-hero .flickity-viewport {
  height: 100% !important;
}

.gs-hero .carousel-cell {
  width: 100%;
  height: var(--gs-hero-h);
  margin-right: 0;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1023px) {
  .gs-hero {
    --gs-hero-h: clamp(260px, 58vw, 420px);
    flex-direction: column-reverse !important;
    min-height: 0;
  }

  .gs-hero .gs-hero__media {
    width: 100%;
    margin-top: var(--gs-nav-h);
  }

  .gs-hero__panel {
    padding-top: clamp(2rem, 8vw, 3rem);
  }

  .gs-hero .gs-hero__content,
  .gs-hero .gs-hero__social {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   10. Page title (page-title-2)
   -------------------------------------------------------------------------- */
.gs-pagetitle {
  margin-top: var(--gs-nav-h);
  align-items: stretch;
}

.gs-pagetitle .slider {
  gap: 0;
}

.gs-pagetitle__media {
  height: 100%;
  min-height: clamp(240px, 32vw, 26rem);
}

.gs-pagetitle__panel {
  min-height: clamp(240px, 32vw, 26rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gs-gutter);
}

/* `position: static` est indispensable : style.css passe `.grille .text_content`
   en `absolute; inset: 0` sous 768px, ce qui faisait sortir le contenu du
   padding du panneau (texte collé aux bords en mobile). */
.gs-pagetitle .gs-pagetitle__content {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 34rem;
  width: 100%;
  height: auto;
  margin-top: 0 !important;
  text-align: left;
}

.gs-pagetitle__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  line-height: 1.12 !important;
  text-align: left !important;
}

@media (max-width: 1023px) {
  .gs-pagetitle {
    flex-direction: column !important;
  }

  .gs-pagetitle__media {
    height: 45vw;
    min-height: 220px;
    max-height: 320px;
  }

  .gs-pagetitle .gs-pagetitle__content {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   11. Texte + photo
   -------------------------------------------------------------------------- */
/* Le composant est déjà enveloppé par un conteneur `py-16 px-6` du thème :
   on complète simplement la gouttière et on borne la largeur. */
.text-photo-2 {
  max-width: var(--gs-max);
  margin-inline: auto;
  padding-inline: clamp(0rem, 2.5vw, 2rem);
}

.text-photo-2 .flex-col-reverse {
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.text-photo-2 .block {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 34rem;
}

.text-photo-2 .bg-cover {
  height: clamp(18rem, 38vw, 32rem) !important;
  border: 1px solid var(--gs-line);
}

@media (max-width: 1023px) {
  .text-photo-2 .bg-cover {
    height: clamp(15rem, 55vw, 22rem) !important;
  }
}

/* --------------------------------------------------------------------------
   12. Bloc typo
   -------------------------------------------------------------------------- */
.typo-2 {
  background-color: var(--gs-sand);
}

.typo-2 > div {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

@media (min-width: 1024px) {
  .typo-2 > div {
    flex-direction: row;
  }

  .typo-2 > div > div:first-child {
    flex: 0 0 32%;
  }

  .typo-2 > div > div:last-child {
    flex: 1 1 auto;
  }
}

.typo-2 section {
  margin-top: 0 !important;
}

/* --------------------------------------------------------------------------
   13. Prestations (cartes)
   -------------------------------------------------------------------------- */
.gs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gs-cards--solo {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.gs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--gs-line);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--gs-t);
}

.gs-card--link:hover {
  border-color: var(--color-primary);
}

.gs-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--gs-sand);
}

.gs-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gs-card--link:hover .gs-card__media img {
  transform: scale(1.04);
}

.gs-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 27, 25, 0.8) 0%, rgba(29, 27, 25, 0.25) 40%, rgba(29, 27, 25, 0) 65%);
}

.gs-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
}

.gs-card__label h3 {
  margin: 0;
  color: #fff;
  font-family: titleFont, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.gs-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.gs-card__desc {
  padding: 1.15rem 1.25rem 1.35rem;
  border-top: 1px solid var(--gs-line);
  color: var(--gs-body);
  font-size: 0.94rem;
  line-height: 1.65;
}

.gs-card__desc p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 1100px) {
  .gs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gs-cards,
  .gs-cards--solo {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   14. Galerie
   -------------------------------------------------------------------------- */
.gallery-2 > section {
  padding-top: 0;
}

.gallery-2 .flex-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-inline: 0;
}

.gallery-2 .flex-wrap > div {
  width: auto;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--gs-line);
  box-shadow: none;
  cursor: zoom-in;
}

.gallery-2 .flex-wrap > div img {
  transition: transform 0.5s ease;
}

.gallery-2 .flex-wrap > div:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .gallery-2 .flex-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-2 .flex-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Visionneuse */
#modal {
  padding: var(--gs-gutter);
}

#modal img {
  border: 4px solid #fff;
}

#modal > a {
  top: 1.5rem;
  right: 1.75rem;
  font-size: 2.5rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   15. Avant / Après — mise en avant demandée par le client
   -------------------------------------------------------------------------- */
.before-after-listing.gs-section--sand {
  max-width: none;
  background-color: var(--gs-sand);
}

.before-after-listing .gs-section__inner {
  max-width: var(--gs-max);
  margin-inline: auto;
  padding-inline: var(--gs-gutter);
}

.allBefaf {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) !important;
  align-items: start;
}

.allBefaf > div,
.allBefaf > figure {
  width: auto;
}

.containerhere.gs-baf {
  --baf-pos: 50%;
  position: relative;
  width: 100%;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gs-line-strong);
  background-color: var(--gs-sand);
}

.gs-baf .img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
}

.gs-baf .foreground-img {
  clip-path: inset(0 calc(100% - var(--baf-pos)) 0 0);
}

/* Trait de séparation */
.gs-baf::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--baf-pos);
  width: 3px;
  margin-left: -1px;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(29, 27, 25, 0.25);
  pointer-events: none;
  z-index: 3;
}

/* Étiquettes Avant / Après */
.gs-baf__tag {
  position: absolute;
  top: 0.9rem;
  z-index: 4;
  padding: 0.35rem 0.7rem;
  font-family: baseTypo, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.gs-baf__tag--before {
  left: 0.9rem;
  background-color: rgba(29, 27, 25, 0.82);
  color: #fff;
}

.gs-baf__tag--after {
  right: 0.9rem;
  background-color: var(--color-primary);
  color: #fff;
}

/* Poignée carrée */
.gs-baf .slider {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  background: transparent;
  border: 0 !important;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.gs-baf .slider:hover {
  background: transparent;
}

.gs-baf .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
}

.gs-baf .slider::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
}

.gs-baf .slider-button {
  position: absolute;
  top: 50%;
  left: var(--baf-pos) !important;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  border: 1px solid rgba(29, 27, 25, 0.2);
  border-radius: 0;
  pointer-events: none;
}

.gs-baf .slider-button::before,
.gs-baf .slider-button::after {
  content: "";
  width: 7px;
  height: 7px;
  padding: 0;
  display: inline-block;
  border: solid var(--gs-ink);
  border-width: 0 2px 2px 0;
}

.gs-baf .slider-button::before {
  transform: rotate(135deg);
}

.gs-baf .slider-button::after {
  transform: rotate(-45deg);
}

.gs-baf__legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(29, 27, 25, 0.85), rgba(29, 27, 25, 0));
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.4;
  pointer-events: none;
}

@media (max-width: 900px) {
  .allBefaf {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   16. Partenaires
   -------------------------------------------------------------------------- */
.partners {
  max-width: none;
  padding-inline: 0;
}

.partners > div:first-child {
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: var(--gs-gutter);
}

.partners > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--gs-max);
  margin-inline: auto;
  padding: 0;
  background-color: var(--gs-line);
  border: 1px solid var(--gs-line);
}

.partners > div:last-child > div {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 1.5rem 1rem;
  background-color: #fff;
}

.partners > div:last-child img {
  height: 72px !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--gs-t), opacity var(--gs-t);
}

.partners > div:last-child > div:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .partners > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   17. Équipe
   -------------------------------------------------------------------------- */
.teams > section {
  max-width: var(--gs-max);
  margin-inline: auto;
  padding-inline: var(--gs-gutter);
}

.teams .teamcontainer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.teams .itemMembre {
  width: auto !important;
  margin: 0 !important;
  padding: 1.75rem 1.25rem !important;
  background-color: #fff;
  border: 1px solid var(--gs-line);
  box-shadow: none;
  transform: none !important;
  transition: border-color var(--gs-t);
}

.teams .itemMembre:hover {
  border-color: var(--color-primary);
}

.teams .photoMembre,
.teams .photoMembre img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border-radius: 0 !important;
  object-fit: cover;
}

.teams .infoMembre h3 {
  margin: 0 0 0.25rem;
  color: var(--gs-ink);
  font-family: titleFont, serif;
  font-size: 1.1rem !important;
}

.teams .infoMembre span {
  color: var(--gs-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .teams .teamcontainer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .teams .teamcontainer {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   18. Blog
   -------------------------------------------------------------------------- */
.blog {
  max-width: var(--gs-max);
  padding-inline: var(--gs-gutter);
}

.blog .grid > a {
  display: block;
  background-color: #fff;
  border: 1px solid var(--gs-line);
  text-decoration: none;
  transition: border-color var(--gs-t);
}

.blog .grid > a:hover {
  border-color: var(--color-primary);
}

.blog .grid > a > div:first-child {
  height: 15rem !important;
  border-radius: 0;
  box-shadow: none;
}

.blog .grid > a > div:last-child {
  width: 100% !important;
  min-height: 0;
  margin-top: 0 !important;
  padding: 1.15rem 1.25rem !important;
  background: #fff !important;
  backdrop-filter: none !important;
  border-radius: 0;
  box-shadow: none;
}

.blog .grid > a > div:last-child > div {
  color: var(--gs-ink);
  font-family: titleFont, serif;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: left;
}

.blog .pagination a,
.blog .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.5rem;
  border: 1px solid var(--gs-line);
  font-size: 1rem;
  text-decoration: none;
  transition: background-color var(--gs-t), color var(--gs-t);
}

.blog .pagination .current,
.blog .pagination a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   19. Carte
   -------------------------------------------------------------------------- */
.map .block {
  max-width: 46rem;
  padding-inline: var(--gs-gutter);
  text-align: center;
}

.map .block section {
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
  padding-bottom: 0 !important;
  text-align: center;
}

.map #map {
  height: clamp(320px, 45vw, 520px);
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
  z-index: 0;
}

.map .leaflet-popup-content-wrapper,
.map .leaflet-tooltip,
.map .leaflet-container a.leaflet-popup-close-button {
  border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   20. CTA
   -------------------------------------------------------------------------- */
.gs-cta {
  padding-block: 0;
}

.gs-cta__inner {
  min-height: clamp(24rem, 48vw, 34rem);
  overflow: hidden;
}

.gs-cta__bg {
  background-attachment: scroll;
}

.gs-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(29, 27, 25, 0.35);
}

.gs-cta__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--gs-max);
  padding-inline: var(--gs-gutter);
}

.gs-cta__card {
  display: inline-block;
  width: 100%;
  max-width: 46rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background-color: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--color-primary);
  text-align: center;
}

.gs-cta__title {
  margin: 0 0 1.5rem;
  color: var(--gs-ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem) !important;
  line-height: 1.15 !important;
}

.gs-cta__card .gs-actions {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .gs-cta__bg {
    background-attachment: fixed;
  }
}

/* --------------------------------------------------------------------------
   21. Formulaire de contact
   -------------------------------------------------------------------------- */
.form {
  background-color: #fff;
}

.form > section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.75rem, 3vw, 3rem);
  max-width: var(--gs-max);
}

@media (min-width: 1024px) {
  .form > section {
    flex-direction: row;
  }

  .form > section > div:first-child {
    flex: 0 0 34%;
  }

  .form > section > div:last-child {
    flex: 1 1 auto;
    margin-top: 0 !important;
    padding-inline: 0 !important;
  }
}

/* Colonne coordonnées */
.form > section > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  padding: clamp(1.75rem, 3vw, 2.5rem) !important;
  background-color: var(--gs-sand) !important;
  border: 1px solid var(--gs-line);
  text-align: left;
}

.form > section > div:last-child {
  max-width: none;
}

.form > section > div:first-child > div {
  display: flex;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.9rem;
  width: 100% !important;
  margin: 0 !important;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gs-line);
  text-align: left;
}

.form > section > div:first-child > div:first-child {
  padding-top: 0;
}

.form > section > div:first-child > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.form .svg--icon {
  width: 22px !important;
  height: 22px;
  margin-top: 0.2rem;
  padding: 0 !important;
  flex: 0 0 auto;
  fill: none;
  color: var(--color-primary);
}

.form > section > div:first-child p {
  margin: 0 !important;
  color: var(--gs-ink);
  font-family: baseTypo, sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.55;
  text-align: left !important;
}

.form > section > div:first-child a {
  color: var(--gs-ink);
  text-decoration: none;
  transition: color var(--gs-t);
}

.form > section > div:first-child a:hover {
  color: var(--color-primary);
}

/* Titre du formulaire */
.form h2 {
  margin-bottom: 1.75rem !important;
  color: var(--gs-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem) !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

/* Champs */
#contactForm > div.flex-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem !important;
}

#contactForm fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#contactForm fieldset.textarea {
  grid-column: 1 / -1;
}

#contactForm label {
  color: var(--gs-muted) !important;
  font-family: baseTypo, sans-serif !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#contactForm .form-field {
  width: 100%;
  padding: 0.75rem 0.9rem !important;
  background-color: #fff;
  border: 1px solid var(--gs-line-strong) !important;
  border-radius: 0 !important;
  color: var(--gs-ink) !important;
  font-family: baseTypo, sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--gs-t);
}

#contactForm .form-field:focus {
  border-color: var(--color-primary) !important;
  outline: none;
}

#contactForm textarea.form-field {
  height: 160px;
  resize: none !important;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: var(--gs-muted);
}

#contactForm fieldset.error .form-field {
  border-color: var(--color-error-900) !important;
}

#contactForm fieldset.success .form-field {
  border-color: var(--color-success-900) !important;
}

#contactForm .mt-12 {
  justify-content: flex-start !important;
}

.submitButton {
  padding: 1rem 2.25rem !important;
  background-color: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: baseTypo, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--gs-t), border-color var(--gs-t);
}

.submitButton:hover {
  background-color: var(--gs-ink) !important;
  border-color: var(--gs-ink) !important;
}

.submitButton[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  #contactForm > div.flex-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .submitButton {
    width: 100%;
  }
}

/* Image de remplacement quand le formulaire est masqué */
.form img.bg-primary {
  min-height: 0 !important;
  height: clamp(18rem, 40vw, 34rem) !important;
  border: 1px solid var(--gs-line);
}

/* Toasters : AUCUNE animation (demande client) */
.toaster,
.toasterSuccess,
.toaster *,
.toasterSuccess * {
  transition: none !important;
  animation: none !important;
}

.toaster,
.toasterSuccess {
  bottom: 1.5rem;
  max-width: calc(100vw - 2rem);
}

.toaster.show,
.toasterSuccess.show {
  right: 1.5rem;
}

.toaster > div,
.toasterSuccess > div {
  width: min(30rem, calc(100vw - 3rem));
  min-width: 0 !important;
  padding-top: 1.25rem !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 30px rgba(29, 27, 25, 0.16);
}

.toaster .toastTitle,
.toasterSuccess .toastTitle {
  padding-inline: 1.5rem !important;
  font-size: 1.1rem !important;
}

.toaster .errorListing,
.toasterSuccess > div > div:last-child {
  padding: 0.75rem 1.5rem 1.25rem !important;
}

.toaster .errorListing p {
  margin-bottom: 0.35rem !important;
}

.closeToaster {
  border-radius: 0 !important;
}

fieldset.error small {
  border-radius: 0;
}

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
footer.v3Footer {
  padding-bottom: 0;
  border-top: 3px solid var(--color-primary);
}

/* Menu du footer : aéré, avec soulignement carré au survol (même langage que la navbar) */
footer #footerMenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem clamp(1rem, 2.5vw, 2.25rem);
  margin: 0 !important;
  padding: 0 !important;
}

footer #footerMenu > li {
  margin: 0;
}

footer #footerMenu li a {
  position: relative;
  display: block;
  padding: 0.4rem 0.1rem 0.55rem;
  font-family: titleFont, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--gs-t);
}

footer #footerMenu li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--gs-foot-link-hover);
  opacity: 0;
  transition: opacity var(--gs-t);
}

footer #footerMenu li a:hover::after,
footer #footerMenu li a:focus-visible::after,
footer #footerMenu li.current-menu-item > a::after,
footer #footerMenu li.current-menu-ancestor > a::after {
  opacity: 1;
}

footer .container.mx-auto {
  max-width: var(--gs-max);
  padding-top: clamp(3rem, 6vw, 4.5rem) !important;
  padding-inline: var(--gs-gutter) !important;
}

/* Réseaux sociaux */
footer .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
  padding-top: clamp(1.5rem, 3vw, 2.25rem) !important;
}

footer .socialFooter {
  width: 42px;
  height: 42px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gs-foot-border);
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background-color var(--gs-t), border-color var(--gs-t), color var(--gs-t);
}

footer .socialFooter:hover,
footer .socialFooter:focus-visible {
  border-color: var(--gs-foot-social-bg-hover);
}

footer .socialFooter svg {
  transition: color var(--gs-t);
}

/* Bloc coordonnées */
footer .mb-10 {
  max-width: var(--gs-max);
  margin-inline: auto !important;
  padding-inline: var(--gs-gutter);
}

.gs-footer-infos {
  gap: 1px !important;
  margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
  background-color: var(--gs-foot-border);
  border: 1px solid var(--gs-foot-border);
}

.gs-footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 1.75rem 1.25rem;
  background-color: var(--gs-foot-tile);
  text-align: center;
  transition: background-color var(--gs-t);
}

.gs-footer-info:hover {
  background-color: var(--gs-foot-tile-hover);
}

.gs-footer-info__icon {
  display: inline-flex;
}

.gs-footer-info__icon .gs-icon {
  width: 26px;
  height: 26px;
  transition: color var(--gs-t);
}

.gs-footer-info__label {
  color: var(--gs-foot-text);
  opacity: 0.65;
  font-family: baseTypo, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gs-footer-info h6 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.gs-footer-info .txtCustom {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lien de coordonnée : soulignement au survol pour signaler le clic */
.gs-footer-info a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color var(--gs-t), background-size var(--gs-t);
}

.gs-footer-info a:hover,
.gs-footer-info a:focus-visible {
  background-size: 100% 1px;
}

/* Barre copyright (le SVG n'est pas modifié) */
footer .p-4.text-center {
  flex-wrap: wrap;
  padding: 1.1rem var(--gs-gutter) !important;
  border-top: 1px solid var(--gs-foot-border);
  color: var(--gs-foot-text);
  font-size: 0.85rem;
}

footer .p-4.text-center a {
  color: inherit;
  text-decoration: none;
  transition: color var(--gs-t);
}

footer .p-4.text-center a:hover,
footer .p-4.text-center a:focus-visible {
  color: var(--gs-foot-link-hover);
}

footer .p-4.text-center svg {
  transition: color var(--gs-t);
}

@media (max-width: 767px) {
  .gs-footer-infos {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   23. Divers
   -------------------------------------------------------------------------- */
/* Espaceurs : rythme régulier entre les blocs */
.site-main .spacer {
  height: clamp(0rem, 1.5vw, 1rem) !important;
}

/* Villes dupliquées : lisible sur fond clair */
.duplicate_city details {
  color: var(--gs-muted);
}

.duplicate_city a {
  display: inline-block;
  background: transparent !important;
  color: var(--gs-muted) !important;
  font-size: 0.85rem;
}

/* Flickity : boutons carrés si utilisés ailleurs sur la page */
.site-main .flickity-prev-next-button {
  border-radius: 0 !important;
  background: #fff;
}

.grecaptcha-badge {
  z-index: 5;
}

/* --------------------------------------------------------------------------
   24. Accessibilité / mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .site-main *,
  .gs-drawer *,
  .gs-nav * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
